    /* ── CSS Variables ───────────────────────────── */
    :root {
      --navy:      #071828;
      --blue:      #0b5ea8;
      --blue-mid:  #1374cf;
      --cyan:      #10b4e8;
      --ice:       #e8f4fd;
      --white:     #ffffff;
      --slate:     #5a7a96;
      --text:      #1e3448;
      --border:    rgba(11,94,168,.15);

      --font-head: 'Rajdhani', sans-serif;
      --font-body: 'Nunito Sans', sans-serif;
    }

    *, *::before, *::after { box-sizing: border-box; margin:0; padding:0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font-body);
      color: var(--text);
      background: var(--white);
      overflow-x: hidden;
    }

    /* ── Topbar ───────────────────────────────────── */
    #topbar {
      background: var(--navy);
      padding: 8px 0;
      font-size: .82rem;
      letter-spacing: .03em;
      color: rgba(255,255,255,.78);
    }
    #topbar a { color: var(--cyan); text-decoration: none; transition: color .2s; }
    #topbar a:hover { color: #fff; }
    #topbar .sep { margin: 0 12px; opacity: .35; }

    /* ── Navbar ───────────────────────────────────── */
    #mainNav {
      background: #f7f7f5;
      backdrop-filter: blur(12px);
      border-bottom: 2px solid var(--border);
      padding: 0;
      transition: box-shadow .3s;
    }
    #mainNav.scrolled { box-shadow: 0 4px 32px rgba(7,24,40,.14); }
    .navbar-brand {
      display: flex; align-items: center; gap: 1px;
      font-family: var(--font-head);
      font-size: 1rem; font-weight: 700;
      color: var(--navy) !important;
      letter-spacing: .02em; padding: 0;
    }
    .brand-icon {
      width: 42px; height: 42px;
      background: linear-gradient(135deg, var(--blue), var(--cyan));
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      color: #fff; font-size: 1.2rem; flex-shrink: 0;
      box-shadow: 0 3px 12px rgba(11,94,168,.35);
    }
    .brand-sub {
      font-size: .58rem; font-family: var(--font-body);
      letter-spacing: .18em; color: var(--slate); font-weight: 600;
      line-height: 1; display: block; text-transform: uppercase;
    }
    .nav-link {
      font-family: var(--font-head); font-size: 1rem; font-weight: 600;
      letter-spacing: .05em; color: var(--text) !important;
      padding: 1.5rem 1rem !important; position: relative; transition: color .25s;
    }
    .nav-link::after {
      content: ''; position: absolute; bottom: 0; left: 50%; right: 50%;
      height: 3px;
      background: linear-gradient(90deg, var(--blue), var(--cyan));
      transition: left .3s, right .3s;
    }
    .nav-link:hover { color: var(--blue) !important; }
    .nav-link:hover::after, .nav-link.active::after { left: 12%; right: 12%; }
    .navbar-toggler { border: 2px solid var(--blue); border-radius: 6px; padding: 4px 8px; }
    .navbar-toggler-icon {
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230b5ea8' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    .dropdown-menu {
      border: none; border-radius: 10px;
      box-shadow: 0 12px 40px rgba(7,24,40,.15); padding: 8px; margin-top: 8px !important;
    }
    .dropdown-item {
      font-family: var(--font-head); font-weight: 600; font-size: .95rem;
      letter-spacing: .04em; color: var(--text); border-radius: 7px;
      padding: 9px 16px; display: flex; align-items: center; gap: 10px;
      transition: background .2s, color .2s;
    }
    .dropdown-item i { color: var(--blue); font-size: 1.1rem; }
    .dropdown-item:hover { background: var(--ice); color: var(--blue); }
    .offcanvas-header { background: var(--navy); }
    .offcanvas-body { background: #f5faff; padding: 0; }
    .offcanvas .nav-link { padding: 14px 24px !important; border-bottom: 1px solid rgba(11,94,168,.1); font-size: 1.1rem; }
    .offcanvas .nav-link::after { display: none; }
    .offcanvas .dropdown-menu { position: static !important; transform: none !important; box-shadow: none; background: rgba(11,94,168,.06); border-radius: 0; margin: 0 !important; padding: 0; }
    .offcanvas .dropdown-item { border-radius: 0; padding: 11px 36px; }

    /* ── Page Hero ────────────────────────────────── */
    #page-hero {
      background: var(--navy);
      padding: 140px 0 80px;
      position: relative;
      overflow: hidden;
    }
    #page-hero::before {
      content: '';
      position: absolute; inset: 0;
      background-image:
        linear-gradient(rgba(16,180,232,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16,180,232,.07) 1px, transparent 1px);
      background-size: 50px 50px;
      animation: gridDrift 25s linear infinite;
    }
    @keyframes gridDrift { from { transform: translate(0,0); } to { transform: translate(50px, 50px); } }

    .page-hero-blob {
      position: absolute; border-radius: 50%; filter: blur(70px);
      opacity: .3; pointer-events: none;
    }
    .phb-1 { width: 480px; height: 480px; background: radial-gradient(circle, #1374cf, transparent); top: -100px; right: -60px; }
    .phb-2 { width: 300px; height: 300px; background: radial-gradient(circle, #10b4e8, transparent); bottom: 20px; left: -60px; }

    .page-hero-content { position: relative; z-index: 2; }
    .breadcrumb-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: .82rem; letter-spacing: .06em; }
    .breadcrumb-nav a { color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
    .breadcrumb-nav a:hover { color: var(--cyan); }
    .breadcrumb-nav i { color: rgba(255,255,255,.25); font-size: .7rem; }
    .breadcrumb-nav span { color: var(--cyan); font-weight: 600; }

    .page-eyebrow {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(16,180,232,.15); border: 1px solid rgba(16,180,232,.4);
      color: var(--cyan); font-family: var(--font-head);
      font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
      padding: 5px 14px; border-radius: 100px; margin-bottom: 20px;
      animation: fadeUp .7s .1s both;
    }
    .page-eyebrow span { width: 6px; height: 6px; background: var(--cyan); border-radius: 50%; animation: pulse 2s infinite; }
    @keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.4;transform:scale(.7);} }

    .page-title {
      font-family: var(--font-head);
      font-size: clamp(2.4rem, 5vw, 4rem);
      font-weight: 700; color: #fff;
      line-height: 1.1; letter-spacing: -.01em;
      animation: fadeUp .7s .2s both;
    }
    .page-title .accent {
      background: linear-gradient(90deg, var(--cyan), #58d0f0);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    }
    .page-sub {
      font-size: 1.05rem; color: rgba(255,255,255,.6);
      max-width: 560px; line-height: 1.8;
      margin: 18px 0 0;
      animation: fadeUp .7s .35s both;
    }
    .hero-divider {
      width: 100%; height: 1px;
      background: linear-gradient(90deg, transparent, rgba(16,180,232,.4), transparent);
      margin-top: 64px; position: relative; z-index: 2;
    }

    /* ── Shared Sections ─────────────────────────── */
    section { padding: 96px 0; }
    .section-eyebrow {
      font-family: var(--font-head); font-size: .78rem; letter-spacing: .2em;
      text-transform: uppercase; color: var(--blue); font-weight: 700; margin-bottom: 10px;
    }
    .section-title {
      font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.8rem);
      font-weight: 700; color: var(--navy); line-height: 1.2; letter-spacing: -.01em;
    }
    .title-line {
      display: inline-block; width: 50px; height: 4px;
      background: linear-gradient(90deg, var(--blue), var(--cyan));
      border-radius: 2px; margin-top: 16px;
    }
    .btn-primary-hero {
      background: linear-gradient(135deg, var(--blue), var(--blue-mid));
      color: #fff; font-family: var(--font-head); font-size: 1rem; font-weight: 700;
      letter-spacing: .08em; text-transform: uppercase;
      padding: 14px 32px; border: none; border-radius: 8px; cursor: pointer;
      box-shadow: 0 8px 28px rgba(11,94,168,.45);
      transition: transform .25s, box-shadow .25s;
      text-decoration: none; display: inline-block;
    }
    .btn-primary-hero:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(11,94,168,.55); color: #fff; }
    .btn-outline-hero {
      background: transparent; color: rgba(255,255,255,.85);
      font-family: var(--font-head); font-size: 1rem; font-weight: 600;
      letter-spacing: .08em; text-transform: uppercase;
      padding: 14px 32px; border: 2px solid rgba(255,255,255,.3);
      border-radius: 8px; cursor: pointer;
      transition: border-color .25s, color .25s;
      text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
    }
    .btn-outline-hero:hover { border-color: var(--cyan); color: var(--cyan); }

    /* ── Reveal Animations ───────────────────────── */
    @keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
    .reveal { opacity: 0; transform: translateY(30px); transition: opacity .65s ease, transform .65s ease; }
    .reveal.visible { opacity: 1; transform: translateY(0); }
    .reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity .65s ease, transform .65s ease; }
    .reveal-left.visible { opacity: 1; transform: translateX(0); }
    .reveal-right { opacity: 0; transform: translateX(30px); transition: opacity .65s ease, transform .65s ease; }
    .reveal-right.visible { opacity: 1; transform: translateX(0); }

    /* ── Mission & Vision ────────────────────────── */
    #mission { background: #f8fbff; }
    .mv-card {
      background: var(--white);
      border: 1.5px solid var(--border);
      border-radius: 18px;
      padding: 42px 36px;
      height: 100%;
      position: relative;
      overflow: hidden;
      transition: transform .35s, box-shadow .35s, border-color .35s;
    }
    .mv-card::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
      background: linear-gradient(90deg, var(--blue), var(--cyan));
      transform: scaleX(0); transform-origin: left; transition: transform .4s;
    }
    .mv-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(11,94,168,.12); border-color: rgba(11,94,168,.3); }
    .mv-card:hover::before { transform: scaleX(1); }
    .mv-icon {
      width: 68px; height: 68px;
      background: var(--ice); border-radius: 16px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.8rem; color: var(--blue); margin-bottom: 24px;
      transition: background .35s, transform .35s;
    }
    .mv-card:hover .mv-icon { background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; transform: rotate(-6deg) scale(1.08); }
    .mv-title { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--navy); letter-spacing: .03em; margin-bottom: 14px; }
    .mv-text { font-size: .92rem; color: var(--slate); line-height: 1.78; }

    /* ── Story / History ─────────────────────────── */
    #story { background: var(--white); }
    .story-img-frame {
      background: linear-gradient(135deg, var(--blue), var(--navy));
      border-radius: 16px; padding: 4px;
      box-shadow: 0 24px 64px rgba(11,94,168,.25);
    }
    .story-img-inner {
      background: var(--navy); border-radius: 13px;
      aspect-ratio: 4/3;
      display: flex; align-items: center; justify-content: center;
      position: relative; overflow: hidden;
    }
    .story-badge {
      position: absolute; bottom: -18px; right: -18px;
      background: linear-gradient(135deg, var(--blue), var(--cyan));
      color: #fff; font-family: var(--font-head); font-size: .7rem;
      letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
      padding: 14px 20px; border-radius: 10px;
      box-shadow: 0 8px 24px rgba(11,94,168,.4);
      text-align: center; line-height: 1.4;
    }
    .story-badge strong { font-size: 1.8rem; display: block; line-height: 1; }
    .story-text p { font-size: .96rem; color: var(--slate); line-height: 1.85; margin-bottom: 16px; }

    /* ── Timeline ────────────────────────────────── */
    #timeline { background: var(--navy); }
    .timeline-wrap { position: relative; padding-left: 48px; }
    .timeline-wrap::before {
      content: ''; position: absolute;
      left: 15px; top: 0; bottom: 0; width: 2px;
      background: linear-gradient(to bottom, var(--blue), var(--cyan), rgba(16,180,232,.1));
    }
    .timeline-item { position: relative; margin-bottom: 48px; }
    .timeline-item:last-child { margin-bottom: 0; }
    .tl-dot {
      position: absolute; left: -40px; top: 4px;
      width: 18px; height: 18px; border-radius: 50%;
      background: var(--navy); border: 3px solid var(--blue);
      transition: border-color .3s, transform .3s;
    }
    .timeline-item:hover .tl-dot { border-color: var(--cyan); transform: scale(1.3); }
    .tl-year {
      font-family: var(--font-head); font-size: .75rem; font-weight: 700;
      letter-spacing: .18em; text-transform: uppercase;
      color: var(--cyan); margin-bottom: 6px;
    }
    .tl-title { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
    .tl-desc { font-size: .88rem; color: rgba(255,255,255,.5); line-height: 1.7; }
    .tl-badge {
      display: inline-block; font-size: .7rem; font-family: var(--font-head);
      letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
      padding: 3px 10px; border-radius: 100px;
      background: rgba(16,180,232,.15); color: var(--cyan);
      border: 1px solid rgba(16,180,232,.3); margin-top: 8px;
    }

    /* ── Values ──────────────────────────────────── */
    #values { background: #f8fbff; }
    .value-card {
      background: var(--white); border: 1.5px solid var(--border);
      border-radius: 14px; padding: 32px 28px; height: 100%;
      transition: transform .35s, box-shadow .35s, border-color .35s;
      position: relative; overflow: hidden;
    }
    .value-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(11,94,168,.12); border-color: rgba(11,94,168,.3); }
    .value-num {
      position: absolute; top: 18px; right: 22px;
      font-family: var(--font-head); font-size: 3.2rem; font-weight: 700;
      color: rgba(11,94,168,.05); line-height: 1; transition: color .35s;
    }
    .value-card:hover .value-num { color: rgba(11,94,168,.1); }
    .value-icon {
      width: 52px; height: 52px; background: var(--ice); border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      color: var(--blue); font-size: 1.4rem; margin-bottom: 18px;
      transition: background .35s, color .35s, transform .35s;
    }
    .value-card:hover .value-icon { background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; transform: rotate(-8deg) scale(1.08); }
    .value-title { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; letter-spacing: .02em; }
    .value-desc { font-size: .88rem; color: var(--slate); line-height: 1.7; }

    /* ── Team ────────────────────────────────────── */
    #team { background: var(--white); }
    .team-card {
      background: var(--white); border: 1.5px solid var(--border);
      border-radius: 18px; overflow: hidden; height: 100%;
      transition: transform .35s, box-shadow .35s;
    }
    .team-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(11,94,168,.15); }
    .team-avatar {
      background: linear-gradient(135deg, var(--navy), #0d2a40);
      aspect-ratio: 1/1;
      display: flex; align-items: center; justify-content: center;
      position: relative; overflow: hidden;
    }
    .team-avatar svg { width: 100%; height: 100%; }
    .team-info { padding: 24px 22px; }
    .team-name { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
    .team-role { font-size: .8rem; font-family: var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); font-weight: 600; margin-bottom: 12px; }
    .team-bio { font-size: .86rem; color: var(--slate); line-height: 1.7; margin-bottom: 16px; }
    .team-socials { display: flex; gap: 8px; }
    .team-social-btn {
      width: 32px; height: 32px; border-radius: 8px;
      background: var(--ice); color: var(--blue);
      display: flex; align-items: center; justify-content: center;
      text-decoration: none; font-size: .85rem;
      transition: background .25s, color .25s;
    }
    .team-social-btn:hover { background: var(--blue); color: #fff; }

    /* ── Certifications ──────────────────────────── */
    #certifications { background: var(--navy); }
    .cert-card {
      background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
      border-radius: 14px; padding: 32px 24px; text-align: center;
      transition: background .35s, border-color .35s, transform .35s;
    }
    .cert-card:hover { background: rgba(11,94,168,.2); border-color: rgba(16,180,232,.4); transform: translateY(-4px); }
    .cert-icon {
      width: 60px; height: 60px;
      background: rgba(16,180,232,.1); border-radius: 14px;
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 18px; color: var(--cyan); font-size: 1.6rem;
      transition: background .3s;
    }
    .cert-card:hover .cert-icon { background: rgba(16,180,232,.2); }
    .cert-name { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
    .cert-body { font-size: .83rem; color: rgba(255,255,255,.45); line-height: 1.65; }

    /* ── Stats Band ──────────────────────────────── */
    #stats-band {
      background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 60%);
      position: relative; overflow: hidden;
    }
    #stats-band::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: 40px 40px;
    }
    .stat-band-inner { position: relative; z-index: 1; }
    .sb-stat { text-align: center; }
    .sb-num { font-family: var(--font-head); font-size: 2.8rem; font-weight: 700; color: #fff; line-height: 1; }
    .sb-num span { color: var(--cyan); }
    .sb-label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-top: 6px; font-weight: 600; }

    /* ── CTA ─────────────────────────────────────── */
    #cta {
      background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 60%);
      position: relative; overflow: hidden;
    }
    #cta::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: 40px 40px;
    }
    .cta-inner { position: relative; z-index: 1; }
    .cta-title { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; color: #fff; letter-spacing: -.01em; }
    .cta-sub { color: rgba(255,255,255,.65); font-size: 1.05rem; margin-top: 10px; }

    /* ── Footer ───────────────────────────────────── */
    footer {
      background: var(--navy);
      border-top: 1px solid rgba(255,255,255,.06);
      padding: 56px 0 28px;
    }
    .footer-brand { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
    .footer-desc { font-size: .88rem; color: rgba(255,255,255,.45); line-height: 1.7; max-width: 260px; }
    .footer-heading { font-family: var(--font-head); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); font-weight: 700; margin-bottom: 16px; }
    .footer-links { list-style: none; }
    .footer-links li { margin-bottom: 9px; }
    .footer-links a { color: rgba(255,255,255,.5); text-decoration: none; font-size: .9rem; transition: color .2s, padding-left .2s; display: inline-block; }
    .footer-links a:hover { color: var(--cyan); padding-left: 5px; }
    .footer-contact-item { display: flex; align-items: flex-start; gap: 10px; color: rgba(255,255,255,.5); font-size: .88rem; margin-bottom: 10px; }
    .footer-contact-item i { color: var(--cyan); margin-top: 2px; flex-shrink: 0; }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,.07); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .8rem; color: rgba(255,255,255,.3); }
    .social-links { display: flex; gap: 10px; }
    .social-btn { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); text-decoration: none; transition: background .25s, color .25s; }
    .social-btn:hover { background: var(--blue); color: #fff; }

    /* ── Back to Top ──────────────────────────────── */
    #backToTop {
      position: fixed; bottom: 28px; right: 28px;
      width: 46px; height: 46px;
      background: linear-gradient(135deg, var(--blue), var(--cyan));
      color: #fff; border: none; border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.1rem;
      box-shadow: 0 6px 20px rgba(11,94,168,.4);
      cursor: pointer; opacity: 0; pointer-events: none;
      transform: translateY(12px); transition: opacity .3s, transform .3s; z-index: 999;
    }
    #backToTop.show { opacity: 1; pointer-events: all; transform: translateY(0); }
    #backToTop:hover { transform: translateY(-3px); }

/* ── Responsive Design ────────────────────────── */

/* Tablet and below */
@media (max-width: 991px) {
  .desktop-nav { display: none !important; }
  section { padding: 72px 0; }
  #page-hero { padding: 120px 0 64px; }
  
  /* Cards adjustment */
  .mv-card { padding: 32px 24px; }
  .value-card { padding: 28px 22px; }
  .team-card { margin-bottom: 20px; }
  .cert-card { padding: 28px 20px; }
  
  /* Stats */
  .sb-num { font-size: 2.2rem; }
  
  /* Timeline */
  .timeline-wrap { padding-left: 40px; }
}

/* Mobile */
@media (max-width: 767px) {
  /* Reduce section padding */
  section { padding: 64px 0; }
  #page-hero { padding: 100px 0 52px; }
  
  /* Page title */
  .page-title { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .page-sub { font-size: .95rem; }
  
  /* Mission/Vision cards */
  .mv-card { 
    padding: 28px 20px; 
    margin-bottom: 16px;
  }
  .mv-icon { 
    width: 56px; 
    height: 56px; 
    font-size: 1.5rem; 
  }
  .mv-title { font-size: 1.2rem; }
  .mv-text { font-size: .88rem; }
  
  /* Story section */
  .story-badge { 
    bottom: -12px; 
    right: -12px; 
    padding: 10px 16px; 
    font-size: .65rem; 
  }
  .story-badge strong { font-size: 1.4rem; }
  .story-text p { font-size: .9rem; }
  
  /* Timeline - Critical fix for overflow */
  .timeline-wrap { 
    padding-left: 32px;
    padding-right: 0;
  }
  .timeline-wrap::before { left: 6px; }
  .tl-dot { 
    left: -28px; 
    width: 14px; 
    height: 14px; 
  }
  .tl-year { font-size: .7rem; }
  .tl-title { font-size: 1rem; }
  .tl-desc { font-size: .85rem; }
  
  /* Values */
  .value-card { 
    padding: 24px 18px; 
    margin-bottom: 16px;
  }
  .value-num { 
    font-size: 2.6rem; 
    top: 16px; 
    right: 18px; 
  }
  .value-icon { 
    width: 48px; 
    height: 48px; 
    font-size: 1.2rem; 
  }
  .value-title { font-size: 1rem; }
  .value-desc { font-size: .86rem; }
  
  /* Team cards */
  .team-card { 
    margin-bottom: 20px;
    max-width: 100%;
  }
  .team-info { padding: 20px 18px; }
  .team-name { font-size: 1.1rem; }
  .team-role { font-size: .75rem; }
  .team-bio { font-size: .84rem; }
  
  /* Certifications */
  .cert-card { 
    padding: 24px 18px; 
    margin-bottom: 16px;
  }
  .cert-icon { 
    width: 52px; 
    height: 52px; 
    font-size: 1.4rem; 
  }
  .cert-name { font-size: .95rem; }
  .cert-body { font-size: .8rem; }
  
  /* Stats band */
  .sb-num { font-size: 2.2rem; }
  .sb-label { font-size: .7rem; }
  
  /* CTA */
  .cta-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .cta-sub { font-size: .95rem; }
  
  /* Footer */
  .footer-brand { font-size: 1.3rem; }
  .footer-desc { font-size: .85rem; max-width: 100%; }
  .footer-heading { font-size: .72rem; }
  .footer-bottom { 
    flex-direction: column; 
    text-align: center; 
    gap: 16px; 
  }
  
  /* Back to top */
  #backToTop { 
    width: 42px; 
    height: 42px; 
    bottom: 20px; 
    right: 20px; 
  }
}

/* Extra small mobile - Critical for preventing overflow */
@media (max-width: 480px) {
  /* Force container padding */
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  
  /* Page hero */
  .page-title { font-size: 1.7rem; }
  .page-sub { font-size: .9rem; }
  
  /* Reduce all card paddings */
  .mv-card,
  .value-card,
  .cert-card { 
    padding: 20px 16px; 
  }
  
  .team-info { padding: 18px 16px; }
  
  /* Timeline extra small fix */
  .timeline-wrap { 
    padding-left: 28px;
    padding-right: 0;
  }
  .timeline-wrap::before { left: 4px; }
  .tl-dot { left: -26px; }
  
  /* Stats - stack if needed */
  .stat-band-inner .row > div {
    margin-bottom: 20px;
  }
  
  /* Buttons full width */
  .btn-primary-hero,
  .btn-outline-hero { 
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: .9rem;
  }
}

/* Landscape mobile */
@media (max-height: 600px) and (orientation: landscape) {
  #page-hero { 
    min-height: auto; 
    padding: 80px 0 40px; 
  }
  section { padding: 56px 0; }
}

/* Prevent horizontal scroll on all devices */
@media (max-width: 991px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  
  * {
    max-width: 100%;
  }
  
  .row {
    margin-left: -12px;
    margin-right: -12px;
  }
  
  .row > * {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { 
    animation-duration: 0.01ms !important; 
    transition-duration: 0.01ms !important; 
  }
}
