    /* =============================================
       ROOT & RESET
    ============================================= */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --navy:       #07122b;
      --navy-mid:   #0d1f4a;
      --navy-light: #122060;
      --gold:       #FFD700;
      --gold-dim:   rgba(255, 215, 0, 0.18);
      --gold-border:rgba(255, 215, 0, 0.35);
      --white:      #ffffff;
      --white-70:   rgba(255,255,255,0.70);
      --white-45:   rgba(255,255,255,0.45);
      --white-12:   rgba(255,255,255,0.12);
      --white-06:   rgba(255,255,255,0.06);
      --green-text: #8fc94a;
      --green-bg:   rgba(99,153,34,0.15);
      --green-bdr:  rgba(99,153,34,0.35);
      --blue-text:  #6db3f2;
      --blue-bg:    rgba(55,138,221,0.15);
      --blue-bdr:   rgba(55,138,221,0.35);
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--navy);
      color: var(--white);
      overflow-x: hidden;
    }

    /* =============================================
       NAVBAR
    ============================================= */
    #cc-navbar {
      background: rgba(7, 18, 43, 0.97);
      border-bottom: 1px solid var(--gold-border);
      padding: 0 clamp(12px, 3vw, 48px);
      min-height: 64px;
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    .navbar-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 64px;
      width: 100%;
    }

    /* Brand */
    .cc-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      flex-shrink: 0;
    }

    .cc-brand-logo {
      width: clamp(38px, 5.5vw, 52px);
      height: clamp(38px, 5.5vw, 52px);
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid var(--gold-border);
      display: block;
    }

    .cc-brand-logo-fallback {
      width: clamp(38px, 5.5vw, 52px);
      height: clamp(38px, 5.5vw, 52px);
      border-radius: 50%;
      background: var(--navy-mid);
      border: 2px solid var(--gold-border);
      display: none;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      font-weight: 700;
      color: var(--gold);
    }

    .cc-brand-text {
      display: flex;
      flex-direction: column;
      line-height: 1.15;
    }

    .cc-brand-text .brand-name {
      font-family: 'Playfair Display', serif;
      font-size: clamp(11px, 1.8vw, 15px);
      font-weight: 700;
      color: var(--white);
      letter-spacing: 0.2px;
    }

    .cc-brand-text .brand-motto {
      font-size: clamp(9px, 1.3vw, 11px);
      color: rgba(255, 215, 0, 0.7);
      letter-spacing: 0.8px;
    }

    /* Nav links */
    .cc-nav-links {
      display: flex;
      align-items: center;
      gap: 2px;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .cc-nav-links li a,
    .cc-nav-links li button.nav-link-btn {
      display: flex;
      align-items: center;
      gap: 5px;
      color: var(--white-70);
      text-decoration: none;
      font-size: 13px;
      padding: 6px 11px;
      border-radius: 6px;
      background: none;
      border: none;
      cursor: pointer;
      transition: background 0.2s, color 0.2s;
      white-space: nowrap;
    }

    .cc-nav-links li a:hover,
    .cc-nav-links li a.active,
    .cc-nav-links li button.nav-link-btn:hover {
      background: var(--gold-dim);
      color: var(--gold);
    }

    .cc-nav-links li a.active {
      font-weight: 600;
    }

    .nav-divider {
      width: 1px;
      height: 22px;
      background: var(--white-12);
      margin: 0 6px;
      flex-shrink: 0;
    }

    /* Portal login buttons */
    .portal-btn {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 6px 14px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 500;
      cursor: pointer;
      border: 1px solid;
      transition: background 0.2s, color 0.2s;
      white-space: nowrap;
      text-decoration: none;
    }

    .portal-teacher {
      background: var(--green-bg);
      color: var(--green-text);
      border-color: var(--green-bdr);
    }
    .portal-teacher:hover { background: rgba(99,153,34,0.28); color: #a8e05a; }

    .portal-student {
      background: var(--blue-bg);
      color: var(--blue-text);
      border-color: var(--blue-bdr);
    }
    .portal-student:hover { background: rgba(55,138,221,0.28); color: #90c8ff; }

    .portal-admin {
      background: var(--gold-dim);
      color: var(--gold);
      border-color: var(--gold-border);
    }
    .portal-admin:hover { background: rgba(255,215,0,0.26); }

    /* Hamburger */
    .cc-hamburger {
      display: none;
      background: none;
      border: 1px solid var(--white-12);
      border-radius: 6px;
      padding: 6px 10px;
      color: var(--white);
      cursor: pointer;
      transition: border-color 0.2s;
    }
    .cc-hamburger:hover { border-color: var(--gold-border); color: var(--gold); }

    /* Mobile drawer */
    #cc-mobile-drawer {
      display: none;
      flex-direction: column;
      background: rgba(7, 18, 43, 0.99);
      border-top: 1px solid var(--gold-dim);
      padding: 10px clamp(12px, 4vw, 48px) 16px;
    }
    #cc-mobile-drawer.open { display: flex; }

    .drawer-section-label {
      font-size: 10px;
      letter-spacing: 1.8px;
      color: var(--white-45);
      text-transform: uppercase;
      padding: 10px 12px 4px;
    }

    .drawer-link {
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--white-70);
      text-decoration: none;
      font-size: 14px;
      padding: 10px 12px;
      border-radius: 8px;
      border-bottom: 0.5px solid var(--white-06);
      transition: background 0.2s, color 0.2s;
      cursor: pointer;
      background: none;
      border-left: none;
      border-right: none;
      border-top: none;
      width: 100%;
      text-align: left;
    }
    .drawer-link:last-child { border-bottom: none; }
    .drawer-link:hover { background: var(--gold-dim); color: var(--gold); }

    /* =============================================
       HERO SECTION
    ============================================= */
    #cc-hero {
      position: relative;
      min-height: clamp(480px, 82vh, 720px);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    /* Background slides */
    .hero-slide {
      position: absolute;
      inset: 0;
      transition: opacity 1.3s ease;
    }
    .hero-slide.active { opacity: 1; }
    .hero-slide.hidden { opacity: 0; pointer-events: none; }

    .slide-0 { background: radial-gradient(ellipse at 65% 50%, #122060 0%, #07122b 70%); }
    .slide-1 { background: radial-gradient(ellipse at 35% 55%, #082a18 0%, #07122b 70%); }
    .slide-2 { background: radial-gradient(ellipse at 60% 40%, #1a0a38 0%, #07122b 70%); }

    /* Decorative blobs per slide */
    .slide-0::after {
      content: '';
      position: absolute;
      width: 320px; height: 320px;
      border-radius: 50%;
      background: rgba(255,215,0,0.04);
      top: 10%; right: 8%;
      animation: blobPulse 5s ease-in-out infinite;
    }
    .slide-1::after {
      content: '';
      position: absolute;
      width: 260px; height: 260px;
      border-radius: 50%;
      background: rgba(99,153,34,0.06);
      bottom: 15%; left: 10%;
      animation: blobPulse 6s 1s ease-in-out infinite;
    }
    .slide-2::after {
      content: '';
      position: absolute;
      width: 280px; height: 280px;
      border-radius: 50%;
      background: rgba(120,60,220,0.07);
      top: 20%; right: 15%;
      animation: blobPulse 5.5s 0.5s ease-in-out infinite;
    }

    @keyframes blobPulse {
      0%,100% { transform: scale(1); opacity: 0.5; }
      50% { transform: scale(1.15); opacity: 1; }
    }

    .hero-overlay {
      position: absolute;
      inset: 0;
      background: rgba(7, 18, 43, 0.42);
      z-index: 1;
    }

    /* Hero content */
    .hero-content {
      position: relative;
      z-index: 2;
      text-align: center;
      padding: clamp(36px, 6vw, 72px) clamp(16px, 5vw, 80px);
      max-width: 720px;
      width: 100%;
    }

    /* Animated crest */
    .crest-ring {
      width: clamp(76px, 12vw, 100px);
      height: clamp(76px, 12vw, 100px);
      border-radius: 50%;
      background: rgba(255,255,255,0.07);
      border: 2px solid rgba(255,215,0,0.28);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 22px;
      animation: floatCrest 3.8s ease-in-out infinite;
    }

    .crest-inner {
      width: clamp(58px, 9vw,78px);
      height: clamp(58px, 9vw, 78px);
      border-radius: 50%;
      background: var(--navy-mid);
      border: 1.5px solid rgba(255,215,0,0.5);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .crest-inner img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 50%;
    }

    .crest-fallback {
      display: none;
      flex-direction: column;
      align-items: center;
    }
    .crest-fallback span:first-child {
      font-size: 13px;
      font-weight: 700;
      color: var(--gold);
      line-height: 1;
    }
    .crest-fallback span:last-child {
      font-size: 7px;
      color: rgba(255,215,0,0.6);
      letter-spacing: 0.4px;
    }

    @keyframes floatCrest {
      0%, 100% { transform: translateY(0); }
      50%       { transform: translateY(-9px); }
    }

    /* School name */
    .school-name {
      font-family: 'Playfair Display', serif;
      font-size: clamp(22px, 4.8vw, 44px);
      font-weight: 700;
      color: var(--white);
      line-height: 1.15;
      margin-bottom: 6px;
      animation: fadeUp 0.8s ease both;
    }

    .school-location {
      font-size: clamp(9px, 1.6vw, 11px);
      letter-spacing: clamp(1.5px, 0.6vw, 3.5px);
      color: rgba(255, 215, 0, 0.75);
      text-transform: uppercase;
      margin-bottom: 16px;
      animation: fadeUp 0.85s 0.08s ease both;
    }

    .approved-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(0,180,90,0.13);
      border: 1px solid rgba(0,220,100,0.28);
      border-radius: 20px;
      padding: 4px 14px;
      font-size: 11px;
      color: #4ade80;
      margin-bottom: 16px;
      animation: fadeUp 0.9s 0.12s ease both;
    }

    .hero-tagline {
      font-size: clamp(15px, 3vw, 24px);
      font-weight: 500;
      color: rgba(255,255,255,0.92);
      margin-bottom: 8px;
      animation: fadeUp 0.95s 0.18s ease both;
    }
    .hero-tagline em {
      font-style: normal;
      color: var(--gold);
    }

    .gold-rule {
      width: 52px;
      height: 3px;
      background: var(--gold);
      border-radius: 2px;
      margin: 12px auto 18px;
      animation: ruleExpand 0.8s 0.3s ease both;
    }
    @keyframes ruleExpand {
      from { width: 0; opacity: 0; }
      to   { width: 52px; opacity: 1; }
    }

    /* Programme pills */
    .pills-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      justify-content: center;
      margin-bottom: 28px;
      animation: fadeUp 0.95s 0.28s ease both;
    }

    .prog-pill {
      padding: 5px 14px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 500;
      border: 1.5px solid rgba(255,255,255,0.2);
      color: rgba(255,255,255,0.6);
      transition: all 0.38s ease;
      cursor: default;
    }
    .prog-pill.active {
      background: rgba(255,215,0,0.14);
      border-color: var(--gold);
      color: var(--gold);
      transform: scale(1.09);
    }

    /* CTA buttons */
    .cta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: center;
      animation: fadeUp 1s 0.4s ease both;
    }

    .btn-enrol {
      background: var(--gold);
      border: none;
      border-radius: 30px;
      padding: clamp(11px, 2vw, 14px) clamp(24px, 4vw, 36px);
      font-size: clamp(13px, 1.8vw, 15px);
      font-weight: 600;
      color: var(--navy);
      cursor: pointer;
      transition: transform 0.2s, opacity 0.2s;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 7px;
    }
    .btn-enrol:hover {
      transform: translateY(-2px) scale(1.04);
      opacity: 0.9;
      color: var(--navy);
    }

    .btn-tour {
      background: transparent;
      border: 1.5px solid rgba(255,255,255,0.35);
      border-radius: 30px;
      padding: clamp(11px, 2vw, 14px) clamp(20px, 3.5vw, 30px);
      font-size: clamp(13px, 1.8vw, 15px);
      font-weight: 500;
      color: rgba(255,255,255,0.88);
      cursor: pointer;
      transition: all 0.2s;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 7px;
    }
    .btn-tour:hover {
      background: rgba(255,255,255,0.08);
      border-color: rgba(255,255,255,0.65);
      color: var(--white);
    }

    /* Stats row */
    .hero-stats {
      display: flex;
      justify-content: center;
      border-top: 1px solid var(--white-12);
      margin-top: 34px;
      padding-top: 22px;
      animation: fadeUp 1s 0.55s ease both;
    }

    .stat-item {
      flex: 1;
      max-width: 130px;
      text-align: center;
      border-right: 1px solid var(--white-12);
      padding: 0 8px;
    }
    .stat-item:last-child { border-right: none; }

    .stat-num {
      display: block;
      font-size: clamp(20px, 3.2vw, 26px);
      font-weight: 700;
      color: var(--gold);
      line-height: 1;
      margin-bottom: 5px;
    }
    .stat-lbl {
      font-size: clamp(9px, 1.1vw, 10px);
      color: var(--white-45);
      letter-spacing: 1px;
      text-transform: uppercase;
    }

    /* Slide dots */
    .slide-dots {
      display: flex;
      justify-content: center;
      gap: 8px;
      position: relative;
      z-index: 5;
      padding: 14px 0 20px;
      background: var(--navy);
    }

    .slide-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: rgba(255,255,255,0.22);
      border: none;
      cursor: pointer;
      transition: all 0.35s ease;
      padding: 0;
    }
    .slide-dot.active {
      background: var(--gold);
      width: 22px;
      border-radius: 4px;
    }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(16px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* =============================================
       LOGIN MODAL
    ============================================= */
    .modal-backdrop-cc {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(7, 18, 43, 0.88);
      z-index: 2000;
      align-items: center;
      justify-content: center;
      padding: 16px;
    }
    .modal-backdrop-cc.open {
      display: flex;
    }

    .cc-modal-box {
      background: var(--navy-mid);
      border: 1px solid rgba(255,215,0,0.22);
      border-radius: 16px;
      padding: 30px 28px 26px;
      width: 100%;
      max-width: 380px;
      position: relative;
      animation: modalPop 0.3s ease both;
    }

    @keyframes modalPop {
      from { opacity: 0; transform: scale(0.94) translateY(12px); }
      to   { opacity: 1; transform: scale(1) translateY(0); }
    }

    .modal-close-btn {
      position: absolute;
      top: 14px;
      right: 16px;
      background: none;
      border: none;
      color: var(--white-45);
      cursor: pointer;
      font-size: 20px;
      transition: color 0.2s;
      line-height: 1;
    }
    .modal-close-btn:hover { color: var(--white); }

    .modal-heading {
      font-size: 16px;
      font-weight: 600;
      color: var(--white);
      margin-bottom: 4px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .modal-sub {
      font-size: 12px;
      color: var(--white-45);
      margin-bottom: 20px;
    }

    .form-label-cc {
      display: block;
      font-size: 11px;
      letter-spacing: 0.5px;
      color: var(--white-45);
      margin-bottom: 5px;
    }

    .form-input-cc {
      width: 100%;
      background: var(--white-06);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 8px;
      padding: 10px 13px;
      font-size: 13px;
      color: var(--white);
      outline: none;
      transition: border-color 0.2s;
      margin-bottom: 14px;
      font-family: 'Inter', sans-serif;
    }
    .form-input-cc::placeholder { color: rgba(255,255,255,0.25); }
    .form-input-cc:focus { border-color: rgba(255,215,0,0.45); }

    .modal-submit-btn {
      width: 100%;
      border: none;
      border-radius: 10px;
      padding: 11px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: opacity 0.2s;
      margin-top: 4px;
      font-family: 'Inter', sans-serif;
    }
    .modal-submit-btn:hover { opacity: 0.85; }

    .forgot-link {
      display: block;
      text-align: center;
      font-size: 12px;
      color: var(--white-45);
      margin-top: 12px;
      text-decoration: none;
      cursor: pointer;
      transition: color 0.2s;
    }
    .forgot-link:hover { color: var(--gold); }

    /* =============================================
       RESPONSIVE BREAKPOINTS
    ============================================= */
    @media (max-width: 991px) {
      .cc-nav-links { display: none; }
      .cc-hamburger { display: block; }
    }

    @media (max-width: 575px) {
      .cc-brand-text .brand-motto { display: none; }
      .cta-row { flex-direction: column; align-items: center; }
      .btn-enrol, .btn-tour { width: 100%; max-width: 260px; justify-content: center; }
      .hero-stats { gap: 0; }
      .stat-item { padding: 0 4px; }
    }

    @media (max-width: 360px) {
      .school-name { font-size: 19px; }
      .hero-tagline { font-size: 14px; }
      .cc-brand-text .brand-name { font-size: 11px; }
    }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    }
  