/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #003d7a;
    --secondary-color: #0066cc;
    --accent-color: #ffc107;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background:
        radial-gradient(1200px circle at 0% 0%, rgba(0, 102, 204, 0.05), transparent 60%),
        radial-gradient(1200px circle at 100% 100%, rgba(255, 193, 7, 0.05), transparent 60%),
        linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
    position: relative;
}

/* Subtle global grid pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.03) 0, rgba(0, 0, 0, 0.03) 1px, transparent 1px, transparent 40px),
        repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.03) 0, rgba(0, 0, 0, 0.03) 1px, transparent 1px, transparent 40px);
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 768px) {
    body::before {
        opacity: 0.5;
        background-image:
            repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.02) 0, rgba(0, 0, 0, 0.02) 1px, transparent 1px, transparent 32px),
            repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.02) 0, rgba(0, 0, 0, 0.02) 1px, transparent 1px, transparent 32px);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border-radius: 25px;
    box-shadow: var(--shadow);
}

.lang-btn {
    padding: 8px 16px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 14px;
}

.lang-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.lang-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 15px 0;
}

.quick-nav {
    background: linear-gradient(90deg, rgba(0,61,122,0.06), rgba(0,102,204,0.06));
    border-bottom: 1px solid #e9ecef;
}

.quick-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding: 10px 0;
}

.quick-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
}

.quick-nav a:hover { color: var(--secondary-color); }

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-cta {
    margin-left: auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon svg {
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.logo-icon img {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
    /* 确保校徽始终可见 */
    background-color: transparent;
    border: none;
}

.logo-text h1 {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
}

.university-abbr {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
    margin: 0;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    outline-offset: 2px;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav a:hover {
    color: var(--secondary-color);
}

.nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 600px;
    background: 
        linear-gradient(135deg, rgba(0, 61, 122, 0.95) 0%, rgba(0, 102, 204, 0.92) 100%),
        url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?w=1600&h=900&fit=crop') center/cover;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 193, 7, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--white);
    z-index: 1;
    max-width: 900px;
    padding: 40px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 35px;
    opacity: 0.98;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

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

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--primary-color);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 24px;
    font-size: 14px;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 61, 122, 0.3);
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Section Common Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* Reusable grids */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cards-grid.three {
    grid-template-columns: repeat(3, 1fr);
}

.card, .feature {
    background: var(--white);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-media {
    position: relative;
    overflow: hidden;
}

.card-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--white) url(var(--card-img)) center/cover no-repeat;
    opacity: 0.18;
}

.card-media:hover::before {
    opacity: 0.28;
}

.card:hover, .feature:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 61, 122, 0.12);
}

.card-list {
    margin: 14px 0 10px;
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 8px;
}

.card-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--text-light);
    font-size: 14px;
}

.card-list i {
    color: var(--secondary-color);
    margin-top: 2px;
}

.feature i {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.events-list {
    display: grid;
    gap: 20px;
}

.event-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.event-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.event-image {
    flex-shrink: 0;
}

.event-image img {
    width: 180px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.event-info {
    flex: 1;
}

.event-date {
    display: inline-block;
    padding: 4px 12px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 8px;
    padding: 8px 10px;
    font-weight: 700;
}

/* Section background variations */
.admissions { background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%); }
.research { background: var(--bg-light); }
.international { background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%); }
.alumni { background: var(--bg-light); }
.events { background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%); }

@media (max-width: 1024px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* About Section */
.about {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 102, 204, 0.3) 50%, transparent 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-mission {
    margin: 24px 0;
}

.about-mission h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin: 16px 0 6px;
}

.about-mission p {
    color: var(--text-light);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 25px 20px;
    background: var(--white);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e9ecef;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 61, 122, 0.12);
    border-color: var(--secondary-color);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.about-image {
    position: relative;
    margin-bottom: 40px;
}

.about-image img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.president-info {
    position: absolute;
    bottom: -30px;
    left: 24px;
    right: auto;
    width: 380px;
    max-width: calc(100% - 48px);
    background: rgba(255, 255, 255, 0.96);
    padding: 24px 22px;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    text-align: left;
    backdrop-filter: saturate(140%) blur(10px);
    z-index: 2;
}

.president-info h4 {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.president-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.president-subtitle {
    font-size: 14px;
    color: var(--text-light);
}

@media (max-width: 1024px) {
    .about-image { margin-bottom: 30px; }
    .about-image img { height: 420px; }
    .president-info { 
        width: 340px; 
        left: 20px;
    }
}

@media (max-width: 768px) {
    .about-image { margin-bottom: 0; }
    .about-image img { height: 360px; }
    .president-info {
        position: static;
        width: 100%;
        max-width: none;
        margin-top: 12px;
        text-align: center;
    }
}

/* Mission Section */
.mission {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.mission::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.mission-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.mission-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.mission-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 28px rgba(0, 61, 122, 0.15);
    border-color: var(--secondary-color);
}

.mission-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.mission-icon i {
    display: block;
}

.mission-item h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.mission-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Academics Section */
.academics {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.program-card {
    padding: 35px 25px;
    background: var(--white);
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.program-card:hover {
    background: var(--white);
    border-color: var(--secondary-color);
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 61, 122, 0.12);
}

.program-icon {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.program-icon i {
    display: block;
}

.program-card h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.program-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* Gallery Section */
.gallery {
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    will-change: transform;
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay p {
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
}

/* News Section */
.news {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 28px rgba(0, 61, 122, 0.15);
    border-color: var(--secondary-color);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 25px;
}

.news-date {
    color: var(--secondary-color);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.news-content h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin: 12px 0;
    line-height: 1.4;
}

.news-content p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 24px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow);
    color: var(--secondary-color);
    flex-shrink: 0;
}

.contact-icon i {
    display: block;
}

.contact-item h4 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-light);
    font-size: 14px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.contact-form h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 25px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background-color: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.contact-form button {
    width: 100%;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

/* Faculty Section */
.faculty {
    padding: 80px 0;
    background: var(--bg-light);
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.faculty-card {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.faculty-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.faculty-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--primary-color);
}

.faculty-card h4 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.faculty-title {
    font-size: 14px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.faculty-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}


/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    padding-left: 5px;
}

.mascot {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-align: center;
}

.mascot svg {
    margin-bottom: 10px;
}

.mascot p {
    font-size: 12px;
    opacity: 0.8;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.9;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-link:hover {
    opacity: 1;
    transform: translateX(5px);
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .programs-grid,
    .gallery-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mission-content,
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        height: 500px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .programs-grid,
    .gallery-grid,
    .news-grid,
    .mission-content,
    .footer-content,
    .faculty-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .language-switcher {
        top: 10px;
        right: 10px;
        padding: 5px;
        gap: 5px;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .event-item {
        flex-direction: column;
    }

    .event-image img {
        width: 100%;
        height: 200px;
    }

    .president-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .president-photo {
        margin-bottom: 10px;
    }

    .modal-content {
        width: 95%;
        height: 90vh;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 450px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    section {
        padding: 50px 0;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
}


