/* ==================== VARIABLES ==================== */
        :root {
            --primary-color: #1a5f3a;
            --primary-dark: #0f3d22;
            --primary-light: #2d8659;
            --secondary-color: #f39c12;
            --secondary-light: #f5b041;
            --accent-color: #e74c3c;
            --success-color: #27ae60;
            --text-dark: #2c3e50;
            --text-light: #7f8c8d;
            --text-muted: #95a5a6;
            --border-color: #ecf0f1;
            --light-bg: #f8f9fa;
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
            --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.12);
            --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.15);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: var(--text-dark);
            line-height: 1.6;
        }

        /* ==================== HERO SECTION ==================== */
        .hero {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--primary-light) 100%);
            color: white;
            padding: clamp(80px, 15vw, 150px) 20px;
            position: relative;
            overflow: hidden;
            min-height: 70vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Optional hero background image layer (keeps existing colors via overlay) */
        .hero-bg {
            position: absolute;
            inset: 0;
            background-size: cover;
            background-position: center;
            transform: translateZ(0);
            opacity: 0.22;
            filter: saturate(1.05) contrast(1.05);
        }

        .hero-bg::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(26, 95, 58, 0.55), rgba(15, 61, 34, 0.65));
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 600px;
            height: 600px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 50%;
            animation: float 8s ease-in-out infinite;
        }

        .hero::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -5%;
            width: 400px;
            height: 400px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 50%;
            animation: float 10s ease-in-out infinite reverse;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0) translateX(0); }
            50% { transform: translateY(-30px) translateX(20px); }
        }

        .hero-content {
            position: relative;
            z-index: 2;
            text-align: center;
            max-width: 900px;
            animation: slideInUp 0.8s ease-out;
        }

        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* .hero-title {
            font-size: clamp(32px, 6vw, 56px);
            font-weight: 700;
            margin-bottom: 20px;
            line-height: 1.2;
            letter-spacing: -0.5px;
        }

        .hero-subtitle {
            font-size: clamp(16px, 2.5vw, 22px);
            opacity: 0.95;
            margin-bottom: 40px;
            line-height: 1.6;
            font-weight: 300;
        } */

        .hero-content h1 {
    font-size: clamp(36px, 7vw, 64px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: clamp(16px, 2.5vw, 22px);
    opacity: 0.95;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

        .btn-group-hero {
            display: flex;
            gap: clamp(12px, 2vw, 20px);
            justify-content: center;
            flex-wrap: wrap;
            animation: fadeInUp 0.8s ease-out 0.2s both;
        }

        /* ==================== BUTTON STYLES ==================== */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: clamp(12px, 2vw, 16px) clamp(24px, 4vw, 40px);
            border-radius: 8px;
            font-weight: 600;
            font-size: clamp(13px, 1.5vw, 15px);
            text-decoration: none;
            transition: var(--transition);
            border: 2px solid transparent;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .btn::before {
            content: '';
            position: absolute;
            inset: 0;
            background: inherit;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: -1;
        }

        .btn-primary {
            background: var(--secondary-color);
            color: white;
            border-color: var(--secondary-color);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 25px rgba(243, 156, 18, 0.3);
        }

        .btn-secondary {
            background: transparent;
            color: white;
            border-color: white;
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-2px);
        }

        .btn-large {
            padding: clamp(14px, 2.5vw, 18px) clamp(30px, 5vw, 50px);
            font-size: clamp(14px, 1.8vw, 16px);
        }

        /* ==================== SKS CARD - ADVANCED STYLING ==================== */
        .info-card-sks {
            background: linear-gradient(135deg, #fff9e6 0%, #fffbf0 100%);
            border: 2px solid var(--secondary-color);
            position: relative;
            box-shadow: 0 8px 24px rgba(243, 156, 18, 0.15);
        }

        .info-card-sks:hover {
            border-color: #f39c12;
            box-shadow: 0 12px 32px rgba(243, 156, 18, 0.25);
        }

        .badge-sks {
            position: absolute;
            top: -12px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, var(--secondary-color), #f5b041);
            color: white;
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
            gap: 6px;
            box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
            animation: badgeBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        }

        @keyframes badgeBounce {
            0% {
                opacity: 0;
                transform: translateX(-50%) translateY(-20px);
            }
            100% {
                opacity: 1;
                transform: translateX(-50%) translateY(0);
            }
        }

        .icon-sks {
            background: linear-gradient(135deg, var(--secondary-color), #f5b041) !important;
            animation: iconPulse 2.5s ease-in-out infinite;
        }

        @keyframes iconPulse {
            0%, 100% {
                transform: scale(1);
                box-shadow: 0 8px 20px rgba(243, 156, 18, 0.2);
            }
            50% {
                transform: scale(1.08);
                box-shadow: 0 12px 30px rgba(243, 156, 18, 0.35);
            }
        }

        .info-card-sks h3 {
            color: var(--secondary-color);
            font-weight: 700;
            font-size: clamp(16px, 2.2vw, 20px);
        }

        .info-card-sks p {
            color: var(--primary-color);
            font-weight: 600;
            font-size: clamp(13px, 1.5vw, 15px);
        }

        .sks-features {
            display: flex;
            gap: 8px;
            margin-top: 12px;
            justify-content: center;
        }

        .sks-badge {
            background: rgba(243, 156, 18, 0.15);
            color: var(--secondary-color);
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }

        .sks-badge i {
            font-size: 9px;
        }

        /* Responsive SKS Card */
        @media (max-width: 768px) {
            .badge-sks {
                font-size: 10px;
                padding: 5px 12px;
                top: -10px;
            }

            .info-card-sks h3 {
                font-size: 15px;
            }

            .info-card-sks p {
                font-size: 12px;
            }

            .sks-features {
                gap: 6px;
            }

            .sks-badge {
                font-size: 10px;
                padding: 3px 8px;
            }
        }

        /* ==================== SECTION HEADER ==================== */
        .section-header {
            text-align: center;
            max-width: 800px;
            margin: 0 auto clamp(40px, 8vw, 60px);
            animation: fadeInDown 0.8s ease-out;
        }

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .section-title {
            font-size: clamp(28px, 5vw, 44px);
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -12px;
            left: 50%;
            transform: translateX(-50%);
            width: clamp(60px, 8vw, 100px);
            height: 4px;
            background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
            border-radius: 2px;
        }

        .section-subtitle {
            font-size: clamp(14px, 2vw, 18px);
            color: var(--text-light);
            margin-top: 30px;
            line-height: 1.8;
        }

        /* ==================== ABOUT SECTION ==================== */
        .about-section {
            padding: clamp(60px, 10vw, 100px) 20px;
            background: white;
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: clamp(40px, 5vw, 60px);
            align-items: center;
            animation: fadeInUp 0.8s ease-out 0.2s both;
        }

        .about-image {
            position: relative;
            overflow: hidden;
            border-radius: 15px;
            box-shadow: var(--shadow-lg);
            height: clamp(300px, 40vw, 500px);
        }

        .about-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .about-image:hover img {
            transform: scale(1.05);
        }

        .about-text h3 {
            font-size: clamp(18px, 2.5vw, 24px);
            font-weight: 700;
            color: var(--primary-color);
            margin: clamp(25px, 3vw, 35px) 0 clamp(12px, 2vw, 16px);
        }

        .about-text p {
            font-size: clamp(13px, 1.5vw, 16px);
            color: var(--text-light);
            line-height: 1.8;
            margin-bottom: clamp(20px, 3vw, 30px);
        }

        .about-text ul {
            list-style: none;
            margin-bottom: clamp(20px, 3vw, 30px);
        }

        .about-text li {
            font-size: clamp(13px, 1.5vw, 16px);
            color: var(--text-light);
            padding-left: 25px;
            position: relative;
            margin-bottom: 12px;
            line-height: 1.6;
        }

        .about-text li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 6px;
            width: 8px;
            height: 8px;
            background: var(--secondary-color);
            border-radius: 50%;
        }

        /* ==================== NEWS SECTION ==================== */
        .news-section {
            padding: clamp(60px, 10vw, 100px) 20px;
            background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
        }

        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: clamp(25px, 3vw, 35px);
        }

        .news-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: var(--shadow-md);
            transition: var(--transition);
            animation: fadeInUp 0.6s ease-out backwards;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .news-card:nth-child(1) { animation-delay: 0.1s; }
        .news-card:nth-child(2) { animation-delay: 0.2s; }
        .news-card:nth-child(3) { animation-delay: 0.3s; }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .news-card:hover {
            transform: translateY(-12px);
            box-shadow: var(--shadow-lg);
        }

        .news-image {
            position: relative;
            overflow: hidden;
            height: clamp(200px, 25vw, 280px);
        }

        .news-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .news-card:hover .news-image img {
            transform: scale(1.08);
        }

        .news-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: var(--primary-color);
            color: white;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: clamp(11px, 1.5vw, 12px);
            font-weight: 600;
        }

        .news-badge.pengumuman {
            background: var(--secondary-color);
        }

        .news-content {
            padding: clamp(20px, 3vw, 30px);
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .news-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 15px;
            font-size: clamp(12px, 1.5vw, 13px);
            color: var(--text-muted);
        }

        .news-meta i {
            margin-right: 5px;
            color: var(--secondary-color);
        }

        .news-card h3 {
            font-size: clamp(16px, 2vw, 20px);
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 12px;
            line-height: 1.4;
        }

        .news-card p {
            font-size: clamp(13px, 1.5vw, 15px);
            color: var(--text-light);
            line-height: 1.6;
            margin-bottom: 15px;
            flex-grow: 1;
        }

        .read-more {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
            font-size: clamp(12px, 1.5vw, 14px);
            transition: var(--transition);
        }

        .read-more:hover {
            color: var(--secondary-color);
            gap: 12px;
        }

        /* ==================== PPDB SECTION ==================== */
        .ppdb-section {
            padding: clamp(60px, 10vw, 100px) 20px;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%);
            color: white;
            position: relative;
            overflow: hidden;
        }

        .ppdb-section::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 500px;
            height: 500px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 50%;
            animation: float 8s ease-in-out infinite;
        }

        .ppdb-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: clamp(40px, 5vw, 60px);
            align-items: center;
            position: relative;
            z-index: 2;
        }

        .ppdb-info h2 {
            font-size: clamp(28px, 5vw, 44px);
            font-weight: 700;
            margin-bottom: 12px;
            animation: slideInUp 0.8s ease-out;
        }

        .ppdb-info h3 {
            font-size: clamp(20px, 3vw, 32px);
            font-weight: 600;
            margin-bottom: 20px;
            opacity: 0.9;
            animation: slideInUp 0.8s ease-out 0.1s both;
        }

        .ppdb-info p {
            font-size: clamp(14px, 2vw, 18px);
            margin-bottom: 30px;
            opacity: 0.95;
            line-height: 1.8;
            animation: slideInUp 0.8s ease-out 0.2s both;
        }

        .ppdb-features {
            display: grid;
            gap: 15px;
            margin-bottom: 30px;
            animation: slideInUp 0.8s ease-out 0.3s both;
        }

        .feature-item {
            display: flex;
            align-items: center;
            gap: 15px;
            font-size: clamp(13px, 1.5vw, 16px);
            transition: var(--transition);
        }

        .feature-item i {
            color: var(--secondary-color);
            font-size: clamp(18px, 2vw, 22px);
        }

        .feature-item:hover {
            transform: translateX(8px);
        }

        .ppdb-buttons {
            display: flex;
            gap: clamp: (12px, 2vw, 20px);
            flex-wrap: wrap;
            animation: slideInUp 0.8s ease-out 0.4s both;
        }

        .ppdb-image {
            position: relative;
            height: clamp(300px, 40vw, 500px);
            animation: slideInRight 0.8s ease-out 0.3s both;
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(40px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .ppdb-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 15px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        /* ==================== EKSTRAKURIKULER SECTION ==================== */
        .ekskul-section {
            padding: clamp(60px, 10vw, 100px) 20px;
            background: white;
        }

        .ekskul-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: clamp(25px, 3vw, 35px);
            margin-bottom: clamp(40px, 8vw, 60px);
        }

        .ekskul-card {
            background: linear-gradient(135deg, #f8f9fa, #ffffff);
            padding: clamp(35px, 4vw, 45px);
            border-radius: 15px;
            text-align: center;
            box-shadow: var(--shadow-md);
            transition: var(--transition);
            animation: fadeInUp 0.6s ease-out backwards;
            border: 1px solid var(--border-color);
        }

        .ekskul-card:nth-child(1) { animation-delay: 0.1s; }
        .ekskul-card:nth-child(2) { animation-delay: 0.2s; }
        .ekskul-card:nth-child(3) { animation-delay: 0.3s; }
        .ekskul-card:nth-child(4) { animation-delay: 0.4s; }
        .ekskul-card:nth-child(5) { animation-delay: 0.5s; }
        .ekskul-card:nth-child(6) { animation-delay: 0.6s; }

        .ekskul-card:hover {
            transform: translateY(-15px) scale(1.02);
            box-shadow: var(--shadow-lg);
            background: white;
        }

        .ekskul-icon {
            font-size: clamp(40px, 6vw, 56px);
            color: var(--secondary-color);
            margin-bottom: 20px;
            transition: var(--transition);
        }

        .ekskul-card:hover .ekskul-icon {
            transform: scale(1.2) rotate(10deg);
        }

        .ekskul-card h3 {
            font-size: clamp(18px, 2.5vw, 22px);
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 12px;
        }

        .ekskul-card p {
            font-size: clamp(13px, 1.5vw, 15px);
            color: var(--text-light);
            line-height: 1.6;
        }

        .text-center {
            text-align: center;
        }

        .mt-40 {
            margin-top: clamp(30px, 5vw, 40px);
        }

        /* ==================== SOCIAL MEDIA SECTION ==================== */
        .social-media-section {
            padding: clamp(60px, 10vw, 100px) 20px;
            background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
        }

        .social-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: clamp(20px, 3vw, 30px);
        }

        .social-box {
            background: white;
            padding: clamp(30px, 4vw, 40px);
            border-radius: 15px;
            text-align: center;
            text-decoration: none;
            color: inherit;
            box-shadow: var(--shadow-md);
            transition: var(--transition);
            animation: fadeInUp 0.6s ease-out backwards;
            border: 2px solid transparent;
        }

        .social-box:nth-child(1) { animation-delay: 0.1s; }
        .social-box:nth-child(2) { animation-delay: 0.2s; }
        .social-box:nth-child(3) { animation-delay: 0.3s; }
        .social-box:nth-child(4) { animation-delay: 0.4s; }

        .social-box:hover {
            transform: translateY(-12px);
            box-shadow: var(--shadow-lg);
        }

        .social-box.facebook { border-color: #3b5998; }
        .social-box.facebook:hover { background: #f0f2f5; }

        .social-box.instagram { border-color: #E1306C; }
        .social-box.instagram:hover { background: #fdf2f8; }

        .social-box.youtube { border-color: #FF0000; }
        .social-box.youtube:hover { background: #fff0f0; }

        .social-box.tiktok { border-color: #0b0c0c; }
        .social-box.tiktok:hover { background: #f0f9ff; }

        .social-box i {
            font-size: clamp(32px, 4vw, 48px);
            margin-bottom: 15px;
            transition: var(--transition);
        }

        .social-box.facebook i { color: #3b5998; }
        .social-box.instagram i { color: #E1306C; }
        .social-box.youtube i { color: #FF0000; }
        .social-box.tiktok i { color: #000000; }

        .social-box:hover i {
            transform: scale(1.2);
        }

        .social-box h3 {
            font-size: clamp(16px, 2vw, 20px);
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 8px;
        }

        .social-box p {
            font-size: clamp(12px, 1.5vw, 14px);
            color: var(--text-light);
        }

        /* ==================== CONTACT SECTION ==================== */
.contact-section {
    padding: clamp(60px, 10vw, 100px) 20px;
    background: white;
}

/* Jadikan wrapper kontak benar-benar melebar & tidak shrink */
.contact-content {
    width: 100%;
    display: block;            /* pastikan bukan flex yang ngecil */
}

/* Ini yang mengatur 2 kiri 2 kanan memenuhi area */
.contact-info-box {
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    align-items: stretch;
}

/* Card/item wajib mengisi sel grid */
.contact-item {
    width: 100%;
    max-width: none;
    height: 100%;
    box-sizing: border-box;

    display: flex;
    align-items: flex-start;
    gap: 20px;

    /* jika sebelumnya Anda punya padding/bg di contact-item, biarkan tetap */
}

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }
.contact-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.contact-item:hover {
    background: linear-gradient(135deg, rgba(26, 95, 58, 0.1), rgba(243, 156, 18, 0.1));
    transform: translateX(8px);
}

.contact-icon {
    width: clamp(50px, 6vw, 60px);
    height: clamp(50px, 6vw, 60px);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: clamp(24px, 3vw, 28px);
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(26, 95, 58, 0.2);
}

.contact-item h4 {
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.contact-item p {
    font-size: clamp(13px, 1.5vw, 15px);
    color: var(--text-light);
    line-height: 1.6;
}

/* Mobile: jadi 1 kolom */
@media (max-width: 768px) {
    .contact-info-box {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

        .contact-form-box {
            animation: slideInRight 0.8s ease-out 0.3s both;
        }

        .contact-form {
            background: linear-gradient(135deg, #f8f9fa, #ffffff);
            padding: clamp(30px, 4vw, 40px);
            border-radius: 15px;
            border: 1px solid var(--border-color);
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: clamp(12px, 2vw, 16px);
            border: 2px solid var(--border-color);
            border-radius: 8px;
            font-size: clamp(13px, 1.5vw, 15px);
            font-family: inherit;
            transition: var(--transition);
        }

        .form-group input:focus,
        .form-group textarea:focus {
            border-color: var(--secondary-color);
            outline: none;
            box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.2);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 120px;
        }

        .map-container {
            margin-top: clamp(40px, 8vw, 60px);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
        }

        .map-container iframe {
            border-radius: 15px;
        }

        /* ==================== RESPONSIVE DESIGN ==================== */
        @media (max-width: 1024px) {
    .about-content, .ppdb-content {
        grid-template-columns: 1fr;
        gap: clamp(30px, 5vw, 40px);
    }
            .info-cards, .news-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
    .contact-info-box {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

        @media (max-width: 768px) {
            .hero { min-height: 50vh; padding: 50px 20px; }
            .hero-title { font-size: 28px; }
            .hero-subtitle { font-size: 16px; }
            .btn-group-hero { flex-direction: column; align-items: center; }
            .btn { width: 100%; max-width: 300px; }
            .quick-info { margin-top: -30px; padding: 40px 20px; }
            .info-cards { grid-template-columns: repeat(2, 1fr); gap: 15px; }
            .info-card { padding: 20px; }
            .info-icon { width: 60px; height: 60px; font-size: 28px; }
            .about-section, .news-section, .ppdb-section, .ekskul-section, .social-media-section, .contact-section { padding: 50px 20px; }
            .news-grid, .ekskul-grid, .social-grid { grid-template-columns: 1fr; }
            .ppdb-buttons { flex-direction: column; }
            .ppdb-image { height: 300px; }
        }

        @media (max-width: 480px) {
            .hero { min-height: 45vh; padding: 40px 15px; }
            .hero-title { font-size: 24px; }
            .hero-subtitle { font-size: 14px; }
            .btn-group-hero { gap: 10px; }
            .btn { padding: 10px 16px; font-size: 12px; }
            .btn-large { padding: 12px 20px; font-size: 13px; }
            .info-cards { grid-template-columns: 1fr; gap: 12px; }
            .info-card { padding: 15px; }
            .info-icon { width: 50px; height: 50px; font-size: 24px; }
            .section-title { font-size: 22px; }
            .section-title::after { width: 60px; bottom: -10px; }
            .section-subtitle { font-size: 13px; }
            .about-image { height: 250px; }
            .news-image { height: 180px; }
            .ppdb-image { height: 250px; }
            .contact-icon { width: 45px; height: 45px; font-size: 18px; }
            .map-container iframe { height: 250px !important; }
        }

        @media (max-width: 360px) {
            .hero-title { font-size: 20px; }
            .section-title { font-size: 18px; }
            .info-icon { width: 45px; height: 45px; font-size: 20px; }
            .social-box i { font-size: 28px; }
            .contact-icon { width: 40px; height: 40px; font-size: 16px; }
        }

        /* ==================== ANIMATIONS ==================== */
        @keyframes slideInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

        /* ==================== ACCESSIBILITY ==================== */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
        }

        /* ==================== REVEAL ANIMATION (JS HOOK) ==================== */
        .reveal {
            opacity: 0;
            transform: translateY(18px) scale(0.985);
            transition: opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
                        transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
            will-change: opacity, transform;
        }

        .reveal.is-revealed {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        /* Slight stagger feel for repeated cards without changing content */
        .info-card.reveal { transition-delay: 60ms; }
        .news-card.reveal { transition-delay: 80ms; }
        .ekskul-card.reveal { transition-delay: 80ms; }
        .social-box.reveal { transition-delay: 80ms; }

        /* ==================== DARK MODE ==================== */
        @media (prefers-color-scheme: dark) {
            .about-section, .ekskul-section, .contact-section { background: #2c3e50; color: #ecf0f1; }
            .info-card, .news-card, .ekskul-card, .social-box, .contact-form { background: #34495e; border-color: #445566; }
            .info-card h3, .ekskul-card h3, .news-card h3, .section-title, .contact-item h4 { color: #f39c12; }
            .info-card p, .ekskul-card p, .news-card p, .contact-item p, .section-subtitle { color: #bdc3c7; }
            .form-group input, .form-group textarea { background: #2c3e50; color: #ecf0f1; border-color: #445566; }
            .contact-item { background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), rgba(26, 95, 58, 0.1)); }
        }