:root{
  --blue:#1f2d86;
  --blue2:#0f1b66;
  --gold:#d7b550;
  --gold2:#e6d18a;
  --light:#f5f5f5;
  --dark:#0b0f1e;
  --muted:#6b7280;
  --accent:#e31b23;
}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto;}}
body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif; opacity:1; transition:opacity .35s ease;}
body.page-loaded{opacity:1;}
a{text-decoration:none}
.topbar{
  background:linear-gradient(90deg,#f4e7bf, #f3e0a7);
  font-size:16px;
  font-weight: 600;
}


.navbar-brand img{height: 120px; position: absolute; top: -50px;}
.topbar .pill{
  background:#fff;
  border-radius:999px;
  padding:.22rem .6rem;
  border:1px solid rgba(0,0,0,.06);
}
.topbar .btn-mini{
  font-size:16px;
  
  padding:.10rem .65rem .40rem .65rem;
  border-radius:999px;
  font-weight: 600;
}
.header{
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,.06);
}
.navbar-nav .nav-link{font-weight:600; color:#111827;}
.navbar-nav .nav-link:hover{color:var(--blue);}
.navbar-nav .nav-link.active{color:var(--gold);}

.hero{
  background:#e9ecef;
  position:relative;
  overflow:hidden;
}
.hero::after{
  content:"₹";
  position:absolute;
  right:7%;
  top:12%;
  font-size:420px;
  color:rgba(31,45,134,.10);
  font-weight:900;
  line-height:1;
  pointer-events:none;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
}
@media(max-width: 992px){
  .hero-grid{grid-template-columns:1fr;}
  .hero::after{font-size:260px; right:2%; top:18%;}
}
.hero-left{
  padding:1.25rem 0 0 0;
}
.hero-left img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.hero-right{
  padding:2.75rem 1.75rem;
  display:flex;
  align-items:center;
}
.hero-title{font-weight:900; font-size:44px; line-height:1.12;}
.hero-sub{color:#374151; font-size:15px;}
.hero-sub b{color:var(--blue);}
.hero-cta .btn{border-radius:10px; font-weight:600; padding:.85rem 1.05rem;}
.btn-primary-brand{background:var(--gold); border-color:var(--gold2);}
.btn-primary-brand:hover{background:var(--gold2); border-color:var(--blue2);}
.btn-outline-brand{border-color:var(--blue); color:var(--blue);}
.btn-outline-brand:hover{background:rgba(31,45,134,.08);}

.offer{
  background:linear-gradient(180deg,var(--blue), var(--blue2));
  color:#fff;
}
.offer h2{font-weight:700}
.offer .offer-item{
  padding:1.4rem 1.2rem;
  border-left:1px solid rgba(255,255,255,.12);
}
.offer .offer-item:first-child{border-left:0}
.offer .icon{
  width:44px;height:44px;border-radius:12px;
  display:grid;place-items:center;
  background:rgba(255,255,255,.12);
  margin:0 auto .8rem;
}
.offer p{font-size:12.5px; opacity:.86; margin:0}
@media(max-width:768px){
  .offer .offer-item{border-left:0; border-top:1px solid rgba(255,255,255,.12)}
  .offer .offer-item:first-child{border-top:0}
}

.why{
  background:linear-gradient(180deg,var(--gold), var(--gold2));
  padding:3.3rem 0;
}
.why h2{font-weight:900; font-size:38px;}
.why p{font-size:18px; line-height:1.75; color:#111827;}
.numbers{
  background:#fff;
  padding:2.2rem 0;
}
.numbers .leadline{color:#111827; font-weight:700}
.numbers .big{color:var(--accent); font-weight:900; font-size:34px;}
.testimonials{
  background: radial-gradient(1000px 450px at 50% 40%, rgba(255,255,255,.10), transparent 55%),
              linear-gradient(180deg,#0e0f12,#0a0b0f);
  color:#fff;
  padding:3rem 0;
}
.testimonials h2{font-weight:900}
.testimonials .tgrid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:18px;
}
@media(max-width:992px){.testimonials .tgrid{grid-template-columns:1fr 1fr}}
@media(max-width:576px){.testimonials .tgrid{grid-template-columns:1fr}}
.testimonials .tcard{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  border-radius:14px;
  padding:14px 14px 12px;
  min-height:170px;
}
.quote{
  color:#b8ff5a;
  font-size:34px;
  line-height:1;
}
.tcard p{font-size:12.5px; opacity:.88;}
.tcard .name{font-size:11.5px; opacity:.85; margin-top:8px;}
.bottom-cards{
  background:#efefef;
  padding:2.6rem 0;
}
.bottom-cards .cardx{
  background:#e5e5e5;
  border-radius:8px;
  padding:22px;
  min-height:180px;
}
.bottom-cards h3{font-weight:900; color:#111827;}
.bottom-cards p{color:#374151; margin:0}
.getintouch{
  background:#d8d8d8;
  padding:1.6rem 0;
}
.getintouch h3{font-weight:900; color:#111827;}
.site-footer{
  background:#fff;
  padding:1.25rem 0 1.75rem;
  font-size:12px;
  color:#6b7280;
  border-top:1px solid rgba(0,0,0,.06);
}
.site-footer a{color:#6b7280;}
.site-footer a:hover{color:#111827;}

.page-hero{
  background:linear-gradient(180deg,var(--blue), var(--blue2));
  color:#fff;
  padding:2.1rem 0;
}
.page-hero h1{font-weight:900}
.content-wrap{padding:2.2rem 0;}
.table thead th{background:rgba(31,45,134,.08);}
.form-control, textarea{border-radius:10px;}


/* Scroll-to-top button */
.scrolltop-btn{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: .25s ease;
  z-index: 1050;
}
.scrolltop-btn.show{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scrolltop-btn i{color: var(--blue); font-size: 18px;}
.scrolltop-btn:hover{filter: brightness(.98);}

/* How-it-works interactive */
.hiw-wrap{position:relative;}
.hiw-step{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  padding:18px;
  transition: transform .35s ease, box-shadow .35s ease, opacity .35s ease;
  opacity:.92;
}
.hiw-step:hover{transform: translateY(-4px); box-shadow:0 16px 40px rgba(0,0,0,.10); opacity:1;}
.hiw-step .kicker{font-size:12px; color:#6b7280; font-weight:700; letter-spacing:.06em; text-transform:uppercase;}
.hiw-step .title{font-weight:900; color:#0f172a; font-size:18px;}
.hiw-step .desc{color:#374151; font-size:14px; margin:0;}
.hiw-step .pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:.45rem .7rem; border-radius:999px;
  background: rgba(31,45,134,.08);
  border:1px solid rgba(31,45,134,.12);
  color: var(--blue);
  font-weight:800; font-size:13px;
}
.hiw-flow{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:20px;
}
@media(max-width:992px){.hiw-flow{grid-template-columns:1fr}}
.hiw-visual{
  background: linear-gradient(180deg, rgba(31,45,134,.08), rgba(215,181,80,.12));
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 18px;
  padding: 18px;
}
.hiw-visual .metric{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  padding:12px 12px;
}
.hiw-visual .metric .label{font-size:12px; color:#6b7280; font-weight:700;}
.hiw-visual .metric .value{font-size:22px; font-weight:900; color:#0f172a;}
.hiw-visual .metric .sub{font-size:12px; color:#6b7280;}
.hiw-visual .bar{
  height:30px; border-radius:999px; background:rgba(31,45,134,.12); overflow:hidden;
  padding-left: 10px;
}
.hiw-visual .bar > span{
  display:block; height:100%;
  width:0%;
  background: linear-gradient(90deg, var(--blue), #3b82f6);
  transition: width .6s ease;
}
.fade-up{opacity:1; transform:none;} html.reveal-on .fade-up{opacity:0; transform:translateY(18px); transition: opacity .7s ease, transform .7s ease;}
.fade-up.show{
  opacity:1;
  transform: translateY(0);
}



/* Scroll reveal */
[data-reveal]{opacity:1; transform:none;} html.reveal-on [data-reveal]{opacity:0; transform:translateY(14px); transition:opacity .7s ease, transform .7s ease; will-change:opacity,transform;}
[data-reveal].is-visible,[data-reveal].reveal-in{opacity:1; transform:none;}
@media (prefers-reduced-motion: reduce){
  [data-reveal]{opacity:1; transform:none; transition:none;}
}

/* Hero layer transitions */
.hero-layer{opacity:1; transform:none; transition:opacity .75s ease, transform .75s ease;} html.js-enabled .hero-layer{opacity:0; transform:translateY(12px);}
.carousel-item.active .hero-layer{opacity:1; transform:none;}
.hero-layer--d1{transition-delay:.05s}
.hero-layer--d2{transition-delay:.15s}
.hero-layer--d3{transition-delay:.25s}
.hero-left img{opacity:.92; transform:scale(1.02); transition:transform 1.1s ease, opacity 1.1s ease;}
.carousel-item.active .hero-left img{transform:scale(1); opacity:1;}

/* Chit plan cards (match reference style) */
.plan-card{
  position:relative;
  border-radius:14px;
  overflow:hidden;
  min-height:220px;
  box-shadow:0 12px 30px rgba(0,0,0,.08);
  border:1px solid rgba(15,27,102,.12);
  background:#fff;
}
.plan-card__inner{
  position:relative;
  z-index:2;
  padding:22px 18px 24px;
  text-align:center;
}
.plan-card__label{
  font-size:14px;
  font-weight:700;
  color:#1f2d86;
  letter-spacing:.2px;
}
.plan-card__value{
  font-size:30px;
  font-weight:900;
  color:#f6a300;
  line-height:1.05;
}
.plan-card__value--small{font-size:28px}
.plan-card:after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:2px;
  background:var(--blue);
}
/* .plan-card:before{
  content:"";
  position:absolute;
  left:0; right:0; bottom:70px;
  margin:auto;
  width:0; height:0;
  border-left:160px solid transparent;
  border-right:160px solid transparent;
  border-top:70px solid #564e4e;
  z-index:1;
} */
.plan-card--dark{
  background:var(--blue);
  border-color:rgba(0,0,0,.12);
}
.plan-card--dark .plan-card__label{color:#fff; opacity:.9;}
.plan-card--dark .plan-card__value{color:#f6a300;}
.plan-card--dark:after{background:#f6a300;}
.plan-card--dark:before{border-top-color:var(--blue);}
@media (max-width:575px){
  .plan-card:before{
    border-left:130px solid transparent;
    border-right:130px solid transparent;
  }
}


/* Plans grid: match reference alternating by ROW on large screens (3 cards per row) */
@media (min-width: 992px){
  .plans-grid > .plan-col:nth-child(6n+1) .plan-card,
  .plans-grid > .plan-col:nth-child(6n+2) .plan-card,
  .plans-grid > .plan-col:nth-child(6n+3) .plan-card{
    background:#fff;
  }
  .plans-grid > .plan-col:nth-child(6n+4) .plan-card,
  .plans-grid > .plan-col:nth-child(6n+5) .plan-card,
  .plans-grid > .plan-col:nth-child(6n+6) .plan-card{
    background:var(--gold2);
    border-color:rgba(0,0,0,.12);
  }
  .plans-grid > .plan-col:nth-child(6n+4) .plan-card .plan-card__label,
  .plans-grid > .plan-col:nth-child(6n+5) .plan-card .plan-card__label,
  .plans-grid > .plan-col:nth-child(6n+6) .plan-card .plan-card__label{color:#fff; opacity:.9;}

  .plans-grid > .plan-col:nth-child(6n+4) .plan-card:after,
  .plans-grid > .plan-col:nth-child(6n+5) .plan-card:after,
  .plans-grid > .plan-col:nth-child(6n+6) .plan-card:after{background:#f6a300;}

  .plans-grid > .plan-col:nth-child(6n+4) .plan-card:before,
  .plans-grid > .plan-col:nth-child(6n+5) .plan-card:before,
  .plans-grid > .plan-col:nth-child(6n+6) .plan-card:before{border-top-color:var(--blue);}
}

/* Back to top */
.back-to-top{
  position:fixed;
  right:18px;
  bottom:18px;
  width:46px;
  height:46px;
  border-radius:999px;
  background:var(--blue);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 12px 30px rgba(0,0,0,.18);
  opacity:0;
  transform:translateY(10px);
  pointer-events:none;
  transition:opacity .25s ease, transform .25s ease, background .25s ease;
  z-index:9999;
}
.back-to-top:hover{background:var(--blue2); color:#fff;}
.back-to-top.show{opacity:1; transform:none; pointer-events:auto;}


/* Hero carousel zoom + fade */
.hero-slider .carousel-item{opacity:1; transform:none; transition:opacity .9s ease, transform 1.2s ease;} html.js-enabled .hero-slider .carousel-item{opacity:0; transform:scale(1.06);}
.hero-slider .carousel-item.active{opacity:1; transform:scale(1);}
.hero-slider .carousel-item .hero-left img{transform:scale(1.05); transition:transform 1.2s ease;}
.hero-slider .carousel-item.active .hero-left img{transform:scale(1);} 
.hero-layer{opacity:0; transform:translateY(12px); transition:opacity .75s ease, transform .75s ease;}
.carousel-item.active .hero-layer{opacity:1; transform:translateY(0);} 
.hero-layer--d1{transition-delay:.15s;} .hero-layer--d2{transition-delay:.30s;} .hero-layer--d3{transition-delay:.45s;}


/* Global theme background (avoid all-white look) */
body{background:linear-gradient(180deg,#f6f8ff 0%, #ffffff 40%, #f6f8ff 100%); color:#0b1230;}
.section{padding:70px 0;}
.section-alt{background:linear-gradient(180deg, rgba(31,45,134,.06), rgba(215,181,80,.04));}
.navbar{background:rgba(255,255,255,.92)!important; backdrop-filter:saturate(140%) blur(10px); box-shadow:0 10px 24px rgba(0,0,0,.06);}
.footer{background:linear-gradient(135deg, var(--blue2), var(--blue)); color:#fff;}
.footer a{color:rgba(255,255,255,.9);}

/* Language buttons */
.lang-btn.active{background:var(--blue); border-color:var(--blue); color:#fff;}
.lang-btn{min-width:56px;}

/* Hero zoom + fade */
#heroCarousel .carousel-item{opacity:1; transition:opacity 1s ease;} html.js-enabled #heroCarousel .carousel-item{opacity:0;}
html.js-enabled #heroCarousel .carousel-item.active{opacity:1;}
html.js-enabled .hero-slider .carousel-item.active{opacity:1; transform:scale(1);}

#heroCarousel .carousel-item.active{opacity:1;}
#heroCarousel .hero-left img{transform:scale(1.08); opacity:.9;}
#heroCarousel .carousel-item.active .hero-left img{transform:scale(1); opacity:1;}

/* === EMERGENCY VISIBILITY FIX === */
[data-reveal],
.reveal,
.reveal-up,
.reveal-in,
.section,
.section * {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* If any overlay is covering content */
.hero::before,
.hero-overlay,
.overlay {
  pointer-events: none !important;
}
