* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a3a5f;
    --secondary-color: #f9b234;
    --accent-color: #e63946;
    --light-color: #f8f9fa;
    --dark-color: #333333;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    --success-color: #28a745;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --border-radius: 8px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.btn-primary:hover {
    background-color: #e0a010;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #0f2a44;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline1 {
    background-color: rgba(255, 255, 255, 0.457);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-outline1:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Small a11y + polish helpers (v2) */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.contact-text-link {
    color: inherit;
    text-decoration: none;
}

.contact-text-link:hover {
    text-decoration: underline;
}

.form-status {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    display: none;
}

.form-status.success {
    display: block;
    background-color: rgba(40, 167, 69, 0.12);
    color: var(--success-color);
    border: 1px solid rgba(40, 167, 69, 0.25);
}

.form-status.error {
    display: block;
    background-color: rgba(230, 57, 70, 0.10);
    color: var(--accent-color);
    border: 1px solid rgba(230, 57, 70, 0.25);
}

.btn:focus-visible,
.slider-nav:focus-visible,
.slider-dot:focus-visible,
.mobile-menu-btn:focus-visible,
.contact-link:focus-visible,
.form-control:focus-visible,
.modal-close:focus-visible {
    outline: 3px solid rgba(249, 178, 52, 0.7);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* Header & Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--primary-color);
    text-decoration: none;
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-cta {
    margin-left: 20px;
}

.nav-cta .btn {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.3rem;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 58, 95, 0.9), rgba(26, 58, 95, 0.9)), url('https://images.unsplash.com/photo-1523580494863-6f3031224c94?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 0 50px;
    margin-top: 60px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: white;
}

.hero-text p {
    font-size: 1rem;
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 12px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.stat-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px 10px;
    border-radius: var(--border-radius);
    text-align: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.about-text>p {
    margin-bottom: 25px;
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.feature-item {
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-top: 3px solid var(--secondary-color);
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.feature-item h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--gray-color);
    line-height: 1.5;
}

.about-image {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
}

.about-image i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Why Choose Me Section */
.why-choose {
    background-color: #f9fafc;
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.why-text>p {
    margin-bottom: 25px;
    line-height: 1.7;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.why-item i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 3px;
}

.specialization {
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
}

.specialization h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.specialization>p {
    margin-bottom: 15px;
    color: var(--gray-color);
    font-size: 0.95rem;
}

.spec-list {
    list-style: none;
}

.spec-list li {
    margin-bottom: 10px;
    padding-left: 22px;
    position: relative;
    font-size: 0.95rem;
}

.spec-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Experience Section */
.experience {
    background-color: white;
}

.exp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.exp-stat-item {
    background-color: white;
    padding: 25px 15px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--secondary-color);
}

.exp-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.exp-stat-label {
    font-size: 0.9rem;
    color: var(--gray-color);
    font-weight: 500;
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 25px;
    position: relative;
    border-left: 4px solid var(--secondary-color);
}

.timeline-date {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
}

.timeline-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.timeline-org {
    color: var(--gray-color);
    font-weight: 500;
    margin-bottom: 12px;
    font-size: 1rem;
}

.timeline-desc {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background-color: var(--light-gray);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--gray-color);
}

/* Services Section */
.services {
    background-color: #f9fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.service-card.popular {
    border: 2px solid var(--secondary-color);
}

.popular-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.service-header {
    background-color: var(--primary-color);
    color: white;
    padding: 25px;
    text-align: center;
    position: relative;
}

.service-header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    transform: translateX(-50%) rotate(45deg);
}

.service-header h3 {
    color: white;
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.service-body {
    padding: 35px 20px 25px;
    position: relative;
    z-index: 1;
}

.service-features {
    list-style: none;
    margin-bottom: 20px;
}

.service-features li {
    margin-bottom: 10px;
    padding-left: 22px;
    position: relative;
    font-size: 0.95rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.service-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.service-price span {
    font-size: 0.9rem;
    color: var(--gray-color);
    font-weight: normal;
    display: block;
    margin-top: 5px;
}

.service-btn {
    width: 100%;
    padding: 10px;
    font-size: 0.95rem;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.program-card {
    background-color: white;
    padding: 25px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border-top: 3px solid var(--primary-color);
}

.program-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--secondary-color);
}

.program-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.program-card h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.program-card p {
    color: var(--gray-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cta-box {
    margin-top: 50px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: stretch;
}

.cta-content {
    padding: 40px 50px;
    /* Padding kiri-kanan dibesarkan */
    background: linear-gradient(135deg, var(--primary-color), #2c527a);
    color: white;
    /* INI KUNCINYA: Biar teks di tengah vertikal */
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Dekorasi Background Samar (Lingkaran) biar ga sepi */
.cta-content::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-content::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: 20%;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-box h3 {
    color: white;
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.cta-box p {
    max-width: 700px;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.7;
}

.cta-content .cta-features {
    justify-content: flex-start;
    margin-top: 25px;
}

.cta-content .cta-feature {
    color: rgba(255, 255, 255, 0.92);
}

/* --- CTA SCRAPBOOK COLLAGE STYLES --- */

/* --- CTA IMAGE CONTAINER (FULL COVER) --- */
.cta-image {
    position: relative;
    /* Tinggi disamakan agar full cover */
    height: 100%;
    min-height: 450px;
    background-color: #fff;
    overflow: hidden;
    /* Tidak ada padding, biar foto mentok ke pinggir */
}

/* --- BASE STYLE FOTO ROBEKAN --- */
.torn-photo {
    position: absolute;
    width: 60%;
    /* Ukuran besar biar saling menumpuk */
    height: 60%;
    object-fit: cover;
    transition: all 0.4s ease;
    cursor: pointer;

    /* EFEK BAYANGAN MENGIKUTI BENTUK SOBEKAN (PENTING!) */
    /* Box-shadow biasa akan kotak, filter drop-shadow mengikuti gerigi */
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.4)) sepia(20%);
}

/* EFEK HOVER: Zoom & Jernih */
.torn-photo:hover {
    z-index: 50 !important;
    transform: scale(1.1);
    filter: drop-shadow(10px 10px 20px rgba(0, 0, 0, 0.5)) sepia(0%);
    /* Warna asli muncul */
}

/* --- BENTUK ROBEKAN KERTAS (JAGGED EDGES) --- */
/* Kita buat gerigi kasar manual pakai Polygon */

/* 1. Kiri Atas (Gudang Garam) */
.tp-1 {
    top: -5%;
    left: -5%;
    width: 65%;
    height: 65%;
    z-index: 1;
    /* Bentuk bergerigi acak */
    clip-path: polygon(0% 0%, 100% 0%,
            98% 10%, 100% 20%, 97% 30%, 99% 40%, 96% 50%, 98% 60%, 95% 70%, 99% 80%, 96% 90%, 100% 100%,
            0% 100%);
}

/* 2. Kanan Atas (USA2) */
.tp-2 {
    top: -5%;
    right: -5%;
    width: 60%;
    height: 60%;
    z-index: 2;
    /* Gerigi di sisi kiri & bawah */
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%,
            50% 98%, 40% 95%, 30% 99%, 20% 96%, 10% 98%, 0% 100%,
            2% 90%, 0% 80%, 3% 70%, 1% 60%, 4% 50%, 0% 40%, 3% 30%, 1% 20%, 4% 10%);
}

/* 3. Kiri Bawah (Wales) */
.tp-3 {
    bottom: -5%;
    left: -5%;
    width: 60%;
    height: 55%;
    z-index: 2;
    /* Gerigi di sisi atas & kanan */
    clip-path: polygon(0% 10%, 10% 2%, 20% 5%, 30% 0%, 40% 4%, 50% 1%, 60% 5%, 70% 0%, 80% 4%, 90% 1%, 100% 5%,
            98% 15%, 95% 25%, 99% 35%, 96% 45%, 98% 55%, 95% 65%, 99% 75%, 96% 85%, 100% 95%, 98% 100%,
            0% 100%);
}

/* 4. Kanan Bawah (International) */
.tp-4 {
    bottom: -5%;
    right: -5%;
    width: 55%;
    height: 65%;
    z-index: 1;
    /* Gerigi di sisi kiri & atas */
    clip-path: polygon(5% 0%, 15% 4%, 25% 1%, 35% 5%, 45% 0%, 55% 4%, 65% 1%, 75% 5%, 85% 0%, 95% 4%, 100% 0%,
            100% 100%,
            0% 100%,
            2% 90%, 0% 80%, 4% 70%, 1% 60%, 3% 50%, 0% 40%, 4% 30%, 1% 20%, 3% 10%);
}

/* 5. TENGAH (Japan) - Menutupi pertemuan 4 foto lain */
.tp-5 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 50%;
    z-index: 10;
    /* Paling atas */
    /* Gerigi di SEMUA SISI (Full Sobekan) */
    clip-path: polygon(2% 0%, 15% 4%, 30% 0%, 45% 3%, 60% 0%, 75% 4%, 90% 1%, 100% 5%,
            96% 15%, 99% 30%, 95% 45%, 98% 60%, 94% 75%, 98% 90%, 100% 100%,
            85% 96%, 70% 99%, 55% 95%, 40% 98%, 25% 94%, 10% 99%, 0% 100%,
            4% 85%, 1% 70%, 5% 55%, 0% 40%, 3% 25%, 1% 10%);
}

.tp-5:hover {
    transform: translate(-50%, -50%) scale(1.15);
    /* Tetap di tengah pas hover */
}

/* RESPONSIF HP */
@media (max-width: 992px) {
    .cta-image {
        min-height: 350px;
        order: -1;
    }

    /* Di HP kita bikin tumpukannya lebih sederhana */
    .tp-1 {
        width: 100%;
        height: 50%;
        top: 0;
        left: 0;
        clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 95%, 0 85%);
    }

    .tp-2 {
        display: none;
    }

    /* Sembunyikan sebagian biar gak penuh banget */
    .tp-3 {
        width: 50%;
        height: 60%;
        bottom: 0;
        left: 0;
        z-index: 5;
        clip-path: polygon(0 15%, 50% 5%, 100% 15%, 100% 100%, 0 100%);
    }

    .tp-4 {
        width: 55%;
        height: 60%;
        bottom: 0;
        right: 0;
        z-index: 4;
        clip-path: polygon(0 10%, 50% 0, 100% 10%, 100% 100%, 0 100%);
    }

    .tp-5 {
        width: 60%;
        height: 40%;
        top: 40%;
        clip-path: none;
        border: 5px solid white;
        transform: translate(-50%, -50%) rotate(-5deg);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
}

.collage-photo {
    position: absolute;
    object-fit: cover;
    /* Frame Putih Tebal ala Foto Cetak */
    border: 6px solid #fff;
    border-bottom-width: 20px;
    /* Bagian bawah lebih tebal kayak Polaroid */

    /* GANTI BOX-SHADOW DENGAN FILTER */
    /* Karena kita akan potong bentuknya, box-shadow biasa akan kepotong. Filter mengikuti bentuk potongan. */
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));

    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Efek membal (bouncy) */
    cursor: pointer;

    /* EFEK ROBEKAN/GUNTINGAN MANUAL (Tidak kotak sempurna) */
    clip-path: polygon(2% 2%, 98% 1%, 99% 98%, 1% 99%);
}

.collage-photo:hover {
    z-index: 50 !important;
    transform: scale(1.15) rotate(0deg) !important;
    /* Luruskan saat hover */
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4));
    /* Bayangan makin deep */
    border-color: #fff;
}

/* --- POSISI TUMPUKAN (LEBIH RAPAT/PADAT) --- */

/* Foto 1: Gudang Garam (Background Base) */
.p1 {
    top: 15%;
    left: 8%;
    width: 55%;
    height: auto;
    transform: rotate(-6deg);
    z-index: 1;
    /* Potongan sedikit miring */
    clip-path: polygon(3% 0%, 97% 2%, 100% 95%, 0% 100%);
}

/* Foto 2: Flashcards (Kanan Atas) */
.p2 {
    top: 8%;
    right: 8%;
    width: 42%;
    height: auto;
    transform: rotate(8deg);
    z-index: 2;
    clip-path: polygon(0% 2%, 100% 0%, 95% 100%, 2% 98%);
}

/* Foto 3: Wales Online (Bawah Kiri) */
.p3 {
    bottom: 10%;
    left: 12%;
    width: 38%;
    height: auto;
    transform: rotate(-12deg);
    z-index: 3;
    clip-path: polygon(2% 0%, 98% 5%, 100% 100%, 0% 95%);
}

/* Foto 4: International Class (Center Piece - Paling Besar) */
.p4 {
    top: 35%;
    left: 35%;
    width: 48%;
    height: auto;
    transform: rotate(-3deg);
    z-index: 10;
    /* Paling atas */
    clip-path: polygon(0% 0%, 100% 3%, 97% 97%, 3% 100%);
}

/* Foto 5: Sepeda (Pojok Kiri Atas - Aksen) */
.p5 {
    top: -5%;
    left: -2%;
    width: 35%;
    height: auto;
    transform: rotate(-15deg);
    z-index: 4;
    clip-path: polygon(5% 0%, 95% 0%, 100% 90%, 0% 100%);
}

/* RESPONSIF HP */
@media (max-width: 992px) {
    .cta-image {
        height: 350px;
        order: -1;
        /* Gambar di atas */
        margin-bottom: 0;
    }

    /* Sesuaikan ukuran di HP biar ga tumpang tindih parah */
    .p1 {
        width: 60%;
        left: 5%;
    }

    .p2 {
        width: 40%;
        right: 5%;
    }

    .p3 {
        width: 40%;
        left: 5%;
        bottom: 5%;
    }

    .p4 {
        width: 50%;
        left: 30%;
        top: 30%;
    }

    .p5 {
        width: 35%;
        left: 0;
        top: 0;
    }
}

/* .cta-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        } */

.cta-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.cta-feature i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Testimonials Section - Infinite Slider */
.testimonials {
    background-color: white;
    position: relative;
    overflow: hidden;
}

.testimonials-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    overflow: hidden;
    touch-action: pan-y;
}

.testimonials-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    cursor: grab;
    touch-action: pan-y;
    will-change: transform;
}

.testimonials-slider.grabbing {
    cursor: grabbing;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: calc(33.333% - 20px);
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--light-gray);
    margin: 0 10px;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-right: 12px;
    flex-shrink: 0;
}

.testimonial-info h4 {
    margin-bottom: 4px;
    color: var(--primary-color);
    font-size: 1rem;
}

.testimonial-info p {
    color: var(--gray-color);
    font-size: 0.85rem;
}

.testimonial-rating {
    color: var(--secondary-color);
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.testimonial-card>p {
    font-style: italic;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Gallery Section - Murid dari Berbagai Negara (BESAR) */
.gallery {
    background-color: #f9fafc;
    padding: 80px 0;
}

.gallery-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    touch-action: pan-y;
}

.gallery-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    cursor: grab;
    padding: 0 20px;
    /* PERBAIKAN: Padding untuk centering di HP */
    will-change: transform;
}

.gallery-slider.grabbing {
    cursor: grabbing;
}

/* PERBAIKAN: Atur card gallery untuk responsif */
.gallery-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: calc(33.333% - 20px);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
    height: 380px;
    /* TINGGI TETAP UNTUK SEMUA CARD */
    margin: 0 10px;
    /* PERBAIKAN: Tambah margin horizontal */
    scroll-snap-align: center;
    /* PERBAIKAN: Untuk centering saat scroll */
}

.gallery-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.gallery-img {
    width: 100%;
    height: 100%;
    /* MENGGUNAKAN 100% DARI TINGGI CARD */
    object-fit: cover;
    /* AGAR GAMBAR TIDAK TERDISTORSI */
    display: block;
    transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.05);
}

/* PERBAIKAN: Ukuran font lebih kecil untuk card dalam slider gallery */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 58, 95, 0.95), rgba(26, 58, 95, 0.7), transparent);
    color: white;
    padding: 20px 15px;
    transform: translateY(0);
    transition: var(--transition);
}

.gallery-card:hover .gallery-overlay {
    background: linear-gradient(to top, rgba(26, 58, 95, 0.98), rgba(26, 58, 95, 0.8));
}

/* PERBAIKAN: Font size diperkecil untuk card dalam slider */
.gallery-country {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-flag {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* PERBAIKAN: Font size diperkecil untuk deskripsi */
.gallery-desc {
    font-size: 0.9rem;
    opacity: 0.95;
    color: white;
    line-height: 1.4;
    margin-top: 8px;
    font-weight: 500;
}

.gallery-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* PERBAIKAN: Font size lebih kecil untuk stat */
.gallery-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.gallery-stat i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Modal untuk preview gambar - PERBAIKAN BESAR */
/* PERBAIKAN: Background modal menjadi semi-transparan */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: white;
    max-width: 1000px;
    width: 90%;
    max-height: 90vh;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
    display: flex;
    flex-direction: column;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.modal-close:hover {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: rotate(90deg) scale(1.1);
}

/* PERBAIKAN: Modal body untuk responsif dan scroll */
.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    height: 100%;
    overflow: hidden;
}

/* PERBAIKAN: Kontainer gambar untuk responsif - UKURAN TETAP */
.modal-image-container {
    height: 500px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    overflow: hidden;
    position: relative;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* PERBAIKAN: Offset teks pada modal diperbaiki */
.modal-info {
    padding: 40px;
    background-color: var(--light-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    max-height: 500px;
}

.modal-country {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-flag {
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* PERBAIKAN: Margin dan padding diperbaiki agar teks tidak terpotong */
.modal-desc {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--dark-color);
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.modal-duration,
.modal-program {
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.modal-duration h4,
.modal-program h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-duration h4 i,
.modal-program h4 i {
    color: var(--secondary-color);
}

.modal-duration p,
.modal-program p {
    font-size: 1.1rem;
    color: var(--gray-color);
    line-height: 1.5;
    font-weight: 500;
}

.modal-stats {
    display: flex;
    justify-content: space-between;
    margin: 25px 0;
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.modal-stat {
    text-align: center;
    flex: 1;
    padding: 10px;
}

.modal-stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    line-height: 1;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modal-stat-label {
    font-size: 0.9rem;
    color: var(--gray-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-quote {
    margin-top: 25px;
    font-size: 0.95rem;
    color: var(--gray-color);
    font-style: italic;
    text-align: center;
    padding: 15px;
    background-color: white;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Slider Navigation - PERBAIKAN: Tombol navigasi baru */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    border: none;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.slider-nav:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
}

/* PERBAIKAN: Slider dots yang berputar */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 50px;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--light-gray);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
}

.slider-dot.active {
    background-color: var(--secondary-color);
    transform: scale(1.3);
}

/* PERBAIKAN: Counter slider */
.slider-counter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
}

.current-slide {
    font-size: 1.2rem;
}

.total-slides {
    font-size: 1rem;
    color: var(--gray-color);
}

.testimonial-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 60px;
}

.testimonial-stat {
    text-align: center;
    padding: 25px;
    background-color: #f9fafc;
    border-radius: var(--border-radius);
}

.testimonial-stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.testimonial-stat-label {
    font-size: 1rem;
    color: var(--gray-color);
    font-weight: 500;
}

/* Contact Section */
.contact {
    background-color: #f9fafc;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 58, 95, 0.1);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.4rem;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-right: 12px;
    margin-top: 3px;
    width: 18px;
}

.contact-item h4 {
    margin-bottom: 4px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--gray-color);
    font-size: 0.95rem;
}

.operating-hours {
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.operating-hours h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
    font-size: 0.95rem;
}

.hour-item:last-child {
    border-bottom: none;
}

.contact-features {
    margin-top: 25px;
}

.contact-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.contact-link:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 50px 0 25px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-col p {
    opacity: 0.8;
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.85rem;
}

/* Responsive Styles - PERBAIKAN UTAMA UNTUK GALLERY DI HP */
@media (max-width: 1100px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-card {
        flex: 0 0 calc(50% - 15px);
        min-width: calc(50% - 15px);
    }

    .gallery-card {
        flex: 0 0 calc(50% - 20px);
        /* PERBAIKAN: Atur lebar card */
        min-width: calc(50% - 20px);
        height: 350px;
    }

    /* PERBAIKAN: Responsif untuk ukuran font gallery card */
    .gallery-country {
        font-size: 1.3rem;
    }

    /* PERBAIKAN: Modal untuk tablet */
    .modal-body {
        grid-template-columns: 1fr;
        max-height: 80vh;
        overflow-y: auto;
    }

    .modal-image-container {
        height: 350px;
        min-height: 350px;
        max-height: 40vh;
    }

    .modal-info {
        max-height: none;
        padding: 30px;
        overflow-y: visible;
    }

    .modal-content {
        max-height: 90vh;
    }

    /* PERBAIKAN: Padding slider untuk tablet */
    .gallery-slider {
        padding: 0 30px;
    }
}

@media (max-width: 992px) {

    .cta-box {
        grid-template-columns: 1fr;
    }

    .cta-image {
        order: -1;
        min-height: 220px;
    }

    .cta-content {
        text-align: center;
        padding: 32px 22px;
    }

    .cta-box p {
        margin: 0 auto 20px;
    }

    .cta-content .cta-features {
        justify-content: center;
    }

    .hero-content,
    .about-content,
    .why-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .exp-stats,
    .services-grid,
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        margin-top: 60px;
        /* Tetap */
        padding: 30px 0 10px !important;
        /* Dikurangi dari 80px agar tidak terlalu tinggi di HP */
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .testimonial-card {
        flex: 0 0 calc(100% - 20px);
        min-width: calc(100% - 20px);
    }

    /* PERBAIKAN UTAMA: Untuk tablet, atur card menjadi full width dengan margin */
    .gallery-card {
        flex: 0 0 calc(100% - 40px);
        /* Lebar penuh dengan margin */
        min-width: calc(100% - 40px);
        height: 320px;
        margin: 0 20px;
        /* Margin untuk centering */
    }

    .testimonials-slider-container,
    .gallery-slider-container {
        padding: 0 10px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    /* PERBAIKAN: Responsif untuk ukuran font gallery card */
    .gallery-country {
        font-size: 1.2rem;
    }

    .gallery-desc {
        font-size: 0.85rem;
    }

    .modal-content {
        width: 95%;
    }

    /* PERBAIKAN: Padding slider untuk tablet kecil */
    .gallery-slider {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 15px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        align-items: flex-start;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 8px 0;
        margin-left: 0;
    }

    .nav-cta {
        margin: 15px 0 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-btns {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
        margin-bottom: 8px;
    }

    .exp-stats,
    .services-grid,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .testimonial-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .hero {
        margin-top: 60px;
        padding: 30px 0 30px;
    }

    .testimonials-slider-container,
    .gallery-slider-container {
        padding: 0 5px;
    }

    .slider-nav {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        top: 40%;
        /* PERBAIKAN: Atur posisi vertikal */
    }

    .slider-nav.prev {
        left: 5px;
        /* PERBAIKAN: Posisi tombol kiri */
    }

    .slider-nav.next {
        right: 5px;
        /* PERBAIKAN: Posisi tombol kanan */
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        padding: 28px 18px;
    }

    .cta-image {
        min-height: 200px;
    }

    .about-image {
        padding: 25px;
    }

    .specialization {
        padding: 20px;
    }

    /* PERBAIKAN UTAMA: Untuk HP, atur card gallery dengan centering yang tepat */
    .gallery-card {
        flex: 0 0 calc(100% - 60px);
        /* Lebar penuh dengan margin lebih besar */
        min-width: calc(100% - 60px);
        height: 300px;
        margin: 0 30px;
        /* Margin lebih besar untuk centering di HP */
        scroll-snap-align: center;
    }

    /* PERBAIKAN: Swipe di HP ditangani via JavaScript (infinite loop),
               sehingga container tetap overflow hidden agar pergeseran slider konsisten */
    .gallery-slider-container {
        overflow-x: hidden;
    }

    .gallery-slider {
        padding: 0 15px;
        /* Padding lebih kecil untuk HP */
    }

    /* PERBAIKAN: Responsif untuk ukuran font gallery card */
    .gallery-country {
        font-size: 1.1rem;
    }

    .gallery-overlay {
        padding: 15px 12px;
    }

    .gallery {
        padding: 60px 0;
    }

    /* PERBAIKAN: Modal untuk mobile */
    .modal-country {
        font-size: 1.8rem;
    }

    .modal-desc {
        font-size: 1rem;
    }

    .modal-content {
        width: 95%;
        padding: 0;
        max-height: 95vh;
    }

    .modal-info {
        padding: 25px 20px;
        max-height: none;
        overflow-y: visible;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .modal-body {
        grid-template-columns: 1fr;
        max-height: none;
        overflow-y: visible;
    }

    .modal-image-container {
        height: 300px;
        min-height: 300px;
        max-height: 40vh;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 1.6rem;
    }

    .stat-number,
    .exp-stat-number,
    .testimonial-stat-number {
        font-size: 1.8rem;
    }

    .service-header,
    .service-body {
        padding: 20px 15px;
    }

    .contact-form {
        padding: 25px 15px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-item {
        padding: 15px 10px;
    }

    .testimonials-slider-container,
    .gallery-slider-container {
        padding: 0 5px;
    }

    .slider-nav {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 1.4rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .feature-item {
        padding: 15px;
    }

    .feature-item h4 {
        font-size: 1rem;
    }

    .feature-item p {
        font-size: 0.85rem;
    }

    .exp-stat-item {
        padding: 20px 10px;
    }

    .exp-stat-number {
        font-size: 1.6rem;
    }

    .exp-stat-label {
        font-size: 0.85rem;
    }

    .timeline-item {
        padding: 20px;
    }

    .timeline-title {
        font-size: 1.1rem;
    }

    .service-header h3 {
        font-size: 1.2rem;
    }

    .service-price {
        font-size: 1.4rem;
    }

    .program-card {
        padding: 20px 15px;
    }

    .program-card h4 {
        font-size: 1rem;
    }

    .program-card p {
        font-size: 0.85rem;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-stat {
        padding: 20px;
    }

    .testimonial-stat-number {
        font-size: 1.8rem;
    }

    .testimonial-stat-label {
        font-size: 0.9rem;
    }

    .contact-item h4 {
        font-size: 1rem;
    }

    .contact-item p {
        font-size: 0.9rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-col h4 {
        font-size: 1.1rem;
    }

    .footer-col p {
        font-size: 0.9rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .hero-btns .btn {
        padding: 12px;
    }

    .cta-box h3 {
        font-size: 1.2rem;
    }

    .cta-box p {
        font-size: 0.9rem;
    }

    .cta-feature {
        font-size: 0.85rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .nav-container {
        padding: 12px 15px;
    }

    .hero {
        padding: 70px 0 40px;
    }

    section {
        padding: 40px 0;
    }

    /* PERBAIKAN UTAMA: Untuk HP kecil, atur card gallery dengan centering yang tepat */
    .gallery-card {
        flex: 0 0 calc(100% - 40px);
        /* Lebar penuh dengan margin lebih kecil */
        min-width: calc(100% - 40px);
        height: 280px;
        margin: 0 20px;
        /* Margin lebih kecil untuk HP kecil */
    }

    /* PERBAIKAN: Responsif untuk ukuran font gallery card */
    .gallery-country {
        font-size: 1rem;
    }

    .gallery-overlay {
        padding: 12px 10px;
    }

    .gallery-desc {
        font-size: 0.8rem;
    }

    .gallery {
        padding: 50px 0;
    }

    /* PERBAIKAN: Modal untuk mobile kecil */
    .modal-content {
        width: 98%;
        max-height: 95vh;
    }

    .modal-info {
        padding: 20px 15px;
        overflow-y: auto;
        max-height: 50vh;
    }

    .modal-country {
        font-size: 1.5rem;
    }

    .modal-desc {
        font-size: 0.9rem;
    }

    .modal-stats {
        padding: 15px 10px;
        margin: 15px 0;
        flex-direction: column;
        gap: 15px;
    }

    .modal-stat-number {
        font-size: 1.8rem;
    }

    .modal-duration,
    .modal-program,
    .modal-quote {
        padding: 15px;
    }

    .modal-image-container {
        height: 250px;
        min-height: 250px;
        max-height: 35vh;
    }
}

@media (max-width: 400px) {
    .hero-text h1 {
        font-size: 1.4rem;
    }

    .section-title h2 {
        font-size: 1.3rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .exp-stat-number {
        font-size: 1.4rem;
    }

    .service-price {
        font-size: 1.2rem;
    }

    .testimonial-stat-number {
        font-size: 1.6rem;
    }

    .testimonials-slider-container,
    .gallery-slider-container {
        padding: 0;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* PERBAIKAN UTAMA: Untuk HP sangat kecil, atur card gallery dengan centering yang tepat */
    .gallery-card {
        flex: 0 0 calc(100% - 30px);
        /* Lebar penuh dengan margin minimal */
        min-width: calc(100% - 30px);
        height: 250px;
        margin: 0 15px;
        /* Margin minimal untuk HP sangat kecil */
    }

    /* PERBAIKAN: Responsif untuk ukuran font gallery card */
    .gallery-country {
        font-size: 0.9rem;
    }

    .gallery-flag {
        font-size: 1.2rem;
    }

    .gallery-desc {
        font-size: 0.75rem;
    }

    /* PERBAIKAN: Modal untuk mobile sangat kecil */
    .modal-content {
        width: 98%;
        padding: 0;
    }

    .modal-info {
        padding: 15px 12px;
        max-height: 45vh;
    }

    .modal-country {
        font-size: 1.3rem;
    }

    .modal-desc {
        font-size: 0.8rem;
    }
}

/* --- NEW MASONRY GALLERY STYLES --- */

/* Wrapper Utama */
.wall-of-fame-wrapper {
    position: relative;
    max-height: 600px;
    /* Tinggi awal (Preview Mode) */
    overflow: hidden;
    transition: max-height 1.5s ease-in-out;
}

.wall-of-fame-wrapper.expanded {
    max-height: 8000px;
    /* Cukup tinggi untuk menampung 35 foto */
}

/* Efek Pudar Putih di Bawah */
.fader-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, rgba(249, 250, 252, 0), #f9fafc 90%);
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 5;
}

.wall-of-fame-wrapper.expanded .fader-overlay {
    opacity: 0;
    pointer-events: none;
}

/* Grid Masonry */
.masonry-container {
    column-count: 4;
    column-gap: 20px;
    padding-bottom: 20px;
}

/* Item Foto */
.masonry-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    background: white;
    transition: transform 0.3s ease;
}

.masonry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.masonry-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Info Overlay (Hover) */
.masonry-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(26, 58, 95, 0.95), transparent);
    padding: 30px 15px 15px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.masonry-item:hover .masonry-info {
    opacity: 1;
}

.masonry-country {
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 4px;
}

/* Tombol Expand */
.expand-btn-container {
    text-align: center;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

/* Responsif Masonry */
@media (max-width: 992px) {
    .masonry-container {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .masonry-container {
        column-count: 2;
        column-gap: 15px;
    }

    .masonry-info {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    }

    /* Di HP info selalu tampil */
}

/* --- IMMERSIVE LEARNING: INFINITE ZIG-ZAG REELS --- */
.immersive {
    background-color: #fff;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

/* Background Pattern Peta */
.immersive::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a3a5f' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
    pointer-events: none;
}

.adventure-timeline {
    position: relative;
    max-width: 1100px;
    /* Lebar ditambah dikit biar lega */
    margin: 0 auto;
    z-index: 1;
    padding: 20px 0;
}

/* GARIS TENGAH (The Boundary) */
.adventure-timeline::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    /* Garis lebih tebal dikit */
    /* Garis putus-putus stylish */
    background: repeating-linear-gradient(to bottom, var(--secondary-color) 0, var(--secondary-color) 12px, transparent 12px, transparent 24px);
    transform: translateX(-50%);
    z-index: 10;
    /* Garis ada DI ATAS gambar (efek gambar masuk garis) */
}

/* Item Wrapper */
.adv-item {
    display: flex;
    align-items: center;
    /* Center Vertikal */
    justify-content: space-between;
    margin-bottom: 120px;
    /* Jarak antar item lebih jauh */
    position: relative;
    width: 100%;
}

/* --- LOGIKA ZIG-ZAG --- */

/* ITEM GANJIL (1, 3): Teks KIRI, Slider KANAN */
.adv-item:nth-child(odd) {
    flex-direction: row;
}

.adv-item:nth-child(odd) .adv-content {
    text-align: right;
    /* Teks rata kanan mendekati garis */
    padding-right: 40px;
}

.adv-item:nth-child(odd) .reel-wrapper {
    padding-left: 40px;
    /* Masking: Pudar di kiri (dekat garis) */
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 100%);
}

/* ITEM GENAP (2): Teks KANAN, Slider KIRI */
.adv-item:nth-child(even) {
    flex-direction: row-reverse;
}

.adv-item:nth-child(even) .adv-content {
    text-align: left;
    /* Teks rata kiri mendekati garis */
    padding-left: 40px;
}

.adv-item:nth-child(even) .reel-wrapper {
    padding-right: 40px;
    /* Masking: Pudar di kanan (dekat garis) */
    mask-image: linear-gradient(to left, transparent 0%, black 10%, black 100%);
    -webkit-mask-image: linear-gradient(to left, transparent 0%, black 10%, black 100%);
}

/* --- KONTEN TEKS --- */
.adv-content {
    width: 45%;
    position: relative;
    z-index: 11;
    /* Teks di atas segalanya */
}

.adv-tag {
    display: inline-block;
    padding: 6px 16px;
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.adv-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.adv-content p {
    color: var(--gray-color);
    line-height: 1.7;
}

/* --- COMPACT REEL (SLIDER) --- */
.reel-wrapper {
    width: 45%;
    position: relative;
    z-index: 5;
    /* Di bawah garis tengah */
}

.compact-reel {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 20px;
    /* Space buat shadow bawah */
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Hilangkan scrollbar Firefox */
    -ms-overflow-style: none;
    /* Hilangkan scrollbar IE */
}

.compact-reel::-webkit-scrollbar {
    display: none;
}

/* Hilangkan Chrome */

/* --- VARIABLE WIDTH REEL (Original Ratio) --- */

.c-reel-item {
    flex: 0 0 auto;
    /* Jangan biarkan item mengecil/membesar sendiri */
    width: auto;
    /* KUNCI 1: Lebar mengikuti konten (gambar) */
    height: 320px;
    /* KUNCI 2: Tinggi KITA KUNCI (Fixed) */

    border-radius: 12px;
    overflow: hidden;
    scroll-snap-align: center;
    /* Magnet di tengah biar enak */
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: grab;
    background-color: #eee;
    /* Placeholder warna sebelum gambar load */
}

.c-reel-item:hover {
    transform: translateY(-5px);
    z-index: 20;
    /* Biar pas hover dia naik ke atas tumpukan lain */
}

.c-reel-img {
    display: block;
    height: 100%;
    /* Tinggi menuhin container */
    width: auto;
    /* Lebar menyesuaikan rasio asli */
    max-width: none;
    /* Penting! Biar gambar lebar tidak dibatasi container induk */
    object-fit: contain;
    /* Jaga-jaga, tapi width:auto biasanya sudah cukup */
}

/* Label tetap di pojok */
.c-reel-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    backdrop-filter: blur(4px);
    white-space: nowrap;
    /* Teks jangan turun baris */
}

/* ICON TENGAH */
.adv-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: 4px solid #fff;
    /* Border putih tebal biar misah sama garis */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 12;
    /* Paling atas */
}

/* --- RESPONSIF HP/TABLET --- */
@media (max-width: 992px) {
    .adventure-timeline::after {
        left: 20px;
        /* Garis pindah ke kiri */
        transform: none;
    }

    .adv-item,
    .adv-item:nth-child(even),
    .adv-item:nth-child(odd) {
        flex-direction: column;
        /* Stack vertikal */
        align-items: flex-start;
        margin-bottom: 80px;
    }

    /* Icon pindah ke garis kiri */
    .adv-icon {
        left: 20px;
        top: 0;
        margin-top: 15px;
        /* Sejajar judul */
        transform: translate(-50%, 0);
    }

    /* Reset Text Alignment */
    .adv-item:nth-child(odd) .adv-content,
    .adv-item:nth-child(even) .adv-content {
        text-align: left;
        width: calc(100% - 50px);
        margin-left: 50px;
        padding: 0;
    }

    /* Reset Reel Wrapper */
    .reel-wrapper {
        width: 100%;
        /* Full width di HP */
        padding: 0 !important;
        /* Hapus padding desktop */
        margin-top: 25px;
        mask-image: none !important;
        /* Hapus efek mask di HP biar jelas */
        -webkit-mask-image: none !important;
        order: -1;
        /* Pindah ke urutan pertama */
        margin-bottom: 20px;
        /* Kasih jarak sama teks dibawahnya */
        margin-top: 0;
    }

    .compact-reel {
        padding: 10px 20px;
        /* Padding kiri kanan biar item pertama ga nempel layar */
    }

    .c-reel-item {
        height: 220px;
        /* Di HP jangan terlalu tinggi, makan tempat */
    }
}

/* --- HERO IMAGE PROFILE & MOBILE REORDER --- */
.hero-profile-img {
    width: 100%;
    max-width: 450px;
    /* Batasi lebar agar proporsional */
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    /* Efek bayangan */
    border: 5px solid rgba(255, 255, 255, 0.15);
    /* Frame transparan */
    object-fit: cover;
    aspect-ratio: 1/1;
    /* Agar foto persegi rapi */
    display: block;
    margin: 0 auto;
}

.image-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

/* KHUSUS MOBILE: Paksa Gambar ke Atas, Teks ke Bawah */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        /* Jadi 1 kolom */
        text-align: center;
        /* Teks rata tengah */
        gap: 30px;
    }

    .hero-image {
        grid-row: 1;
        margin-bottom: 10px;
        /* Kurangi jarak dari bawah foto */
    }

    .hero-text h1 {
        margin-top: -5px;
        /* Gunakan sedikit margin negatif jika perlu naik lagi */
        line-height: 1.2;
        /* Merapatkan antar baris teks agar lebih elegan */
        letter-spacing: -0.5px;
        /* Karakteristik font High-End biasanya agak rapat */
    }

    .hero-text p {
        margin-top: 10px;
        /* Jarak antara judul dan deskripsi */
    }

    /* Grid row 2 memaksa elemen ini jadi urutan kedua */
    .hero-text {
        grid-row: 2;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-profile-img {
        max-width: 300px;
        /* Perkecil sedikit di HP */
    }
}

