
/* ================================================================
   CONTACT PAGE — White Card Section
   Mirrors the header/navbar rounded white card (style-1 .container)
   Exact box-shadow · same border-radius CSS var · white bg on grey
   ================================================================ */


/* ── Outer section ──────────────────────────────────────────────
   Light grey-blue creates contrast so the white card "floats",
   identical to the hero area behind the style-1 navbar card.      */
.contact-card-section {
  background: #f0f4fa;
  padding: 72px 0 88px;
}


/* ── White card ─────────────────────────────────────────────────
   Mirrors .site-header.style-1 .main-bar .container exactly:
     box-shadow  → 1px 1.732px 60px 0px rgba(0,0,0,.10)
     border-radius → var(--border-radius-base) extended for a section
     background  → #ffffff
   Max-width is handled by Bootstrap's .container (1140/1320px).   */
.contact-card-section > .container {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 1px 1.732px 60px 0px rgba(0, 0, 0, 0.10);
  padding: 56px 48px 64px;
  position: relative;
  z-index: 1;
}


/* ── Section heading ────────────────────────────────────────── */
.contact-card-section .section-head {
  margin-bottom: 48px;
}

.contact-card-section .section-head .sub-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.contact-card-section .section-head .title {
  font-size: 1.85rem !important;
  font-weight: 700;
  line-height: 1.3;
  color: var(--title);
  margin-bottom: 0;
}

/* Accent underline — matches the primary brand colour */
.contact-card-section .section-head::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 18px auto 0;
}


/* ── Column gap — breathing room between form and info card ─── */
@media (min-width: 992px) {
  .contact-card-section .col-lg-7 {
    padding-right: 40px;
    border-right: 1px solid #edf0f7;
  }
  .contact-card-section .col-lg-5 {
    padding-left: 40px;
  }
}


/* ── Form inputs ─────────────────────────────────────────────── */
.contact-card-section .form-control {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 0.93rem;
  font-family: var(--font-family-base);
  background: #fafbfd;
  color: var(--title);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-card-section .form-control:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(57, 26, 166, 0.09);
  background: #ffffff;
  outline: none;
}

.contact-card-section .form-control::placeholder {
  color: #b0b8c9;
}

/* Stack inputs with consistent vertical rhythm */
.contact-card-section .input-group {
  margin-bottom: 18px;
}

/* Textarea — slightly taller on desktop for comfortable writing */
.contact-card-section textarea.form-control {
  min-height: 130px;
  resize: vertical;
}


/* ── Form label (optional, shown if labels are added) ────────── */
.contact-card-section .form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}


/* ── Submit button ───────────────────────────────────────────── */
.contact-card-section .btn-primary {
  min-width: 180px;
  padding: 13px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.04em;
  margin-top: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card-section .btn-primary:hover,
.contact-card-section .btn-primary:focus {
  transform: translateY(-2px);
}


/* ── Info card (right column) ───────────────────────────────────
   Keep the gradient-sec style; align border-radius with the card. */
.contact-card-section .p-a40.gradient-sec.rounded {
  border-radius: 12px !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Icon cells inside the info card */
.contact-card-section .icon-bx-wraper .icon-sm {
  flex-shrink: 0;
}

.contact-card-section .icon-bx-wraper .icon-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-card-section .icon-bx-wraper .icon-content p {
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 0;
  opacity: 0.9;
}


/* ── Tablet (≤ 991 px) ───────────────────────────────────────── */
@media (max-width: 991px) {
  .contact-card-section {
    padding: 48px 0 64px;
  }

  .contact-card-section > .container {
    padding: 44px 32px 52px;
    border-radius: 14px;
  }

  /* Remove desktop column divider */
  .contact-card-section .col-lg-7 {
    padding-right: 15px;
    border-right: none;
  }
  .contact-card-section .col-lg-5 {
    padding-left: 15px;
  }

  .contact-card-section .section-head .title {
    font-size: 1.6rem !important;
  }

  /* Info card: auto height when stacked */
  .contact-card-section .p-a40.gradient-sec.rounded {
    height: auto;
  }
}


/* ── Mobile (≤ 575 px) ───────────────────────────────────────── */
@media (max-width: 575px) {
  .contact-card-section {
    padding: 32px 0 48px;
  }

  .contact-card-section > .container {
    padding: 32px 20px 40px;
    border-radius: 12px;
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.09);
  }

  .contact-card-section .section-head {
    margin-bottom: 32px;
  }

  .contact-card-section .section-head .title {
    font-size: 1.35rem !important;
  }

  .contact-card-section .btn-primary {
    width: 100%;
    min-width: unset;
    justify-content: center;
  }

  .contact-card-section textarea.form-control {
    min-height: 110px;
  }
}
