/* Variabel CSS untuk custom mudah */
:root {
    --primary-color: #003366;
    --secondary-color: #00A86B;
    --background-color: #F8F9FA; /* Warna latar */
    --navbar-text-color: #111827;  /* Tambah: Warna teks navbar sesuai permintaan */
    --font-family: 'Roboto', sans-serif;
}

/* Reset global */
body {
    font-family: var(--font-family);
    color: #333;
}

a {
  color: white;
  text-decoration: none;
}

.bg-beige-gray {
  background-color: #F4F1EB !important;
}

.bg-light-blue {
  background-color: #caecf5 !important;
}

.bg-soft-lavender {
  background-color: #e8e1fe !important;
}

.bg-ivory {
  background-color: #FAF8F4 !important;
}

/* FULLSCREEN BACKGROUND */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #e4e4e4; /* warna background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* SPINNER ANIMASI */
.loader {
    width: 45px;
    height: 45px;
    border: 5px solid #e0e0e0;
    border-top: 5px solid #28a745; /* Warna hijau SIP */
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* SCROLL TO TOP */
#scrollTopBtn {
  position: fixed;
  bottom: 90px;
  right: 28px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #0964db; /* warna dark navy, bisa diganti */
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;

  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}
  
  /* Muncul */
  #scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
  }
  
  /* Hover */
  #scrollTopBtn:hover {
    background: #1e293b;
  }
/* SCROLL TO TOP END */

/* BUTTON FLOATING WA */
.wa-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #30bf39;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.2s ease;
}

.wa-float img {
    width: 60px;
    height: 60px;
}

.wa-float:hover {
    transform: scale(1.1);
    background-color: #248e2b;
}

/* BUTTON FLOATING WA END */


.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-light {
    background-color: #ffffff !important;
}

.secondary-color {
    color: var(--secondary-color);
}

.text-justify{
  text-align: justify;
}


/* ===== NAVBAR ===== */
/* ==========================================================
   NAVBAR GLOBAL STYLE
   Transparent at top, solid on scroll, mobile friendly
========================================================== */
.navbar {
    background: transparent !important;
    transition: all 0.35s ease;
    padding: 18px 0;
    /*backdrop-filter: blur(6px);*/
}

/* Solid after scroll */
.navbar.scrolled {
    background: #003366 !important;
    padding: 10px 0;
    backdrop-filter: none;
}

/* Solid when mobile menu opened */
.navbar.mobile-open {
    background: #003366 !important;
}


/* ==========================================================
   NAV-LINK COLORS
========================================================== */
/* Default nav-link untuk halaman lain */
.inner-page .navbar .nav-link {
    color: #ffffff !important;
}

/* Nav-link khusus halaman depan → warna gelap */
.home-page .navbar .nav-link {
    color: #050b79 !important;
}

.navbar .nav-link {
    /*color: #ffffff !important;
    color: #001566 !important;*/
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover {
    color: #f09308 !important;
}

/* After scroll */
.navbar.scrolled .nav-link {
    color: #ffffff !important;
}


/* ==========================================================
   LOGO
========================================================== */

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}


/* ==========================================================
   HAMBURGER BUTTON
========================================================== */

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-toggler-icon {
    filter: invert(1) brightness(200%);
}



/* ==========================================================
   DROPDOWN MENU — DESKTOP
========================================================== */

.nav-item.dropdown .dropdown-menu {
    background: #003366;
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    padding: 10px 0;

    /* Animation base */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    display: block; /* override Bootstrap */
}

/* Show dropdown hover/click */
.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown item style */
.dropdown-item {
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 0.4rem;
    transition: all 0.25s ease;
}

.dropdown-item:hover {
    background: #3990dc;
    color: #f1c40f !important;
    transform: translateX(5px);
}

/* Arrow animation */
.nav-link.dropdown-toggle::after {
    transition: transform 0.3s ease;
}

.nav-item.dropdown.show .nav-link.dropdown-toggle::after,
.nav-item.dropdown:hover .nav-link.dropdown-toggle::after {
    transform: rotate(180deg);
}



/* ==========================================================
   DROPDOWN MOBILE VIEW
========================================================== */

@media (max-width: 991.98px) {

    /* Navbar adjust */
    .navbar {
        padding: 12px 0;
    }

    .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100%;
    }

    /* Mobile dropdown */
    .nav-item.dropdown .dropdown-menu {
        background: #003366 !important;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin: 0;

        display: none; /* default tertutup */
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .nav-item.dropdown.show .dropdown-menu,
    .dropdown-menu.show {
    display: block !important;
    }

    .dropdown-item {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }

    .dropdown-item:last-child {
        border-bottom: none;
    }
}


/* ==========================================================
   DESKTOP DROPDOWN HOVER ENABLE
========================================================== */

@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }
}



/* ===== HERO SECTION STYLE ===== */
.hero-section {
  min-height: 100vh; /* bukan fixed height agar fleksibel */
  display: flex;
  align-items: center;
  padding: 100px 0;
  /*background: linear-gradient(318deg, #cce0f7 0%, #ffffff 100%);*/
  /* === Gunakan Background Gambar === */
  /*background-image: url('/assets/images/bg/hero-bg-1.jpg');    sesuaikan path */
  /*background-size: cover;     /* agar gambar memenuhi layar */
  /*background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed; /* optional: efek parallax */

  position: relative;
  overflow: hidden;
}

/* Pastikan isi tidak ketarik ke atas */
.hero-section .container {
  position: relative;
  z-index: 1;
}

.jumbotron-background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.jumbotron-background-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Agar gambar selalu menutupi area tanpa terdistorsi */
}

/* ===== KONTEN KIRI ===== */
.hero-section .col-md-6:first-child {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: 4.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
}

.hero-section h1 span {
  /*background: linear-gradient(90deg, #4db6ac, #81c784, #ffd54f); HIJAU */
  background: linear-gradient(85deg, #001463, #2163e5, #ff7e00);/* BIRU */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-section p {
  color: #ffffff;
  font-size: 1.1rem;
  margin: 20px 0;
  max-width: 90%;
  text-align: justify;
}

/* ===== LIST KEUNGGULAN ===== */
.hero-section ul {
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 40px;
}

.hero-section li {
  list-style: none;
  font-weight: 600;
  color: #121497;
}

.hero-section li i {
  color: #001463;
}

/* ===== CTA BUTTONS ===== */
.hero-section .btn {
  border-radius: 8px;
  padding: 10px 28px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero-section .btn-primary {
  background-color: #2e8b81;
  border: none;
}

.hero-section .btn-primary:hover {
  background-color: #256d63;
  transform: translateY(-2px);
}

/* Tombol kedua */
.hero-section .btn-outline-primary {
  border-color: #2e8b81;
  color: #2e8b81;
}

.hero-section .btn-outline-primary:hover {
  background-color: #2e8b81;
  color: #fff;
}

/* ===== KARTU LAYANAN KANAN ===== */
.service-card-hero {
  border: none;
  border-radius: 20px;
  background-color: transparent;
}

.service-card-hero .card-title {
  font-weight: 700;
  color: #121826;
}

.service-card-hero .service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease;
}

.service-card-hero .icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background-color: #f5f6f7;
  margin-bottom: 10px;
}

.bg-teal i {
  color: #0d9488;
}

.bg-orange i {
  color: #d97706;
}

.service-card-hero .service-item span {
  font-weight: 500;
  color: #1e293b;
  font-size: 15px;
}

.service-card-hero .service-image-hero img {
    width: 100%;
    max-width: 800px;
    border-radius: 16px;
    object-fit: cover;
}

/* ======== RESPONSIVE HEIGHT & SPACING ======== */

/* 🖥️ DESKTOP BESAR */
@media (min-width: 1200px) {
  .hero-section {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .hero-section h1 {
    font-size: 6rem;
  }

  .hero-section p {
    font-size: 1.1rem;
  }
}

/* 💻 TABLET */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: 100vh; /* auto: jangan paksa full tinggi */
    padding: 80px 0;
    text-align: center;
  }

  .hero-section h1 {
    font-size: 4.4rem;
  }

  .hero-section p {
    font-size: 1rem;
    margin: 20px auto;
    max-width: 90%;
  }

  .hero-section ul {
    justify-content: center;
    display: ruby;
  }
  
  .hero-section li {
    padding: 5px;
  }

  .hero-section .card {
    margin-top: 40px;
    padding: 25px;
  }
}

/* 📱 MOBILE */
@media (max-width: 575.98px) {
  .hero-section {
    padding: 60px 0;
    flex-direction: column;
  }

  .hero-section h1 {
    font-size: 3.1rem;
    line-height: 1.3;
  }

  .hero-section p {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .hero-section ul {
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
  }

  .hero-section .btn {
    width: 100%;
    margin-bottom: 10px;
  }

  .hero-section .card {
    margin-top: 30px;
    padding: 20px;
  }

  .hero-section::before {
    top: -120px;
    left: -180px;
    width: 300px;
    height: 300px;
  }
}

/* ======== END HERO SECTION STYLE ======== */

/* ======== OWL CAROUSEL SERVICE SECTION ======== */

.all-services {
    width: 100%;
    margin: 0;
    padding: 0;
}

.service-item {
    position: relative;
    width: 100%;
    height: 430px; /* full tinggi layar */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Kondisi awal – sedikit gelap */
.service-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(360deg, #0404048c, transparent)
  }
  
  /* Saat hover – bagian bawah lebih gelap */
  .service-item:hover .overlay {
    background: linear-gradient(360deg, #040404D4, transparent)
}


/* JIKA sebelumnya gambar bergerak karena transform */
.service-item:hover {
    transform: none !important;
}

.service-item * {
    transform: none !important;
}

.service-content {
    position: absolute;
    bottom: 10px;
    left: 0;
    z-index: 5;
    color: white;
    padding: 20px;
}

.small-title {
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 5px;
    opacity: 0.9;
    text-transform: capitalize;
}

.main-title {
    font-size: 28px;
    font-weight: 600;
    max-width: 400px;
    line-height: 1.2;
}

/* Button default */
.circle-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    transition: 0.3s ease;
    margin-top: 20px;
    cursor: pointer;
}

/* panah bisa bergerak */
.circle-btn i {
    transition: transform 0.3s ease;
}

/* hover seluruh card */
.service-item:hover .circle-btn {
    background: white;
    border-color: white;
}

/* arrow bergerak ke kanan */
.service-item:hover .circle-btn i {
    transform: translateX(6px);
    color: #000;
}

/* ======== END OWL CAROUSEL SERVICE SECTION ======== */

/* ======== ABOUT SECTION ======== */

.about-section {
  background-color: #ffffff;
}

.about-section .bg-soft-green {
  background-color: rgba(13, 148, 136, 0.12); /* hijau muda lembut */
  color: #0d9488;
  font-weight: 600;
  display: inline-block;
}

/* Gradien teks */
.text-gradient {
  background: linear-gradient(90deg, #0d9488, #eab308);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Card style */
.about-card {
  background: #f9fafb;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.about-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Kotak legal */
.legal-box {
  background: #f9fafb;
  border-radius: 10px;
  padding: 15px 20px;
  font-size: 14px;
  color: #374151;
}

/* List sertifikasi */
.cert-list li {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 10px;
  font-weight: 500;
  color: #1f2937;
  display: flex;
  align-items: center;
  transition: all 0.25s ease;
}

.cert-list li:hover {
  background: #f0fdfa;
  border-color: #0d9488;
  transform: translateY(-3px);
}

/* Icon */
.cert-list i {
  font-size: 16px;
}

/* ======== END ABOUT SECTION ======== */

/* ======== VISI MISI SECTION ======== */

/* ======== CARD VISI ======== */
.visi-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    min-height: 420px;
}

.visi-title {
    font-size: 32px;
    font-weight: 700;
    color: #01084f;
    margin-bottom: 100px;
}

.visi-text {
    font-size: 20px;
    line-height: 1.5;
    color: #30363e;
    position: relative;
    text-align: justify;
    z-index: 2;
}

/* Background gambar fade */
.visi-bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/bg/bg-visi.jpg'); /* ubah sesuai lokasi gambar */
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    z-index: 1;
}

/* ======== END CARD VISI ======== */

/* ======== CARD MISI ======== */
.misi-card {
    background: url('/assets/images/bg/bg-misi.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 35px;
    border: 1px solid #e5e7eb;
    min-height: 420px;
    position: relative;
    overflow: hidden;
}

/* Overlay putih transparan supaya teks tetap terbaca */
.misi-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.75); 
    backdrop-filter: blur(2px);
    z-index: 1;
}

/* Pastikan isi kartu di atas overlay */
.misi-card > * {
    position: relative;
    z-index: 2;
}

.misi-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #004a82;
}

/* CAROUSEL AREA */
.misi-container {
    position: relative;
    width: 100%;
}

.misi-carousel {
    position: relative;
    min-height: 230px; /* beri ruang untuk judul + paragraf */
    padding: 10px 20px; 
}

/* ITEM */
.misi-item {
    opacity: 0;
    transform: translateY(10px);
    position: absolute;
    top: 35px;
    left: 0;
    width: 100%;
    transition: all 0.4s ease;
    text-align: center;
    padding: 10px 20px;
}

.misi-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* TITLE */
.misi-item-title {
    font-size: 22px;
    margin-bottom: 8px;
    font-weight: 700;
    color: #0f172a;
}

/* DESC */
.misi-item-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #475569;
}

/* WRAP TOMBOL (biar mudah atur posisi) */
.misi-buttons {
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translateY(50%); /* sedikit turun dari container */
    display: flex;
    gap: 10px; /* jarak antara prev & next */
    z-index: 10;
}

/* Style Button */
.misi-prev, .misi-next {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    color: #64748b;
    transition: 0.3s;
}

.misi-prev:hover, .misi-next:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* ======== END CARD MISI ======== */

/* Responsive */
@media (max-width: 768px) {
  .about-section .text-center p {
    font-size: 1rem;
  }

  .about-card {
    padding: 1.5rem;
  }

  .visi-card, .misi-card {
        padding: 30px;
        min-height: 320px;
    }

  .visi-title {
      margin-bottom: 40px;
  }

  .misi-item {
    top: 10%;
  }
}

/* ======== END VISI MISI SECTION ======== */

/* ======== VALUE SECTION ======== */

/* Pastikan CSS ini diletakkan setelah file CSS Owl Carousel */

/* 1. Pengaturan Kontainer Latar Belakang */
#coreValuesSection {
  min-height: 420px; 
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 130px 0;
  margin-top: 40px;
  /* PENTING: Tambahkan transisi untuk efek perubahan background-image yang halus */
  /* Pastikan vendor prefix jika Anda mendukung browser yang lebih lama */
  transition: background-image 0.7s ease-in-out; 
  background-image: url('/assets/images/bg/teamwork.jpg');
}

#coreValuesSection::before{
  content: "";
  position: absolute;
  inset: 0;
  background: #00336675;
  backdrop-filter: blur(2px);
  z-index: 1;
}

/* 2. Style Card Umum */
#coreValuesSection .value-card {
  /* Mengatur dimensi dan padding card */
  margin: 20px 10px;
  background-color: white;
  padding: 30px 20px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  /* Transisi untuk perubahan warna background */
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  height: 320px; /* Tinggi tetap untuk konsistensi */
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

#coreValuesSection .card-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

#coreValuesSection .card-underline {
  width: 60px;
  height: 3px;
  background-color: #333;
  margin: 0 auto 20px auto;
  transition: background-color 0.3s ease;
}

#coreValuesSection .card-description {
  font-size: 1rem;
  line-height: 1.5;
  color: #555;
}

/* 3. Style Card Aktif (di tengah) */
#coreValuesSection .active-center-card {
  background-color: #002DFF !important; /* Warna biru untuk card yang aktif di tengah */
  color: white !important;
  transform: scale(1.05); /* Sedikit membesar */
  box-shadow: 0 8px 16px rgba(0, 45, 255, 0.4);
}

#coreValuesSection .active-center-card .card-title,
.active-center-card .card-description {
  color: white !important;
}

#coreValuesSection .active-center-card .card-underline {
  background-color: white !important;
}

/* 4. Overrides Navigasi (Panah) */
#coreValuesSection .core-values-carousel .owl-nav {
  margin-top: 30px;
  text-align: center;
}

#coreValuesSection .core-values-carousel .owl-prev,
.core-values-carousel .owl-next {
  /* Menggunakan ikon sederhana */
  font-size: 2rem; 
  color: white;
  background: rgb(0, 0, 0);
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  margin: 0 5px;
  transition: background-color 0.3s;
  display: inline-block;
  cursor: pointer;
}

/* Mengubah style panah agar cocok dengan mockup (panah putih kecil) */
#coreValuesSection .owl-theme .owl-nav [class*='owl-'] {
  color: #888 !important;
  font-size: 1.5rem;
  margin: 5px;
  padding: 0;
  background: white !important; /* Panah putih/abu */
  width: 40px;
  height: 40px;
  line-height: 35px;
  border-radius: 50%;
  opacity: 1; /* Pastikan terlihat */
  transition: all 0.2s ease;
}

/* Style panah saat hover */
#coreValuesSection .owl-theme .owl-nav [class*='owl-']:hover {
  background: #002DFF !important;
  color: white;
  text-decoration: none;
}

@media (max-width: 1024px) {
  #coreValuesSection .card-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

#coreValuesSection .card-description {
  font-size: .8rem;
  line-height: 1.3;
}
}

/* ======== END VALUE SECTION ======== */

/* ======== GOAL SECTION ======== */
.goals-section {
  background:#f4f4f6;
  padding:80px 0;
}
.goals-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.goals-header h2 {
  font-size: 46px;
  font-weight: 800;
  white-space: nowrap; /* supaya tidak turun baris */
}

.goals-header p {
  max-width: 600px;
  line-height: 1.6;
  color: #374151;
  font-size: 16px;
  text-align: justify;
}

.goals-container {
  display:flex;
  gap:25px;
  margin-top:50px;
  justify-content: center;
  flex-wrap: nowrap; /* default tidak wrap */
}

.goal-card {
  width:305px;
  height:340px;
  perspective:1000px;
  border-radius:25px;
}

.goal-inner {
  width:100%;
  height:100%;
  position:relative;
  transform-style:preserve-3d;
  transition:0.6s;
}

.goal-card:hover .goal-inner {
  transform:rotateY(180deg);
}

.goal-front,
.goal-back {
  position:absolute;
  width:100%;
  height:100%;
  backface-visibility:hidden;
  border-radius:25px;
  overflow:hidden;
}

.goal-front {
  background-size:cover;
  background-position:center;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  padding:20px;
  backdrop-filter:brightness(0.4);
}

.goal-front::after {
  content:"";
  position:absolute;
  top:0;left:0;
  width:100%;height:100%;
  background:rgba(0,0,0,0.45);
}

.goal-title {
  position:relative;
  font-size:22px;
  font-weight:700;
  color:#fff;
  text-align:center;
  z-index: 1;
}

.goal-back {
  background:#1e3a8a;
  color:#fff;
  padding:25px;
  transform:rotateY(180deg);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

/* ===============================
   TABLET (≤1024px) — 2 kolom
   =============================== */
@media (max-width: 1024px) {
  .goals-container {
    flex-wrap: wrap; /* izinkan turun baris */
    justify-content: center;
  }

  .goal-card {
    flex: 0 0 calc(50% - 20px); /* 2 kolom */
    margin-bottom: 0;
  }
}


/* ===============================
   MOBILE (≤640px) — 1 kolom
   =============================== */
@media (max-width: 640px) {
  .goals-header{
    display: block;
  }
  .goals-container {
    flex-wrap: wrap;
  }

  .goal-card {
    flex: 0 0 100%; /* 1 kolom */
  }
}

/* ======== END GOAL SECTION ======== */

/* ======== CLIENT SECTION ======== */

.client-section-owl {
    padding: 100px 0;
}

.client-title-owl {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 90px;
}

.client-carousel-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.client-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-item img {
    width: 100%;
    max-width: 120px;
    filter: grayscale(100%);
    opacity: .8;
    transition: .3s;
}

.client-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}


/* ======== END CLIENT SECTION ======== */

/* ======== FOOTER ======== */
.footer-section {
  background-color: #0d111b;
  color: #ddd;
  font-family: 'Poppins', sans-serif;
}

.footer-logo {
  width: 45px;
  height: 45px;
  font-size: 1.2rem;
}

.footer-link {
  color: #c9d1d9;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #f1c40f;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #c9d1d9;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #198754;
  color: #fff;
}

.footer-section hr {
  border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .footer-section {
    text-align: start;
  }

  .footer-logo {
    margin: 0 auto 1rem;
  }

  .social-link {
    margin-bottom: 0.5rem;
  }
}

/* ======== END FOOTER ======== */

/* ======== HERO SECTION ======== */
.hero-section-page {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

/* Overlay gelap */
.hero-section-page .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

/* Konten harus muncul di atas overlay */
.hero-section-page .content {
  position: relative;
  z-index: 2;
}

/* Teks */
.hero-section-page .container {
  position: relative;
  z-index: 2;
}

/* Tombol */
.hero-section-page .btn-warning {
  background-color: #f6c644;
  border: none;
  color: #1b3e34;
  transition: all 0.3s ease;
}
.hero-section-page .btn-warning:hover {
  background-color: #ffd35b;
}

.hero-section-page .btn-outline-light:hover {
  background-color: #ffffff;
  color: #2c645c;
}

/* Responsif */
@media (max-width: 768px) {
  .hero-section-page {
      padding: 40px 0;
  }

  .hero-section-page h1 {
      font-size: 1.9rem;
  }
}

/* ======== END HERO SECTION ======== */

/* ======== FEATURE CAROUSEL SECTION ======== */

.feature-carousel-section {
    background: url('/path/background.jpg') center/cover no-repeat;
    padding: 70px 0;
    color: #0d3c66;
}

.feature-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 30px 20px;
    border-radius: 12px;
    min-height: 250px;
    transition: 0.3s ease;
}

.feature-item:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.feature-icon {
    width: 60px;
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

/* ======== END FEATURE CAROUSEL SECTION ======== */

/* ======== CLEANING INTRO SECTION ======== */

.cleaning-intro-section {
    padding: 50px 0;
}

.cleaning-intro-section h2 {
    font-size: 40px;
    font-weight: 800;
    color: #0a3a4a;
}

.cleaning-intro-section p {
    margin-top: 20px;
    line-height: 1.7;
    color: #444;
    font-size: 16px;
    text-align: justify;
}

.intro-image-group {
    position: relative;
}

.intro-image-group .main-img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.small-images {
    position: absolute;
    bottom: -20px;
    right: 20px;
    display: flex;
    gap: 15px;
}

.small-images img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 2px 8px 20px rgba(0,0,0,0.35);
}

/* Responsiveness */
@media(max-width: 992px) {
    .small-images {
        position: relative;
        bottom: 110px;
        right: -25px;
        margin-top: 15px;
    }

    .cleaning-intro-section h2 {
      margin-top: 25px;
      font-size: 35px;
    }
}

/* ======== END CLEANING INTRO SECTION ======== */

/* ======== CORE SERVICE CLEANING SECTION ======== */

/* WRAPPER */
.tb-service-tabs {
    padding: 50px 0;
    background: #EEF3F7;
    font-family: "Inter", sans-serif;
}

/* CONTAINER */
.tb-container {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

/* TAB NAVIGATION */
.tb-tab-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.tb-tab-btn {
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    padding: 8px 4px;
    cursor: pointer;
    color: #6A7A8A;
    position: relative;
}

.tb-tab-btn.active {
    color: #2A6AC3;
}

.tb-tab-btn.active::after {
    content:"";
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 60%;
    height: 3px;
    background: #2A6AC3;
    border-radius: 6px;
    transform: translateX(-50%);
}

.tb-tab-btn:hover{
  background: transparent;
}

/* CONTENT BOX */
.tb-tab-content {
    margin-top: 20px;
}

.tb-tab-panel {
    display: none;
}

.tb-tab-panel.active {
    display: block;
}

/* ICON IMAGE */
.tb-icon-wrap img {
    max-width: 160px;
    margin-bottom: 25px;
}

/* INTRO TEXT */
.tb-intro {
    max-width: 700px;
    margin: 0 auto 25px;
    font-size: 16px;
    line-height: 1.6;
    color: #374957;
    text-align: justify;
}

/* TITLE */
.tb-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #1E3F5A;
}

/* LIST */
.tb-list {
    list-style: none;
    padding: 0;
    max-width: 720px;
    margin: auto;
    text-align: left;
}

.tb-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.2;
    color: #455B6A;
}

.tb-list li::before {
    content: "✔";
    color: #2A6AC3;
    font-weight: 700;
    font-size: 17px;
    margin-top: -2px;
}

/* PANEL GRID (LEFT IMAGE - RIGHT TEXT) */
.tb-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

/* LEFT IMAGE */
.tb-panel-left img {
    width: 100%;
    max-width: 340px;
    height: 300px;
    display: block;
    margin: auto;
    object-fit: cover;
}

/* RIGHT CONTENT */
.tb-panel-right {
    text-align: left;
}

/* ADJUST TEXT ON RIGHT PANEL */
.tb-panel-right .tb-intro {
    margin-left: 0;
}

.tb-panel-right .tb-list {
    margin-left: 0;
}

/* RESPONSIVE - MOBILE STACK */
@media(max-width: 768px) {
    .tb-panel-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .tb-panel-right {
        text-align: left;
        padding: 0 30px;
    }

    .tb-panel-right .tb-list {
        text-align: left;
        margin: 0 auto;
    }
}

/* RESPONSIVE */
@media(max-width: 600px) {
    .tb-tab-nav {
        gap: 20px;
    }

    .tb-title {
        font-size: 22px;
    }
}

/* ======== END CORE SERVICE CLEANING SECTION ======== */

/* ======== GALLERY CAROUSEL SECTION ======== */

.galery-owl-section {
    padding: 50px 20px;
    background: #ffffff; /* warna elegan */
}

.galery-owl .item {
    border-radius: 16px;
    overflow: hidden;
}

.galery-owl .item img {
    width: 100%;
    height: auto;          /* ✨ Ukuran besar */
    object-fit: cover;     /*  jaga komposisi foto */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    border-radius: 16px;
}

/* Nav khusus untuk galeri agar tidak bentrok */
.galery-owl .owl-nav button {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9) !important;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.galery-owl .owl-nav button span {
    font-size: 28px;
    line-height: 1;
}

.galery-owl .owl-nav .owl-prev {
    left: 12px;
}

.galery-owl .owl-nav .owl-next {
    right: 12px;
}

/* ======== END GALLERY CAROUSEL SECTION ======== */

/* ======== INTRO SECTION ======== */

.intro-section {
    padding: 50px 0;
    background: #F4F7F8;
}

.intro-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.intro-image img {
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.intro-content {
    flex: 1;
}

.intro-title {
    font-size: 40px;
    font-weight: 800;
    color: #1F2A33;
    margin-bottom: 20px;
}

.intro-content p {
    font-size: 17px;
    line-height: 1.7;
    color: #4A545E;
    margin-bottom: 15px;
    text-align: justify;
}

/* Responsive */
@media (max-width: 991px) {
    .intro-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .intro-image img {
        max-width: 100%;
    }

    .intro-content p {
        text-align: justify;
    }
}

/* ======== END INTRO SECURITY SECTION ======== */

/* ======== FEATURE WITH LEFT CONTENT SECTION ======== */

.rsf-section {
    padding: 50px 0;
    background: transparent;
}

/* CONTAINER */
.rsf-wrapper {
    max-width: 100%;
    margin: auto;
    text-align: center;
}

/* Custom gradient background untuk cards */
.rsf-card-1 {
    background: linear-gradient(135deg, #A4C6FF, #001d64);
    color: white;
    border: none;
    border-radius: 1rem; /* setara rounded-2xl */
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.3rem;
    transition: transform 0.3s ease-in-out;
}

.rsf-card-2 {
    background: linear-gradient(135deg, #5EEAD4, #137c71);
    color: white;
    border: none;
    border-radius: 1rem;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.3rem;
    transition: transform 0.3s ease-in-out;
}

.rsf-title-left{
  color: #003366;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.rsf-desc-left {
 color: #939393;
 font-size: 16px;
 text-align: justify;
}

/* Custom styling untuk Owl Carousel Navigasi (Dots dan Arrows) */
.owl-carousel .owl-dots {
    margin-top: 1rem;
    text-align: center;
}

.owl-carousel .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 5px 7px;
    background: #D1D5DB;
    display: block;
    transition: background-color 200ms ease;
    border-radius: 30px;
}
.owl-carousel .owl-dot.active span {
    background: #1E3A8A; /* Warna aktif dot */
}

/* Menyembunyikan panah navigasi bawaan Owl Carousel, kita hanya pakai dots */
.owl-carousel .owl-nav {
    display: none;
}

/* Perbaikan untuk memastikan card memiliki tinggi yang sama di dalam carousel */
.owl-carousel .item {
    height: auto;
}

/* Mengatasi margin atas di mobile agar tidak terlalu rapat */
@media (max-width: 991.98px) {
    .rsf-col-right { /* Menggunakan prefix baru untuk kolom kanan */
        margin-top: 2rem;
    }
}

/* ======== END FEATURE WITH LEFT CONTENT SECTION ======== */

/* ======== CORE SECTION ======== */
/* WRAPPER SECTION */
.sec-core {
  padding: 50px 20px;
  background: #ffffff;
  font-family: Arial, sans-serif;
}

.sec-core-container {
  max-width: 1200px;
  margin: auto;
}

/* TITLE */
.sec-core-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
}

.sec-core-subtitle {
  text-align: center;
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
}

/* ITEM LAYOUT */
.sec-core-item {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 60px;
}

.sec-core-item.reverse {
  flex-direction: row-reverse;
}

/* IMAGE */
.sec-core-img img {
  width: 380px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* CONTENT */
.sec-core-content h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 10px;
}

.sec-core-content p {
  color: #444;
  line-height: 1.6;
  margin-bottom: 15px;
}

.sec-core-content ul {
  padding-left: 18px;
}

.sec-core-content ul li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .sec-core-item {
    flex-direction: column;
    text-align: left;
  }
  .sec-core-item.reverse {
    flex-direction: column;
  }
  .sec-core-content ul {
    text-align: left;
  }
}

@media (max-width: 576px) {
  .sec-core-title {
    font-size: 26px;
  }
  .sec-core-content h3 {
    font-size: 22px;
  }
  .sec-core-item {
    gap: 20px;
  }
}
/* ======== END CORE SECTION ======== */

/* ======== WHY CHOOSE SECTION ======== */
/* WRAPPER */
.sec-owl-wrapper {
  padding: 50px 20px;
  background: #ffffff;
}

/* CARD ITEM */
.sec-owl-card {
  position: relative;
  height: 360px;
  border-radius: 8px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* DARK OVERLAY */
.sec-owl-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

/* TEXT CONTENT */
.sec-owl-content {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 20px;
  max-width: 80%;
}

.sec-owl-content .sec-owl-icon {
  width: 60px;
  margin-bottom: 15px;
  filter: brightness(1.2);
}

.sec-owl-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.sec-owl-content p {
  font-size: 15px;
  line-height: 1.6;
}

/* Owl arrows & dots custom */
.sec-owl-wrapper .owl-nav button {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background: #000 !important;
  color: #fff !important;
  padding: 10px 15px !important;
  border-radius: 50%;
  opacity: 0.7;
}

.sec-owl-wrapper .owl-nav .owl-prev {
  left: -10px;
}
.sec-owl-wrapper .owl-nav .owl-next {
  right: -10px;
}

.sec-owl-wrapper .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  background: #ddd;
}
.sec-owl-wrapper .owl-dots .owl-dot.active span {
  background: #333;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .sec-owl-card {
    height: 300px;
  }
  .sec-owl-content h3 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .sec-owl-card {
    height: 280px;
  }
  .sec-owl-content p {
    font-size: 14px;
  }
}

/* ======== END WHY CHOOSE SECTION ======== */

/* ======== CLIENT PROFIL SECTION ======== */
/* ===== SECTION TITLE ===== */
.client-logos-section {
    padding: 80px 40px;
    text-align: center;
}

.client-title-area {
    margin-bottom: 40px;
}

.client-title {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.client-subtitle {
    font-size: 16px;
    color: #555;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== LOGO WRAPPER ===== */
.client-logos-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 10px;
}

.client-logo-item {
    width: 110px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.client-logo-item img {
    width: 100%;
    height: auto;
    filter: grayscale(100%) opacity(70%);
    transition: all 0.3s ease-in-out;
}

.client-logo-item img:hover {
    filter: grayscale(0%) opacity(100%);
    transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .client-title {
        font-size: 26px;
    }
    .client-logo-item {
        width: 100px;
    }
}

@media (max-width: 480px) {
    .client-title {
        font-size: 22px;
    }
    .client-subtitle {
        font-size: 14px;
    }
    .client-logo-item {
        width: 90px;
    }
}


/* ======== END CLIENT PROFIL SECTION ======== */


/* ======== CARD LAYANAN SECTION ======== */

.layanan-card {
    position: relative;
    display: block;
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: 16px;
    text-decoration: none;
}

.layanan-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

/* Overlay */
.layanan-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.65),
        rgba(0,0,0,0.2)
    );
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.layanan-overlay h3 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

/* Hover effect (desktop) */
@media (hover: hover) {
    .layanan-card:hover img {
        transform: scale(1.08);
    }
}

/* Mobile friendly */
@media (max-width: 576px) {
    .layanan-card {
        height: 200px;
    }

    .layanan-overlay h3 {
        font-size: 1.1rem;
    }
}

/* ======== END CARD LAYANAN SECTION ======== */


/* === SECURITY SERVICE SECTION === */
.security-service-section {
  background-color: #fff;
}

.security-service-section h2 {
  color: #1c2b35;
}

.service-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: center;
  padding: 2rem;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

/* Icon Circle */
.icon-circle {
  width: 70px;
  height: 70px;
  background-color: #d9f3ec;
  color: #2f7469;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* Text adjustments */
.service-card h5 {
  font-weight: 600;
  color: #1c2b35;
  margin-bottom: 10px;
}

.service-card p {
  color: #5f6b75;
  font-size: 0.9rem;
}

/* === Responsive Settings === */

/* --- Mobile (<768px) --- */
@media (max-width: 767.98px) {
  .security-service-section .row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    gap: 1rem;
  }

  .sec-security-img img {
  width: 100%;
  height: auto;
  }

  .service-card {
    padding: 1.5rem 1rem;
    min-height: 180px;
  }

  /* Hide descriptions */
  .service-card p {
    display: none;
  }
}

/* --- Tablet (768px to 991px) --- */
@media (min-width: 768px) and (max-width: 991.98px) {
  .security-service-section .row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    gap: 1.5rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
    min-height: 200px;
  }

  /* Hide descriptions */
  .service-card p {
    display: none;
  }

  .security-service-section .col-md-6 {
    width: 100%;
  }
}



/* === PROFESSIONAL TRAINING SECTION === */
.training-section {
  background-color: #f9fbfb;
  padding: 80px 0;
  text-align: center;
}

/* Subtitle (badge kecil di atas judul) */
.training-section .section-badge {
  display: inline-block;
  background-color: #d4f3e6;
  color: #2f7469;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 12px;
  font-weight: 500;
  margin-bottom: 12px;
}

/* Judul besar */
.training-section h2 {
  font-weight: 700;
  color: #1c2b35;
  margin-bottom: 12px;
}

/* Subjudul */
.training-section p.section-desc {
  color: #5f6b75;
  max-width: 750px;
  margin: 0 auto 50px auto;
  font-size: 1rem;
}

/* Grid */
.training-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  justify-items: center;
}

/* Card */
.training-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 1.8rem;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 340px;
}

.training-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Icon box */
.icon-box-tr {
  width: 48px;
  height: 48px;
  background-color: #fff5c281;
  color: #c6a106;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 20px auto;
  transition: background-color 0.3s ease;
}

/* Hover effect: background icon lebih gelap */
.training-card:hover .icon-box-tr {
  background-color: #ffe178;
}

/* Title & desc */
.training-card h5 {
  font-weight: 600;
  color: #1c2b35;
  margin-bottom: 6px;
}

.training-card p {
  color: #5f6b75;
  font-size: 0.9rem;
  margin: 0;
  text-align: justify;
}

/* CTA Box */
.training-cta {
  background: linear-gradient(90deg, #f1fdfa 0%, #fefde9 100%);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin-top: 60px;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.training-cta h5 {
  font-weight: 700;
  color: #1c2b35;
  margin-bottom: 0.5rem;
}

.training-cta p {
  color: #5f6b75;
  margin-bottom: 1rem;
}

.training-cta .btn-contact {
  background-color: #2f7469;
  color: #fff;
  font-weight: 500;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  border: none;
  transition: all 0.3s ease;
}

.training-cta .btn-contact:hover {
  background-color: #265e56;
}

/* === Responsive === */

/* Tablet (max 991px) */
@media (max-width: 991.98px) {
  .training-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile (max 575px) */
@media (max-width: 575.98px) {
  .training-grid {
    grid-template-columns: 1fr;
  }
  .training-card {
    max-width: 100%;
  }
}


/* === SECURITY SERVICE AREAS === */
.service-areas {
  padding: 90px 0;
  background-color: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

/* Badge */
.section-badge {
  display: inline-block;
  background-color: #fff7c2;
  color: #6b6200;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 12px;
  margin-bottom: 14px;
}

/* Titles */
.service-left h2 {
  font-weight: 700;
  color: #1b2b35;
  margin-bottom: 10px;
}

.service-areas .section-desc {
  color: #5f6b75;
  font-size: 1rem;
  max-width: 600px;
  margin-bottom: 30px;
}

/* Service list */
.service-list {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 30px;
}

.service-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  color: #2f7469;
  margin-bottom: 10px;
  font-weight: 500;
}

.service-list li i {
  color: #2f7469;
  margin-right: 8px;
}

/* Service list info */
.service-list-info {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 30px;
}

.service-list-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list-info li {
  color: #efefef;
  margin-bottom: 10px;
  font-weight: 500;
}

.service-list-info li i {
  color: #fdfdfd;
  margin-right: 8px;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  gap: 12px;
}

.btn-primary {
  background-color: #2f7469;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #265e56;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid #2f7469;
  color: #2f7469;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: #2f7469;
  color: #fff;
}

/* === Kanan: Info box === */
.service-info {
  background: linear-gradient(135deg, #3f9787 0%, #2f7469 100%);
  border-radius: 10px;
  padding: 2rem;
  color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.service-info h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-info h6 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.service-info p {
  color: #eafaf6;
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Emergency box */
.emergency-box {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1rem;
}

.emergency-box h6 {
  color: #ffe36a;
  font-weight: 600;
  margin-bottom: 8px;
}

.emergency-box p {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
}

.emergency-box i {
  margin-right: 8px;
}

/* === Responsive === */

/* Tablet */
@media (max-width: 991.98px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-info {
    margin-top: 40px;
  }
  .service-list {
    flex-direction: row;
    justify-content: inherit;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .service-list {
    flex-direction: column;
    gap: 0;
  }
}


/* === LICENSES & CERTIFICATIONS SECTION === */
.licenses-section {
  padding: 90px 0;
  background-color: #f9fbfc;
  text-align: center;
}

.section-badge {
  display: inline-block;
  background-color: #fff7c2;
  color: #6b6200;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 12px;
  margin-bottom: 14px;
}

.licenses-section h2 {
  font-weight: 700;
  color: #1b2b35;
  margin-bottom: 10px;
}

.section-desc {
  color: #5f6b75;
  font-size: 1rem;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* === Cards === */
.licenses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  justify-items: center;
}

.license-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 2rem 1rem;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.license-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Icon */
.license-icon {
  background: linear-gradient(135deg, #2f7469, #e8d54a);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.license-icon i {
  color: #fff;
  font-size: 28px;
}

/* Texts */
.license-card h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #1b2b35;
  margin-bottom: 6px;
}

.license-card p {
  font-size: 0.9rem;
  color: #5f6b75;
  margin: 0;
}

/* === Responsive === */

/* Tablet */
@media (max-width: 991.98px) {
  .licenses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  .licenses-grid {
    grid-template-columns: 1fr;
  }
  .license-card {
    max-width: 100%;
  }
}

/* === PRODUCT SECTION === */

.product-section {
  background-color: #f9fafb;
  padding: 80px 20px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.section-header {
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-badge {
  display: inline-block;
  background: #f6d050;
  color: #333;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  margin: 15px 0 10px;
}

.section-subtitle {
  color: #4b5563;
  font-size: 16px;
  line-height: 1.6;
}

/* Tabs */
.tab-container {
  display: flex;
  flex-wrap: wrap; /* memungkinkan turun ke baris baru */
  justify-content: center;
  background: #f7f7f7;
  border-radius: 12px;
  padding: 8px;
  gap: 8px;
  max-width: 950px;
  margin: 0 auto 40px;
}

.tab {
  flex: 1 1 22%; /* 4 tab per baris di desktop */
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 16px;
  color: #374151;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.tab.active {
  background: #e5b91e;
  color: #fff;
}

.tab:hover {
  background: #f2df94;
  color: #1f2937;
}

/* Product Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.product-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column; /* ubah jadi vertikal */
  align-items: center;
  text-align: center;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.08);
}

.icon {
  width: 100%;         /* perbesar untuk gambar */
  height: auto;
  border-radius: 14px;
  overflow: hidden;    /* supaya gambar rapi */
  background: #fff7da;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.card-content p {
  font-size: 15px;
  color: #6b7280;
  margin: 4px 0 0;
}


/* ===== JIKA HANYA ADA 1 PRODUK ===== */
.card-grid:has(.product-card:only-child) {
  display: flex;
  justify-content: center;
}

.card-grid:has(.product-card:only-child) .product-card {
  max-width: 500px;
  width: 100%;
}

/* Tab Content Control */
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

/* ===== TABLET VIEW (2 tab per baris) ===== */
@media (max-width: 992px) {
  .tab {
    flex: 1 1 45%;
    font-size: 15px;
    padding: 10px 14px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 26px;
  }

  .tab {
    flex: 1 1 100%;
    font-size: 14px;
    padding: 10px;
  }

  .tab-container {
    padding: 10px;
    gap: 10px;
    display: block;
  }
}

/* ===== KONSTRUKSI SECTION ===== */

.keunggulan-section {
  padding: 80px 20px;
  background-color: #f8fafc;
  text-align: center;
}

.keunggulan-section .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1c2b35;
  margin-bottom: 10px;
}

.keunggulan-section .section-subtitle {
  font-size: 1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.keunggulan-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.keunggulan-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  padding: 35px 25px;
  width: 260px;
  transition: all 0.3s ease;
}

.keunggulan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.icon-box {
  background-color: #e0f7f7;
  color: #008c8c;
  border-radius: 50%;
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 1.6rem;
}

.keunggulan-card h3 {
  font-size: 1.1rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 10px;
}

.keunggulan-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Responsif */
@media (max-width: 992px) {
  .keunggulan-cards {
    gap: 20px;
  }
  .keunggulan-card {
    width: 45%;
  }
}

@media (max-width: 576px) {
  .keunggulan-card {
    width: 100%;
  }
  .icon-box {
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
  }
  .keunggulan-section .section-title {
    font-size: 1.7rem;
  }
}

/* Hero Section */
.contact-hero {
  width: 100%;
  min-height: 70vh;
  padding: 210px 20px;
  text-align: center;
  background: linear-gradient(180deg, #112e6b, #3664bf);
  position: relative;
  color: #ffffff;
  overflow: hidden;
}

.contact-hero::before,
.contact-hero::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  opacity: 0.25;
}

.contact-hero::before { background: #2f7a8f; left: 60px; bottom: 40px; }
.contact-hero::after { background: #333ba3; right: 50px; top: 40px; }

.badge {
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 13px;
  display: inline-block;
  margin-bottom: 15px;
}

.contact-hero h1 { font-size: 46px; font-weight: 700; margin-bottom: 10px; }
.contact-hero .subtitle {
  font-size: 18px; line-height: 1.6;
  max-width: 780px; margin: 0 auto 50px;
}

.contact-info { display: flex; justify-content: center; gap: 80px; flex-wrap: wrap; }
.contact-item { text-align: center; color: #fff; }

.contact-info .icon-circle {
  width: 55px; height: 55px; 
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  color: #0dcaf0;
  display: flex; 
  justify-content: center; 
  align-items: center;
  margin: 0 auto 12px; 
  font-size: 20px;
}

.contact-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px;}
.contact-item p { font-size: 14px; opacity: 0.9; }

/* Gradient Cards */
.bg-gradient-green-info { background: linear-gradient(90deg, #2c9e8b, #176157); }
.bg-gradient-blue-info { background: linear-gradient(90deg, #2c8ad7, #0e38b7); }
.bg-gradient-yellow-info { background: linear-gradient(90deg, #d7a02c, #b77a0e); }

.contact-card { border-radius: 12px; overflow: hidden; box-shadow: 0 6px 15px rgba(0,0,0,0.1); }
.contact-card iframe { width: 100%!important; height: 300px; border: 0; display: block; }

/* Contact Business Hours + Form */
.contact-operational-section {
  padding: 80px 0;
  background: #f8faf8;
  font-family: 'Inter', sans-serif;
}

/* updated names */
.contact-container-box {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.contact-col {
  flex: 1;
  min-width: 350px;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Typography */
.operational-box h2,
.form-box h2 { font-size: 32px; font-weight: 700; margin-bottom: 10px; }

.location-hours h3 { font-size: 20px; margin-top: 20px; margin-bottom: 8px; font-weight: 600; }

.location-hours ul {
  list-style: none; padding: 0; margin: 0 0 10px 0;
  border-bottom: 1px solid #eee; padding-bottom: 8px;
}

.location-hours ul li {
  display: flex; justify-content: space-between;
  padding: 4px 0; font-size: 15px;
}

.info-box {
  background: #fff8d8; padding: 12px; border-radius: 8px;
  margin-top: 12px; font-size: 14px; border-left: 4px solid #e8c400;
}

/* Form */
.form-row { display: flex; gap: 15px; margin-bottom: 15px; }
input, select, textarea {
  width: 100%; padding: 12px 15px; border: 1px solid #ddd;
  border-radius: 8px; font-size: 15px;
}
textarea { height: 120px; resize: none; }

button {
  width: 100%; padding: 14px; background: #2b837c; color: #fff;
  font-weight: 600; border: none; border-radius: 8px; cursor: pointer;
  font-size: 16px; margin-top: 10px;
}
button:hover { background: #236a63; }

/* Responsive */
@media(max-width:768px){ .contact-row{ flex-direction: column; } }


.gallery-section {
  padding: 4rem 0;
  background-color: #f9fafb;
  text-align: center;
}

.gallery-section .section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #222;
}

.gallery-section .section-subtitle {
  color: #555;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

/* ===== Lightbox (perbaikan posisi tengah) ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.90);
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.lightbox.show {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85%;
  border-radius: 1rem;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
  animation: zoomIn 0.3s ease;
}

/* Tombol close */
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close:hover {
  color: #ccc;
}

/* Animasi muncul */
@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}