/********** Template CSS **********/
:root {
    --primary: #65B530;
    --secondary: #9B9B9B;
    --light: #F5F5F5;
    --dark: #161616;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

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


/*** 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;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.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;
}

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

.navbar .navbar-brand {
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-weight: 500;
    outline: none;
}

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

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

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@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;
    }
}

.navbar .btn:hover {
    color: #FFFFFF !important;
    background: var(--primary) !important;
}


/*** Header ***/
.header-carousel .carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(66, 65, 65, 0.445);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 15px;
    transition: .5s;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: #FFFFFF;
    border-radius: 5px;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(22, 22, 22, .7), rgba(22, 22, 22, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

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


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

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

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

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


/*** Service ***/
.service-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.service-item {
    border-color: rgba(0, 0, 0, .03) !important;
}

.service-item .btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 38px;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}


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

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

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

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


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.portfolio-inner img {
    transition: .5s;
}

.portfolio-inner:hover img {
    transform: scale(1.1);
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -50px;
    opacity: 0;
    transition: .5s;
}

.portfolio-inner:hover .portfolio-text {
    bottom: 0;
    opacity: 1;
}


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

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

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

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


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .team-social {
    position: absolute;
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(22, 22, 22, .7);
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    opacity: 0;
}

.team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    border-radius: 60px;
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


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

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

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

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


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

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

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

.service-box {
    background: #ffffff;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #eeeeee;
}

.service-box:hover {
    background: #f2f2f2;
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.service-box h5 {
    color: #222;
    font-weight: 600;
    font-size: 20px;
}

.icon-circle {
    width: 130px;
    height: 130px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    border: 1px solid #dddddd;
    transition: all 0.3s ease;
}

.icon-circle img {
    max-width: 80px;
}

.service-box:hover .icon-circle {
    transform: scale(1.05);
}

.about-desc {
    color: #000000 !important;
    font-size: 16px;
    line-height: 1.8;
}

/* Hilangkan garis link */
.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Card style */
.service-card {
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Hover effect timbul */
.service-card:hover {
  background: #f3f3f3;
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

/* Icon bulat */
.icon-circle {
  width: 130px;
  height: 130px;
  background: #ffffff;
  border-radius: 50%;
  border: 1px solid #dddddd;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  transition: 0.3s;
}

.icon-circle img {
  max-width: 85px;
}

/* Icon ikut gerak dikit */
.service-card:hover .icon-circle {
  transform: scale(1.05);
}

.service-card h4 {
  color: #222;
  font-weight: 600;
}

.interior-desc {
    color: #000000 !important;
    font-size: 16px;
    line-height: 1.8;
}

.logo-slider {
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: flex;
    width: calc(250px * 10);
    animation: scroll 25s linear infinite;
}

.logo-track img {
    width: 180px;
    margin: 0 30px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: 0.3s;
}

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

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

html {
    scroll-behavior: smooth;
}

/* ==============================
   PAGE HEADER SETTINGS
================================ */

.page-header {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Tentang Kami */
.tentang-header {
    background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)),
                url("../img/Banner 3.jpg");
}

/* Jasa Interior */
.interior-header {
    background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)),
                url("../img/Banner 5.png");
}

/* Download */
.download-header {
    background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)),
                url("../img/download.jpg");
}

/* Kontak */
.kontak-header {
    background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)),
                url("../img/kontak.jpg");
}

/* Mega dropdown Produk */
.produk-mega-menu {
  min-width: 520px;
}

@media (max-width: 991px) {
  .produk-mega-menu {
    min-width: 100%;
  }
}

.produk-mega-menu .dropdown-item {
  font-size: 14px;
  padding: 7px 10px;
  border-radius: 8px;
}

.produk-mega-menu .dropdown-item:hover {
  background: #f5f5f5;
  color: #28a745;
}

/* Dropdown Produk bisa di scroll di HP */
@media (max-width: 991px) {
  .produk-mega-menu {
    max-height: 70vh;   /* tinggi maksimal dropdown */
    overflow-y: auto;   /* aktifkan scroll */
  }
}

/* ===== Brand Logo (Static) ===== */
.brand-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items: center;
}

.brand-item{
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  display:flex;
  justify-content:center;
  align-items:center;
  height: 130px; /* sebelumnya 90px */
}

.brand-item img{
  max-height: 85px; /* sebelumnya 55px */
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(0%);
  opacity: 1;
  transition: .2s ease;
}

.brand-item:hover img{
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.03);
}

/* Responsive grid */
@media (max-width: 992px){
  .brand-grid{ grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 576px){
  .brand-grid{ display:none; } /* hide grid on small phone, use scroll row */
}

/* Mobile scroll row (manual scroll, NOT moving) */
.brand-scroll{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}
.brand-scroll::-webkit-scrollbar{
  height: 6px;
}
.brand-scroll::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.15);
  border-radius: 8px;
}
.brand-scroll-track{
  display:flex;
  gap: 12px;
}
.brand-scroll-track img{
  background:#fff;
  border-radius: 14px;
  padding: 14px;
  height: 70px;
  width: 140px;
  object-fit: contain;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

/* ===== BRAND PUMP & BLOWER ===== */

.brand-grid-pump{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-items: center;
}

.brand-item-pump{
  width: 100%;
  max-width: 220px;
  height: 130px;
  background: #ffffff;
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}

.brand-item-pump:hover{
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}

.brand-item-pump img{
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
}


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

@media (max-width: 768px){
  .brand-grid-pump{
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ===== Flipbook Responsive (PC + HP) ===== */
.flipbook-wrap{
  background:#fff;
  border-radius:18px;
  padding:22px;
  box-shadow:0px 6px 18px rgba(0,0,0,0.08);
}

#flipbook{
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  background:#f6f6f6;
  border-radius:14px;
  overflow:hidden;
}

#flipbook .page{
  width: 100%;
  height: 100%;
}

#flipbook .page img{
  width:100%;
  height:100%;
  object-fit: contain;
  background:#fff;
  display:block;
}

.flipbook-note{
  font-size: 14px;
}

.flipbook-toolbar .btn{
  border-radius: 999px;
}

/* tinggi flipbook (PC) */
@media (min-width: 992px){
  #flipbook{ height: 560px; }
}

/* tinggi flipbook (tablet) */
@media (max-width: 991px){
  #flipbook{ height: 520px; }
}

/* tinggi flipbook (HP) */
@media (max-width: 576px){
  .flipbook-wrap{ padding:16px; }
  #flipbook{ height: 420px; }
}

/* ===============================
   GLOBAL BACKGROUND FIX
=================================*/

html, body{
    background-color: #ffffff !important;
}

/* Semua section utama pakai putih */
section,
.container,
.container-fluid{
    background-color: transparent;
}

/* Paksa bg-light jadi putih */
.bg-light{
    background-color: #ffffff !important;
}

/* Interior page khusus */
.interior-section,
.interior-page{
    background-color: #ffffff !important;
}

/* ===============================
   PAGE HEADER FIX (BIAR SAMA PC)
=================================*/

.page-header{
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* ===============================
   MOBILE FIX (HP)
=================================*/

@media (max-width: 768px){

    /* Hapus padding kebanyakan */
    .container-fluid.px-5{
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .navbar{
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* Judul biar proporsional */
    .display-3{
        font-size: 32px !important;
        line-height: 1.2;
    }

    /* Paragraf biar nggak kegedean */
    .interior-desc,
    .about-desc{
        font-size: 15px !important;
        line-height: 1.7 !important;
        color: #000000 !important;
    }

    /* Button biar nggak kegedean */
    .btn{
        font-size: 14px;
        padding: 10px 20px;
    }

    /* Anti layar melebar */
    body{
        overflow-x: hidden;
    }
}

/* ===============================
   PAKSA SEMUA TEXT NORMAL
=================================*/

p{
    color: #000000;
}

h1,h2,h3,h4,h5{
    color: #111111;
}

/* ===== FORCE FOOTER ALL WHITE (FIX BOOTSTRAP text-secondary) ===== */
.footer,
.footer * {
  color: #ffffff !important;
}

.footer a {
  color: #ffffff !important;
}

.footer a:hover {
  color: var(--primary) !important;
}

.marketing-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #65B530 !important; /* hijau WhatsApp */
  background: #fff;
}

.marketing-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.marketing-avatar{
  box-shadow: none !important;
  outline: none !important;
}