  :root {
    --navy: #0d1b4b;
    --blue: #1a3a8f;
    --sky: #1e90e8;
    --red: #e32b2b;
    --yellow: #f7c948;
    --green: #22c55e;
    --white: #ffffff;
    --light: #f0f5ff;
    --text: #1a1a2e;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    font-family: 'Nunito', sans-serif;
    background: var(--white);
    color: var(--text);
    overflow-x: hidden;
  }

  /* ── NAV ── */
  nav {
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 6%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,.4);
    border-bottom: 3px solid #FFC107;
  }

  .nav-logo {
    display: flex;
    align-items: center;
    gap: 0px;
    min-width: 0;
  }
  .nav-logo img {
    max-width: 100px;
    flex-shrink: 0;
  }
  .logo-circle {
    width: 54px; height: 54px;
    border-radius: 50%;
    background: conic-gradient(#f7c948 0deg 120deg, #e32b2b 120deg 240deg, #1e90e8 240deg 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: var(--white);
    text-align: center;
    letter-spacing: .5px;
    line-height: 1.2;
    box-shadow: 0 0 0 3px rgba(247,201,72,.4);
    flex-shrink: 0;
  }

  .logo-text h1 {
    font-family: 'Baloo 2', cursive;
    font-size: 32px;
    font-weight: 800;
    color: var(--yellow);
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .logo-text p {
    font-size: 14px;
    color: #a0b4d6;
    letter-spacing: .5px;
    white-space: nowrap;
  }

  /* Desktop nav links */
  .nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    align-items: center;
  }

  .nav-links a {
    color: #c8d8f5;
    text-decoration: none;
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .5px;
    transition: color .2s;
  }

  .nav-links a:hover { color: var(--yellow); }

  .nav-cta {
    background: var(--red);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 800 !important;
    transition: background .2s, transform .2s !important;
  }

  .nav-cta:hover { background: #c41e1e !important; transform: scale(1.05); }

  /* ── HAMBURGER ── */
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border: none;
    background: none;
    z-index: 1100;
    flex-shrink: 0;
  }

  .hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--yellow);
    border-radius: 3px;
    transition: all .3s ease;
  }

  .hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* Mobile menu overlay */
  .mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(13,27,75,.97);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
  }

  .mobile-menu.open { display: flex; }

  .mobile-menu a {
    color: #c8d8f5;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    padding: 14px 40px;
    border-radius: 50px;
    width: 100%;
    max-width: 300px;
    text-align: center;
    transition: background .2s, color .2s;
    border: 1.5px solid rgba(255,255,255,.1);
  }

  .mobile-menu a:hover { background: rgba(255,255,255,.08); color: var(--yellow); }

  .mobile-menu .mobile-cta {
    background: var(--red);
    color: var(--white) !important;
    border-color: var(--red);
    margin-top: 10px;
  }

  /* ── HERO ── */
  .hero {
    background: linear-gradient(135deg, var(--navy) 0%, #162e7a 60%, #1e4db7 100%);
    min-height: 88vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 25px 6% 40px;
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(30,144,232,.18) 0%, transparent 65%);
  }

  .hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 28px 28px;
  }

  .hero-left { position: relative; z-index: 2; }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(247,201,72,.15);
    border: 1.5px solid rgba(247,201,72,.4);
    color: var(--yellow);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 22px;
    animation: fadeUp .6s ease both;
  }

  .hero-badge span { font-size: 1rem; }

  .hero h2 {
    font-family: 'Baloo 2', cursive;
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 12px;
    animation: fadeUp .7s ease .1s both;
  }

  .hero h2 .accent { color: var(--yellow); }
  .hero h2 .accent-red { color: #ff6b6b; }

  .hero-tagline {
    font-size: .82rem;
    color: #a0b8e8;
    margin-bottom: 18px;
    font-style: italic;
    letter-spacing: .5px;
    animation: fadeUp .7s ease .15s both;
  }

  .hero p {
    font-size: 1.05rem;
    color: #c0d4f0;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 480px;
    animation: fadeUp .7s ease .2s both;
  }

  .hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    animation: fadeUp .7s ease .3s both;
  }

  .btn-primary {
    background: var(--yellow);
    color: var(--navy);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 800;
    font-size: .95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 6px 24px rgba(247,201,72,.4);
  }

  .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(247,201,72,.5); }

  .btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,.4);
    transition: border-color .2s, background .2s;
  }

  .btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

  .hero-right {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
    max-width: 420px;
  }

  .hero-card {
    background: rgba(255,255,255,.08);
    border: 1.5px solid rgba(255,255,255,.14);
    border-radius: 20px;
    padding: 24px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform .25s, background .25s;
    animation: popIn .5s ease both;
  }

  .hero-card:nth-child(2) { animation-delay: .1s; }
  .hero-card:nth-child(3) { animation-delay: .2s; }
  .hero-card:nth-child(4) { animation-delay: .3s; }

  .hero-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.14); }

  .card-icon { font-size: 2.4rem; margin-bottom: 10px; }
  .card-title { font-size: .88rem; font-weight: 800; color: var(--white); margin-bottom: 4px; }
  .card-sub { font-size: .73rem; color: #8aabd8; }

  /* ── SUBJECTS BANNER ── */
  .subjects-banner {
    background: var(--yellow);
    padding: 18px 6%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
  }

  .subj-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: .95rem;
    color: var(--navy);
    font-family: 'Baloo 2', cursive;
  }

  .subj-icon { font-size: 1.5rem; }
  .subj-divider { color: var(--navy); opacity: .3; font-size: 1.4rem; }

  /* ── FEATURES ── */
  .section { padding: 80px 6%; }

  .section-tag {
    display: inline-block;
    background: #e8f0ff;
    color: var(--blue);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
  }

  .section-title {
    font-family: 'Baloo 2', cursive;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 10px;
  }

  .section-title .hl { color: var(--sky); }

  .section-sub {
    font-size: 1rem;
    color: #5a6a8a;
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 50px;
  }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .feat-card {
    background: var(--light);
    border-radius: 20px;
    padding: 32px 26px;
    border: 2px solid transparent;
    transition: border-color .25s, transform .25s, box-shadow .25s;
    position: relative;
    overflow: hidden;
  }

  .feat-card::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(30,144,232,.06);
    transform: translate(30px, 30px);
  }

  .feat-card:hover {
    border-color: var(--sky);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(30,144,232,.12);
  }

  .feat-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
  }

  .feat-icon.blue { background: #dbeafe; }
  .feat-icon.red { background: #fee2e2; }
  .feat-icon.green { background: #d1fae5; }
  .feat-icon.yellow { background: #fef9c3; }
  .feat-icon.purple { background: #ede9fe; }
  .feat-icon.orange { background: #ffedd5; }

  .feat-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
  .feat-card p { font-size: .85rem; color: #5a6a8a; line-height: 1.65; }

  /* ── SUBJECTS ── */
  .subjects-section {
    background: var(--navy);
    padding: 80px 6%;
    position: relative;
    overflow: hidden;
  }

  .subjects-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 22px 22px;
  }

  .subjects-section .section-tag { background: rgba(247,201,72,.15); color: var(--yellow); }
  .subjects-section .section-title { color: var(--white); }
  .subjects-section .section-sub { color: #8aabd8; }

  .subjects-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative; z-index: 1;
  }

  .subj-card {
    border-radius: 22px;
    padding: 30px 28px;
    position: relative;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
  }

  .subj-card:hover { transform: scale(1.03); box-shadow: 0 20px 50px rgba(0,0,0,.4); }

  .subj-card.math { background: linear-gradient(135deg, #1e4db7, #1e90e8); }
  .subj-card.hindi { background: linear-gradient(135deg, #b91c1c, #f97316); }
  .subj-card.school_subjects { background: linear-gradient(135deg, #b91c1c, #167bf9); }

  .subj-card-icon { font-size: 3rem; margin-bottom: 14px; }
  .subj-card h3 { font-family: 'Baloo 2', cursive; font-size: 1.7rem; font-weight: 800; color: var(--white); margin-bottom: 8px; }
  .subj-card p { font-size: .88rem; color: rgba(255,255,255,.8); line-height: 1.6; margin-bottom: 18px; }

  .subj-tags { display: flex; flex-wrap: wrap; gap: 8px; }
  .subj-tag {
    background: rgba(255,255,255,.18);
    color: var(--white);
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,.25);
  }

  .subj-card-bg {
    position: absolute;
    right: -20px; bottom: -20px;
    font-size: 7rem;
    opacity: .1;
    line-height: 1;
  }

  /* ── CLASSES SECTION ── */
  .classes-section { padding: 80px 6%; background: var(--light); }

  .classes-row {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .classes-left { flex: 1; min-width: 280px; }
  .classes-right { flex: 1.2; min-width: 280px; }

  .std-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 30px;
  }

  .std-badge {
    background: var(--white);
    border: 2px solid #dce8ff;
    border-radius: 14px;
    padding: 16px 8px;
    text-align: center;
    font-family: 'Baloo 2', cursive;
    font-weight: 800;
    font-size: 1rem;
    color: var(--blue);
    transition: all .2s;
    cursor: default;
  }

  .std-badge span { display: block; font-size: .65rem; color: #7a90b8; font-weight: 700; font-family: 'Nunito', sans-serif; margin-top: 2px; }
  .std-badge:hover { background: var(--blue); color: var(--white); border-color: var(--blue); transform: translateY(-4px); }
  .std-badge:hover span { color: #a0c0ff; }

  .mode-cards { display: flex; flex-direction: column; gap: 14px; }

  .mode-card {
    background: var(--white);
    border-radius: 18px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    border: 2px solid #e4edff;
    transition: border-color .2s, box-shadow .2s;
  }

  .mode-card:hover { border-color: var(--sky); box-shadow: 0 8px 24px rgba(30,144,232,.1); }

  .mode-icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
  }

  .mode-icon.online { background: #dbeafe; }
  .mode-icon.offline { background: #d1fae5; }

  .mode-card h4 { font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
  .mode-card p { font-size: .82rem; color: #5a6a8a; }

  /* ── TESTIMONIALS ── */
  .testimonials { padding: 80px 6%; }

  .testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 40px;
  }

  .testi-card {
    background: var(--white);
    border: 2px solid #e8f0ff;
    border-radius: 20px;
    padding: 28px 24px;
    position: relative;
    transition: box-shadow .25s;
  }

  .testi-card:hover { box-shadow: 0 12px 36px rgba(30,144,232,.1); }

  .testi-quote {
    font-size: 2.5rem;
    color: var(--sky);
    line-height: 1;
    margin-bottom: 10px;
    font-family: 'Baloo 2', cursive;
  }

  .testi-text { font-size: .88rem; color: #3a4a6a; line-height: 1.7; margin-bottom: 18px; }

  .testi-author { display: flex; align-items: center; gap: 12px; }

  .testi-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    flex-shrink: 0;
  }

  .testi-avatar.a1 { background: linear-gradient(135deg, #1e90e8, #0d4fbd); }
  .testi-avatar.a2 { background: linear-gradient(135deg, #e32b2b, #f97316); }
  .testi-avatar.a3 { background: linear-gradient(135deg, #22c55e, #15803d); }

  .testi-name { font-size: .88rem; font-weight: 800; color: var(--navy); }
  .testi-role { font-size: .73rem; color: #7a8faa; }

  .stars { color: var(--yellow); font-size: .9rem; margin-bottom: 8px; }

  /* ── CTA ── */
  .cta-section {
    background: linear-gradient(135deg, #e32b2b, #f97316);
    padding: 70px 6%;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 20px 20px;
  }

  .cta-section h2 {
    font-family: 'Baloo 2', cursive;
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 14px;
    position: relative;
  }

  .cta-section p { font-size: 1.05rem; color: rgba(255,255,255,.85); margin-bottom: 32px; position: relative; }

  .cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    color: var(--red);
    font-family: 'Baloo 2', cursive;
    font-size: 1.6rem;
    font-weight: 800;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 8px 30px rgba(0,0,0,.2);
    position: relative;
  }

  .cta-phone:hover { transform: scale(1.05); box-shadow: 0 16px 40px rgba(0,0,0,.3); }
  .cta-phone .phone-icon { font-size: 1.4rem; }

  /* ── FOOTER ── */
  footer {
    background: var(--navy);
    padding: 50px 6% 28px;
  }

  .footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    margin-bottom: 24px;
  }

  .footer-brand h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--yellow);
    margin-bottom: 6px;
  }

  .footer-brand p { font-size: .82rem; color: #6a80aa; line-height: 1.7; margin-bottom: 16px; }

  .footer-col h4 { font-size: .85rem; font-weight: 800; color: var(--white); margin-bottom: 14px; letter-spacing: 1px; text-transform: uppercase; }

  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 8px; }
  .footer-col ul li a { color: #6a80aa; font-size: .82rem; text-decoration: none; transition: color .2s; }
  .footer-col ul li a:hover { color: var(--yellow); }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .78rem;
    color: #4a5e80;
    flex-wrap: wrap;
    gap: 8px;
  }

  .hindi-text { color: var(--yellow); font-size: .8rem; font-style: italic; margin-top: 4px; }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes popIn {
    from { opacity: 0; transform: scale(.85); }
    to { opacity: 1; transform: scale(1); }
  }

  /* ── STATS BAR ── */
  .stats-bar {
    background: var(--white);
    padding: 36px 6%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    border-bottom: 2px solid var(--light);
    box-shadow: 0 4px 24px rgba(0,0,0,.05);
  }

  .stat-item { text-align: center; }
  .stat-num {
    font-family: 'Baloo 2', cursive;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy);
  }

  .stat-num .stat-color-blue { color: var(--sky); }
  .stat-num .stat-color-red { color: var(--red); }
  .stat-num .stat-color-green { color: var(--green); }
  .stat-num .stat-color-yellow { color: #d4a000; }

  .stat-label { font-size: .8rem; color: #7a90b8; font-weight: 700; }

  /* ════════════════════════════════════════
     TABLET  (≤ 1024px)
  ════════════════════════════════════════ */
  @media (max-width: 1024px) {

    /* Nav */
    .logo-text h1 { font-size: 24px; }
    .logo-text p  { font-size: 12px; }
    .nav-links { gap: 18px; }
    .nav-links a  { font-size: .82rem; }

    /* Hero */
    .hero { padding: 30px 5% 50px; min-height: auto; gap: 30px; }
    .hero h2 { font-size: 2.6rem; }

    /* Features */
    .features-grid { grid-template-columns: repeat(2, 1fr); }

    /* Subjects */
    .subjects-cards { grid-template-columns: repeat(2, 1fr); }

    /* Classes */
    .std-grid { grid-template-columns: repeat(4, 1fr); }

    /* Testimonials */
    .testi-grid { grid-template-columns: repeat(2, 1fr); }

    /* Footer */
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
  }

  /* ════════════════════════════════════════
     SMARTPHONE  (≤ 768px)
  ════════════════════════════════════════ */
  @media (max-width: 768px) {

    /* Nav – show hamburger, hide desktop links */
    nav { padding: 12px 5%; }
    .nav-links { display: none; }
    .hamburger { display: flex; }

    .logo-text h1 { font-size: 18px; letter-spacing: 0; }
    .logo-text p  { display: none; }
    .nav-logo img { max-width: 70px; }
    .logo-circle  { width: 40px; height: 40px; font-size: 9px; }

    /* Hero – single column */
    .hero {
      grid-template-columns: 1fr;
      min-height: auto;
      padding: 40px 5% 50px;
      text-align: center;
    }

    .hero-left {
      order: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .hero-right { order: 2; margin-top: 30px; }

    .hero h2 { font-size: 2rem; }
    .hero p   { font-size: .95rem; max-width: 100%; }
    .hero-btns { justify-content: center; }
    .hero-card-grid { max-width: 340px; gap: 12px; }
    .hero-card { padding: 18px 14px; }
    .card-icon { font-size: 2rem; }

    /* Stats */
    .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 28px 5%; gap: 16px; }
    .stat-num  { font-size: 1.8rem; }

    /* Subjects banner */
    .subjects-banner { gap: 16px; padding: 14px 5%; }
    .subj-divider { display: none; }
    .subj-item { font-size: .85rem; }

    /* Features */
    .section { padding: 50px 5%; }
    .features-grid { grid-template-columns: 1fr; gap: 16px; }
    .section-title { font-size: 1.9rem; }

    /* Subjects section */
    .subjects-section { padding: 50px 5%; }
    .subjects-cards { grid-template-columns: 1fr; gap: 16px; }

    /* Classes */
    .classes-section { padding: 50px 5%; }
    .classes-row { gap: 40px; }
    .std-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .std-badge { padding: 12px 4px; font-size: .85rem; }

    /* Testimonials */
    .testimonials { padding: 50px 5%; }
    .testi-grid { grid-template-columns: 1fr; }

    /* CTA */
    .cta-section { padding: 50px 5%; }
    .cta-section h2 { font-size: 1.8rem; }
    .cta-phone { font-size: 1.2rem; padding: 14px 28px; }

    /* Footer */
    footer { padding: 40px 5% 24px; }
    .footer-top { grid-template-columns: 1fr; gap: 28px; }
    .footer-brand { grid-column: auto; }
    .footer-bottom { flex-direction: column; text-align: center; }
  }

  /* ════════════════════════════════════════
     SMALL SMARTPHONES  (≤ 400px)
  ════════════════════════════════════════ */
  @media (max-width: 400px) {
    .hero h2 { font-size: 1.7rem; }
    .std-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-card-grid { grid-template-columns: repeat(2, 1fr); max-width: 280px; }
    .btn-primary, .btn-secondary { padding: 12px 22px; font-size: .88rem; width: 100%; justify-content: center; }
    .cta-phone { font-size: 1.1rem; padding: 12px 20px; }
  }


/* --- for menu scroll offset  */
  #aboutUs,
#subjects,
#classes,
#contactUs {
    scroll-margin-top: 80px;
}

/* ---footer */
.footer-brand h3{
  text-transform: uppercase;
}

/* SOCIAL MEDIA MENU STYLE START*/




   .main-navbar {
        background: #101e50;
        border-bottom: 3px solid #f5c928;
        padding: 20px 0;
        font-family: Arial, sans-serif;
    }

    .navbar-content {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 25px;
    }

    .navbar-menu {
        display: flex;
        align-items: center;
        gap: 30px;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .navbar-menu li a {
        color: #ffffff;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        transition: color .3s;
    }

    .navbar-menu li a:hover {
        color: #f5c928;
    }

    /* Social Media */
    .social-menu {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .social-menu a {
        width: 34px;
        height: 34px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        border: 1px solid rgba(255,255,255,.45);
        border-radius: 50%;
        color: #ffffff;
        font-size: 15px;
        text-decoration: none;
        transition: all .3s ease;
    }

    .social-menu a:hover {
        background: #ffffff;
        color: #101e50;
        transform: translateY(-3px);
    }

    /* Enrol Button */
    .enrol-btn {
        background: #ed252c;
        color: #ffffff !important;
        padding: 11px 23px;
        border-radius: 25px;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none !important;
        transition: background .3s;
        white-space: nowrap;
    }

    .enrol-btn:hover {
        background: #c91d25;
    }

    /* Responsive */
    @media (max-width: 767px) {
        .navbar-content {
            flex-direction: column;
            gap: 20px;
        }

        .navbar-menu {
            justify-content: center;
            flex-wrap: wrap;
            gap: 18px;
        }

        .social-menu {
            justify-content: center;
        }
    }

    @media (max-width: 400px) {
        .navbar-menu {
            gap: 15px;
        }

        .navbar-menu li a {
            font-size: 13px;
        }
    }
    .social-topbar {
        background: #0d1b4b;
        padding: 5px 25px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .social-topbar .social-links {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        margin-left: auto;
    }

    .social-topbar .social-links a {
        width: 35px;
        height: 35px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255,255,255,0.55);
        border-radius: 50%;
        color: #fff;
        font-size: 15px;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .social-topbar .social-links a:hover {
        background: #fff;
        color: #80610d;
        border-color: #fff;
        transform: translateY(-2px);
    }

    @media(max-width: 480px) {
        .social-topbar {
            padding: 5px 12px;
        }

        .social-topbar .social-links {
            gap: 8px;
        }
    }


/* SOCIAL MEDIA MENU STYLE END */
