/* ============================================
   Agathiar Traditional Siddha Clinic - Theme
   ============================================ */

:root {
  --navy: #1B2A4A;
  --navy-dark: #111C33;
  --gold: #C9A84C;
  --gold-light: #E8C96B;
  --gold-pale: #F5ECD7;
  --white: #ffffff;
  --off-white: #F8F6F1;
  --text-dark: #1B2A4A;
  --text-muted: #6b7280;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Open Sans', sans-serif;
}

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Open+Sans:wght@300;400;600;700&display=swap');

/* ---- Global Reset ---- */
body { font-family: var(--sans); color: var(--text-dark); background: var(--white); }
h1,h2,h3,h4,h5 { font-family: var(--serif); }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy-dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ============================
   NAVIGATION
   ============================ */
.siddha-header {
  background: rgba(27,42,74,0.97) !important;
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--gold);
  padding: 0;
}
.siddha-header .nav-brand img { height: 55px; }
.siddha-header .menu-links {
  color: var(--white) !important;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s;
}
.siddha-header .menu-links:hover { color: var(--gold) !important; }
.siddha-header .menu-links.active-link { color: var(--gold) !important; }

.btn-consultation {
  background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
  color: var(--navy-dark) !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 30px;
  padding: 10px 24px !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.5px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-consultation:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.4);
}

/* Dropdown – work WITH the white background, override link colors for visibility */
.siddha-header .nx-dropdown {
  border-top: 3px solid #C9A84C !important;
  border-radius: 0 0 12px 12px !important;
  box-shadow: 0 16px 40px rgba(27,42,74,0.18) !important;
}
/* Sub-menu section: keep white bg from theme, just make it clean */
.siddha-header .sub-menu-section {
  background-color: #ffffff !important;
  padding: 8px 0 !important;
  border-top: none !important;
}
.siddha-header .sub-menu-column {
  padding: 8px 0 !important;
}
/* THE KEY FIX: override global gold `a` color for dropdown links */
.siddha-header .sub-menu-column ul li a,
.siddha-header .sub-menu-section ul li a,
.siddha-header .nx-dropdown ul li a {
  color: #1B2A4A !important;       /* dark navy – visible on white */
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  text-transform: none !important;
  padding: 9px 20px !important;
  display: block !important;
  border-left: 3px solid transparent !important;
  background: transparent !important;
  transition: color 0.2s, border-color 0.2s, background 0.2s !important;
  line-height: 1.4 !important;
}
.siddha-header .sub-menu-column ul li a:hover,
.siddha-header .sub-menu-section ul li a:hover,
.siddha-header .nx-dropdown ul li a:hover {
  color: #C9A84C !important;         /* gold on hover */
  border-left-color: #C9A84C !important;
  background: rgba(201,168,76,0.06) !important;
}

/* ============================
   HERO SECTION
   ============================ */
.siddha-hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, #243358 60%, #1a3a5c 100%);
  overflow: hidden;
}
.siddha-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.15;
}
.siddha-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.08) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 2; padding: 120px 0 80px; }
.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title span { color: var(--gold); }
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 40px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-dark) !important;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(201,168,76,0.4); }
.btn-outline-gold {
  border: 2px solid var(--gold);
  color: var(--gold) !important;
  background: transparent;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 0.92rem;
  transition: all 0.3s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline-gold:hover { background: var(--gold); color: var(--navy-dark) !important; }
.hero-stats { display: flex; gap: 40px; margin-top: 50px; flex-wrap: wrap; }
.hero-stat-num { font-family: var(--serif); font-size: 2.5rem; font-weight: 700; color: var(--gold); line-height: 1; }
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.hero-divider { width: 1px; background: rgba(255,255,255,0.2); }
.hero-image-side { position: relative; z-index: 2; text-align: center; }
.hero-image-frame {
  display: inline-block;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  border: 3px solid rgba(201,168,76,0.3);
}
.hero-image-frame img { width: 100%; max-width: 420px; display: block; border-radius: 17px; }
.hero-image-badge {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: rgba(27,42,74,0.92);
  border: 1px solid var(--gold);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 40px;
  font-size: 0.82rem;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}
.hero-image-badge span { color: var(--gold); font-weight: 700; }

/* ============================
   SECTION COMMON
   ============================ */
.section-tag {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.25;
}
.section-title.white { color: var(--white); }
.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 620px;
  margin: 0 auto;
}
.gold-line {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 16px auto 0;
}
.gold-line.left { margin-left: 0; }

/* ============================
   TIMELINE SECTION
   ============================ */
.timeline-section { background: var(--off-white); padding: 100px 0; }
.timeline-wrap { position: relative; padding: 40px 0; }
.timeline-wrap::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold), var(--gold), transparent);
  transform: translateX(-50%);
}
.timeline-item { display: flex; justify-content: flex-end; padding-right: calc(50% + 40px); position: relative; margin-bottom: 60px; }
.timeline-item.right { justify-content: flex-start; padding-right: 0; padding-left: calc(50% + 40px); }
.timeline-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  max-width: 400px;
  box-shadow: 0 8px 30px rgba(27,42,74,0.08);
  border-left: 4px solid var(--gold);
  position: relative;
}
.timeline-item.right .timeline-card { border-left: none; border-right: 4px solid var(--gold); }
.timeline-year {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.timeline-name { font-weight: 700; color: var(--navy); font-size: 1.05rem; margin-bottom: 8px; }
.timeline-desc { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; }
.timeline-dot {
  position: absolute;
  left: 50%; top: 32px;
  transform: translateX(-50%);
  width: 18px; height: 18px;
  background: var(--gold);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(201,168,76,0.25);
}

/* ============================
   FORMULATION SECTION
   ============================ */
.medicine-section { padding: 100px 0; background: var(--white); }
.medicine-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(27,42,74,0.15);
}
.medicine-image-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,42,74,0.4) 0%, transparent 60%);
}
.medicine-image-wrap img { width: 100%; display: block; border-radius: 20px; }
.medicine-badge-overlay {
  position: absolute; bottom: 24px; left: 24px;
  background: var(--navy);
  border: 1px solid var(--gold);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 12px;
  z-index: 2;
}
.medicine-badge-overlay small { font-size: 0.75rem; color: var(--gold); display: block; margin-bottom: 4px; letter-spacing: 1px; text-transform: uppercase; }
.medicine-badge-overlay strong { font-family: var(--serif); font-size: 1rem; }
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.benefit-card {
  background: var(--off-white);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex; align-items: flex-start; gap: 14px;
  border: 1px solid rgba(201,168,76,0.2);
  transition: box-shadow 0.3s, transform 0.2s;
}
.benefit-card:hover { box-shadow: 0 6px 20px rgba(27,42,74,0.1); transform: translateY(-2px); }
.benefit-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--navy-dark);
}
.benefit-text h6 { font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.benefit-text p { font-size: 0.78rem; color: var(--text-muted); margin: 0; }
.not-for-sale {
  background: rgba(201,168,76,0.1);
  border: 1px dashed var(--gold);
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 0.83rem;
  color: var(--text-dark);
  display: flex; align-items: center; gap: 10px;
}
.not-for-sale i { color: var(--gold); font-size: 1rem; }

/* ============================
   EXPERTISE SECTION
   ============================ */
.expertise-section { padding: 100px 0; background: var(--navy-dark); }
.expertise-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 18px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s;
  height: 100%;
}
.expertise-card:hover {
  background: rgba(201,168,76,0.08);
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.expertise-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, rgba(201,168,76,0.2), rgba(201,168,76,0.05));
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  color: var(--gold);
}
.expertise-card h5 { font-family: var(--serif); font-size: 1.1rem; color: var(--white); margin-bottom: 12px; font-weight: 700; }
.expertise-card p { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.7; margin: 0; }

/* ============================
   THERAPY SECTION
   ============================ */
.therapy-section { padding: 100px 0; background: var(--off-white); }
.therapy-card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(27,42,74,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  background: var(--white);
}
.therapy-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(27,42,74,0.18); }
.therapy-img-wrap { position: relative; overflow: hidden; height: 240px; }
.therapy-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.therapy-card:hover .therapy-img-wrap img { transform: scale(1.05); }
.therapy-img-wrap .therapy-tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--gold);
}
.therapy-body { padding: 24px; }
.therapy-body h5 { font-family: var(--serif); font-size: 1.1rem; color: var(--navy); font-weight: 700; margin-bottom: 8px; }
.therapy-body p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* ============================
   HEALING STEPS SECTION
   ============================ */
.healing-section { padding: 100px 0; background: var(--white); }
.step-card {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(27,42,74,0.08);
  background: var(--white);
  box-shadow: 0 4px 20px rgba(27,42,74,0.06);
  transition: box-shadow 0.3s;
  height: 100%;
}
.step-card:hover { box-shadow: 0 12px 35px rgba(27,42,74,0.12); }
.step-number {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--navy), #243358);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-content h5 { font-family: var(--serif); font-size: 1.1rem; color: var(--navy); font-weight: 700; margin-bottom: 8px; }
.step-content p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* ============================
   PAGE BANNER (INNER PAGES)
   ============================ */
.page-banner {
  background: linear-gradient(135deg, var(--navy-dark), #243358);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../images/banner/9.jpg') center/cover no-repeat;
  opacity: 0.08;
}
.page-banner::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.page-banner .bread-title h2 { font-family: var(--serif); font-size: 2.8rem; color: var(--white); font-weight: 700; }
.page-banner .bread-menu ul { padding: 0; margin: 0 0 16px; list-style: none; display: flex; gap: 0; }
.page-banner .bread-menu ul li::after { content: ' / '; color: var(--gold); margin: 0 8px; }
.page-banner .bread-menu ul li:last-child::after { content: ''; }
.page-banner .bread-menu ul li a { color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.page-banner .bread-menu ul li:last-child a { color: var(--gold); }

/* ============================
   FOOTER
   ============================ */
.siddha-footer { background: var(--navy-dark); padding: 70px 0 0; }
.footer-logo img { height: 60px; margin-bottom: 20px; }
.footer-about-text { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.8; }
.footer-heading { font-family: var(--serif); color: var(--gold); font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid rgba(201,168,76,0.3); }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.footer-contact-item .fci-icon { color: var(--gold); font-size: 0.95rem; margin-top: 3px; flex-shrink: 0; }
.footer-contact-item .fci-text { font-size: 0.88rem; color: rgba(255,255,255,0.7); line-height: 1.6; }
.footer-contact-item .fci-text a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-contact-item .fci-text a:hover { color: var(--gold); }
.footer-partner-logos { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.footer-partner-logos .partner-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 600;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 50px;
  padding: 20px 0;
}
.footer-bottom p { font-size: 0.83rem; color: rgba(255,255,255,0.4); margin: 0; text-align: center; }

/* ============================
   BREADCRUMB OVERRIDE
   ============================ */
.siddha-breadcrumb {
  background: linear-gradient(135deg, var(--navy-dark), #243358);
  padding: 130px 0 70px;
  position: relative;
}
.siddha-breadcrumb::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.siddha-breadcrumb h1 { font-family: var(--serif); color: var(--white); font-size: 2.8rem; font-weight: 700; margin-bottom: 12px; }
.breadcrumb-nav { display: flex; gap: 8px; align-items: center; list-style: none; padding: 0; margin: 0; }
.breadcrumb-nav li { font-size: 0.88rem; }
.breadcrumb-nav li a { color: rgba(255,255,255,0.65); }
.breadcrumb-nav li.sep { color: var(--gold); }
.breadcrumb-nav li.active { color: var(--gold); }

/* ============================
   WHATSAPP FLOAT
   ============================ */
.whatsapp-float {
  position: fixed; bottom: 30px; right: 30px; z-index: 9999;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  font-size: 1.5rem; color: white;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); color: white; box-shadow: 0 10px 30px rgba(37,211,102,0.5); }

/* ============================
   UTILITY CLASSES
   ============================ */
.bg-navy { background: var(--navy) !important; }
.bg-navy-dark { background: var(--navy-dark) !important; }
.bg-off-white { background: var(--off-white) !important; }
.text-gold { color: var(--gold) !important; }
.text-navy { color: var(--navy) !important; }
.border-gold { border-color: var(--gold) !important; }
.py-section { padding: 100px 0; }
.mb-section { margin-bottom: 70px; }
.text-center-heading { text-align: center; margin-bottom: 60px; }

/* Horizontal gold divider */
.divider-gold { height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 60px 0; border: none; }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 991px) {
  .hero-content { padding: 100px 0 60px; }
  .hero-title { font-size: 2.2rem; }
  .hero-image-side { margin-top: 40px; }
  .timeline-wrap::before { left: 24px; }
  .timeline-item, .timeline-item.right { padding: 0 0 0 64px; justify-content: flex-start; }
  .timeline-dot { left: 24px; transform: none; }
  .timeline-card { max-width: 100%; }
  .timeline-item.right .timeline-card { border-right: none; border-left: 4px solid var(--gold); }
  .benefits-grid { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
  .hero-stats { gap: 24px; }
  .hero-divider { display: none; }
  .hero-btns { flex-direction: column; }
  .btn-gold, .btn-outline-gold { width: 100%; text-align: center; justify-content: center; }
}
