@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');


header {
  position: fixed;
  top: 0;
  z-index: 1050;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}


body {
  font-family: 'Poppins', sans-serif;
}




body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f8f9fa;
  color: #212529;
  }
  


  .hero-slide {
     height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
  }
  
  @media (min-width: 768px) {
    .hero-slide {
          height: 360px;
    }
  }
  
  .hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.25);
  }
  
  .hero-slide .container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
  }
  
  /* Add space before the carousel */
#heroCarousel {
  margin-top: 9rem;
}

  




 
  .carousel-inner {
    border-radius: 20px;
    overflow: hidden;
  }
  
  .carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    justify-content: center;
    margin: 0 auto;
  }
  
  .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc; /* inactive gray */
  border: none;
  margin: 0 5px;
  transition: background-color 0.3s ease;
  opacity: 0.8;
}

.carousel-indicators .active {
  background-color: #25D366; /* active green */
  opacity: 1;
}



  
  

  
  
  
  /* Features Section */
  .features-section .feature-box {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s;
  }
  .features-section .feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
  }
  
  /* Payment Section */
  .payment-delivery-section h6 {
    font-weight: 600;
    margin-top: 10px;
    color: #222;
  }
  .payment-delivery-section p {
    color: #555;
    font-size: 0.9rem;
  }
  .payment-delivery-section img {
    width: 50px;
  }
  
  /* Product Cards */
  .product-section h4 {
    font-weight: 600;
  }
  .product-section .card img {
    height: 180px;
  object-fit: contain;
  }
  .product-section .card {
    transition: transform 0.3s;
  }
  .product-section .card:hover {
    transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
  transition: 0.3s ease-in-out;
  }


  .brand-section img {
    max-width: 100%;
    height: auto;
  }
  
  .testimonials-section blockquote {
    font-size: 1.1rem;
    color: #333;
    margin: 0 auto;
    padding: 15px;
    margin-bottom: 2.5rem; /* ✅ Push content above the dots */
  }

  .testimonial-card {
    min-height: 260px; /* adjust based on your longest testimonial */
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  


#top-offers .card {
  background-color: #ffffff;
  border: none;
  box-shadow: none;
}
#top-offers .card:hover {
  transform: none;
  box-shadow: none;
}

#supplements .card{
  background-color: #ffffff;
  border: none;
  box-shadow: none;

}

#supplements .card:hover{
    transform: none;
  box-shadow: none;
}


  
  .category-bar {
    font-size: 0.95rem;
    font-weight: 500;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .category-bar a {
    padding: 6px 14px;
  background-color: #fff;
  border-radius: 20px;
  border: 1px solid transparent;
  font-weight: 500;
  transition: 0.2s;
  }
  
  .category-bar a:hover {
    background-color: #eaf6ff;
    color: #0d6efd !important;
    border-color: #0d6efd;
  }

  .category-bar .container,
.category-bar .container-fluid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

  


  
  

  

  .chat-fab {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background-color: #0d6efd;
    color: white;
    font-size: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  .chat-popup {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 320px;
    max-height: 480px;
    display: none;
    flex-direction: column;
    z-index: 1001;
  }

  .chat-messages {
    height: 280px;
    overflow-y: auto;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 6px;
  }

  .chat-messages .msg {
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 20px;
    max-width: 80%;
  }

  .msg.admin {
    background-color: #e2e3e5;
    text-align: left;
  }

  .msg.user {
    background-color: #d1e7dd;
    text-align: right;
    margin-left: auto;
  }



  .message-user {
    text-align: right;
    margin-bottom: 10px;
  }
  .message-admin {
    text-align: left;
    margin-bottom: 10px;
  }
  .message-content {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 15px;
    max-width: 75%;
  }
  .user-msg { background-color: #d1e7dd; }
  .admin-msg { background-color: #e2e3e5; }


  .carousel-indicators {
    justify-content: center;
    margin-top: 4rem;         /* ⬅️ pushes the dots down */
    margin-bottom: 1rem;
    gap: 8px;
  }
  
  .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;   /* inactive dot */
    border: none;
    opacity: 1;
    transition: background-color 0.3s ease;
  }
  
  .carousel-indicators .active {
    background-color: #00c1a0;  /* active SohatiCare-style dot */
  }
  

  .header-spacer {
    height: 230px;
    background-color: white;
  }

  @media (max-width: 768px) {
    .header-spacer {
      height: 200px;
    }
  }
  



  /* HEADER ICONS (New) */
header a i {
  font-size: 1.8rem;
  color: #000000;
}


header .btn-outline-secondary {
  padding: 6px 10px;
  font-size: 1.3rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* OFFCANVAS CATEGORY STYLES (New) */
.offcanvas-body .list-group-item {
  border: none;
  font-size: 1rem;
  padding: 12px 16px;
}

.offcanvas-body .list-group-item a {
  text-decoration: none;
  font-weight: 500;
  color: #333;
  display: block;
  width: 100%;
}

.offcanvas-body .list-group-item a:hover {
  color: #0d6efd;
  background-color: #f8f9fa;
}

/* REMOVE OLD NAVBAR STYLES BELOW IF USING header.php */
.navbar,
.navbar-left,
.nav-links,
.nav-links li a,
.nav-links li button,
.category-dropdown,
.category-dropdown li a,
.category-dropdown li a:hover {
  all: unset;
}


/* CATEGORY BAR (desktop only) */
.category-bar {
  background-color: #f8f9fa;
  padding: 10px 0;
  font-size: 0.95rem;
}

.category-bar a {
  padding: 6px 12px;
  border-radius: 20px;
  transition: background 0.2s ease-in-out;
}

.category-bar a:hover {
  background-color: #e2f0ff;
  color: #0d6efd !important;
}






.carousel-item {
  height: auto !important;
}

.carousel-item .hero-slide {
  height: 26vh !important;
}

@media (min-width: 768px) {
  .carousel-item .hero-slide {
    height: 34vh !important;
  }
}



.whatsapp-float {
  position: fixed;
  bottom: 15px;
  right: 15px;
  background-color: #25d366;
  color: #fff;
  font-size: 26px;
  padding: 14px;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.3s;
}

.whatsapp-float:hover {
  background-color: #1ebc59;
  text-decoration: none;
}



/* Testimonial carousel dots */
.testimonials-section .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ffffff; /* inactive dot - white */
  border: none;
  margin: 0 5px;
  opacity: 0.3  ;
  transition: background-color 0.3s ease !important;
}

.testimonials-section .carousel-indicators .active {
  background-color: #25D366 !important  ; /* active dot - green */
  opacity: 1;
}



.search-overlay {
  position: fixed;
  top: 78px;
  left: 0;
  right: 0;
  background-color: #343a40;
  z-index: 2000;
 
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.search-overlay input::placeholder {
  color: #ccc;
}

#liveSearchResults {
  border-top: 1px solid #ddd;
}









.offcanvas.w-100 {
  max-width: 100vw;
}

.offcanvas .input-group input {
  font-size: 1rem;
  background-color: transparent;
}

.offcanvas .list-group-item {
  font-size: 1rem;
  border: none;
  border-bottom: 1px solid #eee;
}

