@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&display=swap');

: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: #452c2f;
  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, #452c2f, #452c2f);
  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);
  color: orangered;
}

.btn--ghost {
  background: #fff;
  border-color: rgba(18, 58, 120, .2);
  color: #123a78
}

.btn--ghost:hover {
  background: rgba(229, 231, 236, 0.947)
}

.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;
  width: 120%;
}

.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%;
}




.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;
}


/* --- indexheader.css --- */

/* 1. Hide the Enquiry button by default */
.header .header__cta {
  display: none;
}

/* 2. Shift Nav to the right by default */
.header .nav {
  margin-left: auto;
}

/* 3. Show button ONLY when scrolled */
.header.scrolled .header__cta {
  display: flex;
}

/* 4. Reset Nav position when scrolled (returning to your current layout) */
/* If your current layout uses space-between, this ensures the nav stays centered/spaced */
.header.scrolled .nav {
  margin-left: 0; 
}



/* --- NEW FORMAT: MOBILE HEADER BUTTON LOGIC --- */

@media (max-width: 1020px) {

  /* 1. PERMANENTLY HIDE ENQUIRY BUTTON IN HEADER BAR */
  /* This targets the button that usually appears next to the burger icon */
  .header .header__cta {
    display: none !important;
  }

  /* 2. OVERRIDE SCROLL LOGIC FOR MOBILE */
  /* Prevents the button from showing up even when the 'scrolled' class is active */
  .header.scrolled .header__cta {
    display: none !important;
  }

  /* 3. ENSURE MENU BUTTON REMAINS VISIBLE */
  /* This keeps the "Enquiry Now" button inside the half-page menu functional */
  .mobile .mobile-enquiry {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* 4. LAYOUT ADJUSTMENT */
  .header .nav {
    margin-left: auto;
  }
}



/* ============================================================
   NEW FORMAT: MOBILE STICKY CONTACT BAR
   ============================================================ */

@media (max-width: 1020px) {
  
  /* 1. POSITIONING THE BAR */
  .stickyBar {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important; /* Locks it to the bottom of the screen */
    z-index: 2001; /* Sits above the header and hero */
    display: flex !important;
    gap: 8px !important;
    padding: 10px 12px !important;
    background: rgba(10, 31, 54, 0.95) !important; /* Navy backdrop */
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  }

  /* 2. BUTTON STYLING INSIDE THE BAR */
  .stickyBar a {
    flex: 1 !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 5px !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    font-size: 12px !important;
    color: #ffffff !important;
    transition: transform 0.2s ease !important;
  }

  /* 3. SPECIFIC BUTTON COLORS */
  .callBtn {
    background: rgba(18, 58, 99, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
  }

  .midBtn {
    background: #FF8C00 !important; /* EDUTECH Orange */
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
  }

  .waBtn {
    background: #25D366 !important; /* WhatsApp Green */
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
  }

  /* Active state for touch */
  .stickyBar a:active {
    transform: scale(0.96) !important;
  }
}