/* === GENERAL STYLES === */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Hanken Grotesk', sans-serif !important;
  background-color: white !important;
}

/* === HERO SLIDER === */
@media (max-width: 1024px) {
  .h-[80vh] {
    height: auto !important;
  }

  .slider-title {
    font-size: 2.5rem;
  }

  .slider-subtitle {
    font-size: 1.25rem;
  }

  .slider-buttons {
    flex-direction: column;
    align-items: center;
  }

  .slider-buttons a {
    margin: 5px 0;
  }
}

/* === TYPOGRAPHY === */
h2.text-center.mb-5 {
  font-size: 2rem;
  font-weight: 600;
  color: #29221c;
}

a {
  text-decoration: none !important;
}

/* === FAQ SECTION === */
.faq-section {
  margin-top: 50px;
}

.faq-title {
  font-size: 28px;
  font-weight: 600;
  color: #1b1b1b;
  margin-bottom: 20px;
}

.faq-card {
  border: none;
  margin-bottom: 15px;
}

.faq-card-header {
  padding: 10px 15px;
  border-bottom: 2px solid #1b19a8;
  cursor: pointer;
  margin-bottom: 10px;
}

.faq-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: #29221c;
  font-size: 26px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1rem;
}

/* === CUSTOMER LOGO SECTION === */
.customer-logo {
    width: 100%;
    max-width: 150px;  /* Set max-width for each logo */
    height: 90px;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(10%) contrast(90%);
}

.customer-logo:hover {
  filter: grayscale(0%) contrast(100%);
  transform: scale(1.15);
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 576px) {
    .grid-logo {
        grid-template-columns: repeat(2, 1fr); 
    }

    .customer-logo {
        max-width: 90px;  
        height: 30px;
    }
}

@media (min-width: 768px) {
    .grid-logo {
        grid-template-columns: repeat(3, 1fr);  /* 3 logos per row on tablets */
    }
}

@media (min-width: 1024px) {
    .grid-logo {
        grid-template-columns: repeat(4, 1fr);  /* 4 logos per row on desktops */
    }
}

/* For large desktop screens */
@media (min-width: 1280px) {
    .grid-logo {
        grid-template-columns: repeat(6, 1fr);  /* 6 logos per row on large desktops */
    }
}

/* === BRAND PARTNER LOGO SECTION === */


#brand-partner-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 2rem;
  overflow-x: auto;
  padding: 1rem;
  margin: 0 auto;
  max-width: 100%;
}

.brand-logo {
    width: 100%;  /* Ensure the image fills the container */
    max-width: 150px;
      height: 72px;
      object-fit: contain;
      transition: transform 0.3s ease, filter 0.3s ease;
      filter: grayscale(100%) sepia(30%) hue-rotate(180deg);
      margin: 0 20px;
}

.brand-logo:hover {
  filter: grayscale(0) sepia(0) hue-rotate(0deg);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  #brand-partner-container {
    flex-direction: column;
    align-items: center;
  }

  .brand-logo {
    max-width: 150px;
  }

  #slider-title {
    font-size: 2rem !important;
  }

  .see-all-button {
    display: block;
    margin-top: 1rem;
  }
}

@media (max-width: 640px) {
        .swiper-slide {
        max-width: 180px;  /* Larger max-width for mobile screens */
    }
    
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

/* === SWIPER NAVIGATION === */
.swiper-button-next,
.swiper-button-prev {
    color: #1b19a8;
    width: 24px;
    height: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.swiper-button-prev {
  left: 0;
  margin-left: -30px;
}

.swiper-button-next {
  right: 0;
  margin-right: -30px;
}

.swiper-container {
    width: 100%;

}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* === FEATURED PRODUCT === */
.featured-item {
  width: 342px;
}

.featured-image-container {
  width: 100%;
  max-width: 342px;
  height: 420px;
  background-color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: auto;
}

.featured-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.featured-image:hover {
  transform: scale(1.03);
}

.see-all-button {
  background-color: #1b19a8;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.see-all-button:hover {
  background-color: #15138c;
}

/* === RESPONSIVE STYLES === */
@media (max-width: 1024px) {
  .grid-cols-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .swiper-slide {
        max-width: 200px;  
    }
}

@media (max-width: 768px) {
  .grid-cols-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .faq-section,
  .featured-product-section {
    padding: 2rem 1rem;
  }
  .bg-white.shadow-md.flex {
    flex-direction: column;
    width: 100% !important;
    height: auto !important;
  }
  .bg-white.shadow-md.flex > div {
    width: 100% !important;
    height: auto !important;
    padding: 1rem !important;
  }
  .bg-white.shadow-md iframe {
    height: 300px !important;
  }
}

@media (max-width: 640px) {
    .swiper-slide {
        max-width: 150px; 
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 20px;
        height: 20px;
    }
}

/* Subtitle adjustments */
.subtitle {
    font-size: 1.125rem; 
}


@media (min-width: 768px) {
    .subtitle {
        font-size: 1.25rem;
    }
}


@media (max-width: 576px) {
    .subtitle {
        font-size: 1rem;  
        white-space: normal; 
        overflow: visible;
        text-overflow: clip;
    }

    .container {
        padding-left: 15px;  
        padding-right: 15px; 
    }

    .btn-abt {
        width: 100%; 
        padding: 12px; 
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .btn-abt {
        width: auto;  /* Allow the button to shrink to content */
        padding: 12px 20px;  /* Adjust padding */
    }
}


