   :root {
     --primary-red: #ff0000;
     --primary-dark: #1D3557;
     /* Biru Gelap */
     --primary-light: #ffffff;
     --yellow-accent: #ffea00;
     --soft-bg: #f4f4f4;
     --text-dark: #333333;
     --text-light: #666666;
   }

   /* hero */
   /* HERO */
.hero-section {
            position: relative;
            background: url('../img/homepicture1.jpg') center center/cover no-repeat;
            padding: 120px 20px;
            min-height: 70vh;
            display: flex;
            align-items: center;
            text-align: center;
        }

.hero-section::before {
        content: "";
        position: absolute;
        inset: 0;        
background: linear-gradient(0deg, rgba(255, 0, 0, 0.60) 100%, rgba(255, 255, 255, 0) 100%);

    z-index: 1;
}

   .hero-section .hero-content {
     position: relative;
     color: #fff;
     text-align: center;
      z-index: 2;
   }

   /* --- STRUKTUR MAIN & CSS UTAMA --- */

   /* 1. SECTION HEADER / JUDUL & PENGERTIAN */
   .service-header {
     background-color: var(--primary-dark);
     color: var(--primary-light);
     padding: 80px 20px;
     text-align: center;
     position: relative;
   }

   .service-header::after {
     /* Aksen garis kuning di bawah header */
     content: '';
     position: absolute;
     bottom: 0;
     left: 50%;
     transform: translateX(-50%);
     width: 100px;
     height: 5px;
     background-color: var(--yellow-accent);
   }

   .service-header h1 {
     font-size: 2.5rem;
     margin-bottom: 20px;
     font-weight: 700;
   }

   .service-header p {
     max-width: 700px;
     margin: 0 auto;
     font-size: 1.1rem;
     opacity: 0.9;
   }

   /* 2. SECTION BENEFIT (4 Item) */
   .benefits-section {
     padding: 60px 20px;
     background-color: var(--primary-light);
   }

   .container {
     max-width: 1200px;
     margin: 0 auto;
   }

   .section-title {
     text-align: center;
     margin-bottom: 40px;
     color: var(--primary-dark);
   }

   .benefits-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 30px;
   }

   .benefit-card {
     background: var(--soft-bg);
     padding: 30px;
     border-radius: 8px;
     text-align: center;
     transition: transform 0.3s ease;
     border-bottom: 3px solid transparent;
   }

   .benefit-card:hover {
     transform: translateY(-5px);
     border-bottom: 3px solid var(--primary-red);
   }

   
   .benefit-icon-white {
     font-size: 2.5rem;
     color: var(--primary-light);
     margin-bottom: 20px;
   }
   .benefit-icon-red {
     font-size: 2.5rem;
     color: var(--primary-red);
     margin-bottom: 20px;
   }

   .card-box {
    transition: 0.3s ease;
    border-radius: 12px !important;
}

.card-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.75rem 1.5rem rgba(0,0,0,0.15) !important;
}


   .benefit-card h3 {
     margin-bottom: 10px;
     color: var(--primary-dark);
   }

   .benefit-card p {
     font-size: 0.9rem;
     color: var(--text-light);
   }

   /* 3. SECTION JENIS LAYANAN (4 Layanan) */
   .services-list-section {
     padding: 80px 20px;
     background-color: var(--soft-bg);
   }

   .services-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
     gap: 30px;
   }

   .service-card {
     background: var(--primary-light);
     border-radius: 10px;
     overflow: hidden;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
     display: flex;
     flex-direction: column;
     transition: 0.3s;
   }

   .service-card:hover {
     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
   }

   .service-image {
     width: 100%;
     height: 200px;
     background-color: #ddd;
     /* Fallback color */
     object-fit: cover;
   }

   .service-content {
     padding: 25px;
     flex-grow: 1;
     display: flex;
     flex-direction: column;
   }

   .service-content h3 {
     color: var(--primary-dark);
     margin-bottom: 10px;
     font-size: 1.4rem;
   }

   .service-content p {
     color: var(--text-light);
     font-size: 0.95rem;
     margin-bottom: 20px;
     flex-grow: 1;
   }

   .service-btn {
     align-self: flex-start;
     text-decoration: none;
     color: var(--primary-red);
     font-weight: 600;
     font-size: 0.9rem;
     border-bottom: 2px solid var(--yellow-accent);
     padding-bottom: 2px;
     transition: 0.3s;
   }

   .service-btn:hover {
     color: var(--primary-dark);
     border-bottom-color: var(--primary-red);
   }

   /* 4. SECTION CTA (Call to Action) */
   .cta-section {
     background-color: var(--primary-red);
     color: var(--primary-light);
     padding: 60px 20px;
     text-align: center;
     background-image: linear-gradient(135deg, var(--primary-red) 0%, #d10000 100%);
   }

   .cta-content h2 {
     font-size: 2rem;
     margin-bottom: 15px;
   }

   .cta-content p {
     margin-bottom: 30px;
     font-size: 1.1rem;
     max-width: 600px;
     margin-left: auto;
     margin-right: auto;
   }

   .cta-button {
     display: inline-block;
     background-color: var(--yellow-accent);
     color: var(--primary-dark);
     padding: 15px 35px;
     border-radius: 50px;
     text-decoration: none;
     font-weight: 700;
     font-size: 1rem;
     transition: transform 0.2s, box-shadow 0.2s;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
   }

   .cta-button:hover {
     transform: translateY(-2px);
     box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
     background-color: #fff;
   }

   /* Responsive Design */
   @media (max-width: 768px) {
     .service-header h1 {
       font-size: 2rem;
     }

     .service-header p {
       font-size: 1rem;
     }

     .benefits-grid,
     .services-grid {
       grid-template-columns: 1fr;
       /* Satu kolom di HP */
     }
   }
   
   .product-card,
  .services-grid .service-card {
    position: relative;
    overflow: hidden;
    transition: all .35s cubic-bezier(.4,0,.2,1);
}

.product-card::before,
.services-grid .service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,0,0,.12), rgba(255,255,255,.05));
    opacity: 0;
    transition: .4s;
}

.product-card:hover::before,
.services-grid .service-card:hover::before {
    opacity: 1;
}

.product-card:hover,
.services-grid .service-card:hover {
    transform: translateY(-10px) scale(1.015);
    box-shadow: 0 25px 45px rgba(0,0,0,.18);
}


.product-card img,
.service-image {
    transition: transform .6s cubic-bezier(.4,0,.2,1);
}

.product-card:hover img,
.service-card:hover .service-image {
    transform: scale(1.08);
}


.product-card::after,
.service-card::after {
    content: "";
    position: absolute;
    top: -100%;
    left: -150%;
    width: 60%;
    height: 300%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.35),
        transparent
    );
    transform: rotate(25deg);
    transition: .7s;
}

.product-card:hover::after,
.service-card:hover::after {
    left: 120%;
}


.service-card:hover h3,
.product-card:hover h4 {
    color: var(--primary-red);
}

.service-card:hover p {
    color: #222;
}


.benefit-card {
    transition: all .35s cubic-bezier(.4,0,.2,1);
}

.benefit-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,.15);
}

.product-slider {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.slider-img {
  height: 250px;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
}
/* ======================
   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;
}
/* ======================
   DARK MODE STRONG (LAYANAN)
====================== */
body.dark-mode .service-header,
body.dark-mode .benefits-section,
body.dark-mode .services-list-section,
body.dark-mode .cta-section {
  background-color: var(--bg-main) !important;
}

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

body.dark-mode .benefit-card,
body.dark-mode .service-card,
body.dark-mode .product-card {
  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;
  background: linear-gradient(135deg, rgba(22, 30, 50, 0.96), rgba(12, 18, 34, 0.96)) !important;
}

body.dark-mode .benefit-card::before,
body.dark-mode .service-card::before,
body.dark-mode .product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 215, 120, 0.14), transparent 55%),
    radial-gradient(circle at bottom left, rgba(99, 102, 241, 0.12), transparent 60%);
  pointer-events: none;
}

body.dark-mode .benefit-card h3,
body.dark-mode .service-content h3,
body.dark-mode .section-title {
  color: var(--text-main) !important;
}

body.dark-mode .benefit-card p,
body.dark-mode .service-content p {
  color: #e2e8f0 !important;
}

body.dark-mode .service-btn {
  color: #f8d24e;
  border-bottom-color: #f8d24e;
}

body.dark-mode .benefit-card h3 {
  color: #fde047 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
  font-weight: 700;
}


body.dark-mode .benefit-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
}

body.dark-mode .benefit-card p {
  color: #bae6fd !important;
  opacity: 1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
  font-weight: 500;
}


body.dark-mode .benefit-card,
body.dark-mode .benefit-card * {
  color: inherit !important;
}

body.dark-mode .cta-button {
  background-color: #fbbf24;
  color: #111827;
  box-shadow: 0 10px 25px rgba(251, 191, 36, 0.35);
}

body.dark-mode .cta-button:hover {
  background-color: #fde047;
  color: #0f172a;
}

/* Benefit cards with inline styles / bg-light */
body.dark-mode .bg-light {
  background-color: var(--bg-main) !important;
}

body.dark-mode .py-5.bg-light .p-4.rounded.shadow-sm.h-100 {
  background: linear-gradient(135deg, #0f172a, #111827) !important;
  color: #e2e8f0 !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.45);
}

body.dark-mode .py-5.bg-light .p-4.rounded.shadow-sm.h-100[style] {
  background: linear-gradient(135deg, #0f172a, #111827) !important;
  color: #e2e8f0 !important;
}

body.dark-mode .py-5.bg-light .p-4.rounded.shadow-sm.h-100 h5 {
  color: #fde047 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

body.dark-mode .py-5.bg-light .p-4.rounded.shadow-sm.h-100 p {
  color: #bae6fd !important;
}

body.dark-mode .py-5.bg-light .p-4.rounded.shadow-sm.h-100 i {
  color: #fde047 !important;
}

