/* ===================================
   near Astro - Custom Styles
   Modern Astrology Theme
   =================================== */

/* ===================================
   CSS Variables - Color Palette
   =================================== */
:root {
  /* Primary Colors - Golden Yellow & Sunshine */
  --primary-color: #fdb813;
  --primary-dark: #e6a000;
  --primary-light: #ffd54f;

  /* Secondary Colors - Warm Amber */
  --secondary-color: #ff9800;
  --secondary-dark: #f57c00;
  --secondary-light: #ffb74d;

  /* Accent Colors */
  --accent-gold: #ffd700;
  --accent-rose: #ff8a65;
  --accent-indigo: #ffa726;

  /* Neutral Colors */
  --dark-bg: #1e1410;
  --dark-purple: #2e2318;
  --medium-purple: #443828;
  --light-purple: #fffdf7;
  --white: #ffffff;
  --text-dark: #2e2318;
  --text-light: #fff8e1;
  --text-muted: #b8a890;

  /* Gradient Backgrounds */
  --gradient-primary: linear-gradient(135deg, #fdb813 0%, #ff9800 100%);
  --gradient-secondary: linear-gradient(135deg, #ffd54f 0%, #ffab40 100%);
  --gradient-cosmic: linear-gradient(135deg, #ffe082 0%, #ffd54f 100%);
  --gradient-dark: linear-gradient(135deg, #2e2318 0%, #443828 100%);
  --gradient-light: linear-gradient(135deg, #fff9e6 0%, #ffe8b8 100%);
  --gradient-mystical: linear-gradient(135deg, #ffecb3 0%, #ffd54f 100%);

  /* Shadows & Effects */
  --shadow-sm: 0 2px 8px rgba(253, 184, 19, 0.1);
  --shadow-md: 0 4px 16px rgba(253, 184, 19, 0.15);
  --shadow-lg: 0 8px 32px rgba(253, 184, 19, 0.2);
  --shadow-xl: 0 16px 48px rgba(253, 184, 19, 0.25);
  --glow-primary: 0 0 20px rgba(253, 184, 19, 0.4);
  --glow-secondary: 0 0 20px rgba(255, 152, 0, 0.4);

  /* Typography */
  --font-primary: "Poppins", sans-serif;
  --font-display: "Playfair Display", serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===================================
   Global Styles
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--light-purple);
  overflow-x: hidden;
  opacity: 0;
  animation: pageLoad 0.5s ease forwards;
}

@keyframes pageLoad {
  to {
    opacity: 1;
  }
}

/* ===================================
   Typography
   =================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-normal);
}

/* ===================================
   Navigation
   =================================== */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 0;
  transition: var(--transition-normal);
  position: relative;
  z-index: 1000;
}

.navbar-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  padding: 0;
  position: relative;
  width: 160px; /* Increased to accommodate larger logo */
  height: 60px; /* Keep header height small and fixed */
}

.navbar-brand i {
  color: var(--accent-gold);
  font-size: 1.8rem;
}

.brand-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: var(--transition-normal);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
  background: rgba(253, 184, 19, 0.1);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: var(--gradient-primary);
  transition: transform var(--transition-normal);
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.btn-contact {
  background: var(--gradient-primary);
  color: var(--white) !important;
  padding: 0.5rem 1.5rem !important;
  border-radius: 25px;
  margin-left: 1rem;
}

.btn-contact::after {
  display: none;
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #FDB813 0%, #FF9800 50%, #FFB74D 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(253, 184, 19, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 215, 0, 0.15) 0%,
      transparent 50%
    );
  animation: pulse 10s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 30px;
  transition: all var(--transition-normal);
  will-change: transform;
}
.btn-success {
  /* background: var(--gradient-primary); */
  border: none;
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 30px;
  transition: all var(--transition-normal);
  will-change: transform;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 24px rgba(253, 184, 19, 0.4);
}

.btn-outline-light {
  border: 2px solid var(--white);
  color: var(--white);
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 30px;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-icon {
  font-size: 15rem;
  color: rgba(255, 255, 255, 0.3);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-30px);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--white);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ===================================
   Section Headers
   =================================== */
.section-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(253, 184, 19, 0.1) 0%,
    rgba(255, 152, 0, 0.1) 100%
  );
  color: var(--primary-color);
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.section-title {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* ===================================
   Astrologers Section
   =================================== */
.astrologers-section {
  background: var(--white);
  padding: 5rem 0;
  position: relative;
  z-index: 2;
  margin-top: 0;
}

.astrologer-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid rgba(253, 184, 19, 0.1);
  height: 100%;
  will-change: transform;
}

.astrologer-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.astrologer-image {
  position: relative;
  padding: 2rem;
  background: var(--gradient-primary);
  display: flex;
  justify-content: center;
  align-items: center;
}

.astrologer-avatar {
  width: 120px;
  height: 120px;
  min-width: 120px;
  min-height: 120px;
  max-width: 120px;
  max-height: 120px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary-color);
  border: 4px solid var(--white);
  transition: all var(--transition-normal);
}

.upi-whatsapp-btn {
  padding: 11px;
  font-size: 1rem;
  border-radius: 26px;
  width: 210px;
}


.astrologer-avatar picture {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 1 / 1;
}

.astrologer-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  aspect-ratio: 1 / 1;
  object-position: center;
  border-radius: 50%;
  display: block;
}

.logo-img {
  width: 120px;
  height: 73px;
  display: block;
  object-fit: contain;
  z-index: 1000;
}

.astrologer-card:hover .astrologer-avatar {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.astrologer-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.status-badge {
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-badge.available {
  color: #10b981;
}

.status-badge.available i {
  color: #10b981;
  animation: blink 2s infinite;
}

.status-badge.busy {
  color: #ef4444;
}

.status-badge.busy i {
  color: #ef4444;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.astrologer-info {
  padding: 1.5rem;
  text-align: center;
}

.astrologer-name {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.astrologer-fee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.fee-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.fee-badge {
  background: var(--gradient-secondary);
  color: var(--text-dark);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid rgba(253, 184, 19, 0.35);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.fee-original {
  text-decoration: line-through;
  color: var(--text-muted);
}

.fee-offer {
  color: var(--secondary-dark);
  font-weight: 700;
}

.fee-offer-tag {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--text-dark);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.astrologer-specialty {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.astrologer-rating {
  margin-bottom: 1rem;
}

.astrologer-rating i {
  color: var(--accent-gold);
  font-size: 0.9rem;
}

.rating-count {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-left: 0.5rem;
}

.astrologer-exp {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.btn-consult {
  width: 100%;
  padding: 0.75rem;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all var(--transition-normal);
  will-change: transform;
}

.btn-consult:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-md);
}

/* ===================================
   Book Puja Section
   =================================== */
.book-puja-section {
  background: var(--light-purple);
  padding: 5rem 0;
}

.puja-features {
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.feature-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.feature-item i {
  color: var(--secondary-color);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-item span {
  color: var(--text-dark);
  font-weight: 500;
}

.puja-form-container {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(253, 184, 19, 0.1);
}

.form-title {
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.form-title i {
  color: var(--accent-gold);
}

.form-label {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  padding: 0.875rem 1rem;
  border: 2px solid rgba(253, 184, 19, 0.2);
  border-radius: 12px;
  transition: all var(--transition-normal);
  font-family: var(--font-primary);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(253, 184, 19, 0.1);
  transform: translateY(-2px);
}

.btn-submit {
  padding: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 12px;
  margin-top: 1rem;
  transition: all var(--transition-normal);
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ===================================
   Pujas Section
   =================================== */
.pujas-section {
  background: var(--white);
  padding: 5rem 0;
}

.puja-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid rgba(253, 184, 19, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.puja-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.puja-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  transition: all var(--transition-normal);
}

.puja-card:hover .puja-icon {
  transform: scale(1.1) rotate(10deg);
  box-shadow: var(--glow-primary);
}

.puja-title {
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.puja-description {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.puja-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.puja-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--text-dark);
}

.puja-benefits i {
  color: var(--accent-gold);
  font-size: 0.875rem;
}

.puja-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(253, 184, 19, 0.1);
}

.puja-duration {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.btn-puja {
  padding: 0.5rem 1.5rem;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 25px;
  font-weight: 600;
  transition: all var(--transition-normal);
  border: none;
  will-change: transform;
}

.btn-puja:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials-section {
  background: linear-gradient(
    180deg,
    var(--white) 0%,
    var(--light-purple) 100%
  );
  padding: 5rem 0;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid rgba(253, 184, 19, 0.1);
  height: 100%;
  will-change: transform;
}

.testimonial-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.testimonial-rating {
  margin-bottom: 1rem;
}

.testimonial-rating i {
  color: var(--accent-gold);
  font-size: 1rem;
}

.testimonial-text {
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.author-info h5 {
  color: var(--text-dark);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.author-info p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0;
}

/* ===================================
   Footer Section
   =================================== */
.footer-section {
  background: var(--gradient-dark);
  color: var(--text-light);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.footer-brand i {
  color: var(--accent-gold);
}

.footer-desc {
  color: rgba(232, 232, 240, 0.7);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition-normal);
}

.social-link:hover {
  background: var(--gradient-primary);
  transform: translateY(-3px);
  box-shadow: var(--glow-primary);
}

.footer-title {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.75rem;
}

.footer-links a,
.footer-contact li {
  color: rgba(232, 232, 240, 0.7);
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem 0;
  margin-top: 3rem;
}

.copyright,
.footer-links-bottom {
  color: rgba(232, 232, 240, 0.7);
  margin: 0;
}

.footer-links-bottom a {
  color: rgba(232, 232, 240, 0.7);
  transition: var(--transition-normal);
}

.footer-links-bottom a:hover {
  color: var(--white);
}

/* ===================================
   Scroll to Top Button
   =================================== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 1000;
  box-shadow: var(--shadow-lg);
  will-change: transform, opacity;
}

/* ===================================
   UPI QR Modal
   =================================== */
.upi-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 9999;
}

.upi-modal.active {
  display: flex;
}

.upi-modal-dialog {
  position: relative;
  width: min(420px, 92vw);
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.upi-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: transparent;
  color: var(--text-dark);
  font-size: 1.1rem;
}

.upi-modal-title {
  margin-bottom: 0.25rem;
}

.upi-modal-subtitle {
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.upi-qr-wrap {
  background: #fff7dd;
  border-radius: 14px;
  padding: 12px;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.upi-qr-wrap img {
  width: 220px;
  height: 220px;
  display: block;
}

.upi-call-btn {
  margin: 0.5rem auto 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.upi-amount {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.upi-original {
  text-decoration: line-through;
  color: var(--text-muted);
  margin-right: 0.35rem;
}

.upi-offer {
  color: var(--secondary-dark);
  font-weight: 700;
}

.upi-offer-tag {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--gradient-secondary);
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.upi-details {
  font-weight: 600;
  margin-bottom: 1rem;
}

.upi-note {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.scroll-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--glow-primary);
}

/* ===================================
   Scroll Animations
   =================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal.delay-1 {
  transition-delay: 0.1s;
}

.scroll-reveal.delay-2 {
  transition-delay: 0.2s;
}

.scroll-reveal.delay-3 {
  transition-delay: 0.3s;
}

.scroll-reveal.delay-4 {
  transition-delay: 0.4s;
}

.scroll-reveal.delay-5 {
  transition-delay: 0.5s;
}

.fade-in-up {
  animation: fadeInUp 1s ease;
  animation-fill-mode: both;
}

.fade-in-up.delay-1 {
  animation-delay: 0.2s;
  animation-fill-mode: both;
}

.fade-in-up.delay-2 {
  animation-delay: 0.4s;
  animation-fill-mode: both;
}

.fade-in-up.delay-3 {
  animation-delay: 0.6s;
  animation-fill-mode: both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 991px) {
  .hero-icon {
    font-size: 10rem;
  }

  .navbar-collapse {
    background: var(--white);
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
    box-shadow: var(--shadow-md);
  }

  .btn-contact {
    margin-left: 0;
    margin-top: 0.5rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-icon {
    font-size: 8rem;
    margin-top: 2rem;
  }

  .puja-form-container {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 576px) {
  .astrologer-avatar {
    width: 110px;
    height: 110px;
    min-width: 110px;
    min-height: 110px;
    max-width: 110px;
    max-height: 110px;
  }

  .hero-icon {
    font-size: 6rem;
  }

  .btn-primary,
  .btn-outline-light {
    width: 100%;
    margin: 0.5rem 0;
  }

  .btn-success {
    width: 100%;
    margin: 0.5rem 0;
  }

  .hero-buttons {
    flex-direction: column;
  }
}

/* ===================================
   Loading Animation
   =================================== */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* ===================================
   Print Styles
   =================================== */
@media print {
  .navbar,
  .scroll-top,
  .scroll-indicator {
    display: none;
  }
}
