* {
  margin: 0;
  box-sizing: border-box;
}
html, body {
  font-family: 'Poppins', sans-serif;
  height: 100%;
  overflow-x: hidden;
  padding-top: 70px;
  background-color: antiquewhite;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

.swasthsip-font {
  font-family: 'Poppins', sans-serif;
  font-weight: 600; /* semi-bold */
  letter-spacing: 0.05em;
  font-style: normal;
  color: #daf0e1;
}
/* HEADER */
header {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 10px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background-color: #ad7745;
}


.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgb(255, 255, 255);
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
}



.logo img {
  height: 65px; /* or 50px if you want bigger */
  width: auto;
  object-fit: contain;
}


@media (max-width: 768px) {
  .logo img {
    height: 40px;
  }

  .navbar {
    gap: 15px;
    flex-wrap: wrap;
  }
}



.navbar {
  display: flex;
  gap: 30px;
}

.navbar a {
  color: white;
  text-decoration: none;
  position: relative;
  padding-bottom: 5px;
  font-weight: 500;
}

.navbar a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: white;
  left: 0;
  bottom: 0;
  transition: 0.3s;
}

.navbar a:hover::after,
.navbar a.active::after {
  width: 100%;
}

/* HAMBURGER */
.hamburger {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}


/* RESPONSIVE RULES */
@media screen and (max-width: 768px) {
  .logo img {
    height: 45px;
  }

  .navbar {
    display: none;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 20px;
    border-radius: 10px;
    z-index: 999;
  }

  .navbar.active {
    display: flex;
  }

  .hamburger {
    display: block;
    font-size: 28px;
    color: white;
    cursor: pointer;
  }
}



/* PRODUCT DETAIL SECTION */
.product-detail {
  padding-top: 20px; /* same as header height */
  border-radius: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

html {
  scroll-padding-top: 100px; /* adds offset when jumping to headings */
}
.product-detail h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
  color: #3e4a1d;
  margin-top: 20px;
  text-align: center;
}


.product-detail img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 40px;
  margin-bottom: 10px;
  transition: transform 0.4s ease;
}

.product-detail img:hover {
  transform: scale(1.05);
}

.product-detail p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
  color: #2e2e2e;
}

.product-detail h2 {
  color: #955b35;
  font-size: 1.4em;
  margin-top: 40px;
  margin-bottom: 30px;
}

.product-detail ul {
  list-style-type: none;
  padding-left: 20px;
    line-height: 1.8;
}

.product-detail ul li {
  max-width: 900px;
  margin: 0 auto 20px auto;  /* centers the block + adds space below each point */
  padding-left: 10px;        /* optional: slight indentation for comfort */
  font-size: 1.1em;
  letter-spacing: 0.5px;
  word-spacing: 1px;
  text-align: justify;
  line-height: 1.8;
  padding-left: 2em;
  position: relative;
}
.product-detail .emoji {
  position: absolute;
  left: -10px;

  top: 0;
  font-size: 1.5em;
  line-height: 1.8;
}


/* Responsive padding for product detail */
@media (max-width: 600px) {
  .product-detail {
    padding: 20px;
  }
}

/* EXPLORE SECTION */
.explore-heading {
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.8em;
  color: #3a4d1f;
}

/* PRODUCT CARDS */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.product-card {
  flex: 0 0 calc(25% - 20px); /* 4 cards in row */
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  color: black;
  transition: box-shadow 0.3s ease;
  background-color: #fefefe;
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 8px 8px 0 0;
  display: block;
}

.product-card p {
  margin: 10px 0;
  font-weight: bold;
  color: #3d3d3d;
}

.product-card:hover {
  box-shadow: 0 0 10px #888;
}












/* SLIDER / Explore More Section */
.explore-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin: 2rem 0;
}

.slider-container {
  flex: 1;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* smooth iOS scrolling */
}

.slider-container::-webkit-scrollbar {
  display: none; /* hides scrollbar on mobile */
}


.slider {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
}

.arrow {
  background-color: transparent;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0 10px;
  z-index: 10;
}

/* Responsive Card Widths */
@media (max-width: 1024px) {
  .product-card {
    flex: 0 0 calc(50% - 20px); /* 2 cards per row */
  }
}

@media (max-width: 768px) {
  .product-card {
    flex: 0 0 calc(100% - 20px); /* 1 card per row */
  }
}

/* FOOTER */
.footer {
  background-color: #034d3b;
  color: #fffcfc;
  text-align: center;
  padding: 8px 10px;
  margin-top: auto;
}


/* Footer icons and styles unchanged */
.footer-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-icons img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.footer-icons a:hover img {
  transform: scale(1.2);
}

.footer p {
  font-size: 0.9rem;
  margin: 0;
}





/* Flex layout for intro */
.intro-flex {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
}

.intro-img {
  flex: 1 1 40%;
}

.intro-img img {
  width: 100%;
  border-radius: 10px;
}

.intro-text {
  flex: 1 1 55%;
  text-align: justify;
  
}

@media (max-width: 768px) {
  .intro-flex {
    flex-direction: column;
  }
}


@media (max-width: 600px) {
  .product-detail p,
  .product-detail ul li {
    font-size: 1em;
    line-height: 1.6;
  }
}




.video-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  margin: auto;
  padding: 20px;
}

.video-carousel-track-wrapper {
  overflow: hidden;
  width: 90%;
  max-width: 640px;
}

.video-carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.video-carousel-slide {
  flex: 0 0 100%;
  max-width: 100%;
}

.video-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Arrow Styles */
.video-carousel-button {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  position: relative;
}

.video-carousel-button.prev {
  margin-right: 20px;
}

.video-carousel-button.next {
  margin-left: 20px;
}
