
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --blue: #1a2a6b;
    --blue-light: #e8eef5;
    --blue-mid: #2d4a8a;
    --gold: #c8860a;
    --gold-light: #fdf3e0;
    --gold-bright: #f0a81a;
    --text: #1a1a1a;
    --text-muted: #5a6272;
    --bg: #fafaf8;
    --white: #ffffff;
    --border: #e8e4dc;
    --red-ug: #d32f2f;
    --yellow-ug: #f9a825;
    --black-ug: #111111;
  }

  .show-mobile { display: none; }

  @media (max-width: 768px) {
    .hide-mobile { display: none; }
    .show-mobile { display: inline; }
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
  }

  /* ---- TOPBAR ---- */
  .topbar {
    background: var(--blue);
    color: #fff;
    font-size: 13px;
    padding: 7px 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }
  .topbar a { color: #c8f5d4; text-decoration: none; }
  .topbar-left { display: flex; gap: 1.5rem; align-items: center; }
  .topbar-right { display: flex; gap: 1.5rem; }

  /* ---- NAVBAR ---- */
  nav {
    background: var(--white);
    border-bottom: 2px solid var(--blue);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
  }
  .logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
  }
  .logo-badge { flex-shrink: 0; }
  .logo-text strong {
    font-family: 'Inter', serif;
    font-size: 15px;
    display: block;
    color: var(--blue);
    line-height: 1.2;
  }
  .logo-text span {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
  }
  .nav-links a {
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    display: block;
  }
  .nav-links a:hover { background: var(--blue-light); color: var(--blue); }
  .nav-cta {
    background: var(--blue);
    color: #fff !important;
    padding: 9px 20px !important;
    border-radius: 8px !important;
  }
  .nav-cta:hover { background: var(--blue-mid) !important; }

  /* ---- HERO ---- */
  .hero {
    position: relative;
    background: var(--blue);
    min-height: 580px;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  .hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.07;
    background-image: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 0, transparent 50%);
    background-size: 20px 20px;
  }
  .hero-circles {
    position: absolute;
    right: -80px; top: -80px;
    width: 520px; height: 520px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
  }
  .hero-circles::after {
    content: '';
    position: absolute;
    inset: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.08);
  }
  .hero-leaf {
    position: absolute;
    right: 6%;
    bottom: -10px;
    font-size: 220px;
    opacity: 0.06;
    line-height: 1;
  }
  .hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 2rem 4rem max(2rem, calc(50vw - 600px));
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
  }
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: #c8f5d4;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 1.5rem;
  }
  .hero h1 {
    font-family: 'Inter', serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    max-width: 640px;
  }
  .hero h1 em {
    color: var(--gold-bright);
    font-style: normal;
  }
  .hero p {
    color: rgba(255,255,255,0.8);
    font-size: 17px;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 2rem;
    font-weight: 300;
  }
  .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
  .btn-primary {
    background: var(--gold-bright);
    color: #1a1a1a;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.2s, transform 0.15s;
    display: inline-block;
  }
  .btn-primary:hover { background: #e09c10; transform: translateY(-1px); }
  .btn-ghost {
    border: 1.5px solid rgba(255,255,255,0.4);
    color: #fff;
    font-weight: 500;
    padding: 13px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.2s;
    display: inline-block;
  }
  .btn-ghost:hover { background: rgba(255,255,255,0.1); }
  .hero-stats {
    margin-top: 3rem;
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
  }
  .hero-stat strong {
    display: block;
    font-family: 'Inter', serif;
    font-size: 2rem;
    color: var(--gold-bright);
  }
  .hero-stat span {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  /* ---- UGANDAN FLAG STRIPE ---- */
  .flag-stripe {
    display: flex;
    height: 6px;
  }
  .flag-stripe div { flex: 1; }

  /* ---- SECTION LAYOUT ---- */
  section { padding: 80px 2rem; }
  .container { max-width: 1100px; margin: 0 auto; }
  .section-label {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 0.6rem;
  }
  .section-title {
    font-family: 'Inter', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    color: var(--text);
    line-height: 1.25;
    margin-bottom: 1rem;
  }
  .section-sub {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
    max-width: 560px;
    font-weight: 300;
  }
  .section-header { margin-bottom: 3rem; }

  /* ---- ABOUT ---- */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
  .about-img-block {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--blue-light);
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .about-img-placeholder {
    text-align: center;
    padding: 2rem;
  }
  .about-img-placeholder .big-icon {
    font-size: 80px; line-height: 1; margin-bottom: 1rem;
  }
  .about-img-placeholder p {
    color: var(--blue);
    font-size: 14px;
    font-weight: 500;
  }
  .about-accent {
    position: absolute;
    bottom: 20px; left: 20px;
    background: var(--blue);
    color: #fff;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 13px;
  }
  .about-accent strong { display: block; font-size: 20px; margin-bottom: 2px; }
  .values-list { list-style: none; margin-top: 1.5rem; }
  .values-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-muted);
  }
  .values-list li:last-child { border: none; }
  .values-list li::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--blue);
    border-radius: 50%;
    flex-shrink: 0;
  }

  /* ---- PROGRAMS ---- */
  .programs-bg { background: var(--blue); }
  .programs-bg .section-label { color: #c8f5d4; }
  .programs-bg .section-title { color: #fff; }
  .programs-bg .section-sub { color: rgba(255,255,255,0.7); }
  .programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
  }
  .program-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px;
    padding: 2rem 1.5rem;
    transition: background 0.2s, transform 0.2s;
    cursor: default;
  }
  .program-card:hover { background: rgba(255,255,255,0.13); transform: translateY(-3px); }
  .program-icon {
    font-size: 36px;
    margin-bottom: 1rem;
    line-height: 1;
  }
  .program-card h3 {
    font-family: 'Inter', serif;
    font-size: 18px;
    color: #fff;
    margin-bottom: 0.6rem;
  }
  .program-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    font-weight: 300;
  }
  .program-age {
    margin-top: 1rem;
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: var(--gold-bright);
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 100px;
    font-weight: 600;
  }

  /* ---- WHY CHOOSE US ---- */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
  }
  .feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
  }
  .feature-card:hover { border-color: var(--blue); transform: translateY(-2px); }
  .feature-icon { font-size: 40px; margin-bottom: 1rem; }
  .feature-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
  }
  .feature-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

  /* ---- NOTICE BOARD ---- */
  .notices-bg { background: var(--gold-light); }
  .notices-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
  }
  .notice-item {
    background: var(--white);
    border-left: 4px solid var(--blue);
    padding: 1.25rem 1.5rem;
    border-radius: 0 10px 10px 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
  }
  .notice-date {
    text-align: center;
    min-width: 48px;
    background: var(--blue-light);
    border-radius: 8px;
    padding: 6px 8px;
  }
  .notice-date .day {
    font-family: 'Inter', serif;
    font-size: 22px;
    color: var(--blue);
    display: block;
    line-height: 1;
  }
  .notice-date .month {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--blue);
    letter-spacing: 0.06em;
    font-weight: 600;
  }
  .notice-body h4 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
  .notice-body p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
  .notice-tag {
    display: inline-block;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 100px;
    font-weight: 600;
    margin-top: 6px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .tag-event { background: #e8f5ee; color: var(--blue); }
  .tag-exam { background: #fdf3e0; color: var(--gold); }
  .tag-admin { background: #fce4ec; color: #c62828; }
  .tag-sport { background: #e3f2fd; color: #1565c0; }

  /* ---- TESTIMONIALS ---- */
  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
  }
  .testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.75rem;
  }
  .stars { color: var(--gold-bright); font-size: 16px; margin-bottom: 1rem; }
  .testimonial-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.25rem;
  }
  .testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .author-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--blue-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--blue);
    font-family: 'Inter', serif;
    flex-shrink: 0;
  }
  .author-info strong { display: block; font-size: 14px; }
  .author-info span { font-size: 12px; color: var(--text-muted); }

  /* ---- GALLERY STRIP ---- */
  .gallery-strip {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0 1rem;
    scrollbar-width: thin;
    margin-top: 2rem;
  }
  .gallery-item {
    min-width: 200px;
    height: 140px;
    border-radius: 12px;
    background: var(--blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 36px;
    gap: 6px;
    flex-shrink: 0;
    border: 1px solid var(--border);
  }
  .gallery-item span { font-size: 12px; color: var(--text-muted); font-style: normal; }

  /* ---- CTA BAND ---- */
  .cta-band {
    background: linear-gradient(135deg, var(--blue) 0%, #0f4d2a 100%);
    padding: 64px 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .cta-band::before {
    content: '';
    position: absolute;
    top: -50%; left: -20%;
    width: 60vw; height: 200%;
    background: rgba(255,255,255,0.03);
    transform: rotate(-15deg);
  }
  .cta-band h2 {
    font-family: 'Inter', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
  }
  .cta-band p {
    color: rgba(255,255,255,0.75);
    font-size: 16px;
    margin-bottom: 2rem;
    font-weight: 300;
    position: relative;
  }
  .cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

  /* ---- CONTACT ---- */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
  }
  .contact-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 1.75rem;
  }
  .contact-icon-wrap {
    width: 44px; height: 44px;
    background: var(--blue-light);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
  }
  .contact-info-item h4 { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
  .contact-info-item p { font-size: 15px; color: var(--text); line-height: 1.5; }
  .contact-form { display: flex; flex-direction: column; gap: 1rem; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .form-group { display: flex; flex-direction: column; gap: 5px; }
  .form-group label { font-size: 13px; font-weight: 500; color: var(--text-muted); }
  .form-group input, .form-group select, .form-group textarea {
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.2s;
    outline: none;
    resize: vertical;
  }
  .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--blue);
  }
  .form-submit {
    background: var(--blue);
    color: #fff;
    border: none;
    padding: 13px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
  }
  .form-submit:hover { background: var(--blue-mid); }

  /* ---- FOOTER ---- */
  footer {
    background: #0d1f13;
    color: rgba(255,255,255,0.7);
    padding: 3rem 2rem 1.5rem;
  }
  .footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .footer-brand strong {
    font-family: 'Inter', serif;
    font-size: 17px;
    color: #fff;
    display: block;
    margin-bottom: 0.75rem;
  }
  .footer-brand p { font-size: 13px; line-height: 1.7; margin-bottom: 1rem; }
  .footer-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-bright); margin-bottom: 1rem; font-weight: 600; }
  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 8px; }
  .footer-col ul li a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 13px; transition: color 0.2s; }
  .footer-col ul li a:hover { color: #fff; }
  .footer-social { display: flex; gap: 10px; margin-top: 1rem; }
  .social-btn {
    width: 34px; height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
  }
  .social-btn:hover { background: var(--blue); color: #fff; }
  .footer-bottom {
    max-width: 1100px;
    margin: 1.5rem auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  /* ---- MOBILE ---- */
  @media (max-width: 768px) {
    .about-grid, .notices-grid, .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
    .topbar-left .hide-mobile { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .hero-stat strong { font-size: 1.5rem; }
  }