:root {
    --primary: #1a7a4c;
    --primary-dark: #145c3a;
    --primary-light: #2e9b64;
    --secondary: #0d4a2e;
    --accent: #ffd700;
    --text: #333;
    --text-light: #666;
    --bg: #fff;
    --bg-light: #f8faf9;
    --bg-dark: #e8f0ec;
    --card-bg: #fff;
    --navbar-bg: rgba(255, 255, 255, 0.98);
    --border: #e0e0e0;
    --shadow: 0 4px 20px rgba(26, 122, 76, 0.1);
    --shadow-lg: 0 10px 40px rgba(26, 122, 76, 0.15);
    --radius: 12px;
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --primary: #2e9b64;
    --primary-dark: #1a7a4c;
    --primary-light: #4db87a;
    --secondary: #1a5a3a;
    --text: #e8e8e8;
    --text-light: #b0b0b0;
    --bg: #1a1a2e;
    --bg-light: #16213e;
    --bg-dark: #0f0f1a;
    --card-bg: #1f1f3a;
    --navbar-bg: rgba(26, 26, 46, 0.98);
    --border: #3a3a5a;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

a {
    text-decoration: none;
    color: inherit;
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--navbar-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 12px 0;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--bg-light);
    color: var(--primary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

[data-theme="dark"] .theme-toggle i::before {
    content: "\f185";
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-logo-text .school-type {
    font-size: 0.7rem;
    font-weight: 600;
}

.nav-logo-text .school-name {
    font-size: 0.85rem;
    font-weight: 700;
}

.nav-logo i {
    font-size: 1.8rem;
}

.nav-logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-link {
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-link:hover {
    background: var(--bg-dark);
    color: var(--primary);
}

.btn-ppdb {
    background: var(--primary);
    color: white !important;
}

.btn-ppdb:hover {
    background: var(--primary-dark) !important;
    color: white !important;
}

.btn-admin {
    background: #555;
    color: white !important;
    font-size: 0.85rem;
}

.btn-admin:hover {
    background: #333 !important;
    color: white !important;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1.3rem;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.nav-toggle:hover {
    background: var(--primary);
    color: white;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(26, 122, 76, 0.85) 0%, rgba(13, 74, 46, 0.9) 100%), url('../assets/images/hero-bg.jpg') center/cover no-repeat;
    position: relative;
    padding: 100px 20px 60px;
    overflow: hidden;
}

.hero::before {
    display: none;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    margin: 15px auto 0;
    border-radius: 2px;
}

.features {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.vision {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}

.vision h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.vision p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

.cta {
    background: var(--bg-dark);
    text-align: center;
}

.cta h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.cta p {
    color: var(--text-light);
    margin-bottom: 30px;
}

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

.cta .btn-primary:hover {
    background: var(--primary-dark);
}

.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 140px 20px 60px;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.content-block.reverse {
    direction: rtl;
}

.content-block.reverse > * {
    direction: ltr;
}

.content-text h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

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

.content-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.placeholder-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-light));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image i {
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.3;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-image.placeholder {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image.placeholder i {
    font-size: 3rem;
    color: white;
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.card-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.programs-grid {
    display: grid;
    gap: 30px;
}

.program-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 25px;
    align-items: center;
    transition: var(--transition);
}

.program-card:hover {
    box-shadow: var(--shadow-lg);
}

.program-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.2;
}

.program-image {
    width: 100%;
    max-height: 200px;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 15px;
}

.program-image img {
    width: 100%;
    height: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: var(--radius);
}

.program-content h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.program-content p {
    color: var(--text-light);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.achievement-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.achievement-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ffd700, #ffb700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.achievement-icon i {
    font-size: 1.8rem;
    color: white;
}

.achievement-image {
    width: 100%;
    max-height: 180px;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 15px;
}

.achievement-image img {
    width: 100%;
    height: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: var(--radius);
}

.kurikulum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.kurikulum-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.kurikulum-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.kurikulum-icon i {
    font-size: 1.8rem;
    color: white;
}

.kurikulum-image {
    width: 100%;
    max-height: 180px;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 15px;
}

.kurikulum-image img {
    width: 100%;
    height: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: var(--radius);
}

.kurikulum-content h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.kurikulum-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.achievement-content h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.achievement-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

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

.gallery-item {
    position: relative;
    height: 220px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 20px;
    color: white;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.placeholder-gallery {
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-gallery i {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.3;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.lightbox.active {
    display: flex;
    flex-direction: column;
}

.lightbox img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: var(--radius);
}

.lightbox p {
    color: white;
    margin-top: 20px;
    font-size: 1.1rem;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

.ppdb-header {
    background: linear-gradient(135deg, var(--primary) 0%, #0d5a35 100%);
}

.pmbm-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.pmbm-poster-section {
    position: sticky;
    top: 100px;
}

.pmbm-poster-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pmbm-poster-img {
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.pmbm-poster-img:hover {
    transform: scale(1.02);
}

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

.ppdb-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ppdb-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
}

.ppdb-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.ppdb-card p {
    color: var(--text-light);
    white-space: pre-line;
}

.ppdb-form-section {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius);
    text-align: center;
}

.ppdb-form-section p {
    margin-bottom: 25px;
    color: var(--text-light);
}

.ppdb-form-section h2 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 30px;
}

.ppdb-form, .contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--card-bg);
    color: var(--text);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 122, 76, 0.1);
}

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

.contact-info h2,
.contact-form-wrapper h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--text);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-light);
}

.contact-form-wrapper {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.map-section {
    background: var(--bg-light);
}

.map-container {
    margin-top: 30px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    display: block;
    width: 100%;
    min-height: 400px;
}

.empty-content {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-content i {
    font-size: 4rem;
    opacity: 0.3;
    margin-bottom: 20px;
}

.empty-content.full-width {
    grid-column: 1 / -1;
}

.footer {
    background: linear-gradient(135deg, var(--secondary), #0a3d26);
    color: white;
    padding: 60px 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-section h4::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--accent);
    margin-top: 10px;
}

.footer-section p {
    opacity: 0.85;
    line-height: 1.8;
}

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

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

.footer-section ul a {
    opacity: 0.85;
    transition: var(--transition);
}

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

.contact-info li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.contact-info li i {
    margin-top: 4px;
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 25px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--card-bg);
        flex-direction: column;
        padding: 15px;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        text-align: center;
        padding: 14px;
        border-radius: 8px;
        margin-bottom: 5px;
    }
    
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-logo-text .school-type {
        font-size: 0.65rem;
    }
    
    .nav-logo-text .school-name {
        font-size: 0.8rem;
    }
    
    .hero {
        padding: 100px 15px 50px;
        min-height: auto;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .programs-grid {
        gap: 20px;
    }
    
    .program-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 25px 20px;
    }
    
    .program-number {
        font-size: 2rem;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .gallery-item {
        height: 150px;
    }
    
    .page-header {
        padding: 100px 15px 40px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .content-block {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .content-block.reverse {
        direction: ltr;
    }
    
    .content-text h2 {
        font-size: 1.4rem;
    }
    
    .pmbm-layout {
        grid-template-columns: 1fr;
    }
    
    .pmbm-poster-section {
        position: relative;
        top: 0;
    }
    
    .ppdb-form-section {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form-wrapper {
        padding: 25px 20px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-section h4::after {
        margin: 10px auto 0;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-info li {
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }
    
    .lightbox img {
        max-width: 95%;
        max-height: 70vh;
    }
    
    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-logo i {
        font-size: 1.4rem;
    }
    
    .nav-logo-text .school-type {
        font-size: 0.6rem;
    }
    
    .nav-logo-text .school-name {
        font-size: 0.75rem;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 200px;
    }
}
