/* ========== ROOT VARIABLES ========== */
:root {
    --mint: #98D8C8;
    --mint-dark: #6bc2ae;
    --mint-light: #E8F8F5;
    --orange: #FFB347;
    --orange-dark: #f5a623;
    --green: #4CAF50;
    --blue: #2196F3;
    --red: #FF6B6B;
    --text-dark: #2C3E50;
    --text-gray: #6c757d;
    --border-color: #e9ecef;
    --bg-gray: #f8f9fa;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HEADER ========== */
header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 10px;
}

.logo-text h1 {
    font-size: 1.3rem;
    margin: 0;
    color: var(--mint-dark);
}

.logo-text span {
    font-size: 0.65rem;
    color: var(--text-gray);
    display: block;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem; /* Kurangi jarak antar menu dari 1.8rem menjadi 1rem */
    align-items: center;
}

/* Untuk tombol login dan daftar, beri jarak yang lebih rapat */
.nav-menu .btn-nav-daftar {
    padding: 8px 18px;
    white-space: nowrap;
}

/* Hapus margin berlebih pada li terakhir */
.nav-menu li:last-child {
    margin-left: 0;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: var(--mint-dark);
}

.btn-nav-daftar {
    background: var(--mint);
    padding: 8px 20px;
    border-radius: 50px;
    color: white !important;
    font-weight: 600;
}

.btn-cta-nav {
    background: linear-gradient(135deg, var(--orange) 0%, #ff9a3c 100%);
}

.btn-nav-daftar:hover {
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: 0.3s;
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(135deg, #f0f9f6 0%, #e8f5f0 100%);
    overflow: hidden;
    padding: 60px 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-badge {
    margin-bottom: 20px;
}

.badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.highlight {
    color: var(--mint-dark);
    position: relative;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--mint) 0%, var(--mint-dark) 100%);
    color: white;
    box-shadow: 0 10px 25px rgba(152, 216, 200, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(152, 216, 200, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--mint);
    color: var(--mint-dark);
}

.btn-secondary:hover {
    background: var(--mint);
    color: white;
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--mint-dark);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.hero-image {
    position: relative;
    text-align: center;
}

.hero-img {
    width: 100%;
    max-width: 450px;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.floating-card {
    position: absolute;
    background: white;
    padding: 10px 18px;
    border-radius: 50px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.floating-card i {
    color: var(--mint);
}

.card-1 {
    top: 10%;
    left: -10px;
    animation: floatCard 2s ease-in-out infinite;
}

.card-2 {
    bottom: 20%;
    right: -10px;
    animation: floatCard 2.5s ease-in-out infinite;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ========== PROGRAM SECTION ========== */
.program {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    background: var(--mint-light);
    color: var(--mint-dark);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-gray);
    font-size: 1rem;
}

.program-cards {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    background: white;
    border-radius: 28px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
}

.card-icon i {
    font-size: 3.5rem;
    color: var(--mint);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.card-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--mint-dark);
    margin: 15px 0;
}

.card-price span {
    font-size: 0.8rem;
    font-weight: normal;
    color: var(--text-gray);
}

.card p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.card-features {
    list-style: none;
    text-align: left;
    margin: 20px 0;
    padding: 0;
}

.card-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-features i {
    color: var(--mint);
    width: 20px;
}

.btn-card {
    text-decoration: none;
    color: var(--mint-dark);
    font-weight: 600;
    transition: color 0.3s;
    display: inline-block;
    margin-top: 10px;
}

.btn-card:hover {
    color: var(--mint);
}

/* ========== KEUNGGULAN SECTION ========== */
.keunggulan {
    background: var(--mint-light);
    padding: 80px 0;
}

.keunggulan-items {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.keunggulan-item {
    text-align: center;
    flex: 1;
    min-width: 250px;
    background: white;
    padding: 35px 25px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.keunggulan-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.keunggulan-icon i {
    font-size: 3rem;
    color: var(--mint-dark);
    margin-bottom: 20px;
}

.keunggulan-item h3 {
    margin-bottom: 12px;
}

/* ========== GALLERY SECTION ========== */
.gallery {
    padding: 80px 0;
    background: white;
}

.gallery-slider {
    overflow: hidden;
    padding: 20px 0;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay span {
    color: white;
    font-weight: 500;
}

/* ========== TESTIMONI SECTION ========== */
.testimoni {
    background: var(--mint-light);
    padding: 80px 0;
}

.testimoni-slider {
    overflow: hidden;
}

.testimoni-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    margin: 15px;
    position: relative;
    box-shadow: var(--shadow);
}

.testimoni-quote {
    font-size: 4rem;
    color: var(--mint);
    font-family: Georgia, serif;
    line-height: 1;
    position: absolute;
    top: 20px;
    left: 25px;
    opacity: 0.3;
}

.testimoni-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    padding-left: 30px;
}

.testimoni-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.testimoni-author img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.testimoni-author h4 {
    margin: 0;
    font-size: 1rem;
}

.testimoni-author span {
    font-size: 0.75rem;
    color: var(--text-gray);
}

.rating {
    margin-top: 5px;
}

.rating i {
    color: #FFD700;
    font-size: 0.7rem;
}

/* ========== CTA SECTION ========== */
.cta {
    background: linear-gradient(135deg, var(--text-dark) 0%, #1a2a36 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-content h2 .highlight {
    color: var(--mint);
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: #ccc;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn-cta-primary {
    background: #25D366;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-cta-primary:hover {
    background: #128C7E;
    transform: translateY(-3px);
}

.btn-cta-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-cta-secondary:hover {
    background: white;
    color: var(--text-dark);
    transform: translateY(-3px);
}

.cta-guarantee {
    color: #FFD700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ========== FOOTER ========== */
footer {
    background: #1e2a36;
    color: #ccc;
    padding-top: 50px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-logo h3 {
    margin: 0;
    font-size: 1.2rem;
    color: white;
}

.footer-col p {
    margin-bottom: 15px;
    line-height: 1.5;
}

.footer-col h4 {
    color: white;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col a:hover {
    color: var(--mint);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.contact-info i {
    width: 25px;
    color: var(--mint);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    background: rgba(255, 255, 255, 0.1);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.social-icons a:hover {
    background: var(--mint);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.footer-bottom .heart {
    color: #FF6B6B;
}

/* ========== SWIPER STYLES ========== */
.swiper-button-next,
.swiper-button-prev {
    color: var(--mint);
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1rem;
}

.swiper-pagination-bullet-active {
    background: var(--mint);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 30px 0;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }
}