/* ============ AD BANNERS ============ */
.ad-banner-carousel {
  position: relative;
}

.ad-banner-link {
  display: block;
  overflow: hidden;
}

.ad-banner-link img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.6s ease;
}

.ad-banner-link:hover img {
  transform: scale(1.03);
}

.ad-banner-carousel .carousel-control-prev,
.ad-banner-carousel .carousel-control-next {
  width: 52px;
  height: 52px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--light);
  box-shadow: var(--box-shadow-lg);
  opacity: 0.9;
}

.ad-banner-carousel .carousel-control-prev {
  left: 24px;
}

.ad-banner-carousel .carousel-control-next {
  right: 24px;
}

.ad-banner-carousel .carousel-control-prev-icon,
.ad-banner-carousel .carousel-control-next-icon {
  filter: invert(24%) sepia(28%) saturate(1200%) hue-rotate(345deg) brightness(85%);
  width: 1.2rem;
  height: 1.2rem;
}

.ad-banner-carousel .carousel-indicators {
  margin-bottom: 18px;
}

.ad-banner-carousel .carousel-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--light);
}

.ad-banner-carousel .carousel-indicators .active {
  background-color: var(--brand-color-primary);
}

/* ============ HERO ============ */

/* ---- 1. Section background + spacing ---- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #ecdbb7 0%, #f1e4ca 50%, #e9dabd 100%);
  padding: 80px 0 60px;
  overflow: hidden;
}

/* Side padding removed to match container alignment of all other sections */


/* ---- 2. Kathakali pictures ---- */
.hero-art {
  position: absolute;
  bottom: 0;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  /* behind the text */
  pointer-events: none;
  /* clicks pass through */
}

/* Left: fully visible, fades softly into the background */
.hero-art-left {
  left: -200px;
  object-position: left bottom;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 85%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 85%, transparent 100%);
}

/* Right: mirror of the left */
.hero-art-right {
  right: 0;
  opacity: 1;
  object-position: right bottom;
  -webkit-mask-image: linear-gradient(to left, #000 0%, #000 65%, transparent 100%);
  mask-image: linear-gradient(to left, #000 0%, #000 65%, transparent 100%);
}

/* hide it on tablet and mobile, where there is no room for it */
@media (max-width: 991px) {

  .hero-art-left,
  .hero-art-center {
    display: none;
  }

  .hero-section .hero-art-right {

    width: 100%;
    /* full width of the hero */
    height: 100%;
    /* full height of the hero */
    object-fit: cover;
    /* fills the box without stretching */
    object-position: right bottom;
    opacity: 1;
    /* one value controls the fade */
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(241, 228, 202, 0.80) 0%, rgba(241, 228, 202, 0.80) 65%, rgba(241, 228, 202, 0.30) 100%);
}

/* Tablet / mobile: pictures become a faint background */
@media (max-width: 991px) {
  .hero-art {
    opacity: 0.65;
  }
}

/* Content always ABOVE the pictures = text fully visible */
.hero-section .container {
  position: relative;
  z-index: 1;
}

/* ---- 3. Text column ---- */
.hero-content .eyebrow {
  color: var(--dark);
}

.hero-title {
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  line-height: 1.2;
  margin-bottom: 22px;
}

.hero-title span {
  color: var(--brand-color-primary);
  /* gold words */
}

.hero-text {
  color: var(--dark);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 34px;
}

.hero-cta {
  margin-bottom: 42px;
}

.hero-stats .stat-num {
  font-size: 1.7rem;
}

.hero-stats .stat-label {
  font-size: 0.76rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dark);
}

/* ---- 4. Product image column ---- */
.hero-image-wrap::before {
  /* soft gold circle behind the image */
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 82%;
  height: 82%;
  transform: translate(-50%, -50%);
  background: var(--brand-color-primary);
  opacity: 0.16;
  border-radius: 50%;
  z-index: 0;
}

.hero-image {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  box-shadow: var(--box-shadow-lg);
  max-height: 560px;
  width: auto;
  margin: 0 auto;
}

/* ---- 5. Round "HERBAL FORMULA" badge ---- */
.hero-badge {
  position: absolute;
  bottom: 22px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--light);
  border-radius: 50%;
  width: 108px;
  height: 108px;
  box-shadow: var(--box-shadow-lg);
  font-family: var(--font-heading);
}

.hero-badge span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font-style);
  color: var(--brand-color-secondary);
}

.hero-badge strong {
  font-size: 1.05rem;
  color: var(--brand-color-primary);
}

/* ============ TRUST STRIP ============ */
.trust-strip {
  padding: 34px 0;
  border-bottom: 1px solid rgba(62, 42, 27, 0.08);
}

/* ============ BENEFITS SECTION ============ */
.benefits-section {
  position: relative;
  overflow: hidden;
}

.benefits-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../Images/Bg_img.png');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: 0;
}

.benefits-section .container {
  position: relative;
  z-index: 1;
}

.benefit-item {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.benefit-item.text-end {
  flex-direction: row-reverse;
}

.benefit-icon {
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1.5px solid var(--brand-color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--brand-color-primary);
}

.benefit-item h5 {
  font-size: 1.02rem;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.benefit-item p {
  color: var(--brand-color-secondary);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.benefits-center-img img {
  border-radius: var(--radius);
  box-shadow: var(--box-shadow-lg);
  max-height: 520px;
}

/* ============ BRAND STORY ============ */
.story-img-wrap img.peacock {
  width: 100%;
  max-width: 420px;
  opacity: 0.95;
}

.story-frame {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--brand-color-primary);
  border-radius: 50%;
  margin: 10px;
  opacity: 0.4;
}

.pillar-item i {
  font-size: 1.6rem;
  color: var(--brand-color-primary);
  margin-bottom: 10px;
  display: block;
}

.pillar-item h6 {
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.pillar-item p {
  font-size: 0.82rem;
  color: var(--brand-color-secondary);
  margin-bottom: 0;
  max-width: 180px;
}

/* ============ INGREDIENTS STRIP ============ */
.ingredients-strip .eyebrow {
  color: var(--brand-color-primary);
}

.ingredients-strip .section-title {
  color: var(--bg-light);
}

.ingredient-chip {
  background: rgba(239, 227, 203, 0.08);
  border: 1px solid rgba(239, 227, 203, 0.25);
  border-radius: 50px;
  padding: 14px 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  color: var(--bg-light);
  transition: var(--transition);
}

.ingredient-chip:hover {
  background: var(--brand-color-primary);
  border-color: var(--brand-color-primary);
}

.ingredient-chip i {
  font-size: 1.2rem;
  color: var(--brand-color-primary);
}

.ingredient-chip:hover i {
  color: var(--light);
}

/* ============ TESTIMONIALS ============ */
.testimonial-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 40px 34px;
  box-shadow: var(--box-shadow);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-card i.quote-icon {
  font-size: 1.8rem;
  color: var(--brand-color-primary);
  margin-bottom: 18px;
}

.testimonial-card .stars {
  color: var(--brand-color-primary);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.testimonial-card p.quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--dark);
  margin-bottom: 22px;
}

.testimonial-name {
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--brand-color-secondary);
}

#testimonialCarousel .carousel-indicators [data-bs-target] {
  background-color: var(--brand-color-primary);
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--light);
  box-shadow: var(--box-shadow);
  opacity: 1;
}

#testimonialCarousel .carousel-control-prev {
  left: -10px;
}

#testimonialCarousel .carousel-control-next {
  right: -10px;
}

#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon {
  filter: invert(24%) sepia(28%) saturate(1200%) hue-rotate(345deg) brightness(85%);
  width: 1.1rem;
  height: 1.1rem;
}

/* ============ GALLERY ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  border: none;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-light);
  box-shadow: var(--box-shadow);
}

.gallery-item-lg {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item-crop-a img {
  object-position: 30% 65%;
}

.gallery-item-crop-b img {
  object-position: 70% 35%;
}

.gallery-item-accent {
  background: var(--accent-forest);
}

.gallery-item-accent img {
  object-fit: contain;
  padding: 26%;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(62, 42, 27, 0.35);
  color: var(--light);
  font-size: 1.6rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-modal .modal-dialog {
  max-width: 800px;
}

.gallery-modal .modal-content {
  background: transparent;
  border: none;
}

.gallery-modal img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--box-shadow-lg);
}

.gallery-modal .btn-close {
  position: absolute;
  top: -42px;
  right: 0;
  filter: invert(1);
  opacity: 0.9;
}

.gallery-modal p {
  color: var(--bg-light);
  text-align: center;
  font-size: 0.9rem;
  margin: 14px 0 0;
}

/* ============ RESPONSIVE (HOME) ============ */
@media (max-width: 991px) {
  .hero-watermark {
    display: none;
  }

  .benefits-center-img {
    margin: 30px auto;
    text-align: center;
  }

  .benefits-center-img img {
    max-height: 400px;
    margin: 0 auto;
  }

  .story-img-wrap {
    margin-bottom: 40px;
  }

  #testimonialCarousel .carousel-control-prev,
  #testimonialCarousel .carousel-control-next {
    display: none;
  }
}

@media (max-width: 767px) {
  .hero-section {
    text-align: center;
    padding: 50px 0 36px;
  }

  .hero-title {
    font-size: clamp(1.9rem, 7vw, 2.6rem);
    margin-bottom: 16px;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.95rem;
    margin-bottom: 26px;
  }

  .hero-cta {
    justify-content: center;
    margin-bottom: 30px;
  }

  .hero-stats {
    justify-content: center;
    gap: 1.5rem !important;
  }

  .hero-stats .stat-num {
    font-size: 1.4rem;
  }

  .hero-image-wrap {
    margin-top: 30px;
  }

  .hero-image {
    max-height: 380px;
    max-width: 100%;
  }

  .hero-badge {
    width: 86px;
    height: 86px;
    bottom: 14px;
    left: 8px;
  }

  .hero-badge strong {
    font-size: 0.9rem;
  }

  .hero-badge span {
    font-size: 0.55rem;
  }

  .benefit-item {
    margin-bottom: 28px;
    gap: 14px;
  }

  .benefit-item.text-end {
    flex-direction: row;
    text-align: left;
  }

  .benefit-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .benefit-item h5 {
    font-size: 0.95rem;
  }

  .benefit-item p {
    font-size: 0.84rem;
  }

  .benefits-center-img img {
    max-height: 320px;
  }

  .ingredient-chip {
    padding: 10px 18px;
    font-size: 0.8rem;
    gap: 8px;
  }

  .testimonial-card {
    padding: 28px 20px;
  }

  .testimonial-card p.quote {
    font-size: 0.98rem;
    margin-bottom: 16px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
    gap: 10px;
  }

  .gallery-item-lg {
    grid-row: span 1;
    grid-column: span 1;
  }

  .ad-banner-carousel .carousel-control-prev,
  .ad-banner-carousel .carousel-control-next {
    width: 38px;
    height: 38px;
  }

  .ad-banner-carousel .carousel-control-prev {
    left: 8px;
  }

  .ad-banner-carousel .carousel-control-next {
    right: 8px;
  }
}

@media (max-width: 767px) {
  .gallery-grid .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    gap: 1rem !important;
  }

  .hero-stats .stat-num {
    font-size: 1.25rem;
  }

  .hero-stats .stat-label {
    font-size: 0.68rem;
  }

  .hero-image {
    max-height: 300px;
  }

  .gallery-grid {
    grid-auto-rows: 125px;
    gap: 8px;
  }
}