/* Prevent horizontal scrolling globally without breaking layout */
html {
  overflow-x: clip;
}

body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Ensure all animated sections remain fully visible and never render blank */
[data-aos] {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.consultation-visit-area,
.consultation-visit-area .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
}

/* Swiper Slider Content Layout Overrides */
.slider-content-1 {
  position: relative;
  z-index: 2;
}

/* Custom hardware-accelerated text animation for active swiper slide */
.swiper-slide .hero-subtitle-animate,
.swiper-slide .hero-title-animate,
.swiper-slide .hero-btn-animate {
  opacity: 0;
  transform: translateY(30px) translateZ(0); /* Force GPU rasterization */
  backface-visibility: hidden;
  perspective: 1000px;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.9s ease;
}

.swiper-slide-active .hero-subtitle-animate {
  opacity: 1;
  transform: translateY(0) translateZ(0);
  transition-delay: 0.15s;
}

.swiper-slide-active .hero-title-animate {
  opacity: 1;
  transform: translateY(0) translateZ(0);
  transition-delay: 0.3s;
}

.swiper-slide-active .hero-btn-animate {
  opacity: 1;
  transform: translateY(0) translateZ(0);
  transition-delay: 0.45s;
}

/* Custom styling for subtitle badge */
.hero-subtitle-animate {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  margin: 0;
  padding: 0 0 0 63px;
  display: inline-block;
}

.hero-subtitle-animate:before {
  position: absolute;
  content: "";
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 3px;
  background-color: #e97730;
}

/* Custom styling for main hero title */
.hero-title-animate {
  font-size: 78px;
  line-height: 90px;
  font-family: "Poppins", sans-serif;
  margin: 19px 0 44px;
  color: #000000;
}

@media only screen and (min-width: 1200px) and (max-width: 1365px) {
  .hero-title-animate {
    font-size: 60px;
    line-height: 70px;
    margin: 19px 0 35px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .hero-title-animate {
    font-size: 55px;
    line-height: 60px;
    margin: 15px 0 25px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .hero-title-animate {
    font-size: 50px;
    line-height: 60px;
    margin: 15px 0 25px;
  }
}

@media only screen and (max-width: 767px) {
  .hero-title-animate {
    font-size: 35px;
    line-height: 40px;
    margin: 10px 0 20px;
  }
}

/* Floating Glass Header Style (scrolled) */
.sticky-bar.stick {
  background-color: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02) !important;
  padding: 10px 0 !important;
  transition: all 0.3s ease;
}

/* E-Commerce Cards Enhancements */
.product-wrap {
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.01);
}

.product-wrap:hover {
  border-color: #f0ebe2;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.product-wrap .product-img {
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  background-color: #FAF9F6;
  margin-bottom: 20px !important;
}

.product-wrap .product-img img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform;
}

.product-wrap:hover .product-img img {
  transform: scale(1.06) translateZ(0);
}

.product-wrap .product-content {
  padding: 0 15px 15px !important;
}

.product-wrap .product-content h3 a {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: #222222;
  font-size: 15px;
  transition: color 0.2s ease;
}

.product-wrap:hover .product-content h3 a {
  color: #e97730;
}

.product-action-2-wrap {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-wrap:hover .product-action-2-wrap {
  opacity: 1;
  transform: translateY(0);
}

.product-badge {
  display: none !important;
}

.breadcrumb-area:before {
  display: none !important;
}

.promise-card:hover {
  border-color: #d2a77a !important;
  box-shadow: 0 10px 25px rgba(210, 167, 122, 0.14) !important;
  transform: translateY(-4px);
}

/* Footer Copyright Bottom Whitespace Fix */
.footer-bottom.copyright {
  padding: 18px 0 !important;
  margin: 0 !important;
}

.footer-bottom.copyright p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.5;
  color: #666666;
}

/* Service Info Section */
.service-wrap {
  background: #fbfbfa;
  border: 1px solid #f2f2ef;
  border-radius: 12px;
  padding: 28px 24px;
  transition: all 0.3s ease;
  cursor: default;
}

.service-wrap:hover {
  background: #ffffff;
  border-color: #e0dcd3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

.service-wrap .service-img img {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-wrap:hover .service-img img {
  transform: scale(1.15) rotate(3deg);
}

/* Double Banner Section Radius */
.banner-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.banner-wrap img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.banner-wrap:hover img {
  transform: scale(1.04);
}

/* Modern Slider Navigation Prev/Next Arrows */
.main-slider-nav {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  color: #111111 !important;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  bottom: 12% !important;
}

.main-slider-nav svg {
  width: 20px;
  height: 20px;
  stroke: #111111;
  stroke-width: 1.5px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.3s ease;
}

/* Modern Hover Effects */
.main-slider-nav:hover {
  background-color: #e97730 !important;
  border-color: #e97730 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(233, 119, 48, 0.2);
}

.main-slider-nav:hover svg {
  stroke: #ffffff;
}

.main-slider-nav.home-slider-prev:hover svg {
  transform: translateX(-3px);
}

.main-slider-nav.home-slider-next:hover svg {
  transform: translateX(3px);
}

/* Remove FontAwesome default vertical line */
.main-slider-nav.home-slider-prev::before {
  display: none !important;
}

/* Align and position adjustment */
.main-slider-nav.home-slider-next {
  margin-left: 16px !important;
}

/* Mobile 3-in-1 Row Category Icons & Mobile Square Banner Enhancements */
@media only screen and (max-width: 767px) {
  #shop-collection {
    padding-top: 40px !important;
    padding-bottom: 30px !important;
  }
  
  #shop-collection .row {
    margin-right: -6px !important;
    margin-left: -6px !important;
  }
  
  #shop-collection .col-4 {
    padding-right: 6px !important;
    padding-left: 6px !important;
  }
  
  #shop-collection .banner-wrap {
    margin-bottom: 15px !important;
    border-radius: 8px;
  }

  #shop-collection .banner-wrap .banner-content-1 {
    left: 8px !important;
    bottom: 8px !important;
  }




