.hero-slider {
  height: calc(100vh - 85px);
  min-height: 600px;
  background-color: #4C3C30; /* Earthy dark brown base from logo */
}

.carousel-inner,
.carousel-item {
  height: 100%;
}
.slide-bg {
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.slide-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to right,
    rgba(76, 60, 48, 0.85), /* Adjusted overlay to match brown tone */
    rgba(0, 0, 0, 0.6)
  );
}

/* Content Positioning */
.carousel-caption {
  top: 50%;
  transform: translateY(-50%);
  bottom: initial;
  text-align: left;
  left: 8%;
  right: 8%;
  padding: 0;
}

/* Typography */
.carousel-caption h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  opacity: 0;
}

.carousel-caption p {
  font-size: 1.2rem;
  font-weight: 400;
  color: #e0e0e0;
  margin-bottom: 30px;
  max-width: 600px;
  opacity: 0;
}

/* Premium Buttons - Updated to Vibrant Red from Chilli in logo */
.btn-primary-custom {
  background-color: #B9232A; /* Vibrant Chilli Red */
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #B9232A;
  transition: all 0.3s ease;
  opacity: 0;
  display: inline-block;
}

.btn-primary-custom:hover {
  background-color: transparent;
  color: #B9232A;
  box-shadow: 0 5px 15px rgba(185, 35, 42, 0.3);
}

.btn-outline-custom {
  background-color: transparent;
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid white;
  transition: all 0.3s ease;
  margin-left: 15px;
  opacity: 0;
  display: inline-block;
}

.btn-outline-custom:hover {
  background-color: white;
  color: #4C3C30; /* Adjusted hover text color */
}

/* CSS Animations */
.carousel-item.active h1 {
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.3s;
}

.carousel-item.active p {
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.6s;
}

.carousel-item.active .btn-primary-custom {
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.9s;
}

.carousel-item.active .btn-outline-custom {
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 1.1s;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 2rem;
  }
  .carousel-caption p {
    font-size: 1rem;
  }
  .carousel-caption {
    left: 5%;
    right: 5%;
    text-align: center;
  }
  .btn-outline-custom {
    margin-left: 0;
    margin-top: 15px;
  }
}

/* General Section Styling */
.section-padding {
  padding: 80px 0;
}
.section-title {
  color: #4C3C30; /* Updated to logo dark brown */
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 3px;
  background-color: #B9232A; /* Updated to logo chilli red */
  bottom: -5px;
  left: 0;
}
.text-muted-custom {
  color: #555 !important;
  line-height: 1.7;
}

/* About Section */
.about-img-wrapper {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.about-img-wrapper img {
  width: 100%;
  transition: transform 0.5s ease;
}
.about-img-wrapper:hover img {
  transform: scale(1.05);
}
.about-experience {
  position: absolute;
  bottom: -20px;
  right: 20px;
  background: #B9232A; /* Updated to logo chilli red */
  color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(185, 35, 42, 0.3);
}

/* Services / Categories Section */
.bg-light-grey {
  background-color: #FAFAFA; /* Slightly warmer light background */
}
.service-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.service-img-container {
  height: 220px;
  overflow: hidden;
}
.service-img-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}
.service-card:hover .service-img-container img {
  transform: scale(1.1);
}
.service-title {
  color: #4C3C30; /* Updated to logo dark brown */
  font-weight: 600;
  font-size: 1.25rem;
}
.service-link {
  color: #4C3C30; /* Updated to logo dark brown */
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}
.service-link:hover {
  color: #DF9B2A; /* Updated to logo turmeric orange/yellow */
}
.btn-quote-outline {
  color: #B9232A; /* Updated to logo chilli red */
  border: 1px solid #B9232A;
  border-radius: 20px;
  padding: 5px 15px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-quote-outline:hover {
  background-color: #B9232A;
  color: white;
}

/* Why Choose Us Section */
.feature-box {
  text-align: center;
  padding: 30px 20px;
  transition: all 0.3s ease;
  border-radius: 10px;
}
.feature-box:hover {
  background-color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}
.feature-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(185, 35, 42, 0.1); /* Updated to logo chilli red */
  color: #B9232A;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}
.feature-box:hover .feature-icon {
  background-color: #B9232A;
  color: #ffffff;
}
.feature-title {
  color: #4C3C30; /* Updated to logo dark brown */
  font-weight: 600;
  margin-bottom: 10px;
}

.product-card {
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.3s ease;
  position: relative;
}
.product-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
  border-color: rgba(223, 155, 42, 0.4); /* Updated hover border to turmeric yellow */
}
.product-img-wrapper {
  height: 250px;
  background-color: #FAFAFA;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrapper img {
  transform: scale(1.08);
}
.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #DF9B2A; /* Updated badge to turmeric yellow */
  color: #4C3C30; /* Dark brown text for contrast */
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 20px;
  z-index: 2;
}
.product-title {
  color: #4C3C30; /* Updated to logo dark brown */
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.view-details-link {
  color: #4C3C30; /* Updated to logo dark brown */
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s;
}
.view-details-link:hover {
  color: #B9232A; /* Updated hover link to chilli red */
}
.btn-call {
  border: 2px solid #576A3D; /* Updated to logo leaf green */
  color: #576A3D;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.btn-call:hover {
  background-color: #576A3D;
  color: white;
}
.btn-quote-full {
  background-color: #4C3C30; /* Updated button background to logo dark brown */
  color: white;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 2px solid #4C3C30;
}
.btn-quote-full:hover {
  background-color: transparent;
  color: #4C3C30;
}

/* Brands Section Styling */
.brands-section {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 40px 0;
  background-color: #ffffff;
}
.brand-logo {
  opacity: 0.5;
  transition: all 0.3s ease;
  filter: grayscale(100%);
  max-height: 60px;
  margin: 0 auto;
  display: block;
}
.brand-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Blog Card Hover CSS */
.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}
.blog-card:hover .blog-img-wrapper img {
  transform: scale(1.1);
}
.blog-card:hover .blog-title a {
  color: #B9232A !important; /* Updated to logo chilli red */
}
.blog-card:hover .btn-read-more i {
  transform: translateX(5px);
}

/* SEO Hero Title Modification */
.carousel-caption h2.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  opacity: 0;
}
.carousel-item.active h2.hero-title {
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.3s;
}

@media (max-width: 768px) {
  .carousel-caption h2.hero-title {
    font-size: 2rem;
  }
}

/* =========================================
   Infinite Brand Logo Slider 
   ========================================= */
.brands-slider-section {
  overflow: hidden;
  position: relative;
  background: #FAFAFA; /* Matched bg-light-grey */
  padding: 60px 0;
}

.brand-slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}

.brand-slide-track {
  display: flex;
  align-items: center;
  width: calc(250px * 14);
  animation: scrollMarquee 30s linear infinite;
}

.brand-slide-track:hover {
  animation-play-state: paused;
}

.brand-slide {
  width: 250px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
}

.brand-slide img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.4s ease;
}

.brand-slide img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 7));
  }
}

/* =========================================
   Testimonial & Inquiry Additions
   ========================================= */
.testimonial-card {
  border: 1px solid #f5f5f5;
  transition: all 0.4s ease;
}
.transition-up:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(223, 155, 42, 0.3); /* Updated border hover to turmeric yellow */
}

.custom-input {
  background-color: #FAFAFA;
  border: 1px solid #e9ecef;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.custom-input:focus {
  background-color: #ffffff;
  border-color: #576A3D; /* Updated focus border to leaf green */
  box-shadow: 0 0 0 0.25rem rgba(87, 106, 61, 0.1);
  outline: none;
}
.contact-info-list span {
  font-family: Arial, sans-serif;
}
/* =========================================
   Ultra-Premium Form Inputs & Styling
   ========================================= */
.premium-input {
  background-color: #fcfcfc;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02);
}

.premium-input:focus {
  background-color: #ffffff;
  border-color: #B9232A; /* Updated to logo chilli red */
  box-shadow: 0 0 0 4px rgba(185, 35, 42, 0.1);
  outline: none;
}

/* Floating Label Colors */
.form-floating label {
  color: #888;
  font-size: 0.95rem;
}

.premium-input:focus ~ label,
.premium-input:not(:placeholder-shown) ~ label {
  color: #B9232A; /* Updated to logo chilli red */
  font-weight: 600;
}

/* Maroon Glow Button - Updated to Chilli Red Gradient */
.btn-maroon-glow {
  background: linear-gradient(135deg, #B9232A 0%, #8A151C 100%); /* Red to darker red */
  color: #ffffff;
  border: none;
  border-radius: 10px;
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px rgba(185, 35, 42, 0.25);
}

.btn-maroon-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(185, 35, 42, 0.4);
  color: #ffffff;
}

.tracking-wide {
  letter-spacing: 1px;
}

.custom-inquiry-section {
  background-color: #FAFAFA;
  padding: 80px 0;
}
.custom-dark-card {
  background-color: #4C3C30; /* Updated to logo dark brown */
  border-radius: 0 8px 8px 0;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.custom-dark-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}
.custom-dark-input {
  background-color: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  padding: 12px 15px;
  border-radius: 4px;
  font-size: 0.9rem;
}
.custom-dark-input::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}
.custom-dark-input:focus {
  border-color: #DF9B2A !important; /* Updated to turmeric yellow */
  box-shadow: none !important;
  outline: none;
}
.map-wrapper {
  height: 100%;
  min-height: 450px;
  border-radius: 8px 0 0 8px;
  overflow: hidden;
}
.btn-golden {
  background-color: #DF9B2A; /* Updated to turmeric yellow */
  color: #4C3C30; /* Dark brown text for contrast */
  font-weight: 700;
  letter-spacing: 0.5px;
  border: none;
  transition: all 0.3s ease;
}
.btn-golden:hover {
  background-color: #c98b25; /* Darker yellow */
  color: #fff;
}
@media (max-width: 991px) {
  .map-wrapper {
    border-radius: 8px 8px 0 0;
    min-height: 350px;
  }
  .custom-dark-card {
    border-radius: 0 0 8px 8px;
  }
}