/* Custom Styles & Theme Colors */
:root {
    --primary-orange: #F97316; /* Oranye cerah */
    --secondary-yellow: #FBBF24; /* Kuning/Amber */
    --background-color: #FDFCFB;
    --dark-text: #1F2937;
    --light-text: #FFFFFF;
}

body {
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow-x: hidden;
    background-color: var(--background-color);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: -webkit-linear-gradient(45deg, var(--secondary-yellow), var(--primary-orange));
    background: linear-gradient(45deg, var(--secondary-yellow), var(--primary-orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-link {
    font-weight: 600;
    color: var(--dark-text);
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-orange);
}

.cta-button {
    color: var(--light-text);
    border: none;
    background: -webkit-linear-gradient(45deg, var(--secondary-yellow), var(--primary-orange));
    background: linear-gradient(45deg, var(--secondary-yellow), var(--primary-orange));
    background-size: 200% auto;
    -webkit-transition: background-position 0.4s ease-in-out, -webkit-transform 0.2s ease;
    -moz-transition: background-position 0.4s ease-in-out, -moz-transform 0.2s ease;
    -o-transition: background-position 0.4s ease-in-out, -o-transform 0.2s ease;
    transition: background-position 0.4s ease-in-out, transform 0.2s ease;
}

.cta-button:hover {
    background-position: right center;
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

.main-cta-button {
    color: var(--light-text);
    border: none;
    background: -webkit-linear-gradient(45deg, var(--secondary-yellow), var(--primary-orange));
    background: linear-gradient(45deg, var(--secondary-yellow), var(--primary-orange));
    background-size: 200% auto;
    -webkit-transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 0.4s ease-in-out;
    -moz-transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 0.4s ease-in-out;
    -o-transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 0.4s ease-in-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 0.4s ease-in-out;
}

.main-cta-button:hover {
    -webkit-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
    -moz-box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
    background-position: right center;
}

.partner-logo {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    opacity: 0.6;
    -webkit-transition: filter 0.3s ease, opacity 0.3s ease;
    -moz-transition: filter 0.3s ease, opacity 0.3s ease;
    -o-transition: filter 0.3s ease, opacity 0.3s ease;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.partner-logo:hover {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
    opacity: 1;
}

#mobile-menu {
    -webkit-transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    -moz-transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    -o-transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}
#mobile-menu.active {
    max-height: 500px;
    opacity: 1;
}

/* --- Logo Slider Styles --- */
.scroller {
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.scroller-inner {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    -webkit-animation: scroll 40s linear infinite;
    -moz-animation: scroll 40s linear infinite;
    -o-animation: scroll 40s linear infinite;
    animation: scroll 40s linear infinite;
}

@-webkit-keyframes scroll {
    to { -webkit-transform: translate(calc(-50%)); }
}
@-moz-keyframes scroll {
    to { -moz-transform: translate(calc(-50%)); }
}
@-o-keyframes scroll {
    to { -o-transform: translate(calc(-50%)); }
}
@keyframes scroll {
    to {
        transform: translate(calc(-50%));
    }
}

/* --- Stacked Images Styles --- */
.image-stack-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-stack-item {
    position: absolute;
    -webkit-transition: -webkit-transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    -moz-transition: -moz-transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    -o-transition: -o-transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 80%;
    max-width: 400px;
}

.image-stack-item img {
    border-radius: 0.75rem;
    -webkit-box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    -moz-box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 4px solid var(--background-color);
    width: 100%;
    height: auto;
    display: block;
}

.image-stack-item.front {
    z-index: 2;
    -webkit-transform: translate(20%, 0%) rotate(4deg);
    -ms-transform: translate(20%, 0%) rotate(4deg);
    transform: translate(20%, 0%) rotate(4deg);
}

.image-stack-item.back {
    z-index: 1;
    -webkit-transform: translate(-20%, 0%) rotate(-4deg);
    -ms-transform: translate(-20%, 0%) rotate(-4deg);
    transform: translate(-20%, 0%) rotate(-4deg);
}

.image-stack-container:hover .image-stack-item.front {
    -webkit-transform: translate(0%, -35%) rotate(-4deg);
    -ms-transform: translate(0%, -35%) rotate(-4deg);
    transform: translate(0%, -35%) rotate(-4deg);
}

.image-stack-container:hover .image-stack-item.back {
    -webkit-transform: translate(0%, 35%) rotate(4deg);
    -ms-transform: translate(0%, 35%) rotate(4deg);
    transform: translate(0%, 35%) rotate(4deg);
}

/* --- Pricing & Testimonial Cards --- */
.pricing-card, .testimonial-card {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 2rem;
    -webkit-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    -moz-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    -webkit-transition: transform 0.3s ease, box-shadow 0.3s ease;
    -moz-transition: transform 0.3s ease, box-shadow 0.3s ease;
    -o-transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover, .testimonial-card:hover {
    -webkit-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
    -webkit-box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.pricing-card.popular {
    border-color: var(--primary-orange);
    border-width: 2px;
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: -webkit-linear-gradient(45deg, var(--secondary-yellow), var(--primary-orange));
    background: linear-gradient(45deg, var(--secondary-yellow), var(--primary-orange));
    color: var(--light-text);
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    -webkit-box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
    -moz-box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    -webkit-box-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    -moz-box-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    box-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-transition: transform 0.3s ease;
    -moz-transition: transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

/* --- Accordion Styles --- */
.accordion-item {
    background-color: white;
    border-radius: 0.5rem;
    -webkit-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    -moz-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #e5e7eb;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    cursor: pointer;
    background-color: white;
    border: none;
    outline: none;
}

.accordion-icon {
    -webkit-transition: -webkit-transform 0.3s ease;
    -moz-transition: -moz-transform 0.3s ease;
    -o-transition: -o-transform 0.3s ease;
    transition: transform 0.3s ease;
    transform: rotate(0deg); /* Arrow down */
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height 0.4s ease-in-out, padding 0.4s ease;
    -moz-transition: max-height 0.4s ease-in-out, padding 0.4s ease;
    -o-transition: max-height 0.4s ease-in-out, padding 0.4s ease;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease;
    padding: 0 1.5rem;
}

.accordion-content p {
    margin-bottom: 1.5rem;
}

/* Active State */
.accordion-item.active .accordion-header {
    color: var(--primary-orange);
}

.accordion-item.active .accordion-icon {
    transform: rotate(-180deg); /* Arrow up */
}

.accordion-item.active .accordion-content {
    max-height: 500px; /* Set a height large enough for the content */
    padding: 0 1.5rem 1rem;
}