/* ==========================
   Shree Shree Vidya — style
   (aligned & cleaned; rules unchanged)
   ========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #D4AF37;
  --dark: #101010;
  --white: #FFFFFF;
  --beige: #F5F1E8;
  --light-gold: #F4E4C1;
  --gray: #666666;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

body.dark-mode {
  background: #1a1a1a;
  color: #e0e0e0;
}

body.dark-mode .nav {
  background: rgba(16, 16, 16, 0.95);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

body.dark-mode .hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

body.dark-mode .section {
  background: #1a1a1a;
}

body.dark-mode .card {
  background: #242424;
  border-color: rgba(212, 175, 55, 0.3);
}

body.dark-mode .footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

h1, h2, h3 {
  font-family: 'Cinzel', serif;
  font-weight: 600;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.3s;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
}

.logo-sub {
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--dark);
}

body.dark-mode .logo-sub {
  color: #e0e0e0;
}

.nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}

.nav-menu a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

body.dark-mode .nav-menu a {
  color: #e0e0e0;
}

.nav-menu a:hover {
  color: var(--gold);
}

.theme-toggle,
.lang-toggle {
  background: var(--gold);
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--dark);
  transition: all 0.3s;
}

.theme-toggle:hover,
.lang-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: var(--gold);
  transition: 0.3s;
}

/* Hero Section */
.hero {
  padding: 150px 20px 100px;
  background: linear-gradient(135deg, var(--beige) 0%, var(--light-gold) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.hero-content {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: var(--white);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: white;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--gray);
  margin-bottom: 30px;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 35px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-size: 16px;
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--dark);
  border: 2px solid var(--gold);
}

.btn-secondary:hover {
  background: var(--gold);
}

/* Section */
.section {
  padding: 80px 20px;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 15px;
  color: var(--dark);
}

body.dark-mode .section-title {
  color: var(--gold);
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Zodiac Grid */
.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.zodiac-card {
  background: var(--white);
  border: 2px solid var(--light-gold);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

body.dark-mode .zodiac-card {
  background: #242424;
  border-color: rgba(212, 175, 55, 0.3);
}

.zodiac-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
}

.zodiac-icon {
  font-size: 48px;
  margin-bottom: 10px;
}

.zodiac-name {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 5px;
}

body.dark-mode .zodiac-name {
  color: var(--gold);
}

.zodiac-date {
  font-size: 12px;
  color: var(--gray);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.card {
  background: var(--white);
  border: 2px solid var(--light-gold);
  border-radius: 20px;
  padding: 35px;
  transition: all 0.3s;
  text-align: center;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
  border-color: var(--gold);
}

.card-icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--dark);
}

body.dark-mode .card h3 {
  color: var(--gold);
}

.card p {
  color: var(--gray);
  margin-bottom: 20px;
}

.card-price {
  font-size: 28px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 20px;
}

/* Testimonials */
.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--light-gold);
  text-align: center;
}

body.dark-mode .testimonial {
  background: #242424;
  border-color: rgba(212, 175, 55, 0.3);
}

.testimonial-text {
  font-size: 18px;
  font-style: italic;
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-author {
  font-weight: 600;
  color: var(--gold);
  font-size: 16px;
}

.testimonial-rating {
  color: var(--gold);
  font-size: 20px;
  margin-bottom: 15px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--light-gold);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: var(--gold);
  width: 30px;
  border-radius: 6px;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark);
}

body.dark-mode .form-group label {
  color: var(--gold);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--light-gold);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  transition: all 0.3s;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select {
  background: #242424;
  border-color: rgba(212, 175, 55, 0.3);
  color: #e0e0e0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  z-index: 999;
  transition: all 0.3s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* AstroBot */
.astrobot {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  cursor: pointer;
  z-index: 999;
  transition: all 0.3s;
}

.astrobot:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.astrobot-chat {
  position: fixed;
  bottom: 100px;
  left: 30px;
  width: 350px;
  height: 450px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  z-index: 998;
  border: 2px solid var(--gold);
}

body.dark-mode .astrobot-chat {
  background: #242424;
}

.astrobot-chat.active {
  display: flex;
}

.astrobot-header {
  background: var(--gold);
  padding: 15px;
  border-radius: 18px 18px 0 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.astrobot-close {
  cursor: pointer;
  font-size: 20px;
}

.astrobot-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.astrobot-message {
  padding: 10px 15px;
  border-radius: 15px;
  max-width: 80%;
}

.astrobot-message.bot {
  background: var(--light-gold);
  align-self: flex-start;
}

body.dark-mode .astrobot-message.bot {
  background: rgba(212, 175, 55, 0.2);
}

.astrobot-message.user {
  background: var(--gold);
  align-self: flex-end;
}

.astrobot-input {
  padding: 15px;
  border-top: 2px solid var(--light-gold);
  display: flex;
  gap: 10px;
}

body.dark-mode .astrobot-input {
  border-top-color: rgba(212, 175, 55, 0.3);
}

.astrobot-input input {
  flex: 1;
  padding: 10px;
  border: 2px solid var(--light-gold);
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
}

body.dark-mode .astrobot-input input {
  background: #1a1a1a;
  border-color: rgba(212, 175, 55, 0.3);
  color: #e0e0e0;
}

.astrobot-input button {
  padding: 10px 20px;
  background: var(--gold);
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 50px 20px 20px;
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer h3 {
  color: var(--gold);
  margin-bottom: 20px;
}

.footer a {
  color: var(--white);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer a:hover {
  color: var(--gold);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 20px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gray);
}

/* Video Section */
.video-container {
  max-width: 800px;
  margin: 50px auto;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  border: 3px solid var(--gold);
  background: linear-gradient(135deg, var(--beige), var(--light-gold));
  display: flex;
  justify-content: center;
  align-items: center;
}

/* video ko chota, center & vertical friendly */
.intro-video {
  max-width: 320px;      /* width control */
  max-height: 460px;     /* height control */
  width: 100%;           /* responsive */
  height: auto;
  border-radius: 16px;
  display: block;
  outline: none;
  border: none;
  background: #000;      /* side me black bars instead of gold */
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 50px;
}

.about-image {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--light-gold), var(--gold));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.about-content h3 {
  color: var(--gold);
  margin-bottom: 15px;
  font-size: 28px;
}

.about-content p {
  color: var(--gray);
  margin-bottom: 15px;
  line-height: 1.8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat-card {
  text-align: center;
  padding: 20px;
  background: var(--beige);
  border-radius: 15px;
}

body.dark-mode .stat-card {
  background: rgba(212, 175, 55, 0.1);
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  color: var(--gray);
}

/* Shop & Modals & Events */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.product-card {
  background: #fff;
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
}

.product-name {
  font-weight: 600;
  font-size: 15px;
}

.product-price {
  color: var(--gold);
  font-weight: 700;
}

.product-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
}

/* Floating cart */
.cart-float {
  position: relative;
  margin-top: 12px;
}

#cartFloat {
  position: static;
  display: block;
}

/* Modal common */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal .modal-content {
  background: #fff;
  width: 100%;
  max-width: 720px;
  border-radius: 10px;
  padding: 18px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 8px;
  font-size: 22px;
  cursor: pointer;
}

/* Cart items */
#cartItems {
  max-height: 300px;
  overflow: auto;
  margin-bottom: 12px;
}

.cart-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
}

.cart-item .ci-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
}

.cart-item .ci-meta {
  flex: 1;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  font-weight: 600;
}

/* Events */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.event-card {
  background: #cfc8c8;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  text
}

.event-date {
  font-weight: 700;
  color: var(--gold);
}

/* Rashifal */
.rashifal-controls {
  margin: 12px 0;
}

.rashifal-output {
  background: #fff;
  padding: 14px;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  min-height: 120px;
}

/* Videos */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.vid-card {
  width: 100%;
  border-radius: 8px;
  background: #000;
}

/* Buttons small */
.btn-small {
  padding: 8px 10px;
  font-size: 14px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  body.dark-mode .nav-menu {
    background: #1a1a1a;
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 32px;
  }

  .contact-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .astrobot-chat {
    width: 90%;
    left: 5%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
  }

  .zodiac-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease-out;
}

/* ABOUT SECTION LAYOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* left media, right text */
  gap: 50px;
  align-items: center;
  margin-top: 50px;
}

/* left card */
.about-media {
  background: linear-gradient(135deg, var(--beige), var(--light-gold));
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  border: 3px solid var(--gold);
}

/* inside left: slider + video side-by-side */
.about-media-inner {
  display: grid;
  grid-template-columns: 1fr 1fr; /* left images, right video */
  gap: 16px;
  align-items: center;
}

/* titles */
.about-media-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  text-align: center;
  color: var(--dark);
}

/* image slider area – centered */
.about-slider-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-slider {
  position: relative;
  width: 100%;
  max-width: 260px;
  padding-top: 75%; /* 4:3 ratio box */
  overflow: hidden;
  border-radius: 18px;
  background: #000;
  margin: 0 auto; /* center */
}

.about-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
}

.about-slide.active {
  opacity: 1;
}

/* video side box */
.about-video-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-video {
  width: 100%;
  max-width: 260px;
  border-radius: 18px;
  border: none;
  outline: none;
  background: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* responsive adjustments */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-media-inner {
    grid-template-columns: 1fr; /* slider upar, video neeche */
  }
}

.video-container {
  max-width: 700px;
  margin: 25px auto;
  background: #f8f1dd;
  padding: 25px;
  border-radius: 20px;
  border: 3px solid #d1a341;
  box-shadow: 0px 15px 40px rgba(0,0,0,0.15);
  text-align: center;
}

.intro-video {
  width: 100%;
  border-radius: 14px;
  background: black;
  outline: none;
}
/* ADDITIONAL CSS */

/* Left Side Ganesh Ji Box */
.ganesh-box {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  background: rgba(15, 15, 35, 0.9);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.2), 0 10px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  z-index: 100;
  transition: all 0.4s ease;
}

.ganesh-box:hover {
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.4), 0 15px 50px rgba(0, 0, 0, 0.6);
  transform: translateY(-50%) scale(1.02);
}

.ganesh-title {
  color: #ffd700;
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 15px;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.ganesh-slider {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 20px rgba(255, 215, 0, 0.1);
}

.ganesh-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 1s ease, transform 1s ease;
}

.ganesh-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.ganesh-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

.ganesh-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.ganesh-dot.active {
  background: #ffd700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
  transform: scale(1.3);
}

.ganesh-dot:hover {
  background: rgba(255, 215, 0, 0.6);
}

/* Right Side Vidhya Mata Vertical Slider */
.vidhya-container {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  background: rgba(15, 15, 35, 0.9);
  border: 1px solid rgba(218, 112, 214, 0.3);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 0 30px rgba(218, 112, 214, 0.2), 0 10px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  z-index: 100;
  transition: all 0.4s ease;
}

.vidhya-container:hover {
  box-shadow: 0 0 40px rgba(218, 112, 214, 0.4), 0 15px 50px rgba(0, 0, 0, 0.6);
  transform: translateY(-50%) scale(1.02);
}

.vidhya-title {
  color: #da70d6;
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 15px;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(218, 112, 214, 0.5);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.vidhya-slider-vertical {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 20px rgba(218, 112, 214, 0.1);
}

.vidhya-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.vidhya-slide.active {
  opacity: 1;
  transform: translateY(0);
}

.vidhya-progress {
  width: 100%;
  height: 3px;
  background: rgba(218, 112, 214, 0.2);
  border-radius: 2px;
  margin-top: 15px;
  overflow: hidden;
}

.vidhya-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #da70d6, #ff69b4);
  border-radius: 2px;
  animation: vidhyaProgress 4s linear infinite;
  box-shadow: 0 0 10px rgba(218, 112, 214, 0.8);
}

@keyframes vidhyaProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* View Details Button Enhancement */
.view-details-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
  position: relative;
  overflow: hidden;
}

.view-details-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.view-details-btn:hover::before {
  left: 100%;
}

.view-details-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.view-details-btn:active {
  transform: translateY(0);
}

.view-details-btn svg {
  transition: transform 0.3s ease;
}

.view-details-btn:hover svg {
  transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .ganesh-box,
  .vidhya-container {
    width: 220px;
  }
  
  .ganesh-slider {
    height: 220px;
  }
  
  .vidhya-slider-vertical {
    height: 260px;
  }
}

@media (max-width: 992px) {
  .ganesh-box {
    left: 10px;
    width: 180px;
  }
  
  .vidhya-container {
    right: 10px;
    width: 180px;
  }
  
  .ganesh-slider {
    height: 180px;
  }
  
  .vidhya-slider-vertical {
    height: 200px;
  }
  
  .ganesh-title,
  .vidhya-title {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .ganesh-box,
  .vidhya-container {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
  }
  
  .ganesh-slider {
    height: 280px;
  }
  
  .vidhya-slider-vertical {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .view-details-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .ganesh-box,
  .vidhya-container {
    padding: 15px;
  }
}
/* HERO AUTO SLIDER BACKGROUND */
.hero-slider {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: fadeBg 1.5s ease-in-out;
  z-index: 1;
}

.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  margin: auto;
  padding-top: 120px;
  color: #fff;
}

@keyframes fadeBg {
  from { opacity: 0.6; }
  to { opacity: 1; }
}
.hero-slider {
  position: relative;
  min-height: 80vh;
  width: 100%;
  overflow: hidden;
}

/* BACKGROUND IMAGE CONTAINER */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 0.8s ease-in-out;
  z-index: 1;
}

/* DARK OVERLAY */
.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 2;
}

/* CONTENT ABOVE IMAGE */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  max-width: 900px;
  margin: auto;
  padding-top: 120px;
}
.astro-section {
  background: radial-gradient(circle at top, #151a2b, #050711);
  padding: 80px 20px;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
}

.astro-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}

.astro-profile {
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

.astro-slider {
  position: relative;
  height: 260px;
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 15px;
}

.astro-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.astro-slider img.active {
  opacity: 1;
}

.astro-profile h3 {
  margin: 10px 0 6px;
}

.intro {
  font-size: 14px;
  opacity: 0.85;
}

.expertise {
  list-style: none;
  padding: 0;
  margin-top: 12px;
}

.expertise li {
  font-size: 13px;
  padding: 4px 0;
  opacity: 0.9;
}

.astro-video-box {
  position: relative;
  height: 420px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(138,107,255,0.3);
}

.astro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.astro-video.active {
  opacity: 1;
}

@media (max-width: 900px) {
  .astro-container {
    grid-template-columns: 1fr;
  }
  .astro-video-box {
    height: 260px;
  }
}
.ai-shop{
  background:#0e0e16;
  padding:80px 6%;
  color:#fff;
  font-family:'Poppins',sans-serif;
}

.ai-shop h2{
  text-align:center;
  font-size:42px;
  margin-bottom:10px;
}

.ai-shop .subtitle{
  text-align:center;
  color:#b5b5c8;
  margin-bottom:50px;
}

.shop-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:30px;
}

.shop-card{
  background:linear-gradient(145deg,#151523,#1e1e32);
  border-radius:18px;
  padding:20px;
  text-align:center;
  position:relative;
  box-shadow:0 15px 40px rgba(0,0,0,.6);
  transition:.4s;
}

.shop-card:hover{
  transform:translateY(-10px);
}

.shop-card img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:14px;
}

.badge{
  position:absolute;
  top:15px;
  left:15px;
  background:#ffd36a;
  color:#000;
  padding:5px 12px;
  border-radius:20px;
  font-size:12px;
  font-weight:600;
}

.shop-card h3{
  margin:15px 0 5px;
  font-size:18px;
}

.price{
  color:#ffd36a;
  font-weight:600;
}

.actions{
  display:flex;
  gap:10px;
  margin-top:15px;
}

.actions button{
  flex:1;
  border:none;
  padding:10px;
  border-radius:30px;
  cursor:pointer;
  font-weight:600;
}

.view{
  background:#2b2b44;
  color:#fff;
}

.add{
  background:#ffd36a;
  color:#000;
}
.ai-event-system{
  background:#f7f6f2;
  padding:80px 6%;
  font-family:Poppins,sans-serif;
}

h2,h3{
  text-align:center;
}

.subtitle{
  text-align:center;
  color:#666;
  margin-bottom:40px;
}

.event-card-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:25px;
}

.event-card{
  background:#fff;
  padding:15px;
  border-radius:16px;
  box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.event-img{
  width:100%;
  height:150px;
  object-fit:cover;
  border-radius:12px;
}

.status{
  display:inline-block;
  margin-top:10px;
  padding:5px 14px;
  border-radius:20px;
  font-size:12px;
}

.upcoming{background:#d4af37;color:#000;}

.dashboard{
  margin:70px auto;
  max-width:800px;
}

table{
  width:100%;
  border-collapse:collapse;
  background:#572e2e;
  border-radius:14px;
  overflow:hidden;
}

th,td{
  padding:14px;
  border-bottom:1px solid #eee;
  text-align:left;
}

.completed-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:25px;
}

.completed-card{
  background:#fff;
  padding:15px;
  border-radius:16px;
  box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.event-video{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:12px;
}
.upcoming-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:25px;
}

.event-card{
  background:#fff;
  padding:16px;
  border-radius:16px;
  box-shadow:0 12px 30px rgba(0,0,0,.08);
  text-align:center;
}

.event-img{
  width:100%;
  height:160px;
  object-fit:cover;
  border-radius:12px;
  transition:opacity .4s ease;
}
/* ===== COMPLETED EVENTS FIX ===== */

.completed-slider{
  width:100%;
  overflow:hidden;
  margin:40px auto 0;
}

.completed-track{
  display:flex;
  gap:25px;
  width:max-content;
}

.completed-card{
  min-width:260px;
  background:#fff;
  padding:15px;
  border-radius:16px;
  box-shadow:0 12px 30px rgba(0,0,0,.1);
  text-align:center;
}

.completed-card video{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:12px;
  display:block;
}

.completed-title{
  text-align:center;
  margin:80px 0 20px;
  font-size:32px;
}
/* ============================
   FINAL HERO & LAYOUT FIX
   (Non-destructive override)
   ============================ */

/* HERO MASTER FIX */
.hero,
.hero-slider {
  position: relative;
  min-height: 100vh;        /* full viewport */
  width: 100%;
  overflow: hidden;
  padding: 0 !important;   /* remove padding conflict */
}

/* BACKGROUND IMAGE */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat;
  z-index: 1;
}

/* DARK OVERLAY */
.hero::after,
.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

/* HERO CONTENT CENTER FIX */
.hero-content {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  color: #ffffff;
}

/* TEXT VISIBILITY FIX */
.hero h1 {
  color: #ffffff !important;
}

.hero-subtitle {
  color: #f1f1f1 !important;
}

/* FIX FIXED SIDE BOXES OVERLAP */
.ganesh-box,
.vidhya-container {
  z-index: 90;
}

/* MOBILE FIX */
@media (max-width: 768px) {
  .hero-content {
    padding-top: 140px;
  }

  .ganesh-box,
  .vidhya-container {
    position: relative;
    inset: auto;
    transform: none;
    margin: 20px auto;
  }
}
/* HERO AUTO SLIDER */
.hero-slider {
  position: relative;
  min-height: 85vh;
  width: 100%;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 1.2s ease-in-out;
  z-index: 1;
}

/* Dark overlay for readability */
.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 2;
}

/* Content above image */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  margin: auto;
  padding-top: 140px;
  color: #fff;
}
.ai-video-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8fbff, #eef4ff);
  font-family: "Segoe UI", sans-serif;
}

.ai-video-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.ai-video-title {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
}

.ai-video-subtitle {
  margin-top: 10px;
  font-size: 16px;
  color: #555;
}

.ai-video-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.ai-video-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 35px 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-video-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.ai-video-icon {
  width: 70px;
  height: 70px;
  margin: auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 20px;
}

.ai-video-icon.whatsapp {
  background: linear-gradient(135deg, #25d366, #1ebe57);
}

.ai-video-icon.instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

.ai-video-icon.facebook {
  background: linear-gradient(135deg, #1877f2, #0f5bd8);
}

.ai-video-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #222;
}

.ai-video-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.ai-video-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  background: linear-gradient(135deg, #4f8cff, #6a5cff);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ai-video-btn:hover {
  opacity: 0.9;
  transform: scale(1.05);
}
.astro-hover-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  cursor: pointer;
}

.astro-hover-card img {
  width: 100%;
  display: block;
}

/* GREY OVERLAY */
.astro-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.4s ease;
  text-align: center;
  color: #fff;
}

.astro-hover-card:hover .astro-hover-overlay {
  opacity: 1;
}

/* TEXT */
.astro-hover-overlay h3 {
  font-size: 22px;
  margin-bottom: 5px;
}

.astro-hover-overlay p {
  font-size: 14px;
  color: #ddd;
  margin-bottom: 20px;
}

/* BUTTONS */
.astro-btns {
  display: flex;
  gap: 15px;
}

.btn-outline {
  padding: 10px 22px;
  border: 2px solid #ffc400;
  color: #ffc400;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.btn-outline:hover {
  background: #ffc400;
  color: #000;
}

.btn-solid {
  padding: 10px 24px;
  background: #ffc400;
  color: #000;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-solid:hover {
  transform: scale(1.05);
}
.video-section {
  padding: 70px 20px;
  background: #ffffff;
  font-family: Arial, sans-serif;
  text-align: center;
}

.video-title {
  font-size: 30px;
  margin-bottom: 40px;
}

.video-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.video-card {
  position: relative;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.video-card video {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.3s;
}

.video-card:hover .video-overlay {
  opacity: 1;
}

.video-overlay button {
  background: #ffc400;
  border: none;
  padding: 12px 22px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
}

.video-card p {
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
}

.load-more {
  margin-top: 35px;
  padding: 12px 30px;
  border: none;
  background: #ffc400;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
}
.completed-section {
  padding: 70px 20px;
  background: #fff;
  text-align: center;
}

.completed-title {
  font-size: 28px;
  margin-bottom: 30px;
}

.completed-wrapper {
  position: relative;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
}

.completed-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px;
}

.completed-slider::-webkit-scrollbar {
  display: none;
}

.completed-card {
  min-width: 220px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  cursor: pointer;
}

.completed-card video {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.completed-card h4 {
  padding: 10px;
  font-size: 14px;
}

/* Arrow buttons */
.nav-btn {
  background: #ffc400;
  border: none;
  font-size: 28px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}
.ai-dark {
  padding-top: 80px;
  background: radial-gradient(circle at top, #111, #000);
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  color: #f5c16c;
}

.upcoming-wrapper {
  display: flex;
  align-items: center;
  margin: 40px 0;
}

.upcoming-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
}

.event-card {
  min-width: 260px;
  background: #0f0f0f;
  border-radius: 14px;
  padding: 12px;
  text-align: center;
}

.event-card video {
  width: 100%;
  border-radius: 10px;
}

.view-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg,#f5c16c,#ff9f43);
  color: #000;
  font-size: 13px;
}

.ai-glass {
  margin: 60px auto;
  padding: 25px;
  width: 80%;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  border-radius: 18px;
}

.dashboard table {
  width: 100%;
  color: #ddd;
}

.up { color: #00e676; }
.done { color: #ff7675; }

.mini-btn {
  padding: 4px 10px;
  border-radius: 14px;
  background: #222;
  font-size: 12px;
}
.upcoming-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.upcoming-grid {
  display: flex;
  gap: 20px;
  scroll-behavior: smooth;
}

.event-card {
  min-width: 260px;
  background: #111;
  padding: 12px;
  border-radius: 14px;
  text-align: center;
}

.event-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
}

.btn-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
}

.view-details {
  background: #f5c16c;
  color: #000;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 13px;
  text-decoration: none;
}

.book-now {
  background: #25d366;
  color: #000;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 13px;
  text-decoration: none;
}

.nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #000;
  color: #f5c16c;
  border: none;
  font-size: 22px;
  cursor: pointer;
}
/* ===== FIX SLIDER ARROW CLICK ISSUE ===== */

.upcoming-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.upcoming-grid {
  display: flex;
  gap: 20px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding: 20px 0;
}

/* FORCE arrows ABOVE slider */
.nav-btn {
  position: relative;
  z-index: 999;          /* 🔴 KEY FIX */
  flex-shrink: 0;
}

/* Make sure slider does not block clicks */
.upcoming-grid * {
  pointer-events: auto;
}
.product-section {
  padding: 60px 20px;
  background: #fff;
  font-family: "Segoe UI", sans-serif;
}

.section-title {
  font-size: 32px;
  margin-bottom: 25px;
}

.category-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.cat-btn {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid #e5b84f;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
}

.cat-btn.active,
.cat-btn:hover {
  background: #e5b84f;
  color: #000;
}

.product-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.product-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.product-slider::-webkit-scrollbar {
  display: none;
}

.product-card {
  min-width: 230px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  padding: 20px;
  text-align: center;
  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-card img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin-bottom: 15px;
}

.product-card h4 {
  font-size: 15px;
  margin-bottom: 12px;
}

.view-btn {
  display: inline-block;
  padding: 8px 20px;
  background: #e5b84f;
  color: #000;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
}

.arrow {
  background: #e5b84f;
  border: none;
  font-size: 26px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
}
.product-wrapper {
  position: relative;
  overflow: hidden;
}

.product-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.product-card {
  min-width: 240px;
  text-align: center;
}

.product-card img {
  width: 100%;
  border-radius: 10px;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}
.arrow.left { left: 0; }
.arrow.right { right: 0; }
/* ===== AI EVENTS TEXT COLOR FIX ===== */
.ai-events,
.ai-events h2,
.ai-events .subtitle,
.ai-events h3,
.ai-events p {
  color: #250202;
}

/* Event card text */
.ai-events .event-card h3,
.ai-events .event-card p {
  color: #ffffff;
}

/* View Details button text */
.ai-events .view-details {
  color: #ffffff;
}

/* Book Now button text (if needed) */
.ai-events .book-now {
  color: #ffffff;
}

/* Navigation arrows */
.ai-events .nav-btn {
  color: #ffffff;
}
.ai-events{text-align:center;padding:80px 20px}
.ai-events h2{font-size:36px;margin-bottom:6px}
.ai-events .subtitle{color:#666;margin-bottom:40px}

.upcoming-wrapper{position:relative;max-width:1200px;margin:auto}
.upcoming-grid{
  display:flex;
  gap:24px;
  overflow:hidden;
  scroll-behavior:smooth;
}

.event-card{
  min-width:280px;
  background:#fff;
  border-radius:22px;
  padding:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.event-img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:14px;
  margin-bottom:12px;
}

.btn-row{display:flex;gap:10px;margin-top:12px}
.view-details,.book-now{
  flex:1;
  padding:10px;
  border-radius:30px;
  text-decoration:none;
  font-weight:600;
  font-size:14px;
}
.view-details{background:#f1f3f6;color:#333}
.book-now{background:#c89860;color:#fff}

.nav-btn{
  position:absolute;
  top:45%;
  background:#c89860;
  color:#fff;
  border:none;
  width:36px;
  height:36px;
  border-radius:50%;
  cursor:pointer;
}
.nav-btn.left{left:-18px}
.nav-btn.right{right:-18px}
/* ==============================
   UPCOMING EVENTS UI FIX
   (NON-BREAKING CSS)
   ============================== */

/* CARD SIZE CONSISTENCY */
.event-card{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-width:280px;
  max-width:280px;
  padding:18px;
  border-radius:22px;
}

/* IMAGE FIX – SAME HEIGHT & CENTERED */
.event-img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:16px;
  margin-bottom:14px;
  background:#f1f3f6;
}

/* TEXT CENTER ALIGN */
.event-card h3{
  font-size:17px;
  margin-bottom:4px;
  text-align:center;
}
.event-card p{
  font-size:14px;
  color:#666;
  text-align:center;
  margin-bottom:14px;
}

/* BUTTON ROW FIX */
.btn-row{
  display:flex;
  gap:10px;
  margin-top:auto;
}

/* BUTTON SAME WIDTH & HEIGHT */
.btn-row a{
  flex:1;
  text-align:center;
  padding:12px 0;
  border-radius:30px;
  font-size:14px;
  font-weight:600;
  line-height:1;
}

/* VIEW DETAILS BUTTON (DISABLED LOOK FIX) */
.view-details{
  background:#eef1f5;
  color:#333;
  opacity:1;
}

/* BOOK NOW BUTTON */
.book-now{
  background:#c89860;
  color:#fff;
}

/* SLIDER ALIGN FIX */
.upcoming-grid{
  align-items:stretch;
}

/* ARROW POSITION FIX */
.nav-btn{
  top:50%;
  transform:translateY(-50%);
}

/* MOBILE SAFETY */
@media(max-width:768px){
  .event-card{
    min-width:240px;
  }
}
/* ===============================
   EVENT CARD CONTRAST FIX
   (NON-BREAKING)
   =============================== */

.event-card{
  background:#111827 !important; /* dark navy */
  color:#ffffff !important;
}

/* TITLE */
.event-card h3{
  color:#ffffff !important;
}

/* DATE / SUBTEXT */
.event-card p{
  color:#e5e7eb !important;
}

/* VIEW DETAILS BUTTON */
.view-details{
  background:#1f2937 !important;
  color:#ffffff !important;
}

/* BOOK NOW BUTTON */
.book-now{
  background:#c89860 !important;
  color:#ffffff !important;
}

/* IMAGE BORDER CONTRAST */
.event-img{
  border:2px solid rgba(255,255,255,.15);
}
.consult-trust-box{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin-bottom:14px;
  padding:12px;
  background:#fafafa;
  border:1px solid #eee;
  border-radius:14px;
}

.trust-item{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  color:#333;
}

.trust-icon{
  width:32px;
  height:32px;
  border-radius:50%;
  background:linear-gradient(135deg,#b67a12,#ffb300);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:15px;
}

.trust-item strong{
  font-size:14px;
  display:block;
}

.trust-item small{
  font-size:11px;
  color:#666;
}


.hero-slider{
  position:relative;
  min-height:90vh;
  overflow:hidden;
}

/* ================= BACKGROUND IMAGE SLIDER ================= */
.hero-bg-slider{
  position:absolute;
  inset:0;
  z-index:0;
}
.bg-slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transform:scale(1);
  transition:opacity 1.2s ease-in-out, transform 6s linear;
}
.bg-slide.active{
  opacity:1;
  transform:scale(1.08);
}

/* LIGHT OVERLAY */
.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    90deg,
    rgba(255,255,255,.88),
    rgba(255,255,255,.65),
    rgba(255,255,255,.35)
  );
  z-index:1;
}

/* ================= FOREGROUND SLIDER ================= */
.hero-track{
  position:relative;
  z-index:2;
  display:flex;
  transition:transform .8s ease;
}

.hero-slide{
  min-width:100%;
  display:grid;
  grid-template-columns:50% 50%;
  align-items:center;
  padding:100px 8%;
  gap:40px;
}

/* TEXT */
.hero-content h1{
  font-family:'Cinzel',serif;
  font-size:56px;
  line-height:1.15;
}
.hero-content span{
  background:linear-gradient(135deg,#b67a12,#ffb300);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
.hero-content p{
  margin:20px 0;
  color:#333;
  font-size:18px;
}

/* CTA */
.hero-cta-group{
  display:flex;
  gap:16px;
  margin-top:20px;
}
.hero-btn{
  background:linear-gradient(135deg,#b67a12,#ffb300);
  color:#fff;
  padding:14px 30px;
  border-radius:30px;
  text-decoration:none;
  font-weight:700;
}
.hero-btn-secondary{
  border:2px solid #b67a12;
  color:#b67a12;
  padding:14px 30px;
  border-radius:30px;
  text-decoration:none;
  font-weight:700;
}

/* IMAGE */
.hero-image{
  position:relative;
}
.hero-image img{
  max-width:100%;
}

/* PRICE CARD */
.hero-preview-card{
  position:absolute;
  right:40px;
  bottom:40px;
  background:#fff;
  padding:22px;
  border-radius:18px;
  width:260px;
  box-shadow:0 14px 40px rgba(0,0,0,.18);
}
.preview-badge{
  background:#b67a12;
  color:#fff;
  padding:6px 12px;
  border-radius:20px;
  font-size:11px;
  display:inline-block;
}
.preview-price{
  font-size:36px;
  font-weight:800;
  color:#b67a12;
  margin:10px 0;
}
.preview-feature{
  font-size:14px;
  padding:6px 0;
}
.preview-cta{
  display:block;
  margin-top:10px;
  text-align:center;
  background:#b67a12;
  color:#fff;
  padding:12px;
  border-radius:10px;
  text-decoration:none;
  font-weight:700;
}

/* DOTS */
.hero-nav-dots{
  position:absolute;
  bottom:25px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:10px;
  z-index:3;
}
.nav-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#bbb;
  border:none;
}
.nav-dot.active{background:#b67a12}

/* ARROWS */
.hero-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:42px;
  height:42px;
  border-radius:50%;
  border:none;
  background:#fff;
  font-size:22px;
  cursor:pointer;
  box-shadow:0 6px 18px rgba(0,0,0,.25);
  z-index:3;
}
.hero-arrow-prev{left:20px}
.hero-arrow-next{right:20px}

@media(max-width:900px){
  .hero-slide{grid-template-columns:1fr;text-align:center}
  .hero-preview-card{position:static;margin:20px auto 0}
}

/* OVERLAY */
.consult-popup-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
  opacity:0;
  visibility:hidden;
  transition:.4s ease;
}
.consult-popup-overlay.active{
  opacity:1;
  visibility:visible;
}

/* POPUP BOX */
.consult-popup{
  background:#fff;
  width:340px;
  padding:26px;
  border-radius:22px;
  text-align:center;
  position:relative;
  box-shadow:0 25px 70px rgba(0,0,0,.35);
  animation:popupZoom .5s ease;
}
@keyframes popupZoom{
  from{transform:scale(.8);opacity:0}
  to{transform:scale(1);opacity:1}
}

/* CLOSE */
.popup-close{
  position:absolute;
  top:12px;
  right:14px;
  background:none;
  border:none;
  font-size:22px;
  cursor:pointer;
}

/* BADGE */
.popup-badge{
  background:linear-gradient(135deg,#b67a12,#ffb300);
  color:#fff;
  font-size:11px;
  padding:6px 12px;
  border-radius:20px;
  margin-bottom:12px;
  display:inline-block;
}

/* TEXT */
.consult-popup h3{font-size:22px;margin-bottom:6px}
.popup-sub{font-size:14px;color:#666}

/* PRICE */
.popup-price{
  font-size:42px;
  font-weight:800;
  color:#b67a12;
  margin:12px 0;
}

/* INFO */
.popup-info{
  font-size:13px;
  margin-bottom:18px;
  line-height:1.6;
}

/* BUTTONS */
.popup-btn{
  width:100%;
  padding:14px;
  border-radius:14px;
  font-weight:700;
  font-size:15px;
  border:none;
  cursor:pointer;
  margin-bottom:10px;
  background:linear-gradient(135deg,#b67a12,#ffb300);
  color:#fff;
}
.popup-btn.secondary{
  background:#25D366;
}

/* NOTE */
.popup-note{
  font-size:12px;
  color:#2e7d32;
}

  /* =========================
   OUR ASTROLOGERS SECTION
   ========================= */
.astrologer-section{
  background:#fffdf6;
}

.astrologer-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:32px;
  margin-top:40px;
}

.astrologer-card{
  background:#ffffff;
  border-radius:20px;
  padding:28px;
  box-shadow:0 10px 40px rgba(0,0,0,0.08);
  text-align:center;
  transition:.3s ease;
}

.astrologer-card:hover{
  transform:translateY(-6px);
  box-shadow:0 16px 50px rgba(0,0,0,0.12);
}

.astro-img{
  width:120px;
  height:120px;
  margin:0 auto 16px;
  border-radius:50%;
  overflow:hidden;
  border:4px solid #f1c86a;
}

.astro-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.astrologer-card h3{
  font-size:20px;
  margin-bottom:6px;
}

.astro-role{
  display:block;
  font-size:13px;
  color:#c89b2c;
  margin-bottom:14px;
  font-weight:600;
}

.astrologer-card p{
  font-size:14.5px;
  color:#555;
  line-height:1.7;
}

.astro-points{
  list-style:none;
  padding:0;
  margin:16px 0;
  font-size:14px;
  color:#444;
}

.astro-points li{
  margin-bottom:6px;
}

.astro-actions{
  display:flex;
  justify-content:center;
  gap:12px;
  margin-top:18px;
}

/* === CONSULT POPUP FIX === */
.consult-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.consult-popup-overlay.active {
  display: flex;
}

.consult-popup {
  background: #fff;
  max-width: 420px;
  width: 92%;
  padding: 25px;
  border-radius: 14px;
  position: relative;
  pointer-events: auto;
}

.popup-btn {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  cursor: pointer;
}

/* ================= MOBILE HERO FIX ================= */
@media (max-width: 768px){

  .ssv-hero{
    padding:60px 16px 40px;
    text-align:center;
  }

  .slide-wrap{
    grid-template-columns:1fr;
    gap:18px;
  }

  .slide-img{
    height:220px;
    border-radius:16px;
  }

  .slide-content{
    text-align:center;
    padding:18px;
  }

  .slide-content h1{
    font-size:26px;
  }

  .slide-content p{
    font-size:15px;
    max-width:100%;
  }

  .slide-stats{
    flex-direction:column;
    gap:12px;
  }
}
img, video{
  max-width:100%;
  height:auto;
  display:block;
}
/* ================= MOBILE NAV FIX ================= */
@media (max-width: 900px){

  .nav-menu{
    position:fixed;
    top:70px;
    right:-100%;
    width:100%;
    height:calc(100vh - 70px);
    background:#fff;
    flex-direction:column;
    padding:20px;
    gap:16px;
    transition:right .3s ease;
    z-index:999;
  }

  .nav-menu.active{
    right:0;
  }

  .mobile-toggle{
    display:flex;
    flex-direction:column;
    gap:5px;
    cursor:pointer;
  }

  .mobile-toggle span{
    width:26px;
    height:3px;
    background:#000;
  }
}
@media(max-width:768px){

  .upcoming-grid,
  .completed-slider,
  .product-slider{
    overflow-x:auto;
    scroll-snap-type:x mandatory;
  }

  .event-card,
  .completed-card,
  .product-card{
    min-width:260px;
    scroll-snap-align:start;
  }

  .nav-btn,
  .arrow{
    display:none;
  }
}
/* =====================================================
   🔒 FINAL MOBILE FORCE FIX (DO NOT REMOVE ANY CSS ABOVE)
   This block overrides conflicts safely
   ===================================================== */

/* ---------- GLOBAL SAFETY ---------- */
html, body {
  width: 100%;
  overflow-x: hidden !important;
}

* {
  max-width: 100%;
}

/* ---------- HERO / SLIDER HARD FIX ---------- */
@media (max-width: 900px){

  .hero,
  .hero-slider,
  .ssv-hero{
    min-height: auto !important;
    height: auto !important;
    padding: 90px 16px 40px !important;
  }

  .hero-track,
  .hero-slide{
    width: 100% !important;
    min-width: 100% !important;
  }

  .hero-slide{
    display: block !important;
    grid-template-columns: 1fr !important;
    padding: 40px 16px !important;
    text-align: center !important;
  }

  .slide-wrap{
    display: block !important;
  }

  .slide-img{
    width: 100% !important;
    height: 220px !important;
    margin-bottom: 16px;
  }

  .slide-content{
    background: rgba(255,255,255,0.9);
    padding: 18px !important;
    border-radius: 16px;
    text-align: center !important;
  }

  .slide-content h1{
    font-size: 24px !important;
    line-height: 1.3;
  }

  .slide-content p{
    font-size: 14.5px !important;
  }

  .slide-stats{
    display: flex !important;
    flex-direction: column !important;
    gap: 10px;
  }
}

/* ---------- NAVIGATION FORCE FIX ---------- */
@media (max-width: 900px){

  .nav{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }

  .nav-menu{
    position: fixed !important;
    inset: 70px 0 0 0 !important;
    background: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 24px !important;
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 9999;
  }

  .nav-menu.active{
    transform: translateX(0);
  }

  .mobile-toggle{
    display: flex !important;
  }
}

/* ---------- SIDE FLOATING BOXES FIX ---------- */
@media (max-width: 900px){

  .ganesh-box,
  .vidhya-container{
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 420px;
    margin: 20px auto;
    z-index: 1;
  }
}

/* ---------- SLIDERS (EVENT / PRODUCT / VIDEO) ---------- */
@media (max-width: 768px){

  .upcoming-grid,
  .completed-slider,
  .product-slider,
  .video-grid{
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 10px;
  }

  .event-card,
  .completed-card,
  .product-card,
  .video-card{
    min-width: 240px !important;
    scroll-snap-align: start;
  }

  .nav-btn,
  .arrow{
    display: none !important;
  }
}

/* ---------- FORMS & GRIDS ---------- */
@media (max-width: 768px){

  .contact-grid,
  .about-grid,
  .astro-container,
  .services-grid,
  .footer-grid{
    grid-template-columns: 1fr !important;
  }

  .container{
    padding: 0 14px;
  }
}

/* ---------- POPUPS & CHAT ---------- */
@media (max-width: 768px){

  .astrobot-chat,
  .consult-popup{
    width: 94% !important;
    left: 3% !important;
    right: 3% !important;
  }
}

/* ---------- IMAGE / VIDEO FINAL SAFETY ---------- */
img, video{
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ===== MOBILE HERO FIX ===== */
@media (max-width: 768px) {
  .hero {
    min-height: 100svh;   /* mobile-safe viewport */
    height: auto;
    padding-top: 80px;
    padding-bottom: 60px;
  }

  .hero-content {
    padding: 0 20px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 1.9rem;
    line-height: 1.25;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-actions {
    justify-content: center;
  }
}
/* ===== POPUP MOBILE FIX ===== */
.popup, .modal {
  max-width: 92%;
  margin: auto;
}

@media (max-width: 768px) {
  .popup, .modal {
    bottom: 20px;
    top: auto;
    transform: none;
    border-radius: 16px;
  }
}
.hero {
  touch-action: pan-y;
}
/* ===== POPUP VISIBILITY FIX ===== */
.popup,
.modal,
#popup {
  display: none;
}

.popup.show,
.modal.show,
#popup.show {
  display: flex;
}
/* ================= MOBILE NAV FIX ================= */

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 26px;
  height: 3px;
  background: #d4af37;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* MOBILE VIEW */
@media (max-width: 768px) {

  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 64px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 64px);
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    gap: 18px;
    transition: left 0.35s ease;
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li a {
    font-size: 18px;
    color: #111;
  }

  .theme-toggle {
    font-size: 20px;
  }
}

/* Toggle animation */
.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}



