/* ==========================================================================
   STYLE KUSTOM PT AMANAH PRESISI UTAMA (Design System)
   ========================================================================== */

:root {
    --primary: #1b4fa0;
    --primary-deep: #1e3a8a;
    --accent: #f97316;
}

body { scroll-behavior: smooth; }

/* Scrollbar Custom */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-deep); }

/* Gradien Hero & Utilities */
.hero-gradient { background: linear-gradient(135deg, #0f172a 0%, #1b4fa0 50%, #1d4ed8 100%); }

/* Animasi Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.5s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* Hover Effect */
.card-hover { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.card-hover:hover { transform: translateY(-6px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }

.service-icon { background: #f0fdf4; color: #166534; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 16px; margin-bottom: 1.25rem; transition: all 0.3s; }
.card-hover:hover .service-icon { background: var(--primary); color: #ffffff; }

.brand-logo-gray { filter: grayscale(100%); opacity: 0.65; transition: all 0.4s; }
.brand-card-hover:hover .brand-logo-gray { filter: grayscale(0%); opacity: 1; transform: scale(1.05); }

@keyframes bounce-slow { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-12px); } }
@keyframes pulse-ring { 0% { transform: scale(0.95); opacity: 0.8; } 50% { transform: scale(1.15); opacity: 0.4; } 100% { transform: scale(1.3); opacity: 0; } }

/* Layur Tab Layanan */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}
.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* FAQ Accordion */
.faq-item.active {
    border-color: #1e3a8a;
    box-shadow: 0 4px 20px -2px rgba(30, 58, 138, 0.08);
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background-color: #f97316;
    color: #ffffff;
}
.faq-item.active .faq-toggle {
    color: #1b4fa0;
}
.faq-content {
    transition: max-height 0.3s ease-out;
}

/* Schedule Filter Transitions */
.schedule-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.schedule-card.hidden {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
    display: none;
}

/* Infinite Moving Marquee */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    position: relative;
    width: 100%;
}
.marquee-content {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 1.5rem;
    animation: marquee-left 50s linear infinite;
}
.marquee-content.reverse {
    animation: marquee-right 50s linear infinite;
}
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes marquee-left {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

@keyframes marquee-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}

