/* ==========================================================================
   SHUBHLAXMI CASTOR OIL - INDEX / HOME PAGE SPECIFIC STYLES
   ========================================================================== */

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1672 / 941;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  overflow: hidden;
  border-bottom: 4px solid var(--gold-accent);
}

/* Hero Auto-Changing Image Slider */
.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.hero-slide .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Hero Slider Navigation Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.hero-arrow:hover {
  background: var(--gold-accent);
  color: var(--navy-dark);
  border-color: var(--gold-accent);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.hero-arrow-prev {
  left: 24px;
}

.hero-arrow-next {
  right: 24px;
}

/* Hero Slider Dots */
.hero-slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  width: 30px;
  border-radius: 10px;
  background: var(--gold-accent);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.7);
}

@media (max-width: 768px) {
  .hero-arrow {
    width: 40px;
    height: 40px;
  }
  .hero-arrow-prev {
    left: 12px;
  }
  .hero-arrow-next {
    right: 12px;
  }
  .hero-slider-dots {
    bottom: 16px;
  }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
  width: 100%;
}

.hero-content-glass {
  max-width: 820px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  padding: 40px 45px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35), 0 0 30px rgba(245, 158, 11, 0.2);
  color: var(--white);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.2);
  color: var(--gold-light);
  border: 1px solid rgba(245, 158, 11, 0.5);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.hero-text h1 {
  font-size: clamp(34px, 5vw, 54px);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-text h1 span.highlight {
  color: #fbbf24;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 17px;
  color: var(--slate-200);
  line-height: 1.7;
  margin-bottom: 28px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Feature Pills Grid in Hero Glass Box */
.hero-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}

.hero-feature-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.hero-feature-pill:hover {
  background: rgba(245, 158, 11, 0.18);
  border-color: var(--gold-accent);
  transform: translateY(-2px);
}

.pill-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.25);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  border: 1px solid rgba(245, 158, 11, 0.5);
}

.pill-text strong {
  display: block;
  font-size: 13.5px;
  color: var(--white);
  line-height: 1.2;
}

.pill-text small {
  font-size: 11.5px;
  color: var(--slate-300);
}

.btn-glass-white {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-glass-white:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: var(--white);
  color: var(--white);
}

.btn-glass-gold {
  background: rgba(245, 158, 11, 0.2);
  color: var(--gold-light);
  border: 1.5px solid rgba(245, 158, 11, 0.5);
  backdrop-filter: blur(8px);
}

.btn-glass-gold:hover {
  background: rgba(245, 158, 11, 0.35);
  border-color: var(--gold-accent);
  color: var(--white);
}

/* Hero Visual Card Showcase */
.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12), 0 0 25px rgba(245, 158, 11, 0.15);
  border: 2px solid rgba(245, 158, 11, 0.3);
  background: var(--white);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hero-visual-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px rgba(15, 23, 42, 0.18), 0 0 35px rgba(245, 158, 11, 0.28);
  border-color: var(--gold-accent);
}

.hero-image-wrapper {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: #fdfbf7;
}

.hero-image-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, var(--navy-primary), var(--blue-brand));
  color: #fef08a;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  z-index: 3;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

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

.hero-image-wrapper:hover .hero-banner-img {
  transform: scale(1.03);
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.hero-image-wrapper:hover .hero-image-overlay {
  opacity: 1;
}

.zoom-icon {
  background: var(--white);
  color: var(--navy-primary);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 13.5px;
  box-shadow: var(--shadow-lg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Info Strip / Trust Badges */
.info-strip {
  background-color: var(--navy-primary);
  color: var(--white);
  padding: 45px 0;
}

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

.strip-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.strip-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-accent);
}

.strip-item h3 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.strip-item p {
  color: var(--slate-300);
  font-size: 14px;
  line-height: 1.5;
}

/* Products Section & Horizontal Carousel Slider */
.products-section {
  padding: 90px 0;
  background-color: var(--bg-slate);
}

.products-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0 20px 0;
}

.products-slider-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 24px !important;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform;
  width: 100%;
}

.products-slider-track .product-card {
  flex: 0 0 calc(33.333% - 16px) !important;
  max-width: calc(33.333% - 16px) !important;
  min-width: 280px !important;
  box-sizing: border-box !important;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.slider-btn:hover {
  background: var(--navy-primary);
  color: var(--white);
  border-color: var(--navy-primary);
  transform: scale(1.08);
}

.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--slate-300);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dot.active {
  width: 28px;
  border-radius: 10px;
  background: var(--gold-accent);
}

/* Why Choose Section */
.why-choose-uday-block {
  margin-top: 60px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.why-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 35px;
}

.why-header h3 {
  font-size: clamp(22px, 3vw, 30px);
  margin: 10px 0;
  color: var(--navy-primary);
}

.why-header p {
  font-size: 15px;
  color: var(--slate-600);
}

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

.why-card {
  background: var(--bg-slate);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  transition: all var(--transition-fast);
}

.why-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-accent);
  box-shadow: var(--shadow-md);
}

.why-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(30, 27, 75, 0.08);
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.why-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 13.5px;
  color: var(--slate-600);
  line-height: 1.5;
  margin: 0;
}

/* Index Responsive Tweaks */
@media (max-width: 768px) {
  .hero {
    height: 82vh !important;
    min-height: 440px !important;
  }

  .hero-desktop-img {
    display: none !important;
  }

  .hero-mobile-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
  }

  .products-slider-track .product-card {
    flex: 0 0 85% !important;
    max-width: 85% !important;
  }
}

@media (max-width: 576px) {
  .hero-features-grid {
    grid-template-columns: 1fr;
  }
}

/* Products Showcase Marquee Keyframes & Layout */
@keyframes productsMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-1 * var(--marquee-translate, 1536px)));
  }
}

.products-slider-track.marquee-active {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  animation: productsMarquee 15s linear infinite !important;
  transition: none !important;
  will-change: transform;
  --marquee-translate: 1536px;
}

.products-slider-track.marquee-active:hover {
  animation-play-state: paused !important;
}

.products-slider-track.marquee-active .product-card {
  flex: 0 0 360px !important;
  max-width: 360px !important;
  min-width: 360px !important;
  box-sizing: border-box !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Premium Gradient Fade Masks */
.products-slider-container {
  position: relative;
}

.products-slider-container::before,
.products-slider-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.products-slider-container::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-slate) 0%, rgba(248, 250, 252, 0) 100%) !important;
}

.products-slider-container::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-slate) 0%, rgba(248, 250, 252, 0) 100%) !important;
}

.products-slider-container .slider-controls {
  display: none !important;
}

@media (max-width: 768px) {
  .products-slider-track.marquee-active {
    --marquee-translate: 1256px;
  }

  .products-slider-track.marquee-active .product-card {
    flex: 0 0 290px !important;
    max-width: 290px !important;
    min-width: 290px !important;
    opacity: 1 !important;
    transform: none !important;
  }
  
  .products-slider-container::before,
  .products-slider-container::after {
    width: 60px;
  }
}

