header {
  position: fixed;
  top: 0;
  width: 100%;
  overflow: visible;
  z-index: 1000; /* Header layer */
}

html {
  scroll-padding-top: 60px; /* Adjust based on your header height */

  scroll-behavior: smooth;
}

.inline-icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 8px;
}

/* Navigation buttons */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  font-size: 2rem;
  padding: 0 10px;
  cursor: pointer;
  z-index: 3;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.nav-btn:hover {
  background-color: rgba(255, 255, 255, 1);
}

.left-btn {
  left: 10px;
}

.right-btn {
  right: 10px;
}

body {
  background: linear-gradient(to right, #f5f7fa, #c3cfe2);
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  padding: 20px;
  width: 100%;
}

.container,
.wrapper,
main {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Optional: subtle fade-in animation */
.product-card {
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
    padding: 12px;
  }
}

.product-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

.dark-theme .product-card {
  background: #1e1e1e;
  color: #eee;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

.product-card_old {
  max-width: 400px;
  margin: 20px auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.product-card:hover_old {
  transform: scale(1.02);
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 16px;
  text-align: center;
}

.product-info h3 {
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 8px;
}

.product-info .price {
  font-size: 1.2rem;
  color: #0077cc;
  margin-bottom: 12px;
}
input[type="number"] {
  width: 80px;
  padding: 8px 10px;
  font-size: 1rem;
  border: 2px solid #ff9800;
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  color: #333;
  margin-top: 10px;
}

input[type="number"]::placeholder {
  color: #aaa;
  font-style: italic;
}

input[type="number"]:focus {
  border-color: #e65100;
  box-shadow: 0 0 6px rgba(255, 152, 0, 0.5);
  background-color: #fff8e1;
}
/* .product-info input {
  width: 80%;
  padding: 8px;
  margin-bottom: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
} */

.product-info button {
  background-color: #0077cc;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.product-info button:hover {
  background-color: #005fa3;
}

.product-description {
  font-size: 0.95rem;
  color: #444;
  margin: 8px 0;
  text-align: left;
}

.product-benefits {
  list-style: none;
  padding: 0;
  margin: 8px 0;
  font-size: 0.9rem;
  color: #333;
  text-align: center;
}

.product-benefits li {
  margin-bottom: 4px;
}

.price-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  width: 100%;
}

.offer-badge {
  display: inline-block;
  text-align: center;
  background-color: #ff9800;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.price-tag {
  background-color: #e6f0f8;
  border: 1px solid #b3d1e6;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  color: #004080;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.price-icon {
  font-size: 1.1rem;
  color: #008060;
}

.price-label {
  font-weight: 600;
  color: #006699;
}

.price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #008060;
}

@media screen and (max-width: 600px) {
  .price-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .offer-badge {
    font-size: 0.75rem;
    padding: 3px 6px;
  }

  .price-tag {
    font-size: 0.95rem;
    padding: 8px 12px;
  }

  .price {
    font-size: 1.1rem;
  }
  .product-benefits {
    color: #333; /* ✅ Reinforce color */
  }
}
/* .price-tag {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 10px 0;
  color: #2c3e50;
}

.price-tag .price {
  background-color: #ff9800;
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 1.2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
} */

@media (max-width: 480px) {
  .product-card {
    margin: 10px;
    border-radius: 12px;
  }

  .product-info h3 {
    font-size: 1.2rem;
  }

  .product-info .price {
    font-size: 1rem;
  }

  .product-info input,
  .product-info button {
    width: 100%;
    font-size: 0.95rem;
  }

  .nav-btn {
    font-size: 1.5rem;
    padding: 6px;
  }
}

/* error */

.custom-alert {
  display: none;
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff3cd;
  color: #856404;
  padding: 20px 30px;
  border: 2px solid #ffeeba;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  text-align: center;
}

.custom-alert button {
  margin-top: 10px;
  padding: 6px 12px;
  background-color: #ffc107;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* header changes */

.site-header_old {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #0077cc, #00b4db);
  /* padding: 18px 24px; */
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  color: white;
  /* position: sticky; */
  /* top: 0; */
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo-container {
  /* background: linear-gradient(to right, #0077cc, #00b4db); */
  display: flex;
  align-items: center;
}

.site-logo {
  background-color: transparent;
  height: 50px;
  margin-right: 15px;
}

.site-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ff9800;
}

.nav-links a.active {
  color: #ff5722; /* Vibrant orange-red */
  font-weight: bold;
  border-bottom: 2px solid #ff5722;
  background-color: #fff3e0; /* Soft highlight */
  border-radius: 4px;
  padding: 6px 10px;
  transition: all 0.3s ease;
}
/* 
.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ffe;
} */

.hamburger {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Responsive behavior */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #0077cc;
    position: absolute;
    top: 60px;
    right: 24px;
    padding: 12px;
    border-radius: 8px;
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}

/* Testimonials */

.testimonial-section {
  background: linear-gradient(to right, #f0f9ff, #dff1ff);
  padding: 40px 20px;
  text-align: center;
  border-radius: 16px;
  margin: 40px auto;
  max-width: 1000px;
}

.testimonial-section h2 {
  font-size: 1.8rem;
  margin-bottom: 24px;
  color: #00796b;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  height: 120px;
}

.testimonial {
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s ease;
  width: 100%;
  padding: 0 20px;
}

.testimonial.active {
  opacity: 1;
}

.testimonial p {
  font-size: 1.1rem;
  font-style: italic;
  color: #1b5e20;
  font-weight: bold;
}

.testimonial span {
  display: block;
  margin-top: 8px;
  font-weight: bold;
  color: #0077cc;
}

/* footer */
.site-footer {
  background: linear-gradient(to right, #0077cc, #00b4db);
  color: white;
  padding: 24px 16px;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  border-top: 4px solid #005fa3;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-content p {
  margin: 0;
  letter-spacing: 0.5px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .site-footer {
    font-size: 0.95rem;
    padding: 20px 12px;
  }
}

@media (max-width: 480px) {
  .site-footer {
    font-size: 0.9rem;
    padding: 16px 10px;
  }
}
/* contact */
.contact-section {
  padding: 60px 20px;
  /* background: linear-gradient(135deg, #e0f7fa, #f1f8e9); */
  background: linear-gradient(to right, #f0f9ff, #dff1ff);
  text-align: center;
  font-family: "Segoe UI", sans-serif;
  color: #333;
}

.contact-section h2 {
  font-size: 2.5rem;
  color: #00796b;
  margin-bottom: 10px;
}

.contact-section p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.contact-item {
  background: #e0f7fa;
  border-left: 6px solid #00796b;
  border-radius: 10px;
  padding: 15px 20px;
  max-width: 400px;
  flex: 1 1 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.contact-item i {
  font-size: 1.4rem;
  color: #004d40;
  margin-right: 10px;
}

.contact-item a {
  color: #00796b;
  text-decoration: none;
  font-weight: 500;
}

.contact-item a:hover {
  text-decoration: underline;
  color: #004d40;
}

.contact-intro {
  font-weight: bold;
  font-size: 1.2rem;
  color: #00796b; /* Teal for wellness vibe */
  background: linear-gradient(to right, #e0f7fa, #f1f8e9);
  padding: 10px 20px;
  border-radius: 8px;
  display: inline-block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .contact-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-item i {
    margin-bottom: 5px;
  }
}

/* .contact-section {
  background: linear-gradient(to right, #f0f9ff, #dff1ff);
  padding: 60px 20px;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  max-width: 1000px;
  margin: 40px auto;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #0077cc;
}

.contact-section p {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: #333;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #333;
}

.contact-item i {
  font-size: 1.4rem;
  color: #0077cc;
}

.contact-item a {
  color: #0077cc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #005fa3;
} */

/* Responsive tweaks */
/* @media (max-width: 480px) {
  .contact-details {
    flex-direction: column;
    align-items: center;
  }

  .contact-item {
    justify-content: center;
  }
} */

/* Responsive tweaks */
@media (max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
    align-items: center;
  }

  .newsletter-form input {
    width: 100%;
  }

  .social-icons a {
    font-size: 1.2rem;
  }
}

/* Info toggle */

.info-toggle {
  background-color: #e6f0f8;
  border: 1px solid #b3d1e6;
  padding: 12px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #004080;
  font-weight: 500;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s ease;
}

.info-toggle:hover {
  background-color: #d4e6f2;
}

.info-icon {
  font-size: 1.1rem;
}

/* product-description collapsed */

.product-details.collapsed {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.product-details {
  max-height: auto; /* adjust as needed */
  transition: max-height 0.3s ease;
  margin-bottom: 20px;
}
/* .product-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
} */

.product-details.expanded {
  max-height: auto; /* adjust as needed */
  transition: max-height 0.3s ease;
}

/* .toggle-btn {
  background-color: #004080;
  color: #fff;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  margin-bottom: 10px;
} */

@media screen and (max-width: 600px) {
  .product-card {
    padding: 10px;
  }

  .product-description,
  .product-benefits {
    font-size: 0.9rem;
  }
}

/* category tabs / search bar / filter dropdown */

.storefront {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

.store-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  justify-content: center;
}

.search-bar {
  flex: 1;
  min-width: 200px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.filter-dropdown {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* Thumbnail Card */

/* Responsive Grid + Styled Price Section */

.section-title {
  text-align: center;
  font-weight: 700;
  color: #2e7d32; /* Herbal green */
  margin-top: 10px;
  margin-bottom: 10px;
  animation: fadeInDown 0.6s ease-out;
  font-size: clamp(1.5rem, 2vw, 3rem) !important; /* Responsive font size */
  line-height: 2;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 600;
  /* background: linear-gradient(90deg, #fdd835, #ffca28, #fbc02d); */
  background: linear-gradient(90deg, #a8e063, #00796b);
  /* background: linear-gradient(90deg, #f6d365, #fda085); */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin: 0 auto;
  display: inline-block;
  padding: 6px 16px;
  border-radius: 8px;
  animation: shimmer 3s infinite linear;
  transition: transform 0.3s ease, text-shadow 0.5s ease;
  position: relative;
}

.section-subtitle:hover {
  transform: scale(1.05);
  text-shadow: 0 0 8px rgba(255, 235, 59, 0.6);
}

.section-subtitle::after {
  content: "✨";
  position: absolute;
  top: -8px;
  right: -14px;
  font-size: 1.2rem;
  animation: twinkle 1.8s infinite ease-in-out;
}
.subtitle-wrapper {
  display: flex;
  justify-content: center;
}

@keyframes shimmer {
  0% {
    background-position: -200px;
  }
  100% {
    background-position: 200px;
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

@media (max-width: 768px) {
  .section-subtitle::after {
    display: inline;
  }
}
@media (min-width: 769px) {
  .section-subtitle::after {
    display: none;
  }
}

.section-subtitle_old {
  text-align: center;
  font-style: italic;
  margin-bottom: 30px;
  animation: fadeInUp 0.6s ease-out;
  font-size: clamp(1rem, 2.5vw, 1.2rem); /* Responsive font size */
  color: #795548; /* Earthy tone */
  letter-spacing: 0.5px;
}

/* Entry animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.thumbnail-grid {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 25px;
  padding: 16px;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
}

#product-thumbnails {
  display: flex;
  flex-direction: row;
  gap: 25px;
  overflow-x: auto;
  padding: 16px;
}

.product-thumbnail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 600px; /* Increased size */
  min-height: 700px; /* Ensures enough space for name + price */
  flex-shrink: 0;
  background: #a8e063;
  border: 2px solid #ccc;
  border-radius: 10px;
  padding: 16px;
  box-sizing: border-box;
  text-align: center;
  position: relative;
  overflow: visible; /* Prevents content from spilling out */
  transition: transform 0.2s ease;
  height: fit-content;
}

.product-thumbnail:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.thumbnail-img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  /* background-color: #fdd835; */
  border-radius: 6px;
}

/* Title */

.thumbnail-title {
  flex-grow: 1;
  flex-shrink: 0;
  overflow-wrap: break-word;
  margin: 10px 0 6px;
  font-size: 25px;
  font-weight: 600;
  color: #222;
  word-wrap: break-word;
  max-width: 100%;
  text-align: center;
}

/* Price box */
.thumbnail-price-box {
  margin-top: auto;
}

.thumbnail-offer-badge {
  display: inline-block;
  background-color: #ff9800; /* #ff5722 */
  color: white;
  font-size: 20px;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.shop-now {
  position: relative;
  font-weight: bold;
  color: #00796b;
}

.shop-now::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 8px;
  background: radial-gradient(circle at center, #00796b 40%, transparent 41%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  border-radius: 50%;
}

.thumbnail-price-tag {
  font-size: 20px;
  font-weight: bold;
  color: #2e7d32; /* #444 */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.price-icon {
  margin-right: 4px;
  font-size: 40px;
}

.price-label {
  font-size: 25px;
}

.price {
  font-size: 25px;
  font-weight: bold;
  color: #2e7d32;
}

@media (max-width: 480px) {
  #product-thumbnails {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .thumbnail-title {
    word-wrap: break-word;
    font-size: 25px;
  }
  .thumbnail-price-tag {
    font-size: 20px;
  }
  .price {
    font-size: 25px;
  }
}

/* product-ingredients */
.product-ingredients li,
.product-benefits li {
  list-style: none; /* removes dot */
  margin-bottom: 6px;
  font-size: 14px;
  text-align: center;
}

.section-title {
  margin-top: 12px;
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: bold;
}

.ingredients-title {
  color: #00796b; /* Teal for ingredients */
}

.benefits-title {
  color: #6a1b9a; /* Deep purple for benefits */
}

.popup-content {
  max-height: 90vh;
  overflow-y: auto;
}

/* Responsive Info */
.product-info {
  padding: 1rem;
}
.product-order {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 12px;
  width: 100%;
  box-sizing: border-box;
}

.qty-input {
  width: 100%;
  max-width: 120px;
  padding: 6px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.product-order button {
  padding: 8px 16px;
  font-size: 14px;
  background-color: #2e7d32;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  max-width: 160px;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
  .product-order {
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
  }

  .price-tag {
    font-size: 13px;
    gap: 4px;
  }

  .qty-input,
  .product-order button {
    max-width: 100%;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.product-popup.hidden {
  display: none !important;
}

.hidden {
  display: none !important;
}

.back-button {
  display: inline-block;
  margin: 20px;
  padding: 8px 16px;
  background-color: #e0f7e9;
  color: #2e7d32;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.back-button:hover {
  background-color: #c8e6c9;
}

/* Dot Navigation */

.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: auto;
  /* aspect-ratio: 4 / 3; ✅ Keeps height proportional */
  background-color: #fff;
}

.carousel-track {
  /* aspect-ratio: 4/3; */
  display: flex;
  transition: transform 0.5s ease-in-out;
  touch-action: none;
  will-change: transform;
  /* width: 100%; */
  /* overflow: hidden; ✅ Prevent vertical stacking */
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* width: calc(100% * var(--slide-count)); */
}

.carousel-slide {
  /* scroll-snap-align: start; */
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  object-fit: contain;
  align-items: center;
  /* overflow: hidden; */
  background-color: white;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide img {
  /* max-height: 100%;
  max-width: 100%; */
  object-fit: contain;
  display: block;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.carousel-dots button {
  border: none;
  background-color: #ccc;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  cursor: pointer;
}

.carousel-dot.active {
  background-color: #333;
}

.carousel-dots button.active {
  background-color: #333;
}

* {
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .carousel {
    height: 360px; /* ✅ smaller carousel height */
  }

  .carousel-slide img {
    max-height: 100%;
  }
}

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  color: #2e3d27;
}
/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Hero Section */
:root {
  --accent: #ff6f61;
  --glass-bg: rgba(255, 255, 255, 0.15);
  --text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

body,
html {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

.hero-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.background-slider {
  display: flex;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;

  /* display: flex;
  width: max-content;
  height: 100%; */
  /* animation: slideImages 40s linear infinite; */
}

.bg-image {
  flex-shrink: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  display: none;
  z-index: -1;
}

.hero-content {
  background: linear-gradient(to right, #fff8f0, #e0f2f1);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  padding: 4rem 6rem;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  text-shadow: var(--text-shadow);
  width: 60vw;
  max-width: 900px;
  opacity: 0.85;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .background-slider {
    height: 100vh;
  }

  .bg-image {
    height: 100vh;
    object-fit: cover;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-content {
    padding: 2rem 3rem;
    width: 90vw;
    top: 60%;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 1.5rem 2rem;
    font-size: 0.9rem;
    top: 55%;
  }
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.2;
  color: white;
  /* font-weight: 500; */
  font-weight: bold;
}

.hero-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}
.hero-content h2 .highlight-green {
  color: white;
}

.hero-content button {
  background: var(--accent);
  border: none;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.hero-content button:hover {
  background: #e85c50;
}

@keyframes slideImages {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-300vw);
  } /* Adjust based on number of images */
}

@media (max-width: 768px) {
  .hero-content {
    padding: 1.5rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}
/* Why Ayurveda Works */

section#about {
  width: 100%;
  padding: 4rem 2rem;
  box-sizing: border-box;
  scroll-margin-top: 80px; /* for smooth anchor scroll */
}

#about .WhyAyurvedaWorks {
  padding: 2rem;
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(to right, #fdfcfb, #e2d1c3);
  border-radius: 12px;
  animation: fadeIn 1.5s ease-in;
}

h1 {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
}

.section-heading {
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  color: #2c2c2c;
  margin-bottom: 40px;
  padding-bottom: 10px;
  position: relative;
  font-family: "Segoe UI", sans-serif;
  letter-spacing: 0.5px;
}

/* Optional underline accent */
.section-heading::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #ff9800, #4caf50);
  margin: 12px auto 0;
  border-radius: 2px;
}

.headline {
  font-size: clamp(1.2rem, 2vw + 1rem, 1.8rem);
  font-weight: 600;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-family: "Segoe UI", sans-serif;
  color: #3e2723;
  animation: fadeSlideUp 1.2s ease-in-out;
  transition: all 0.3s ease;
}

.headline em {
  font-style: italic;
  color: #6d4c41;
  font-weight: 500;
}

/* Highlight colors */
.highlight-green {
  color: #2e7d32;
  font-weight: bold;
}
.highlight-orange {
  color: #ef6c00;
  font-weight: bold;
}
.highlight-red {
  color: #c62828;
  font-weight: bold;
}
.highlight-blue {
  color: #1565c0;
  font-weight: bold;
}
.highlight-purple {
  color: #6a1b9a;
  font-weight: bold;
}
.highlight-teal {
  color: #00897b;
  font-weight: bold;
}

/* Entry animation */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive tweaks */
@media screen and (max-width: 768px) {
  .headline {
    font-size: clamp(1rem, 4vw, 1.4rem);
    text-align: center;
    padding: 0 1rem;
  }
}

.subtext {
  font-style: italic;
  font-size: 1.1rem;
}

.brand {
  font-weight: bold;
  color: #00796b;
}

.features li {
  margin: 0.5rem 0;
  font-weight: 500;
}

.section-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #6a1b9a;
  margin-top: 1rem;
}

.product-list p {
  margin: 1rem 0;
  font-size: 1rem;
}

.brand-message {
  display: block;
  margin-top: 2rem;
  font-size: 1.1rem;
  line-height: 1.8;
  font-family: "Segoe UI", sans-serif;
  color: #4e342e;
  background: linear-gradient(to right, #fffdf7, #f7ede2);
  padding: 1.2rem 1.5rem;
  border-left: 6px solid #ff7043;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  animation: fadeIn 1.2s ease-in-out;
}

.brand-message em {
  font-style: italic;
  color: #6d4c41;
  font-weight: 500;
}

.brand-message strong {
  font-weight: 600;
  color: #3e2723;
}

/* Highlight colors */
.highlight-green {
  color: #2e7d32;
  font-weight: bold;
}
.highlight-orange {
  color: #ef6c00;
  font-weight: bold;
}
.highlight-red {
  color: #c62828;
  font-weight: bold;
}
.highlight-blue {
  color: #1565c0;
  font-weight: bold;
}
.highlight-purple {
  color: #6a1b9a;
  font-weight: bold;
}
.highlight-teal {
  color: #00897b;
  font-weight: bold;
}

/* Entry animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.explore-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 1.5rem;
  background-color: #ff7043;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.explore-btn:hover {
  background-color: #d84315;
}

/* Color Highlights */
.highlight-green {
  color: #2e3d27;
  font-weight: bold;
}
.highlight-orange {
  color: #ef6c00;
  font-weight: bold;
}
.highlight-red {
  color: #c62828;
  font-weight: bold;
}
.highlight-blue {
  color: #1565c0;
  font-weight: bold;
}
.highlight-purple {
  color: #6a1b9a;
  font-weight: bold;
}
.highlight-teal {
  color: #00897b;
  font-weight: bold;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-buttons .btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.hero-buttons .btn:focus {
  outline: 2px solid #4caf50;
  outline-offset: 2px;
}

.hero-buttons .btn:hover {
  transform: scale(1.05);
}

.hero-buttons .btn.primary {
  background-color: #2e7d32;
  color: #fff;
  border: none;
}

.hero-buttons .btn.primary:hover {
  background-color: #1b5e20;
}

.hero-buttons .btn.secondary {
  background-color: #fff;
  color: #2e7d32;
  border: 2px solid #2e7d32;
}

.hero-buttons .btn.secondary:hover {
  background-color: #e8f5e9;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 80%;
    text-align: center;
  }
}

/* Entry animation */
@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
