/* --- Variabel Warna dan Font --- */
:root {
    --primary-blue: #0A224D; /* Darker, richer blue */
    --secondary-blue: #2A60A8; /* Medium blue */
    --accent-gold: #FFD700; /* Gold/Emas untuk aksen premium */
    --accent-orange: #FF8C00; /* Cadangan oranye untuk tombol/highlight */
    --text-dark: #2c3e50; /* Lebih gelap dari sebelumnya */
    --text-light: #6e7a88;
    --bg-light: #f9fbfe; /* Hampir putih, tapi ada nuansa biru sangat ringan */
    --bg-white: #ffffff;
    --border-color: #e0e6ed;
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.12);
    --shadow-strong: rgba(0, 0, 0, 0.2);

    --font-heading: 'Merriweather', serif; /* Font serif untuk judul utama */
    --font-body: 'Poppins', sans-serif; /* Font sans-serif untuk teks body */
}

/* --- Global Reset & Basic Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth; /* Smooth scrolling */
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 0;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    margin-bottom: 1.2em;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

h1 { font-size: 2.8em; }
h2 { font-size: 2.4em; }
h3 { font-size: 2em; }
h4 { font-size: 1.6em; }

p {
    color: var(--text-light);
    margin-bottom: 1.2em;
    font-size: 1.05em;
}

a {
    text-decoration: none;
    color: var(--secondary-blue);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-blue);
}

/* --- Tombol Umum --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px var(--shadow-light);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(90deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
    color: var(--bg-white);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--shadow-medium);
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

/* --- Header --- */
.main-header {
    background-color: var(--bg-white);
    padding: 20px 0;
    box-shadow: 0 2px 15px var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 60px;
    transform: scale(2.3);
}

.logo h1 {
    margin: 0;
    font-size: 2.1em;
    color: var(--primary-blue);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
}

.main-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 4px;
    background: var(--accent-gold);
    left: 50%;
    transform: translateX(-50%);
    bottom: -12px;
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 2px;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--primary-blue);
    font-weight: 600;
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8em;
    color: var(--primary-blue);
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-toggle:hover {
    color: var(--secondary-blue);
}

/* --- Hero Mini Section --- */
.hero-small {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--bg-white);
    text-align: center;
    padding: 90px 20px;
    margin-bottom: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-strong);
    overflow: hidden;
    position: relative;
}

.hero-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="%23ffffff" opacity="0.1"/></svg>');
    background-size: 20px;
    opacity: 0.3;
    animation: moveBackground 60s linear infinite;
}

@keyframes moveBackground {
    from { background-position: 0 0; }
    to { background-position: 100% 100%; }
}

.hero-small .container {
    position: relative;
    z-index: 2;
}

.hero-small h2 {
    color: var(--bg-white); /* Ubah ini ke transparent */
    background: linear-gradient(90deg, #FFFFFF 0%, var(--accent-gold) 100%); /* Gradien dari putih ke emas */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent; /* Untuk kompatibilitas */

    font-family: var(--font-heading);
    font-size: 3.2em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.4); /* Tetap pertahankan shadow untuk depth */
}

.hero-small p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: rgba(255, 255, 255, 0.95);
}

/* --- Banner Slider Section --- */
.banner-slider-section {
    padding: 30px 0;
    overflow: hidden;
    margin-bottom: 40px;
}

.slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-medium);
    height: 450px;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.slider-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    position: relative;
}

.slider-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: 20px;
}

.slide-content h3 {
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-size: 2.8em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.slide-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1em;
    margin-bottom: 30px;
}

.btn-slider {
    background-color: var(--accent-gold);
    color: var(--primary-blue);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-slider:hover {
    background-color: #FFC107;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* Slider Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--bg-white);
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 1.5em;
    z-index: 10;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.slider-nav:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.7);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background-color: var(--accent-gold);
    transform: scale(1.2);
}

/* --- Info Section (Shared Styles) --- */
.info-section {
    padding: 70px 0;
    margin-bottom: 50px;
}

.info-section.light-bg {
    background-color: var(--bg-white);
    box-shadow: 0 5px 25px var(--shadow-light);
    border-radius: 15px;
}

.info-section h3 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5em;
    position: relative;
    padding-bottom: 20px;
    color: var(--primary-blue);
}

.info-section h3::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background-color: var(--accent-gold);
    border-radius: 3px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.info-card {
    background-color: var(--bg-white);
    border-radius: 15px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 6px 20px var(--shadow-light);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--primary-blue));
    transform: translateY(-100%);
    transition: transform 0.3s ease-out;
}

.info-card:hover::before {
    transform: translateY(0);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px var(--shadow-medium);
}

.info-card .icon-large {
    font-size: 3.5em;
    color: var(--secondary-blue);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.info-card:hover .icon-large {
    color: var(--primary-blue);
}

.info-card h4 {
    color: var(--primary-blue);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.info-card p {
    font-size: 1.05em;
    margin-bottom: 25px;
    color: var(--text-light);
}

.read-more {
    color: var(--secondary-blue);
    font-weight: 600;
    position: relative;
    padding-bottom: 3px;
    border-bottom: 2px solid var(--secondary-blue);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
    transform: translateX(5px);
}

/* --- Statistik Section --- */
.stats-section {
    padding: 70px 0;
    margin-bottom: 50px;
    text-align: center;
}

.stats-section h3 {
    text-align: center;
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-item {
    background-color: var(--bg-white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 6px 20px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px var(--shadow-medium);
}

.stat-item .icon-stat {
    font-size: 3.5em;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.stat-item .stat-value {
    font-family: var(--font-heading);
    font-size: 3em;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.stat-item .stat-label {
    font-size: 1.1em;
    color: var(--text-light);
}

/* --- Testimonial Section --- */
.testimonials-section {
    padding: 70px 0;
    margin-bottom: 50px;
    text-align: center;
    background-color: var(--bg-light);
    border-radius: 15px;
    box-shadow: 0 5px 25px var(--shadow-light);
}

.testimonials-section h3 {
    margin-bottom: 60px;
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slider-track {
    display: flex;
    transition: transform 0.8s ease-in-out;
}

.testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 0 50px; /* Padding samping untuk konten */
    text-align: center;
}

.testimonial-slide .quote-icon {
    font-size: 3em;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.testimonial-slide p {
    font-size: 1.2em;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 1.1em;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-blue);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.2em;
    z-index: 10;
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.testimonial-nav:hover {
    background: rgba(0, 0, 0, 0.2);
    opacity: 1;
    color: var(--primary-blue);
}

.testimonial-nav.prev { left: 10px; }
.testimonial-nav.next { right: 10px; }

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    background-color: var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background-color: var(--accent-gold);
    transform: scale(1.3);
}


/* --- Quick Links Section --- */
.quick-links-section {
    padding: 60px 0;
    background-color: var(--bg-white);
    box-shadow: 0 -3px 15px var(--shadow-light);
    border-radius: 15px 15px 0 0;
    margin-top: 50px;
}

.quick-link-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.quick-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    background: linear-gradient(145deg, var(--bg-white), var(--bg-light));
    border-radius: 15px;
    width: 180px;
    text-align: center;
    color: var(--primary-blue);
    font-weight: 500;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid var(--border-color);
}

.quick-link-item:hover {
    background: linear-gradient(145deg, var(--primary-blue), var(--secondary-blue));
    color: var(--bg-white);
    transform: translateY(-8px);
    box-shadow: 0 10px 25px var(--shadow-medium);
}

.quick-link-item .icon-quick-link {
    font-size: 4em;
    margin-bottom: 15px;
    color: var(--secondary-blue);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.quick-link-item:hover .icon-quick-link {
    color: var(--accent-gold);
    transform: scale(1.1);
}

/* --- Footer --- */
.main-footer {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    padding: 50px 0;
    text-align: center;
    margin-top: 0;
    border-top: 5px solid var(--secondary-blue);
}

.main-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.main-footer p {
    margin: 0;
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.85);
}

.social-media a {
    margin-left: 25px;
    font-size: 1.5em;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.social-media a:hover {
    color: var(--accent-gold);
    transform: translateY(-3px) scale(1.1);
}

/* --- Floating Chat Widget --- */
.floating-chat-btn {
    position: fixed;
    bottom: 50px; /* Jarak dari bawah */
    left: 30px;    /* Ubah dari 'right' menjadi 'left' */
    /* right: auto; */ /* Opsional: bisa ditambahkan untuk memastikan 'right' tidak mempengaruhi */
    z-index: 999;
    background-color: #25D366; /* WhatsApp Green */
    color: var(--bg-white);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2em;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.floating-chat-btn:hover {
    background-color: #1DA851;
    transform: scale(1.1) rotate(5deg);
}

/* Penyesuaian Responsif untuk Tombol WhatsApp */
@media (max-width: 480px) {
    .floating-chat-btn {
        width: 50px;
        height: 50px;
        font-size: 2em;
        bottom: 80px; /* Sesuaikan agar tidak terlalu dekat dengan tombol back to top */
        left: 20px;   /* Ubah dari 'right' menjadi 'left' di mobile */
    }
}

/* --- Back to Top Button --- */
#backToTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    font-size: 1.5em;
    background-color: var(--secondary-blue);
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#backToTopBtn:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .main-nav ul {
        gap: 25px;
    }
    .hero-small h2 {
        font-size: 2.8em;
    }
    .info-section h3 {
        font-size: 2.2em;
    }
    .slider-wrapper {
        height: 400px;
    }
    .slide-content h3 {
        font-size: 2.2em;
    }
    .slide-content p {
        font-size: 1em;
    }
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    .testimonial-slide {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .main-header .container {
        flex-direction: row;
        justify-content: space-between;
    }
    .logo {
        margin-bottom: 0;
    }
    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--bg-white);
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 5px 15px var(--shadow-light);
        padding: 15px 0;
        border-radius: 0 0 10px 10px;
    }
    .main-nav.active {
        display: flex;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .main-nav .nav-link {
        font-size: 1.1em;
    }
    .nav-toggle {
        display: block;
    }

    .hero-small {
        padding: 70px 20px;
    }
    .hero-small h2 {
        font-size: 2.2em;
    }
    .hero-small p {
        font-size: 1em;
    }

    .info-section h3 {
        font-size: 2em;
    }
    .info-section h3::after {
        width: 80px;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
    .info-card {
        padding: 25px;
    }
    .info-card .icon-large {
        font-size: 3em;
    }

    .slider-wrapper {
        height: 350px;
        border-radius: 10px;
    }
    .slide-content h3 {
        font-size: 1.8em;
    }
    .slide-content p {
        font-size: 0.9em;
    }
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
        padding: 10px;
    }
    .slider-nav.prev {
        left: 10px;
    }
    .slider-nav.next {
        right: 10px;
    }
    .slider-dots {
        bottom: 15px;
    }
    .dot {
        width: 10px;
        height: 10px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-slide {
        padding: 0 10px;
    }
    .testimonial-nav {
        width: 40px;
        height: 40px;
        font-size: 1em;
    }

    .quick-link-grid {
        justify-content: center;
        gap: 20px;
    }
    .quick-link-item {
        width: 150px;
        padding: 25px;
    }
    .quick-link-item .icon-quick-link {
        font-size: 3.5em;
    }

    .main-footer .container {
        flex-direction: column;
        gap: 25px;
    }
    .social-media {
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 50px;
    }
    .logo h1 {
        font-size: 1.8em;
    }
    .hero-small h2 {
        font-size: 1.8em;
    }
    .hero-small p {
        font-size: 0.95em;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .info-card {
        padding: 20px;
    }
    .info-card h4 {
        font-size: 1.4em;
    }
    .quick-link-item {
        width: 100%;
    }
    .quick-link-item .icon-quick-link {
        font-size: 3em;
    }
    .floating-chat-btn {
        width: 50px;
        height: 50px;
        font-size: 2em;
        bottom: 80px; /* Sesuaikan agar tidak terlalu dekat dengan tombol back to top */
        right: 20px;
    }
    #backToTopBtn {
        width: 45px;
        height: 45px;
        font-size: 1.3em;
        bottom: 20px;
        right: 20px;
    }
    .slide-content h3 {
        font-size: 1.5em;
    }
    .slide-content p {
        font-size: 0.85em;
        margin-bottom: 20px;
    }
    .btn-slider {
        padding: 8px 18px;
        font-size: 0.9em;
    }
    .stat-item .stat-value {
        font-size: 2.5em;
    }
    .testimonial-slide p {
        font-size: 1em;
    }
}