:root {
    --primary: #2D5A27;
    --primary-light: #4F6F52;
    --primary-dark: #1e3d1a;
    --secondary: #F1C40F;
    --accent-orange: #E67E22;
    --accent-blue: #2980B9;
    --accent-green: #27AE60;
    --bg-gray: #F8FAF8;
    --text-dark: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-gray);
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* ==================== TOP BAR ==================== */
.topbar {
    background: var(--primary);
    color: white;
    padding: 8px 0;
    font-size: 0.7rem;
}

.topbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.topbar-left span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.topbar-right a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.9;
    transition: var(--transition);
    font-size: 0.7rem;
}

.topbar-right a:hover {
    opacity: 1;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-left: 8px;
}

.social-icons a {
    width: 22px;
    height: 22px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background: white;
    color: var(--primary);
}

/* ==================== NAVBAR ==================== */
.navbar {
    background: white;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 45px;
    width: auto;
}

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

.logo-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
}

.logo-subtitle {
    font-size: 0.65rem;
    color: var(--primary-light);
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 4px;
    position: relative;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.nav-links i {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.nav-links > li {
    position: relative;
}

.nav-links > li:hover > a i {
    transform: rotate(180deg);
}

/* Dropdown Menu - Desktop */
.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: white;
    min-width: 240px;
    box-shadow: var(--shadow);
    border-radius: 12px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
    border: 1px solid rgba(79, 111, 82, 0.1);
}

.nav-links > li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    list-style: none;
    margin: 2px 0;
}

.dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.85rem;
    border-radius: 8px;
    transition: var(--transition);
}

.dropdown li a i {
    font-size: 0.9rem;
    color: var(--primary-light);
    width: 18px;
    text-align: center;
}

.dropdown li a:hover {
    background: var(--primary);
    color: white;
    padding-left: 20px;
}

.dropdown li a:hover i {
    color: white;
}

.btn-ppdb {
    background: var(--primary);
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: var(--transition);
    flex-shrink: 0;
}

.btn-ppdb:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 90, 39, 0.3);
}

/* ==================== MOBILE MENU BUTTON ==================== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: rgba(45, 90, 39, 0.1);
    border-radius: 8px;
    transition: var(--transition);
    flex-shrink: 0;
}

.mobile-menu-btn:hover,
.mobile-menu-btn.active {
    background: rgba(45, 90, 39, 0.2);
}

.mobile-menu-btn span {
    width: 24px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==================== HERO SECTION ==================== */
.hero {
    height: 550px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--text-dark);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0.95) 20%, rgba(255,255,255,0.7) 60%, rgba(255,255,255,0) 100%);
}

.hero-content {
    position: relative;
    max-width: 550px;
    z-index: 1;
    padding-right: 20px;
}

.hero-content h4 {
    color: var(--accent-green);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 12px;
}

.hero-tagline {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.hero-arrow:hover {
    background: var(--primary);
    color: white;
}

.hero-arrow.left { left: 20px; }
.hero-arrow.right { right: 20px; }

.hero-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 10px;
}

/* ==================== FEATURES SECTION ==================== */
.features-section {
    margin-top: -45px;
    position: relative;
    z-index: 20;
}

.features-white-box {
    background: white;
    padding: 25px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.feature-item {
    text-align: center;
    padding: 10px 5px;
}

.feature-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.feature-item h5 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--primary-dark);
}

.feature-item p {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==================== MAIN CONTENT ==================== */
.main-content {
    padding: 40px 0 60px;
}

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

.card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

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

.card-title-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-dark);
}

.card-title i {
    color: var(--accent-green);
    font-size: 1.1rem;
}

.view-all {
    font-size: 0.75rem;
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.view-all:hover {
    color: var(--primary);
}

/* News */
.news-list {
    flex: 1;
}

.news-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.news-img {
    width: 65px;
    height: 65px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.news-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-info span {
    font-size: 0.7rem;
    color: #999;
}

.footer-btn {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
    color: var(--accent-green);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
}

.footer-btn:hover {
    color: var(--primary);
}

/* Announcements */
.announcement-list {
    flex: 1;
}

.ann-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    background: #F8FAF8;
    margin-bottom: 10px;
    transition: var(--transition);
}

.ann-item:hover {
    background: #e8f0e7;
}

.ann-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ann-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.ann-info p {
    font-size: 0.72rem;
    color: #888;
    line-height: 1.4;
    margin-bottom: 4px;
}

/* Agenda */
.agenda-list {
    flex: 1;
}

.agenda-item {
    display: flex;
    gap: 14px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.agenda-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.agenda-date {
    width: 52px;
    height: 58px;
    background: #E8F0E7;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    font-weight: 800;
    flex-shrink: 0;
}

.agenda-date .day { font-size: 1.3rem; line-height: 1; }
.agenda-date .month { font-size: 0.65rem; text-transform: uppercase; margin-top: 2px; }

.agenda-info h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 3px; }
.agenda-info p { font-size: 0.75rem; color: #777; line-height: 1.4; }

/* Stats */
.stats-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: #fafafa;
    border-radius: 10px;
    transition: var(--transition);
}

.stat-item:hover {
    background: #f0f4f1;
}

.stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.stat-info h3 { font-size: 1.3rem; font-weight: 800; line-height: 1; }
.stat-info p { font-size: 0.75rem; color: #888; }

/* Teacher Card */
.teacher-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    padding: 25px 18px;
}

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

.teacher-card img {
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.teacher-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 12px 0 4px;
}

.teacher-card p {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Program Card */
.program-card {
    text-align: center;
    padding: 30px 25px;
    transition: var(--transition);
    cursor: pointer;
}

.program-card:hover {
    transform: translateY(-4px);
}

.program-card .icon-wrapper {
    width: 65px;
    height: 65px;
    background: rgba(79, 111, 82, 0.1);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 18px;
    transition: var(--transition);
}

.program-card:hover .icon-wrapper {
    background: var(--primary);
    color: white;
}

.program-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.program-card p {
    font-size: 0.88rem;
    color: #777;
    line-height: 1.6;
}

/* FAQ Section */
.faq-item {
    border-bottom: 1px solid #eee;
    padding: 18px 0;
}

.faq-question {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    font-size: 0.8rem;
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.7;
    margin-top: 12px;
    display: none;
}

.faq-answer.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== FOOTER ==================== */
.site-footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #333;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.2rem;
}

.footer-logo-img {
    height: 38px;
    width: auto;
}

.footer-logo-icon {
    font-size: 1.6rem;
    color: var(--primary);
}

.footer-school-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.footer-contact p i {
    color: var(--primary);
    font-size: 0.9rem;
    margin-top: 3px;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-green);
    border-radius: 2px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(45, 90, 39, 0.3);
}

.footer-map iframe {
    border-radius: 10px;
    border: 2px solid white;
    box-shadow: var(--shadow-sm);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-bottom p {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
}

/* ==================== RESPONSIVE - TABLET ==================== */
@media (max-width: 1024px) {
    .content-grid { grid-template-columns: repeat(2, 1fr); }
    .features-white-box { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-col:last-child { grid-column: span 2; }
}

/* ==================== RESPONSIVE - MOBILE ==================== */
@media (max-width: 768px) {
    /* Container & Spacing */
    .container {
        padding: 0 1rem;
    }

    /* Top Bar Mobile */
    .topbar {
        padding: 6px 0;
        font-size: 0.65rem;
    }
    
    .topbar-container {
        justify-content: center;
        text-align: center;
    }
    
    .topbar-left, .topbar-right {
        justify-content: center;
        width: 100%;
    }
    
    .topbar-right {
        margin-top: 5px;
    }
    
    .social-icons {
        margin-left: 0;
        justify-content: center;
    }

    /* Navbar Mobile */
    .navbar {
        padding: 10px 0;
    }

    .nav-container {
        padding: 0 0.5rem;
    }

    .logo-img {
        height: 40px;
    }

    .logo-title {
        font-size: 1rem;
    }

    .logo-subtitle {
        font-size: 0.6rem;
        display: none; /* Hide subtitle on small mobile for cleaner look */
    }

    /* Mobile Menu Toggle - Enhanced */
    .mobile-menu-btn {
        display: flex;
        padding: 8px 10px;
        border: none;
        background: rgba(45, 90, 39, 0.08);
        border-radius: 8px;
        z-index: 1002;
        position: relative;
    }

    .mobile-menu-btn span {
        width: 24px;
        height: 2.5px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 340px;
        height: 100vh;
        background: #F4F7F4; /* Latar belakang panel sedikit abu-abu agar menu (kartu) putih menonjol */
        flex-direction: column;
        align-items: stretch;
        padding: 85px 20px 40px;
        gap: 12px; /* Jarak antar kartu lebih lega */
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        overflow-y: auto;
        box-shadow: -15px 0 40px rgba(0,0,0,0.12);
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }

    /* Modern Overlay */
    .nav-links::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(15, 30, 15, 0.6);
        z-index: -1;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }

    .nav-links.active::before {
        opacity: 1;
        visibility: visible;
    }

    .nav-links > li {
        width: 100%;
        border-bottom: none;
        border-radius: 14px;
        background: #ffffff; /* Setiap menu menjadi kartu putih yang jelas */
        box-shadow: 0 4px 12px rgba(0,0,0,0.04); /* Bayangan lembut agar terlihat timbul */
        overflow: visible !important; /* Diubah menjadi visible agar submenu tidak terpotong oleh parent card */
    }

    .nav-links > li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        padding: 18px 20px; /* Kotak klik lebih besar dan jelas */
        font-size: 1.15rem; /* Ukuran font tegas */
        font-weight: 800; /* Font tebal agar sangat mudah dibaca */
        color: var(--primary-dark);
        justify-content: space-between;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 14px;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: var(--primary); /* Latar hijau tebal penuh */
        color: #ffffff; /* Teks berubah putih */
        padding-left: 24px; /* Sedikit geser untuk efek interaktif */
    }

    .nav-links a.active::after {
        display: none;
    }

    .nav-links i {
        font-size: 0.9rem;
        margin-left: auto;
        color: var(--primary-light);
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .nav-links a:hover i,
    .nav-links a.active i {
        color: #ffffff; /* Ikon ikut putih saat aktif */
    }

    /* Mobile Dropdown - Accordion Style */
    .dropdown {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        max-height: 0;
        min-width: auto !important;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.3s ease;
        background: transparent !important;
        border: none !important;
        margin: 0 !important;
    }

    .dropdown.active {
        max-height: 1000px !important; /* Menggunakan batas tinggi yang sangat lega agar tidak terpotong */
        padding: 8px 0 16px !important;
        background: #ffffff !important;
        border-top: 1px solid rgba(0,0,0,0.05) !important; /* Garis pemisah halus antara menu utama dan submenu */
        border-radius: 0 0 14px 14px !important;
        margin-top: 0 !important;
    }

    .dropdown::before {
        display: none;
    }

    .dropdown li {
        margin: 4px 0;
        border: none;
    }

    .dropdown li a {
        padding: 12px 20px 12px 48px;
        font-size: 1.05rem; /* Sub-menu juga diperbesar */
        font-weight: 600;
        border-radius: 10px;
        background: transparent;
        margin: 2px 14px;
        color: #444;
        border: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .dropdown li a:hover {
        background: rgba(45, 90, 39, 0.08); /* Efek sentuh hijau muda */
        color: var(--primary);
        padding-left: 54px;
    }

    .dropdown li a:hover i {
        color: var(--primary);
    }

    .dropdown li a i {
        color: #aaa;
        width: 24px;
        transition: color 0.3s ease;
    }

    /* PPDB Button on Mobile - Show inside menu */
    .btn-ppdb {
        display: none; /* Hide from header */
    }

    .nav-links .mobile-ppdb {
        display: block;
        margin: 20px 12px 10px;
        background: var(--primary);
        color: white;
        padding: 14px;
        border-radius: 10px;
        text-align: center;
        font-weight: 700;
        font-size: 0.95rem;
        text-decoration: none;
        box-shadow: 0 4px 15px rgba(45, 90, 39, 0.3);
    }

    .nav-links .mobile-ppdb:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
    }

    .nav-links .mobile-ppdb i {
        margin-right: 8px;
        margin-left: 0;
    }

    /* Hero Section Mobile */
    .hero {
        min-height: 55vh;
        padding: 3rem 0;
        background-position: center 30%;
    }

    .hero::before {
        background: linear-gradient(to bottom, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.95) 100%);
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        padding: 0;
    }

    .hero-content h4 {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }

    .hero-content h1 {
        font-size: 1.9rem;
        margin-bottom: 10px;
    }

    .hero-tagline {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }

    .hero-arrow {
        display: none;
    }

    .hero-dots {
        bottom: 15px;
    }

    .dot {
        width: 7px;
        height: 7px;
    }

    .dot.active {
        width: 20px;
    }

    /* Features Section Mobile */
    .features-section {
        margin-top: -30px;
    }

    .features-white-box {
        padding: 20px 15px;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        border-radius: 14px;
    }

    .feature-item {
        padding: 12px 8px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .feature-item h5 {
        font-size: 0.88rem;
        margin-bottom: 3px;
    }

    .feature-item p {
        font-size: 0.75rem;
    }

    /* Content Grid Mobile */
    .content-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .card {
        padding: 18px;
        border-radius: 14px;
    }

    .card-title-area {
        margin-bottom: 15px;
        padding-bottom: 12px;
    }

    .card-title {
        font-size: 0.95rem;
    }

    .card-title i {
        font-size: 1rem;
    }

    .view-all {
        font-size: 0.8rem;
    }

    /* News Mobile */
    .news-item {
        gap: 10px;
        padding-bottom: 12px;
    }

    .news-img {
        width: 60px;
        height: 60px;
        border-radius: 8px;
    }

    .news-info h4 {
        font-size: 0.88rem;
        -webkit-line-clamp: 2;
    }

    .news-info span {
        font-size: 0.68rem;
    }

    /* Announcements Mobile */
    .ann-item {
        padding: 10px;
        gap: 10px;
    }

    .ann-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .ann-info h4 {
        font-size: 0.88rem;
    }

    .ann-info p {
        font-size: 0.75rem;
    }

    /* Agenda Mobile */
    .agenda-item {
        gap: 12px;
    }

    .agenda-date {
        width: 48px;
        height: 54px;
        border-radius: 8px;
    }

    .agenda-date .day {
        font-size: 1.2rem;
    }

    .agenda-date .month {
        font-size: 0.6rem;
    }

    .agenda-info h4 {
        font-size: 0.88rem;
    }

    .agenda-info p {
        font-size: 0.73rem;
    }

    /* Stats Mobile */
    .stats-list {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-item {
        padding: 12px 10px;
        gap: 10px;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .stat-info h3 {
        font-size: 1.2rem;
    }

    .stat-info p {
        font-size: 0.73rem;
    }

    /* Teacher Cards Mobile */
    .teacher-card {
        padding: 20px 15px;
        border-radius: 20px;
    }

    .teacher-card img {
        width: 120px;
        height: 120px;
    }

    .teacher-card h4 {
        font-size: 1rem;
    }

    .teacher-card p {
        font-size: 0.75rem;
    }

    /* Program Cards Mobile */
    .program-card {
        padding: 25px 20px;
    }

    .program-card .icon-wrapper {
        width: 58px;
        height: 58px;
        font-size: 1.5rem;
        border-radius: 14px;
    }

    .program-card h4 {
        font-size: 1rem;
    }

    .program-card p {
        font-size: 0.85rem;
    }

    /* FAQ Mobile */
    .faq-question {
        font-size: 0.95rem;
        padding: 14px 0;
    }

    .faq-answer {
        font-size: 0.9rem;
        padding-left: 5px;
    }

    /* Footer Mobile */
    .site-footer {
        padding: 2.5rem 0 1rem;
        margin-top: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-col:last-child {
        grid-column: span 1;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-contact {
        align-items: center;
    }

    .footer-contact p {
        justify-content: center;
    }

    .footer-title {
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social {
        justify-content: center;
    }

    .footer-map iframe {
        height: 180px;
    }

    .footer-bottom {
        padding-top: 1.2rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }
}

/* ==================== EXTRA SMALL MOBILE ==================== */
@media (max-width: 480px) {
    .features-white-box {
        grid-template-columns: 1fr;
    }

    .feature-item {
        padding: 15px 10px;
    }

    .hero-content h1 {
        font-size: 1.7rem;
    }

    .hero-tagline {
        font-size: 0.9rem;
    }

    .card {
        padding: 16px;
    }

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

    .footer-logo-img {
        height: 35px;
    }

    .footer-school-name {
        font-size: 0.95rem;
    }
}

/* ==================== UTILITY CLASSES ==================== */
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.hidden { display: none !important; }
.visible-mobile { display: none; }

@media (max-width: 768px) {
    .visible-mobile { display: block; }
    .hidden-mobile { display: none; }
}