/* ==========================================================================
   ASTROVEDA - LIGHT SUNSET ASTROLOGICAL THEME (HYPER-FAST 60-120 FPS SCROLL)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  /* Light Theme Color Tokens */
  --bg-light: #fffcf8;
  --bg-gradient-light: linear-gradient(180deg, #fffcf8 0%, #fef5ea 50%, #f8eefb 100%);
  --bg-card: #ffffff;
  
  --border-light: rgba(255, 126, 95, 0.18);
  --border-glow-active: rgba(254, 180, 123, 0.5);
  
  /* Light Sunset Gradients */
  --gradient-sunset: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 50%, #feca57 100%);
  --gradient-rose-sunset: linear-gradient(135deg, #9c27b0 0%, #e91e63 50%, #ff9800 100%);
  --gradient-gold: linear-gradient(135deg, #f39c12 0%, #f1c40f 100%);

  /* Text Colors */
  --text-main: #111827;
  --text-muted: #4b5563;
  --text-gold: #c67d0a;
  --text-dark: #0f172a;

  /* Professional Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Poppins', sans-serif;

  /* Shadows & Hardware Transitions */
  --shadow-card: 0 10px 30px rgba(233, 30, 99, 0.08);
  --shadow-sunset: 0 8px 25px rgba(255, 107, 107, 0.28);
  --shadow-hover: 0 15px 35px rgba(255, 107, 107, 0.2);
  --transition-smooth: all 0.25s ease-out;
}

/* Reset & Global Base Settings */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-gradient-light);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  color: var(--text-main);
}

.text-sunset-gradient {
  background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold {
  color: var(--text-gold);
}

.text-muted-custom {
  color: var(--text-muted) !important;
}

/* Page Content Wrapper */
.main-content {
  flex: 1 0 auto;
  padding-top: 88px; /* offset for fixed navbar height */
}

/* ==========================================================================
   HEADER & NAVBAR (Fixed Sticky Glassmorphic Navbar)
   ========================================================================== */
header {
  position: relative;
  z-index: 1030;
}

.header-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 0.45rem 0;
  background: rgba(255, 252, 248, 0.96);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border-bottom: 1px solid var(--border-light);
  transform: translateZ(0);
  will-change: padding, background-color;
  transition: padding 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  z-index: 1030;
}

.header-navbar.scrolled {
  padding: 0.2rem 0;
  background: rgba(255, 252, 248, 0.99);
  box-shadow: 0 6px 30px rgba(100, 60, 150, 0.12);
}

.header-navbar.scrolled .brand-icon-wrapper {
  width: 56px;
  height: 56px;
}

.navbar-brand-custom {
  display: flex;
  align-items: center;
  /* gap: 0.75rem; */
  text-decoration: none;
}

.brand-icon-wrapper {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition-smooth);
}

.brand-logo-img {
  width: 80%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(255, 126, 95, 0.25));
  transition: var(--transition-smooth);
}

.navbar-brand-custom:hover .brand-icon-wrapper {
  transform: rotate(10deg) scale(1.06);
}

.navbar-brand-custom:hover .brand-logo-img {
  filter: drop-shadow(0 8px 22px rgba(255, 107, 107, 0.65));
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  margin-left: 0.5rem;
}

.brand-subtext {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-gold);
}

/* Nav Links */
.nav-link-custom {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main) !important;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: var(--transition-smooth);
}

.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2.5px;
  background: var(--gradient-sunset);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.nav-link-custom:hover, 
.nav-link-custom.active {
  color: #ff6b6b !important;
}

.nav-link-custom:hover::after, 
.nav-link-custom.active::after {
  width: 60%;
}

/* Buttons */
.btn-sunset,
.btn-outline-sunset,
.btn-whatsapp,
.btn-call,
.btn-outline-light,
.btn-outline-secondary,
.btn-success {
  padding: 0.75rem 1.8rem;
}

.btn-sunset {
  background: var(--gradient-sunset);
  color: #ffffff !important;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  box-shadow: var(--shadow-sunset);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-sunset:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 107, 107, 0.45);
  color: #ffffff !important;
}

.btn-outline-sunset {
  background: transparent;
  color: var(--text-main) !important;
  font-weight: 600;
  border: 2px solid #ff8e53;
  border-radius: 50px;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-outline-sunset:hover {
  background: var(--gradient-sunset);
  color: #ffffff !important;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sunset);
}

/* WhatsApp Button */
.btn-whatsapp {
  background: transparent;
  color: #128C7E !important;
  font-weight: 600;
  border: 2px solid #25D366;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45), 0 4px 12px rgba(18, 140, 126, 0.3);
}

.btn-whatsapp .fa-whatsapp {
  font-size: 1.1em;
  transition: transform 0.3s ease;
}

.btn-whatsapp:hover .fa-whatsapp {
  transform: scale(1.2) rotate(-5deg);
  color: #ffffff !important;
}

/* Google Dialer Blue Call Button */
.btn-call {
  background: transparent;
  color: #1a73e8 !important;
  font-weight: 600;
  border: 2px solid #1a73e8;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-call:hover,
.btn-call:focus {
  background: linear-gradient(135deg, #4285f4 0%, #1a73e8 100%);
  color: #ffffff !important;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(26, 115, 232, 0.45), 0 4px 12px rgba(66, 133, 244, 0.3);
}

.btn-call .fa-phone {
  transition: transform 0.35s ease;
}

.btn-call:hover .fa-phone {
  transform: rotate(15deg) scale(1.2);
  color: #ffffff !important;
}

/* ==========================================================================
   1. HERO 4-IMAGE SLIDER (100% FULL WIDTH BANNERS)
   ========================================================================== */
.hero-slider-section {
  padding-top: 0;
  width: 100%;
  overflow: hidden;
}

.hero-slider-wrapper {
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  margin: 0;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border: none;
}

.hero-swiper-container {
  width: 100%;
  height: 580px; /* 100% Full Width 16:9 Landscape Banner */
}

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

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.hero-slide-img.loaded {
  opacity: 1;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 2;
}

.hero-slide-content {
  background: transparent;
  backdrop-filter: none;
  padding: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero-slide-content h1,
.hero-slide-content h2 {
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

.hero-slide-content p {
  color: #e6e6e6 !important;
  font-weight: 500 !important;
  font-size: 1.2rem !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.4rem;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 179, 71, 0.4);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffc857;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.swiper-button-custom {
  color: #ffffff !important;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition-smooth);
}

.swiper-button-custom::after {
  font-size: 1.2rem !important;
  font-weight: bold;
}

.swiper-button-custom:hover {
  background: var(--gradient-sunset);
  border-color: transparent;
}

/* ==========================================================================
   2. ABOUT ASTROLOGY SECTION STYLES
   ========================================================================== */
.about-feature-item {
  transition: var(--transition-smooth);
}

.about-feature-item:hover {
  transform: translateY(-4px);
  border-color: #ff8e53 !important;
}

.about-visual-card {
  background: radial-gradient(circle at 50% 0%, #ffffff 0%, #fff7ef 100%);
}

.zodiac-wheel-icon i {
  filter: drop-shadow(0 4px 12px rgba(255, 107, 107, 0.3));
}

/* Equal Height Cards in Swiper & Grids */
.swiper-slide {
  height: auto !important;
  display: flex !important;
}

/* ==========================================================================
   SERVICES SECTION AMBIENT GLOW & HEADER BADGE
   ========================================================================== */
.bg-services-glow-1 {
  position: absolute;
  top: -80px;
  left: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.15) 0%, rgba(254, 202, 87, 0.06) 50%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.bg-services-glow-2 {
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(156, 39, 176, 0.12) 0%, rgba(233, 30, 99, 0.05) 50%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.badge-title-glow {
  background: rgba(255, 243, 230, 0.9);
  border: 1px solid rgba(255, 142, 83, 0.35);
  color: #d9631e;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 1.1rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.1);
  letter-spacing: 0.3px;
}

/* ==========================================================================
   ULTRA-MODERN GLASSMORPHIC SERVICE CARDS (HARDWARE ACCELERATED)
   ========================================================================== */
.astro-service-card {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 242, 0.94) 100%);
  border: 1px solid rgba(255, 142, 83, 0.25);
  border-radius: 24px;
  padding: 0;
  height: 100% !important;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(255, 107, 107, 0.05);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.35s ease;
  transform: translate3d(0, 0, 0);
  will-change: transform, box-shadow;
  position: relative;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Card top image wrapper & styling */
.service-card-image-wrapper {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

.astro-service-card:hover .service-card-img {
  transform: scale(1.08);
}

.astro-service-card-body {
  padding: 1.5rem 1.4rem 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  width: 100%;
}

/* Card Light Sweep Shimmer Effect on Hover */
.astro-service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 45%,
    rgba(255, 255, 255, 0.65) 50%,
    transparent 55%
  );
  transform: translateX(-100%) rotate(45deg);
  transition: transform 0.65s ease;
  pointer-events: none;
  z-index: 2;
}

.astro-service-card:hover::before {
  transform: translateX(100%) rotate(45deg);
}

.astro-service-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255, 107, 107, 0.65);
  box-shadow: 0 20px 45px rgba(255, 107, 107, 0.18), 0 8px 20px rgba(254, 180, 123, 0.12);
}

/* Top Pill Badge */
.card-top-badge {
  position: absolute;
  top: 18px;
  right: 14px;
  z-index: 3;
}

.badge-service-pill {
  background: rgba(255, 243, 230, 0.95);
  border: 1px solid rgba(255, 142, 83, 0.3);
  color: #d9631e;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.08);
  white-space: nowrap;
}

.badge-popular {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.35) !important;
}

/* 3D Floating Glowing Icon Box */
.service-icon-wrapper {
  position: relative;
  display: inline-block;
}

.service-icon-halo {
  position: absolute;
  inset: -6px;
  border-radius: 26px;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.35) 0%, rgba(254, 202, 87, 0.15) 60%, transparent 100%);
  animation: haloPulse 2.8s ease-in-out infinite;
  z-index: 1;
}

@keyframes haloPulse {
  0%, 100% {
    transform: scale(0.96);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.85;
  }
}

.service-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff 0%, #fff3e6 100%);
  border: 1px solid rgba(255, 142, 83, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  box-shadow: 0 10px 25px rgba(255, 107, 107, 0.18), inset 0 2px 4px rgba(255, 255, 255, 0.9);
  transition: all 0.35s ease;
  position: relative;
  z-index: 2;
  margin: 0 auto;
}

.astro-service-card:hover .service-icon-box {
  transform: scale(1.12) rotate(6deg);
  background: linear-gradient(135deg, #fff3e6 0%, #ffe6d1 100%);
  box-shadow: 0 14px 32px rgba(255, 107, 107, 0.32);
}

.service-icon-box i {
  transition: transform 0.35s ease;
}

.astro-service-card:hover .service-icon-box i {
  transform: scale(1.15);
}

/* Card Title & Tags */
.service-title-single {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  transition: color 0.3s ease;
}

.astro-service-card:hover .service-title-single {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-tags-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.service-tag-pill {
  background: rgba(255, 245, 235, 0.8);
  border: 1px solid rgba(255, 142, 83, 0.2);
  color: #7c5235;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: 20px;
}

/* Interactive Action Buttons */
.btn-outline-sunset-card {
  border: 1.5px solid rgba(255, 107, 107, 0.5);
  color: #e65100;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline-sunset-card .btn-arrow {
  transition: transform 0.3s ease;
}

.btn-outline-sunset-card:hover {
  background: var(--gradient-sunset);
  color: #ffffff !important;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(255, 107, 107, 0.35);
  transform: translateY(-2px);
}

.btn-outline-sunset-card:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-whatsapp-card {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff !important;
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-whatsapp-card:hover {
  background: linear-gradient(135deg, #20bd5a 0%, #0e7065 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   ABOUT ASTROLOGER RABINDRA PATRA SECTION STYLES
   ========================================================================== */
.astrologer-card-wrapper {
  padding: 0.5rem;
}

.astrologer-img-frame {
  border: 4px solid #ffffff;
  box-shadow: 0 15px 40px rgba(255, 107, 107, 0.18);
  overflow: hidden;
  max-width: 380px;
  margin: 0 auto;
  border-radius: 1rem; /* rounded-4 default fallback */
}

.astrologer-img-frame.circular-frame {
  aspect-ratio: 1 / 1;
  border-radius: 50% !important;
}

.astrologer-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.astrologer-img-frame:hover .astrologer-portrait-img {
  transform: scale(1.04);
}

.astrologer-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(29, 21, 44, 0.95) 0%, rgba(29, 21, 44, 0.3) 60%, transparent 100%);
  padding: 1.25rem 1.5rem !important; /* default square overlay padding */
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center !important;
  text-align: center !important;
}

.astrologer-img-frame.circular-frame .astrologer-img-overlay {
  padding: 1.5rem 2.2rem 3rem 2.2rem !important; /* pushed up for circular layout */
}

.astrologer-img-overlay h3 {
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 0.25rem !important;
}

.astrologer-img-overlay small,
.astrologer-img-overlay p {
  font-size: 0.82rem !important;
  opacity: 0.85;
  line-height: 1.3;
  margin-bottom: 0 !important;
}

/* Circular Animated Astrologer Experience Badge */
.astrologer-exp-badge-circular {
  position: absolute;
  top: -15px;
  right: -10px;
  width: 95px;
  height: 95px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(255, 107, 107, 0.22);
  z-index: 10;
  border: 3px solid #ffffff;
  overflow: hidden;
  animation: floatBadgeCircular 4s ease-in-out infinite;
}

.circular-badge-glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(255, 126, 95, 0.22) 0%, transparent 70%);
  animation: pulseGlow 2s ease-in-out infinite;
  z-index: 1;
}

.circular-badge-ring {
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 126, 95, 0.35);
  animation: rotateBadgeRing 25s linear infinite;
  z-index: 2;
}

.circular-badge-icon {
  font-size: 1.25rem;
  background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2px;
  z-index: 3;
}

.circular-badge-text-primary {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--text-main);
  line-height: 1;
  z-index: 3;
}

.circular-badge-text-secondary {
  font-size: 0.52rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-top: 1px;
  z-index: 3;
}

@keyframes floatBadgeCircular {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes rotateBadgeRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* Astrologer Highlight Pillar Cards Base Styles */
.astro-pillar-card {
  position: relative;
  border-top: 3px solid transparent !important;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  transform: translateZ(0);
}

.pillar-icon {
  display: inline-block;
  color: var(--text-main) !important;
  transition: transform 0.35s ease, color 0.35s ease;
}

.pillar-title {
  transition: color 0.35s ease;
}

.astro-pillar-card:hover .pillar-icon {
  transform: scale(1.22) rotate(8deg);
}

/* Card 1 Hover Theme: Golden Amber */
.pillar-card-1:hover {
  transform: translateY(-8px) scale(1.02);
  border-top-color: #d48806 !important;
  border-color: #f39c12 !important;
  box-shadow: 0 14px 30px rgba(243, 156, 18, 0.22) !important;
}

.pillar-card-1:hover .pillar-icon,
.pillar-card-1:hover .pillar-title {
  color: #d48806 !important;
}

/* Card 2 Hover Theme: Sunset Coral Rose */
.pillar-card-2:hover {
  transform: translateY(-8px) scale(1.02);
  border-top-color: #ff6b6b !important;
  border-color: #ff4757 !important;
  box-shadow: 0 14px 30px rgba(255, 107, 107, 0.22) !important;
}

.pillar-card-2:hover .pillar-icon,
.pillar-card-2:hover .pillar-title {
  color: #ff4757 !important;
}

/* Card 3 Hover Theme: Mystic Cosmic Purple */
.pillar-card-3:hover {
  transform: translateY(-8px) scale(1.02);
  border-top-color: #6c5ce7 !important;
  border-color: #8e44ad !important;
  box-shadow: 0 14px 30px rgba(108, 92, 231, 0.22) !important;
}

.pillar-card-3:hover .pillar-icon,
.pillar-card-3:hover .pillar-title {
  color: #6c5ce7 !important;
}

/* ==========================================================================
   SERVICES & TESTIMONIALS SLIDER NAVIGATION ARROWS
   ========================================================================== */
.services-slider-wrapper,
.testimonial-slider-wrapper {
  position: relative;
  padding: 0 45px !important;
}

.services-swiper-container,
.testimonial-swiper-container {
  overflow: hidden !important;
}

/* Swiper Hardware Acceleration & Performance Optimization */
.services-swiper-container .swiper-wrapper,
.testimonial-swiper-container .swiper-wrapper {
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.services-swiper-container .swiper-slide,
.testimonial-swiper-container .swiper-slide {
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
}

.swiper-button-service,
.swiper-button-testimonial {
  color: #ff6b6b !important;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.22);
  transition: var(--transition-smooth);
  z-index: 25;
  margin-top: 0 !important; /* Neutralize Swiper native -22px margin-top offset */
}

.swiper-button-service {
  top: calc(50% - 15px) !important;
  transform: translateY(-50%) !important;
}

.swiper-button-testimonial {
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.swiper-button-prev.swiper-button-service,
.swiper-button-prev.swiper-button-testimonial {
  left: 0px !important;
}

.swiper-button-next.swiper-button-service,
.swiper-button-next.swiper-button-testimonial {
  right: 0px !important;
}

.swiper-button-service::after,
.swiper-button-testimonial::after {
  font-size: 1.1rem !important;
  font-weight: bold;
}

.swiper-button-service:hover,
.swiper-button-testimonial:hover {
  background: var(--gradient-sunset);
  color: #ffffff !important;
  border-color: transparent;
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
  margin-top: 0 !important;
  transform: translateY(-50%) scale(1.1) !important;
}

.service-icon-box {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff6ed 0%, #ffe8d6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.2rem;
  flex-shrink: 0;
}

.service-link {
  color: #ff6b6b;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  margin-top: auto;
}

.service-link:hover {
  color: var(--text-main);
}

/* ==========================================================================
   TESTIMONIALS SECTION - REFERENCE IMAGE ELEGANT LAYOUT
   ========================================================================== */
.bg-testimonial-glow-1 {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.14) 0%, rgba(254, 202, 87, 0.06) 50%, transparent 70%);
  filter: blur(55px);
  pointer-events: none;
}

.bg-testimonial-glow-2 {
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(156, 39, 176, 0.12) 0%, rgba(233, 30, 99, 0.05) 50%, transparent 70%);
  filter: blur(55px);
  pointer-events: none;
}

/* Reference Card Main Outer Container */
.testimonial-ref-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: 24px;
  transition: all 0.35s ease;
}

/* Slanted Top Header Banner */
.testimonial-ref-header {
  position: relative;
  margin-left: 65px;
  background: linear-gradient(135deg, #e74c3c 0%, #ff6b6b 60%, #ff8e53 100%);
  clip-path: polygon(0 0, 84% 0, 100% 100%, 0 100%);
  padding: 0.85rem 1.6rem 0.85rem 48px;
  color: #ffffff;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(231, 76, 60, 0.25);
  transition: all 0.35s ease;
  border-radius: 4px 0 0 0;
}

.testimonial-ref-card:hover .testimonial-ref-header {
  background: linear-gradient(135deg, #d63031 0%, #ff4757 60%, #ff7f50 100%);
}

.testimonial-ref-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 2px;
  line-height: 1.2;
}

.testimonial-ref-role {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

/* Overlapping Protruding Avatar Box */
.avatar-box-raised {
  position: absolute;
  top: 8px;
  left: 0;
  width: 96px;
  height: 86px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
  border: 4px solid #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16), 0 3px 8px rgba(0, 0, 0, 0.08);
  z-index: 5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.avatar-box-raised.bg-avatar-2 {
  background: linear-gradient(135deg, #16a085 0%, #2ecc71 100%);
}

.avatar-box-raised.bg-avatar-3 {
  background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
}

.avatar-box-raised.bg-avatar-4 {
  background: linear-gradient(135deg, #d35400 0%, #e67e22 100%);
}

.avatar-box-raised.bg-avatar-5 {
  background: linear-gradient(135deg, #2980b9 0%, #34495e 100%);
}

.avatar-box-raised.bg-avatar-6 {
  background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
}

.testimonial-ref-card:hover .avatar-box-raised {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.avatar-initial-large {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-heading);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.avatar-check-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #10b981;
  color: #ffffff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

/* Main Body Card Container */
.testimonial-ref-body {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px 16px 16px 16px;
  padding: 2rem 1.6rem 1.4rem 1.6rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  position: relative;
  transition: all 0.35s ease;
}

.testimonial-ref-card:hover .testimonial-ref-body {
  background: #ffffff;
  border-color: rgba(255, 107, 107, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
}

.testimonial-ref-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.testimonial-ref-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed #e2e8f0;
  padding-top: 0.85rem;
}

/* Solid Green Star Rating (Matching reference image) */
.star-rating-green {
  color: #10b981;
  font-size: 1.25rem;
  display: flex;
  gap: 3px;
}

.badge-topic-pill {
  background: rgba(255, 243, 230, 0.95);
  border: 1px solid rgba(255, 142, 83, 0.3);
  color: #d9631e;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 50px;
  padding: 0.22rem 0.65rem;
  display: inline-flex;
  align-items: center;
}

/* Overlapping Seeker Identity Crest */
.seeker-crest-overlap {
  margin-top: -22px;
  margin-left: 16px;
  margin-right: 16px;
  position: relative;
  z-index: 4;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 142, 83, 0.28);
  border-radius: 50px;
  padding: 0.45rem 1rem 0.45rem 0.55rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07), 0 4px 10px rgba(255, 107, 107, 0.06);
  backdrop-filter: blur(14px);
  transition: all 0.35s ease;
}

.testimonial-pod-card:hover .seeker-crest-overlap {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(255, 107, 107, 0.5);
  box-shadow: 0 14px 30px rgba(255, 107, 107, 0.18);
}

/* Seeker Avatar Circle with Verified Status Ring */
.avatar-circle-ring {
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
  display: inline-flex;
  position: relative;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.25);
  transition: transform 0.35s ease;
}

.testimonial-pod-card:hover .avatar-circle-ring {
  transform: scale(1.08) rotate(6deg);
}

.avatar-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-sunset);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  border: 2px solid #ffffff;
}

.avatar-circle.bg-sunset {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
}

.avatar-circle.bg-purple {
  background: linear-gradient(135deg, #8e44ad 0%, #3498db 100%);
}

.status-verified-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 13px;
  height: 13px;
  background: #10b981;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

/* ==========================================================================
   5. COMPACT CONSULTATION FORM & SECTION 2 STYLES
   ========================================================================== */
.bg-aura-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 142, 83, 0.15) 0%, rgba(255, 107, 107, 0.05) 50%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.about-feature-item {
  transition: var(--transition-smooth);
}

.about-feature-item:hover {
  transform: translateX(6px);
  border-color: #ff8e53 !important;
  box-shadow: 0 10px 25px rgba(255, 107, 107, 0.12) !important;
}

.about-feature-icon-box {
  width: 45px;
  height: 45px;
  min-width: 45px;
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-header-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff6ed 0%, #ffe8d6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.astro-vertical-form-card {
  border: 1px solid var(--border-light) !important;
  box-shadow: 0 15px 45px rgba(255, 107, 107, 0.1) !important;
}

.form-label-compact {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-control-compact {
  background: #faf7f2;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.42rem 0.8rem;
  color: var(--text-main);
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.form-control-compact:focus {
  background: #ffffff;
  border-color: #ff8e53;
  box-shadow: 0 0 10px rgba(255, 142, 83, 0.2);
  outline: none;
}

.btn-sunset-submit {
  padding: 0.9rem 2.2rem !important;
  font-size: 0.95rem;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  box-shadow: 0 8px 22px rgba(255, 107, 107, 0.35);
  margin-top: 0.4rem;
}

.btn-sunset-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(255, 107, 107, 0.5);
}

/* Custom Shake Vibration Animation for Form Validation */
@keyframes shakeVibrate {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.is-invalid-astro {
  border-color: #ff4757 !important;
  box-shadow: 0 0 12px rgba(255, 71, 87, 0.45) !important;
  animation: shakeVibrate 0.4s ease-in-out;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer-sunset {
  background: linear-gradient(180deg, #ffffff 0%, #fff7ef 100%);
  border-top: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  padding-top: 4rem;
  margin-top: 5rem;
  box-shadow: 0 -10px 30px rgba(100, 60, 150, 0.04);
}

.footer-sunset::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 3px;
  background: var(--gradient-sunset);
  opacity: 0.8;
}

.footer-widget-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 1.4rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2.5px;
  background: var(--gradient-sunset);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a i {
  font-size: 0.75rem;
  color: #ff6b6b;
}

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

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
  transition: var(--transition-smooth);
}

.social-icon-btn:hover {
  background: var(--gradient-sunset);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-sunset);
}

.footer-bottom-bar {
  background: #fdf5ea;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom-custom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: var(--text-muted-dark);
}

.tuc-credit-link {
  color: #00e676 !important;
  text-decoration: none !important;
  font-weight: 600;
  transition: opacity 0.25s ease;
}

.tuc-credit-link:hover {
  text-decoration: none !important;
  opacity: 0.85;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (WhatsApp + Scroll To Top)
   ========================================================================== */
.floating-btn-group {
  position: fixed !important;
  bottom: 25px !important;
  right: 25px !important;
  z-index: 999999 !important;
  display: flex !important;
  flex-direction: row !important;
  gap: 14px !important;
  align-items: center !important;
  pointer-events: auto !important;
}

.floating-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff !important;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.floating-whatsapp-btn {
  background: #25d366;
  position: relative;
}

.floating-whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.35);
  animation: pulseRipple 2s infinite ease-out;
  z-index: -1;
}

@keyframes pulseRipple {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.floating-whatsapp-btn:hover {
  background: #128c7e;
  transform: scale(1.12);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

.floating-top-btn {
  background: linear-gradient(135deg, #7b1fa2 0%, #4a148c 100%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.floating-top-btn.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.floating-top-btn:hover {
  background: linear-gradient(135deg, #8e24aa 0%, #6a1b9a 100%);
  transform: translateY(-4px) scale(1.1) !important;
  box-shadow: 0 12px 30px rgba(123, 31, 162, 0.45);
}

/* ==========================================================================
   ULTRA-MODERN CONSULTATION & APPOINTMENT MODAL STYLES
   ========================================================================== */
.modal-backdrop.show {
  backdrop-filter: blur(8px);
  background-color: rgba(29, 21, 44, 0.7);
}

.astro-modal-content {
  border: 1px solid var(--border-light) !important;
  box-shadow: 0 25px 60px rgba(29, 21, 44, 0.3) !important;
  animation: modalZoomIn 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes modalZoomIn {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.astro-modal-header {
  background: linear-gradient(135deg, #fffcf8 0%, #ffe8d6 100%);
}

.modal-header-icon {
  width: 50px;
  height: 50px;
}

.whatsapp-modal-icon-wrapper {
  width: 60px;
  height: 60px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.btn-success {
  color: #ffffff !important;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
  color: #ffffff !important;
}

/* ==========================================================================
   EMPTY FIELD VIBRATION & VALIDATION ANIMATION
   ========================================================================== */
@keyframes shakeVibrate {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-7px); }
  40%, 80% { transform: translateX(7px); }
}

.is-shaking {
  animation: shakeVibrate 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) !important;
  border-color: #dc3545 !important;
  box-shadow: 0 0 12px rgba(220, 53, 69, 0.35) !important;
}

.was-validated .form-control:invalid,
.was-validated .form-select:invalid,
.was-validated .astro-input-control:invalid,
.astro-input-control.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 10px rgba(220, 53, 69, 0.2) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5zM6 8.5a.5.5 0 100-1 .5.5 0 000 1z'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 16px 16px !important;
  padding-right: 40px !important;
}

.was-validated .form-control:valid,
.was-validated .form-select:valid,
.was-validated .astro-input-control:valid,
.astro-input-control.is-valid {
  border-color: #10b981 !important;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2310b981' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.7c-.43.5-.8.5-1.1.03z'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 16px 16px !important;
  padding-right: 40px !important;
}

/* ==========================================================================
   MOBILE RESPONSIVE & LAYOUT OVERFLOW FIXES
   ========================================================================== */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
}

@media (max-width: 991.98px) {
  /* Fix Mobile Navbar Active Link Indicator Underline Alignment */
  .navbar-nav {
    align-items: flex-start !important;
    padding: 1rem 0.5rem !important;
  }

  .navbar-nav .nav-item {
    width: auto !important;
    margin-bottom: 0.25rem;
  }

  .navbar-nav .nav-link-custom {
    display: inline-block !important;
    width: auto !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    text-align: left !important;
  }

  .navbar-nav .nav-link-custom::after {
    left: 0.5rem !important;
    transform: none !important;
  }

  .navbar-nav .nav-link-custom.active::after,
  .navbar-nav .nav-link-custom:hover::after {
    width: 35px !important;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Hide side arrows on mobile touch devices for clean swipe navigation */
  .swiper-button-service,
  .swiper-button-testimonial,
  .swiper-button-custom {
    display: none !important;
  }

  /* Mobile Floating Action Buttons */
  .floating-btn-group {
    right: 14px !important;
    bottom: 14px !important;
    gap: 10px !important;
  }

  .floating-btn {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.2rem !important;
  }

  /* Section 2 Background Glow Scale */
  .bg-aura-glow {
    width: 220px !important;
    height: 220px !important;
    top: -40px !important;
    right: -40px !important;
  }

  /* Mobile Form Card Padding */
  .astro-vertical-form-card {
    padding: 1.25rem 1rem !important;
  }

  /* Wider Mobile Service Cards & Single-Line Buttons */
  .services-slider-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .astro-service-card {
    padding: 0 !important;
    min-height: auto !important;
    border-radius: 20px !important;
  }

  .astro-service-card-body {
    padding: 1.25rem 1rem !important;
  }

  .service-card-image-wrapper {
    height: 150px !important;
  }

  .astro-service-card .service-icon-box {
    width: 60px !important;
    height: 60px !important;
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
  }

  .astro-service-card h5 {
    font-size: 1.25rem !important;
    margin-bottom: 0.5rem !important;
  }

  .astro-service-card p {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.25rem !important;
  }

  .astro-service-card .d-flex.gap-2 {
    gap: 0.75rem !important;
    flex-wrap: nowrap !important;
  }

  .astro-service-card .btn {
    white-space: nowrap !important;
    font-size: 0.85rem !important;
    padding: 0.55rem 1.1rem !important;
    border-radius: 50px !important;
    flex: 1 1 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Reduce Excessive Mobile Section Vertical Gaps */
  section,
  .py-5,
  .py-4 {
    padding-top: 1.75rem !important;
    padding-bottom: 0rem !important;
  }

  .my-2, .my-3, .my-4, .my-5 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .mb-5, .mb-4 {
    margin-bottom: 1.25rem !important;
  }

  /* Wider Mobile Testimonial Reference Cards & Clean Layout */
  .testimonial-slider-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .testimonial-ref-header {
    margin-left: 50px !important;
    padding: 0.75rem 1rem 0.75rem 38px !important;
    clip-path: polygon(0 0, 80% 0, 100% 100%, 0 100%) !important;
  }

  .avatar-box-raised {
    width: 76px !important;
    height: 72px !important;
    top: 10px !important;
  }

  .avatar-initial-large {
    font-size: 1.7rem !important;
  }

  .testimonial-ref-body {
    padding: 1.6rem 1.1rem 1.1rem 1.1rem !important;
  }

  .testimonial-ref-text {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
  }

  /* Mobile Headings */
  .display-3, .display-4 {
    font-size: 1.85rem !important;
  }

  .display-5, .display-6 {
    font-size: 1.6rem !important;
  }
  .pb5{
    padding-bottom: 0rem !important;
  }
}

/* ==========================================================================
   ULTRA-MODERN ABOUT US PAGE STYLES
   ========================================================================== */

/* ==========================================================================
   GRAHA & NAKSHATRA 3D FLIP CARD GALLERY STYLES
   ========================================================================== */
.flip-card {
  background-color: transparent;
  width: 100%;
  height: 460px;
  perspective: 1200px;
  margin-bottom: 30px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-style: preserve-3d;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(29, 21, 44, 0.15);
}

.flip-card:hover .flip-card-inner,
.flip-card.is-flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 20px;
  overflow: hidden;
}

/* Front Card Styling */
.flip-card-front {
  background: #ffffff;
  border: 1px solid rgba(243, 156, 18, 0.3);
  display: flex;
  flex-direction: column;
}

.flip-card-img-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #0d0614;
}

.flip-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.flip-card:hover .flip-card-img {
  transform: scale(1.08);
}

.flip-card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(13, 6, 20, 0.85);
  backdrop-filter: blur(8px);
  color: #ffb800;
  border: 1px solid rgba(255, 184, 0, 0.5);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.flip-card-front-content {
  padding: 18px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, #ffffff 0%, #fff9f2 100%);
  border-top: 2px solid rgba(255, 184, 0, 0.2);
}

.flip-card-title {
  font-family: var(--bs-body-font-family);
  font-weight: 700;
  font-size: 1.25rem;
  color: #2b1836;
  margin-bottom: 4px;
}

.flip-card-subtitle {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 8px;
}

.flip-hint {
  font-size: 0.8rem;
  color: #d35400;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(243, 156, 18, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  width: max-content;
  margin: 0 auto;
}

.flip-hint i {
  transition: transform 0.4s ease;
}

.flip-card:hover .flip-hint i {
  transform: rotate(180deg);
}

/* Back Card Styling */
.flip-card-back {
  background: linear-gradient(145deg, #1b0d2a 0%, #0d0614 60%, #2a0845 100%);
  color: #ffffff;
  transform: rotateY(180deg);
  border: 1px solid rgba(255, 184, 0, 0.5);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  box-shadow: inset 0 0 30px rgba(255, 184, 0, 0.15);
}

.flip-card-back-header {
  border-bottom: 1px solid rgba(255, 215, 0, 0.25);
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.flip-card-back-title {
  color: #ffb800;
  font-family: var(--bs-body-font-family);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.flip-card-back-sub {
  color: #e0b0ff;
  font-size: 0.82rem;
  margin-top: 3px;
}

.flip-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  font-size: 0.83rem;
}

.flip-info-list li {
  margin-bottom: 6px;
  line-height: 1.4;
  color: #e2d9f3;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.flip-info-list li i {
  color: #ffb800;
  margin-top: 3px;
  font-size: 0.75rem;
}

.flip-info-list strong {
  color: #ffffff;
}

.flip-card-shloka {
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid #ffb800;
  padding: 8px 12px;
  border-radius: 4px;
  font-family: 'Cinzel', serif;
  font-style: italic;
  font-size: 0.8rem;
  color: #ffd700;
  margin-top: 4px;
  margin-bottom: 8px;
}

.flip-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.flip-card-btn {
  background: linear-gradient(135deg, #ff9900 0%, #ff5500 100%);
  color: #fff !important;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.flip-card-btn:hover {
  box-shadow: 0 5px 15px rgba(255, 153, 0, 0.4);
  transform: translateY(-2px);
}

.flip-card-btn-outline {
  background: transparent;
  color: #e0b0ff !important;
  border: 1px solid rgba(224, 176, 255, 0.4);
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.flip-card-btn-outline:hover {
  background: rgba(224, 176, 255, 0.15);
  color: #fff !important;
  border-color: #ffb800;
}

/* Gallery Filter Pills */
.gallery-filter-btn {
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-dark);
  font-family: var(--bs-body-font-family);
  font-weight: 600;
  padding: 0.65rem 1.6rem;
  border-radius: 30px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: linear-gradient(135deg, #7b1fa2 0%, #4a148c 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(123, 31, 162, 0.3);
}

/* Standard Gallery Card Styles */
.gallery-standard-card {
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(243, 156, 18, 0.25);
  box-shadow: 0 10px 25px rgba(29, 21, 44, 0.08);
  transition: all 0.4s ease;
  height: 100%;
}

.gallery-standard-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(123, 31, 162, 0.2);
  border-color: #ffb800;
}

.gallery-card-img-box {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.gallery-card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-standard-card:hover .gallery-card-img-box img {
  transform: scale(1.08);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13, 6, 20, 0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-standard-card:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-card-body {
  padding: 20px;
}

/* Modal Graha Image Detail Preview */
.graha-modal-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* About Hero Header & Ambient Glow Background */
.about-hero-section {
  position: relative;
  padding: 4rem 0 3.5rem 0;
  background: radial-gradient(circle at 10% 20%, rgba(255, 107, 107, 0.06) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(243, 156, 18, 0.07) 0%, transparent 40%),
              linear-gradient(180deg, #fffcf8 0%, #fef7ed 100%);
  overflow: hidden;
}

.about-hero-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 142, 83, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.about-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.25rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 142, 83, 0.3);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dark);
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.08);
}

/* About Floating Stat Cards */
.about-stat-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-top: 3px solid #ff8e53;
  border-radius: 18px;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}

.about-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-top-color: #ff6b6b;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-sunset);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.35rem;
}

/* Story Dual Photo Stack */
.story-image-stack {
  position: relative;
  padding: 1rem;
}

.story-img-main {
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border: 5px solid #ffffff;
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.story-image-stack:hover .story-img-main {
  transform: scale(1.02);
}

.story-img-secondary {
  position: absolute;
  bottom: -20px;
  right: -15px;
  width: 220px;
  height: 220px;
  border-radius: 20px;
  border: 4px solid #ffffff;
  box-shadow: 0 15px 35px rgba(255, 107, 107, 0.25);
  object-fit: cover;
  z-index: 5;
}

.story-badge-floating {
  position: absolute;
  top: 30px;
  left: -15px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-left: 4px solid #f39c12;
  border-radius: 16px;
  padding: 0.85rem 1.25rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  animation: floatBadge 4s ease-in-out infinite;
}

/* Value & Mission Cards */
.about-value-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2.2rem 1.75rem;
  height: 100%;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.about-value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-sunset);
  opacity: 0;
  transition: var(--transition-smooth);
}

.about-value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 142, 83, 0.4);
}

.about-value-card:hover::before {
  opacity: 1;
}

.value-icon-wrapper {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff3eb 0%, #ffe8d6 100%);
  color: #ff6b6b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.4rem;
  box-shadow: 0 6px 16px rgba(255, 107, 107, 0.12);
  transition: var(--transition-smooth);
}

.about-value-card:hover .value-icon-wrapper {
  background: var(--gradient-sunset);
  color: #ffffff;
  transform: rotate(6deg) scale(1.1);
}

/* Process Step Cards */
.process-step-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  height: 100%;
  position: relative;
  transition: var(--transition-smooth);
}

.process-step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: #ff8e53;
}

.step-num-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-sunset);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.35);
}

.step-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff5ee;
  color: #ff7e5f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(255, 126, 95, 0.2);
}

/* Quote Box */
.about-quote-card {
  background: linear-gradient(135deg, #2a1b40 0%, #170d28 100%);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(23, 13, 40, 0.3);
}

.about-quote-card::after {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

/* Feature Check Grid Items */
.feature-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  transition: var(--transition-smooth);
}

.feature-check-item:hover {
  transform: translateX(4px);
  border-color: #ff8e53;
}

.feature-check-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--gradient-sunset);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* CTA Glassmorphic Card */
.about-cta-card {
  background: linear-gradient(135deg, #1e1035 0%, #3b1d54 50%, #1e1035 100%);
  border: 1px solid rgba(255, 180, 123, 0.3);
  border-radius: 28px;
  padding: 3.5rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(30, 16, 53, 0.35);
}

.about-cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 126, 95, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .story-img-secondary {
    width: 150px;
    height: 150px;
    bottom: -10px;
    right: 0px;
  }
  .story-badge-floating {
    top: 10px;
    left: 0px;
    padding: 0.6rem 0.9rem;
    font-size: 0.8rem;
  }
  .about-cta-card {
    padding: 2.5rem 1.25rem;
  }
}

/* Bright White Outline Button for Dark Sections */
.btn-outline-light {
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.75) !important;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.btn-outline-light:hover {
  background: #25d366 !important;
  border-color: #25d366 !important;
  color: #ffffff !important;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
}

/* Perfectly Round Icon Box Container */
.why-choose-icon-box {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

/* Hero Celestial Precision Image Showcase Frame */
.hero-celestial-frame {
  position: relative;
  background: #ffffff;
  box-shadow: 0 20px 45px rgba(255, 107, 107, 0.18);
  border: 4px solid #ffffff !important;
  transition: var(--transition-smooth);
}

.hero-celestial-frame:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: var(--shadow-hover);
}

.hero-celestial-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.hero-celestial-img.loaded {
  opacity: 1;
}

.hero-celestial-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.9) 0%, rgba(17, 24, 39, 0.2) 60%, transparent 100%);
  z-index: 3;
}

/* ==========================================================================
   HYPER-REALISTIC 3D CELESTIAL PLANETS & SOLAR SYSTEM ANIMATION
   ========================================================================== */
.cosmic-orbit-wrapper {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
  perspective: 800px;
}

/* Realistic Concentric 8 Orbit Rings */
.orbit-ring {
  position: absolute;
  top: 45%;
  left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 215, 0, 0.22);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.05);
}

.orbit-ring-1 { width: 75px; height: 75px; animation: rotateOrbit 9s linear infinite; }
.orbit-ring-2 { width: 115px; height: 115px; border-color: rgba(255, 240, 200, 0.2); animation: rotateOrbit 14s linear infinite reverse; }
.orbit-ring-3 { width: 155px; height: 155px; border-color: rgba(64, 169, 255, 0.25); animation: rotateOrbit 19s linear infinite; }
.orbit-ring-4 { width: 200px; height: 200px; border-color: rgba(255, 107, 107, 0.22); animation: rotateOrbit 24s linear infinite reverse; }
.orbit-ring-5 { width: 245px; height: 245px; border-color: rgba(243, 156, 18, 0.25); animation: rotateOrbit 30s linear infinite; }
.orbit-ring-6 { width: 295px; height: 295px; border-color: rgba(156, 39, 176, 0.25); animation: rotateOrbit 37s linear infinite reverse; }
.orbit-ring-7 { width: 345px; height: 345px; border-color: rgba(0, 210, 211, 0.22); animation: rotateOrbit 44s linear infinite; }
.orbit-ring-8 { width: 395px; height: 395px; border-color: rgba(48, 144, 255, 0.2); animation: rotateOrbit 52s linear infinite reverse; }

@keyframes rotateOrbit {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Realistic 3D Planet Spheres */
.planet {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background-size: cover;
}

/* 1. Realistic Mercury (Cratered Rocky Gold/Grey) */
.planet-mercury {
  top: 0%; left: 50%;
  width: 10px; height: 10px;
  background: radial-gradient(circle at 35% 35%, #fff5d6 0%, #d4af37 40%, #8a6d1b 75%, #3d2f07 100%);
  box-shadow: inset -2px -2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(212, 175, 55, 0.8);
}

/* 2. Realistic Venus (Golden Atmosphere Haze) */
.planet-venus {
  top: 50%; left: 100%;
  width: 14px; height: 14px;
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #f39c12 45%, #d35400 80%, #4a1c03 100%);
  box-shadow: inset -3px -3px 5px rgba(0, 0, 0, 0.7), 0 0 12px rgba(243, 156, 18, 0.9);
}

/* 3. Realistic Earth (Blue Oceans, Continents & Cyan Atmosphere) */
.planet-earth {
  top: 100%; left: 50%;
  width: 16px; height: 16px;
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #48dbfb 20%, #1e3799 60%, #0c2461 85%, #050b1e 100%);
  box-shadow: inset -3px -3px 6px rgba(0, 0, 0, 0.8), 0 0 15px rgba(72, 219, 251, 0.9), 0 0 4px #48dbfb;
}

/* 4. Realistic Mars (Red Dust & Polar Ice Cap) */
.planet-mars {
  top: 50%; left: 0%;
  width: 13px; height: 13px;
  background: radial-gradient(circle at 35% 25%, #ffbe76 0%, #ff7675 35%, #d63031 75%, #481111 100%);
  box-shadow: inset -3px -3px 5px rgba(0, 0, 0, 0.85), 0 0 12px rgba(255, 118, 117, 0.9);
}

/* 5. Realistic Jupiter (Banded Gas Giant & Great Red Spot) */
.planet-jupiter {
  top: 15%; left: 85%;
  width: 24px; height: 24px;
  background: linear-gradient(180deg, #fceabb 0%, #f8b500 20%, #e67e22 35%, #fceabb 50%, #d35400 65%, #f8b500 85%, #7f8c8d 100%);
  border-radius: 50%;
  box-shadow: inset -5px -5px 10px rgba(0, 0, 0, 0.85), 0 0 18px rgba(248, 181, 0, 0.8), 0 0 30px rgba(230, 126, 34, 0.4);
}

/* 6. Realistic Saturn (Gas Giant with 3D Translucent Rings) */
.planet-saturn {
  top: 85%; left: 15%;
  width: 20px; height: 20px;
  background: radial-gradient(circle at 30% 30%, #ffeaa7 0%, #fdcb6e 50%, #6c5ce7 85%, #1e272e 100%);
  box-shadow: inset -4px -4px 8px rgba(0, 0, 0, 0.85), 0 0 16px rgba(253, 203, 110, 0.8);
}

.saturn-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 36px; height: 12px;
  border: 3px solid rgba(253, 203, 110, 0.85);
  border-left-color: rgba(253, 203, 110, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-28deg);
  box-shadow: 0 0 10px rgba(253, 203, 110, 0.5);
  pointer-events: none;
}

/* 7. Realistic Uranus (Cyan Ice Giant) */
.planet-uranus {
  top: 0%; left: 50%;
  width: 15px; height: 15px;
  background: radial-gradient(circle at 30% 30%, #e0ffff 0%, #81ecec 45%, #00cec9 80%, #006266 100%);
  box-shadow: inset -3px -3px 6px rgba(0, 0, 0, 0.8), 0 0 14px rgba(129, 236, 236, 0.9);
}

/* 8. Realistic Neptune (Deep Azure Blue Gas Giant) */
.planet-neptune {
  top: 50%; left: 100%;
  width: 15px; height: 15px;
  background: radial-gradient(circle at 30% 30%, #d6a2e8 0%, #a29bfe 35%, #6c5ce7 75%, #192a56 100%);
  box-shadow: inset -3px -3px 6px rgba(0, 0, 0, 0.85), 0 0 14px rgba(162, 155, 254, 0.9);
}

/* Realistic Sun Corona Core */
.cosmic-sun-core {
  position: absolute;
  top: 45%;
  left: 50%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, #fff7d6 25%, #ffb8b8 50%, #ff7675 75%, transparent 100%);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 40px #ffa801, 0 0 80px #ff5e57, inset 0 0 20px #ffffff;
  animation: pulseSun 3s ease-in-out infinite alternate;
}

@keyframes pulseSun {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.85; filter: drop-shadow(0 0 20px #ffa801); }
  100% { transform: translate(-50%, -50%) scale(1.18); opacity: 1; filter: drop-shadow(0 0 45px #ff5e57); }
}

/* Twinkling Cosmic Star Particles */
.star-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 8px #ffffff;
  animation: starTwinkle 2.5s ease-in-out infinite alternate;
}

.star-1 { top: 20%; left: 25%; animation-delay: 0.2s; }
.star-2 { top: 70%; left: 80%; animation-delay: 0.8s; }
.star-3 { top: 30%; left: 75%; animation-delay: 1.4s; }
.star-4 { top: 80%; left: 20%; animation-delay: 2.0s; }

@keyframes starTwinkle {
  0% { transform: scale(0.4); opacity: 0.3; }
  100% { transform: scale(1.4); opacity: 1; }
}

/* ==========================================================================
   ULTRA-MODERN CONTACT PAGE & 2-COLUMN LAYOUT STYLES
   ========================================================================== */
.bg-contact-glow-1 {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.15) 0%, rgba(254, 202, 87, 0.06) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.bg-contact-glow-2 {
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(156, 39, 176, 0.12) 0%, rgba(233, 30, 99, 0.05) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

/* Glassmorphism Contact Form Card (LEFT COLUMN) */
.contact-form-card {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 242, 0.94) 100%);
  border: 1px solid rgba(255, 142, 83, 0.28);
  border-radius: 28px;
  padding: 2.5rem 2.2rem;
  box-shadow: 0 16px 40px rgba(255, 107, 107, 0.08), 0 4px 16px rgba(123, 31, 162, 0.04);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition: all 0.35s ease;
}

.card-top-gradient-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #ff6b6b 0%, #feca57 50%, #7b1fa2 100%);
  z-index: 3;
}

/* Astro Form Input Groups with Icons */
.astro-input-group {
  position: relative;
  margin-bottom: 1.25rem;
}

.astro-input-group .input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #ff8e53;
  font-size: 1rem;
  z-index: 4;
  transition: color 0.3s ease, transform 0.3s ease;
}

.astro-input-group.textarea-group .input-icon {
  top: 22px;
  transform: none;
}

.astro-input-control {
  background: #fdfaf6;
  border: 1.5px solid rgba(255, 142, 83, 0.22);
  border-radius: 14px;
  padding: 0.75rem 1rem 0.75rem 46px;
  font-size: 0.95rem;
  color: #2d3748;
  width: 100%;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.astro-input-control:focus {
  background: #ffffff;
  border-color: #ff6b6b;
  box-shadow: 0 0 16px rgba(255, 107, 107, 0.22), 0 0 0 3px rgba(255, 107, 107, 0.1);
  outline: none;
}

.astro-input-group:focus-within .input-icon {
  color: #ff6b6b;
  transform: translateY(-50%) scale(1.15);
}

.astro-input-group.textarea-group:focus-within .input-icon {
  transform: scale(1.15);
}

.form-label-astro {
  font-weight: 700;
  font-size: 0.88rem;
  color: #334155;
  margin-bottom: 0.4rem;
  display: block;
}

/* Sunset Gradient CTA Button */
.btn-sunset-cta {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 50%, #e84393 100%);
  color: #ffffff !important;
  border: none;
  border-radius: 50px;
  padding: 0.9rem 2.2rem;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(255, 107, 107, 0.35);
  transition: all 0.35s ease;
  letter-spacing: 0.3px;
}

.btn-sunset-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 36px rgba(255, 107, 107, 0.45);
  background: linear-gradient(135deg, #ff5252 0%, #ff793f 50%, #d63031 100%);
}

/* Contact Info Glass Cards (RIGHT COLUMN) */
.contact-info-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 142, 83, 0.25);
  border-radius: 24px;
  padding: 2rem 1.8rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(14px);
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 1.1rem 0;
  border-bottom: 1px dashed rgba(255, 142, 83, 0.2);
  transition: transform 0.3s ease;
}

.contact-detail-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-detail-item:hover {
  transform: translateX(4px);
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff3e6 0%, #ffe6d1 100%);
  border: 1px solid rgba(255, 142, 83, 0.3);
  color: #ff6b6b;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.12);
}

.contact-item-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #1e293b;
  margin-bottom: 3px;
}

.contact-item-text {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 0;
  line-height: 1.5;
}

.contact-item-text a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.25s ease;
}

.contact-item-text a:hover {
  color: #ff6b6b;
}

/* Urgent WhatsApp Quick Connect Banner */
.whatsapp-quick-card {
  background: linear-gradient(135deg, #075e54 0%, #128c7e 100%);
  border-radius: 24px;
  padding: 2rem 1.8rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(18, 140, 126, 0.3);
  margin-top: 1.5rem;
}

.whatsapp-quick-card::after {
  content: '\f232';
  font-family: 'Font Awesome 6 Brands';
  position: absolute;
  right: -15px;
  bottom: -20px;
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.btn-whatsapp-quick {
  background: #ffffff;
  color: #075e54 !important;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 50px;
  padding: 0.75rem 1.8rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition: all 0.35s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-whatsapp-quick:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  background: #25d366;
  color: #ffffff !important;
}

/* Responsive Overrides for Contact Page */
@media (max-width: 991px) {
  .contact-form-card {
    padding: 1.8rem 1.3rem !important;
    border-radius: 20px !important;
  }

  .contact-info-card {
    padding: 1.5rem 1.2rem !important;
    border-radius: 20px !important;
    margin-top: 1.5rem !important;
  }

  .whatsapp-quick-card {
    padding: 1.5rem 1.2rem !important;
    border-radius: 20px !important;
  }
}








/* Custom Premium Astro Toast Notifications */
.astro-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
  width: calc(100% - 48px);
}

.astro-toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.astro-toast.show {
  transform: translateX(0);
  opacity: 1;
}

.astro-toast-success {
  border-left: 5px solid #22c55e;
}

.astro-toast-success .toast-icon {
  color: #22c55e;
}

.astro-toast-error {
  border-left: 5px solid #ef4444;
}

.astro-toast-error .toast-icon {
  color: #ef4444;
}

.toast-icon {
  font-size: 20px;
  margin-top: 2px;
}

.toast-content {
  flex-grow: 1;
}

.toast-title {
  font-weight: 700;
  color: #0f172a;
  font-size: 15px;
  margin-bottom: 4px;
  font-family: 'Outfit', sans-serif;
}

.toast-message {
  color: #64748b;
  font-size: 13.5px;
  line-height: 1.4;
  margin: 0;
}

.toast-close-btn {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
  line-height: 1;
  margin-left: 4px;
  transition: color 0.2s;
}

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

/* ==========================================================================
   SERVICES PAGE CUSTOM PREMIUM STYLES
   ========================================================================== */

/* Page Hero Banner */
.services-hero-section {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(255, 142, 83, 0.08) 0%, transparent 60%);
  padding: 5rem 0 3rem 0;
  border-bottom: 1px solid rgba(255, 142, 83, 0.1);
}

/* Sticky Services Sub-Navigation Bar */
.services-sub-nav-wrapper {
  position: sticky;
  top: 80px; /* Offset under sticky main navbar (height ~80px) */
  background: rgba(255, 252, 248, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 142, 83, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  z-index: 999;
  transition: all 0.3s ease;
}

.services-sub-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0;
  margin: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none; /* Hide scrollbar Firefox */
  -ms-overflow-style: none;  /* Hide scrollbar IE */
  justify-content: flex-start;
}

@media (min-width: 992px) {
  .services-sub-nav {
    justify-content: center;
    flex-wrap: wrap;
  }
}

.services-sub-nav::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}

.services-sub-nav-item {
  flex: 0 0 auto;
}

.services-sub-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 142, 83, 0.12);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.services-sub-nav-link i {
  font-size: 0.9rem;
  background: var(--gradient-sunset);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.3s ease;
}

.services-sub-nav-link:hover {
  color: #ff6b6b;
  border-color: rgba(255, 107, 107, 0.4);
  background: #ffffff;
  transform: translateY(-1px);
}

.services-sub-nav-link:hover i {
  transform: scale(1.15) rotate(10deg);
}

/* Service Detail Sections */
.service-detail-section {
  padding: 6.5rem 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 142, 83, 0.08);
}

/* Alternating Section Backgrounds */
.service-detail-section:nth-child(even) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(254, 245, 234, 0.3) 100%);
}

.service-detail-section:nth-child(odd) {
  background: transparent;
}

/* Visual Container for Rectangular Scenario Images */
.service-image-block {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 142, 83, 0.2);
  box-shadow: 0 15px 35px rgba(255, 107, 107, 0.08);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(255, 255, 255, 0.4);
}

.service-image-frame {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.service-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.service-image-block:hover {
  border-color: rgba(255, 107, 107, 0.45);
  box-shadow: 0 22px 50px rgba(255, 107, 107, 0.16);
  transform: translateY(-4px);
}

.service-image-block:hover .service-image-frame img {
  transform: scale(1.05);
}

/* Floating Planet/Graha Badge (now placed over rectangular image corner) */
.service-floating-graha-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 142, 83, 0.3);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.3s ease;
}

.service-floating-graha-badge small {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-floating-graha-badge i {
  color: #ff8e53;
  font-size: 0.8rem;
}

.service-image-block:hover .service-floating-graha-badge {
  transform: scale(1.06) translateY(-2px);
  background: #ffffff;
  border-color: rgba(255, 107, 107, 0.6);
  box-shadow: 0 10px 25px rgba(255, 107, 107, 0.15);
}

/* Content Columns styling */
.service-icon-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(254, 180, 123, 0.1) 100%);
  border: 1px solid rgba(255, 142, 83, 0.2);
  color: #ff6b6b;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 15px rgba(255, 107, 107, 0.03);
  transition: all 0.3s ease;
}

.service-detail-section:hover .service-icon-indicator {
  transform: translateY(-3px) scale(1.05);
  background: var(--gradient-sunset);
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-sunset);
}

.service-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.service-graha-text {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-gold);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-description {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Analysis & Remedy Grid Cards */
.service-features-grid {
  margin-bottom: 1.75rem;
}

.service-feature-column {
  margin-bottom: 1rem;
}

.service-feature-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.service-feature-title i {
  color: #ff7e5f;
}

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

.service-feature-list li {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.service-feature-list li i {
  color: #22c55e;
  font-size: 0.95rem;
  margin-top: 3px;
}

.service-feature-list-remedies li i {
  color: #ff9800; /* Warm gold for remedies */
}

.btn-whatsapp-service {
  background: transparent;
  color: #128C7E !important;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  border: 2px solid #25D366;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.btn-whatsapp-service:hover {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-outline-sunset-service {
  background: transparent;
  color: var(--text-main) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  border: 2px solid #ff8e53;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.btn-outline-sunset-service:hover {
  background: var(--gradient-sunset);
  color: #ffffff !important;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sunset);
}

/* Bottom CTA Banner */
.bottom-cta-banner-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(255, 142, 83, 0.25);
  border-radius: 30px;
  padding: 3.5rem 2rem;
  box-shadow: 0 15px 40px rgba(255, 107, 107, 0.08);
  overflow: hidden;
  z-index: 1;
}

.bottom-cta-banner-card::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 142, 83, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

.bottom-cta-banner-card::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(254, 180, 123, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

/* Cosmic Pulse Animation */
@keyframes cosmicPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
}

/* Responsive adjustment for sticky nav */
@media (max-width: 991px) {
  .services-sub-nav-wrapper {
    top: 80px; /* Adjust offset for collapsed/smaller sticky main header */
  }
  .service-detail-section {
    padding: 4.5rem 0;
  }
  .service-heading {
    font-size: 1.85rem;
    margin-top: 1.5rem;
  }
  .service-image-block {
    max-width: 100%;
    min-height: 300px;
    height: 300px;
    margin-bottom: 1.5rem;
  }
}

/* ==========================================================================
   IMAGE LAZY LOADING & SKELETAL PLACEHOLDERS
   ========================================================================== */

/* Skeleton Loader Base Style (fits theme styling perfectly) */
.skeleton-loader {
  position: relative;
  overflow: hidden;
  background-color: #f7eedf !important; /* light warm theme-aligned background */
}

/* Skeleton shimmer animation using hardware accelerated translate */
.skeleton-loader::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 20%,
    rgba(255, 255, 255, 0.75) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: skeleton-shimmer 1.6s infinite;
  z-index: 2;
  pointer-events: none;
}

@keyframes skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}

/* Once loaded, remove shimmer smoothly */
.skeleton-loader.loaded::before {
  animation: none;
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

/* Image lazy loading styling */
.lazy-img {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.lazy-img.loaded {
  opacity: 1;
}

/* Hero slide image wrapper container */
.hero-slide-img-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* ==========================================
   RESPONSIVE HERO SECTION REDUCTIONS FOR MOBILE VIEWPORTS
   ========================================== */
@media (max-width: 767.98px) {
  /* 1. Homepage Slider Hero */
  .hero-swiper-container {
    height: 380px !important; /* Scaled down from 580px */
  }
  .hero-slide-content {
    padding: 1rem 1.25rem !important;
  }
  .hero-slide-content h1.display-3,
  .hero-slide-content h2.display-3 {
    font-size: 1.85rem !important; /* Smaller text size on mobile */
  }
  .hero-slide-content p.lead {
    font-size: 0.95rem !important;
    margin-bottom: 1.25rem !important;
  }
  .hero-slide-content .btn-lg {
    padding: 0.5rem 1.25rem !important;
    font-size: 0.9rem !important;
  }

  /* 2. Secondary Pages (About, Services, Gallery) */
  .about-hero-section {
    padding-top: 2.5rem !important;
    padding-bottom: 2rem !important;
  }
  .about-hero-section h1.display-4 {
    font-size: 1.85rem !important;
  }
  .about-hero-section p.lead {
    font-size: 0.95rem !important;
  }

  /* 3. Contact Page Hero */
  .contact-hero-section {
    padding-top: 2.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  .contact-hero-section h1.display-4 {
    font-size: 1.85rem !important;
  }
  .contact-hero-section p.text-muted-custom {
    font-size: 0.95rem !important;
  }
}

/* Decrease height of navbar in mobile screens */
@media (max-width: 991.98px) {
  .header-navbar {
    padding: 0.25rem 0 !important;
  }
  .brand-icon-wrapper {
    width: 48px !important;
    height: 48px !important;
  }
  .brand-name {
    font-size: 1.3rem !important;
  }
  .navbar-toggler-custom {
    padding: 0.3rem 0.5rem !important;
    font-size: 0.95rem !important;
  }
  .main-content {
    padding-top: 28px !important;
  }
}

/* ── About Page CTA Buttons Row ─────────────────────────────────── */
.about-cta-btns {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.about-cta-btns .btn-sunset,
.about-cta-btns .btn-call {
  flex: 1 1 0;
  justify-content: center;
  font-size: 0.82rem;
  padding: 0.55rem 0.75rem;
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .about-cta-btns {
    padding-right: 1rem;
  }
}

/* ── Mission / Vision / Core Values — Mobile Horizontal Slider ──── */

/* Desktop: standard 3-column grid */
.mvc-scroll-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mvc-card-item {
  min-width: 0;
}


/* Mobile slider */
@media (max-width: 991.98px) {
  .mvc-slider-wrap {
    position: relative;
  }

  .mvc-scroll-track {
    display: flex;
    flex-direction: row;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;          /* Firefox */
    padding-top: 0.5rem;
    padding-bottom: 1rem;
    /* bleed to edges on mobile */
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .mvc-scroll-track::-webkit-scrollbar {
    display: none;                  /* Chrome / Safari */
  }

  .mvc-card-item {
    flex: 0 0 76vw;
    max-width: 290px;
    scroll-snap-align: center;
  }

  .mvc-card-item .about-value-card {
    height: 100%;
    padding: 1.5rem 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 126, 95, 0.22);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  /* Disable hover shift on mobile to prevent sticky touch state */
  .mvc-card-item .about-value-card:hover {
    transform: none !important;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.05) !important;
    border-color: rgba(255, 126, 95, 0.22) !important;
  }

  .mvc-card-item .about-value-card:hover::before {
    opacity: 0 !important;
  }

  .mvc-card-item .about-value-card .value-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.08);
  }

  .mvc-card-item .about-value-card:hover .value-icon-wrapper {
    transform: none !important;
    background: linear-gradient(135deg, #fff3eb 0%, #ffe8d6 100%) !important;
    color: #ff6b6b !important;
  }

  .mvc-card-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem !important;
  }

  .mvc-card-item p {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #6c757d;
  }
}

/* == Services Page � Mobile Accordion == */
.svc-acc-trigger { display: none; }
.svc-acc-body    { display: block; }

@media (max-width: 991.98px) {
  .svc-accordion-item {
    padding: 0 !important;
    margin-bottom: 0 !important;
    border-bottom: 1px solid rgba(255,142,83,0.18);
  }
  .svc-accordion-item:first-of-type {
    border-top: 1px solid rgba(255,142,83,0.18);
  }
  .svc-acc-trigger {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: #fff8f3;
    border: none;
    font-family: var(--font-heading, inherit);
    font-size: 1rem;
    font-weight: 700;
    color: #2d1a0e;
    cursor: pointer;
    text-align: left;
    transition: background 0.25s ease, color 0.25s ease;
    gap: 0.75rem;
  }
  .svc-acc-trigger[aria-expanded="true"] {
    background: linear-gradient(90deg, #fff0e6 0%, #fff8f3 100%);
    color: #e05a00;
    border-left: 4px solid #ff8e53;
  }
  .svc-acc-icon {
    font-size: 0.85rem;
    color: #ff8e53;
    transition: transform 0.3s ease;
    flex-shrink: 0;
  }
  .svc-acc-trigger[aria-expanded="true"] .svc-acc-icon {
    transform: rotate(180deg);
  }
  .svc-acc-body {
    display: none;
    overflow: hidden;
    padding: 1.25rem 0 1.5rem;
  }
  .svc-acc-body.open {
    display: block;
    animation: svcFadeIn 0.3s ease;
  }
  @keyframes svcFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* == Service CTA Buttons � Same row on mobile == */
@media (max-width: 991.98px) {
  .svc-acc-body .d-flex.flex-wrap {
    flex-wrap: nowrap !important;
    gap: 0.6rem !important;
  }
  .svc-acc-body .btn-whatsapp-service,
  .svc-acc-body .btn-outline-sunset-service {
    flex: 1 1 0;
    justify-content: center;
    font-size: 0.8rem;
    padding: 0.5rem 0.6rem;
    white-space: nowrap;
  }
}

/* == Hide services sub-nav on mobile == */
@media (max-width: 991.98px) {
  .services-sub-nav-wrapper {
    display: none !important;
  }
}

/* == Home Hero CTA Buttons � Same row on mobile == */
@media (max-width: 991.98px) {
  .hero-cta-btns {
    flex-wrap: nowrap !important;
    gap: 0.6rem !important;
  }
  .hero-cta-btns .btn-whatsapp-card,
  .hero-cta-btns .btn-outline-sunset-card {
    flex: 1 1 0;
    justify-content: center;
    font-size: 0.82rem !important;
    padding: 0.55rem 0.75rem !important;
    white-space: nowrap;
  }
  .hero-cta-btns .btn-whatsapp-card .fs-5,
  .hero-cta-btns .fa-whatsapp {
    font-size: 1rem !important;
  }
}

/* == About Hero CTA Buttons � Same row, smaller on mobile == */
@media (max-width: 991.98px) {
  .about-hero-btns {
    flex-wrap: nowrap !important;
    gap: 0.6rem !important;
  }
  .about-hero-btns .btn-sunset,
  .about-hero-btns .btn-whatsapp {
    flex: 1 1 0;
    justify-content: center;
    font-size: 0.82rem !important;
    padding: 0.55rem 0.75rem !important;
    white-space: nowrap;
  }
}

/* Gallery Filter Container */
.gallery-filter-row {
  display: flex;
  flex-wrap: wrap;
}

/* == Unified Mobile Button Paddings Override == */
@media (max-width: 991.98px) {
  /* Standard Buttons on Mobile */
  .btn-sunset,
  .btn-outline-sunset,
  .btn-whatsapp,
  .btn-call,
  .btn-whatsapp-quick,
  .btn-outline-light,
  .btn-outline-secondary,
  .btn-success {
    padding: 0.55rem 1.25rem;
  }

  /* Card / Small Buttons on Mobile */
  .btn-outline-sunset-card,
  .btn-whatsapp-card,
  .btn-whatsapp-service,
  .btn-outline-sunset-service,
  .flip-card-btn,
  .flip-card-btn-outline {
    padding: 0.42rem 0.85rem;
  }

  /* CTA / Submit Buttons on Mobile */
  .btn-sunset-submit,
  .btn-sunset-cta {
    padding: 0.7rem 1.7rem;
  }

  /* Gallery Filter Pills on Mobile */
  .gallery-filter-btn {
    padding: 0.5rem 1.2rem;
  }

  /* Enforce single-row gallery filter pills */
  .gallery-filter-row {
    flex-wrap: nowrap !important;
    gap: 0.6rem !important;
  }
  .gallery-filter-row .gallery-filter-btn {
    flex: 1 1 0;
    font-size: 0.78rem !important;
    padding: 0.55rem 0.6rem !important;
    white-space: nowrap !important;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }
}

/* == Gallery 2-Column Mobile Grid Adjustments == */
@media (max-width: 575.98px) {
  .flip-card {
    height: auto;
    aspect-ratio: 1 / 1.7;
    margin-bottom: 12px;
  }

  .flip-card-inner {
    border-radius: 12px;
  }

  .flip-card-front,
  .flip-card-back {
    border-radius: 12px;
  }

  .flip-card-img-wrapper {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .flip-card-badge {
    top: 6px;
    right: 6px;
    font-size: 0.58rem;
    padding: 2px 6px;
  }

  .flip-card-front-content {
    padding: 6px 4px;
    border-top: 1px solid rgba(255, 184, 0, 0.2);
  }

  .flip-card-title {
    font-size: 0.85rem;
    margin-bottom: 2px;
  }

  .flip-card-subtitle {
    font-size: 0.68rem;
    margin-bottom: 4px;
    line-height: 1.15;
  }

  .flip-hint {
    font-size: 0.62rem;
    padding: 1px 5px;
    gap: 3px;
  }

  .flip-card-back {
    padding: 8px 6px;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
  }

  .flip-card-back::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }

  .flip-card-back-header {
    padding-bottom: 2px;
    margin-bottom: 4px;
  }

  .flip-card-back-title {
    font-size: 0.85rem;
  }

  .flip-card-back-sub {
    font-size: 0.65rem;
  }

  .flip-info-list {
    margin-bottom: 4px;
    font-size: 0.65rem;
  }

  .flip-info-list li {
    margin-bottom: 2px;
    line-height: 1.2;
    gap: 3px;
  }

  .flip-info-list li i {
    margin-top: 1px;
    font-size: 0.58rem;
  }

  .flip-card-shloka {
    padding: 2px 4px;
    font-size: 0.62rem;
    margin-top: 0px;
    margin-bottom: 4px;
  }

  .flip-card-actions {
    flex-direction: row;
    gap: 4px;
    margin-top: auto;
    padding-bottom: 2px; /* Extra padding to prevent bottom clipping in scroll view */
  }

  .flip-card-btn,
  .flip-card-btn-outline {
    padding: 0.25rem 0.3rem !important;
    font-size: 0.65rem !important;
    border-radius: 20px;
    width: auto;
    flex: 1;
  }

  .about-cta-card .btn {
    font-size: 0.8rem !important;
    padding: 0.45rem 0.5rem !important;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px !important;
  }
}

/* ==========================================================================
   SERVICES REAL-TIME SEARCH BAR & GRID SYSTEM
   ========================================================================== */
.services-search-wrapper {
  background: linear-gradient(135deg, rgba(255, 126, 95, 0.15) 0%, rgba(254, 180, 123, 0.15) 100%);
  padding: 4px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.05), inset 0 1px 2px rgba(255, 255, 255, 0.5);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  margin-bottom: 10px;
  max-width: 100%;
}

.services-search-bar-inner {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 252, 248, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 126, 95, 0.25);
  border-radius: 50px;
  padding: 6px 12px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.services-search-input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 8px 16px 8px 42px;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-main);
  font-family: var(--font-body);
  transition: all 0.3s ease;
  outline: none !important;
}

.services-search-input::placeholder {
  color: #a4b0be;
  font-style: italic;
  font-weight: 400;
  transition: color 0.3s ease;
}

/* Stunning glowing effects on focus */
.services-search-wrapper:focus-within {
  background: var(--gradient-sunset);
  box-shadow: 0 15px 35px rgba(255, 107, 107, 0.25);
  transform: translateY(-2px);
}

.services-search-wrapper:focus-within .services-search-bar-inner {
  background: #ffffff;
  border-color: transparent;
}

.services-search-wrapper:focus-within .services-search-input::placeholder {
  color: #ced6e0;
}

/* Beautiful Animated Lens Icon */
.search-lens-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  background: var(--gradient-sunset);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.services-search-wrapper:focus-within .search-lens-icon {
  transform: translateY(-50%) scale(1.2) rotate(10deg);
  filter: drop-shadow(0 2px 4px rgba(255, 107, 107, 0.4));
}

/* Sleek Clear Button */
.clear-search-btn {
  background: transparent;
  border: none;
  padding: 6px;
  cursor: pointer;
  outline: none;
  color: #ff6b6b;
  opacity: 0.7;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.clear-search-btn i {
  font-size: 1.2rem;
}

.clear-search-btn:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.15);
  color: #ff4757;
}

/* Services active search responsive grid overrides */
.services-swiper-container.search-active {
  overflow: visible !important;
}
.services-swiper-container.search-active .swiper-wrapper {
  display: flex !important;
  flex-wrap: wrap !important;
  transform: none !important;
  gap: 24px !important;
  justify-content: center !important;
}
.services-swiper-container.search-active .swiper-slide {
  width: calc(33.333% - 16px) !important; /* 3 columns on desktop */
  margin-right: 0 !important;
  height: auto !important;
}
@media (max-width: 991px) {
  .services-swiper-container.search-active .swiper-slide {
    width: calc(50% - 12px) !important; /* 2 columns on tablet */
  }
}
@media (max-width: 575px) {
  .services-swiper-container.search-active .swiper-slide {
    width: 100% !important; /* 1 column on mobile */
  }
}

/* Elegant No Services Found Panel */
.no-services-found {
  padding: 3.5rem 2rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 1px dashed rgba(255, 126, 95, 0.3);
  box-shadow: var(--shadow-card);
  margin: 2.5rem auto;
  max-width: 550px;
  animation: fadeIn 0.4s ease-out;
}
.no-services-found-icon {
  font-size: 3.5rem;
  background: var(--gradient-sunset);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.25rem;
  display: inline-block;
}
.no-services-found-title {
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}
.no-services-found-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Force hide non-matching slides by overriding .swiper-slide display flex rule */
.services-swiper-container .swiper-slide.d-none {
  display: none !important;
}

/* ==========================================================================
   ABOUT US PAGE: CREATIVE MYSTIC CELESTIAL SVG OVERLAYS & ANIMATIONS
   ========================================================================== */
.svg-orbit-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.svg-zodiac-ring {
  transform-origin: center;
  animation: svgRotateClockwise 50s linear infinite;
}

.svg-inner-ring {
  transform-origin: center;
  animation: svgRotateCounterClockwise 35s linear infinite;
}

.svg-pulsing-center {
  transform-origin: center;
  animation: svgPulse 4s ease-in-out infinite;
}

.svg-star {
  transform-origin: center;
  animation: svgTwinkle 3s ease-in-out infinite;
}

.svg-star-1 { animation-delay: 0.2s; }
.svg-star-2 { animation-delay: 0.8s; }
.svg-star-3 { animation-delay: 1.4s; }
.svg-star-4 { animation-delay: 2.0s; }
.svg-star-5 { animation-delay: 2.6s; }

.svg-const-line {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: svgDrawLine 10s ease-in-out infinite alternate;
}

.svg-const-line-1 { animation-delay: 0.5s; }
.svg-const-line-2 { animation-delay: 1.5s; }
.svg-const-line-3 { animation-delay: 2.5s; }

@keyframes svgRotateClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes svgRotateCounterClockwise {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes svgPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.75;
    filter: drop-shadow(0 0 5px rgba(255, 193, 7, 0.5));
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
    filter: drop-shadow(0 0 15px rgba(255, 193, 7, 0.95)) drop-shadow(0 0 3px rgba(255, 255, 255, 0.8));
  }
}

@keyframes svgTwinkle {
  0%, 100% {
    opacity: 0.25;
    transform: scale(0.8);
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.2));
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 2px rgba(255, 193, 7, 0.8));
  }
}

@keyframes svgDrawLine {
  0% {
    stroke-dashoffset: 200;
    opacity: 0.08;
  }
  50% {
    stroke-dashoffset: 0;
    opacity: 0.55;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.08;
  }
}

/* Demanding Services Accordion Styles */
.demanding-flex-container {
  display: flex;
  width: 100%;
  height: 520px;
  gap: 1.25rem;
  margin: 2rem 0;
}

.demanding-flex-card {
  position: relative;
  flex: 1;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  /* Graceful, gradual slide transition */
  transition: flex 0.85s cubic-bezier(0.25, 1, 0.4, 1), 
              border-color 0.5s ease, 
              box-shadow 0.5s ease;
  border: 1px solid rgba(255, 126, 95, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* Two separate overlays for ultra-smooth gradient transitions */
.demanding-flex-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(29, 21, 44, 0.4) 0%, rgba(29, 21, 44, 0.9) 100%);
  z-index: 2;
  transition: opacity 0.6s ease;
}

.demanding-flex-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(29, 21, 44, 0.15) 0%, rgba(29, 21, 44, 0.97) 100%);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.demanding-flex-card:hover {
  flex: 3; /* Expanded card ratio */
  box-shadow: 0 20px 40px rgba(255, 126, 95, 0.2);
  border-color: rgba(255, 126, 95, 0.45);
}

.demanding-flex-card:hover::after,
.demanding-flex-card.active-touch::after {
  opacity: 1; /* Smoothly fade in the darker overlay on hover */
}

.demanding-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  /* Animate transform smoothly */
  transition: transform 0.95s cubic-bezier(0.25, 1, 0.4, 1);
}

.demanding-flex-card:hover .demanding-card-bg {
  transform: scale(1.06);
}

.demanding-card-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.demanding-card-icon-box {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.75s cubic-bezier(0.25, 1, 0.4, 1), 
              background-color 0.5s ease, 
              border-color 0.5s ease, 
              box-shadow 0.5s ease;
}

.demanding-flex-card:hover .demanding-card-icon-box {
  background: var(--gradient-sunset);
  border-color: transparent;
  transform: scale(1.1) rotate(360deg);
  box-shadow: 0 0 15px rgba(255, 126, 95, 0.5);
}

.demanding-card-title {
  font-family: var(--font-heading);
  font-weight: 800;
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.4, 1);
}

/* Stable and ultra-smooth CSS translation reveals */
.demanding-card-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 0.5rem;
  margin-bottom: 0;
  
  /* Initial hidden state */
  opacity: 0;
  transform: translateY(15px);
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  
  /* Transition rule */
  transition: opacity 0.55s ease, 
              transform 0.55s cubic-bezier(0.25, 1, 0.4, 1), 
              max-height 0.55s ease, 
              margin-bottom 0.55s ease, 
              visibility 0.55s;
}

.demanding-flex-card:hover .demanding-card-desc,
.demanding-flex-card.active-touch .demanding-card-desc {
  max-height: 100px;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  margin-bottom: 1.25rem;
  transition-delay: 0.08s;
}

.demanding-card-details {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  
  /* Initial hidden state */
  opacity: 0;
  transform: translateY(15px);
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  margin-bottom: 0;
  
  /* Transition rule */
  transition: opacity 0.55s ease, 
              transform 0.55s cubic-bezier(0.25, 1, 0.4, 1), 
              max-height 0.55s ease, 
              margin-bottom 0.55s ease, 
              visibility 0.55s;
}

.demanding-flex-card:hover .demanding-card-details,
.demanding-flex-card.active-touch .demanding-card-details {
  max-height: 50px;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  margin-bottom: 1.25rem;
  transition-delay: 0.16s; /* Staggered delays */
}

.demanding-detail-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.demanding-card-actions {
  display: flex;
  gap: 0.6rem;
  
  /* Initial hidden state */
  opacity: 0;
  transform: translateY(15px);
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  
  /* Transition rule */
  transition: opacity 0.55s ease, 
              transform 0.55s cubic-bezier(0.25, 1, 0.4, 1), 
              max-height 0.55s ease, 
              visibility 0.55s;
}

.demanding-flex-card:hover .demanding-card-actions,
.demanding-flex-card.active-touch .demanding-card-actions {
  max-height: 50px;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0.24s; /* Staggered delays */
}

.btn-outline-light-card {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  background: transparent;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-outline-light-card:hover {
  background: #ffffff;
  color: var(--text-main);
  border-color: #ffffff;
}

/* Subsection Header design styling */
.services-subsection-header h3 {
  letter-spacing: -0.5px;
}

.services-subsection-header p {
  letter-spacing: 0.2px;
}

/* Mobile responsive fallback - accordion stacks vertically */
@media (max-width: 991px) {
  .demanding-flex-container {
    flex-direction: column;
    height: auto;
    gap: 1rem;
  }
  .demanding-flex-card {
    height: 180px;
    flex: none !important;
    /* Faster layout transition on mobile */
    transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s ease, 
                box-shadow 0.4s ease;
  }
  .demanding-flex-card:hover,
  .demanding-flex-card.active-touch {
    height: 360px;
    flex: none !important;
  }
  .demanding-card-desc {
    font-size: 0.88rem;
  }
  .demanding-card-icon-box {
    margin-bottom: 1.5rem;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
  .demanding-card-content {
    padding: 1.5rem;
  }
  
  /* Stagger overrides on mobile touch to react quicker */
  .demanding-flex-card:hover .demanding-card-desc,
  .demanding-flex-card.active-touch .demanding-card-desc,
  .demanding-flex-card:hover .demanding-card-details,
  .demanding-flex-card.active-touch .demanding-card-details,
  .demanding-flex-card:hover .demanding-card-actions,
  .demanding-flex-card.active-touch .demanding-card-actions {
    max-height: 120px;
    transition-delay: 0s !important;
  }
}


/* Demanding Services Card Image Wrapper for Skeleton decoupling */
.demanding-card-img-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  border-radius: 20px;
}

/* ==========================================================================
   PRIMARY CONSULTATION DOMAINS (ULTRA-MODERN AUTO-SLIDER SHOWCASE)
   ========================================================================== */
.primary-pillars-masterpiece-section {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fffcf8 50%, #fef7ed 100%);
}

.domain-pane-slide {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08) !important;
  overflow: hidden;
}

.mesh-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
}

.mesh-glow-1 {
  top: 10%;
  left: -100px;
  background: radial-gradient(circle, rgba(255, 126, 95, 0.15) 0%, transparent 70%);
}

.mesh-glow-2 {
  bottom: 10%;
  right: -100px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.15) 0%, transparent 70%);
}

.badge-spotlight-header {
  background: rgba(255, 142, 83, 0.12);
  color: #ea580c;
  border: 1px solid rgba(255, 142, 83, 0.25);
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

.domain-media-card {
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12) !important;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.domain-media-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 55px rgba(255, 107, 107, 0.18) !important;
}

.domain-media-img {
  min-height: 380px;
  max-height: 440px;
  transition: transform 0.6s ease;
}

.domain-media-card:hover .domain-media-img {
  transform: scale(1.04);
}

.domain-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
  z-index: 2;
}

.backdrop-blur {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pulse-dot-green {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseGreenDot 2s infinite;
}

@keyframes pulseGreenDot {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.text-gradient-amber {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Custom Navigation Buttons for Masterpiece Auto Slider */
.swiper-button-masterpiece {
  width: 44px !important;
  height: 44px !important;
  background: #ffffff !important;
  border: 1px solid rgba(255, 126, 95, 0.25) !important;
  border-radius: 50% !important;
  color: #ea580c !important;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.08) !important;
  transition: all 0.3s ease !important;
  z-index: 10 !important;
}

.swiper-button-masterpiece:after {
  font-size: 1.05rem !important;
  font-weight: bold;
}

.swiper-button-masterpiece:hover {
  background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%) !important;
  border-color: #ff7e5f !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(255, 126, 95, 0.4) !important;
}

/* Mobile Responsiveness & Compact Height Adjustments */
@media (max-width: 767.98px) {
  .primary-pillars-masterpiece-section {
    /* padding-top: 2rem !important; */
    /* padding-bottom: 2rem !important; */
  }

  .domain-pane-slide {
    padding: 0.9rem !important;
    border-radius: 16px !important;
  }

  .domain-media-img {
    min-height: 200px !important;
    max-height: 220px !important;
    object-fit: cover !important;
    object-position: center top !important;
  }

  .domain-media-overlay {
    padding: 0.75rem !important;
  }

  .domain-media-overlay .badge {
    font-size: 0.7rem !important;
    padding: 0.2rem 0.55rem !important;
  }

  .domain-media-overlay .bg-white {
    padding: 0.5rem !important;
  }

  .domain-media-overlay h6 {
    font-size: 0.85rem !important;
  }

  .domain-media-overlay small {
    font-size: 0.72rem !important;
  }

  .domain-pane-slide h3 {
    font-size: 1.35rem !important;
    margin-bottom: 0.5rem !important;
  }

  .domain-pane-slide p.text-muted-custom {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0.75rem !important;
  }

  .domain-pane-slide .row.g-3 {
    --bs-gutter-y: 0.5rem !important;
    --bs-gutter-x: 0.5rem !important;
    margin-bottom: 0.75rem !important;
  }

  .domain-pane-slide .p-3.bg-white {
    padding: 0.65rem !important;
  }

  .domain-pane-slide .p-3.bg-white h6 {
    font-size: 0.85rem !important;
  }

  .domain-pane-slide .p-3.bg-white small {
    font-size: 0.72rem !important;
  }

  .domain-pane-slide .btn {
    padding: 0.45rem 0.2rem !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
  }

  .masterpiece-slider-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .swiper-button-masterpiece {
    display: none !important;
  }
}







