/* ===== ROOT VARIABLES ===== */
:root {
    --primary-color: #2e7d32;
    --primary-dark: #1b5e20;
    --primary-light: #4caf50;
    --secondary-color: #e67e22;
    --secondary-dark: #d35400;
    --accent-color: #66bb6a;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --white: #ffffff;
    --black: #333333;

    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Poppins', sans-serif;

    --transition: all 0.3s ease;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.12);
    --radius: 10px;
    --radius-lg: 20px;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    gap: 10px;
    border: 2px solid transparent;
}

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

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

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

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.btn-link {
    background-color: transparent;
    color: var(--primary-color);
    padding: 0;
    font-weight: 600;
}

.btn-link:hover {
    color: var(--secondary-color);
    gap: 15px;
}

/* Tombol PPDB di Navbar */
.btn-ppdb {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    margin-left: 10px;
}

.btn-ppdb:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    inset: 0;
    background: #2e7d32;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow: hidden;
}

.preloader::before {
    content: '';
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.07);
    top: -100px;
    right: -80px;
    pointer-events: none;
}

.preloader::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.05);
    bottom: -60px;
    left: -60px;
    pointer-events: none;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.preloader-logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    animation: logoPulse 2s ease-in-out infinite;
}

.preloader-logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }
}

.preloader-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
    margin: 0;
}

.preloader-sub {
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.5px;
    margin: 0 0 8px;
}

.preloader-bar {
    width: 100px;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-bar-fill {
    height: 100%;
    width: 40%;
    background: #a5d6a7;
    border-radius: 2px;
    animation: barSlide 1.3s ease-in-out infinite;
}

@keyframes barSlide {
    0% {
        transform: translateX(-150%);
    }

    100% {
        transform: translateX(320%);
    }
}

/* ===== HEADER & NAVBAR ===== */
.top-bar {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
    padding: 8px 0;
    font-size: 0.8rem;
}

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

.contact-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

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

.social-media a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Main Navbar */
.navbar {
    position: sticky;
    top: 0;
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 12px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1320px;
    flex-wrap: nowrap;
}

/* ===== LOGO ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    flex-shrink: 0;
}

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 12px;
}

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

.logo-text h1 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--primary-color);
    white-space: nowrap;
}

.logo-text p {
    font-size: 0.65rem;
    margin: 2px 0 0;
    color: var(--secondary-color);
    font-weight: 500;
    white-space: nowrap;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 5px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li {
    list-style: none;
}

.nav-list li::before,
.nav-list li::marker {
    display: none;
    content: none;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dark-color);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(46, 125, 50, 0.08);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--dark-color);
    font-size: 0.85rem;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background-color: rgba(46, 125, 50, 0.05);
    color: var(--primary-color);
    padding-left: 25px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    background: none;
    border: none;
}

/* ===== HERO SLIDER ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.swiper-slide {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.slide-1 {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.slide-2 {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
}

.slide-3 {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-color));
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    color: #ffd700;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: var(--white) !important;
    background-color: rgba(255, 255, 255, 0.1);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem !important;
}

.swiper-pagination-bullet {
    background-color: var(--white) !important;
    opacity: 0.5 !important;
    width: 12px !important;
    height: 12px !important;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    background-color: var(--secondary-color) !important;
}

/* ===== SECTIONS COMMON ===== */
.section-padding {
    padding: 80px 0;
}

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

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

.section-badge {
    display: inline-block;
    background: rgba(46, 125, 50, 0.1);
    color: var(--secondary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

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

.section-desc {
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray-color);
    font-size: 0.95rem;
}

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

.mt-4 {
    margin-top: 2rem;
}

/* ===== ABOUT SECTION ===== */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content {
    padding-right: 20px;
}

.about-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.about-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--gray-color);
    margin-bottom: 15px;
}

.about-stats {
    display: flex;
    gap: 25px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.about-stat {
    text-align: center;
}

.about-stat .stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    line-height: 1.2;
}

.about-stat .stat-label {
    font-size: 0.7rem;
    color: var(--gray-color);
    font-weight: 500;
}

.about-image-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    padding: 60px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.2);
}

.about-image-placeholder i {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 15px;
}

.about-image-placeholder .image-text {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ===== WHY US SECTION ===== */
.whyus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.whyus-card {
    text-align: center;
    padding: 30px 25px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

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

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

.whyus-card h3 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.whyus-card p {
    font-size: 0.85rem;
    color: var(--gray-color);
    margin-bottom: 0;
    line-height: 1.5;
}

/* ===== PROGRAM SECTION ===== */
.program-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.program-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    position: relative;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.program-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(46, 125, 50, 0.08);
    position: absolute;
    top: 20px;
    right: 20px;
}

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

.program-card p {
    font-size: 0.85rem;
    color: var(--gray-color);
    margin-bottom: 15px;
}

.program-link {
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.program-link:hover {
    gap: 10px;
}

/* ===== STATISTIK ===== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 60px 0;
}

.stats-section .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stats-section .stat-card {
    text-align: center;
    padding: 25px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.stats-section .stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stats-section .stat-icon i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.stats-section .stat-card h3 {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 5px;
}

.stats-section .stat-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ===== FACILITY PREVIEW ===== */
.facility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.facility-item {
    text-align: center;
    padding: 25px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.facility-image {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(76, 175, 80, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.facility-image i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.facility-item h3 {
    font-size: 1rem;
    color: var(--dark-color);
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}

.facility-item p {
    font-size: 0.75rem;
    color: var(--gray-color);
    margin-bottom: 0;
    line-height: 1.4;
}

.facility-status {
    display: inline-block;
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    margin-top: 10px;
}

/* ===== TESTIMONI SECTION ===== */
.testimoni-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimoni-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.testimoni-quote i {
    font-size: 2rem;
    color: rgba(46, 125, 50, 0.15);
    margin-bottom: 15px;
}

.testimoni-card p {
    font-size: 0.85rem;
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.testimoni-author h4 {
    font-size: 0.95rem;
    color: var(--primary-color);
    margin-bottom: 3px;
}

.testimoni-author span {
    font-size: 0.7rem;
    color: var(--gray-color);
}

/* ===== AGENDA SECTION ===== */
.agenda-list {
    max-width: 800px;
    margin: 0 auto;
}

.agenda-item {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.agenda-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.agenda-date {
    text-align: center;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius);
    color: var(--white);
    margin-right: 25px;
    flex-shrink: 0;
}

.agenda-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.agenda-date .month {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 3px;
}

.agenda-date .year {
    display: block;
    font-size: 0.7rem;
    opacity: 0.8;
}

.agenda-content {
    flex-grow: 1;
}

.agenda-content h3 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.agenda-content p {
    font-size: 0.8rem;
    color: var(--gray-color);
    margin-bottom: 8px;
}

.agenda-info {
    display: flex;
    gap: 15px;
    font-size: 0.7rem;
    color: var(--gray-color);
}

.agenda-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.agenda-btn {
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-left: 15px;
    transition: var(--transition);
}

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

/* Footer Hijau Styles */
.footer-simple {
    background: #0a3b2f;
    /* warna hijau tua kalem */
    color: #e0e0e0;
    padding: 3rem 0 1.5rem;
    font-size: 0.9rem;
}

.container-simple {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Main Footer Layout */
.footer-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Brand Section */
.footer-brand {
    flex: 2;
    min-width: 250px;
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

/* Logo Sekolah Asli */
.school-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.brand-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: white;
}

.brand-header p {
    margin: 0;
}

.brand-tagline {
    font-size: 0.85rem;
    color: #4ade80;
    /* hijau terang untuk aksen */
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.brand-desc {
    line-height: 1.5;
    margin-bottom: 1.25rem;
    opacity: 0.8;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #4ade80;
    /* hijau terang saat hover */
    color: #0a3b2f;
    transform: translateY(-3px);
}

/* Links Section */
.footer-links {
    flex: 3;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.links-group {
    min-width: 120px;
}

.links-group h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

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

.links-group li {
    margin-bottom: 0.5rem;
}

.links-group a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

.links-group a:hover {
    color: #4ade80;
    /* hijau terang saat hover */
}

/* Contact Section */
.footer-contact {
    flex: 2;
    min-width: 220px;
}

.footer-contact h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    opacity: 0.8;
}

.contact-item i {
    margin-top: 0.2rem;
    width: 16px;
    color: #4ade80;
    /* hijau terang untuk icon */
}

.contact-item a {
    color: #e0e0e0;
    text-decoration: none;
}

.contact-item a:hover {
    color: #4ade80;
}

/* Bottom Bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    font-size: 0.75rem;
    opacity: 0.6;
}

.footer-bottom p {
    margin: 0;
}

.bottom-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.bottom-links a {
    color: #e0e0e0;
    text-decoration: none;
}

.bottom-links a:hover {
    color: #4ade80;
}

.separator {
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .container-simple {
        padding: 0 1.5rem;
    }

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 1400px) and (min-width: 1201px) {

    /* Sembunyikan tagline biar navbar gak sempit di lebar laptop standar */
    .logo-text p {
        display: none;
    }
}

@media (max-width: 1200px) {

    /* Navbar dipindah ke mode hamburger lebih awal biar gak overflow/numpuk */
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        transition: var(--transition);
        z-index: 999;
        overflow-y: auto;
    }

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

    .nav-list {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
        gap: 10px;
    }

    .nav-link {
        width: 100%;
        justify-content: flex-start;
    }

    .nav-btn {
        width: 100%;
    }

    .btn-ppdb {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-content {
        padding-right: 0;
    }

    .about-stats {
        justify-content: center;
    }

    .whyus-grid,
    .program-grid,
    .facility-grid,
    .testimoni-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    /* Mobile Navigation - sudah dihandle di breakpoint 1200px di atas */

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
        background-color: transparent;
        margin-top: 10px;
        margin-left: 20px;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 10px 0;
    }

    .btn-ppdb {
        margin-left: 0;
        margin-top: 15px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }

    /* Sembunyikan top bar di mobile */
    .top-bar {
        display: none;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    /* Top Bar */
    .top-bar-content {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .contact-info {
        justify-content: center;
        gap: 10px;
        font-size: 0.7rem;
    }

    .contact-info span {
        background: rgba(255, 255, 255, 0.1);
        padding: 4px 10px;
        border-radius: 20px;
    }

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

    /* Logo Mobile */
    .logo-img {
        width: 38px;
        height: 38px;
    }

    .logo-text h1 {
        font-size: 0.9rem;
    }

    .logo-text p {
        font-size: 0.55rem;
        white-space: normal;
        max-width: 150px;
    }

    /* Hero */
    .hero {
        height: auto;
        min-height: 500px;
    }

    .swiper-slide {
        height: 500px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-text {
        font-size: 0.85rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

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

    /* Stats */
    .stats-section .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* Agenda */
    .agenda-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .agenda-date {
        margin-right: 0;
        margin-bottom: 15px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        padding: 10px 20px;
    }

    .agenda-info {
        justify-content: center;
        flex-wrap: wrap;
    }

    .agenda-btn {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }

    /* Footer */
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.4rem;
    }

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

    .whyus-grid,
    .program-grid,
    .facility-grid,
    .testimoni-grid {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .footer-links a {
        justify-content: center;
    }

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

    .about-stats {
        flex-wrap: wrap;
        gap: 15px;
    }

    .about-stat {
        flex: 1;
        min-width: 70px;
    }
}

.org-level {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.org-node {
    flex: 1;
    min-width: 220px;
    max-width: 260px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px 15px;
    transition: all 0.3s;
}

.org-node:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.node-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 12px;
    background: #ff9800;
    color: white;
    border-radius: 20px;
    font-size: 0.85em;
}

/* ===== UTILITIES ===== */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mt-4 {
    margin-top: 4rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

.p-1 {
    padding: 1rem;
}

.p-2 {
    padding: 2rem;
}

.p-3 {
    padding: 3rem;
}

.p-4 {
    padding: 4rem;
}