/* ==========================================================================
   VEDADI JYOTISH KARMKAND SHIKSHAN-PRASHIKSHAN KENDRA (VJKSPK)
   Custom Vedic Design System & Master Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,700;1,400&family=Yantramanav:wght@400;500;700&display=swap');

:root {
  --primary-maroon: #9c0404;
  --primary-maroon-dark: #740202;
  --primary-maroon-light: #b91c1c;

  --vedic-saffron: #f59e0b;
  --vedic-gold: #d97706;
  --vedic-gold-light: #fbbf24;
  --vedic-gold-bg: #fffbeb;

  --bg-cream: #fdfbf7;
  --bg-card: #ffffff;
  --bg-header-top: #f5a623;

  --text-dark: #1e293b;
  --text-muted: #475569;
  --text-light: #64748b;

  --border-gold: rgba(217, 119, 6, 0.22);
  --border-light: #e2e8f0;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 20px rgba(156, 4, 4, 0.08);
  --shadow-lg: 0 12px 36px rgba(156, 4, 4, 0.12);
  --shadow-gold: 0 8px 24px rgba(245, 158, 11, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 50px;

  --font-heading: 'Cinzel', serif;
  --font-body: 'Outfit', sans-serif;
  --font-hindi: 'Yantramanav', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--vedic-gold-light) #f8fafc;
}

/* Custom Vedic Scrollbars */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: #fdfbf7;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--vedic-gold-light), var(--vedic-gold));
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-maroon);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--primary-maroon);
  font-weight: 700;
  letter-spacing: 0.3px;
}

a {
  color: var(--primary-maroon);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--vedic-gold);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.page-main-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
}

@media (max-width: 768px) {
  .page-main-title {
    font-size: 1.65rem !important;
  }
}

@media (max-width: 480px) {
  .page-main-title {
    font-size: 1.4rem !important;
  }
}

/* Responsive Grid Utility Classes */
.detail-layout-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.grid-4-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.about-layout-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.admin-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

@media (max-width: 992px) {

  .detail-layout-grid,
  .contact-layout-grid,
  .about-layout-grid,
  .admin-split-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .grid-4-col {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 640px) {

  .grid-2-col,
  .grid-4-col {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* ==========================================================================
   TOP BAR & NAVIGATION
   ========================================================================== */
.site-header-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #ffffff;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.site-header-sticky.is-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.top-bar {
  background: #f7c331;
  padding: 8px 0;
  color: #fff;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: padding 0.2s ease;
}

.top-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-bar-btn {
  background: var(--primary-maroon);
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: var(--radius-pill);
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(156, 4, 4, 0.4);
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease, background 0.2s ease, padding 0.2s ease;
}

.top-bar-btn:hover {
  background: var(--primary-maroon-dark);
  transform: translateY(-1px);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-social-link {
  color: #1a1a1a;
  font-size: 1.05rem;
  transition: transform 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.top-social-link:hover {
  color: var(--primary-maroon);
  transform: scale(1.15);
}

.main-header {
  background: #ffffff;
  border-bottom: 1px solid #f1f1f1;
  width: 100%;
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.main-header.is-scrolled {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.main-header .container {
  max-width: 1440px;
  width: 100%;
  padding: 0 1.25rem;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  gap: 12px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  flex-shrink: 0;
}

.brand-info {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.2;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.68rem;
  color: var(--vedic-gold);
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-menu>li {
  white-space: nowrap;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-link {
  font-weight: 600;
  font-size: 0.88rem;
  color: #334155;
  padding: 8px 3px;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1.2;
  flex-shrink: 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-maroon);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--primary-maroon);
  border-radius: 2px;
}

.nav-cta-btn {
  background: linear-gradient(135deg, var(--vedic-saffron), var(--vedic-gold));
  color: #fff !important;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 1.2;
}

.nav-cta-btn:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

/* ==========================================================================
   NAVIGATION AUTH / LOGIN BUTTON & USER DROPDOWN
   ========================================================================== */
.nav-item-auth {
  position: relative;
  list-style: none;
  display: flex;
  align-items: center;
}

.nav-guest-dropdown,
.nav-user-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-guest-dropdown::after,
.nav-user-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
  pointer-events: auto;
}

/* Guest Login Button (Adjacent to Book Call) */
.nav-login-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: linear-gradient(135deg, #800020 0%, #580016 100%);
  color: #ffffff !important;
  border: 1.5px solid rgba(246, 192, 38, 0.45);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(128, 0, 32, 0.22);
  transition: all 0.22s ease;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
}

.nav-login-icon-btn i.fa-user-circle {
  font-size: 1rem;
  color: #f6c026;
  transition: transform 0.2s ease;
}

.nav-login-icon-btn .nav-login-caret {
  font-size: 0.62rem;
  opacity: 0.85;
  margin-left: 2px;
  transition: transform 0.2s ease;
}

.nav-login-icon-btn:hover {
  background: linear-gradient(135deg, #990026 0%, #6b001a 100%);
  border-color: #f6c026;
  box-shadow: 0 4px 14px rgba(128, 0, 32, 0.35);
  transform: translateY(-1px);
}

.nav-login-icon-btn:hover i.fa-user-circle {
  transform: scale(1.12);
}

.nav-guest-dropdown:hover .nav-login-caret,
.nav-guest-dropdown.is-open .nav-login-caret {
  transform: rotate(180deg);
}

/* Logged-In User Profile Button */
.nav-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px 4px 5px;
  background: #fff7ed;
  color: #1e293b;
  border: 1.5px solid #fed7aa;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
}

.nav-user-btn:hover,
.nav-user-dropdown.is-open .nav-user-btn {
  background: #ffedd5;
  border-color: #f97316;
  transform: translateY(-1px);
}

.nav-user-btn.admin {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.nav-user-btn.admin:hover,
.nav-user-dropdown.is-open .nav-user-btn.admin {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.nav-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #800020, #b45309);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.80rem;
  font-weight: 800;
  box-shadow: 0 2px 4px rgba(128, 0, 32, 0.25);
  flex-shrink: 0;
}

.nav-user-avatar.admin {
  background: linear-gradient(135deg, #1e293b, #0f172a);
}

.nav-user-name {
  color: #1e293b;
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
  display: inline-block;
  line-height: 1;
}

.nav-user-chevron {
  font-size: 0.65rem;
  color: #64748b;
  transition: transform 0.2s ease;
}

.nav-user-dropdown.is-open .nav-user-chevron,
.nav-user-dropdown:hover .nav-user-chevron {
  transform: rotate(180deg);
}

/* Nav Dropdown Floating Menu */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 270px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.05);
  border-top: 3.5px solid var(--primary-maroon);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  z-index: 1050;
  overflow: hidden;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 18px;
  width: 12px;
  height: 12px;
  background: var(--primary-maroon);
  transform: rotate(45deg);
  border-radius: 2px;
}

.nav-guest-dropdown:hover .nav-dropdown-menu,
.nav-guest-dropdown.is-open .nav-dropdown-menu,
.nav-user-dropdown:hover .nav-dropdown-menu,
.nav-user-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.guest-menu-title {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #94a3b8;
  padding: 10px 16px 6px;
  background: #fafaf9;
  border-bottom: 1px solid #f1f5f9;
}

.nav-dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  color: #334155;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  transition: all 0.15s ease;
  line-height: 1.3;
}

.nav-dropdown-link:hover {
  background: #fdf2f2;
  color: var(--primary-maroon);
  padding-left: 18px;
}

.nav-dropdown-link i {
  width: 20px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--primary-maroon);
  flex-shrink: 0;
}

.nav-dropdown-link.demo i {
  color: #f59e0b;
}

.nav-dropdown-link.admin i {
  color: #475569;
}

.nav-dropdown-link strong {
  display: block;
  font-size: 0.86rem;
  color: #1e293b;
  line-height: 1.25;
}

.nav-dropdown-link small {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 1px;
}

.nav-dropdown-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 4px 0;
}

.nav-dropdown-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fafaf9;
  border-bottom: 1px solid #f1f5f9;
}

.dropdown-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #800020, #990026);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  border: 2px solid #f6c026;
  flex-shrink: 0;
}

.dropdown-user-avatar.admin {
  background: #1e293b;
  border-color: #cbd5e1;
}

.dropdown-user-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.dropdown-user-role {
  font-size: 0.72rem;
  color: #800020;
  font-weight: 600;
  margin-top: 2px;
}

.nav-dropdown-body {
  padding: 4px 0;
}

.nav-dropdown-footer {
  padding: 8px 12px;
  border-top: 1px solid #f1f5f9;
  background: #fafaf9;
}

.nav-dropdown-logout-btn {
  width: 100%;
  background: #ffffff;
  border: 1px solid #fee2e2;
  color: #dc2626;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.nav-dropdown-logout-btn:hover {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
}

@media (max-width: 1320px) {
  .nav-menu {
    gap: 9px;
  }

  .nav-link {
    font-size: 0.83rem;
    padding: 6px 2px;
  }

  .nav-cta-btn {
    padding: 6px 11px;
    font-size: 0.79rem;
  }

  .nav-login-icon-btn {
    padding: 6px 11px;
    font-size: 0.79rem;
  }

  .nav-user-btn {
    padding: 3px 8px 3px 4px;
    font-size: 0.79rem;
  }

  .nav-user-name {
    max-width: 90px;
    font-size: 0.79rem;
  }
}

@media (max-width: 1180px) {
  .header-container {
    gap: 8px;
    padding: 8px 0;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-title {
    font-size: 0.88rem;
  }

  .brand-subtitle {
    font-size: 0.60rem;
  }

  .nav-menu {
    gap: 6px;
  }

  .nav-link {
    font-size: 0.77rem;
    padding: 4px 1px;
  }

  .nav-cta-btn {
    padding: 5px 8px;
    font-size: 0.74rem;
    gap: 4px;
  }

  .nav-login-icon-btn {
    padding: 5px 8px;
    font-size: 0.74rem;
    gap: 4px;
  }

  .nav-user-btn {
    padding: 2px 6px 2px 3px;
    font-size: 0.74rem;
    gap: 4px;
  }

  .nav-user-avatar {
    width: 25px;
    height: 25px;
    font-size: 0.72rem;
  }

  .nav-user-name {
    max-width: 72px;
    font-size: 0.74rem;
  }
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-maroon);
  cursor: pointer;
}

/* ==========================================================================
   HERO SLIDER / CAROUSEL SECTION
   ========================================================================== */
.hero-slider-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0c1a27;
  border-bottom: 5px solid var(--vedic-saffron);
}

.slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider-slide {
  position: relative;
  width: 100%;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slider-slide.active {
  display: block;
  opacity: 1;
}

.slider-img-container {
  width: 100%;
  position: relative;
  line-height: 0;
  overflow: hidden;
}

.slider-bg-img {
  width: 100%;
  height: auto;
  max-height: 650px;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slider-slide.active .slider-bg-img {
  transform: scale(1.02);
}

.slider-graphic-link {
  display: block;
  width: 100%;
  text-decoration: none;
  cursor: pointer;
}

.slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(12, 26, 39, 0.8) 0%, rgba(12, 26, 39, 0.5) 55%, rgba(12, 26, 39, 0.15) 100%);
  pointer-events: none;
}

.slider-content-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  z-index: 3;
  padding: 30px 0;
}

.slider-content-box {
  max-width: 740px;
  animation: slideContentUp 0.8s ease forwards;
}

@keyframes slideContentUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slider-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid var(--vedic-gold-light);
  color: var(--vedic-gold-light);
  padding: 6px 18px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 18px;
  backdrop-filter: blur(6px);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.slider-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.slider-subtitle {
  font-size: 1.12rem;
  color: #f1f5f9;
  line-height: 1.7;
  margin-bottom: 28px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.slider-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.slider-btn {
  box-shadow: 0 4px 15px rgba(156, 4, 4, 0.5);
}

.slider-btn-sec {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}

.slider-btn-sec:hover {
  background: #ffffff;
  color: #111827 !important;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
}

.slider-arrow:hover {
  background: var(--primary-maroon);
  border-color: var(--primary-maroon);
  transform: translateY(-50%) scale(1.1);
  color: #ffffff;
}

.slider-prev {
  left: 24px;
}

.slider-next {
  right: 24px;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider-dot.active {
  background: var(--vedic-gold);
  width: 32px;
  border-radius: 8px;
  border-color: #ffffff;
}

font-size: 1rem;
font-weight: 700;
padding: 12px 28px;
border-radius: var(--radius-pill);
border: 2px solid #ffffff;
box-shadow: 0 4px 14px rgba(156, 4, 4, 0.5);
display: inline-flex;
align-items: center;
gap: 8px;
}

.hero-btn:hover {
  background: var(--primary-maroon-dark);
  transform: scale(1.03);
}

.hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-circles-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.circle-img-card {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 6px solid var(--vedic-saffron);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.circle-img-card:hover {
  transform: scale(1.05);
  border-color: #ffffff;
}

.circle-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.circle-img-card.offset {
  margin-left: -50px;
}

/* ==========================================================================
   ABOUT INTRO SECTION
   ========================================================================== */
.about-intro-section {
  padding: 70px 0;
  background-color: #ffffff;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.section-tag {
  color: var(--vedic-gold);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  line-height: 1.25;
  margin-bottom: 20px;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.about-trio-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.about-trio-img {
  max-width: 100%;
  width: 460px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.12));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-trio-img:hover {
  transform: scale(1.03) translateY(-4px);
}

.node-circles-cluster {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.node-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 5px solid var(--primary-maroon);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: -20px;
  background: #fff;
  transition: transform 0.3s ease;
}

.node-circle:nth-child(2) {
  width: 175px;
  height: 175px;
  margin-right: 60px;
  z-index: 2;
  border-color: var(--vedic-gold);
}

.node-circle:nth-child(3) {
  width: 160px;
  height: 160px;
  margin-left: 60px;
  z-index: 3;
}

.node-circle:hover {
  transform: scale(1.08);
}

.node-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   FUNFACTS / COUNTER BAR
   ========================================================================== */
.counter-bar {
  background: linear-gradient(135deg, #f5a623 0%, #d97706 100%);
  padding: 40px 0;
  color: #1a1a1a;
  border-top: 2px solid rgba(255, 255, 255, 0.4);
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.counter-card {
  padding: 10px;
}

.counter-num {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #111827;
  line-height: 1.1;
  margin-bottom: 6px;
}

.counter-label {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1f2937;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
  padding: 85px 0;
  background-color: #f6eee9;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-header h2 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.service-card {
  background: #ffffff;
  border-radius: 28px;
  border: 2.5px solid #f6c026;
  padding: 48px 30px 40px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 430px;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
}

.service-card:hover {
  border-color: #7b0d0d;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(123, 13, 13, 0.12);
}

.service-icon-wrap {
  margin: 0 auto 24px;
  color: #f6c026;
  font-size: 3.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: color 0.35s ease, transform 0.35s ease;
}

.service-card:hover .service-icon-wrap {
  color: #7b0d0d;
  transform: scale(1.06);
}

.service-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #1e293b;
  line-height: 1.35;
  transition: color 0.35s ease;
}

.service-card:hover h3 {
  color: #7b0d0d;
}

.service-card p {
  color: #334155;
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 28px;
  flex-grow: 1;
}

.btn-read-more {
  background: #f6c026;
  color: #1e293b !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 30px;
  border-radius: 6px;
  display: inline-block;
  align-self: center;
  text-decoration: none;
  transition: all 0.35s ease;
}

.service-card:hover .btn-read-more,
.btn-read-more:hover {
  background: #7b0d0d;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(123, 13, 13, 0.35);
}

/* ==========================================================================
   SCHEDULE CONSULTATION BANNER
   ========================================================================== */
.consultation-cta-banner {
  padding: 70px 0;
  background: #ffffff;
}

.consultation-banner-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}

.banner-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

.banner-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.btn-maroon {
  background: var(--primary-maroon);
  color: #ffffff !important;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.btn-maroon:hover {
  background: var(--primary-maroon-dark);
  transform: translateY(-2px);
}

/* ==========================================================================
   TRENDING COURSES SECTION (Saffron Pattern Background & Emblem Cards)
   ========================================================================== */
.courses-section {
  padding: 85px 0 95px;
  background-color: #ea580c;
  background-image: url('../images/trending-courses-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--vedic-saffron);
}

.trending-courses-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px;
}

.trending-courses-title {
  font-size: 2.35rem;
  font-weight: 700;
  color: #ffffff !important;
  margin-bottom: 6px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.trending-courses-subdivider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 10px auto 14px;
}

.trending-courses-subdivider .dot {
  width: 5px;
  height: 5px;
  background: #ffffff;
  border-radius: 50%;
  opacity: 0.85;
}

.trending-courses-subdivider .line {
  width: 42px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  opacity: 0.9;
}

.trending-courses-sub {
  color: #ffffff !important;
  font-size: 1.05rem;
  opacity: 0.95;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.trending-courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 992px) {
  .trending-courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .trending-courses-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.trending-course-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 42px 28px 36px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.trending-course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
}

.trending-course-logo-wrap {
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trending-course-logo {
  width: 175px;
  height: 175px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.06));
  transition: transform 0.35s ease;
}

.trending-course-card:hover .trending-course-logo {
  transform: scale(1.05);
}

.trending-course-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
  line-height: 1.35;
}

.trending-course-divider {
  width: 38px;
  height: 2px;
  background: #9c0404;
  margin: 8px auto 8px;
  border-radius: 2px;
}

.trending-course-access {
  font-size: 0.86rem;
  color: #94a3b8;
  font-weight: 500;
  margin-bottom: 26px;
}

.btn-trending-buy {
  background: #8b0000;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 34px;
  border-radius: 6px;
  display: inline-block;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(139, 0, 0, 0.35);
}

.btn-trending-buy:hover {
  background: #6e0000;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(110, 0, 0, 0.5);
}

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

.course-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(156, 4, 4, 0.12);
}

.course-thumb-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.course-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.course-card:hover .course-thumb-wrap img {
  transform: scale(1.06);
}

.course-access-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary-maroon);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.course-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-body h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #1e293b;
}

.course-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.course-price-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.course-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-maroon);
}

/* ==========================================================================
   ZODIAC / HOROSCOPE SECTION
   ========================================================================== */
.horoscope-section {
  padding: 80px 0;
  background: #ffffff;
  color: var(--text-dark);
  border-top: 1px solid #f1f5f9;
}

.horoscope-section h2 {
  color: #1e293b;
}

.horoscope-section .section-header p {
  color: var(--text-muted);
}

.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 24px;
}

.zodiac-card {
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-md);
  padding: 26px 16px 22px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.zodiac-card:hover {
  background: #fff8f0;
  border-color: var(--primary-maroon);
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(156, 4, 4, 0.12);
}

.zodiac-icon-wrap {
  width: 110px;
  height: 110px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #fff5e6;
  border: 1.5px solid #fed7aa;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 4px 10px rgba(246, 192, 38, 0.12);
}

.zodiac-card:hover .zodiac-icon-wrap {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(156, 4, 4, 0.18);
  border-color: var(--primary-maroon);
}

.zodiac-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.06));
}

.zodiac-name-en {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 3px;
  transition: color 0.3s ease;
}

.zodiac-card:hover .zodiac-name-en {
  color: var(--primary-maroon);
}

.zodiac-name-hi {
  font-family: var(--font-hindi);
  font-size: 0.95rem;
  color: var(--primary-maroon);
  font-weight: 600;
}

/* ==========================================================================
   TESTIMONIALS (Red Astrology Wheel Background with White Cards)
   ========================================================================== */
.testimonials-section {
  padding: 85px 0 75px;
  background-color: #9c0404;
  background-image: linear-gradient(rgba(165, 12, 12, 0.72), rgba(135, 6, 6, 0.78)), url('../images/testimonials-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 46px;
}

.testimonials-title {
  font-size: 2.45rem;
  font-weight: 700;
  color: #ffffff !important;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.testimonials-subtitle {
  color: #ffffff !important;
  font-size: 1.02rem;
  line-height: 1.6;
  opacity: 0.95;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

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

.testimonial-slider-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  gap: 30px;
}

.testimonial-slide {
  flex: 0 0 calc((100% - 60px) / 3);
  max-width: calc((100% - 60px) / 3);
  box-sizing: border-box;
}

@media (max-width: 992px) {
  .testimonial-slide {
    flex: 0 0 calc((100% - 30px) / 2);
    max-width: calc((100% - 30px) / 2);
  }
}

@media (max-width: 640px) {
  .testimonial-slide {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.testimonial-item-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.35s ease;
  width: 100%;
}

.testimonial-card {
  background: #ffffff;
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 36px 26px 28px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 230px;
  transition: all 0.35s ease;
  cursor: pointer;
}

.testimonial-item-wrap:hover .testimonial-card,
.testimonial-card:hover {
  background: #fff8e8;
  border-color: #f6c026;
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.45), 0 0 24px rgba(246, 192, 38, 0.35);
}

.testimonial-quote-icon {
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
  transition: transform 0.35s ease;
}

.testimonial-quote-icon svg {
  display: block;
  transition: all 0.35s ease;
}

.testimonial-item-wrap:hover .testimonial-quote-icon svg path,
.testimonial-card:hover .testimonial-quote-icon svg path {
  stroke: #d97706;
  fill: rgba(245, 158, 11, 0.12);
}

.testimonial-item-wrap:hover .testimonial-quote-icon,
.testimonial-card:hover .testimonial-quote-icon {
  transform: scale(1.12);
}

.testimonial-quote {
  font-style: normal;
  color: #334155;
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 18px;
  font-weight: 500;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.rating-stars {
  color: #f59e0b;
  font-size: 1.05rem;
  display: flex;
  gap: 4px;
  justify-content: center;
  transition: transform 0.35s ease;
}

.testimonial-item-wrap:hover .rating-stars,
.testimonial-card:hover .rating-stars {
  transform: scale(1.08);
}

.testimonial-author-block {
  margin-top: 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #f6c026;
  padding: 3px;
  margin: 0 auto 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
}

.testimonial-item-wrap:hover .testimonial-avatar {
  border-color: #ffffff;
  transform: scale(1.14);
  box-shadow: 0 0 20px rgba(246, 192, 38, 0.9), 0 6px 16px rgba(0, 0, 0, 0.4);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.client-author {
  font-weight: 700;
  color: #ffffff !important;
  font-size: 1.05rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: color 0.35s ease;
}

.testimonial-item-wrap:hover .client-author {
  color: #f6c026 !important;
  text-shadow: 0 2px 10px rgba(246, 192, 38, 0.5);
}

.testimonial-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.t-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f59e0b;
  border: none;
  cursor: pointer;
  padding: 0;
  display: inline-block;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.t-dot:hover {
  opacity: 0.9;
  transform: scale(1.2);
}

.t-dot.active {
  width: 12px;
  height: 12px;
  background: #ffffff;
  opacity: 1;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
}

.faqs-section {
  padding: 80px 0;
  background: #fdfbf7;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: #f6c026;
  box-shadow: 0 6px 22px rgba(246, 192, 38, 0.18);
}

.faq-question {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #1e293b;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border: none;
  width: 100%;
  text-align: left;
  transition: all 0.25s ease;
}

.faq-q-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-grow: 1;
}

.faq-q-icon {
  font-size: 1.25rem;
  color: #f6c026;
  transition: color 0.25s ease;
}

.faq-q-text {
  font-size: 1.05rem;
  font-weight: 700;
}

.faq-toggle-icon {
  font-size: 1.1rem;
  color: #f6c026;
  font-weight: 700;
  transition: color 0.25s ease, transform 0.25s ease;
}

.faq-question:hover {
  background: #fffdf5;
}

.faq-item.active .faq-question,
.faq-question.active {
  background: #f6c026 !important;
  color: #ffffff !important;
}

.faq-item.active .faq-q-icon,
.faq-question.active .faq-q-icon {
  color: #ffffff !important;
}

.faq-item.active .faq-toggle-icon,
.faq-question.active .faq-toggle-icon {
  color: #ffffff !important;
}

.faq-answer {
  padding: 22px 24px;
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.7;
  background: #ffffff;
  border-top: 1px solid #fef3c7;
}

.faq-answer p {
  margin: 0;
  color: #475569;
}



/* ==========================================================================
   FLOATING ACTION BUTTONS
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 9999;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 1.4rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  text-decoration: none;
  flex-shrink: 0;
}

.float-btn:hover {
  transform: scale(1.12) translateY(-2px);
  animation-play-state: paused;
}

/* WhatsApp Circular Button with Smooth Pulse Glow */
.float-whatsapp {
  background: #25D366;
  font-size: 1.55rem;
  animation: pulse-whatsapp-smooth 2.4s infinite ease-in-out;
}

.float-whatsapp:hover {
  background: #20b859;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
}

/* Call Circular Button with Smooth Pulse Glow */
.float-call {
  background: var(--primary-maroon, #9c0404);
  font-size: 1.3rem;
  animation: pulse-call-smooth 2.4s infinite ease-in-out 1.2s;
}

.float-call:hover {
  background: var(--primary-maroon-dark, #740202);
  box-shadow: 0 10px 28px rgba(156, 4, 4, 0.6);
}

/* Smooth Blinking & Aura Wave Keyframes */
@keyframes pulse-whatsapp-smooth {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7), 0 6px 18px rgba(0, 0, 0, 0.25);
  }

  50% {
    transform: scale(1.06);
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0), 0 8px 24px rgba(37, 211, 102, 0.35);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 6px 18px rgba(0, 0, 0, 0.25);
  }
}

@keyframes pulse-call-smooth {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(156, 4, 4, 0.7), 0 6px 18px rgba(0, 0, 0, 0.25);
  }

  50% {
    transform: scale(1.06);
    box-shadow: 0 0 0 12px rgba(156, 4, 4, 0), 0 8px 22px rgba(156, 4, 4, 0.35);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(156, 4, 4, 0), 0 6px 18px rgba(0, 0, 0, 0.25);
  }
}

/* ==========================================================================
   FLASH POPUP TOAST NOTIFICATIONS
   ========================================================================== */
.flash-toast-popup {
  position: fixed;
  top: 30px;
  right: 30px;
  max-width: 450px;
  width: calc(100% - 60px);
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  z-index: 999999;
  border-left: 5px solid #10b981;
  animation: toastSlideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  overflow: hidden;
}

.flash-toast-popup.toast-error {
  border-left-color: #ef4444;
}

.toast-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.toast-error .toast-icon-circle {
  background: #fef2f2;
  color: #ef4444;
}

.toast-body-content {
  flex-grow: 1;
  padding-right: 8px;
}

.toast-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 3px;
  font-family: var(--font-body);
}

.toast-message {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.5;
}

.toast-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.toast-close-btn:hover {
  color: #0f172a;
}

.toast-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: #10b981;
  animation: toastProgress 5s linear forwards;
}

.toast-error .toast-progress-bar {
  background: #ef4444;
}

@keyframes toastSlideDown {
  from {
    opacity: 0;
    transform: translateY(-25px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toastSlideUp {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateY(-25px) scale(0.96);
  }
}

@keyframes toastProgress {
  from {
    width: 100%;
  }

  to {
    width: 0%;
  }
}

@media (max-width: 576px) {
  .flash-toast-popup {
    top: 20px;
    right: 16px;
    left: 16px;
    width: auto;
    padding: 14px 16px;
  }
}

/* ==========================================================================
   MODAL DIALOGS & FORMS
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #ffffff;
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-maroon), var(--primary-maroon-dark));
  color: #ffffff;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
}

.modal-body {
  padding: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: #1e293b;
  background-color: #f8fafc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--vedic-gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
  background-color: #ffffff;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ==========================================================================
   ALERTS
   ========================================================================== */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-danger {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ==========================================================================
   MOBILE DRAWER & NAVIGATION
   ========================================================================== */
.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 310px;
  max-width: 85vw;
  height: 100vh;
  background: #ffffff;
  z-index: 3000;
  box-shadow: 6px 0 30px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.active {
  transform: translateX(0);
}

.mobile-nav-header {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #fef3c7;
  background: #fffdf7;
}

.mobile-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-brand-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.mobile-brand-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-maroon);
  line-height: 1.2;
}

.mobile-brand-sub {
  font-size: 0.65rem;
  color: var(--vedic-gold);
  font-weight: 700;
  letter-spacing: 0.6px;
}

.mobile-nav-close {
  background: #fee2e2;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--primary-maroon);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.mobile-nav-close:hover {
  background: #fca5a5;
}

.mobile-nav-list {
  list-style: none;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 0.98rem;
  font-weight: 600;
  color: #1e293b;
  transition: all 0.2s ease;
}

.mobile-nav-link i {
  width: 20px;
  color: var(--vedic-gold);
  font-size: 1.05rem;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: #fffbeb;
  color: var(--primary-maroon);
  font-weight: 700;
}

.mobile-nav-link.active i {
  color: var(--primary-maroon);
}

.mobile-nav-footer {
  padding: 18px 16px;
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
}

.mobile-contact-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 8px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  text-decoration: none;
}

.mobile-contact-pill.whatsapp {
  background: #25D366;
  color: #ffffff !important;
  border-color: #25D366;
  margin-bottom: 0;
}

/* ==========================================================================
   SITE FOOTER (EXACT MATCH TO VEDADI THEME - BASE DESKTOP)
   ========================================================================== */
.site-footer {
  background: #9c0404 !important;
  color: #ffffff;
  padding: 60px 0 24px;
  position: relative;
  font-family: var(--font-body);
  border-top: 4px solid var(--vedic-gold, #f5a623);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.footer-about-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-wrap {
  margin-bottom: 18px;
}

.footer-logo-img {
  width: 130px;
  height: auto;
  max-height: 130px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
  transition: transform 0.3s ease;
  display: block;
}

.footer-logo-img:hover {
  transform: scale(1.05);
}

.footer-about-text {
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0;
  opacity: 0.95;
}

.footer-heading {
  color: #fbbf24;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.6px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li a {
  color: #ffffff !important;
  font-size: 0.98rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-block;
  text-decoration: none;
}

.footer-links li a:hover {
  color: #fbbf24 !important;
  transform: translateX(4px);
}

.footer-hours-box {
  margin-bottom: 18px;
}

.footer-hours-item {
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-hours-item strong {
  color: #ffffff;
}

.hours-icon {
  margin-right: 6px;
  font-size: 1.1rem;
}

.footer-social-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fbbf24;
  color: #111827 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}

.footer-social-btn:hover {
  background: #ffffff;
  color: #9c0404 !important;
  transform: scale(1.12);
}

/* Contact Page Social Badges */
.contact-social-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 1.05rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
  text-decoration: none;
}

.contact-social-badge:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.contact-social-badge.facebook {
  background: #1877f2;
}

.contact-social-badge.twitter {
  background: #0f172a;
}

.contact-social-badge.youtube {
  background: #ff0000;
}

.contact-social-badge.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.contact-social-badge.whatsapp {
  background: #25D366;
}

.contact-social-badge.telegram {
  background: #229ed9;
}

.contact-social-badge.linkedin {
  background: #0077b5;
}

.btn-footer-click {
  background: #fbbf24;
  color: #740202 !important;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 10px 24px;
  border-radius: 6px;
  display: inline-block;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
}

.btn-footer-click:hover {
  background: #ffffff;
  color: #9c0404 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 36px 0 18px;
}

.footer-bottom-bar {
  text-align: center;
  padding: 8px 0 4px;
}

.footer-bottom-bar p {
  color: #ffffff;
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.6;
}

.dev-highlight {
  color: #fbbf24;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.dev-highlight:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {

  .hero-grid,
  .about-intro-grid,
  .consultation-banner-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .hero-media {
    margin-top: 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.45rem;
    color: var(--primary-maroon);
    background: #fff7ed;
    border: 1px solid #ffedd5;
    border-radius: 8px;
    cursor: pointer;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  /* Hero Slider Responsive (Tablets & Mobile) */
  .hero-slider-section {
    border-bottom: 4px solid var(--vedic-saffron);
    position: relative;
    padding-bottom: 0 !important;
    background: #071018;
  }

  .slider-slide.has-text-slide,
  .slider-slide:not(.is-graphic-slide) {
    min-height: 350px;
  }

  .slider-slide.has-text-slide .slider-bg-img,
  .slider-slide:not(.is-graphic-slide) .slider-bg-img {
    height: 350px;
    min-height: 350px;
    max-height: 400px;
    object-fit: cover;
    object-position: center;
    background: #0c1a27;
  }

  .slider-slide.is-graphic-slide .slider-bg-img {
    width: 100% !important;
    height: auto !important;
    min-height: unset !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block !important;
    background: #071018 !important;
  }

  .slider-overlay {
    background: linear-gradient(180deg, rgba(12, 26, 39, 0.7) 0%, rgba(12, 26, 39, 0.85) 55%, rgba(12, 26, 39, 0.95) 100%);
  }

  .slider-content-wrap {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .slider-content-box {
    max-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    text-align: center;
  }

  .slider-badge {
    font-size: 0.75rem;
    padding: 3px 12px;
    margin-bottom: 8px;
    display: inline-flex;
  }

  .slider-title {
    font-size: 1.35rem;
    line-height: 1.25;
    margin-bottom: 8px;
    font-weight: 800;
  }

  .slider-subtitle {
    font-size: 0.85rem;
    line-height: 1.45;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .slider-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 0;
  }

  .slider-btn,
  .slider-btn-sec {
    width: auto;
    padding: 8px 18px;
    font-size: 0.85rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  /* Slider Controls: Hide dots on mobile view for clean touch UX */
  .slider-dots {
    display: none !important;
  }

  .slider-arrow {
    position: absolute;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    width: 34px;
    height: 34px;
    font-size: 0.82rem;
    background: rgba(12, 26, 39, 0.6) !important;
    border: 1.5px solid rgba(246, 192, 38, 0.45) !important;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
  }

  .slider-prev {
    left: 8px !important;
  }

  .slider-next {
    right: 8px !important;
  }

  .slider-arrow:hover,
  .slider-arrow:active {
    background: var(--primary-maroon);
    border-color: var(--vedic-gold);
    color: #ffffff;
    transform: none;
  }

  /* Section Headings */
  .section-title,
  .section-header h2 {
    font-size: 1.7rem;
    line-height: 1.3;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .section-header p {
    font-size: 0.92rem;
  }

  .services-section,
  .courses-section,
  .horoscope-section,
  .testimonials-section,
  .faqs-section,
  .about-intro-section,
  .consultation-cta-banner {
    padding: 45px 0;
  }

  /* Grids */
  .services-grid,
  .courses-grid,
  .testimonials-grid,
  .blogs-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .zodiac-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .counter-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .counter-card {
    padding: 18px 16px;
  }

  .counter-num {
    font-size: 2.2rem;
  }

  /* Cards and Images */
  .course-card-img,
  .service-card-img,
  .blog-card-img {
    height: 200px;
    object-fit: cover;
  }

  .course-price-bar {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    text-align: center;
  }

  .course-price-bar .btn-maroon {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .about-trio-img {
    width: 100%;
    max-width: 360px;
    height: auto;
    margin: 0 auto;
  }

  .form-row {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  /* Footer Mobile */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    text-align: center;
  }

  .footer-about-col {
    align-items: center;
    text-align: center;
  }

  .footer-logo-wrap {
    margin: 0 auto 14px;
  }

  .footer-logo-img {
    margin: 0 auto;
    width: 110px;
  }

  .footer-about-text {
    text-align: center;
    font-size: 0.92rem;
  }

  .footer-heading {
    text-align: center;
    margin-bottom: 14px;
    font-size: 1.1rem;
  }

  .footer-links {
    align-items: center;
  }

  .footer-links li a {
    text-align: center;
  }

  .footer-hours-box {
    text-align: center;
  }

  .footer-hours-item {
    text-align: center;
    font-size: 0.92rem;
  }

  .footer-social-row {
    justify-content: center;
    gap: 10px;
  }

  .btn-footer-click {
    display: inline-block;
    margin: 0 auto;
  }

  .footer-bottom-bar p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  /* Floating Buttons on Mobile */
  .floating-actions {
    bottom: 18px;
    right: 14px;
    gap: 12px;
    align-items: center;
  }

  .float-btn {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .float-call {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .float-whatsapp {
    width: 48px;
    height: 48px;
    font-size: 1.45rem;
  }

  /* Modals */
  .modal-overlay {
    padding: 12px;
  }

  .modal-content {
    width: 100%;
    max-height: 88vh;
    border-radius: 12px;
  }

  .modal-header {
    padding: 14px 16px;
  }

  .modal-header h3 {
    font-size: 1.05rem;
  }

  .modal-body {
    padding: 18px 14px;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 8px 0;
  }

  .brand-wrapper {
    gap: 8px;
    max-width: calc(100% - 54px);
  }

  .brand-logo {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
  }

  .brand-title {
    font-size: 0.82rem;
    line-height: 1.2;
    font-weight: 800;
  }

  .brand-subtitle {
    font-size: 0.58rem;
    letter-spacing: 0.2px;
  }

  .mobile-toggle {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }

  .top-bar {
    padding: 5px 0;
  }

  .top-bar-btn {
    font-size: 0.78rem;
    padding: 4px 14px;
  }

  /* Small Mobile Hero Slider Polish */
  .slider-slide.has-text-slide,
  .slider-slide:not(.is-graphic-slide) {
    min-height: 350px;
  }

  .slider-slide.has-text-slide .slider-bg-img,
  .slider-slide:not(.is-graphic-slide) .slider-bg-img {
    height: 350px;
    min-height: 350px;
    max-height: 390px;
  }

  .slider-content-wrap {
    padding: 16px 0;
  }

  .slider-content-box {
    padding: 0 16px;
  }

  .slider-title {
    font-size: 1.18rem;
    line-height: 1.25;
    margin-bottom: 6px;
  }

  .slider-subtitle {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 12px;
    -webkit-line-clamp: 2;
  }

  .slider-btn,
  .slider-btn-sec {
    padding: 7px 14px;
    font-size: 0.8rem;
  }

  .slider-arrow {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
  }

  .slider-prev {
    left: 6px !important;
  }

  .slider-next {
    right: 6px !important;
  }

  .slider-dots {
    display: none !important;
  }

  .zodiac-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .zodiac-card {
    padding: 12px 6px;
  }

  .zodiac-icon-wrap {
    width: 52px;
    height: 52px;
    margin-bottom: 8px;
  }

  .zodiac-name-en {
    font-size: 0.88rem;
  }

  .zodiac-name-hi {
    font-size: 0.78rem;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="password"],
  input[type="date"],
  input[type="time"],
  select,
  textarea,
  .form-control,
  .form-control-custom {
    font-size: 16px !important;
  }
}

/* Enhanced Mobile Touch & Accessibility Polish */
@media (max-width: 768px) {

  html,
  body {
    overflow-x: clip;
    max-width: 100vw;
  }

  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  button,
  .btn,
  .btn-maroon,
  .btn-gold,
  .btn-secondary,
  .top-bar-btn {
    min-height: 44px;
    touch-action: manipulation;
  }

  .consultation-form-card {
    padding: 20px 16px !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  /* Safe interactive touch target sizing */
  .btn,
  .btn-maroon,
  .btn-gold,
  .btn-secondary {
    padding: 10px 18px;
    font-size: 0.92rem;
  }
}

/* Ultra-Compact Smartphone Viewports (320px - 360px: iPhone SE, Galaxy Fold cover) */
@media (max-width: 360px) {
  .container {
    padding: 0 10px;
  }

  .brand-logo {
    width: 36px !important;
    height: 36px !important;
  }

  .brand-title {
    font-size: 0.72rem !important;
  }

  .brand-subtitle {
    font-size: 0.50rem !important;
  }

  .slider-title {
    font-size: 1.02rem !important;
  }

  .btn-hero,
  .btn-hero-secondary {
    padding: 7px 12px !important;
    font-size: 0.78rem !important;
  }

  .zodiac-item {
    padding: 10px 6px !important;
  }
}

/* ==========================================================================
   MOBILE RESPONSIVENESS SUITE (CHECKOUT, FORMS, POLICIES, STATUS)
   ========================================================================== */
@media (max-width: 992px) {
  .checkout-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .enrollment-form-card {
    position: static !important;
    top: auto !important;
  }
}

@media (max-width: 640px) {
  .checkout-card {
    padding: 20px 16px !important;
  }

  .status-card-body {
    padding: 20px 16px !important;
  }

  .status-grid {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  .status-grid span:nth-child(odd) {
    font-weight: 700;
    color: #64748b;
    margin-top: 6px;
  }

  .policy-content-card {
    padding: 22px 16px !important;
    border-radius: 12px !important;
  }

  .enrollment-form-card {
    padding: 22px 16px !important;
  }

  #razorpayPayBtn {
    width: 100% !important;
    padding: 14px 16px !important;
    justify-content: center !important;
  }
}