/* ============================================================
   MSFT Insurance – site stylesheet (all public-site CSS)
   Sections: 1 Base/Header · 2 Footer · 3 Home · 4 Chatbot · 5 Layout fixes
   ============================================================ */

/* ───────── 1. Base, header, shared components ───────── */
/* ── Root Variables ── */
:root {
  --crimson:    #6a0707;
  --crimson-dk: #3f0505;
  --crimson-lt: #8e1111;
  --gold:       #b8933a;
  --gold-lt:    #d9b95e;
  --cream:      #ffffff;          /* page background (kept name for existing pages) */
  --ink:        #111827;
  --smoke:      #f4f6f9;          /* alternate section background */
  --mist:       #e5e8ee;
  --text:       #1f2937;
  --text-muted: #5b6573;
  --line:       #e2e6ec;
  --white:      #ffffff;
  --shadow-sm:  0 1px 3px rgba(16,24,40,.06), 0 1px 2px rgba(16,24,40,.04);
  --shadow-md:  0 8px 24px rgba(16,24,40,.09);
  --shadow-lg:  0 16px 40px rgba(16,24,40,.14);
  --radius-sm:  4px;
  --radius-md:  6px;
  --radius-lg:  8px;
  --radius-xl:  12px;
  --font-display: 'Poppins', 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --transition:   all .25s ease;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p, h1, h2, h3, h4, h5, h6 { margin: 0; }
h1, h2, h3, h4 { letter-spacing: -.015em; font-family: var(--font-display); font-weight: 700; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--smoke); }
::-webkit-scrollbar-thumb { background: #b9bfca; border-radius: 4px; }

/* ── Top utility bar ── */
.top-bar {
  background: var(--crimson-dk); color: rgba(255,255,255,.8);
  font-size: .78rem; letter-spacing: .01em;
}
.top-bar a, .site-header a, .site-nav a, .logo-container a { text-decoration: none !important; }
.top-bar-inner {
  padding: .5rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.top-bar-badge { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; }
.top-bar-badge svg { color: var(--gold-lt); }
.top-bar-links { display: flex; gap: 1.5rem; }
.top-bar-links a { display: inline-flex; align-items: center; gap: .4rem; color: rgba(255,255,255,.8); transition: var(--transition); }
.top-bar-links a:hover { color: #fff; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  height: 76px;
  border-bottom: 0;
  box-shadow: 0 2px 10px rgba(16,24,40,.05);
  transition: height .3s ease, box-shadow .3s ease;
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-header.scrolled { height: 64px; box-shadow: 0 10px 30px rgba(16,24,40,.12); }
.site-header.scrolled .logo-container img { height: 48px; width: 48px; }
.logo-container img { transition: all .3s ease; }

/* scroll progress + back to top + global reveal */
#scrollbar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 2000; background: linear-gradient(90deg, var(--gold), var(--gold-lt), var(--crimson-lt)); box-shadow: 0 0 10px rgba(217,185,94,.7); }
#toTop { position: fixed; right: 1.4rem; bottom: 5.6rem; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; z-index: 900; background: linear-gradient(135deg, var(--crimson), var(--crimson-lt)); color: #fff; box-shadow: 0 10px 24px rgba(106,7,7,.4); display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(16px); pointer-events: none; transition: all .3s ease; }
#toTop.show { opacity: 1; transform: none; pointer-events: auto; }
#toTop:hover { transform: translateY(-3px); }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); will-change: transform, opacity; }
.reveal.from-left { transform: translateX(-48px); }
.reveal.from-right { transform: translateX(48px); }
.reveal.zoom { transform: scale(.92); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; } .reveal.d2 { transition-delay: .24s; } .reveal.d3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none; } }

.logo-container { position: relative; z-index: 1; }
.logo-container a { display: flex; align-items: center; gap: .75rem; }
.logo-container img {
  height: 58px; width: 58px;
  border-radius: 50%; object-fit: cover;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 1.1rem; color: var(--crimson); font-weight: 700; letter-spacing: -.01em; }
.logo-text small { font-size: .68rem; color: var(--text-muted); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }

/* ── Nav ── */
.site-nav { position: relative; z-index: 1; }
.site-nav > ul { display: flex; align-items: center; gap: .1rem; }
.site-nav a {
  display: inline-flex; align-items: center;
  padding: .55rem 1rem;
  color: #374151;
  font-size: .9rem; font-weight: 500; letter-spacing: .005em;
  border-radius: 99px;
  transition: background .25s ease, color .25s ease, transform .25s ease;
  white-space: nowrap;
  position: relative;
}
.site-nav > ul > li > a:not(.cta-login):hover { color: var(--crimson); background: rgba(106,7,7,.07); transform: translateY(-1px); }
.site-nav a.active { color: var(--crimson); font-weight: 600; background: linear-gradient(135deg, rgba(106,7,7,.12), rgba(142,17,17,.06)); }

/* Login CTA */
.cta-login {
  background: linear-gradient(135deg, var(--crimson), var(--crimson-lt)) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: .65rem 1.3rem !important;
  border-radius: 99px !important;
  gap: .45rem; margin-left: .6rem;
  box-shadow: 0 8px 20px rgba(106,7,7,.28);
}
.cta-login:hover { filter: brightness(1.1); box-shadow: 0 12px 26px rgba(106,7,7,.4); transform: translateY(-1px); }

/* ── Dropdown ── */
.has-submenu { position: relative; }
.has-submenu::after {
  content: '';
  position: absolute;
  top: 100%; left: -10px; right: -10px;
  height: 16px;
  background: transparent;
  pointer-events: auto;
  display: none;
}
.has-submenu:hover::after { display: block; }

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  padding-top: 10px;
  min-width: 180px;
  z-index: 1001;
}
.submenu-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  animation: dropIn .18s ease;
}
@keyframes dropIn { from { opacity:0; transform:translateY(-5px); } to { opacity:1; transform:translateY(0); } }

.has-submenu:hover .submenu { display: block; }
.submenu:hover { display: block; }

.submenu li a {
  display: block; padding: .7rem 1.15rem;
  color: var(--text) !important;
  font-size: .85rem; font-weight: 500;
  background: transparent;
  border-radius: 0;
  border-left: 3px solid transparent;
  white-space: nowrap;
}
.submenu li a::after { display: none !important; }
.submenu li a:hover {
  background: var(--smoke) !important;
  border-left-color: var(--crimson);
  color: var(--crimson) !important;
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; position: relative; z-index: 2; padding: 4px;
}
.hamburger span {
  width: 26px; height: 2px;
  background: var(--crimson); border-radius: 2px;
  transition: var(--transition);
}

/* ── Utility Classes ── */
.container { width: min(1200px, calc(100% - 3rem)); max-width: none; margin: 0 auto; padding: 0; }
.section-tag {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--crimson);
  background: none !important;
  padding: 0; border-radius: 0;
  margin-bottom: .9rem;
}
.section-tag::before { content: ''; width: 28px; height: 2px; background: var(--gold); }

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden;
  min-height: 78vh;
  display: flex; align-items: center;
  background: linear-gradient(120deg, var(--crimson-dk) 0%, var(--crimson) 70%, #7d0d0d 100%);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../img/wall5.webp') center/cover no-repeat;
  opacity: .1;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-orb { display: none; }

/* ── Footer ── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.8);
  padding: 4rem 0 0;
  position: relative; overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--crimson), var(--gold) 50%, var(--crimson));
}
.footer-inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 3.5rem;
  padding-bottom: 3rem;
}
.footer-brand-head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.1rem; }
.footer-brand-head img { height: 52px; width: 52px; border-radius: 50%; object-fit: cover; }
.footer-brand-head strong { color: #fff; font-size: 1.05rem; line-height: 1.2; }
.footer-brand p { font-size: .875rem; line-height: 1.75; color: rgba(255,255,255,.6); max-width: 340px; }
.footer-badges { margin-top: 1.25rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.footer-badges span {
  font-size: .72rem; font-weight: 500; color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.18); padding: .25rem .7rem; border-radius: var(--radius-sm);
}
.footer-col h4 {
  font-size: .78rem; font-weight: 700;
  color: #fff; margin-bottom: 1.25rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding-bottom: .75rem; position: relative;
}
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--gold); }
.footer-col ul { display: flex; flex-direction: column; gap: .65rem; }
.footer-col ul li a {
  font-size: .875rem; color: rgba(255,255,255,.62);
  transition: var(--transition);
  display: flex; gap: .4rem;
}
.footer-col ul li a:hover { color: #fff; padding-left: .25rem; }
.footer-contact li { display: flex; gap: .85rem; align-items: flex-start; font-size: .875rem; color: rgba(255,255,255,.62); }
.footer-contact svg { flex-shrink: 0; margin-top: .25rem; color: var(--gold-lt); }
.footer-contact small { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.45); }
.footer-bottom a { color: var(--gold-lt); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: .9rem;
  padding: .8rem 1.6rem; border-radius: var(--radius-md);
  border: 1.5px solid transparent; cursor: pointer; transition: var(--transition);
  text-decoration: none;
}
.btn-primary { background: #fff; color: var(--crimson); }
.btn-primary:hover { background: var(--smoke); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-crimson { background: var(--crimson); color: #fff; }
.btn-crimson:hover { background: var(--crimson-lt); transform: translateY(-1px); box-shadow: var(--shadow-md); }
/* keep text colours on hover (Bootstrap's .btn:hover would otherwise reset them) */
.btn-primary, .btn-primary:hover { color: var(--crimson); }
.btn-outline, .btn-outline:hover { color: #fff; }
.btn-crimson, .btn-crimson:hover { color: #fff; }

/* ── Card base ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: var(--transition);
  overflow: hidden;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* ── Page header (inner pages) ── */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate; text-align: left;
  padding: 5rem max(2rem, calc((100% - 1136px) / 2)) 5.5rem;
  background:
    linear-gradient(90deg, var(--gold), transparent 60%) bottom / 100% 3px no-repeat,
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 64px 64px,
    radial-gradient(820px 420px at 88% -15%, rgba(217,185,94,.26), transparent 60%),
    radial-gradient(680px 380px at -5% 115%, rgba(190,40,40,.55), transparent 60%),
    linear-gradient(120deg, var(--crimson-dk), var(--crimson) 65%, var(--crimson-lt));
}
.page-hero::before {            /* concentric rings, right side */
  content: ''; position: absolute; z-index: -1; right: -140px; top: 50%;
  width: 440px; height: 440px; border-radius: 50%; transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 0 0 56px rgba(255,255,255,.025), 0 0 0 57px rgba(255,255,255,.08),
              0 0 0 118px rgba(255,255,255,.02), 0 0 0 119px rgba(255,255,255,.06);
}
.page-hero::after {             /* soft gold glow bottom-left */
  content: ''; position: absolute; z-index: -1; left: 8%; bottom: -120px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,185,94,.18), transparent 70%);
}
.page-hero > * { position: relative; animation: heroIn .7s cubic-bezier(.2,.7,.2,1) both; }
.page-hero > *:nth-child(2) { animation-delay: .08s; }
.page-hero > *:nth-child(3) { animation-delay: .16s; }
.page-hero > *:nth-child(4) { animation-delay: .24s; }
.page-hero > *:nth-child(5) { animation-delay: .32s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .page-hero > * { animation: none; } }

.page-hero .crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; font-size: .8rem; color: rgba(255,255,255,.7); margin-bottom: 1.4rem; }
.page-hero .crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.page-hero .crumbs a:hover { color: var(--gold-lt); }
.page-hero .crumbs span { opacity: .5; }
.page-hero .crumbs b { color: var(--gold-lt); font-weight: 600; }

.page-hero .section-tag {
  color: var(--gold-lt) !important; background: rgba(255,255,255,.1) !important;
  border: 1px solid rgba(217,185,94,.35); border-radius: 99px;
  padding: .35rem .95rem; backdrop-filter: blur(6px);
}
.page-hero .section-tag::before { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-lt); }
.page-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.12; letter-spacing: -.02em;
  color: #fff; font-weight: 700; margin-bottom: .9rem; max-width: 820px;
}
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.08rem; line-height: 1.75; max-width: 680px; margin: 0; }

.hero-stats { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-stat { min-width: 128px; padding: .8rem 1.2rem; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(8px); }
.hero-stat b { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; color: var(--gold-lt); }
.hero-stat small { font-size: .74rem; letter-spacing: .04em; color: rgba(255,255,255,.75); }

/* ── Divider ── */
.divider {
  width: 48px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 1rem auto;
}

/* ── Section header (shared) ── */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-tag { justify-content: center; }
.section-header h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  color: var(--ink); font-weight: 700; line-height: 1.2;
  margin-bottom: .75rem;
}
.section-header p { color: var(--text-muted); font-size: 1.02rem; max-width: 580px; margin: 0 auto; }

/* ── Clients ── */
.clients-section { padding: 4.5rem 0; background: var(--smoke); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
.client-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  height: 96px; padding: 1rem 1.25rem; display: flex; align-items: center; justify-content: center;
  text-align: center; font-weight: 700; font-size: .95rem; color: var(--text-muted);
  transition: var(--transition);
}
.client-tile img { max-height: 54px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: var(--transition); }
.client-tile:hover { border-color: var(--crimson); color: var(--crimson); box-shadow: var(--shadow-md); }
.client-tile:hover img { filter: none; opacity: 1; }

/* ── Responsive Header ── */
@media (max-width: 1024px) {
  .site-nav a { padding: .45rem .6rem; font-size: .82rem; }
  .logo-text small { display: none; }
}
@media (max-width: 768px) {
  .top-bar { display: none; }
  /* backdrop-filter would make the header the containing block of the fixed menu (menu collapses to header height) */
  .site-header { height: 68px; -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .site-header.scrolled { height: 68px; }
  .hamburger { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; gap: 5px; border-radius: 12px; background: rgba(106,7,7,.07); }
  .hamburger span { transform-origin: center; }
  .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.nav-open { overflow: hidden; }
  .site-nav {
    position: fixed; top: 68px; left: 0; right: 0; bottom: 0; height: calc(100vh - 68px); height: calc(100dvh - 68px);
    background: #fff;
    transform: translateX(100%); visibility: hidden;
    transition: transform .35s cubic-bezier(.4,0,.2,1), visibility 0s .35s;
    overflow-y: auto; padding: 1.25rem 1.5rem 2.5rem;
    z-index: 999;
  }
  .site-nav.open { transform: translateX(0); visibility: visible; transition: transform .35s cubic-bezier(.4,0,.2,1); }
  .site-nav > ul { flex-direction: column; gap: .35rem; align-items: stretch; }
  .site-nav a { padding: .9rem 1.1rem; font-size: 1.02rem; border-bottom: 0; border-radius: 14px; width: 100%; }
  .site-nav > ul > li > a::after { display: none; }
  .cta-login { margin: .75rem 0 0; justify-content: center; border-bottom: 0 !important; border-radius: 99px !important; }
  .submenu { position: static; padding-top: 0; box-shadow: none; display: none; margin-top: .25rem; animation: none; }
  .submenu-inner { background: var(--smoke); border: none; box-shadow: none; animation: none; }
  .has-submenu.open-sub .submenu { display: block; }
  .has-submenu::after { display: none !important; }
  .submenu li a { padding-left: 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .page-hero { padding: 3.25rem 1.25rem 3.5rem; }
  .page-hero::before { right: -220px; opacity: .6; }
}

/* ───────── 2. Footer ───────── */
/* ═════════ Footer (redesigned) ═════════ */
.site-footer { background: radial-gradient(700px 360px at 100% 0%, rgba(184,147,58,.16), transparent 60%), radial-gradient(600px 360px at 0% 100%, rgba(142,17,17,.35), transparent 60%), linear-gradient(160deg, #1a0606 0%, #2a0808 55%, #120404 100%); padding: 0; margin-top: 0; }
.site-footer::before { height: 4px; background: linear-gradient(90deg, var(--crimson), var(--gold), var(--gold-lt), var(--gold), var(--crimson)); }
.site-footer a { text-decoration: none !important; }

.ft-cta { margin-top: 0; padding: 3.2rem 0 0; }
.ft-cta-box { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 1.8rem 2.2rem; border-radius: 22px; background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); }
.ft-cta-box h3 { font-size: 1.35rem; color: #fff; margin-bottom: .2rem; }
.ft-cta-box p { color: rgba(255,255,255,.65); font-size: .92rem; }
.ft-cta-box .btn { padding: .85rem 1.6rem; border-radius: 99px; background: linear-gradient(135deg, var(--gold-lt), var(--gold)); color: #3a2600; box-shadow: 0 10px 24px rgba(184,147,58,.35); }
.ft-cta-box .btn:hover { transform: translateY(-2px); }

.footer-inner { grid-template-columns: 1.5fr .8fr 1fr 1.2fr; gap: 3rem; padding: 3.5rem 0 3rem; }
.footer-brand p { color: rgba(255,255,255,.62); }
.footer-badges span { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); border-radius: 99px; padding: .3rem .8rem; }
.ft-social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.ft-social a { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); transition: all .25s; }
.ft-social a:hover { background: linear-gradient(135deg, var(--gold-lt), var(--gold)); color: #3a2600; transform: translateY(-3px); border-color: transparent; }
.footer-col ul li a { position: relative; }
.footer-col ul li a::before { content: ''; width: 0; height: 2px; background: var(--gold); align-self: center; transition: width .25s ease; border-radius: 2px; }
.footer-col ul li a:hover { padding-left: 0; }
.footer-col ul li a:hover::before { width: 12px; margin-right: .15rem; }
.footer-contact li a::before { display: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.ft-legal { display: flex; gap: 1.4rem; font-size: .8rem; }
.ft-legal a { color: rgba(255,255,255,.55); transition: color .2s; }
.ft-legal a:hover { color: var(--gold-lt); }

@media (max-width: 1024px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; gap: 2rem; } .ft-cta-box { padding: 1.5rem; } }

/* ───────── 3. Home page ───────── */
/* ═════════ Home Page (modern redesign) ═════════ */
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.h-section { padding: 6rem 0; position: relative; }
.h-section.alt { background: linear-gradient(180deg, #f7f8fb 0%, #eef1f6 100%); }
.grad-text { background: linear-gradient(90deg, var(--gold-lt), #f3dc9a); -webkit-background-clip: text; background-clip: text; color: transparent; }


/* ── Hero ── */
.hero2 {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(217,185,94,.22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(142,17,17,.55), transparent 60%),
    linear-gradient(125deg, var(--crimson-dk) 0%, var(--crimson) 55%, var(--crimson-lt) 100%);
  padding: 5.5rem 0 9rem;
}
.hero2::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(180deg, #000 30%, transparent 95%); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%); }
.hero2-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center; }
.hero2-pill { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem; border-radius: 99px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); font-size: .78rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 1.5rem; }
.hero2-pill i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.25); }
.hero2 h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; margin-bottom: 1.4rem; }
.hero2 p.lead { font-size: 1.1rem; color: rgba(255,255,255,.8); max-width: 540px; line-height: 1.8; margin-bottom: 2.1rem; }
.hero2-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.btn-gold { background: linear-gradient(135deg, var(--gold-lt), var(--gold)); color: #3a2600; box-shadow: 0 10px 24px rgba(184,147,58,.35); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(184,147,58,.5); color: #3a2600; }
.hero2-actions .btn { padding: .95rem 1.8rem; border-radius: 10px; }
.hero2-points { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; font-size: .88rem; color: rgba(255,255,255,.85); }
.hero2-points span { display: inline-flex; align-items: center; gap: .45rem; }
.hero2-points svg { width: 18px; height: 18px; color: var(--gold-lt); }

.hero2-visual { position: relative; }
.hero2-img { width: 100%; aspect-ratio: 4/4.4; object-fit: cover; border-radius: 28px 28px 120px 28px; box-shadow: 0 30px 70px rgba(0,0,0,.4); border: 6px solid rgba(255,255,255,.14); background: var(--crimson-lt); }
.float-card { position: absolute; background: #fff; color: var(--ink); border-radius: 16px; padding: .9rem 1.1rem; box-shadow: 0 18px 40px rgba(0,0,0,.28); display: flex; align-items: center; gap: .8rem; animation: floaty 6s ease-in-out infinite; }
.float-card .fc-ico { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--crimson), var(--crimson-lt)); color: #fff; display: flex; align-items: center; justify-content: center; }
.float-card strong { display: block; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.1; color: var(--crimson); }
.float-card small { font-size: .74rem; color: var(--text-muted); }
.fc-1 { left: -2rem; top: 14%; }
.fc-2 { right: -1.2rem; bottom: 20%; animation-delay: -3s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ── Stats bar (overlaps hero) ── */
.stats-wrap { position: relative; z-index: 5; margin-top: -4.5rem; }
.stats-bar { position: relative; overflow: hidden; border-radius: 26px; padding: .6rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; color: #fff;
  background: radial-gradient(420px 220px at 90% -10%, rgba(217,185,94,.35), transparent 65%), linear-gradient(120deg, #2c0505 0%, var(--crimson) 55%, var(--crimson-lt) 100%);
  box-shadow: 0 30px 70px rgba(63,5,5,.45), inset 0 0 0 1px rgba(255,255,255,.1); }
.stats-bar::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.12) 50%, transparent 65%); transform: translateX(-120%); }
.stats-bar.in::before { animation: sheen 2.2s .5s ease-out 1; }
@keyframes sheen { to { transform: translateX(120%); } }
.stat { position: relative; padding: 1.7rem 1.3rem; border-radius: 20px; display: flex; align-items: center; gap: 1rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(4px);
  opacity: 0; transform: translateY(26px) scale(.94); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1), background .3s; }
.stats-bar.in .stat { opacity: 1; transform: none; }
.stats-bar.in .stat:nth-child(1) { transition-delay: .15s; } .stats-bar.in .stat:nth-child(2) { transition-delay: .3s; }
.stats-bar.in .stat:nth-child(3) { transition-delay: .45s; } .stats-bar.in .stat:nth-child(4) { transition-delay: .6s; }
.stat:hover { background: rgba(255,255,255,.12); }
.stat-ico { flex: 0 0 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #3a2600; background: linear-gradient(135deg, var(--gold-lt), var(--gold)); box-shadow: 0 8px 18px rgba(0,0,0,.25); }
.stat b { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1.1; font-weight: 700; color: #fff; }
.stat small { display: block; font-size: .82rem; color: rgba(255,255,255,.72); margin-top: .15rem; }
.stat-bar { display: block; height: 3px; width: 0; margin-top: .55rem; border-radius: 3px; background: linear-gradient(90deg, var(--gold-lt), transparent); transition: width 1.2s .8s ease; }
.stats-bar.in .stat-bar { width: 100%; }

/* ── Section headers ── */
.h-head { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.h-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; color: var(--ink); line-height: 1.2; margin-bottom: .9rem; }
.h-head p { color: var(--text-muted); font-size: 1.03rem; }
.h-head .section-tag { justify-content: center; }

/* ── Services ── */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.svc { background: #fff; border: 1px solid rgba(16,24,40,.07); border-radius: 24px; padding: 2.2rem 1.9rem 2rem; position: relative; overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s; box-shadow: 0 2px 4px rgba(16,24,40,.04), 0 12px 28px -12px rgba(16,24,40,.12); }
.svc::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--crimson), var(--gold), var(--crimson-lt)); transform: scaleX(0); transform-origin: left; transition: transform .45s ease; }
.svc::after { content: ''; position: absolute; right: -50px; bottom: -50px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(106,7,7,.1), transparent 70%); transition: transform .5s ease; }
.svc:hover { transform: translateY(-8px); box-shadow: 0 30px 56px -16px rgba(106,7,7,.28); border-color: rgba(106,7,7,.15); }
.svc:hover::before { transform: scaleX(1); }
.svc:hover::after { transform: scale(2.4); }
.svc:hover .svc-ico { transform: rotate(-8deg) scale(1.08); }
.svc-ico { transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.svc:hover, .testi:hover, .why-item:hover { background-image: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(184,147,58,.16), transparent 62%); }
.svc-ico { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--crimson), var(--crimson-lt)); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 1.3rem; box-shadow: 0 10px 20px rgba(106,7,7,.28); }
.svc h3 { font-size: 1.12rem; color: var(--ink); margin-bottom: .55rem; }
.svc p { font-size: .92rem; color: var(--text-muted); line-height: 1.7; position: relative; z-index: 1; }

/* ── Programs ── */
.prog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.prog { position: relative; border-radius: 22px; overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; color: #fff; background: var(--crimson-dk); box-shadow: var(--shadow-md); transition: all .35s ease; }
.prog img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.prog::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(63,5,5,.05) 20%, rgba(63,5,5,.92) 100%); }
.prog:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prog:hover img { transform: scale(1.08); }
.prog-body { position: relative; z-index: 2; padding: 1.6rem 1.4rem; width: 100%; }
.prog-badge { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .28rem .7rem; border-radius: 99px; background: rgba(217,185,94,.95); color: #3a2600; margin-bottom: .8rem; }
.prog h4 { font-size: 1.15rem; line-height: 1.35; margin-bottom: .35rem; }
.prog p { font-size: .85rem; color: rgba(255,255,255,.78); margin-bottom: .9rem; }
.prog-link { font-size: .85rem; font-weight: 600; color: var(--gold-lt); display: inline-flex; align-items: center; gap: .4rem; }
.prog-link svg { width: 16px; height: 16px; transition: transform .25s; }
.prog:hover .prog-link svg { transform: translateX(5px); }

/* ── Why choose us ── */
.why-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 4.5rem; align-items: center; }
.why-visual { position: relative; }
.why-visual .img-main { width: 100%; aspect-ratio: 5/5.4; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lg); }
.why-visual .img-sub { position: absolute; right: -2rem; bottom: -2rem; width: 46%; aspect-ratio: 1; object-fit: cover; border-radius: 22px; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.why-badge { position: absolute; left: -1.5rem; top: 2rem; background: linear-gradient(135deg, var(--crimson), var(--crimson-lt)); color: #fff; border-radius: 18px; padding: 1.1rem 1.4rem; box-shadow: 0 18px 36px rgba(106,7,7,.4); text-align: center; }
.why-badge b { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.why-badge small { font-size: .74rem; opacity: .85; }
.why-text h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.2; color: var(--ink); margin-bottom: 1rem; }
.why-text > p { color: var(--text-muted); margin-bottom: 2rem; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.why-item { display: flex; gap: .9rem; padding: 1.15rem; background: #fff; border: 1px solid rgba(16,24,40,.07); box-shadow: 0 8px 20px -12px rgba(16,24,40,.15); border-radius: 18px; transition: all .25s; }
.why-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.why-item .wi { flex: 0 0 42px; height: 42px; border-radius: 12px; background: rgba(106,7,7,.08); color: var(--crimson); display: flex; align-items: center; justify-content: center; }
.why-item h4 { font-size: .95rem; color: var(--ink); margin-bottom: .15rem; }
.why-item p { font-size: .82rem; color: var(--text-muted); line-height: 1.55; }

/* ── How it works ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.steps::before { content: ''; position: absolute; top: 38px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px); }
.step { text-align: center; position: relative; padding: 0 .5rem; }
.step-num { width: 76px; height: 76px; margin: 0 auto 1.3rem; border-radius: 50%; background: linear-gradient(135deg, var(--crimson-dk), var(--crimson-lt)); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; border: 6px solid #fff; box-shadow: 0 12px 28px rgba(106,7,7,.32); position: relative; z-index: 1; }
.step h4 { font-size: 1.05rem; color: var(--ink); margin-bottom: .4rem; }
.step p { font-size: .88rem; color: var(--text-muted); }

/* ── About ── */
.about2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: 4.5rem; align-items: center; }
.about2 h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); color: var(--ink); line-height: 1.2; margin-bottom: 1.1rem; }
.about2 p { color: var(--text-muted); line-height: 1.85; margin-bottom: 1.6rem; }
.timeline { border-left: 2px solid var(--gold); padding-left: 1.4rem; margin-bottom: 2rem; }
.tl { position: relative; padding-bottom: 1rem; }
.tl::before { content: ''; position: absolute; left: -1.95rem; top: .35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--crimson); box-shadow: 0 0 0 4px rgba(106,7,7,.15); }
.tl b { font-family: var(--font-display); color: var(--crimson); }
.tl span { display: block; font-size: .88rem; color: var(--text-muted); }
.about2-img { position: relative; }
.about2-img img { width: 100%; aspect-ratio: 4/4.6; object-fit: cover; border-radius: 120px 28px 28px 28px; box-shadow: var(--shadow-lg); }
.about2-img .tag { position: absolute; left: -1.2rem; bottom: 2rem; background: #fff; border-radius: 16px; padding: 1rem 1.3rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .8rem; }
.about2-img .tag b { font-family: var(--font-display); font-size: 1.5rem; color: var(--crimson); line-height: 1; }
.about2-img .tag small { color: var(--text-muted); font-size: .76rem; line-height: 1.3; display: block; }

/* ── Testimonials ── */
.testi-slider { position: relative; }
.testi-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3rem) / 3); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: .5rem .25rem 1.5rem; margin: 0 -.25rem; cursor: grab; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.testi-track::-webkit-scrollbar { display: none; }
.testi-track.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.testi-track .testi { scroll-snap-align: start; display: flex; flex-direction: column; }
.testi-track .testi p { flex: 1; }
.testi-controls { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: .5rem; }
.testi-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(106,7,7,.2); background: #fff; color: var(--crimson); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .25s; box-shadow: 0 8px 18px -10px rgba(16,24,40,.25); }
.testi-btn:hover:not(:disabled) { background: linear-gradient(135deg, var(--crimson), var(--crimson-lt)); color: #fff; transform: translateY(-2px); }
.testi-btn:disabled { opacity: .4; cursor: default; }
.testi-dots { display: flex; gap: .5rem; }
.testi-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: rgba(106,7,7,.25); cursor: pointer; transition: all .3s; }
.testi-dots button.on { width: 28px; background: linear-gradient(90deg, var(--crimson), var(--gold)); }
.testi { background: #fff; border: 1px solid rgba(16,24,40,.07); box-shadow: 0 12px 28px -12px rgba(16,24,40,.12); border-radius: 24px; padding: 2rem 1.8rem; position: relative; transition: all .3s; }
.testi:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.testi::before { content: '\201C'; position: absolute; top: .4rem; right: 1.4rem; font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: rgba(106,7,7,.1); }
.stars { color: var(--gold); letter-spacing: 3px; font-size: 1rem; margin-bottom: .9rem; }
.testi p { color: var(--text); font-size: .95rem; line-height: 1.75; margin-bottom: 1.5rem; }
.testi-who { display: flex; align-items: center; gap: .85rem; }
.testi-who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 3px solid rgba(106,7,7,.15); }
.testi-av { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--crimson, #6a0707); color: #fff; font-size: 1.3rem; font-weight: 700; border: 3px solid rgba(106,7,7,.15); }
.testi-who b { display: block; font-size: .95rem; color: var(--ink); }
.testi-who small { color: var(--text-muted); font-size: .78rem; }

/* ── FAQ ── */
.faq-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.2; color: var(--ink); margin-bottom: 1rem; }
.faq-side > p { color: var(--text-muted); margin-bottom: 2rem; }
.faq-help { position: relative; border-radius: 24px; overflow: hidden; color: #fff; min-height: 300px; display: flex; align-items: flex-end; box-shadow: var(--shadow-lg); background: var(--crimson-dk); }
.faq-help img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.faq-help::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(63,5,5,.15) 0%, rgba(63,5,5,.94) 78%); }
.faq-help-body { position: relative; z-index: 2; padding: 1.6rem; display: flex; flex-direction: column; gap: .3rem; }
.faq-help-body b { font-family: var(--font-display); font-size: 1.2rem; }
.faq-help-body > span { color: rgba(255,255,255,.8); font-size: .9rem; }
.faq-help-actions { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; margin-top: .9rem; }
.faq-help-actions .btn { padding: .7rem 1.4rem; border-radius: 99px; }
.faq-call { display: inline-flex; align-items: center; gap: .45rem; color: #fff; font-weight: 600; font-size: .9rem; }
.faq-call .ico { width: 18px; height: 18px; color: var(--gold-lt); }
.faq-call:hover { color: var(--gold-lt); }

.faq-list { display: grid; gap: .9rem; }
.faq-item { background: #fff; border: 1px solid rgba(16,24,40,.07); border-radius: 20px; box-shadow: 0 8px 22px -14px rgba(16,24,40,.18); overflow: hidden; transition: box-shadow .3s ease, border-color .3s ease, transform .3s ease; position: relative; }
.faq-item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--gold-lt), var(--crimson)); transform: scaleY(0); transform-origin: top; transition: transform .35s ease; }
.faq-item:hover { transform: translateY(-2px); }
.faq-item.open { border-color: rgba(106,7,7,.22); box-shadow: 0 22px 40px -18px rgba(106,7,7,.3); background: linear-gradient(180deg, #fff, #fff8f6); }
.faq-item.open::before { transform: scaleY(1); }
.faq-q { width: 100%; display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.4rem; background: none; border: 0; text-align: left; cursor: pointer; font-family: var(--font-display); color: var(--ink); }
.faq-num { flex: 0 0 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 700; color: var(--crimson); background: rgba(106,7,7,.08); transition: all .3s ease; }
.faq-item.open .faq-num { color: #fff; background: linear-gradient(135deg, var(--crimson), var(--crimson-lt)); box-shadow: 0 8px 16px rgba(106,7,7,.3); }
.faq-title { flex: 1; font-weight: 600; font-size: 1.02rem; line-height: 1.4; }
.faq-plus { position: relative; flex: 0 0 34px; height: 34px; border-radius: 50%; background: rgba(106,7,7,.08); transition: all .3s ease; }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--crimson); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .3s ease, background .3s; }
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-plus { background: var(--crimson); }
.faq-item.open .faq-plus::before, .faq-item.open .faq-plus::after { background: #fff; }
.faq-item.open .faq-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { padding: 0 1.4rem 1.4rem calc(1.4rem + 44px + 1rem); color: var(--text-muted); font-size: .95rem; line-height: 1.75; }

/* ── CTA ── */
.cta2 { padding: 0 0 6rem; background: #fff; }
.cta2-box { position: relative; overflow: hidden; border-radius: 28px; padding: 4rem 3.5rem; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  background: radial-gradient(600px 300px at 90% 0%, rgba(217,185,94,.3), transparent 60%), linear-gradient(120deg, var(--crimson-dk), var(--crimson) 60%, var(--crimson-lt)); box-shadow: 0 30px 60px rgba(106,7,7,.3); }
.cta2-box::after { content: ''; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255,255,255,.06); }
.cta2-box h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 560px; line-height: 1.25; margin-bottom: .6rem; }
.cta2-box p { color: rgba(255,255,255,.8); max-width: 520px; }
.cta2-btns { display: flex; gap: .9rem; flex-wrap: wrap; position: relative; z-index: 1; }
.cta2-btns .btn { padding: .95rem 1.8rem; border-radius: 10px; }

@media (max-width: 1024px) {
  .hero2-grid, .why-grid, .about2 { grid-template-columns: 1fr; gap: 3rem; }
  .hero2-visual { max-width: 520px; margin: 0 auto; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .testi-track { grid-auto-columns: calc((100% - 1.5rem) / 2); }
  .faq-layout { grid-template-columns: 1fr; gap: 2.5rem; } .faq-side { position: static; }
  .prog-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; } .steps::before { display: none; }
  .stats-bar { grid-template-columns: 1fr 1fr; } .stat:nth-child(3)::before { display: none; }
  .why-visual { max-width: 520px; margin: 0 auto 2rem; }
}
@media (max-width: 640px) {
  .h-section { padding: 4rem 0; }
  .hero2 { padding: 3.5rem 0 7rem; }
  .svc-grid, .prog-grid, .why-list, .steps { grid-template-columns: 1fr; }
  .testi-track { grid-auto-columns: 86%; }
  .faq-q { padding: 1.05rem 1rem; gap: .75rem; } .faq-num { flex-basis: 38px; height: 38px; }
  .faq-a p { padding: 0 1rem 1.2rem 1rem; }
  .fc-1 { left: -.4rem; } .fc-2 { right: -.4rem; }
  [data-speed] { translate: none !important; }
  .why-visual .img-sub { right: -.5rem; } .why-badge { left: -.5rem; }
  .about2-img .tag { left: .5rem; }
  .cta2-box { padding: 2.5rem 1.6rem; }
  .stat b { font-size: 1.7rem; } .stats-bar { grid-template-columns: 1fr; }
}

/* ───────── 4. Chatbot ───────── */

/* chat-popup css */
 .chatModal-sec .prfile-img {
    width: 30px;
    height: 30px;
}
.openChatBtn{
    bottom: 25px; 
    right: 25px; 
    width: 45px; 
    height: 45px; 
    z-index: 9999; 
    /* background: linear-gradient(135deg, #6366F1, #8B5CF6);  */
    border: none; 
        /* background: #12acdf !important;
    border-color: #12acdf !important; */
}

.openChatBtn i{
      font-size: 20px !important;
}

.chatModal-sec .modal-dialog .modal-content {
    /* height: 80vh; */
     height: 90vh;
         width: 80%;
}

.chatModal-sec .modal-dialog {
    max-width: 450px;
    width: 100%;
    float: right;
    position: absolute;
   /* bottom: -1%;
    right: 1.6%; */
    bottom: -2%;
    right: -2%;
}
.chatModal-sec.modal {
    overflow-x: initial;
    overflow-y: initial;
    background: transparent;
    z-index: 999999;
}
.chatModal-sec .modal-header{
    background-color: #296243 !important;
}
.chatModal-sec .input-group input.form-control{
 font-size: 12px;
}

.chatModal-sec .input-group input.form-control:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: none;
}
.chatModal-sec .input-group .btn{
 background-color: #296243 !important;
   border-color: #23684b !important;
}
.chatModal-sec .modal-header h5.modal-title{
  color: #fff !important;
  font-size: 15px !important;
  line-height: 20px;
}
.chatModal-sec .modal-header small{
   font-size: 11px;
}
.chatModal-sec .modal-header .btn-close{
    opacity: 1;
}

.chatModal-sec .chat-profile-img{
width: 30px;
    height: 30px;
}

.chatModal-sec .rounded-circle.bg-secondary{
  width: 25px;
  /* height: 25px; */
  height: 25px;
  font-size: 12px;
  background-color: #296243 !important;
  padding: 5px;
}

.chatModal-sec .rounded-circle.reply-icon{
    max-width: 20px;
    height: 20px;
    width: 100%;
    line-height: 1px;
    font-size: 10px;
    background-color: #419664 !important;
}
.chatModal-sec .custom-chat{
      max-width: 20px;
    height: 20px;
    width: 100%;
    line-height: 1px;
    font-size: 10px;
}

.chatModal-sec .chat-content-sec{
    font-size: 12px;

    background-color: #296243;
    border-color: #296243;
    color: #fff;
}
.chatModal-sec .ans-content{
    /* background-color: #10a3e4;
    border-color: #10a3e4;
    color: #fff; */

    background-color: #419664;
    border-color: #419664;
    color: #fff;
    text-align: justify;
}
.chatModal-sec .chat-content-sec small{
  display: inline-block;
  float: right;
  font-size: 11px;
  margin-right: 5px;
  margin-top: 5px;
}

.chatModal-sec small.text-muted {
  display: inline-block;
  float: right;
  font-size: 11px;
  margin-right: 5px;
  margin-top: 5px;
}

.chatModal-sec .btn-outline-secondary{
font-size: 10px;
}

/* .chatModal-sec .topics-sec{
bottom: 12%;
    position: fixed;
    width: 32.9%;
}
.chatModal-sec .type-question {
    position: fixed;
    bottom: 3.6%;
    width: 32.9%;
    border-radius: 0px 0px 14px 14px;
} */


/*.chatModal-sec div#chatArea {
    min-height: 200px;
    max-height: 200px;
    height: 100%;
    overflow-x: auto;
}
*/



.chatModal-sec .topics-sec{
      /* background: linear-gradient(177deg, rgba(143, 191, 75, 1) 41%, rgba(19, 173, 224, 1) 100%, rgba(237, 221, 83, 1) 100%); */
          /* background: linear-gradient(177deg, rgba(143, 191, 75, 1) 41%); */
              background: rgb(248, 248, 248);
}
.chatModal-sec .topics-sec p{
  color: #000;
}


.openChatBtn img{
max-width: 135px;
}




.chatModal-sec .modal-content {
  display: flex;
  flex-direction: column;
  height: 80vh; /* already in your CSS */
}

/* Make modal-body take available space */
.chatModal-sec .modal-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  overflow: hidden; /* prevent double scrollbars */
  padding: 0;
}

/* Scrollable chat area */
.chatModal-sec div#chatArea {
  flex: 1 1 auto;          /* expand to available space */
  overflow-y: auto;        /* enables vertical scroll */
  overflow-x: hidden;
  max-height: none;        /* remove unnecessary restriction */
  padding: 15px;
  background: #f8f9fa;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

.chatModal-sec div#chatArea{
    background: url(../assets-v1/img/chatbot-img/ifci-icon1.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top center;
    /* background: linear-gradient(360deg, rgba(143, 191, 75, 1) 41%, rgba(19, 173, 224, 1) 100%, rgba(237, 221, 83, 1) 100%); */
        background: rgb(248, 248, 248);
}


.chatModal-sec .type-question {
    /* background: linear-gradient(180deg, rgba(143, 191, 75, 1) 41%, rgba(19, 173, 224, 1) 100%, rgba(237, 221, 83, 1) 100%); */

        /* background: #296243 !important; */
}

.chatModal-sec .user-typing {
    background-color: #12acdf !important;
    border-color: #12acdf !important;
}

.chatModal-sec .user-typing-profile{
 background-color: #12acdf !important;
    border-color: #12acdf !important;
}

.chatModal-sec .typing-sec{

}





/* Responsive behavior */
@media (max-width: 992px) {
  .chatModal-sec .modal-content {
    height: 70vh;
  }
}

@media (max-width: 576px) {
  .chatModal-sec .modal-content {
    height: 65vh;
  }
  .chatModal-sec div#chatArea {
    padding: 10px;
  }
}

.chatModal-sec .topics-sec,
.chatModal-sec .type-question {
  position: sticky;
  bottom: 0;
  z-index: 2;
}




/* chat-popup css end */




/* Smooth animations and AI-style feel */

/* Base floating button styles */
.openChatBtn {

    width: 50px;
    height: 50px;
    bottom: 31px;
    right: 25px;
  /* background: linear-gradient(135deg, #28A745, #85C88F); */
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  animation: pulseGreen 2s infinite, scalePulse 2s infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.openChatBtn:hover {
  transform: scale(1.2);
  box-shadow: 0 12px 25px rgba(40, 167, 69, 0.6);
}

@keyframes scalePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes pulseGreen {
  /* 0% { background: linear-gradient(135deg, #28A745, #85C88F); }
  50% { background: linear-gradient(135deg, #85C88F, #28A745); }
  100% { background: linear-gradient(135deg, #28A745, #85C88F); } */
}


#topicsContainer button {
  transition: all 0.2s ease;
  color: #000;
  border-color: #000;

      color: rgb(17, 17, 17);
    background-color: rgb(251, 251, 251);
    border-radius: 32px;
    border: 1px solid rgb(227, 227, 227);
    box-shadow: rgba(0, 0, 0, 0.075) 0px 0.602187px 2.04744px -1.33333px, rgba(0, 0, 0, 0.067) 0px 2.28853px 7.78101px -2.66667px, rgba(0, 0, 0, 0.02) 0px 10px 34px -4px;
}

#topicsContainer button:hover {
  background-color: #e8f0fe;
  border-color: #000;
  color: #000;
}


@media (min-width: 1700px) {
    .openChatBtn {
        bottom: 50px;
        right: 50px;
    }
}



/* ═════════ Meet Abhi (guide mascot) ═════════ */
.abhi-sec { background: linear-gradient(180deg, #fff 0%, #f7f8fb 100%); overflow: hidden; }
.abhi-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 3rem; align-items: center; }
.abhi-stage { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 520px; }
.abhi-stage::before { content: ''; position: absolute; bottom: 24px; width: 82%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 40%, rgba(184,147,58,.28), rgba(106,7,7,.10) 60%, transparent 72%); animation: abhiPulse 5s ease-in-out infinite; }
.abhi-img { position: relative; z-index: 1; height: 500px; width: auto; max-width: 100%; transform-origin: 50% 100%; animation: abhiFloat 4.5s ease-in-out infinite; filter: drop-shadow(0 18px 22px rgba(16,24,40,.25)); }
.abhi-shadow { position: absolute; bottom: 8px; left: 50%; width: 150px; height: 18px; margin-left: -75px; border-radius: 50%; background: rgba(16,24,40,.22); filter: blur(6px); animation: abhiShadow 4.5s ease-in-out infinite; }
.abhi-hello { position: absolute; z-index: 2; top: 6%; right: 2%; background: var(--crimson); color: #fff; font: 600 .85rem 'Poppins', sans-serif; padding: .45rem .9rem; border-radius: 999px; box-shadow: var(--shadow-sm); animation: abhiPop 4.5s ease-in-out infinite; }
@keyframes abhiFloat { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1.2deg); } }
@keyframes abhiShadow { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(.78); opacity: .55; } }
@keyframes abhiPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes abhiPop { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-8px) scale(1.06); } }

.abhi-panel .section-tag { margin-bottom: .6rem; }
.abhi-panel h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 700; color: var(--ink); line-height: 1.2; margin-bottom: 1.4rem; }
.abhi-tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.4rem; }
.abhi-tab { border: 1px solid var(--line); background: #fff; color: var(--text); font: 600 .9rem 'Inter', sans-serif; padding: .6rem 1.1rem; border-radius: 999px; cursor: pointer; transition: all .25s; }
.abhi-tab:hover { border-color: var(--gold); transform: translateY(-2px); }
.abhi-tab.active { background: linear-gradient(135deg, var(--crimson-lt), var(--crimson)); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(106,7,7,.28); }
.abhi-bubble { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.6rem 1.8rem; box-shadow: var(--shadow-md, 0 12px 32px rgba(16,24,40,.10)); min-height: 250px; }
.abhi-bubble::before { content: ''; position: absolute; left: -11px; top: 46px; width: 20px; height: 20px; background: #fff; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.abhi-bubble h3 { font-size: 1.25rem; font-weight: 700; color: var(--crimson); margin-bottom: .5rem; }
.abhi-say { color: var(--text); font-size: 1.02rem; line-height: 1.65; min-height: 3.3em; margin-bottom: 1rem; }
.abhi-say.typing::after { content: '▍'; color: var(--gold); margin-left: 2px; animation: abhiCaret .7s steps(1) infinite; }
@keyframes abhiCaret { 50% { opacity: 0; } }
.abhi-points { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.2rem; }
.abhi-points li { display: flex; gap: .5rem; align-items: center; font-size: .92rem; color: var(--text-muted); }
.abhi-points .ico { width: 16px; height: 16px; stroke: var(--gold); fill: none; stroke-width: 2.4; flex: none; }
.abhi-bar { height: 3px; background: var(--mist); border-radius: 3px; overflow: hidden; margin-bottom: 1rem; }
.abhi-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-lt), var(--gold)); }
.abhi-bar i.run { animation: abhiBar 7s linear forwards; }
@keyframes abhiBar { to { width: 100%; } }
@media (max-width: 900px) {
  .abhi-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .abhi-stage { min-height: 380px; }
  .abhi-img { height: 360px; }
  .abhi-bubble::before { left: 50%; top: -11px; margin-left: -10px; transform: rotate(135deg); }
  .abhi-points { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .abhi-img, .abhi-shadow, .abhi-hello, .abhi-stage::before, .abhi-bar i.run { animation: none; } }

/* ── Logo shine effect: gold glow + light sweep ── */
.logo-shine { position: relative; display: inline-flex; flex: 0 0 auto; border-radius: 50%; overflow: hidden; isolation: isolate; box-shadow: 0 0 0 2px rgba(217,185,94,.55), 0 0 14px rgba(217,185,94,.45); animation: logoGlow 3.2s ease-in-out infinite; }
.logo-shine::after { content: ''; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 45%; z-index: 2; pointer-events: none; background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.75) 50%, transparent 100%); transform: skewX(-18deg); animation: logoSweep 3.6s ease-in-out infinite; }
@keyframes logoSweep { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes logoGlow { 0%, 100% { box-shadow: 0 0 0 2px rgba(217,185,94,.45), 0 0 10px rgba(217,185,94,.30); } 50% { box-shadow: 0 0 0 2px rgba(217,185,94,.85), 0 0 22px rgba(217,185,94,.65); } }
@media (prefers-reduced-motion: reduce) { .logo-shine, .logo-shine::after { animation: none; } }
