/* ============================================
       ROOT VARIABLES & GLOBAL
    ============================================ */
:root {
    --primary: #7e22ce !important;
    --primary-light: #a78bfa;
    --primary-dark: #410b7f;
    --accent: #d4a017;
    --accent-light: #f0c94b;
    --accent-dark: #b8860b;
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f0f2f5;
    --gray-200: #e4e7eb;
    --gray-400: #a0aec0;
    --gray-600: #718096;
    --gray-800: #2d3748;
    --success: #38a169;
    --gradient-hero: linear-gradient(
        135deg,
        #410b7f 0%,
        #7e22ce 40%,
        #a78bfa 100%
    );
    --gradient-accent: linear-gradient(135deg, #d4a017 0%, #f0c94b 100%);
    --shadow-sm: 0 2px 8px rgba(168, 85, 247, 0.08);
    --shadow-md: 0 8px 30px rgba(168, 85, 247, 0.12);
    --shadow-lg: 0 20px 60px rgba(168, 85, 247, 0.15);
    --shadow-xl: 0 30px 80px rgba(168, 85, 247, 0.2);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-outline-primary {
    --bs-btn-color: #7e22ce;
    --bs-btn-border-color: #7e22ce;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #7e22ce;
    --bs-btn-hover-border-color: #7e22ce;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #7e22ce;
    --bs-btn-active-border-color: #7e22ce;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #7e22ce;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #7e22ce;
    --bs-gradient: none;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
}

/* ============================================
       PRELOADER
    ============================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition:
        opacity 0.6s ease,
        visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(212, 160, 23, 0.2);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 20px;
}

.preloader-text {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
       CUSTOM SCROLLBAR
    ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ============================================
       NAVBAR
    ============================================ */
.navbar-spmb {
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
    z-index: 1050;
}

.navbar-spmb.scrolled {
    background: rgba(43, 11, 90, 0.97);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.navbar-brand-spmb {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar-logo {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary-dark);
    font-weight: 800;
}

.navbar-brand-text {
    color: var(--white);
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.2;
}

.navbar-brand-text small {
    font-weight: 400;
    font-size: 0.7rem;
    opacity: 0.7;
    display: block;
    letter-spacing: 1px;
}

.nav-link-spmb {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-link-spmb:hover,
.nav-link-spmb.active {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link-spmb::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-link-spmb:hover::after {
    width: 50%;
}

.btn-cta-nav {
    background: var(--gradient-accent);
    color: var(--primary-dark) !important;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 24px !important;
    border-radius: 50px;
    border: none;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(212, 160, 23, 0.4);
}

.btn-cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 160, 23, 0.5);
}

/* ============================================
       HERO SECTION
    ============================================ */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-hero);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image:
        radial-gradient(
            circle at 20% 50%,
            rgba(212, 160, 23, 0.3) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 40%
        ),
        radial-gradient(
            circle at 60% 80%,
            rgba(19, 64, 116, 0.5) 0%,
            transparent 50%
        );
}

.hero-floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    animation: float 8s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 10%;
    right: -5%;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    width: 200px;
    height: 200px;
    background: var(--white);
    bottom: 15%;
    left: 5%;
    animation-delay: 2s;
}

.floating-shape:nth-child(3) {
    width: 150px;
    height: 150px;
    background: var(--accent);
    top: 40%;
    left: 30%;
    animation-delay: 4s;
}

.floating-shape:nth-child(4) {
    width: 100px;
    height: 100px;
    background: var(--white);
    top: 20%;
    right: 25%;
    animation-delay: 1s;
    border-radius: 20%;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 160, 23, 0.15);
    border: 1px solid rgba(212, 160, 23, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--accent-light);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    font-size: 0.75rem;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-title .highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    margin-bottom: 36px;
    font-weight: 400;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--gradient-accent);
    color: var(--primary-dark);
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(212, 160, 23, 0.35);
    text-decoration: none;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 160, 23, 0.5);
    color: var(--primary-dark);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-hero-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: var(--white);
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
    text-decoration: none;
}

.btn-hero-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
    color: var(--white);
}

.hero-illustration {
    position: relative;
    z-index: 2;
}

.hero-illustration-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
}

.hero-illustration-icon {
    font-size: 6rem;
    color: var(--accent);
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 20px rgba(212, 160, 23, 0.3));
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.hero-stat-item {
    text-align: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-light);
    display: block;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 3;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
}

.hero-scroll-indicator i {
    display: block;
    font-size: 1.5rem;
    margin-top: 4px;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ============================================
       SECTION COMMON
    ============================================ */
.section-padding {
    padding: 100px 0;
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(11, 42, 90, 0.06);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 4px;
    margin: 20px auto 0;
}

/* ============================================
       JENJANG CARDS
    ============================================ */
.jenjang-section {
    background: var(--gray-50);
}

.jenjang-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.jenjang-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition);
}

.jenjang-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.jenjang-card:hover::before {
    transform: scaleX(1);
}

.jenjang-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    transition: var(--transition);
}

.jenjang-card:nth-child(1) .jenjang-icon {
    background: rgba(212, 160, 23, 0.1);
    color: var(--accent-dark);
}

.jenjang-card:nth-child(2) .jenjang-icon {
    background: rgba(11, 42, 90, 0.1);
    color: var(--primary);
}

.jenjang-card:nth-child(3) .jenjang-icon {
    background: rgba(56, 161, 105, 0.1);
    color: var(--success);
}

.jenjang-card:hover .jenjang-icon {
    transform: scale(1.1) rotate(5deg);
}

.jenjang-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.jenjang-desc {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 20px;
}

.jenjang-kuota {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gray-50);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

.jenjang-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: 16px;
    transition: var(--transition);
}

.jenjang-link:hover {
    gap: 10px;
    color: var(--primary);
}

/* ============================================
       JALUR PENDAFTARAN
    ============================================ */
.jalur-section {
    background: var(--white);
}

.jalur-nav-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.jalur-nav-tab {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.jalur-nav-tab:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

.jalur-nav-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(11, 42, 90, 0.3);
}

.jalur-panel {
    display: none;
    animation: fadeSlideUp 0.5s ease;
}

.jalur-panel.active {
    display: block;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.jalur-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition);
    height: 100%;
}

.jalur-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.jalur-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    background: rgba(11, 42, 90, 0.08);
    color: var(--primary);
}

.jalur-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.jalur-card-desc {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.7;
}

.jalur-card-syarat {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.jalur-card-syarat li {
    padding: 6px 0;
    font-size: 0.85rem;
    color: var(--gray-600);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.jalur-card-syarat li i {
    color: var(--success);
    font-size: 0.75rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.jalur-kuota-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(212, 160, 23, 0.1);
    color: var(--accent-dark);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* ============================================
       TIMELINE
    ============================================ */
.timeline-section {
    background: var(--gray-50);
}

.timeline-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.timeline-nav-btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 2px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.timeline-nav-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary-dark);
}

.timeline-panel {
    display: none;
}

.timeline-panel.active {
    display: block;
    animation: fadeSlideUp 0.5s ease;
}

/* Desktop Timeline */
.timeline-desktop {
    display: none;
    position: relative;
    padding: 20px 0;
}

@media (min-width: 768px) {
    .timeline-desktop {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.timeline-desktop::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 5%;
    right: 5%;
    height: 3px;
    background: var(--gray-200);
    border-radius: 3px;
}

.timeline-desktop .timeline-item {
    position: relative;
    flex: 1;
    text-align: center;
    padding: 0 10px;
}

.timeline-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--gray-200);
    margin: 28px auto 20px;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.timeline-item.completed .timeline-dot {
    background: var(--success);
    border-color: var(--success);
}

.timeline-item.active .timeline-dot {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 0 6px rgba(212, 160, 23, 0.2);
}

.timeline-date {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.timeline-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.timeline-desc {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-top: 4px;
}

/* Mobile Timeline */
.timeline-mobile {
    display: block;
}

@media (min-width: 768px) {
    .timeline-mobile {
        display: none;
    }
}

.timeline-mobile-item {
    display: flex;
    gap: 20px;
    padding-bottom: 30px;
    position: relative;
}

.timeline-mobile-item:last-child {
    padding-bottom: 0;
}

.timeline-mobile-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.timeline-mobile-line::before {
    content: "";
    position: absolute;
    top: 24px;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.timeline-mobile-item:last-child .timeline-mobile-line::before {
    display: none;
}

.timeline-mobile-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--gray-200);
    flex-shrink: 0;
    z-index: 1;
}

.timeline-mobile-item.completed .timeline-mobile-dot {
    background: var(--success);
    border-color: var(--success);
}

.timeline-mobile-item.active .timeline-mobile-dot {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.2);
}

.timeline-mobile-content {
    flex: 1;
}

/* ============================================
       PENGUMUMAN
    ============================================ */
.pengumuman-section {
    background: var(--white);
}

.pengumuman-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
    cursor: pointer;
    height: 100%;
}

.pengumuman-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    transform: translateY(-4px);
}

.pengumuman-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-dark);
    margin-bottom: 12px;
}

.pengumuman-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.pengumuman-excerpt {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.pengumuman-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 12px;
}

.tag-penting {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.tag-info {
    background: rgba(11, 42, 90, 0.08);
    color: var(--primary);
}

/* ============================================
       DATA SEKOLAH
    ============================================ */
.sekolah-section {
    background: var(--gray-50);
}

.search-filter-bar {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.search-input-wrapper {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.search-input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.search-input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(11, 42, 90, 0.1);
}

.filter-select {
    padding: 14px 40px 14px 20px;
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 500;
    background: var(--white);
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23718096' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
}

.sekolah-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition);
    height: 100%;
}

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

.sekolah-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.badge-tk {
    background: rgba(212, 160, 23, 0.1);
    color: var(--accent-dark);
}

.badge-sd {
    background: rgba(11, 42, 90, 0.1);
    color: var(--primary);
}

.badge-smp {
    background: rgba(56, 161, 105, 0.1);
    color: var(--success);
}

.sekolah-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.sekolah-address {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.sekolah-address i {
    color: var(--accent-dark);
    margin-top: 3px;
}

.sekolah-kuota-bar {
    background: var(--gray-100);
    border-radius: 50px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}

.sekolah-kuota-fill {
    height: 100%;
    border-radius: 50px;
    background: var(--gradient-accent);
    transition: width 1s ease;
}

.sekolah-kuota-text {
    font-size: 0.8rem;
    color: var(--gray-600);
    font-weight: 600;
}

/* ============================================
       FAQ
    ============================================ */
.faq-section {
    background: var(--white);
}

.faq-accordion .accordion-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md) !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-dark);
    padding: 20px 24px;
    background: var(--white);
    font-family: inherit;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(11, 42, 90, 0.03);
    color: var(--primary);
    box-shadow: none;
}

.faq-accordion .accordion-button::after {
    background-size: 1rem;
    width: 1rem;
    height: 1rem;
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-accordion .accordion-body {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.8;
}

/* ============================================
       KONTAK
    ============================================ */
.kontak-section {
    background: var(--gray-50);
}

.kontak-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.kontak-info {
    padding: 40px;
}

.kontak-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.kontak-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(11, 42, 90, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.kontak-info-label {
    font-size: 0.8rem;
    color: var(--gray-400);
    font-weight: 500;
    margin-bottom: 2px;
}

.kontak-info-value {
    font-size: 0.95rem;
    color: var(--primary-dark);
    font-weight: 600;
}

.kontak-info-value a {
    color: var(--primary);
    text-decoration: none;
}

.kontak-info-value a:hover {
    text-decoration: underline;
}

.kontak-map {
    height: 100%;
    min-height: 300px;
    background: var(--gray-200);
}

.kontak-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
       FOOTER
    ============================================ */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-dark);
    font-weight: 800;
}

.footer-brand-text {
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 320px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--accent-light);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    margin-top: 60px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

/* ============================================
       BACK TO TOP
    ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(11, 42, 90, 0.3);
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* ============================================
       RESPONSIVE
    ============================================ */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(43, 11, 90, 0.98);
        padding: 15px 20px;
        border-radius: 12px;
        margin-top: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .hero-illustration {
        margin-top: 50px;
    }

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

@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 120px;
        padding-bottom: 40px;
    }

    .section-padding {
        padding: 70px 0;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn-hero-primary,
    .hero-buttons .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .hero-stat-number {
        font-size: 1.3rem;
    }

    .hero-stat-label {
        font-size: 0.65rem;
    }

    .search-filter-bar {
        flex-direction: column;
    }
}

/* ============================================
       UTILITY ANIMATIONS
    ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
FLOATING WHATSAPP
============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: var(--white);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    padding: 0 15px;
}

.whatsapp-float:hover {
    width: 160px;
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-text {
    font-size: 1rem;
    font-weight: 700;
    margin-left: 10px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.5s ease;
    display: none;
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
    transform: translateX(0);
    display: inline-block;
}

/* Pulse Animation */
.whatsapp-float::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@media (max-width: 767.98px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    .whatsapp-float:hover {
        width: 50px;
    }
    .whatsapp-text {
        display: none !important;
    }
    .back-to-top {
        bottom: 80px;
        right: 20px;
    }
}

/* Parallax subtle */
.parallax-bg {
    will-change: transform;
}
