/* Hero Section */
:root {
  --primary-color: #0c4a6e;
  --secondary-color: #0ea5e9;
  --text-color: #334155;
  --text-light: #64748b;
  --background-color: #f8fafc;
  --card-bg: #ffffff;
  --shadow-color: rgba(0, 0, 0, 0.08);
  --hover-shadow: rgba(0, 0, 0, 0.12);
  --success-color: #10b981;
}

main {
  width: 100%;
}

.hero-section {
  width: 100%;
  height: 90vh; /* desktop ke liye */
}

.hero-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* extra white space hatane ke liye */
}

/* Mobile responsive */
@media (max-width: 767px) {
  .hero-section {
    height: auto; /* mobile pe image apne aspect ratio me adjust hogi */
  }

  .hero-section img {
    height: auto;
    max-height: 70vh; /* optional: jyada bada na ho */
  }
}

/* Centered heading with font styling */

/*main 6 product start here*/
/* Custom properties for easy theme changes */
/* Container Styles */
.cleaning-products-container {
  max-width: 90%;
  width: 100%;
  margin: 0 auto;
  background-color: #fff;
  padding: 40px;
  margin-top: 2vw;
}

/* Header Styles */
.cleaning-products-header {
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eaeaea;
}

.cleaning-products-title {
  font-size: 42px;
  color: #2c2c2c;
  margin-bottom: 15px;
  font-weight: 300;
  letter-spacing: 1.5px;
}

.cleaning-products-subtitle {
  font-size: 18px;
  color: #666;
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Filter Bar */
.cleaning-products-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.cleaning-products-filter-btn {
  padding: 14px 28px;
  background: #f8f8f8;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 16px;
  color: #555;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.cleaning-products-filter-btn:hover,
.cleaning-products-filter-btn.active {
  background: #2c2c2c;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Product Grid */
.cleaning-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 35px;
  margin-top: 40px;
}

.cleaning-products-product {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cleaning-products-product:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Product Image */
.cleaning-products-product-image {
  height: 400px;
  background: linear-gradient(120deg, #e0e0e0 0%, #f5f5f5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.cleaning-products-product-image::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.03) 100%
  );
}

.cleaning-products-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Details */
.cleaning-products-product-details {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cleaning-products-product-name {
  font-size: 24px;
  color: #2c2c2c;
  margin-bottom: 15px;
  font-weight: 600;
}

.cleaning-products-product-description {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1;
}

.cleaning-products-view-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background-color: #2c2c2c;
  color: white;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
  gap: 10px;
}

.cleaning-products-view-more:hover {
  background-color: #4a4a4a;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .cleaning-products-grid {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  }
}

@media (max-width: 900px) {
  .cleaning-products-container {
    padding: 30px;
  }

  .cleaning-products-title {
    font-size: 36px;
  }

  .cleaning-products-product-image {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .cleaning-products-container {
    padding: 25px;
  }

  .cleaning-products-title {
    font-size: 32px;
  }

  .cleaning-products-subtitle {
    font-size: 16px;
  }

  .cleaning-products-filter {
    gap: 10px;
  }

  .cleaning-products-filter-btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .cleaning-products-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cleaning-products-product-image {
    height: 230px;
  }

  .cleaning-products-product-details {
    padding: 25px;
  }

  .cleaning-products-product-name {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .cleaning-products-container {
    padding: 20px;
  }

  .cleaning-products-header {
    margin-bottom: 40px;
  }

  .cleaning-products-title {
    font-size: 28px;
  }

  .cleaning-products-filter {
    flex-direction: column;
    align-items: center;
  }

  .cleaning-products-filter-btn {
    width: 100%;
    max-width: 280px;
  }

  .cleaning-products-product-image {
    height: 200px;
  }

  .cleaning-products-product-details {
    padding: 20px;
  }

  .cleaning-products-product-name {
    font-size: 20px;
  }

  .cleaning-products-product-description {
    font-size: 15px;
  }
}

/*product section start*/
/* =============================
   Product Section
============================= */
/* Section Background */
#why-choose-clinza {
  background: linear-gradient(to right, #ebf8ff, #dbeafe);
  padding: 60px 50px;
  margin-top: 40px;
  text-align: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Section Header */
#why-choose-clinza .section-header h2 {
  font-size: 28px;
  text-transform: uppercase;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 10px;
}

#why-choose-clinza .section-header p {
  color: #4b5563;
  font-size: 16px;
}

/* Features Grid */
#why-choose-clinza .features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

/* Feature Box */
#why-choose-clinza .feature-box {
  background: #ffffff;
  border-radius: 8px;
  height: 20rem;
  box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

#why-choose-clinza .feature-box:hover {
  transform: scale(1.05);
}

/* Feature Image */
#why-choose-clinza .feature-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 16px;
}

/* Feature Text */
#why-choose-clinza .feature-box h3 {
  font-size: 20px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

#why-choose-clinza .feature-box p {
  font-size: 14px;
  color: #6b7280;
}

/* Responsive */
@media (min-width: 768px) {
  #why-choose-clinza .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

/*tetsimonail*/
.testimonial-section {
  padding: 80px 0;
  background: linear-gradient(to bottom, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
}

.testimonial-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.testimonial-heading {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 15px;
}

.testimonial-heading:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #10b981, #3b82f6);
  border-radius: 2px;
}

.testimonial-subheading {
  text-align: center;
  font-size: 1.2rem;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.testimonial-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.testimonial-content {
  padding: 25px;
  position: relative;
}

.testimonial-quote {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 3rem;
  color: #e2e8f0;
  z-index: 1;
}

.testimonial-text {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.testimonial-rating {
  display: flex;
  margin-bottom: 20px;
}

.testimonial-star {
  color: #fbbf24;
  margin-right: 3px;
  font-size: 1.2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  padding: 15px 25px;
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  border: 3px solid white;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author-info {
  flex: 1;
}

.testimonial-author-name {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
}

.testimonial-author-title {
  font-size: 0.9rem;
  color: #64748b;
}

.testimonial-cta {
  text-align: center;
  margin-top: 40px;
}

.testimonial-button {
  display: inline-block;
  padding: 16px 35px;
  background: linear-gradient(90deg, #10b981, #3b82f6);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.testimonial-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

/* Testimonial Carousel */
.testimonial-carousel {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .testimonial-grid {
    display: none;
  }

  .testimonial-carousel {
    display: block;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
  }

  .testimonial-carousel-inner {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
  }

  .testimonial-carousel-item {
    padding: 30px;
    display: none;
  }

  .testimonial-carousel-item.active {
    display: block;
  }

  .testimonial-carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 25px;
  }

  .testimonial-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .testimonial-carousel-dot.active {
    background: #3b82f6;
    transform: scale(1.2);
  }

  .testimonial-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #3b82f6;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    z-index: 10;
    transition: all 0.3s ease;
  }

  .testimonial-carousel-nav:hover {
    background: #3b82f6;
    color: white;
  }

  .testimonial-carousel-prev {
    left: -20px;
  }

  .testimonial-carousel-next {
    right: -20px;
  }
}

@media (max-width: 480px) {
  .testimonial-heading {
    font-size: 2.2rem;
  }

  .testimonial-subheading {
    font-size: 1rem;
  }

  .testimonial-carousel-nav {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .testimonial-carousel-prev {
    left: -15px;
  }

  .testimonial-carousel-next {
    right: -15px;
  }
}

hero-section {
  width: 100%;
  height: 90vh; /* desktop ke liye */
}

.hero-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* extra white space hatane ke liye */
}

/* Mobile responsive - Fixed image sizing */
@media (max-width: 767px) {
  .hero-section {
    height: auto; /* mobile pe image apne aspect ratio me adjust hogi */
    max-height: 70vh; /* Added max-height to prevent excessive height */
  }

  .hero-section img {
    height: auto;
    max-height: 70vh; /* optional: jyada bada na ho */
    object-fit: contain; /* Changed from cover to contain to prevent cropping */
  }
}

/* Product Section Image Fix */
.cleaning-products-product-image {
  height: 400px;
  background: linear-gradient(120deg, #e0e0e0 0%, #f5f5f5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.cleaning-products-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile-specific fixes for 480px and below */
@media (max-width: 480px) {
  /* Hero section fix */
  .hero-section {
    max-height: 50vh; /* Reduced height for very small devices */
  }

  .hero-section img {
    max-height: 50vh;
    object-fit: contain; /* Ensure full image is visible */
  }

  /* Product image fix */
  .cleaning-products-product-image {
    height: 250px; /* Reduced height for small devices */
  }

  .cleaning-products-product-image img {
    object-fit: contain; /* Prevent cropping on small screens */
  }

  /* Feature box image fix */
  #why-choose-clinza .feature-box img {
    height: 150px; /* Reduced height for small devices */
    object-fit: contain; /* Prevent cropping */
  }

  /* Testimonial avatar fix */
  .testimonial-avatar {
    width: 50px; /* Smaller on mobile */
    height: 50px; /* Smaller on mobile */
  }
}

/* Additional fix for very small devices (320px-480px) */
@media (max-width: 480px) and (min-width: 320px) {
  .cleaning-products-product-image {
    height: 200px; /* Even smaller height for very small devices */
  }

  #why-choose-clinza .feature-box {
    height: auto; /* Allow natural height */
    min-height: 22rem; /* Minimum height to maintain design */
    padding-bottom: 20px; /* Add some padding at bottom */
  }
}
