/* Elliniki Engineering Academy - Main Stylesheet */
:root {
    --primary: #003c8f;
    --primary-dark: #002659;
    --primary-light: #1a5cb0;
    --accent: #c8a96a;
    --accent-dark: #a88748;
    --gold: #d4af37;
    --bg: #ffffff;
    --bg-alt: #f5f7fa;
    --bg-dark: #0a1f3d;
    --text: #1a1a1a;
    --text-muted: #5a6271;
    --border: #e1e6ec;
    --success: #2e7d32;
    --error: #c62828;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --radius: 6px;
    --radius-lg: 12px;
    --font-serif: 'Playfair Display', 'Times New Roman', Georgia, serif;
    --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --container: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--text);
    line-height: 1.65;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-dark); }
ul { list-style: none; }

h1, h2, h3, h4, h5 {
    font-family: var(--font-serif);
    color: var(--primary-dark);
    line-height: 1.25;
    font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .8em; }
h3 { font-size: 1.35rem; margin-bottom: .5em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== Top Bar ===== */
.topbar {
    background: var(--primary-dark);
    color: #cbd6e2;
    font-size: .82rem;
    padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.topbar a { color: #cbd6e2; }
.topbar a:hover { color: var(--gold); }
.topbar-info span { margin-right: 18px; }
.topbar-info svg { vertical-align: -2px; margin-right: 4px; }
.topbar-links { display: flex; gap: 16px; align-items: center; }
.lang-switch button {
    background: transparent;
    border: 1px solid #4a5b75;
    color: #cbd6e2;
    padding: 2px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: .78rem;
    margin-left: 4px;
}
.lang-switch button:hover, .lang-switch button.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ===== Header / Nav ===== */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 14px; }
.logo-img {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-family: var(--font-serif);
    font-weight: bold;
    font-size: 1.4rem;
    flex-shrink: 0;
    border: 2px solid var(--gold);
}
.logo-text h1 { font-size: 1.15rem; color: var(--primary-dark); line-height: 1.15; margin: 0; }
.logo-text p { font-size: .72rem; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; margin: 2px 0 0; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > ul { display: flex; align-items: center; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
    color: var(--text);
    padding: 12px 14px;
    display: block;
    font-weight: 500;
    font-size: .92rem;
    border-bottom: 3px solid transparent;
}
.main-nav > ul > li > a:hover, .main-nav > ul > li.active > a {
    color: var(--primary);
    border-bottom-color: var(--accent);
}
.dropdown { position: absolute; top: 100%; left: 0; background: #fff; min-width: 240px; box-shadow: var(--shadow-lg); border-top: 3px solid var(--accent); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s; padding: 8px 0; z-index: 99; }
.main-nav li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 9px 18px; color: var(--text); font-size: .9rem; border-left: 3px solid transparent; }
.dropdown a:hover { background: var(--bg-alt); border-left-color: var(--accent); color: var(--primary); }

.nav-cta {
    margin-left: 12px;
    background: var(--accent);
    color: #fff !important;
    padding: 9px 18px !important;
    border-radius: var(--radius);
    font-weight: 600;
    border: none !important;
}
.nav-cta:hover { background: var(--accent-dark); color: #fff !important; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 28px; height: 3px; background: var(--primary); margin: 5px 0; transition: .3s; }

/* ===== Hero ===== */
.hero {
    position: relative;
    height: 580px;
    background: linear-gradient(135deg, rgba(0,38,89,0.85) 0%, rgba(0,60,143,0.7) 100%), url('https://images.unsplash.com/photo-1555993539-1732b0258235?w=1920&q=80') center/cover;
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(transparent, var(--bg));
    pointer-events: none;
}
.hero-content { max-width: 760px; position: relative; z-index: 2; }
.hero .eyebrow { color: var(--gold); letter-spacing: 4px; text-transform: uppercase; font-size: .85rem; font-weight: 600; margin-bottom: 16px; }
.hero h1 { color: #fff; margin-bottom: 22px; font-weight: 700; letter-spacing: -.5px; }
.hero p { font-size: 1.15rem; margin-bottom: 32px; opacity: .95; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .25s;
    text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline:hover { background: #fff; color: var(--primary-dark); border-color: #fff; }
.btn-dark { background: var(--primary-dark); color: #fff; }
.btn-dark:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--primary-dark); border-color: var(--border); }
.btn-light:hover { background: var(--bg-alt); }

/* ===== Sections ===== */
section { padding: 80px 0; }
.section-eyebrow { color: var(--accent-dark); letter-spacing: 3px; text-transform: uppercase; font-size: .8rem; font-weight: 600; display: block; margin-bottom: 10px; }
.section-title { text-align: center; margin-bottom: 56px; }
.section-title h2 { margin-bottom: 14px; }
.section-title p { color: var(--text-muted); font-size: 1.05rem; max-width: 700px; margin: 0 auto; }

.section-divider { width: 60px; height: 3px; background: var(--accent); margin: 16px auto 0; }

/* ===== Stats ===== */
.stats {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
    padding: 60px 0;
    position: relative;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item .stat-num { font-family: var(--font-serif); font-size: 3rem; color: var(--gold); font-weight: 700; line-height: 1; }
.stat-item p { margin-top: 8px; opacity: .9; font-size: .95rem; letter-spacing: 1px; text-transform: uppercase; }

/* ===== Programs Cards ===== */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all .3s;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.card-img { height: 200px; overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.06); }
.card-img .tag { position: absolute; top: 14px; left: 14px; background: var(--accent); color: #fff; padding: 4px 10px; border-radius: 3px; font-size: .75rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; z-index: 2; }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { color: var(--primary-dark); margin-bottom: 10px; }
.card-meta { font-size: .8rem; color: var(--text-muted); margin-bottom: 12px; }
.card-meta span { margin-right: 12px; }
.card-body p { color: var(--text-muted); margin-bottom: 16px; flex: 1; font-size: .95rem; }
.card-link { color: var(--accent-dark); font-weight: 600; font-size: .88rem; align-self: flex-start; letter-spacing: 1px; text-transform: uppercase; }
.card-link::after { content: ' →'; transition: margin .2s; display: inline-block; margin-left: 4px; }
.card-link:hover::after { margin-left: 10px; }

/* ===== News Section ===== */
.news-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.news-featured { grid-row: span 2; }
.news-featured .card-img { height: 100%; min-height: 380px; }
.news-featured { display: flex; flex-direction: column; }
.news-featured .card-body { padding: 28px; }
.news-featured h3 { font-size: 1.55rem; }

@media (max-width: 900px) {
    .news-grid { grid-template-columns: 1fr; }
    .news-featured { grid-row: auto; }
    .news-featured .card-img { min-height: 220px; height: 220px; }
}

/* ===== About / Mission ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.split h2 { text-align: left; }
.split .section-eyebrow { text-align: left; }
.split ul.feature-list { margin-top: 22px; }
.split ul.feature-list li { padding: 10px 0 10px 32px; position: relative; color: var(--text); }
.split ul.feature-list li::before { content: '✓'; position: absolute; left: 0; top: 8px; width: 22px; height: 22px; background: var(--accent); color: #fff; border-radius: 50%; text-align: center; line-height: 22px; font-size: .8rem; font-weight: bold; }

/* ===== Page Hero (sub pages) ===== */
.page-hero {
    background: linear-gradient(rgba(0,38,89,0.75), rgba(0,38,89,0.85)), url('https://images.unsplash.com/photo-1498855592-0a67d7e3a06d?w=1920&q=80') center/cover;
    color: #fff;
    padding: 110px 0 80px;
    text-align: center;
    position: relative;
}
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { font-size: 1.1rem; opacity: .9; max-width: 720px; margin: 0 auto; }
.breadcrumbs { font-size: .85rem; opacity: .8; margin-bottom: 22px; }
.breadcrumbs a { color: var(--gold); }
.breadcrumbs span { margin: 0 8px; }

/* ===== Two-column layout ===== */
.layout { display: grid; grid-template-columns: 1fr 280px; gap: 50px; }
.layout-content h2 { color: var(--primary-dark); margin-top: 32px; }
.layout-content h2:first-child { margin-top: 0; }
.layout-content h3 { color: var(--primary); margin-top: 26px; }
.layout-content p, .layout-content li { margin-bottom: 14px; color: var(--text); line-height: 1.8; }
.layout-content ul, .layout-content ol { padding-left: 22px; margin-bottom: 18px; }
.layout-content ul li, .layout-content ol li { list-style: disc; }
.layout-content ol li { list-style: decimal; }
.sidebar { background: var(--bg-alt); padding: 24px; border-radius: var(--radius-lg); border-top: 4px solid var(--accent); height: fit-content; position: sticky; top: 110px; }
.sidebar h4 { color: var(--primary-dark); margin-bottom: 14px; font-family: var(--font-serif); font-size: 1.15rem; }
.sidebar ul li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.sidebar ul li:last-child { border-bottom: none; }
.sidebar ul li a { font-size: .9rem; color: var(--text); }
.sidebar ul li a:hover { color: var(--accent-dark); }

@media (max-width: 900px) {
    .layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
}

/* ===== Tables ===== */
table { width: 100%; border-collapse: collapse; margin: 20px 0; background: #fff; box-shadow: var(--shadow-sm); border-radius: var(--radius); overflow: hidden; }
table th { background: var(--primary-dark); color: #fff; padding: 14px 16px; text-align: left; font-weight: 600; }
table td { padding: 12px 16px; border-bottom: 1px solid var(--border); }
table tr:hover td { background: var(--bg-alt); }
table tr:last-child td { border-bottom: none; }

/* ===== Accordion ===== */
.accordion-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; background: #fff; }
.accordion-header { padding: 16px 20px; cursor: pointer; font-weight: 600; color: var(--primary-dark); display: flex; justify-content: space-between; align-items: center; background: #fff; }
.accordion-header:hover { background: var(--bg-alt); }
.accordion-header::after { content: '+'; font-size: 1.4rem; color: var(--accent); transition: transform .2s; }
.accordion-item.open .accordion-header::after { transform: rotate(45deg); }
.accordion-body { padding: 0 20px; max-height: 0; overflow: hidden; transition: all .3s; }
.accordion-item.open .accordion-body { padding: 0 20px 20px; max-height: 1000px; }

/* ===== Login ===== */
.login-wrap { min-height: calc(100vh - 200px); display: flex; align-items: center; padding: 60px 24px; background: linear-gradient(135deg, var(--bg-alt) 0%, #e8eef5 100%); }
.login-box { max-width: 460px; margin: 0 auto; background: #fff; padding: 44px 38px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; border-top: 4px solid var(--accent); }
.login-box h2 { text-align: center; margin-bottom: 8px; color: var(--primary-dark); }
.login-box .sub { text-align: center; color: var(--text-muted); margin-bottom: 28px; font-size: .92rem; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; color: var(--text); font-size: .9rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color .2s;
    background: #fff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,60,143,0.1); }
.form-group small { color: var(--text-muted); font-size: .82rem; }
.login-actions { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; margin: 20px 0; }
.login-actions label { display: flex; align-items: center; gap: 6px; color: var(--text-muted); cursor: pointer; }
.login-actions a { color: var(--primary); }
.btn-block { width: 100%; padding: 14px; }
.login-divider { text-align: center; margin: 22px 0 14px; color: var(--text-muted); font-size: .8rem; position: relative; }
.login-divider::before, .login-divider::after { content: ''; position: absolute; top: 50%; width: calc(50% - 30px); height: 1px; background: var(--border); }
.login-divider::before { left: 0; } .login-divider::after { right: 0; }
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: .9rem; display: none; align-items: center; gap: 10px; }
.alert.show { display: flex; }
.alert-error { background: #fde8e8; color: var(--error); border-left: 4px solid var(--error); }
.alert-info { background: #e3f2fd; color: var(--primary); border-left: 4px solid var(--primary); }
.portal-tabs { display: flex; gap: 0; margin-bottom: 26px; border-bottom: 2px solid var(--border); }
.portal-tabs a { flex: 1; text-align: center; padding: 12px; color: var(--text-muted); font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.portal-tabs a.active { color: var(--primary); border-bottom-color: var(--accent); }

/* ===== Footer ===== */
.site-footer {
    background: var(--bg-dark);
    color: #b8c5d6;
    padding: 70px 0 0;
    margin-top: 60px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-grid h4 { color: #fff; font-family: var(--font-serif); margin-bottom: 18px; font-size: 1.05rem; letter-spacing: .5px; }
.footer-about p { font-size: .9rem; line-height: 1.7; margin-bottom: 16px; }
.footer-grid ul li { padding: 5px 0; }
.footer-grid ul li a { color: #b8c5d6; font-size: .9rem; transition: padding .2s; }
.footer-grid ul li a:hover { color: var(--gold); padding-left: 6px; }
.footer-contact p { font-size: .9rem; margin-bottom: 10px; line-height: 1.6; }
.footer-contact strong { color: #fff; }
.social-icons { display: flex; gap: 10px; margin-top: 18px; }
.social-icons a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,.07);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #b8c5d6;
    transition: all .25s;
}
.social-icons a:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 22px 0;
    text-align: center;
    font-size: .85rem;
    color: #8595a8;
}
.footer-bottom a { color: #b8c5d6; }
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom .links { margin-top: 6px; }
.footer-bottom .links a { margin: 0 10px; }

/* ===== CTA Banner ===== */
.cta-banner {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%; left: -10%;
    width: 70%; height: 200%;
    background: rgba(255,255,255,.05);
    transform: rotate(15deg);
}
.cta-banner h2 { color: #fff; margin-bottom: 14px; }
.cta-banner p { font-size: 1.1rem; margin-bottom: 24px; opacity: .95; }

/* ===== Event List ===== */
.event-list { display: flex; flex-direction: column; gap: 18px; }
.event-item { background: #fff; border-radius: var(--radius-lg); padding: 22px; display: grid; grid-template-columns: 90px 1fr auto; gap: 22px; align-items: center; border: 1px solid var(--border); transition: all .25s; }
.event-item:hover { box-shadow: var(--shadow-md); border-color: var(--accent); transform: translateX(4px); }
.event-date { text-align: center; padding: 12px 0; background: var(--bg-alt); border-radius: var(--radius); }
.event-date .day { display: block; font-family: var(--font-serif); font-size: 1.9rem; color: var(--primary-dark); font-weight: 700; line-height: 1; }
.event-date .month { font-size: .75rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent-dark); font-weight: 600; margin-top: 4px; }
.event-info h3 { font-size: 1.1rem; margin-bottom: 6px; }
.event-info p { color: var(--text-muted); font-size: .9rem; margin-bottom: 4px; }
.event-info .meta { font-size: .82rem; color: var(--text-muted); }
.event-info .meta span { margin-right: 14px; }

/* ===== Faculty grid ===== */
.faculty-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.faculty-card { text-align: center; }
.faculty-card .photo { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-bottom: 14px; border: 4px solid #fff; box-shadow: var(--shadow-md); }
.faculty-card h4 { color: var(--primary-dark); font-family: var(--font-serif); margin-bottom: 4px; }
.faculty-card p { font-size: .85rem; color: var(--text-muted); }
.faculty-card .title { color: var(--accent-dark); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* ===== Pagination ===== */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination a, .pagination span { padding: 9px 14px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); font-size: .9rem; color: var(--text); min-width: 40px; text-align: center; }
.pagination a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .current { background: var(--primary-dark); color: #fff; border-color: var(--primary-dark); }

/* ===== Map placeholder ===== */
.map-wrap { background: var(--bg-alt); border-radius: var(--radius-lg); overflow: hidden; height: 400px; box-shadow: var(--shadow-sm); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ===== Contact form ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.contact-info-card { background: var(--primary-dark); color: #fff; padding: 36px; border-radius: var(--radius-lg); }
.contact-info-card h3 { color: #fff; margin-bottom: 20px; }
.contact-info-card .item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-info-card .item-icon { background: var(--accent); width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-card .item h4 { color: var(--gold); font-family: var(--font-serif); margin-bottom: 4px; font-size: 1rem; }
.contact-info-card .item p { font-size: .9rem; opacity: .9; line-height: 1.6; }

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* ===== Animations ===== */
.shake { animation: shake .4s ease; }
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-8px); }
    40%, 80% { transform: translateX(8px); }
}
.reveal { opacity: 0; transform: translateY(20px); transition: all .7s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }

.form-message { display: none; padding: 14px 16px; border-radius: var(--radius); background: #e8f5e9; color: var(--success); border-left: 4px solid var(--success); margin-bottom: 16px; font-size: .92rem; }
.form-message.show { display: block; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .faculty-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .split { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid var(--border); padding: 14px 0; flex-direction: column; box-shadow: var(--shadow-md); }
    .main-nav.open { display: flex; }
    .main-nav > ul { flex-direction: column; width: 100%; }
    .main-nav > ul > li { width: 100%; }
    .main-nav > ul > li > a { padding: 12px 24px; }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 24px; display: none; }
    .main-nav li:hover .dropdown { display: block; }
    .nav-cta { margin: 12px 24px; display: block; text-align: center; }
    .hero { height: 480px; }
    .hero p { font-size: 1rem; }
    section { padding: 60px 0; }
    .cards-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item .stat-num { font-size: 2.4rem; }
    .topbar-info span { display: block; margin-bottom: 4px; }
    .faculty-grid { grid-template-columns: 1fr 1fr; }
    .event-item { grid-template-columns: 70px 1fr; }
    .event-item > a.btn { grid-column: 1 / -1; }
}
