/* =====================================
           WARNA TEMA
        ===================================== */
        :root {
            --primary-red: #ff0000;
            --primary-dark: #1D3557;
            --primary-light: #ffffff;
            --yellow-accent: #ffea00;
            --soft-bg: #f8eaea;
            --text-dark: #333333;
        }

        /* =====================================
           BODY
        ===================================== */
        body {
            font-family: 'Montserrat', sans-serif;
            background-color: var(--soft-bg);
            margin: 0;
            padding: 0;
        }

        /* =====================================
           NAVBAR
        ===================================== */
        

        /* =====================================
           HERO SECTION
        ===================================== */
       .hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

/* VIDEO */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

/* OVERLAY MERAH */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.55) 0%,
        rgba(0,0,0,0.45) 40%,
        rgba(0,0,0,0.35) 70%,
        rgba(0,0,0,0.25) 100%
    );
    z-index: 2;
}


/* TEXT */
.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
  letter-spacing: 1px
}

.hero-content h1 {
  text-shadow: 
    0 4px 10px rgb(12, 12, 12),
    0 8px 25px rgb(0, 0, 0);
}

.hero-content p {
    color: #f1f1f1;
    font-family: 'Inter', sans-serif;
}

.hero-content p {
  text-shadow: 
    0 4px 10px rgb(0, 0, 0),
    0 8px 25px rgb(0, 0, 0);
}


        /* =====================================
           SECTION GLOBAL
        ===================================== */
        .section-padding {
            padding: 80px 0;
        }

        .bg-soft {
            background-color: var(--soft-bg);
        }

        .text-red {
            color: var(--primary-red) !important;
        }

        .text-green-dark {
            color: var(--primary-dark) !important;
        }

        /* =====================================
           STATS SECTION
        ===================================== */
        .stats-section {
            position: relative;
            padding: 40px 0;
            margin-top: -80px;
            z-index: 10;
        }

        .section-red-bg {
            background-color: var(--primary-red) !important;
            transition: 0.3s;
        }

        .stat-number {
            font-size: 48px;
            font-weight: 800;
            color: rgb(255, 196, 0);
            margin-bottom: 10px;
        }

        .stat-text {
            font-size: 18px;
            color: white;
        }

        /* =====================================
           ABOUT SECTION
        ===================================== */
        .about-section img {
            max-height: 350px;
            object-fit: cover;
        }

        /* =====================================
           BUTTON CUSTOM
        ===================================== */
        .btn-custom-yellow {
            background-color: var(--yellow-accent);
            color: var(--text-dark);
            border: none;
            padding: 12px 30px;
            font-weight: 600;
            transition: 0.3s;
        }

        .btn-custom-yellow:hover {
            background-color: #ffd700;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 234, 0, 0.4);
        }

        /* =====================================
           CARD LAYANAN
        ===================================== */
        .product-thumb {
    max-height: 130px;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.product-thumb:hover {
    transform: scale(1.08);
}

.card-service {
    border-radius: 12px;
}

.text-justify {
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.7;
}

.layanan-btn {
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: .5px;
    transition: all .3s ease;
}

.layanan-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 28px rgba(0,0,0,.25);
}



/* Container untuk gambar yang bergerak */
.product-thumb-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 200px; /* Sesuaikan dengan tinggi gambar */
    border-radius: 8px;
    margin-bottom: 1rem;
}


        /*===================
        PRODUK DAN LAYANAN
        =====================*/
/* Wrapper untuk gambar */
.product-thumb-wrapper {
    display: flex;
    width: 200%; /* 2x lebar untuk duplikasi gambar */
    animation: scrollHorizontal 10s linear infinite;
}

/* Gambar asli dan duplikat */
.product-thumb-wrapper img {
    width: 50%; /* Setengah dari wrapper */
    height: 100%;
    object-fit: cover;
}

/* Animasi scroll */
@keyframes scrollHorizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause saat hover */
.product-thumb-container:hover .product-thumb-wrapper {
    animation-play-state: paused;
}

/* Container gambar */
.product-slider-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 200px; /* Sesuaikan tinggi gambar */
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #f8f9fa;
}

/* Wrapper untuk semua gambar */
.product-slider-track {
    display: flex;
    width: fit-content;
    animation: slideInfinite 16s linear infinite;
}

/* Setiap gambar */
.product-slider-track img {
    width: 200px; /* Lebar tetap setiap gambar */
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
    border-right: 2px solid #fff;
}

/* Animasi infinite scroll */
@keyframes slideInfinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%); /* Geser 1/3 dari total 6 gambar (3 asli + 3 duplikat) */
    }
}

/* Pause saat hover */
.product-slider-container:hover .product-slider-track {
    animation-play-state: paused;
}

/* Efek hover per gambar */
.product-slider-track img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
    z-index: 2;
}


/* ================= PRODUK SLIDER ================= */

.product-slider-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #f8f9fa;
}

.product-slider-track {
    display: flex;
    width: fit-content;
    animation: slideSeamless 60s linear infinite;
}

/* Setiap gambar */
.product-slider-track img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
    border-right: 2px solid #fff;
}

/* Animasi seamless - geser 50% (6 gambar dari 12) */
@keyframes slideSeamless {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause saat hover */
.product-slider-container:hover .product-slider-track {
    animation-play-state: paused;
}

/* Efek hover per gambar */
.product-slider-track img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
    z-index: 2;
}


/* ================= MODAL CUSTOM STYLES ================= */

.modal-custom .modal-dialog {
    max-width: 500px;
    margin: 1rem auto;
}

.modal-custom .modal-content {
    border-radius: 12px;
    overflow: hidden;
    border: none;
}

/* Tombol X di atas kanan */
.modal-custom .modal-header {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1050;
    border: none;
    padding: 0.5rem;
    background: transparent;
}

.modal-custom .btn-close-custom {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.modal-custom .btn-close-custom:hover {
    background: #fff;
    transform: scale(1.1);
    color: #dc3545;
}

/* GAMBAR: object-fit contain agar tidak terpotong */
.modal-custom .modal-img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 12px 12px 0 0;
}

.modal-custom .modal-body {
    padding: 0;
    background: #fff;
}

.modal-custom .modal-content-wrapper {
    padding: 1.25rem;
}

.modal-custom .modal-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

/* WARNA TEKS SERAGAM - tidak gelap */
.modal-custom .modal-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555; /* Warna seragam */
    margin-bottom: 1rem;
}

/* LIST STYLE SERAGAM - semua pakai ceklis hijau */
.modal-custom .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    color: #555; /* Warna seragam */
}

.modal-custom .feature-list li {
    margin-bottom: 0.4rem;
    padding-left: 1.3rem;
    position: relative;
    color: #555; /* Warna seragam */
}

.modal-custom .feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Grid untuk produk 2 */
.modal-custom .feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    font-size: 0.85rem;
    color: #555; /* Warna seragam */
}

.modal-custom .feature-grid h6 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.modal-custom .feature-grid .feature-list {
    font-size: 0.8rem;
}

.modal-custom .feature-grid .feature-list li {
    margin-bottom: 0.3rem;
    color: #555; /* Warna seragam */
}

/* Note footer */
.modal-custom .modal-note {
    font-size: 0.8rem;
    color: #777;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #eee;
}

/* ================= RESPONSIVE MOBILE ================= */

@media (max-width: 576px) {
    .modal-custom .modal-dialog {
        max-width: 95%;
        margin: 0.5rem auto;
    }
    
    .modal-custom .modal-img {
        max-height: 220px;
        padding: 0.75rem;
    }
    
    .modal-custom .modal-content-wrapper {
        padding: 1rem;
    }
    
    .modal-custom .modal-title {
        font-size: 1rem;
    }
    
    .modal-custom .modal-text {
        font-size: 0.85rem;
    }
    
    .modal-custom .feature-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .modal-custom .btn-close-custom {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
}

/* ================= FIX WARNA TEKS LIST ================= */

/* Pastikan semua teks dalam feature-list berwarna sama */
.modal-custom .feature-list li {
    color: #6c757d !important; /* Abu-abu medium, kelihatan di light & dark */
}

/* Atau pakai inherit */
.modal-custom .feature-list li {
    color: inherit !important;
}

/* Dark mode specific - jika website pakai dark mode */
.dark .modal-custom .feature-list li,
.dark-mode .modal-custom .feature-list li,
[data-theme="dark"] .modal-custom .feature-list li {
    color: #e0e0e0 !important; /* Terang untuk dark mode */
}

/* ===============================
   BACKGROUND IMAGE + OVERLAY
================================ */

.business-planning-circle {
    position: relative;
    background: url("../img/halaman-ptcmbpnight.jpg") center/cover no-repeat;
    padding: 100px 0;
    overflow: hidden;
}

.business-planning-circle .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(46, 49, 146, 0.85),
        rgba(27, 255, 255, 0.75)
    );
    z-index: 1;
}

.business-planning-circle .container {
    position: relative;
    z-index: 2;
}

/* ===============================
   TEXT
================================ */

.planning-desc {
    max-width: 900px;
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.95;
}

/* ===============================
   CIRCLE
================================ */

.circle-box {
    position: relative;
    width: 200px;
    height: 200px;
    margin: auto;
}

.circle-box svg {
    width: 200px;
    height: 200px;
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.25);
    stroke-width: 10;
}

.circle-progress {
    fill: none;
    stroke: #ffffff;
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 534;
    stroke-dashoffset: 534;
}

/* Progress value */
.circle-progress.q1 { stroke-dashoffset: 380; }
.circle-progress.q2 { stroke-dashoffset: 300; }
.circle-progress.q3 { stroke-dashoffset: 230; }

/* ===============================
   CIRCLE TEXT
================================ */

.circle-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.circle-text h3 {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}

.circle-text span {
    font-size: 14px;
    letter-spacing: 1px;
}

.circle-text small {
    font-size: 12px;
    opacity: 0.9;
}

/* ===============================
   ANIMATION (SCROLL)
================================ */

.fade-top,
.circle-animate {
    opacity: 0;
    transform: translateY(-40px);
}

.show {
    opacity: 1;
    transform: translateY(0);
    transition: 0.9s ease;
}

.circle-animate.show svg .circle-progress {
    animation: circleProgress 2s ease forwards;
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.5s; }
.delay-3 { transition-delay: 0.8s; }

@keyframes circleProgress {
    from {
        stroke-dashoffset: 534;
    }
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {
    .circle-box {
        width: 160px;
        height: 160px;
    }

    .circle-box svg {
        width: 160px;
        height: 160px;
    }

    .circle-text h3 {
        font-size: 26px;
    }
}


        /* =====================================
           TESTIMONIALS
        ===================================== */
        .client-slider {
    overflow: hidden;
    position: relative;
}

.client-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: scrollClient 35s linear infinite;
}

.client-track img {
    height: 70px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: 0.3s;
}

.client-track img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

@keyframes scrollClient {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

        /* =====================================
           FOOTER
        ===================================== */
       /* ==========================
   Footer
========================== */
footer {
    background-color: rgba(0, 0, 0, 0);
    position: relative;
}

footer .col-title {
    color: var(--yellow-accent);
}

footer a {
    color: var(--primary-light);
    text-decoration: none;
}

footer a:hover {
    color: #ffc107 !important;
    transform: scale(1.2);
    transition: 0.3s;
}

        /* =====================================
           RESPONSIVE
        ===================================== */
        @media (max-width: 768px) {
            .stats-section {
                margin-top: -40px;
            }
            
            .stat-number {
                font-size: 36px;
            }
            
            .stat-text {
                font-size: 14px;
            }

            .hero {
                min-height: 50vh;
                padding: 80px 20px;
            }

            .section-padding {
                padding: 50px 0;
            }
        }

        /* Logo placeholder */
        .logo-placeholder {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #ffea00, #ffd700);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            color: var(--primary-red);
        }/* ======================
   DARK MODE OVERRIDES
====================== */
body.dark-mode {
  background-color: var(--bg-main);
  color: var(--text-main);
}

body.dark-mode .bg-soft,
body.dark-mode .section-padding {
  background-color: var(--soft-bg);
}

body.dark-mode .card,
body.dark-mode .card-service,
body.dark-mode .card-hover-effect,
body.dark-mode .card-box,
body.dark-mode .modal-content,
body.dark-mode .modal-body {
  background-color: var(--card-bg);
  color: var(--text-main);
}

body.dark-mode .text-dark,
body.dark-mode .text-muted,
body.dark-mode p,
body.dark-mode .lead {
  color: var(--text-main) !important;
}

body.dark-mode .section-red-bg {
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
/* ======================
   DARK MODE STRONG (BERANDA)
====================== */
body.dark-mode .about-section,
body.dark-mode .client,
body.dark-mode .stats-section,
body.dark-mode .layanan,
body.dark-mode .section-padding {
  background-color: var(--bg-main) !important;
}

body.dark-mode .stats-section {
  z-index: 5;
}

body.dark-mode .section-red-bg,
body.dark-mode .stats-section .section-red-bg {
  position: relative;
  z-index: 6;
}

body.dark-mode .section-red-bg {
  background-color: #8b1c1c !important;
}

body.dark-mode .card-service,
body.dark-mode .card,
body.dark-mode .modal-content,
body.dark-mode .modal-body {
  background-color: var(--card-bg) !important;
  color: var(--text-main) !important;
}

body.dark-mode .card-service {
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 18px 35px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 215, 120, 0.05);
  position: relative;
  overflow: hidden;
}

body.dark-mode .card-service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 215, 120, 0.08), transparent 55%);
  pointer-events: none;
}

body.dark-mode .text-muted,
body.dark-mode .stat-text,
body.dark-mode .lead,
body.dark-mode .planning-desc {
  color: var(--text-main) !important;
}

body.dark-mode .client-track img {
  filter: grayscale(0%) brightness(0.9);
}

body.dark-mode .client {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 215, 120, 0.06),
    inset 0 -1px 0 rgba(255, 215, 120, 0.06);
  position: relative;
}

body.dark-mode .client::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 215, 120, 0.05), transparent 60%);
  pointer-events: none;
}

