/********** Template CSS **********/

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Button ***/
.btn {
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}
/*** Tambahan btn-red (transparan untuk footer) ***/
.btn-red {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    transition: 0.3s;
}

.btn-red:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar {
    padding: 15px 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 0;
    outline: none;
    color: var(--bs-dark);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary)
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}
@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}
/*** Hero Header ***/
.hero-header {
    margin-top: -100px;
    padding-top: 150px;
    background: url(img/about.webp) top center no-repeat;
    background-size: cover;
    background-attachment: fixed; /* efek parallax ringan */
    background-color: #f5f5f5; /* fallback kalau gambar gagal dimuat */
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.header-carousel {
    position: relative;
    padding: 45px 90px 45px 0;
}

.header-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-primary);
    z-index: -1;
}

.header-carousel .owl-dots {
    position: absolute;
    top: 50%;
    right: 38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 5px 0;
    width: 15px;
    height: 15px;
    border: 2px solid var(--bs-white);
    transition: .5s;
}

.header-carousel .owl-dot.active {
    height: 30px;
    background: var(--bs-white);
}

.header-carousel img {
  height: 500px;        /* sesuaikan */
  object-fit: cover;    /* biar proporsional */
  border-radius: 10px;  /* opsional, biar lebih modern */
}

/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 250px;        /* tinggi seragam */
    border-radius: 6px;
}
/* Gambar di dalam wrapper */
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* biar gambar proporsional */
  border-radius: 6px;
  display: block;
}
/* Efek dekorasi background */
.about-img::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: url(img/about.webp) top left no-repeat;
  background-size: contain;
  pointer-events: none;   /* tidak ganggu klik */
  z-index: 2;
}
  /* Caption overlay */
.about-caption {
  position: absolute;
  bottom: 0;             
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5); /* overlay transparan */
  padding: 10px;
  z-index: 3;
  text-align: center;
}
.about-caption h4 {
  margin: 0;
  font-size: 16px;
  color: #fff;
  font-weight: 600;
}
/*** Project ***/
.project-item img {
    transition: .5s;
}
  
.project-item:hover img {
    transform: scale(1.2);
}
  
.project-overlay {
    position: absolute;
    padding: 25px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(255, 255, 255, .1) 50%, var(--bs-dark));
    z-index: 1;
}


/*** Service ***/
.service-item {
    position: relative;
    padding: 30px 25px;
    transition: .5s;
}

.service-item.bg-primary:hover {
    background: var(--bs-light) !important;
}

.service-item.bg-primary p {
    color: var(--bs-light);
    transition: .5s;
}

.service-item.bg-primary:hover p {
    color: var(--bs-secondary);
}

.service-item.bg-light:hover {
    background: var(--bs-primary) !important;
}

.service-item.bg-light p {
    color: var(--bs-secondary);
    transition: .5s;
}

.service-item.bg-light:hover p {
    color: var(--bs-light);
}


.service-item .service-img h3 {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 12px 7px 0;
}

.service-item.bg-primary .service-img h3 {
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: .5s;
}

.service-item.bg-primary:hover .service-img h3 {
    background: var(--bs-light);
    color: var(--bs-dark);
}

.service-item.bg-light .service-img h3 {
    background: var(--bs-light);
    color: var(--bs-dark);
    transition: .5s;
}

.service-item.bg-light:hover .service-img h3 {
    background: var(--bs-primary);
    color: var(--bs-white);
}


/*** Our Team ***/
.team-item img {
    transition: .5s;
}
  
.team-item:hover img {
    transform: scale(1.2);
}
  
.team-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(255, 255, 255, .1) 50%, var(--bs-dark));
    z-index: 1;
}

.team-overlay small {
    display: inline-block;
    padding: 3px 15px;
    color: var(--bs-white);
    background: var(--bs-primary);
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    padding: 45px 0 45px 90px;
}

.testimonial-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-primary);
    z-index: -1;
}

.testimonial-text h5 {
    position: relative;
    padding-left: 45px;
}

.testimonial-text h5::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: var(--bs-primary);
}

.testimonial-carousel .owl-dots {
    position: absolute;
    height: 17px;
    bottom: 0;
    right: 0;
    left: auto;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin-left: 10px;
    width: 15px;
    height: 15px;
    background: var(--bs-white);
    border: 2px solid var(--bs-primary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-primary);
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-dots {
        left: 0;
        right: auto;
    }

    .testimonial-carousel .owl-dot {
        margin-right: 10px;
        margin-left: 0;
    }
}


/*** Newsletter ***/
.newsletter {
    background: url(img/about.webp) bottom right no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .newsletter .container {
        max-width: 100% !important;
    }

    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/*** Footer ***/
.footer {
  background-color: #006d63; /* warna hijau footer */
  width: 100vw;              /* pastikan full lebar viewport */
  margin-left: calc(50% - 50vw); /* hilangkan batas container */
  margin-right: calc(50% - 50vw);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,.5);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: var(--bs-white);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: rgba(255,255,255,.5);
}

.footer .copyright a:hover {
    color: var(--bs-white);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}
.about-caption {
  position: absolute;
  bottom: 0;             
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5); /* overlay transparan */
  padding: 10px;
}
/* Custom Feature Section */
.feature-icon {
  margin-bottom: 20px;          /* kasih jarak bawah icon */
  transition: transform 0.3s;   /* animasi halus */
  cursor: pointer;                  /* kasih pointer pas hover */
}

.feature-icon i {
  color: #0d6efd;               /* biru brand */
  transition: transform 0.3s ease, color 0.3s ease; /* animasi icon */
}

.feature-icon:hover {
  transform: scale(1.1) translateY(-6px);      /* kotak ikut naik dikit */
}
  .feature-icon:hover i {
  transform: scale(1.2);            /* icon membesar */
  color: #0a58ca;                   /* biru lebih gelap pas hover */
}
/* Service Section */
.service-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Gambar di dalam service-item */
.service-item img {
  transition: transform 0.4s ease;
}

.service-item:hover img {
  transform: scale(1.05);
}

/* Judul step */
.service-item h3 {
  transition: color 0.3s ease;
}

.service-item:hover h3 {
  color: #0d6efd; /* biru brand kamu */
}
/* --- Testimonial Carousel --- */
.testimonial-item {
  background: #fff;                /* kasih background putih */
  border-radius: 15px;             /* sudut membulat */
  padding: 30px;                   /* jarak isi */
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);  /* efek shadow lembut */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item:hover {
  transform: translateY(-5px);     /* naik dikit kalau hover */
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.testimonial-img img {
  border-radius: 10px;             /* gambar lebih smooth */
  transition: transform 0.4s ease;
}

.testimonial-img img:hover {
  transform: scale(1.05);          /* zoom halus pas hover */
}

.testimonial-text h3 {
  font-size: 20px;
  color: #0d6efd;                  /* biru brand */
  margin-bottom: 15px;
}

.testimonial-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;                     /* abu elegan */
  margin-bottom: 15px;
}

.testimonial-text h5 {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
/* ===========================
   Responsive Mobile Adjustments
   =========================== */
@media (max-width: 768px) {

  /* Navbar */
  .navbar .navbar-nav .nav-link {
    margin-left: 0 !important;
    padding: 8px 0;
    font-size: 16px; /* biar nggak terlalu besar */
  }

  /* Hero section */
  .hero-header {
    padding-top: 100px; /* lebih rapat di layar kecil */
    text-align: center;
  }
  .hero-header img {
    height: auto;
    width: 100%;
    border-radius: 6px;
  }

  /* About section */
  .about-img {
    height: 200px; /* biar nggak terlalu tinggi */
  }
  .about-caption h4 {
    font-size: 14px;
  }

  /* Services */
  .service-item {
    padding: 20px;
    margin-bottom: 20px;
  }

  /* Project image scaling */
  .project-item img {
    height: auto;
    max-height: 200px;
    object-fit: cover;
  }

  /* Testimonial */
  .testimonial-item {
    padding: 20px;
  }
  .testimonial-text p {
    font-size: 14px;
  }

  /* Footer */
  .footer {
    text-align: center;
  }
  .footer .footer-menu {
    margin-top: 15px;
  }
}
.job-card {
  background-color: #f8fbfc;
  border: 1px solid #dbe3e6;
  transition: all 0.3s ease;
}
.job-card:hover {
  background-color: #ffffff;
  box-shadow: 0 8px 15px rgba(0,0,0,0.08);
  transform: translateY(-5px);
}
.job-card i {
  color: #0d6efd;
}
.job-card h5 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.job-card p {
  font-size: 0.85rem;
  line-height: 1.4;
}
.project-box {
  transition: all 0.3s ease-in-out;
  border-left: 5px solid transparent;
  min-height: 160px; /* biar semua sejajar */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-box:hover {
  background-color: #ffffff;
  border-left: 5px solid #0d6efd;
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.project-box h5 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  min-height: 45px;
}

.project-box p {
  font-size: 0.9rem;
  color: #6c757d;
}

.badge {
  font-size: 0.8rem;
  padding: 5px 10px;
  border-radius: 5px;
}
.project-box {
  transition: all 0.3s ease-in-out;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 5px solid transparent;
}

.project-box:hover {
  background-color: #ffffff;
  border-left: 5px solid #0d6efd;
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.project-box {
  transition: all 0.3s ease-in-out;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 5px solid transparent;
}

.project-box:hover {
  background-color: #ffffff;
  border-left: 5px solid #0d6efd;
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.project-box h5 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

.project-box p {
  font-size: 0.9rem;
  color: #6c757d;
}

.project-box .fa-map-marker-alt {
  color: #dc3545;
}

.badge {
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 6px;
  margin-top: 6px;
}
.cs-logo {
  height: 50px;
  width: 60px;
  object-fit: cover; /* gambar isi penuh elips */
  border-radius: 50%; /* elips sempurna */
  background-color: #ffffff;
  padding: 1px; /* lebih tipis agar gambar terlihat lebih besar */
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cs-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.4);
}
/* Pastikan ikon selalu horizontal di mobile */
@media (max-width: 768px) {
  .d-flex.flex-wrap.justify-content-start {
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
  }
}

/* Hilangkan background hijau di belakang testimonial */
.testimonial-item::before,
.testimonial-item::after,
.testimonial-img::before,
.testimonial-img::after {
  background: none !important;
  background-color: transparent !important;
  content: none !important;
  box-shadow: none !important;
}

/* Pastikan wrapper testimoni juga transparan */
.testimonial-carousel,
.testimonial-item,
.testimonial-item .col-md-6 {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
/* === Supplier Section === */
.col-md-6.col-lg-3 .btn-link img {
  display: block;
  margin: 0 auto;
  height: 28px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.col-md-6.col-lg-3 .btn-link img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .col-md-6.col-lg-3 .btn-link img {
    height: 24px;
  }
}
.contact-section h4 {
  color: #006d63;
  font-weight: 600;
  margin-top: 20px;
}

.contact-section img {
  display: block;
  margin-top: 10px;
  margin-bottom: 10px;
}
.map-container {
  border-radius: 10px;
  overflow: hidden;
  background: #f8f9fa;
}
@media (max-width: 576px) {
  .d-flex img {
    width: 140px !important;
    margin: 0 auto;
  }
  .d-flex {
    justify-content: center !important;
  }
}
/* ===== FONT KHUSUS UNTUK MENU NAVBAR ===== */
.navbar-nav .nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: #1E5E63 !important;
  transition: 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #2A7E84 !important; /* warna saat hover & aktif */
  text-decoration: none;
}
.btn-affiliate {
  background-color: #ff5722; /* warna oranye Shopee */
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}
.btn-affiliate:hover {
  background-color: #e64a19;
}
/* === Optimasi Mobile View Tambahan (Dekorumah123) === */
@media (max-width: 576px) {

  /* Hero Section */
  .hero-header {
    background: none; /* Hilangkan background agar tidak dobel di layar kecil */
    padding-top: 80px;
    padding-bottom: 40px;
  }
  .hero-header .display-1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  .hero-header h5 {
    font-size: 1rem;
    padding: 10px 20px;
  }
  .header-carousel img {
    height: auto !important;
    border-radius: 8px;
  }

  /* About Section */
  .about-img {
    height: auto;
    margin-bottom: 15px;
  }

  /* Project Section */
  .project-item img {
    width: 100%;
    height: auto;
    border-radius: 6px;
  }

  /* Text dan Spacing */
  section, .container-fluid, .container {
    padding: 20px 10px !important;
  }

  /* Hapus delay animasi agar tidak CLS */
  [data-wow-delay] {
    animation-delay: 0s !important;
  }

  /* Footer */
  .footer {
    padding: 30px 15px;
    text-align: center;
  }
  .footer .btn-link {
    font-size: 14px;
  }
}
/* === Fix Tombol WhatsApp Menutupi Konten Mobile === */
@media (max-width: 576px) {
  body {
    padding-bottom: 100px; /* memberi ruang agar tidak tertutup tombol */
  }

  .whatsapp-container {
    bottom: 80px; /* geser sedikit ke atas agar tidak tumpuk tombol atas */
    left: 15px;
  }

  .back-to-top {
    bottom: 20px; /* posisikan sedikit lebih ke bawah */
    right: 20px;
  }
}
@media (max-width: 576px) {
  .whatsapp-container {
    left: auto;
    right: 20px;
    bottom: 80px;
  }
}
.sticky-top.shadow-sm {
  background-color: #fff !important;
  box-shadow: none !important;
}

.hero-header {
  background-color: #fff;
  margin-top: -1px; /* menutupi potensi garis */
}

/* === NAVBAR MODERN & RAMPING === */
.navbar {
  background-color: #ffffff; /* warna putih */
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  min-height: 60px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* bayangan halus */
}

/* Logo agar sejajar dengan menu */
.navbar-brand img {
  height: 60px !important; /* sebelumnya 90px */
  transition: 0.3s ease;
}

.navbar-brand img:hover {
  transform: scale(1.03); /* efek hover kecil */
}
