@import url("https://fonts.googleapis.com/css2?family=Karla:wght@400;700&family=Poppins:wght@300;400;500;600;700;800;900&family=Noto+Sans+Devanagari:wght@400;500;600;700&display=swap");

:root {
  --bs-font-sans-serif: "Poppins", sans-serif;
  --bs-font-monospace: "Poppins", monospace;
  --bs-body-font-family: "Poppins", sans-serif;
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #000;
  --bs-body-bg: #fff;
  --bs-primary: #8a2028;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-primary-rgb: 138, 32, 40;
  --bs-secondary-rgb: 108, 117, 125;
  --bs-success-rgb: 25, 135, 84;
  --bs-info-rgb: 13, 202, 240;
  --bs-warning-rgb: 255, 193, 7;
  --bs-danger-rgb: 220, 53, 69;
  --bs-light-rgb: 248, 249, 250;
  --bs-dark-rgb: 33, 37, 41;
  --bs-white: #fff;
  --bs-white-rgb: 255, 255, 255;
  --bs-black: #000;
  --bs-black-rgb: 0, 0, 0;
  --bs-body-font-variant: normal;
  --bs-body-text-align: left;
  --bs-body-text-indent: 0;
  --bs-body-letter-spacing: normal;
  --bs-body-word-spacing: normal;
  --bs-body-direction: ltr;
  --bs-body-font-feature-settings: normal;

  /* Custom Astrology Theme Colors */
  --astro-primary: #8a2028;
  --astro-secondary: #ff6b35;
  --astro-accent: #ffd700;
  --astro-dark: #2c1810;
  --astro-light: #fff8f0;
}
:root {
  --bs-primary: #8a2028;
  --bs-secondary: #ff6b35;
  --bs-accent: #ffd700;
  --bs-dark: #2c1810;
  --bs-light: #fff8f0;
  --bs-white: #fff;
  --bs-black: #000;
  --bs-body-color: #000;
  --bs-body-bg: #fff;
}

body {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  color: #333;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #fff8f0 0%, #ffeee6 100%);
}

/* Enhanced Gradient Backgrounds */
.bg-orange {
  background: linear-gradient(135deg, #8a2028 0%, #ff6b35 50%, #ffd700 100%);
}

.bg-danger-gradiant {
  background: linear-gradient(135deg, #8a2028 0%, #dc3545 100%);
}

.bg-warning-gradiant {
  background: linear-gradient(135deg, #ffc107 0%, #ffd700 100%);
}

.bg-success-gradiant {
  background: linear-gradient(135deg, #198754 0%, #20c997 100%);
}

.bg-primary-gradiant {
  background: linear-gradient(135deg, #8a2028 0%, #ff6b35 100%);
}

/* Text Gradients */
.text-danger-gradiant {
  background: linear-gradient(135deg, #8a2028 0%, #ff6b35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.text-primary-gradiant {
  background: linear-gradient(135deg, #8a2028 0%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.form-check-input{
  width: 1.5em;
    height: 1.5em;
    margin-top: 0.10em;
    margin-right: 15px;
}

/* Enhanced Navigation */
.nav-link {
  color: #333;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-right: 20px;
  padding: 12px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Mobile nav item spacing */
.astrology-navbar .navbar-nav .nav-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.astrology-navbar .navbar-nav .nav-item:last-child {
  border-bottom: none !important;
}

/* Mobile dropdown toggle */
.astrology-navbar .dropdown-toggle {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
}

.astrology-navbar .dropdown-toggle::after {
  margin-left: auto !important;
  transition: transform 0.3s ease !important;
    z-index: 1050 !important;
}

.astrology-navbar .dropdown.show .dropdown-toggle::after {
  transform: rotate(180deg) !important;
}


/* Dropdown toggle arrow */
.astrology-navbar .dropdown-toggle::after {
  transition: transform 0.3s ease !important;
    z-index: 1050 !important;
}

.astrology-navbar .dropdown.show .dropdown-toggle::after {
  transform: rotate(180deg) !important;
}

.nav-link:focus,
.nav-link:hover {
  color: white;
  background: linear-gradient(135deg, #8a2028 0%, #ff6b35 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(138, 32, 40, 0.3);
}

#navbar_top {
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  position: sticky !important;
  top: 0 !important;
  z-index: 1050 !important;
}

#navbar_top.fixed-top {
  top: 0;
}

.navbar-brand img {
  height: 80px;
  transition: all 0.3s ease;
}

/* Enhanced Buttons */
.btn-danger-gradiant {
  background: linear-gradient(135deg, #8a2028 0%, #ff6b35 100%);
  border: none;
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-danger-gradiant:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(138, 32, 40, 0.4);
  background: linear-gradient(135deg, #ff6b35 0%, #8a2028 100%);
}

.btn-danger-gradiant: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;
}

.btn-danger-gradiant:hover:before {
  left: 100%;
}

.btn-primary-gradiant {
  background: linear-gradient(135deg, #8a2028 0%, #ff6b35 100%);
  border: none;
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary-gradiant:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(138, 32, 40, 0.4);
  background: linear-gradient(135deg, #ff6b35 0%, #8a2028 100%);
}

.btn-primary-gradiant: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;
}

.btn-primary-gradiant:hover:before {
  left: 100%;
}

.btn-success-gradiant {
  background: linear-gradient(135deg, #128c7e 0%, #20c997 100%);
  border: none;
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-success-gradiant:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(138, 32, 40, 0.4);
  background: linear-gradient(135deg, #20c997 0%, #128c7e 100%);
}

@media (max-width: 991px) {
  .navbar-collapse {
    z-index: 1055 !important;
  }
}

/* COMPREHENSIVE DROPDOWN FIX */

/* 1. Ensure navbar has proper positioning and overflow */
#navbar_top {
  position: sticky !important;
  top: 0 !important;
  z-index: 1050 !important;
  overflow: visible !important;
}

.astrology-navbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 1050 !important;
  overflow: visible !important;
}

.navbar {
  overflow: visible !important;
}

.navbar .container {
  overflow: visible !important;
}

.navbar-collapse {
  overflow: visible !important;
}

/* 6. Ensure hero section stays below */
.hero-section {
  position: relative;
  z-index: 1 !important;
}

#main-wrapper {
  overflow: visible !important;
}

/* 8. Mobile dropdown fixes - Proper collapse behavior */
@media (max-width: 991px) {
  .navbar-collapse {
    z-index: 1055 !important;
    overflow: visible !important;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin-top: 10px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  /* Mobile nav links styling */
  .navbar-nav .nav-link {
    padding: 15px 20px;
    border-radius: 10px;
    margin: 5px 0;
    background: rgba(138, 32, 40, 0.05);
  }

  .navbar-nav .nav-link:hover {
    background: linear-gradient(135deg, #8a2028 0%, #ff6b35 100%);
    color: white;
  }
}

/* 10. Additional mobile responsiveness */
@media (max-width: 576px) {
  .navbar-collapse {
    padding: 15px;
  }

  .navbar-nav .nav-link {
    padding: 12px 15px;
    font-size: 0.95rem;
  }
}

/* Service Cards Enhancement */
.service-card {
  background: var(--bs-white);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  color: var(--bs-body-color);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: var(--astro-light);
}

.service-card:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #8a2028 0%, #ff6b35 100%);
}

/* Service Image Styles */
.service-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  height: 200px;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 15px;
}

.service-card:hover .service-image {
  transform: scale(1.05);
}

.service-title {
  color: var(--astro-accent);
  font-weight: 700;
  font-size: 1.3rem;
}

.service-description {
  color: var(--bs-body-color);
  line-height: 1.6;
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  color: var(--bs-body-color);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

/* Testimonial Cards */
.testimonial-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  background-clip: padding-box;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 45px rgba(138, 32, 40, 0.15);
  border-left: 4px solid #8a2028;
}

/* Form Enhancements */
.inquiry-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-control {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 12px 15px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
}

.form-control:focus {
  border-color: #8a2028;
  box-shadow: 0 0 0 0.2rem rgba(138, 32, 40, 0.25);
  background: white;
}

/* Utility Classes */
.text-primary {
  color: #8a2028 !important;
}

a.linking {
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}

a.linking:hover {
  color: #8a2028;
}

.action-btns-bottom {
  position: fixed;
  bottom: 20px;
  right: 15px;
  z-index: 9999;
}

.action-btns-bottom .btn-lg {
  padding: 15px 25px;
  font-size: 16px;
  border-radius: 50px;
  margin: 5px;
  box-shadow: 0px 10px 30px rgba(138, 32, 40, 0.3);
  transition: all 0.3s ease;
}

.action-btns-bottom .btn-lg:hover {
  transform: translateY(-3px);
  box-shadow: 0px 15px 40px rgba(138, 32, 40, 0.4);
}

/* Section Spacing */
.section-padding {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 3rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .inquiry-form {
    padding: 2rem;
  }

  .navbar-brand img {
    height: 60px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .service-card {
    padding: 1rem;
  }
}

/* ============================================
   HEADER STYLES - Modern Astrology Theme
   ============================================ */

/* Enhanced Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: all 0.8s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  text-align: center;
  color: white;
}

.mystical-loader {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
}

.loader-circle {
  width: 80px;
  height: 80px;
  border: 3px solid rgba(255, 215, 0, 0.3);
  border-top: 3px solid #ffd700;
  border-radius: 50%;
  animation: spin 2s linear infinite;
  margin: 0 auto;
}

.loader-stars {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.loader-stars .star {
  position: absolute;
  color: #ffd700;
  font-size: 1.2rem;
  animation: twinkle 1.5s infinite ease-in-out;
}

.loader-stars .star:nth-child(1) {
  top: -20px;
  left: -10px;
  animation-delay: 0s;
}

.loader-stars .star:nth-child(2) {
  top: -10px;
  right: -15px;
  animation-delay: 0.5s;
}

.loader-stars .star:nth-child(3) {
  bottom: -15px;
  left: -5px;
  animation-delay: 1s;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Announcement Banner */
.announcement-banner {
  background: linear-gradient(135deg, #8a2028 0%, #ff6b35 100%);
  color: white;
  padding: 12px 0;
  position: relative;
  overflow: hidden;
}

.announcement-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.announcement-icon {
  width: 35px !important;
  height: 35px !important;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  animation: pulse 2s infinite;
}

.announcement-text {
  font-size: 0.95rem;
}

.announcement-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.announcement-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* Enhanced Top Bar */
.top-bar {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.contact-info {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-icon {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #ff6b35 0%, #ffd700 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a2e;
  font-size: 0.9rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.contact-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2px;
}

.contact-link,
.contact-text {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #ffd700;
}

.top-bar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
}

/* Language Switcher */
.language-switcher .language-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.language-switcher .language-toggle:hover {
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
}

.language-switcher .dropdown-menu {
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.language-switcher .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
}

.language-switcher .dropdown-item.active {
  background: linear-gradient(135deg, #8a2028 0%, #ff6b35 100%);
  color: white;
}

/* Social Links in Top Bar */
.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.social-link:hover::before {
  transform: scale(1);
}

.social-link:hover {
  transform: translateY(-3px);
  color: white;
}

.social-link.whatsapp::before {
  background: #25d366;
}

.social-link.facebook::before {
  background: #3b5998;
}

.social-link.instagram::before {
  background: linear-gradient(45deg, #e4405f, #ffad00);
}

.social-link.youtube::before {
  background: #ff0000;
}

.social-link i {
  position: relative;
  z-index: 2;
}

/* Enhanced Navbar */
.astrology-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.astrology-navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  padding: 10px 0;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
}

.astrology-navbar.scrolled .brand-logo {
  height: 50px;
}

.astrology-navbar.scrolled .brand-name {
  font-size: 1.3rem;
}

/* Brand Styling */
.brand-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.brand-logo {
  height: 60px;
  transition: all 0.3s ease;
  /* filter: drop-shadow(0 2px 8px rgba(138, 32, 40, 0.3)); */
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #8a2028;
  margin: 0;
  line-height: 1.2;
  transition: all 0.3s ease;
}

.brand-tagline {
  font-size: 0.75rem;
  color: #666;
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Custom Mobile Toggle */
.navbar-toggler {
  border: none;
  padding: 8px;
  position: relative;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #8a2028 0%, #ff6b35 100%);
  border-radius: 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-line {
  display: block;
  width: 20px;
  height: 2px;
  background: white;
  margin: 4px auto;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.navbar-toggler.active .navbar-toggler-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler.active .navbar-toggler-line:nth-child(2) {
  opacity: 0;
}

.navbar-toggler.active .navbar-toggler-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation Links */
.navbar-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #8a2028 0%, #ff6b35 100%);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  border-radius: 25px;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
  transform: scaleX(1);
  transform-origin: left;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: white;
  transform: translateY(-2px);
}

.navbar-nav .nav-link .nav-icon,
.navbar-nav .nav-link span {
  position: relative;
  z-index: 2;
}

.nav-icon {
  font-size: 0.9rem;
  color: #ff6b35;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover .nav-icon,
.navbar-nav .nav-link.active .nav-icon {
  color: white;
}

/* Mega Dropdown */
.mega-dropdown .mega-menu {
  width: 500px;
  max-width: 800px;
  border: none;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  padding: 30px;
  margin-top: 10px;
  background: white;
}

.mega-menu .dropdown-header {
  color: #8a2028;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid #f8f9fa;
  padding-bottom: 10px;
}

.mega-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-bottom: 5px;
}

.mega-menu .dropdown-item:hover {
  background: linear-gradient(135deg, rgba(138, 32, 40, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
  color: #8a2028;
  transform: translateX(5px);
}

.mega-menu .dropdown-item i {
  color: #ff6b35;
  width: 16px;
}

/* Active state for service dropdown items */
.dropdown-item.active {
    background: linear-gradient(135deg, #ff6b35, #f7931e) !important;
    color: white !important;
    font-weight: 600;
    border-radius: 8px;
    margin: 2px 0;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.dropdown-item.active i {
    color: white !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.dropdown-item.active:hover {
    background: linear-gradient(135deg, #e55a2b, #e8851a) !important;
    transform: translateX(8px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Enhanced dropdown item hover effects */
.dropdown-item:not(.active):hover {
    background: rgba(255, 107, 53, 0.1);
    color: #ff6b35;
    transform: translateX(3px);
    transition: all 0.3s ease;
}

/* Service dropdown enhancements */
.mega-dropdown .dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 20px;
}

.dropdown-header {
    color: #ff6b35;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ff6b35;
}

.dropdown-footer {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

/* CTA Buttons */
.navbar-cta {
  display: flex;
  gap: 10px;
  margin-left: 20px;
}

.cta-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-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;
}

.cta-btn:hover::before {
  left: 100%;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Navbar Background Elements */
.navbar-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.nav-star {
  position: absolute;
  color: rgba(255, 215, 0, 0.3);
  font-size: 1.2rem;
  animation: twinkle 3s infinite ease-in-out;
}

.nav-star-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.nav-star-2 {
  top: 60%;
  right: 15%;
  animation-delay: 1s;
}

.nav-star-3 {
  bottom: 20%;
  left: 70%;
  animation-delay: 2s;
}

/* Enhanced Breadcrumb */
.breadcrumb-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.breadcrumb-content {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  padding: 15px 25px;
  margin-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: #8a2028;
}

.breadcrumb-item.active {
  color: #8a2028;
  font-weight: 600;
}

.page-title h1 {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #8a2028;
  margin-bottom: 10px;
}

.page-subtitle {
  color: #666;
  font-size: 1.1rem;
  margin: 0;
}

/* Breadcrumb Background Elements */
.breadcrumb-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.breadcrumb-star {
  position: absolute;
  color: rgba(255, 215, 0, 0.2);
  font-size: 2rem;
  animation: float 4s infinite ease-in-out;
}

.breadcrumb-star-1 {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}

.breadcrumb-star-2 {
  top: 60%;
  right: 20%;
  animation-delay: 1.5s;
}

.breadcrumb-star-3 {
  bottom: 30%;
  left: 60%;
  animation-delay: 3s;
}

/* Responsive Design */
@media (max-width: 991px) {
  .contact-info {
    gap: 20px;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }

  .top-bar-right {
    justify-content: center;
    margin-top: 15px;
  }

  .brand-text {
    display: none;
  }

  .navbar-nav {
    padding: 20px 0;
  }

  .navbar-cta {
    margin-left: 0;
    margin-top: 20px;
    justify-content: center;
  }

  .mega-menu {
    position: static !important;
    transform: none !important;
    width: 100%;
    max-width: none;
    margin-top: 0;
    padding: 20px;
  }

  .mega-menu .row {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .announcement-text {
    font-size: 0.85rem;
  }

  .contact-info {
    flex-direction: column;
    gap: 15px;
  }

  .social-links {
    justify-content: center;
  }

  .page-title h1 {
    font-size: 2rem;
  }

  .breadcrumb {
    padding: 12px 20px;
  }
}

@media (max-width: 576px) {
  .announcement-banner {
    padding: 8px 0;
  }

  .announcement-text span:first-child {
    display: block;
    margin-bottom: 5px;
  }

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

  .cta-btn span {
    display: none;
  }

  .navbar-cta {
    flex-direction: column;
    gap: 10px;
  }
}

/* ============================================
   FOOTER STYLES - Modern Astrology Theme
   ============================================ */

.astrology-footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.footer-main {
  padding: 80px 0 40px;
  position: relative;
  z-index: 2;
}

.footer-section {
  position: relative;
  z-index: 2;
}

.footer-title {
  color: #ffd700;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-icon {
  color: #ff6b35;
  font-size: 1.2rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.footer-logo img {
  max-height: 60px;
  filter: brightness(1.2);
}

/* Social Media Links */
.footer-social {
  margin-top: 2rem;
}

.social-title {
  color: #ffd700;
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.social-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-link {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #8a2028 0%, #ff6b35 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
  color: white;
}

.social-link.facebook:hover {
  background: linear-gradient(135deg, #3b5998 0%, #8b9dc3 100%);
}

.social-link.twitter:hover {
  background: linear-gradient(135deg, #1da1f2 0%, #0d95e8 100%);
}

.social-link.instagram:hover {
  background: linear-gradient(135deg, #e4405f 0%, #ffad00 100%);
}

.social-link.youtube:hover {
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.social-link.whatsapp:hover {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
}

.footer-links a:hover {
  color: #ffd700;
  transform: translateX(5px);
}

.footer-links a i {
  color: #ff6b35;
  width: 16px;
  font-size: 0.9rem;
}

/* Contact Information */
.contact-info {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ff6b35 0%, #ffd700 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a2e;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-details h6 {
  color: #ffd700;
  font-size: 0.9rem;
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-details p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.5;
}

.contact-details a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: #ffd700;
}

/* Newsletter Section */
.newsletter-section {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 40px;
}

.newsletter-title {
  color: #ffd700;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.newsletter-subtitle {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

.newsletter-form .input-group {
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.newsletter-form .form-control {
  border: none;
  padding: 15px 25px;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
}

.newsletter-form .form-control:focus {
  box-shadow: none;
  background: white;
}

.newsletter-form .btn {
  padding: 15px 30px;
  border: none;
  background: linear-gradient(135deg, #8a2028 0%, #ff6b35 100%);
  font-weight: 600;
}

/* Footer Bottom */
.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.copyright .small {
  font-size: 0.85rem;
  margin-top: 5px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #ffd700;
}

/* Floating Stars Animation */
.footer-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.star {
  position: absolute;
  color: #ffd700;
  font-size: 1.5rem;
  opacity: 0.6;
  animation: twinkle 3s infinite ease-in-out;
}

.star-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.star-2 {
  top: 20%;
  right: 15%;
  animation-delay: 1s;
}

.star-3 {
  top: 60%;
  left: 20%;
  animation-delay: 2s;
}

.star-4 {
  bottom: 30%;
  right: 25%;
  animation-delay: 1.5s;
}

.star-5 {
  bottom: 10%;
  left: 60%;
  animation-delay: 0.5s;
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Additional styles for mixed language content */
.hindi-text {
    font-family: 'Noto Sans Devanagari', 'Arial Unicode MS', sans-serif;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.hero-badge span {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.stat-label small {
    font-size: 0.7rem;
    opacity: 0.8;
    display: block;
    margin-top: 2px;
}

.seo-keywords {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.seo-keywords .hindi-text {
    font-size: 0.85rem;
}

/* Enhanced floating cards */
.floating-card {
    min-width: 120px;
    text-align: center;
    font-size: 0.85rem;
}

.floating-card small {
    font-size: 0.7rem;
    opacity: 0.8;
    display: block;
    margin-top: 2px;
}

.floating-card.card-4 {
    top: 25%;
    left: -20%;
    animation-delay: 2.5s;
}

/* Scroll indicator enhancement */
.scroll-indicator {
    text-align: center;
}

.scroll-indicator small {
    display: block;
    margin-top: 5px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}


/* Mobile responsiveness for mixed content */
@media (max-width: 768px) {
    .hero-badge span {
        font-size: 0.75rem;
    }
    
    .hero-buttons .btn {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .seo-keywords {
        font-size: 0.8rem;
        padding: 0.75rem;
    }
    
    .trust-item {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .scroll-indicator small {
        font-size: 0.7rem;
    }
}

/* Enhanced Back to Top Button */
.back-to-top-wrapper {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}

.btn-back-to-top {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #8a2028 0%, #ff6b35 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(138, 32, 40, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  position: relative;
  overflow: hidden;
}

.btn-back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 35px rgba(138, 32, 40, 0.4);
  color: white;
}

.btn-inner {
  position: relative;
  z-index: 2;
  font-size: 1.2rem;
}

.btn-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-back-to-top:hover .btn-glow {
  opacity: 1;
}

/* Floating Action Buttons */
.floating-actions {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.floating-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.floating-btn a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 1.3rem;
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.call-btn {
  background: linear-gradient(135deg, #ff6b35 0%, #8a2028 100%);
}

.floating-btn:hover {
  transform: translateY(-3px) scale(1.1);
  animation: none;
}

@keyframes pulse {
  0% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  }

  50% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 0 10px rgba(255, 107, 53, 0.1);
  }

  100% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-main {
    padding: 60px 0 30px;
  }

  .newsletter-section {
    padding: 30px 20px;
  }

  .newsletter-title {
    font-size: 1.5rem;
  }

  .footer-bottom-links {
    justify-content: center;
    margin-top: 20px;
  }

  .social-links {
    justify-content: center;
  }

  .floating-actions {
    bottom: 20px;
    left: 20px;
  }

  .back-to-top-wrapper {
    bottom: 20px;
    right: 20px;
  }

  .btn-back-to-top {
    width: 50px;
    height: 50px;
  }

  .floating-btn {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 576px) {
  .newsletter-form .input-group {
    flex-direction: column;
    border-radius: 15px;
  }

  .newsletter-form .form-control {
    border-radius: 15px 15px 0 0;
  }

  .newsletter-form .btn {
    border-radius: 0 0 15px 15px;
  }

  .contact-item {
    flex-direction: row;
    text-align: center;
    gap: 10px;
  }

  .zodiac-symbol {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  .stat-label small {
    font-size: 0.65rem;
  }
  
  .trust-indicators .d-flex {
    flex-direction: column;
    align-items: center;
  }
  
  .trust-item {
    margin: 0.25rem 0;
  }
}

/* Testimonials with theme colors */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(138, 32, 40, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--astro-primary);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(138, 32, 40, 0.15);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--astro-accent);
}