/* =========================================================
   NEET COUNSELOR — DESIGN TOKENS
   Palette:
     --ink     #0B1A2B  primary text
     --navy    #123C5E  brand / primary
     --teal    #1B6B63  secondary accent (health, calm)
     --amber   #E8A33D  primary CTA / highlight accent
     --paper   #F6F4EF  page background (warm off-white)
     --paper-2 #EFEAE0  alternate section background
     --line    #DDD6C8  hairline borders
   Type:
     Display  — "Zilla Slab" (slab serif, admission-letter register)
     Body/UI  — "Inter"
   ========================================================= */

:root{
  --ink:#0B1A2B;
  --navy:#123C5E;
  --navy-dark:#0B2740;
  --navy-soft:#E7EEF3;
  --teal:#1B6B63;
  --teal-soft:#E4EFED;
  --amber:#E8A33D;
  --amber-dark:#C9821F;
  --amber-soft:#FBEEDA;
  --paper:#F6F4EF;
  --paper-2:#EFEAE0;
  --line:#E2DCCE;
  --white:#FFFFFF;

  --font-display:'Zilla Slab', Georgia, serif;
  --font-body:'Inter', -apple-system, Segoe UI, Roboto, sans-serif;

  --radius-sm:10px;
  --radius-md:16px;
  --radius-lg:24px;
  --shadow-card: 0 1px 3px rgba(11,26,43,.06), 0 1px 2px rgba(11,26,43,.04);
  --shadow-card-hover: 0 20px 32px -16px rgba(11,39,64,.22);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*{box-sizing:border-box;}

html{scroll-behavior:smooth;}

body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--paper);
  line-height:1.6;
  font-size:16px;
}

h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--navy-dark);
  line-height:1.15;
  margin:0 0 .5em;
}

p{margin:0 0 1em;}
a{color:var(--navy);text-decoration:none;transition:color .15s ease;}
a:hover{color:var(--amber-dark);}

.icon{width:18px;height:18px;fill:currentColor;flex:none;}

/* =========================================================
   SCROLL PROGRESS BAR
   ========================================================= */
.scroll-progress{
  position:fixed;
  top:0;left:0;right:0;
  height:3px;
  z-index:200;
  background:transparent;
  pointer-events:none;
}
.scroll-progress span{
  display:block;
  height:100%;
  width:0%;
  background:linear-gradient(90deg,var(--teal),var(--amber));
  transition:width .1s linear;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn{
  font-family:var(--font-body);
  font-weight:600;
  border-radius:999px;
  padding:.7rem 1.6rem;
  border:1px solid transparent;
  transition:background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-cta{
  background:var(--amber);
  color:var(--navy-dark);
  border-color:var(--amber);
  box-shadow:0 10px 20px -10px rgba(201,130,31,.55);
}
.btn-cta:hover{background:var(--amber-dark);border-color:var(--amber-dark);color:var(--white);transform:translateY(-2px);box-shadow:0 14px 24px -10px rgba(201,130,31,.6);}
.btn-outline-cta{
  background:transparent;
  color:var(--navy);
  border-color:var(--navy);
}
.btn-outline-cta:hover{background:var(--navy);color:var(--white);transform:translateY(-2px);}
.btn-light-cta{background:var(--white);color:var(--navy-dark);border-color:var(--white);}
.btn-light-cta:hover{background:var(--paper-2);color:var(--navy-dark);transform:translateY(-2px);}
.btn-outline-light-cta{background:transparent;color:var(--white);border-color:rgba(255,255,255,.6);}
.btn-outline-light-cta:hover{background:rgba(255,255,255,.12);color:var(--white);border-color:var(--white);transform:translateY(-2px);}

/* =========================================================
   TOP BAR
   ========================================================= */
.topbar{
  background:var(--navy-dark);
  color:#D9E3EC;
  font-size:.85rem;
}
.topbar-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:.45rem 0;
  gap:1rem;
  flex-wrap:wrap;
}
.topbar-contact{display:flex;gap:1.5rem;flex-wrap:wrap;}
.topbar-contact a{color:#D9E3EC;display:inline-flex;align-items:center;gap:.4rem;}
.topbar-contact a:hover{color:var(--amber);}
.topbar-note{color:#9FB4C6;}

/* =========================================================
   HEADER / NAV — glass on scroll
   ========================================================= */
.site-header{
  background:rgba(246,244,239,.85);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid transparent;
  position:sticky;
  top:0;
  z-index:100;
  transition:box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-scrolled{
  border-bottom-color:var(--line);
  box-shadow:0 8px 24px -18px rgba(11,26,43,.35);
}
.navbar{padding:.9rem 0;}
.brand{
  display:flex;
  align-items:center;
  gap:.6rem;
  font-family:var(--font-display);
  font-size:1.4rem;
  color:var(--navy-dark);
  font-weight:600;
}
.brand-word em{font-style:normal;color:var(--teal);}
.nav-link{
  color:var(--ink);
  font-weight:500;
  padding:.5rem 1rem !important;
  position:relative;
}
.nav-link::after{
  content:"";
  position:absolute;
  left:1rem;right:1rem;bottom:.2rem;
  height:2px;
  background:var(--amber);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .2s var(--ease);
}
.nav-link:hover{color:var(--navy);}
.nav-link:hover::after{transform:scaleX(1);}

/* =========================================================
   HERO — layered depth, decorative blobs
   ========================================================= */
.hero{
  position:relative;
  padding:5.5rem 0 4.5rem;
  overflow:hidden;
}
.hero::before,
.hero::after{
  content:"";
  position:absolute;
  border-radius:50%;
  filter:blur(70px);
  z-index:0;
  opacity:.5;
}
.hero::before{
  width:420px;height:420px;
  background:radial-gradient(circle, var(--amber) 0%, transparent 70%);
  top:-140px; right:-120px;
}
.hero::after{
  width:380px;height:380px;
  background:radial-gradient(circle, var(--teal) 0%, transparent 70%);
  bottom:-160px; left:-140px;
  opacity:.35;
}
.hero .container{position:relative;z-index:1;}
.hero-title{
  font-size:clamp(2.3rem, 4.4vw, 3.4rem);
  max-width:14ch;
  font-weight:600;
  letter-spacing:-.01em;
}
.hero-sub{
  max-width:46ch;
  font-size:1.15rem;
  color:#33465A;
}
.hero-actions{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:1.75rem;}
.hero-trust{
  list-style:none;
  padding:0;margin:0;
  display:flex;
  gap:1.5rem;
  flex-wrap:wrap;
  font-size:.9rem;
  color:var(--teal);
  font-weight:600;
}
.hero-trust li{position:relative;padding-left:1.1rem;}
.hero-trust li::before{
  content:"";
  position:absolute;left:0;top:.45em;
  width:6px;height:6px;
  background:var(--teal);
  border-radius:50%;
}

/* snapshot card — signature hero element */
.snapshot-wrap{position:relative;}
.snapshot-wrap::before{
  content:"";
  position:absolute;
  inset:10px -10px -18px 10px;
  background:linear-gradient(135deg, var(--teal), var(--amber));
  border-radius:var(--radius-lg);
  opacity:.5;
  filter:blur(2px);
  z-index:0;
}
.snapshot-card{
  position:relative;
  z-index:1;
  background:var(--navy-dark);
  color:var(--white);
  border-radius:var(--radius-lg);
  padding:2rem 1.9rem 1.7rem;
  box-shadow: 0 24px 48px -20px rgba(11,39,64,.5);
}
.snapshot-badge{
  position:absolute;
  top:-14px;
  right:1.6rem;
  background:var(--amber);
  color:var(--navy-dark);
  font-size:.72rem;
  font-weight:700;
  padding:.4rem .9rem;
  border-radius:999px;
  box-shadow:0 8px 16px -6px rgba(201,130,31,.6);
}
.snapshot-head{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  border-bottom:1px solid rgba(255,255,255,.18);
  padding-bottom:.9rem;
  margin-bottom:1.25rem;
}
.snapshot-tag{font-family:var(--font-display);font-size:1.1rem;}
.snapshot-year{color:var(--amber);font-weight:700;}
.snapshot-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1.4rem;
}
.snapshot-stat{display:flex;flex-direction:column;}
.stat-num{
  font-family:var(--font-display);
  font-size:2.2rem;
  font-weight:600;
  display:inline;
}
.stat-suffix{
  font-family:var(--font-display);
  font-size:2.2rem;
  font-weight:600;
  color:var(--amber);
}
.stat-label{
  font-size:.82rem;
  color:#B9C7D4;
  margin-top:.15rem;
}
.snapshot-foot{
  margin-top:1.4rem;
  padding-top:1rem;
  border-top:1px solid rgba(255,255,255,.18);
  font-size:.78rem;
  color:#93A7B8;
}

/* =========================================================
   SECTION SHELL
   ========================================================= */
.section{padding:5rem 0;}
.section-head{max-width:60ch;margin-bottom:2.75rem;}
.section-head::before{
  content:"";
  display:block;
  width:44px;height:4px;
  border-radius:999px;
  background:var(--amber);
  margin-bottom:1rem;
}
.section-head h2{font-size:clamp(1.7rem,3vw,2.3rem);}
.section-head p{color:#4A5A6A;font-size:1.05rem;}
.section-lead{color:#4A5A6A;font-size:1.05rem;max-width:42ch;}

/* =========================================================
   SERVICES
   ========================================================= */
.services{background:var(--paper);}
.service-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:1.8rem 1.7rem;
  height:100%;
  box-shadow:var(--shadow-card);
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.service-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-card-hover);
  border-color:transparent;
}
.service-icon-wrap{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:52px;height:52px;
  border-radius:14px;
  margin-bottom:1.1rem;
}
.service-icon-wrap.accent-navy{background:var(--navy-soft);}
.service-icon-wrap.accent-teal{background:var(--teal-soft);}
.service-icon-wrap.accent-amber{background:var(--amber-soft);}
.service-icon-wrap.accent-navy .service-icon{stroke:var(--navy);}
.service-icon-wrap.accent-teal .service-icon{stroke:var(--teal);}
.service-icon-wrap.accent-amber .service-icon{stroke:var(--amber-dark);}
.service-icon{
  width:26px;height:26px;
  fill:none;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.service-card h3{font-size:1.15rem;margin-bottom:.4rem;}
.service-card p{color:#4A5A6A;font-size:.95rem;margin-bottom:0;}

/* =========================================================
   PROCESS / ROADMAP — connected timeline (genuine sequence)
   ========================================================= */
.process{background:var(--navy-dark);color:var(--white);}
.process .section-head h2{color:var(--white);}
.process .section-head p{color:#B9C7D4;}
.roadmap{
  list-style:none;
  margin:0;padding:0;
  position:relative;
}
.roadmap::before{
  content:"";
  position:absolute;
  left:22px;top:8px;bottom:8px;
  width:2px;
  background:rgba(255,255,255,.18);
}
.roadmap-step{
  display:flex;
  gap:1.5rem;
  padding:1.3rem 0;
  position:relative;
}
.step-num{
  position:relative;
  z-index:1;
  flex:none;
  width:44px;height:44px;
  border-radius:50%;
  background:var(--amber);
  color:var(--navy-dark);
  font-family:var(--font-display);
  font-weight:700;
  font-size:1.15rem;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 0 0 6px var(--navy-dark);
}
.step-body h3{font-size:1.1rem;margin-bottom:.3rem;color:var(--white);}
.step-body p{color:#B9C7D4;margin-bottom:0;max-width:60ch;}

/* =========================================================
   WHY US — tinted feature grid
   ========================================================= */
.why-us{background:var(--paper);}
.why-item{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:1.5rem;
  height:100%;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease);
}
.why-item:hover{transform:translateY(-4px);box-shadow:var(--shadow-card-hover);}
.why-icon{
  width:26px;height:26px;
  fill:none;
  stroke:var(--teal);
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
  margin-bottom:.9rem;
}
.why-item h4{font-size:1.05rem;margin-bottom:.35rem;color:var(--navy-dark);}
.why-item p{color:#4A5A6A;font-size:.95rem;margin-bottom:0;}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials{background:var(--navy-dark);color:var(--white);position:relative;overflow:hidden;}
.testimonials .section-head h2{color:var(--white);}
.testimonials .section-head p{color:#B9C7D4;}
.testimonial-quote{
  max-width:56ch;
  margin:0 auto;
  text-align:center;
  padding:1rem 3rem;
  position:relative;
}
.testimonial-quote::before{
  content:"\201C";
  position:absolute;
  top:-2.2rem;left:50%;
  transform:translateX(-50%);
  font-family:var(--font-display);
  font-size:6rem;
  color:rgba(232,163,61,.18);
  line-height:1;
}
.testimonial-quote p{
  font-family:var(--font-display);
  font-size:1.45rem;
  line-height:1.45;
  color:var(--white);
  position:relative;
}
.quote-by{color:var(--amber);font-weight:600;font-size:.9rem;}
#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next{
  width:2.5rem;opacity:1;
}
.carousel-nav-icon{
  font-size:2rem;
  color:#B9C7D4;
  transition:color .2s ease;
}
.carousel-nav-icon:hover{color:var(--amber);}

/* =========================================================
   RESOURCES
   ========================================================= */
.resources{background:var(--paper);}
.resource-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  overflow:hidden;
  height:100%;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease);
}
.resource-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-card-hover);}
.resource-thumb{
  height:110px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding:1rem 1.4rem;
  font-family:var(--font-display);
  font-size:2.4rem;
  font-weight:600;
  color:rgba(255,255,255,.55);
}
.thumb-navy{background:linear-gradient(135deg,var(--navy),var(--navy-dark));}
.thumb-teal{background:linear-gradient(135deg,var(--teal),#0F423C);}
.thumb-amber{background:linear-gradient(135deg,var(--amber),var(--amber-dark));}
.resource-body{padding:1.5rem 1.6rem 1.7rem;}
.resource-tag{
  display:inline-block;
  font-size:.72rem;
  font-weight:700;
  color:var(--teal);
  border:1px solid var(--teal);
  border-radius:999px;
  padding:.2rem .7rem;
  margin-bottom:.8rem;
}
.resource-card h3{font-size:1.05rem;margin-bottom:.5rem;}
.resource-card p{color:#4A5A6A;font-size:.92rem;}
.resource-link{font-weight:600;font-size:.9rem;display:inline-flex;align-items:center;gap:.3rem;}
.resource-link span{transition:transform .2s var(--ease);}
.resource-link:hover span{transform:translateX(3px);}

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner{
  background:linear-gradient(120deg,var(--teal),#134E48);
  color:var(--white);
  padding:3.2rem 0;
}
.cta-banner h2{color:var(--white);font-size:1.8rem;margin-bottom:.2rem;}
.cta-banner p{color:#D9EFEA;margin-bottom:0;}
.cta-banner-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1.5rem;
  flex-wrap:wrap;
}
.cta-banner-actions{display:flex;gap:1rem;flex-wrap:wrap;}

/* =========================================================
   FAQ — custom toggle icon
   ========================================================= */
.faq{background:var(--paper-2);}
.accordion-item{
  background:transparent;
  border:none;
  border-bottom:1px solid var(--line);
  border-radius:0;
}
.accordion-button{
  font-family:var(--font-display);
  font-size:1.08rem;
  color:var(--navy-dark);
  background:transparent;
  box-shadow:none;
  padding:1.2rem 0;
}
.accordion-button:not(.collapsed){
  background:transparent;
  color:var(--navy);
  box-shadow:none;
}
.accordion-button:focus{box-shadow:none;}
.accordion-button::after{
  background-image:none;
  width:26px;height:26px;
  border-radius:50%;
  background:var(--white);
  border:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  transition:transform .2s var(--ease), background .2s var(--ease);
}
.accordion-button::before{
  content:"+";
  position:absolute;
  right:0;
  font-size:1.1rem;
  font-family:var(--font-body);
  font-weight:600;
  color:var(--navy);
  width:26px;height:26px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.accordion-button:not(.collapsed)::before{content:"\2212";color:var(--white);}
.accordion-button:not(.collapsed)::after{background:var(--navy);}
.accordion-body{
  padding:0 0 1.2rem;
  color:#4A5A6A;
  max-width:70ch;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact{background:var(--paper);}
.contact-list{list-style:none;padding:0;margin:1.5rem 0 0;display:flex;flex-direction:column;gap:1rem;}
.contact-list li{display:flex;align-items:flex-start;gap:.7rem;color:#33465A;}
.contact-list .icon{color:var(--navy);margin-top:.2rem;}

.contact-form{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:2rem;
  box-shadow:var(--shadow-card);
}
.contact-form .form-floating > label{color:#6C7C8C;}
.contact-form .form-control,
.contact-form .form-select{
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
}
.contact-form .form-control:focus,
.contact-form .form-select:focus{
  border-color:var(--navy);
  box-shadow:0 0 0 3px rgba(18,60,94,.12);
}
.form-note{margin-left:1rem;font-size:.9rem;color:var(--teal);font-weight:600;}

.map-wrap{
  margin-top:3rem;
  border-radius:var(--radius-lg);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow-card);
}
.map-wrap iframe{width:100%;height:320px;border:0;display:block;filter:grayscale(.15);}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  background:radial-gradient(120% 140% at 0% 0%, #12324F 0%, var(--navy-dark) 55%);
  color:#B9C7D4;
  padding:3.5rem 0 1.5rem;
}
.brand-footer{color:var(--white);margin-bottom:1rem;}
.footer-about{color:#93A7B8;font-size:.92rem;max-width:32ch;}
.social-list{list-style:none;display:flex;gap:.6rem;padding:0;margin:1rem 0 0;}
.social-list a{
  display:flex;align-items:center;justify-content:center;
  width:36px;height:36px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:50%;
  color:#D9E3EC;
  transition:border-color .2s ease, color .2s ease, transform .2s ease;
}
.social-list svg{width:16px;height:16px;fill:currentColor;}
.social-list a:hover{border-color:var(--amber);color:var(--amber);transform:translateY(-3px);}
.site-footer h5{
  color:var(--white);
  font-family:var(--font-body);
  font-weight:700;
  font-size:.9rem;
  text-transform:none;
  margin-bottom:1rem;
}
.footer-links{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.6rem;font-size:.9rem;}
.footer-links a{color:#B9C7D4;}
.footer-links a:hover{color:var(--amber);}
.footer-links li{color:#93A7B8;}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.15);
  margin-top:2.5rem;
  padding-top:1.5rem;
  display:flex;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
  font-size:.82rem;
  color:#7E93A5;
}

/* =========================================================
   BACK TO TOP
   ========================================================= */
#backToTop{
  position:fixed;
  right:1.5rem;
  bottom:1.5rem;
  width:46px;height:46px;
  border-radius:50%;
  background:var(--navy-dark);
  color:var(--white);
  border:none;
  font-size:1.1rem;
  display:none;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 10px 22px -8px rgba(11,39,64,.5);
  z-index:99;
  transition:transform .2s var(--ease), background .2s var(--ease);
}
#backToTop.show{display:flex;}
#backToTop:hover{transform:translateY(-3px);background:var(--teal);}

/* =========================================================
   MOTION — one entrance sequence on load, respects reduced motion
   ========================================================= */
@media (prefers-reduced-motion: no-preference){
  .hero-title,.hero-sub,.hero-actions,.hero-trust,.snapshot-wrap{
    animation: fadeUp .7s var(--ease) both;
  }
  .hero-title{animation-delay:.05s;}
  .hero-sub{animation-delay:.15s;}
  .hero-actions{animation-delay:.25s;}
  .hero-trust{animation-delay:.32s;}
  .snapshot-wrap{animation-delay:.2s;}
}
@keyframes fadeUp{
  from{opacity:0;transform:translateY(16px);}
  to{opacity:1;transform:translateY(0);}
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991px){
  .navbar-collapse{
    background:var(--paper);
    padding:1rem 0;
  }
  .navbar-nav{gap:.2rem;}
  .btn-cta.ms-lg-4{margin-top:.75rem;display:inline-block;}
  .cta-banner-inner{flex-direction:column;align-items:flex-start;}
}

@media (max-width: 575px){
  .snapshot-grid{grid-template-columns:1fr;}
  .snapshot-wrap::before{inset:8px -6px -14px 8px;}
  .testimonial-quote{padding:1rem 2.2rem;}
  .section-head::before{margin-bottom:.8rem;}
}