:root {
  --blue: #123A63;
  --navy: #0A1F36;
  --orange: #FF8C00;
  /* New Orange variable */
  --red: #FF8C00;
  /* Overwriting red with orange to catch all instances */
  --gold: #D4AF37;
  --bg: #F4F7FB;
  --text: #121826;
  --muted: #6B7280;
  --radius: 18px;
  --shadow: 0 22px 70px rgba(0, 0, 0, .18);
  --shadowSoft: 0 12px 30px rgba(0, 0, 0, .10);
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

/* Top bar  */
.topbar {
  background: #0c1d3b;
  color: #dbe7ff;
  font-size: 13px
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}

.topbar__inner {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap
}

.chip {
  background: rgba(255, 255, 255, .08);
  padding: 6px 10px;
  border-radius: 999px
}

.sep {
  opacity: .6
}

.topbar__right {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap
}

.toplink {
  opacity: .95;
  color: #dbe7ff;
  text-decoration: none;
}

.toplink:hover {
  opacity: 1;
  text-decoration: underline
}


/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 26, 46, .08)
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 0
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 400px;
  text-decoration: none;
}

.brand span {
  width: 130px;
}

.brand__logo {
  width: 140px;
  height: 150px;
  object-fit: contain;
  /* transform: translateY(20px); */
  position: absolute;
  top: -44px;
}

/* Sticky/Scrolled State */
.header.scrolled .brand__logo {
  height: 110px;
  /* Smaller height for sticky mode */
  width: auto;
}



.brand__name {
  /* font-weight: 900; */
  color: #0A1F36;
  text-decoration: none !important;
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 800;
  /* The Fix: Adjust this value to move it as much as you need */
  margin-left: 65px;
}

/* .brand__name h1 {
  font-size: 20px;
} */
.brand__tag {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 2px;

  /* The Fix: Flexbox */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  /* This creates the clear space between the line and the text */
}

.brand__tag::before,
.brand__tag::after {
  content: "";
  /* Remove position: absolute */
  flex-grow: 1;
  /* This makes the lines fill the remaining side space */
  height: 1px;
  background-color: #0A1F36;
  min-width: 20px;
  /* Ensures lines don't disappear on small screens */
}

.nav {
  display: flex;
  gap: 14px;
  align-items: center
}

.nav__link {
  font-weight: 900;
  color: #24324a;
  font-size: 15px;
  padding: 0px 10px;
  /* border-radius: 10px; */
  text-decoration: none;
  border-right: 1px solid #0A1F36;
}

.nav__link:hover {
  background: rgba(18, 58, 120, .08)
}

.header__cta {
  display: flex;
  gap: 10px;
  align-items: center
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 900;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease
}

.btn:active {
  transform: translateY(1px)
}

/* Update in indexheader.css */
.btn--primary {
  background: linear-gradient(180deg, #FF8C00, #FF7F00);
  color: #fff;
  box-shadow: 0 12px 24px rgba(255, 140, 0, .22);
}

.btn--primary:hover {
  box-shadow: 0 14px 30px rgba(255, 140, 0, .26);
}

.btn--ghost {
  background: #fff;
  border-color: rgba(18, 58, 120, .2);
  color: #123a78
}

.btn--ghost:hover {
  background: rgba(18, 58, 120, .06)
}

.btn--full {
  width: 100%
}

.btn--sm {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px
}

/* Burger */
.burger {
  display: none;
  appearance: none;
  border: none;
  background: transparent;
  padding: 10px;
  border-radius: 12px
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #13233f;
  margin: 5px 0;
  border-radius: 2px
}

.burger:hover {
  background: rgba(18, 58, 120, .06)
}

/* Mobile */
.mobile {
  border-top: 1px solid rgba(15, 26, 46, .08);
  background: rgba(255, 255, 255, .96)
}

.mobile__inner {
  padding: 14px 0
}

.mobile__cta {
  width: 100%
}

.mobile__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px
}

.mobile__link {
  padding: 12px 12px;
  border: 1px solid rgba(18, 58, 120, .16);
  border-radius: 14px;
  font-weight: 800;
  color: #1f2f4b;
  background: #fff;
  text-decoration: none;
  text-align: center;
}

.mobile__link:hover {
  background: rgba(18, 58, 120, .06)
}


/* Responsive */
@media (max-width: 1020px) {
  .nav {
    display: none
  }

  .burger {
    display: block
  }

  .hero__inner {
    grid-template-columns: 1fr;
    padding: 40px 0
  }

  .grid--3 {
    grid-template-columns: 1fr
  }

  .steps {
    grid-template-columns: repeat(2, 1fr)
  }

  .cta__inner {
    flex-direction: column;
    align-items: flex-start
  }
}

.hero {
  position: relative;
  overflow: hidden
}



.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  align-items: center;
  padding: 54px 0
}

.hero__copy {
  color: #fff
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px
}

.hero h1 {
  font-size: 44px;
  line-height: 1.08;
  margin: 14px 0 15px;
}

.sub {
  font-size: 16px;
  opacity: .95;
  margin: 14px 0 18px
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px
}

.ticks li {
  position: relative;
  padding-left: 26px;
  opacity: .96
}

.ticks li:before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #78f0a6;
  font-weight: 900
}

.hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px
}

.trust {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px
}

.trust__item {
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 13px
}

/* Form + cards */
.card {
  background: #fff;
  border: 1px solid rgba(15, 26, 46, .10);
  border-radius: var(--radius);
  box-shadow: var(--shadow2)
}

.form {
  padding: 18px
}

.form__title {
  font-size: 18px;
  font-weight: 900
}

.form__note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px
}

label {
  display: block;
  margin-top: 12px
}

label span {
  display: block;
  font-size: 12px;
  color: #33425e;
  font-weight: 900;
  margin-bottom: 6px
}

input,
select {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid rgba(15, 26, 46, .18);
  border-radius: 14px;
  font-size: 14px;
  outline: none
}

input:focus,
select:focus {
  border-color: rgba(208, 24, 34, .55);
  box-shadow: 0 0 0 4px rgba(208, 24, 34, .12)
}

.form__foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px
}

/* =========================
   HERO FORM FIX (SAFE)
========================= */

/* Row grouping */
#leadFormHero .form-row-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Each field inside row */
#leadFormHero .form-row-group > div {
  flex: 1;
  min-width: 0;
}

/* Make inputs & selects proper */
#leadFormHero input,
#leadFormHero select {
  width: 100%;
}

/* Fix overflow issue */
#leadFormHero {
  max-width: 100%;
}

/* =========================
   MOBILE FIX
========================= */

@media (max-width: 768px) {

  #leadFormHero .form-row-group {
    flex-direction: column;
  }

}

/* .brand__text {
  position: absolute;
  left:300px;
} */
.mini {
  font-size: 12px;
  color: var(--muted)
}

.mini a {
  text-decoration: underline
}

.toast {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 900
}

.toast.ok {
  background: rgba(120, 240, 166, .18);
  border: 1px solid rgba(120, 240, 166, .35);
  color: #0b5a32
}

.toast.err {
  background: rgba(208, 24, 34, .10);
  border: 1px solid rgba(208, 24, 34, .22);
  color: #7a0a10
}

.pad {
  padding: 18px
}


@media (max-width: 520px) {
  .brand__text {
    /* display: none; */

  }

  .brand {
    min-width: 200px;
  }

  .hero h1 {
    font-size: 36px
  }

  .topbar__right {
    display: none
  }

  .mobile__links {
    grid-template-columns: 1fr
  }
}

@media(max-width:991px) {
  .ap_btn {
    display: none !important;
  }

  .header__inner {
    padding: 0px 15px;
  }

  .hero__copy {
    padding: 0 15px;
  }

  .form {
    margin: 0px 15px;
  }
}

@media(max-width:767px) {
  .hero__inner {
    display: unset;
    padding: 50px 0;
  }

  .hero__copy {
    margin-bottom: 20px;
  }

  .form {
    margin: 0px 15px;
  }
}


.btn--whatsapp {
  background: #25D366;
  /* Official WhatsApp Green */
  color: #fff !important;
  /* Force white text */
  border-color: #128C7E;
  box-shadow: 0 12px 24px rgba(37, 211, 102, .22);
}

.btn--whatsapp:hover {
  background: #128C7E;
  /* Darker green for hover */
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, .35);
  color: #fff !important;
}


/* Add this to the bottom of indexheader.css */
@media (max-width: 1020px) {
  /* 1. Slim down the main header bar height */
  .header__inner {
    padding: 8px 15px !important; /* Reduced vertical padding */
  }

  /* 2. Shrink and reposition the logo for the smaller bar */
  .brand__logo {
    height: 80px !important; /* Shorter logo height */
    top: -20px !important;   /* Adjusted to align with the slimmer bar */
    width: auto;
  }

  /* 3. Adjust the brand text to match the smaller logo */
  .brand__name {
    margin-left: 45px !important; /* Move text closer to the small logo */
    font-size: 18px !important;
  }

  .brand__tag {
    font-size: 11px !important; /* Smaller tagline */
    gap: 8px !important;
  }

  /* 4. Reduce height of the mobile option bar/menu */
  .mobile__inner {
    padding: 10px 0 !important; /* Tighten overall menu padding */
  }

  .mobile__links {
    gap: 6px !important; /* Less space between buttons */
    margin-top: 8px !important;
  }

  .mobile__link {
    padding: 8px 10px !important; /* Thinner buttons */
    font-size: 14px !important;
  }
}




/* ===============================
   FINAL MOBILE HEADER FIX
================================ */
@media (max-width: 991px) {

  /* ✅ FIX HEADER HEIGHT */
  .header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    height: 70px !important; /* IMPORTANT */
    background: #ffffff !important;
  }

  /* ✅ FIX INNER HEADER */
  .header__inner {
    height: 70px !important;
    padding: 0 15px !important;

    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* ✅ FIX LOGO (VERY IMPORTANT) */
  .brand__logo {
    position: relative !important; /* REMOVE absolute */
    top: 0 !important;
    height: 50px !important;
    width: auto !important;
  }

  /* ✅ FIX BRAND ALIGNMENT */
  .brand {
    align-items: center !important;
  }

  .brand__name {
    margin-left: 10px !important;
    font-size: 16px !important;
  }

}