@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&family=Montserrat:wght@300;400;600;700;800;900&display=swap');

/* ═══════════════════════════════════════
   VARIABLES & RESET
═══════════════════════════════════════ */
:root {
    --navy:       #002147;
    --blue:       #003f8a;
    --mid-blue:   #0056b3;
    --gold:       #FFC107;
    --gold-dark:  #e6ac00;
    --white:      #ffffff;
    --off-white:  #f5f7fa;
    --text:       #1a1a2e;
    --text-light: #555;
    --border:     #e0e6ef;
    --shadow-sm:  0 2px 10px rgba(0,0,0,0.08);
    --shadow-md:  0 6px 30px rgba(0,0,0,0.14);
    --shadow-lg:  0 20px 60px rgba(0,0,0,0.20);
    --radius:     10px;
    --transition: all 0.28s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}
[dir="rtl"] body { font-family: 'Tajawal', sans-serif; }

.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════════════════════════════════
   TOP ACCENT BAR
═══════════════════════════════════════ */
.top-accent-bar {
    background: var(--navy);
    color: rgba(255,255,255,0.75);
    font-size: 12px;
    padding: 6px 0;
}
.top-accent-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.esol-label { letter-spacing: .3px; }
.esol-label strong { color: var(--gold); }

.lang-switcher { display: flex; align-items: center; gap: 4px; }
.lang-switcher a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    padding: 2px 5px;
    border-radius: 3px;
    transition: var(--transition);
    font-weight: 600;
    letter-spacing: .5px;
}
.lang-switcher a:hover,
.lang-switcher .lang-active { color: var(--gold); }
.lang-sep { opacity: .4; }

/* ═══════════════════════════════════════
   SITE HEADER — WHITE
═══════════════════════════════════════ */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1100;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 20px;
}

/* Brand: logo + name */
.header-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    flex-shrink: 0;
}
.header-logo {
    height: 72px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}
.header-title-block {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}
.header-short-name {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: .5px;
}
.header-full-name {
    font-size: 0.78rem;
    color: var(--blue);
    font-weight: 500;
    max-width: 340px;
    line-height: 1.35;
    margin-top: 2px;
}

/* Action buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.hbtn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    border: 2px solid transparent;
}
.hbtn-apply {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}
.hbtn-apply:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255,193,7,0.35);
}
.hbtn-login {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
.hbtn-login:hover {
    background: var(--blue);
    border-color: var(--blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.hbtn-alumni {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue);
}
.hbtn-alumni:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
}

.hbtn-careers {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}
.hbtn-careers:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.mobile-toggle span {
    width: 26px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: var(--transition);
}

/* RTL header */
[dir="rtl"] .header-inner { flex-direction: row-reverse; }
[dir="rtl"] .header-brand { flex-direction: row-reverse; }
[dir="rtl"] .header-title-block { align-items: flex-end; }
[dir="rtl"] .header-actions { flex-direction: row-reverse; }

/* ═══════════════════════════════════════
   MAIN NAVIGATION — DARK BLUE
═══════════════════════════════════════ */
.main-nav {
    background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 100%);
    position: sticky;
    top: 101px; /* below header */
    z-index: 1000;
    box-shadow: 0 4px 16px rgba(0,0,0,0.22);
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-item > .nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 700;
    padding: 16px 20px;
    text-transform: uppercase;
    letter-spacing: .6px;
    transition: var(--transition);
    white-space: nowrap;
}
.nav-item > a { /* fallback for plain <a> */
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 700;
    padding: 16px 20px;
    text-transform: uppercase;
    letter-spacing: .6px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-item:hover > a,
.nav-item:hover > .nav-link {
    color: var(--gold);
    background: rgba(255,255,255,0.07);
}

.nav-arrow {
    font-size: 9px;
    opacity: .6;
    transition: transform .25s;
}
.nav-item:hover .nav-arrow { transform: rotate(-180deg); }

/* ── Vertical Dropdown ── */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: var(--white);
    border-top: 3px solid var(--gold);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-md);
    list-style: none;
    padding: 6px 0;
    z-index: 2000;
    flex-direction: column; /* always vertical */
    animation: dropIn .2s ease;
}
@keyframes dropIn {
    from { opacity:0; transform:translateY(-8px); }
    to   { opacity:1; transform:translateY(0); }
}
[dir="rtl"] .dropdown-menu { left: auto; right: 0; }

.nav-item:hover .dropdown-menu,
.has-dropdown:hover .dropdown-menu { display: flex; }

.dropdown-menu li {
    border-bottom: 1px solid var(--border);
}
.dropdown-menu li:last-child { border-bottom: none; }

.dropdown-menu li a {
    display: block;
    padding: 11px 20px;
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    transition: var(--transition);
    white-space: nowrap;
}
.dropdown-menu li a:hover {
    background: var(--off-white);
    color: var(--blue);
    padding-left: 28px;
}
[dir="rtl"] .dropdown-menu li a:hover { padding-left: 20px; padding-right: 28px; }

/* RTL nav */
[dir="rtl"] .nav-list { flex-direction: row-reverse; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    color: var(--white);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    margin-bottom: 18px;
    font-size: 15px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
    padding-bottom: 5px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

/* ═══════════════════════════════════════
   HOMEPAGE COMPONENTS
═══════════════════════════════════════ */

/* Hero */
.hero-section {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #001529 0%, #002f6c 50%, #0056b3 100%);
    color: var(--white);
}
.hero-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,193,7,0.18) 0%, transparent 70%);
}
.hero-orb-1 { width:600px; height:600px; top:-150px; right:-150px; animation: orbFloat 8s ease-in-out infinite; }
.hero-orb-2 { width:350px; height:350px; bottom:-80px; left:5%; animation: orbFloat 11s ease-in-out infinite reverse; }
.hero-orb-3 { width:250px; height:250px; top:40%; left:30%; background:radial-gradient(circle,rgba(255,255,255,0.06) 0%,transparent 70%); animation: orbFloat 9s ease-in-out 2s infinite; }
@keyframes orbFloat {
    0%,100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-30px) scale(1.05); }
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 0;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,193,7,0.15);
    border: 1px solid rgba(255,193,7,0.4);
    color: var(--gold);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: fadeUp .7s ease both;
}
.hero-badge::before { content:'★'; font-size:10px; }

.hero-school-name {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 2px 20px rgba(0,0,0,0.35);
    animation: fadeUp .7s .1s ease both;
    display: block;
    padding-bottom: 14px;
    position: relative;
}
.hero-school-name::after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: var(--gold, #FFC107);
    margin: 12px auto 0;
    border-radius: 2px;
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.3);
    animation: fadeUp .7s .3s ease both;
}
.hero-title span { color: var(--gold); }
.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,.8);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeUp .7s .4s ease both;
}
.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp .7s .5s ease both;
}
.btn-primary {
    background: var(--gold);
    color: var(--navy);
    padding: 16px 44px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 6px 24px rgba(255,193,7,0.4);
    letter-spacing: .4px;
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-3px); box-shadow: 0 10px 32px rgba(255,193,7,0.5); }
.btn-outline {
    background: transparent;
    color: var(--white);
    padding: 16px 44px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,.45);
    transition: var(--transition);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); transform: translateY(-3px); }

@keyframes fadeUp {
    from { opacity:0; transform:translateY(30px); }
    to   { opacity:1; transform:translateY(0); }
}

/* Stats Strip */
.stats-strip {
    background: var(--gold);
    padding: 0;
}
.stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}
.stat-item {
    padding: 26px 20px;
    border-right: 1px solid rgba(0,0,0,0.1);
    transition: var(--transition);
}
.stat-item:last-child { border-right: none; }
[dir="rtl"] .stat-item { border-right: none; border-left: 1px solid rgba(0,0,0,0.1); }
[dir="rtl"] .stat-item:last-child { border-left: none; }
.stat-item:hover { background: rgba(0,0,0,0.05); }
.stat-number {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 4px;
}
.stat-label {
    font-size: 12px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* Section utility */
.section { padding: 80px 0; }
.section-alt { background: var(--off-white); }
.section-dark {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    color: var(--white);
}
.section-header { text-align: center; margin-bottom: 55px; }
.section-header .eyebrow {
    display: inline-block;
    background: rgba(255,193,7,0.15);
    color: var(--gold-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 14px;
    border: 1px solid rgba(255,193,7,0.3);
}
.section-dark .section-header .eyebrow { color: var(--gold); }
.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 14px;
    line-height: 1.2;
}
.section-dark .section-header h2 { color: var(--white); }
.section-header p {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.75;
}
.section-dark .section-header p { color: rgba(255,255,255,0.75); }

/* Division Cards */
.divisions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.division-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.division-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.division-card-top {
    padding: 44px 36px;
    color: var(--white);
}
.division-card-top.national { background: linear-gradient(135deg, var(--navy), var(--blue)); }
.division-card-top.american { background: linear-gradient(135deg, #7a5800, var(--gold)); color: var(--navy); }
.division-icon { font-size: 3rem; margin-bottom: 16px; display: block; }
.division-card-top h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.division-card-top p { font-size: 14px; line-height: 1.7; opacity: .85; }
.division-card-bottom {
    padding: 24px 36px;
    background: var(--white);
    display: flex;
    gap: 12px;
    align-items: center;
}
.btn-card-national {
    background: var(--navy);
    color: var(--white);
    padding: 11px 26px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: var(--transition);
}
.btn-card-national:hover { background: var(--blue); }
.btn-card-american {
    background: var(--gold);
    color: var(--navy);
    padding: 11px 26px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: var(--transition);
}
.btn-card-american:hover { background: var(--gold-dark); }

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
    gap: 14px;
}
.gallery-grid .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}
.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #dde3ec;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity .3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption {
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.gallery-empty {
    grid-column: span 3;
    text-align: center;
    padding: 70px 20px;
    color: #999;
    background: var(--off-white);
    border-radius: 14px;
    border: 2px dashed var(--border);
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.video-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.video-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.video-embed {
    position: relative;
    padding-top: 56.25%;
    background: #111;
}
.video-embed iframe,
.video-embed video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.video-info { padding: 18px 20px; }
.video-info h4 { color: var(--navy); font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.video-info p  { color: var(--text-light); font-size: 13px; line-height: 1.6; }

/* News & Events */
.news-events-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.block-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 28px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--gold);
    display: flex;
    align-items: center;
    gap: 10px;
}
.news-card {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
}
.news-card:last-child { border-bottom: none; }
.news-img {
    width: 90px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}
.news-body {}
.news-tag {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    font-size: 10px;
    padding: 2px 9px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.news-body h4 { font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.4; margin-bottom: 4px; }
.news-body h4 a { color: var(--navy); text-decoration: none; }
.news-body h4 a:hover { color: var(--blue); }
.news-body small { color: #aaa; font-size: 11px; }

.event-item {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
    background: var(--off-white);
    padding: 16px;
    border-radius: 10px;
    border-left: 4px solid var(--navy);
    transition: var(--transition);
}
.event-item:hover { background: #edf2fb; }
[dir="rtl"] .event-item { border-left: none; border-right: 4px solid var(--navy); }
.event-date-box {
    background: var(--navy);
    color: var(--white);
    border-radius: 8px;
    text-align: center;
    padding: 12px 14px;
    min-width: 58px;
    flex-shrink: 0;
}
.event-day  { display: block; font-size: 1.5rem; font-weight: 900; line-height: 1; }
.event-mon  { display: block; font-size: 11px; text-transform: uppercase; opacity: .8; }
.event-body h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; line-height: 1.3; }
.event-body p  { font-size: 12px; color: var(--text-light); }
.event-body .loc { font-size: 11px; color: #aaa; margin-top: 3px; }

.view-all { color: var(--blue); font-weight: 700; font-size: 13px; text-decoration: none; }
.view-all:hover { color: var(--navy); text-decoration: underline; }

/* Why MMIS Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}
.feature-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 32px 26px;
    text-align: center;
    transition: var(--transition);
}
.feature-card:hover { background: rgba(255,255,255,0.15); transform: translateY(-5px); }
.feature-icon { font-size: 2.8rem; margin-bottom: 16px; display: block; }
.feature-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; color: var(--white); }
.feature-card p  { font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.65; }

/* Lightbox */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#lightbox.open { display: flex; animation: fadeIn .25s ease; }
@keyframes fadeIn { from {opacity:0} to {opacity:1} }
#lightbox-img {
    max-width: 90%;
    max-height: 78vh;
    border-radius: 12px;
    box-shadow: 0 0 60px rgba(0,0,0,.5);
}
#lightbox-caption {
    color: rgba(255,255,255,.85);
    margin-top: 16px;
    font-size: 14px;
    text-align: center;
    max-width: 600px;
}
.lb-close {
    position: absolute;
    top: 20px;
    right: 28px;
    background: rgba(255,255,255,.1);
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}
.lb-close:hover { background: rgba(255,255,255,.2); }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 992px) {
    .divisions-grid { grid-template-columns: 1fr; }
    .news-events-grid { grid-template-columns: 1fr; }
    .stats-inner { grid-template-columns: repeat(2,1fr); }
    .gallery-grid { grid-template-columns: repeat(2,1fr); }
    .gallery-grid .gallery-item:nth-child(1) { grid-column: span 1; grid-row: span 1; }
}

@media (max-width: 768px) {
    .header-full-name { display: none; }
    .header-actions .hbtn-alumni { display: none; }
    .mobile-toggle { display: flex; }

    .main-nav { top: 72px; }
    .nav-list {
        flex-direction: column;
        display: none;
        background: var(--navy);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        box-shadow: var(--shadow-md);
    }
    .nav-list.nav-open { display: flex; }
    .dropdown-menu { position: static; box-shadow: none; border-top: none; background: rgba(0,0,0,0.15); }
    .nav-item:hover .dropdown-menu, .has-dropdown:hover .dropdown-menu { display: none; }
    .has-dropdown.open .dropdown-menu { display: flex; }
    .has-dropdown .nav-link { cursor: pointer; }

    .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
    .stats-inner { grid-template-columns: repeat(2,1fr); }
    .hero-section { min-height: 70vh; }
}

@media (max-width: 480px) {
    .header-actions .hbtn-login { display: none; }
    .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
    .stats-inner { grid-template-columns: 1fr 1fr; }
}
