/* ==========================================================================
   Sri Akshaya Jothida Nilayam & Akshaya Acupuncture Centre
   Master Stylesheet - Divine Light Theme & Cosmic Holistic Healing
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&family=Mukta+Malar:wght@400;600;700&display=swap');

/* ==========================================================================
   Theme Variables - Divine Light Theme
   ========================================================================== */
:root {
  --theme-mode: 'light';

  /* Surface & Backgrounds - Divine Ivory Silk & Pearl */
  --bg-primary: #fcfaf6;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f5efe4;
  --bg-subtle: #f9f6f0;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-header: rgba(252, 250, 246, 0.92);
  --bg-header-scrolled: rgba(255, 255, 255, 0.98);
  --bg-topbar: #f4ece0;
  --bg-modal: rgba(15, 23, 42, 0.75);
  --bg-lightbox: #ffffff;
  --bg-footer: #0c1524;
  --bg-footer-card: #142036;

  /* Typography Colors */
  --text-primary: #151e2e;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  --title-gradient: linear-gradient(135deg, #151e2e 20%, #8c6708 100%);
  --title-accent-gradient: linear-gradient(135deg, #b8860b 0%, #d4a017 50%, #8c6708 100%);

  /* Sacred Vedic Gold Palette */
  --gold-50: #fefcf6;
  --gold-100: #fef7db;
  --gold-200: #faeca6;
  --gold-300: #d4a017;
  --gold-400: #c59114;
  --gold-500: #b8860b;
  --gold-600: #9a6f08;
  --gold-700: #7c5804;
  --gold-gradient: linear-gradient(135deg, #b8860b 0%, #d4a017 50%, #9a6f08 100%);
  --gold-gradient-soft: linear-gradient(135deg, #fffbf0 0%, #fef3cf 100%);
  --gold-badge-bg: rgba(184, 134, 11, 0.1);
  --gold-badge-border: rgba(184, 134, 11, 0.28);
  --gold-glow: 0 4px 20px rgba(184, 134, 11, 0.18);
  --gold-glow-strong: 0 8px 30px rgba(184, 134, 11, 0.3);

  /* Traditional Chinese Medicine Healing Jade Palette */
  --jade-50: #f0fdfa;
  --jade-100: #ccfbf1;
  --jade-300: #14b8a6;
  --jade-500: #0f766e;
  --jade-600: #0d5f58;
  --jade-700: #094742;
  --jade-gradient: linear-gradient(135deg, #0f766e 0%, #14b8a6 50%, #0d9488 100%);
  --jade-gradient-soft: linear-gradient(135deg, #f0fdfa 0%, #d1fae5 100%);
  --jade-badge-bg: rgba(15, 118, 110, 0.09);
  --jade-badge-border: rgba(15, 118, 110, 0.25);
  --jade-glow: 0 4px 20px rgba(15, 118, 110, 0.18);

  /* Borders & Dividers */
  --border-subtle: #e8e2d4;
  --border-light: #f1ebd8;
  --border-gold: rgba(184, 134, 11, 0.35);
  --border-jade: rgba(15, 118, 110, 0.32);
  --border-input: #cbd5e1;
  --border-input-focus: #b8860b;

  /* Typography Fonts */
  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-tamil: 'Mukta Malar', 'Noto Sans Tamil', sans-serif;

  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(35, 30, 20, 0.05);
  --shadow-md: 0 8px 24px rgba(35, 30, 20, 0.08);
  --shadow-lg: 0 16px 40px rgba(35, 30, 20, 0.11);
  --shadow-xl: 0 25px 65px rgba(35, 30, 20, 0.14);
  --shadow-gold: 0 10px 30px rgba(184, 134, 11, 0.18);
  --shadow-jade: 0 10px 30px rgba(15, 118, 110, 0.18);

  /* Patterns & Ambience */
  --pattern-opacity: 0.15;
  --pattern-dot-color: rgba(184, 134, 11, 0.6);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1.25;
  color: var(--text-primary);
  transition: color var(--transition-normal);
}

.tamil-text {
  font-family: var(--font-tamil);
  letter-spacing: normal;
}

p {
  color: var(--text-secondary);
  font-size: 1.025rem;
  transition: color var(--transition-normal);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 900px;
}

/* Section Common */
.section {
  padding: 5.5rem 0;
  position: relative;
  transition: background-color var(--transition-normal);
}

.section-alt {
  background: var(--bg-tertiary);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 1rem;
  background: var(--title-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 1.05rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 1rem;
  transition: var(--transition-fast);
}

.badge-gold {
  background: var(--gold-badge-bg);
  color: var(--gold-700);
  border: 1px solid var(--gold-badge-border);
}

.badge-jade {
  background: var(--jade-badge-bg);
  color: var(--jade-600);
  border: 1px solid var(--jade-badge-border);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.topbar {
  background: var(--bg-topbar);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.42rem 0;
  font-size: 0.815rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1rem;
  white-space: nowrap;
}

.topbar-items {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
  font-size: 0.815rem;
}

.topbar-item svg {
  width: 13px;
  height: 13px;
  color: var(--gold-600);
  flex-shrink: 0;
}

.topbar-item a:hover {
  color: var(--gold-600);
}

.topbar-badge {
  background: var(--gold-gradient);
  color: #ffffff;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  white-space: nowrap;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(184, 134, 11, 0.2);
}

@media (max-width: 1120px) {
  .topbar-hide-md {
    display: none !important;
  }
}

/* Sticky Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.site-header.scrolled {
  background: var(--bg-header-scrolled);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-gold);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}

.brand-symbol {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle, #fffdf8 0%, #f4ead5 80%);
  border: 2px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--gold-glow);
  flex-shrink: 0;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}


.brand-logo:hover .brand-symbol {
  transform: rotate(15deg) scale(1.05);
  box-shadow: var(--gold-glow-strong);
}

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

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  line-height: 1.2;
}

.brand-title span {
  color: var(--gold-600);
}

.brand-tamil {
  font-family: var(--font-tamil);
  font-size: 0.825rem;
  color: var(--gold-600);
  font-weight: 600;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--transition-fast);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--gold-gradient);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* ==========================================================================
   Flash Announcement Bar
   ========================================================================== */
.flash-banner {
  background: linear-gradient(90deg, rgba(13, 148, 136, 0.25) 0%, rgba(15, 23, 42, 0.95) 50%, rgba(202, 138, 4, 0.2) 100%);
  border-bottom: 1px solid rgba(45, 212, 191, 0.35);
  padding: 0.65rem 0;
  position: relative;
  z-index: 90;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.flash-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.flash-content {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 280px;
}

.flash-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(225, 29, 72, 0.5);
}

.flash-pulse {
  width: 7px;
  height: 7px;
  background-color: #ffffff;
  border-radius: 50%;
  animation: flashPulse 1.4s infinite ease-in-out;
}

@keyframes flashPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; box-shadow: 0 0 8px #ffffff; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.flash-text {
  font-size: 0.92rem;
  color: #f1f5f9;
  line-height: 1.45;
  margin: 0;
  font-weight: 500;
}

.flash-text strong {
  color: #2dd4bf;
}

.flash-action {
  flex-shrink: 0;
}

.flash-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(45, 212, 191, 0.15);
  color: #2dd4bf;
  border: 1px solid rgba(45, 212, 191, 0.4);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.flash-btn:hover {
  background: var(--jade-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-jade);
  transform: translateY(-1px);
}

.pillar-flash-box {
  background: rgba(13, 148, 136, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
}

@media (max-width: 768px) {
  .flash-banner {
    padding: 0.75rem 0;
  }
  .flash-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }
  .flash-text {
    font-size: 0.86rem;
  }
  .flash-action {
    width: 100%;
  }
  .flash-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: var(--transition-normal);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Shimmer Light Reflection on Primary Buttons */
.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 35%, rgba(255, 255, 255, 0.3) 50%, transparent 65%);
  transform: translateX(-100%);
  transition: transform 0.75s ease;
  pointer-events: none;
}

.btn:hover::after {
  transform: translateX(100%);
}

.btn-primary {
  background: var(--gold-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-gold);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2.5px);
  box-shadow: var(--gold-glow-strong);
  color: #ffffff;
}

.btn-jade {
  background: var(--jade-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-jade);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-jade:hover {
  transform: translateY(-2.5px);
  box-shadow: 0 8px 25px rgba(15, 118, 110, 0.4);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-gold);
}

.btn-outline:hover {
  background: var(--gold-badge-bg);
  border-color: var(--gold-500);
  color: var(--gold-700);
  transform: translateY(-2.5px);
}


.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20ba5a;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  transform: translateY(-2.5px);
  color: #ffffff;
}

.btn-sm {
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: var(--bg-card);
  border: 1.5px solid var(--border-gold);
  color: var(--gold-600);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.mobile-nav-toggle:hover {
  border-color: var(--gold-500);
  transform: scale(1.05);
}

.mobile-nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   Hero Section & Ambient Background Slider
   ========================================================================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4.5rem 0 3.25rem;
  background: var(--bg-primary);
  overflow: hidden;
  transition: background var(--transition-normal);
}

.hero-bg-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1), transform 8s cubic-bezier(0.1, 0, 0.2, 1);
  will-change: opacity, transform;
}

.hero-bg-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.65) 45%,
    rgba(15, 23, 42, 0.35) 75%,
    rgba(15, 23, 42, 0.45) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-stars-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(1px 1px at 25px 35px, var(--pattern-dot-color), rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 95px 135px, rgba(184, 134, 11, 0.7), rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 170px 220px, var(--pattern-dot-color), rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 320px 110px, rgba(15, 118, 110, 0.7), rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 450px 320px, var(--pattern-dot-color), rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 500px 500px;
  opacity: var(--pattern-opacity);
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Slider Navigation Bar */
.hero-slider-nav {
  position: relative;
  z-index: 3;
  width: 100%;
  margin-top: 2.75rem;
}

.hero-slider-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 0.6rem 1.25rem;
  box-shadow: 0 8px 24px rgba(184, 134, 11, 0.08), 0 2px 8px rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-slider-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.hero-slider-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gold-badge-bg);
  color: var(--gold-700);
  border: 1px solid var(--border-gold);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.hero-slider-badge svg {
  color: var(--gold-600);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
}

.hero-slider-caption-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.3s ease;
}

.hero-slider-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.hero-slider-arrow,
.hero-slider-pause {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.hero-slider-arrow:hover,
.hero-slider-pause:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(184, 134, 11, 0.25);
}

.hero-slider-arrow svg {
  width: 15px;
  height: 15px;
}

.hero-slider-pause svg {
  width: 13px;
  height: 13px;
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 10px;
  border: none;
  background: rgba(184, 134, 11, 0.25);
  cursor: pointer;
  padding: 0;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
  overflow: hidden;
}

.hero-dot:hover {
  background: rgba(184, 134, 11, 0.55);
}

.hero-dot.active {
  width: 28px;
  background: var(--gold-600);
}

.hero-dot .hero-dot-progress {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, #d97706, #0f766e);
  border-radius: 10px;
}

.hero-dot.active .hero-dot-progress {
  width: 100%;
}

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

.hero-badge-wrap {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.hero-title .title-accent {
  background: var(--title-accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 620px;
}

/* Doctor Credentials Strip */
.doctor-credentials-strip {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.25rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.doctor-credentials-strip:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.strip-avatar {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  border: 2px solid var(--gold-500);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--gold-glow);
}

.strip-text h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.strip-text p {
  font-size: 0.875rem;
  color: var(--gold-600);
  line-height: 1.4;
  font-weight: 600;
}

.strip-tag {
  display: inline-block;
  background: var(--jade-badge-bg);
  color: var(--jade-600);
  border: 1px solid var(--jade-badge-border);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.725rem;
  font-weight: 700;
  margin-top: 0.35rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.highlight-item {
  display: flex;
  flex-direction: column;
}

.highlight-number {
  font-family: var(--font-serif);
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--gold-600);
  line-height: 1;
  margin-bottom: 0.35rem;
}


.highlight-label {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.35;
  font-weight: 500;
}

/* Hero Visual Card */
.hero-visual {
  position: relative;
}

.hero-card-stack {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl), var(--gold-glow);
  border: 2px solid var(--gold-500);
  background: var(--bg-card);
  transition: transform var(--transition-normal);
  cursor: pointer;
}

.hero-card-stack:hover {
  transform: translateY(-4px);
}

.hero-card-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.78) 45%, rgba(15, 23, 42, 0.95) 100%);
  padding: 1.5rem 1.25rem 1.25rem;
}

.overlay-badge {
  display: inline-block;
  background: var(--gold-gradient);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.overlay-title {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.overlay-subtitle {
  font-size: 0.85rem;
  color: #e2e8f0;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  transition: transform var(--transition-fast);
}

.floating-badge:hover {
  transform: translateY(-4px) scale(1.02);
}

.floating-badge-top {
  top: -20px;
  right: -20px;
  border-color: var(--border-jade);
}

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

.floating-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-gold {
  background: var(--gold-badge-bg);
  color: var(--gold-600);
}

.icon-jade {
  background: var(--jade-badge-bg);
  color: var(--jade-600);
}

.floating-text h5 {
  font-size: 0.875rem;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.floating-text p {
  font-size: 0.725rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Dual Pillars Section (Astrology & Acupuncture)
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.pillar-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  transition: height var(--transition-fast);
}

.pillar-astrology::before {
  background: var(--gold-gradient);
}

.pillar-acupuncture::before {
  background: var(--jade-gradient);
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pillar-card:hover::before {
  height: 6px;
}

.pillar-astrology:hover {
  border-color: var(--gold-500);
  box-shadow: var(--shadow-gold);
}

.pillar-acupuncture:hover {
  border-color: var(--jade-500);
  box-shadow: var(--shadow-jade);
}

.pillar-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform var(--transition-fast);
}

.pillar-card:hover .pillar-icon-box {
  transform: scale(1.1) rotate(6deg);
}

.pillar-astrology .pillar-icon-box {
  background: var(--gold-badge-bg);
  border: 1.5px solid var(--border-gold);
  color: var(--gold-600);
}

.pillar-acupuncture .pillar-icon-box {
  background: var(--jade-badge-bg);
  border: 1.5px solid var(--border-jade);
  color: var(--jade-600);
}

.pillar-title {
  font-size: 1.85rem;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.pillar-tamil {
  font-family: var(--font-tamil);
  font-size: 1rem;
  color: var(--gold-600);
  margin-bottom: 1rem;
  display: block;
  font-weight: 600;
}

.pillar-acupuncture .pillar-tamil {
  color: var(--jade-600);
}

.pillar-desc {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  color: var(--text-secondary);
}

.pillar-features {
  list-style: none;
  margin-bottom: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.pillar-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pillar-features svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}

.pillar-astrology .pillar-features svg {
  color: var(--gold-600);
}

.pillar-acupuncture .pillar-features svg {
  color: var(--jade-600);
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-md);
}

.service-card:has(.service-icon.jade):hover,
.service-card.jade-card:hover {
  border-color: var(--jade-600);
}

/* Service Card with Image */
.service-card.has-image {
  padding: 0;
  overflow: hidden;
}

.service-card-image {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: var(--bg-secondary);
}

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

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

.service-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

.service-card-body {
  padding: 1.5rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card.has-image .service-icon {
  margin-top: -2.85rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  background: var(--bg-card);
  align-self: flex-start;
}



.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--gold-badge-bg);
  border: 1.5px solid var(--border-gold);
  color: var(--gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform var(--transition-fast);
}

.service-icon.jade {
  background: var(--jade-badge-bg);
  border-color: var(--border-jade);
  color: var(--jade-600);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.service-tamil {
  font-family: var(--font-tamil);
  font-size: 0.85rem;
  color: var(--gold-600);
  margin-bottom: 0.75rem;
  display: block;
  font-weight: 600;
}

.service-icon.jade ~ .service-tamil {
  color: var(--jade-600);
}


.service-desc {
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  color: var(--text-secondary);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold-600);
  transition: transform var(--transition-fast), color var(--transition-fast);
}


.service-link:hover {
  color: var(--gold-700);
  transform: translateX(5px);
}

/* ==========================================================================
   Awards & Certificates Showcase / Lightbox
   ========================================================================== */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.award-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.award-card:hover {
  transform: translateY(-7px);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-gold);
}

.award-img-wrap {
  position: relative;
  height: 240px;
  background: var(--bg-tertiary);
  overflow: hidden;
}

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

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

.award-zoom-icon {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
  color: #ffffff;
}

.award-card:hover .award-zoom-icon {
  opacity: 1;
}

.award-info {
  padding: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.award-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.35rem;
}


.award-title {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.award-issuer {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Modal Lightbox */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--bg-modal);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 90vh;
  background: var(--bg-card);
  border: 2px solid var(--gold-500);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  animation: modalScaleIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-img-container {
  overflow: auto;
  max-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.lightbox-caption {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.lightbox-caption h4 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.lightbox-caption p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--gold-500);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  background: var(--gold-500);
  color: #000000;
  transform: rotate(90deg);
}

/* ==========================================================================
   Doctor / Team Profiles
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.profile-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.profile-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-lg);
}

.profile-header {
  display: flex;
  gap: 1.75rem;
  padding: 2.25rem 2rem 1.5rem;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
  align-items: center;
}

.profile-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold-500);
  box-shadow: var(--gold-glow);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.profile-card:hover .profile-photo {
  transform: scale(1.04);
}

.profile-photo.jade {
  border-color: var(--jade-500);
  box-shadow: var(--jade-glow);
}

.profile-intro h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.profile-tamil-name {
  font-family: var(--font-tamil);
  color: var(--gold-600);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.profile-degrees {
  font-size: 0.85rem;
  color: var(--jade-600);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.profile-role-tag {
  display: inline-block;
  background: var(--gold-badge-bg);
  color: var(--gold-700);
  border: 1px solid var(--gold-badge-border);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.profile-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.profile-body p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.profile-badges-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
}

.profile-badge-pill {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.785rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.profile-badge-pill:hover {
  border-color: var(--gold-500);
  color: var(--gold-600);
}

/* ==========================================================================
   Lineage / Heritage Section
   ========================================================================== */
.lineage-card {
  background: radial-gradient(circle at 10% 50%, rgba(184, 134, 11, 0.08) 0%, transparent 50%),
              var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  box-shadow: var(--shadow-md);
}

.lineage-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.lineage-quote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--gold-700);
  font-style: italic;
  line-height: 1.6;
  position: relative;
  padding-left: 2rem;
  border-left: 3px solid var(--gold-500);
}


/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 280px;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0.95;
  transition: opacity var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.gallery-subtitle {
  font-size: 0.8rem;
  color: var(--gold-300);
  font-weight: 500;
}

/* ==========================================================================
   Conditions / Health Problems Accordion & List
   ========================================================================== */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.condition-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.condition-box:hover {
  border-color: var(--jade-500);
  background: var(--bg-card);
  transform: translateY(-5px);
  box-shadow: var(--shadow-jade);
}

.condition-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--jade-badge-bg);
  border: 1px solid var(--border-jade);
  color: var(--jade-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: transform var(--transition-fast);
}


.condition-box:hover .condition-icon {
  transform: scale(1.1) rotate(6deg);
}

.condition-box h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.condition-box p {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Consultation Process / Steps
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.5rem 1.75rem;
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.step-number {
  position: absolute;
  top: -16px;
  left: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.35);
}

.step-card.jade .step-number {
  background: var(--jade-gradient);
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.35);
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-md);
}

.step-card.jade:hover {
  border-color: var(--jade-500);
}

.step-title {
  font-size: 1.15rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.step-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-md);
}

.stars {
  display: flex;
  gap: 0.25rem;
  color: var(--gold-500);
  margin-bottom: 1.25rem;
}

.stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  color: var(--text-secondary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.author-avatar-initial {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-badge-bg);
  border: 1.5px solid var(--border-gold);
  color: var(--gold-700);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}


.author-info h5 {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.author-info p {
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.faq-item.active {
  border-color: var(--gold-500);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.35rem 1.75rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color var(--transition-fast);
}

.faq-item.active .faq-question {
  color: var(--gold-700);
}


.faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--gold-600);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--gold-500);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 1.75rem;
}

.faq-item.active .faq-answer {
  padding-bottom: 1.5rem;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ==========================================================================
   Forms & Contact
   ========================================================================== */
.section-contact-highlights {
  padding: 3.5rem 0 1rem;
  background: var(--bg-primary);
  position: relative;
}

.contact-cards-horizontal {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.info-card-horizontal {
  height: 100%;
  padding: 2rem 2.25rem;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.35rem;
  align-items: flex-start;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.info-card-horizontal:hover {
  transform: translateY(-4px);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-md), var(--gold-glow);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-md);
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gold-badge-bg);
  color: var(--gold-600);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon.jade {
  background: var(--jade-badge-bg);
  color: var(--jade-600);
  border-color: var(--border-jade);
}

.info-details h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.info-details p {
  font-size: 0.925rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.info-details a {
  color: var(--gold-600);
  font-weight: 700;
}

/* ==========================================================================
   Visiting Card Showcase Section
   ========================================================================== */
.visiting-card-container {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-normal);
}

.visiting-card-container.gold {
  border: 1px solid var(--border-gold);
}

.visiting-card-container.jade {
  border: 1px solid var(--border-jade);
}

.visiting-card-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2.75rem;
  align-items: center;
}

.visiting-card-visual {
  position: relative;
}

.visiting-card-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.visiting-card-img-wrap.gold {
  border: 2px solid var(--gold-500);
}

.visiting-card-img-wrap.jade {
  border: 2px solid var(--border-jade);
}

.visiting-card-img-wrap:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-xl), var(--gold-glow);
}

.visiting-card-img-wrap.jade:hover {
  box-shadow: var(--shadow-xl), var(--shadow-jade);
}

.visiting-card-caption {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.825rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .visiting-card-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .visiting-card-container {
    padding: 1.75rem;
  }
}

.info-details a:hover {
  text-decoration: underline;
}

/* Form Styles */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-card-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.form-card-subtitle {
  font-size: 0.925rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-input);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(184, 134, 11, 0.15);
}

.form-control::placeholder {
  color: var(--text-muted);
}

select.form-control {
  cursor: pointer;
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.form-feedback {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--gold-badge-bg);
  border: 1px solid var(--border-gold);
  color: var(--text-primary);
  font-size: 0.9rem;
  display: none;
}

/* Map Container */
.map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border-gold);
  box-shadow: var(--shadow-md);
  height: 380px;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   Call To Action Strip (Pre-footer)
   ========================================================================== */
.cta-strip {
  background: radial-gradient(circle at 50% 50%, rgba(184, 134, 11, 0.1) 0%, transparent 70%),
              linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-primary) 100%);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: 4.5rem 0;
  text-align: center;
}


.cta-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.cta-desc {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border-gold);
  padding: 4.5rem 0 2rem;
  font-size: 0.925rem;
  color: #94a3b8;
}

.site-footer .brand-logo {
  display: inline-flex;
  text-decoration: none;
}

.site-footer .brand-title {
  color: #ffffff !important;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.site-footer .brand-title span {
  color: #fbbf24 !important;
}

.site-footer .brand-tamil {
  color: rgba(255, 255, 255, 0.85) !important;
  font-family: var(--font-tamil);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 1.35rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  color: #94a3b8;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #cbd5e1;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--gold-300);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold-400);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.825rem;
  color: #94a3b8;
}

.footer-bottom a {
  color: var(--gold-300, #d4a017);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition-fast);
}

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

/* ==========================================================================
   Floating Quick Action Bar (Mobile Sticky & Desktop)
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  position: relative;
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

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

.floating-btn.call {
  background: var(--gold-gradient);
  color: #ffffff;
}

.floating-btn svg {
  width: 26px;
  height: 26px;
}

.floating-tooltip {
  position: absolute;
  right: 68px;
  background: var(--bg-footer);
  color: #ffffff;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.775rem;
  white-space: nowrap;
  border: 1px solid var(--border-gold);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.floating-btn:hover .floating-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Pulse Animation Ring for WhatsApp & Call */
.floating-btn.pulse-ring::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 0.8;
  animation: pulseWave 2s infinite;
}

.floating-btn.call.pulse-ring::before {
  border-color: var(--gold-500);
}

@keyframes pulseWave {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--border-gold);
  color: var(--gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
}

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

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
  background: var(--gold-gradient);
  color: #ffffff;
  border-color: transparent;
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   Page Banners (Internal Pages with Full Background Images)
   ========================================================================== */
.page-banner {
  position: relative;
  padding: 5.5rem 0 4.5rem;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid var(--border-gold);
  background: #0f172a;
}

.page-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.03);
  transition: transform 6s cubic-bezier(0.1, 0, 0.2, 1);
  z-index: 0;
}

.page-banner:hover .page-banner-bg {
  transform: scale(1.07);
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.65) 0%,
    rgba(15, 23, 42, 0.58) 50%,
    rgba(15, 23, 42, 0.75) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  max-width: 840px;
  margin: 0 auto;
}

.page-banner-title {
  font-size: 3.1rem;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.8);
}

.page-banner-subtitle {
  font-size: 1.18rem;
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.page-banner .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(217, 119, 6, 0.5);
  padding: 0.35rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.page-banner .breadcrumb a {
  color: #fbbf24;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.page-banner .breadcrumb a:hover {
  color: #ffffff;
}

.page-banner .breadcrumb span {
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Scroll Reveal Animations & Motion System
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-35px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(35px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger item delays */
.reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.55s; }

/* Subtle Sacred Watermark / Celestial Ring */
.celestial-watermark {
  position: absolute;
  pointer-events: none;
  opacity: 0.04;
  z-index: 1;
  animation: rotateSlow 120s linear infinite;
}


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

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }

  .pillars-grid,
  .team-grid,
  .contact-grid,
  .lineage-content {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .conditions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
    border-bottom: 2px solid var(--gold-500);
    box-shadow: var(--shadow-xl);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-actions .btn-whatsapp,
  .nav-actions .btn-primary,
  .nav-actions .btn-jade {
    display: none;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-card-img {
    height: 380px;
  }

  .contact-cards-horizontal,
  .services-grid,
  .awards-grid,
  .gallery-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group-full {
    grid-column: span 1;
  }

  .floating-badge {
    display: none;
  }

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

  .page-banner-title {
    font-size: 2.2rem;
  }

  .hero-slider-nav {
    margin-top: 2rem;
  }

  .hero-slider-nav-container {
    padding: 0.5rem 0.85rem;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-slider-info {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-slider-caption-text {
    font-size: 0.8rem;
    max-width: 280px;
  }
}
