/* Palet Warna Resmi */
:root {
    --dark-bg: #070707;
    --primary-blue: #016ba5;
    --light-blue: #4AA5D6;
    --primary-green: #319C42;
    --light-green: #9FC829;
    --white: #FFFFFF;
    --background-light: #f8f9fa;
    --border-color: #e9ecef;
}

/* Style Global */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-light);
    color: var(--dark-bg);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* Header Dinamis */
header {
    background: linear-gradient(to right, var(--primary-blue), var(--light-blue));
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

header.scrolled {
    background-color: var(--primary-blue);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 20px;
    color: var(--white);
    text-decoration: none;
}

.logo img {
    height: 60px;
    margin-right: 10px;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--dark-bg);
}

/* Hero Section jadi background slider */
.hero {
    position: relative;
    color: var(--white);
    padding: 196px 0;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
}

.hero h1 {
    font-size: 48px;
    margin: 0 0 20px 0;
    font-weight: bold;
    color: var(--white);
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--white);
}

.btn {
    text-decoration: none;
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    margin: 5px 10px 5px 0;
    display: inline-block;
    transition: transform 0.3s, background-color 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background-color: var(--white);
    border: 2px solid var(--white);
    color: var(--dark-bg);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--background-light);
    color: var(--dark-bg);
    animation-duration: 0.5ms;
}

/* Slider background hero */
.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 1;
    filter: grayscale(10%);
}

.hero-bg-slider::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-bg-slider .slider-container {
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    aspect-ratio: 99/41;
}

.hero-bg-slider .slider {
    display: flex;
    width: 500%;
    height: 100%;
    animation: slide 35s ease-out infinite;
    position: relative;
    z-index: 1;
}

.hero-bg-slider .slide {
    width: 20%;
    flex-shrink: 0;
    height: 100%;
}

.hero-bg-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Animasi slide */
@keyframes slide {

    0%,
    10% {
        transform: translateX(0%);
    }

    /* Slide 1 diam sebentar */
    20%,
    30% {
        transform: translateX(-20%);
    }

    /* Slide 2 diam sebentar */
    40%,
    50% {
        transform: translateX(-40%);
    }

    /* Slide 3 diam sebentar */
    60%,
    70% {
        transform: translateX(-60%);
    }

    /* Slide 4 diam sebentar */
    80%,
    90% {
        transform: translateX(-80%);
    }

    /* Slide 5 diam sebentar */
    100% {
        transform: translateX(-80%);
    }

    /* siap kembali ke awal */
}

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.wave-divider .shape-fill {
    fill: var(--background-light);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    text-align: center;
    background-color: #f8f9fa;
}

.contact h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #34495e;
}

.contact-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.contact-item {
    flex-basis: 22%;
    min-width: 280px;
    margin-bottom: 30px;
}

.contact-item .icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #007BBD;
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 35px;
}

.contact-item .icon svg {
    fill: white;
    width: 35px;
    height: 35px;
}

.contact-item h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.contact-item p {
    color: #35393d;
    font-size: 16px;
    line-height: 1.6;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--white);
}

.faq h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark-bg);
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
}

.faq-answer p {
    margin: 0;
    padding-bottom: 20px;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: rgba(255, 255, 255, 0.7);
    padding: 50px 0;
    font-size: 15px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-left .footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: bold;
    font-size: 22px;
}

.footer-left .footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-left p {
    margin: 0 0 10px 0;
    padding-left: 5px;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 8px 18px;
    border-radius: 20px;
    transition: background-color 0.3s, border-color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links img {
    width: 40px;
    height: auto;
}

.social-links a:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Mobile Menu & Responsive */
.menu-toggle {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--white);
        position: absolute;
        top: 70px;
        left: 0;
        text-align: center;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .nav-links a {
        color: var(--dark-bg);
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding-top: 10px;
        margin-bottom: 0px;
        display: flex;
        background: linear-gradient(to right, var(--primary-blue), var(--light-blue));
    }

    .hero-bg-slider .slider-container {
        aspect-ratio: 19/6;
        width: 157.3mm;
        height: 70mm;
        position: relative;
        overflow: hidden;
    }

    .hero-content {
    padding: 0px 0; 
    text-align: center;
    margin-top: 300px; 
    margin-bottom: -150px;
}

    .hero-bg-slider .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.2);
        transform-origin: center;
    }
.faq-item.active .faq-answer {
    max-height: 300px;
}

}

/* Tombol utama di pojok */
.fab-main-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(45deg, #28a745, #319C42);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

.fab-main-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.fab-main-button svg {
    width: 35px;
    height: 35px;
    fill: white;
}

/* Kontainer Modal (Pop-up) */
.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-container.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: white;
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-container.active .modal-content {
    transform: scale(1);
}

.modal-content h3 {
    margin-top: 0;
    margin-bottom: 25px;
    color: #333;
    font-size: 22px;
}

.modal-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.modal-social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f0f0f0;
    transition: all 0.3s ease;
}

.modal-social-links a:hover {
    transform: translateY(-5px);
    background-color: #e0e0e0;
}

.modal-social-links img {
    width: 100px;
    height: auto;
}

.modal-close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 30px;
    color: #888;
    cursor: pointer;
}