/* =========================
   VARIABLES
========================= */
:root {
    --primary-orange: #d35400;
    --primary-dark: #b34100;
    --accent-light: #fff5eb;
    --dark-bg: #1a1c20;
    --text-muted: #6c757d;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(211, 84, 0, 0.15);
    --radius-lg: 1.5rem;

    /* Additional */
    --color-primary-orange: #fd7e14;
    --color-dark-orange: #e86c0a;
    --color-soft-orange: #fff4e6;
}

/* =========================
   GLOBAL STYLES
========================= */
body {
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
}

.text-orange {
    color: var(--primary-orange) !important;
}
.bg-orange {
    background-color: var(--primary-orange) !important;
}
.rounded-4 {
    border-radius: var(--radius-lg) !important;
}
.shadow-hover:hover {
    box-shadow: var(--shadow-hover) !important;
}

/* =========================
   STATISTICS SECTION
========================= */
.stat-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    cursor: default;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--color-border, #ccc);
}

.border-primary::before {
    background: #0d6efd;
}
.border-success::before {
    background: #198754;
}
.border-danger::before {
    background: #dc3545;
}
.border-warning::before {
    background: #ffc107;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-orange);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #333, #666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-light-theme,
.light-background {
    background-color: #f8f9fa;
}

.section-title {
    color: var(--primary-orange);
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* =========================
   TESTIMONIALS SECTION
========================= */
.testimoni-card,
.testimonial-card-enh,
.rating-card-summary {
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.testimoni-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-left: 5px solid var(--primary-orange);
}
.testimoni-card:hover {
    background: var(--accent-light);
    transform: translateX(5px);
}

.testimonial-card-enh {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    border-left: 6px solid #e67e22;
}
.testimonial-card-enh:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(230, 126, 34, 0.3);
}

/* =========================
   BUTTONS
========================= */
.btn-orange,
.btn-custom-orange {
    background: var(--primary-orange);
    color: #fff;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 84, 0, 0.3);
}
.btn-orange:hover,
.btn-custom-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(211, 84, 0, 0.4);
}

.btn-outline-custom {
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-outline-custom:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* =========================
   GALLERY
========================= */
.gallery-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}
.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.gallery-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}
.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-card:hover .gallery-img-wrapper img {
    transform: scale(1.1);
}

.date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-lg);
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
    box-shadow: var(--shadow-sm);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.overlay-btn {
    width: 60px;
    height: 60px;
    background: var(--primary-orange);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}
.gallery-card:hover .overlay-btn {
    transform: scale(1);
}

.link-hover-orange:hover {
    color: var(--primary-orange) !important;
}

/* =========================
   ACCORDION & FAQ
========================= */
.card-modern {
    background: #fff;
    border: 1px solid #f0f0f0;
}

.custom-tab-nav .nav-link-custom {
    display: block;
    padding: 10px 15px;
    margin-bottom: 5px;
    border-radius: 8px;
    color: #6c757d;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.custom-tab-nav .nav-link-custom:hover {
    background-color: #f8f9fa;
    color: #495057;
}
.custom-tab-nav .nav-link-custom.active {
    background-color: var(--primary-orange);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(253, 126, 20, 0.3);
}

.custom-accordion-modern .accordion-item {
    border: 1px solid #e9ecef;
    box-shadow: none;
    transition: box-shadow 0.3s ease;
}
.custom-accordion-modern .accordion-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.custom-accordion-modern .accordion-button {
    color: #343a40;
    padding: 1rem 1.25rem;
}
.custom-accordion-modern .accordion-button:not(.collapsed) {
    color: var(--primary-orange);
    background-color: #fff8f3;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}
.custom-accordion-modern .accordion-button::after {
    color: var(--primary-orange);
}
.custom-accordion-modern .accordion-body {
    background-color: #fcfcfc;
    border-top: 1px solid #eee;
}

/* =========================
   VIDEO CARD HOVER
========================= */
.video-card-hover {
    transition: transform 0.3s ease;
}
.video-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .display-4,
    .stat-number {
        font-size: 2.5rem;
    }
}

/* =========================
   ANIMATIONS
========================= */
@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(211, 84, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(211, 84, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(211, 84, 0, 0);
    }
}
.contact-icon-pulse {
    animation: pulse 2s infinite;
}

/* --- HERO SECTION STYLES --- */

/* * 0. VARIABEL TEMA (DEFINISIKAN SECARA GLOBAL JIKA BELUM ADA) 
 * Catatan: Asumsi nilai HEX di bawah digunakan. Ganti dengan nilai tema Anda yang sebenarnya.
 */
:root {
    --color-primary: #fd7e14; /* Orange Primer (misal: #fd7e14) */
    --color-dark-orange: #e86c0a; /* Orange Gelap (untuk hover) */
    --color-accent: #fcb900; /* Accent Gold/Yellow (misal: #fcb900) */

    /* Variabel Khusus Hero */
    --hero-primary-bg-rgba: rgba(
        253,
        126,
        20,
        0.15
    ); /* Orange (0.15 opacity) */
    --hero-accent-bg-rgba: rgba(252, 185, 0, 0.08); /* Accent (0.08 opacity) */
    --hero-fallback-gradient: linear-gradient(135deg, #1f2833 0%, #171b20 100%);
    --hero-glass-bg: rgba(
        255,
        255,
        255,
        0.05
    ); /* Latar Card Putih Transparan */
    --hero-glass-border: rgba(
        255,
        255,
        255,
        0.1
    ); /* Border Card Putih Transparan */
}

/* 1. SECTION & VIDEO FIXES (Dari langkah sebelumnya) */
.hero-full-height {
    min-height: 100vh;
    min-height: 100dvh;
}
.hero-video-fix {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

/* 2. DECORATIVE SHAPES (Blur Circles) */
.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.hero-blur-circle {
    filter: blur(80px);
    z-index: 1; /* Di bawah konten (z-index: 2), di atas overlay (z-index: 1) */
}
.hero-blur-orange {
    background: var(
        --hero-primary-bg-rgba
    ); /* Menggunakan Orange Primary Transparan */
}
.hero-blur-accent {
    background: var(
        --hero-accent-bg-rgba
    ); /* Menggunakan Accent Gold Transparan */
    filter: blur(100px);
}

/* 3. TEKS & BADGE STYLING */
.hero-badge {
    /* Latar belakang badge solid orange, teks putih */
    background: var(--color-primary) !important;
    color: white;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.hero-headline {
    color: white;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-subheadline {
    color: rgba(255, 255, 255, 0.95); /* Putih semi-transparan */
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text-primary {
    color: var(--color-primary) !important; /* Warna Orange untuk kata kunci */
}

.hero-text-accent {
    color: var(
        --color-accent
    ) !important; /* Warna Gold/Accent untuk kata kunci */
}

/* 4. FEATURE CARDS (Glassmorphism Effect) */
.hero-feature-card {
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-feature-card:hover {
    transform: translateY(-5px); /* Efek melayang */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Card yang menekankan Warna Primary (Orange) */
.hero-feature-orange {
    background: var(--hero-primary-bg-rgba);
    border: 1px solid rgba(253, 126, 20, 0.3); /* Border yang lebih terang dari latar */
}

/* Card yang menekankan Warna Accent (White/Glass) */
.hero-feature-white {
    background: var(--hero-glass-bg); /* Putih 5% opacity */
    border: 1px solid var(--hero-glass-border); /* Putih 10% opacity */
}

/* Warna Icon */
.hero-icon-primary {
    color: var(--color-primary) !important;
}

.hero-icon-accent {
    color: var(--color-accent) !important;
}

.hero-feature-text {
    color: rgba(
        255,
        255,
        255,
        0.8
    ); /* Teks putih sedikit transparan di dalam card */
}

/* 5. CTA BUTTONS */

.hero-cta-primary {
    /* Tombol solid: Primary Orange */
    background: var(--color-primary) !important;
    color: white;
    border: 1px solid var(--color-primary);
    transition: background 0.3s ease, transform 0.3s ease;
}
.hero-cta-primary:hover {
    background: var(--color-dark-orange) !important;
    border-color: var(--color-dark-orange);
    transform: translateY(-2px);
}

.hero-cta-outline {
    /* Tombol outline: Glassmorphism */
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: background 0.3s ease, border-color 0.3s ease,
        transform 0.3s ease;
}
.hero-cta-outline:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: white;
    transform: translateY(-2px);
}

/* 1. KARTU LAYANAN & HOVER */
.transition-hover {
    transition: all 0.3s ease-in-out;
}

.layanan-card {
    border: 1px solid #e9ecef; /* Tambahkan sedikit border halus */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04); /* Bayangan lebih ringan */
    overflow: hidden;
    text-align: left; /* Teks kartu menjadi rata kiri */
}

.layanan-card:hover {
    /* Efek melayang dan bayangan kuat saat hover */
    transform: translateY(-8px);
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.12) !important;
    border-color: var(--color-primary-orange); /* Border berubah warna saat hover */
}

/* 2. ACCENT BORDER KIRI BARU */
.card-accent-left {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 8px; /* Lebar aksen kiri */
    background-color: var(--color-primary-orange);
    z-index: 1;
    /* Tambahkan transisi agar aksen terlihat lebih halus */
    transition: width 0.3s ease;
}

.layanan-card:hover .card-accent-left {
    width: 12px; /* Aksen melebar sedikit saat hover */
}

/* 3. ICON (Gaya diperbarui) */
.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px; /* Ukuran sedikit lebih kecil */
    height: 56px;
    border-radius: 12px; /* Bentuk kotak membulat */
    /* Warna kontras yang kuat */
    background: var(--color-primary-orange); 
    color: white; /* Ikon berwarna putih */
}
.icon-circle i {
    font-size: 1.6rem;
}

/* 4. TOMBOL NAVIGASI SWIPER (Tidak berubah, tetapi disertakan untuk konteks) */
/* Gaya Navigasi Umum (Bulat Sempurna) */
.btn-group .rounded-circle {
    width: 48px;
    height: 48px;
    padding: 0; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Panah Kiri: Outline Dark */
.team-nav-prev-layanan.btn-outline-dark {
    border-color: #ced4da;
    color: var(--color-secondary);
}
.team-nav-prev-layanan.btn-outline-dark:hover {
    background-color: var(--color-dark-orange);
    border-color: var(--color-dark-orange);
    color: white;
}

/* Panah Kanan: Primary Orange */
.team-nav-next-layanan.btn-primary {
    background: var(--color-primary-orange) !important;
    border-color: var(--color-primary-orange) !important;
    color: white;
}
.team-nav-next-layanan.btn-primary:hover {
    background: var(--color-dark-orange) !important;
    border-color: var(--color-dark-orange) !important;
}

/* 5. TOMBOL DETAIL DI DALAM KARTU (Gaya baru: Outline dengan warna aksen) */
.btn-detail-layanan {
    /* Tombol detail outline orange */
    background: none;
    border: 2px solid var(--color-primary-orange);
    color: var(--color-primary-orange);
    transition: all 0.3s ease;
}

.btn-detail-layanan:hover {
    /* Efek solid saat hover */
    background-color: var(--color-primary-orange);
    border-color: var(--color-primary-orange);
    color: white;
}

/* 6. SWIPER PAGINATION (Tidak berubah, tetapi disertakan untuk konteks) */
.swiper-pagination-bullet {
    background: #ced4da; /* Warna abu-abu yang lebih terang */
    opacity: 1;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    transition: all 0.3s ease;
}
.swiper-pagination-bullet-active {
    background: var(--color-primary-orange) !important;
    width: 20px; /* Efek memanjang saat aktif sedikit dikurangi */
    border-radius: 4px;
}

