/* ========================================
   DHANVANTRI CLINIC — Unified Stylesheet
   Palette: Teal + Rose Gold | Tone: Warm & Welcoming
   ======================================== */

/* --- CSS Variables --- */
:root {
  --primary: #0A7E8C;
  --primary-dark: #066570;
  --primary-light: #E8F5F7;
  --secondary: #C9929B;
  --secondary-dark: #A87680;
  --secondary-light: #F2E0E3;
  --accent: #C9A84C;
  --accent-light: #F5EED8;
  --bg: #FAF8F5;
  --bg-warm: #F5F1ED;
  --card-bg: #FFFFFF;
  --text: #2D2D2D;
  --text-light: #6B6B6B;
  --text-muted: #999999;
  --footer-bg: #074E56;
  --footer-text: #E8F4F5;
  --border: #E8E4E0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* --- Preloader --- */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 16px;
  transition: opacity 0.5s ease;
}
#preloader .loader {
  width: 40px; height: 40px;
  border: 3px solid var(--primary-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
#preloader i { color: var(--primary); font-size: 24px; animation: pulse 1.5s ease infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

/* --- Header --- */
header {
  background: #FFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 32px;
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 48px; width: auto; }
.logo-text { display: flex; flex-direction: column; }
.logo-text .clinic-name {
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 700; color: var(--primary-dark);
  line-height: 1.2;
}
.logo-text .clinic-tagline {
  font-size: 10px; color: var(--text-muted);
  letter-spacing: 0.8px; text-transform: uppercase; font-weight: 600;
}

nav { display: flex; align-items: center; gap: 8px; }

.nav-links {
  list-style: none; display: flex; gap: 4px;
}
.nav-links li a {
  font-size: 13px; font-weight: 600;
  color: var(--text); padding: 8px 16px;
  border-radius: var(--radius-xl);
  transition: all var(--transition);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.nav-links li a:hover,
.nav-links li a.active {
  background: var(--primary);
  color: #FFF;
}

.translate-widget { margin-left: 8px; }

/* Hamburger */
.hamburger { display: none; cursor: pointer; padding: 8px; }
.hamburger .bar {
  display: block; width: 24px; height: 2px;
  background: var(--text); margin: 5px 0;
  transition: all var(--transition); border-radius: 2px;
}
.hamburger.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 50%, var(--bg) 100%);
  padding: 80px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -50%; right: -30%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(10,126,140,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(10,126,140,0.1);
  border: 1px solid rgba(10,126,140,0.2);
  border-radius: var(--radius-xl);
  font-size: 11px; font-weight: 700;
  color: var(--primary); letter-spacing: 1.2px;
  text-transform: uppercase; margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 700; color: var(--text);
  line-height: 1.25; margin-bottom: 16px;
}
.hero h1 span { color: var(--primary); }
.hero p {
  font-size: 17px; color: var(--text-light);
  max-width: 650px; margin: 0 auto 28px; line-height: 1.7;
}
.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-xl);
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.3px; transition: all var(--transition);
  cursor: pointer; border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #FFF;
  box-shadow: 0 4px 15px rgba(10,126,140,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(10,126,140,0.4);
  color: #FFF;
}
.btn-secondary {
  background: #FFF;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: #FFF;
}
.btn-rose {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: #FFF;
  box-shadow: 0 4px 15px rgba(201,146,155,0.3);
}
.btn-rose:hover {
  transform: translateY(-2px); color: #FFF;
  box-shadow: 0 6px 25px rgba(201,146,155,0.4);
}

/* --- Section Basics --- */
.section {
  padding: 70px 24px;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 10px;
}
.section-label.rose { color: var(--secondary); }
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700; color: var(--text);
  margin-bottom: 12px; line-height: 1.3;
}
.section-desc {
  font-size: 16px; color: var(--text-light);
  max-width: 600px; margin: 0 auto; line-height: 1.7;
}

/* --- Service Pathway Cards (Home) --- */
.pathways {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; max-width: 900px; margin: 0 auto;
}
.pathway-card {
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.pathway-card:hover { transform: translateY(-4px); }
.pathway-card.gynaecology {
  background: linear-gradient(135deg, var(--primary-light), #FFF);
  border: 1px solid rgba(10,126,140,0.15);
  box-shadow: var(--shadow-sm);
}
.pathway-card.cosmetology {
  background: linear-gradient(135deg, var(--secondary-light), #FFF);
  border: 1px solid rgba(201,146,155,0.2);
  box-shadow: var(--shadow-sm);
}
.pathway-card .pathway-icon {
  width: 64px; height: 64px;
  border-radius: 50%; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.pathway-card.gynaecology .pathway-icon { background: rgba(10,126,140,0.12); }
.pathway-card.cosmetology .pathway-icon { background: rgba(201,146,155,0.15); }
.pathway-card h3 {
  font-family: var(--font-heading);
  font-size: 22px; font-weight: 700; margin-bottom: 10px;
}
.pathway-card.gynaecology h3 { color: var(--primary-dark); }
.pathway-card.cosmetology h3 { color: var(--secondary-dark); }
.pathway-card p {
  font-size: 14px; color: var(--text-light); margin-bottom: 20px; line-height: 1.6;
}
.pathway-card .service-tags {
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
}
.pathway-card .service-tag {
  padding: 4px 12px; border-radius: var(--radius-xl);
  font-size: 11px; font-weight: 600;
}
.pathway-card.gynaecology .service-tag {
  background: rgba(10,126,140,0.08); color: var(--primary);
}
.pathway-card.cosmetology .service-tag {
  background: rgba(201,146,155,0.12); color: var(--secondary-dark);
}

/* --- Quick Service Cards (Home) --- */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px; max-width: var(--max-width); margin: 0 auto;
}
.service-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-card .card-icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 24px;
  background: var(--primary-light); color: var(--primary);
}
.service-card.cosmetic-card .card-icon {
  background: var(--secondary-light); color: var(--secondary-dark);
}
.service-card h3 {
  font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--text);
}
.service-card p {
  font-size: 14px; color: var(--text-light); line-height: 1.6;
}

/* --- About / Who We Are (Home) --- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
  max-width: var(--max-width); margin: 0 auto;
}
.about-content .about-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--primary); margin-bottom: 10px;
}
.about-content h2 {
  font-family: var(--font-heading);
  font-size: 32px; font-weight: 700; color: var(--text);
  margin-bottom: 16px; line-height: 1.3;
}
.about-content p {
  font-size: 15px; color: var(--text-light); margin-bottom: 20px; line-height: 1.8;
}
.about-highlights {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px;
}
.highlight-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  background: var(--primary-light);
  font-size: 14px; font-weight: 600; color: var(--primary-dark);
}
.highlight-item i { color: var(--primary); font-size: 14px; }

.about-image-wrap { position: relative; }
.about-image-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%; object-fit: cover;
}
.experience-badge {
  position: absolute; bottom: -16px; left: 24px;
  background: #FFF; padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.experience-badge .years {
  font-family: var(--font-heading);
  font-size: 32px; font-weight: 700; color: var(--primary);
  line-height: 1;
}
.experience-badge .label {
  font-size: 12px; color: var(--text-light); font-weight: 600;
}

/* --- Why Choose Us --- */
.why-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px; max-width: var(--max-width); margin: 0 auto;
}
.why-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.why-card i {
  font-size: 28px; color: var(--primary);
  margin-bottom: 16px;
}
.why-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* --- Statistics --- */
.statistics {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 50px 24px;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; max-width: 800px; margin: 0 auto; text-align: center;
}
.stat-card i { font-size: 28px; color: rgba(255,255,255,0.7); margin-bottom: 8px; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 36px; font-weight: 700; color: #FFF;
  line-height: 1.2;
}
.stat-card p { font-size: 13px; color: rgba(255,255,255,0.8); font-weight: 500; margin-top: 2px; }

/* --- Google Reviews --- */
.reviews-section { background: var(--bg-warm); }
.reviews-header-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin-bottom: 32px; flex-wrap: wrap;
}
.google-rating {
  display: flex; align-items: center; gap: 12px;
  background: #FFF; padding: 12px 24px; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}
.google-rating .g-logo { font-size: 28px; font-weight: 700; }
.google-rating .g-logo span:nth-child(1) { color: #4285F4; }
.google-rating .g-logo span:nth-child(2) { color: #EA4335; }
.google-rating .g-logo span:nth-child(3) { color: #FBBC05; }
.google-rating .g-logo span:nth-child(4) { color: #4285F4; }
.google-rating .g-logo span:nth-child(5) { color: #34A853; }
.google-rating .g-logo span:nth-child(6) { color: #EA4335; }
.google-rating .rating-info { text-align: left; }
.google-rating .rating-score { font-size: 24px; font-weight: 800; color: var(--text); }
.google-rating .rating-stars { color: #FBBC05; font-size: 14px; }
.google-rating .rating-count { font-size: 12px; color: var(--text-light); }

.review-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px; max-width: var(--max-width); margin: 0 auto;
}
.review-card {
  background: #FFF;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.review-card-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: #FFF;
}
.review-name { font-size: 14px; font-weight: 700; color: var(--text); }
.review-date { font-size: 11px; color: var(--text-muted); }
.review-stars { color: #FBBC05; font-size: 13px; margin-bottom: 8px; }
.review-text { font-size: 14px; color: var(--text-light); line-height: 1.6; }
.review-link {
  text-align: center; margin-top: 28px;
}

/* --- Instagram Section --- */
.insta-section { background: var(--bg); }
.insta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; max-width: var(--max-width); margin: 0 auto;
}
.insta-embed-card {
  background: #FFF; border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.insta-placeholder {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px; color: #FFF;
}
.insta-placeholder i { font-size: 48px; }
.insta-placeholder p { font-size: 14px; font-weight: 600; }

/* --- Services Page --- */
.services-tabs {
  display: flex; justify-content: center; gap: 8px;
  margin-bottom: 40px; flex-wrap: wrap;
}
.services-tab {
  padding: 12px 28px; border-radius: var(--radius-xl);
  font-size: 14px; font-weight: 700; cursor: pointer;
  border: 2px solid transparent; transition: all var(--transition);
  background: #FFF;
}
.services-tab.tab-gynae {
  color: var(--primary); border-color: var(--primary);
}
.services-tab.tab-gynae.active,
.services-tab.tab-gynae:hover {
  background: var(--primary); color: #FFF;
}
.services-tab.tab-cosmo {
  color: var(--secondary-dark); border-color: var(--secondary);
}
.services-tab.tab-cosmo.active,
.services-tab.tab-cosmo:hover {
  background: var(--secondary); color: #FFF;
}

.services-panel { display: none; }
.services-panel.active { display: block; }

/* Treatment Accordion */
.treatment-list { max-width: 900px; margin: 0 auto; }
.treatment-item {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.treatment-header {
  padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; transition: background var(--transition);
}
.treatment-header:hover { background: var(--primary-light); }
.cosmo-zone .treatment-header:hover { background: var(--secondary-light); }
.treatment-header h2 {
  font-family: var(--font-heading);
  font-size: 20px; font-weight: 700; color: var(--text);
  margin: 0;
}
.treatment-header .toggle-icon {
  width: 32px; height: 32px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--primary-light); color: var(--primary);
  transition: all var(--transition); font-size: 14px;
}
.cosmo-zone .treatment-header .toggle-icon {
  background: var(--secondary-light); color: var(--secondary-dark);
}
.treatment-header.active .toggle-icon { transform: rotate(45deg); }

.treatment-detail {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 24px;
}
.treatment-detail.active {
  max-height: 5000px;
  padding: 0 24px 24px;
}
.treatment-detail-inner {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 24px; align-items: start;
}
.treatment-detail-inner img {
  border-radius: var(--radius-md);
  width: 100%; object-fit: cover; aspect-ratio: 1;
}
.treatment-content h3 {
  font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px;
}
.treatment-content p {
  font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 12px;
}

/* Sub-treatments */
.sub-treatment-list { margin-top: 16px; }
.sub-treatment-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px; overflow: hidden;
}
.sub-treatment-header {
  padding: 14px 18px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; background: var(--bg);
  transition: background var(--transition);
}
.sub-treatment-header:hover { background: var(--primary-light); }
.cosmo-zone .sub-treatment-header:hover { background: var(--secondary-light); }
.sub-treatment-header h3, .sub-treatment-header h4 {
  font-size: 15px; font-weight: 600; color: var(--text); margin: 0;
}
.sub-treatment-header .toggle-icon {
  width: 24px; height: 24px; font-size: 11px;
}
.sub-treatment-detail {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
}
.sub-treatment-detail.active {
  max-height: 3000px; padding: 16px 18px;
}
.sub-treatment-detail p {
  font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 8px;
}

/* FAQ inside treatments */
.faq { margin-top: 12px; }
.faq h4 {
  font-size: 14px; font-weight: 700; color: var(--primary);
  margin-bottom: 8px;
}
.cosmo-zone .faq h4 { color: var(--secondary-dark); }
.faq .question {
  font-size: 13px; font-weight: 700; color: var(--text);
  margin-bottom: 4px; padding-left: 16px;
  position: relative;
}
.faq .question::before {
  content: 'Q'; position: absolute; left: 0;
  color: var(--primary); font-weight: 800;
}
.cosmo-zone .faq .question::before { color: var(--secondary); }
.faq .answer {
  font-size: 13px; color: var(--text-light);
  margin-bottom: 12px; padding-left: 16px; line-height: 1.6;
}

/* Cosmetic treatment cards (alternative to accordion) */
.cosmo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; max-width: var(--max-width); margin: 0 auto;
}
.cosmo-card {
  display: flex; flex-direction: column;
  background: #FFF;
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid rgba(201,146,155,0.2);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.cosmo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(201,146,155,0.15);
}
.cosmo-card .card-badge {
  display: inline-block;
  padding: 4px 12px; border-radius: var(--radius-xl);
  background: var(--secondary-light);
  color: var(--secondary-dark); font-size: 10px;
  font-weight: 700; letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.cosmo-card h3 {
  font-family: var(--font-heading);
  font-size: 20px; font-weight: 700; color: var(--text);
  margin-bottom: 10px;
}
.cosmo-card p {
  font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 12px; flex-grow: 1;
}
.cosmo-card .benefits {
  list-style: none; padding: 0;
}
.cosmo-card .benefits li {
  font-size: 13px; color: var(--text-light);
  padding: 4px 0; padding-left: 22px; position: relative;
}
.cosmo-card .benefits li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--secondary); font-weight: 700;
}
.cosmo-card .indications {
  margin-bottom: 12px; padding: 12px;
  background: var(--secondary-light); border-radius: var(--radius-sm);
}
.cosmo-card .indications-title {
  font-size: 12px; font-weight: 700; color: var(--secondary-dark);
  margin-bottom: 6px;
}
.cosmo-card .indications p {
  font-size: 13px; margin-bottom: 4px;
}

/* Image placeholder for missing machine photos */
.image-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-warm), var(--border));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px; color: var(--text-muted);
  border: 2px dashed var(--border);
}
.image-placeholder i { font-size: 32px; opacity: 0.5; }
.image-placeholder span { font-size: 12px; font-weight: 600; }

/* --- About Page --- */
.about-hero {
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  padding: 60px 24px; text-align: center;
}
.about-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700; color: var(--text);
  margin-bottom: 12px;
}
.about-hero p {
  font-size: 16px; color: var(--text-light);
  max-width: 600px; margin: 0 auto;
}

.credentials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px; margin-top: 24px; max-width: 800px; margin-left: auto; margin-right: auto;
}
.credential {
  background: #FFF;
  border-radius: var(--radius-sm);
  padding: 16px; text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.credential .degree { font-size: 18px; font-weight: 800; color: var(--primary); }
.credential .institution { font-size: 12px; color: var(--text-light); margin-top: 4px; }

/* Testimonials / Reviews Slider */
.testimonial-slider {
  position: relative; overflow: hidden;
  max-width: var(--max-width); margin: 0 auto;
}
.slider-track {
  display: flex; gap: 20px;
  transition: transform 0.4s ease;
}
.testimonial-card {
  min-width: 320px; flex-shrink: 0;
  background: #FFF;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.slider-nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: #FFF; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 18px; color: var(--text);
  transition: all var(--transition); z-index: 10;
}
.slider-nav-btn:hover { background: var(--primary); color: #FFF; }
.slider-nav-btn.prev { left: 0; }
.slider-nav-btn.next { right: 0; }

/* --- Contact Page --- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; max-width: var(--max-width); margin: 0 auto;
}
.contact-info-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.contact-card {
  background: #FFF;
  border-radius: var(--radius-md);
  padding: 24px; text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.contact-card i {
  font-size: 24px; color: var(--primary); margin-bottom: 10px;
}
.contact-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.contact-card p { font-size: 13px; color: var(--text-light); line-height: 1.5; }
.contact-card a { color: var(--primary); font-weight: 600; }

.map-box {
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--border);
}
.map-box iframe { width: 100%; height: 400px; border: 0; display: block; }

/* Social Links */
.social-icons {
  display: flex; gap: 12px; justify-content: center; margin-top: 20px;
}
.social-icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #FFF; transition: all var(--transition);
}
.social-icon.facebook { background: #1877F2; }
.social-icon.instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.social-icon.whatsapp { background: #25D366; }
.social-icon.youtube { background: #FF0000; }
.social-icon:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* --- Recommendations / Affiliate Page --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; max-width: var(--max-width); margin: 0 auto;
}
.product-card {
  background: #FFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.product-card .product-image {
  aspect-ratio: 1; background: var(--bg-warm);
  display: flex; align-items: center; justify-content: center;
}
.product-card .product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-card .product-info { padding: 20px; }
.product-card .product-info h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.product-card .product-info p { font-size: 13px; color: var(--text-light); margin-bottom: 12px; line-height: 1.5; }
.product-card .product-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px; border-radius: var(--radius-xl);
  background: var(--primary); color: #FFF;
  font-size: 13px; font-weight: 600;
  transition: all var(--transition);
}
.product-card .product-link:hover { background: var(--primary-dark); color: #FFF; }

/* --- Before & After Gallery --- */
.gallery-section { background: var(--bg-warm); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 1000px; margin: 0 auto;
}
@media (max-width: 768px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-card {
  background: #FFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.gallery-card img {
  width: 100%; display: block;
}
.gallery-card .gallery-caption {
  padding: 16px 20px; text-align: center;
}
.gallery-card .gallery-caption h3 {
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 700; color: var(--text);
  margin-bottom: 4px;
}
.gallery-card .gallery-caption p {
  font-size: 13px; color: var(--text-light);
}
.gallery-disclaimer {
  text-align: center; margin-top: 20px;
  font-size: 11px; color: var(--text-muted); font-style: italic;
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #FFF; font-size: 28px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: all var(--transition);
  animation: float-pulse 2s ease infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.5);
  color: #FFF;
}
@keyframes float-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6); }
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed; bottom: 90px; right: 28px;
  width: 40px; height: 40px;
  background: var(--primary); color: #FFF;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; z-index: 998;
  opacity: 0; transform: translateY(20px);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.back-to-top.show { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); color: #FFF; }

/* --- Footer --- */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 48px 24px 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px; max-width: var(--max-width);
  margin: 0 auto 32px;
}
.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 700;
  margin-bottom: 16px; color: #FFF;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: var(--footer-text); font-size: 14px;
  opacity: 0.8; transition: opacity var(--transition);
}
.footer-col ul li a:hover { opacity: 1; color: #FFF; }
.footer-col ul li i { margin-right: 8px; font-size: 14px; }
.footer-col p { font-size: 14px; opacity: 0.8; line-height: 1.7; }

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom p { font-size: 13px; opacity: 0.7; }
.footer-credit {
  margin-top: 8px;
}
.footer-credit a {
  font-size: 11px; color: rgba(255,255,255,0.3);
  transition: color var(--transition);
}
.footer-credit a:hover { color: rgba(255,255,255,0.7); }

/* ======== RESPONSIVE ======== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-image-wrap { order: -1; max-width: 400px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  header { padding: 10px 16px; }
  .logo img { height: 40px; }
  .logo-text .clinic-name { font-size: 15px; }

  .nav-links {
    position: fixed; top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: #FFF; flex-direction: column;
    padding: 80px 32px 32px; gap: 0;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    transition: right var(--transition);
    z-index: 1001;
  }
  .nav-links.active { right: 0; }
  .nav-links li a {
    display: block; padding: 14px 0;
    font-size: 16px; border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .nav-links li a:hover { background: none; color: var(--primary); }
  .hamburger { display: block; z-index: 1002; }
  .translate-widget { display: none; }

  .hero { padding: 50px 20px 40px; }
  .pathways { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .contact-info-cards { grid-template-columns: 1fr; }
  .review-cards { grid-template-columns: 1fr; }
  .cosmo-cards { grid-template-columns: 1fr; }
  .credentials-grid { grid-template-columns: repeat(2, 1fr); }
  .treatment-detail-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 50px 16px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .credentials-grid { grid-template-columns: 1fr; }
}

/* --- Google Translate Floating Toast --- */
.translate-toast {
  position: fixed; bottom: 24px; left: 24px; z-index: 10000;
  background: #fff; border-radius: 14px; padding: 12px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.08);
  border: 1.5px solid var(--primary);
  animation: toastSlideIn 0.5s ease-out;
  transition: opacity 0.4s ease, transform 0.4s ease;
  max-width: 360px;
}
.translate-toast.hide {
  opacity: 0; transform: translateY(20px); pointer-events: none;
}
.translate-toast-inner {
  display: flex; align-items: center; gap: 10px;
}
.translate-toast-inner > i {
  font-size: 20px; color: var(--primary); flex-shrink: 0;
}
.translate-toast-inner > span {
  font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap;
}
.translate-toast .goog-te-gadget { font-size: 0 !important; }
.translate-toast .goog-te-gadget .goog-te-combo {
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  padding: 6px 28px 6px 10px; border: 1.5px solid #ddd;
  border-radius: 8px; background: #f9fafb;
  color: var(--text); cursor: pointer; outline: none;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%230d9488'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center;
}
.translate-toast .goog-te-gadget .goog-te-combo:focus { border-color: var(--primary); }
.translate-toast .goog-te-gadget > span,
.translate-toast .goog-te-gadget a { display: none !important; }
.translate-close {
  background: none; border: none; font-size: 22px; color: #999;
  cursor: pointer; padding: 0 0 0 4px; line-height: 1; flex-shrink: 0;
  transition: color 0.2s;
}
.translate-close:hover { color: #333; }
#google_translate_element img { display: none !important; }
.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }
.skiptranslate { display: none !important; }
@keyframes toastSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 480px) {
  .translate-toast { left: 12px; right: 12px; bottom: 16px; max-width: none; }
}

/* --- YouTube Thumbnail Play Button --- */
.yt-thumb { position: relative; overflow: hidden; border-radius: 12px; }
.yt-thumb img { transition: transform 0.3s ease; }
.yt-thumb:hover img { transform: scale(1.03); }
.yt-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 68px; height: 48px; background: rgba(255, 0, 0, 0.85);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease; pointer-events: none;
}
.yt-play-btn i { color: #fff; font-size: 28px; }
.yt-thumb:hover .yt-play-btn { background: #FF0000; transform: translate(-50%, -50%) scale(1.1); }
