/*
============================
Name:  Justlaw Law and Attorney Template
Version: 1.0.0
Description: Justlaw Law and Attorney Template
Author: Vikiglab
Author URI: https://themeforest.net/user/vikinglab/portfolio
Location:
============================
*/

.main {
  background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)),
    url("assets/img/image/blog-inner2.png") no-repeat center center/cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.form-section {
  background: #fff;
  border: 2px solid #0B5D6A;
  color: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.form-section h5 {
  background: #0B5D6A;
  color: white;
  padding: 10px;
  margin: -20px -20px 20px -20px;
  border-radius: 6px 6px 0 0;
  font-weight: bold;
}

.note {
  background: #fff;
  border: 2px solid #e0e0e0;
  padding: 20px;
  border-radius: 8px;
}

.note h6 {
  background: #0B5D6A;
  color: white;
  padding: 8px;
  border-radius: 5px;
  font-weight: bold;
}

.btn-pay {
  background: #0B5D6A;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  padding: 10px 20px;
}

.btn-pay:hover {
  background: #0B5D6A;
}



/* section 2  */



:root {
  --text: #333;
  --muted: #6b6b6b;
  --box: #f7f7f7;
  --border: #dedede;
  --green: #25a54a;
  /* link highlight like screenshot */
  --timeline: #535353;
  /* dark vertical line */
  --icon-grey: #adb5bd;
  --icon-amber: #f4b23b;
  --icon-red: #e0554d;
}

.faid {
  color: var(--text);
  line-height: 1.75;
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
}

/* Left column (article) */
.article h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .2px;
  margin-bottom: .35rem;
}

.article p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.article h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 1.75rem 0 .5rem;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: #2b2b2b;
}

.article a {
  color: var(--green);
  text-decoration: none;
}

.article a:hover {
  text-decoration: underline;
}

/* Right column header */
.right h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: .85rem;
}

/* TIMELINE + steps */
.how-it-works {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  row-gap: 14px;
  margin-bottom: 1.5rem;
  padding-top: .25rem;
  padding-bottom: .25rem;
}

/* .how-it-works::before{
      content:"";
      position:absolute;            
      top:0;
      bottom:0;
      background:var(--timeline);
    } */
.step-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  margin-left: 9px;
  /* centers icon on the line visually */
  box-shadow: 0 0 0 3px #fff;
  /* white ring like screenshot */
}

.step-icon.grey {
  background: var(--icon-grey);
}

.step-icon.amber {
  background: var(--icon-amber);
}

.step-icon.red {
  background: var(--icon-red);
}

.step-card {
  background: var(--box);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
}

.step-card .step-title {
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 16px;
}

.step-card small {
  color: #6f6f6f;
}

/* Stamp preview box */
.preview-title {
  font-size: 22px;
  font-weight: 800;
  margin: 1.2rem 0 .9rem;
}

.stamp-img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 6px;
}

/* Spacing container like screenshot */
.page-wrap {
  max-width: 1200px;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {

  /* stack columns but keep the right column first like screenshot feel */
  .reflow {
    display: flex;
    flex-direction: column;
  }

  .reflow .right {
    order: 0;
    margin-bottom: 2rem;
  }

  .reflow .article {
    order: 1;
  }
}

@media (max-width: 575.98px) {
  .article h2 {
    font-size: 24px;
  }

  .article h3,
  .right h3,
  .preview-title {
    font-size: 20px;
  }

  .how-it-works {
    grid-template-columns: 50px 1fr;
  }

  .how-it-works::before {
    left: 25px;
  }

  .step-icon {
    width: 34px;
    height: 34px;
    font-size: 16px;
    margin-left: 8px;
  }
}


/* section - 3  */




.nk-content-box {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 4px;
  margin-bottom: 20px;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);
}

.nk-title {
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

/* .nk-list {
      margin-left: 20px;
    } */

ol,
ul {
  padding-left: 0rem;
}

.nk-list li {
  margin-bottom: 8px;
}

.nk-main-container {
  max-width: 950px;
  margin: 40px auto;
  padding: 0 15px;
}


/* section - 4  */


.faq-box {
  background: #f8f9fa;
  border: 1px solid #ddd;
  padding: 25px;
  border-radius: 4px;
  margin: 40px auto;
  max-width: 1300px;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);
}

.faq-box h3 {
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.faq-item {
  margin-bottom: 18px;
}

.faq-question {
  font-weight: 600;
  margin-bottom: 5px;
}

.faq-answer {
  color: #444;
  line-height: 1.6;
}

.faq-answer a {
  color: #0d6efd;
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}


/* ............... form style css ......... */
.contact4-section-area.inner2 .contact-all-area:hover .location-img {
  background: #FB8500;
}

.contact4-section-area.inner2 .contact-all-area .location-img {
  background: #F3EDE6;
}

.contact4-section-area.inner2 .contact-all-area .location-text a {
  color: #636363 !important;
}

.contact4-section-area.inner2 .contact-all-area .location-text p {
  color: #636363;
}

.contact4-section-area.inner2 .contact-form-area {
  background: #fff;
  box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.08);
  padding: 40px;
  border-radius: 12px;
}

/* Popup Styles */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background: #fff;
  padding: 30px 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.popup-content p {
  font-size: 18px;
  margin-bottom: 20px;
}

.popup-content button {
  background: #FB8500;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 8px 20px;
  cursor: pointer;
  transition: 0.3s;
}

.popup-content button:hover {
  background: #F3EDE6;
  color: #000;
}