html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; }

.btn-primary {
  background-color: #1169A2;
  border-color: #1169A2;
}

.btn-primary:hover {
  background-color: #0E5B8C;
  border-color: #0E5B8C;
}

.btn-special {
  display: inline-block;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(45deg, #1169A2, #0d6efd, #198754);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-special::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(45deg);
  transition: all 0.5s ease;
}

.btn-special:hover::before {
  top: 0;
  left: 0;
}

.btn-special:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}


/* HERO */
.hero {
  min-height: 100vh !important;
  background-image:
    linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,.2)),
    url("img/sofa.avif") !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center 10% !important;
  background-attachment: fixed !important;
  color: #fff;
}
@media (max-width: 767px) {
  .hero {
    min-height: 80vh !important;          /* jangan terlalu tinggi */
    background-position: center 2% !important; /* elak crop pelik */
    background-size: contain !important; /* penting: bg tak besar */
  }
}


.navbar .nav-link {
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 1px;
    font-weight: 600;
}
.navbar .nav-link.active,
.navbar .nav-link:focus,
.navbar .nav-link:hover {
  color: #1169A2 !important;
}

/* SERVICES */
.service-box {
  border: 1px solid #eee;
  padding: 30px;
  border-radius: 10px;
  transition: .3s;
}
.service-box:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,.1);
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: #fff;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  z-index: 999;
}

.brand-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.brand-carousel {
  display: flex;
  gap: 30px;
  animation: scrollBrands 24s linear infinite;
}

.brand-item {
  flex: 0 0 auto;
}

@keyframes scrollBrands {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* adjust depending on total items */
}

.lang-switch {
  font-weight: 600;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

:root {
  --brand-primary: #1169A2;
  --brand-secondary: #495F6F;
  --brand-dark: #213A4C;
}
.text-primary {
  color: var(--brand-primary) !important;
}

.lang-switch.active {
  color: var(--brand-primary);
}

.lang-switch {
  color: #6c757d;
}

/* SCROLL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all .8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Optional variants */
.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-zoom {
  transform: scale(0.9);
}

@media (max-width: 767.98px) {
  .mobile-large-img {
    width: 150%;      /* gambar ikut lebar screen */
    max-width: none;  /* override max-width default */
    height: auto;     /* maintain aspect ratio */
    margin-left: -50px;

  }
  .mobile-large-img-right{
    width: 150%;      /* gambar ikut lebar screen */
    max-width: none;  /* override max-width default */
    height: auto;     /* maintain aspect ratio */

  }
}
.back-to-top {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: none;     
  border: none;
  padding: 0;
  cursor: pointer;
  display: none;
  z-index: 9999;
}

/* image sahaja */
.back-to-top img {
  width: 55px;          /* adjust ikut png */
  height: auto;
  display: block;
}

/* floating animation */
@keyframes floatUp {
  0%   { transform: translate(-50%, 0); }
  50%  { transform: translate(-50%, -8px); }
  100% { transform: translate(-50%, 0); }
}

.back-to-top.float {
  animation: floatUp 1.6s ease-in-out infinite;
}

/* mobile */
@media (max-width: 767px) {
  .back-to-top img {
    width: 48px;
  }
}

.review-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #0d6efd;
  color: #fff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aircond-box {
  padding: 25px 15px;
  border-radius: 14px;
  background: #f8f9fa;
  transition: all .3s ease;
}

.aircond-box i {
  font-size: 36px;
  color: #0d6efd;
  margin-bottom: 10px;
}

.aircond-box p {
  margin: 0;
  font-weight: 500;
}

.aircond-box:hover {
  background: #0d6efd;
  transform: translateY(-6px);
}

.aircond-box:hover i,
.aircond-box:hover p {
  color: #fff;
}


.faq-item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
}
.faq-question {
  width: 100%;
  background: #f8f9fa;
  border: none;
  text-align: left;
  padding: 16px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-answer {
  display: none;
  padding: 0 16px 16px 16px;
  font-size: 16px;
  color: #555;
}
.faq-toggle {
  font-size: 24px;
  transition: transform 0.3s ease;
}
.faq-item.active .faq-answer {
  display: block;
}
.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}





