/*
================================================================
  Smile Craft Dental Clinic - Custom Premium Stylesheet
  Sus, Pune, Maharashtra, India
  Design Tone: Calming, Trustworthy, Hygienic, Premium, Modern
================================================================
*/

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* --- Root Variable System --- */
:root {
  /* Color Palette - Customized HSL Values */
  --primary-teal: hsl(184, 82%, 34%);
  --primary-teal-hover: hsl(184, 82%, 28%);
  --primary-teal-light: hsl(184, 75%, 96%);
  --primary-teal-glow: hsla(184, 82%, 34%, 0.15);
  
  --secondary-blue: hsl(207, 85%, 45%);
  --secondary-blue-light: hsl(207, 85%, 97%);
  
  --accent-coral: hsl(12, 88%, 56%);
  --accent-coral-hover: hsl(12, 88%, 48%);
  --accent-coral-light: hsl(12, 88%, 96%);
  
  --neutral-dark: hsl(220, 40%, 15%);
  --neutral-muted: hsl(220, 16%, 42%);
  --neutral-light: hsl(210, 30%, 98%);
  --neutral-white: hsl(0, 0%, 100%);
  
  --success-green: hsl(145, 63%, 42%);
  --gold-star: hsl(45, 95%, 50%);
  
  /* Fonts */
  --font-heading: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
  
  /* Shadows & Glassmorphism */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(184, 82, 34, 0.06);
  --shadow-lg: 0 16px 40px rgba(20, 30, 45, 0.08);
  --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --gradient-primary: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-blue) 100%);
  --gradient-soft: linear-gradient(135deg, var(--primary-teal-light) 0%, var(--secondary-blue-light) 100%);
  --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  
  /* Radius & Transitions */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s ease-out;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Offset for sticky header */
}

body {
  font-family: var(--font-body);
  color: var(--neutral-dark);
  background-color: var(--neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--neutral-dark);
}

h1 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.1rem;
  letter-spacing: -0.01em;
  position: relative;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.4rem;
}

p {
  color: var(--neutral-muted);
}

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

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

.marathi-text {
  font-weight: 500;
  opacity: 0.85;
}

/* --- Reusable Components --- */

/* Section Layouts */
section {
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-header h2 {
  display: inline-block;
}

.section-header h2 span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  font-size: 1.1rem;
  margin-top: 0.75rem;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--primary-teal-light);
  color: var(--primary-teal);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--primary-teal-glow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  outline: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--neutral-white);
  box-shadow: 0 8px 20px var(--primary-teal-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px hsla(184, 82%, 34%, 0.3);
}

.btn-secondary {
  background-color: var(--neutral-white);
  color: var(--primary-teal);
  border: 1px solid var(--primary-teal-glow);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--primary-teal-light);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent-coral);
  color: var(--neutral-white);
  box-shadow: 0 8px 20px hsla(12, 88%, 56%, 0.2);
}

.btn-accent:hover {
  background: var(--accent-coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px hsla(12, 88%, 56%, 0.35);
}

/* Glass Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* Grid helper */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

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

/* --- Layout Sections --- */

/* Header & Navigation */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(184, 82, 34, 0.08);
  transition: var(--transition-smooth);
}

.main-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon-container {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

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

.logo-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-teal);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--neutral-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.logo-marathi {
  font-size: 0.72rem;
  color: var(--neutral-dark);
  font-weight: 600;
  margin-top: 1px;
}

/* Nav Links */
.nav-menu {
  display: none; /* Mobile first hidden */
}

.nav-contact-info {
  display: none;
}

/* Mobile Menu Button */
.menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1010;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-teal);
  border-radius: 3px;
  transition: var(--transition-smooth);
}

.menu-btn.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--neutral-white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  transform: translateY(-10px);
}

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

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neutral-dark);
}

.mobile-nav-link:hover {
  color: var(--primary-teal);
}

/* --- 1. Hero Section --- */
.hero {
  padding-top: 7.5rem;
  padding-bottom: 4rem;
  background: linear-gradient(180deg, var(--primary-teal-light) 0%, var(--neutral-light) 100%);
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 40%;
  height: 50%;
  background: radial-gradient(circle, hsla(184, 82%, 34%, 0.1) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

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

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--neutral-white);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(184, 82, 34, 0.06);
}

.stars {
  color: var(--gold-star);
  font-size: 0.9rem;
  display: flex;
}

.rating-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--neutral-dark);
}

.hero h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero h1 span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 550px;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 1.5rem;
  border-top: 1px solid rgba(184, 82, 34, 0.1);
  padding-top: 1.5rem;
}

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

.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-teal);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--neutral-muted);
  font-weight: 500;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--neutral-white);
}

.hero-image-wrapper img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 6s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.05);
}

/* Custom Image Frame Accent */
.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2) 0%, transparent 60%);
  z-index: 2;
  pointer-events: none;
}

/* Local SEO Tag bar */
.seo-bar {
  background: var(--neutral-white);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
  border-top: 1px solid rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid rgba(0, 0, 0, 0.02);
  text-align: center;
}

.seo-bar p {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--neutral-muted);
  letter-spacing: 0.03em;
}

.seo-bar strong {
  color: var(--primary-teal);
}

/* --- 2. About Clinic Section --- */
.about {
  background-color: var(--neutral-white);
}

.about-features {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.about-feature-item {
  display: flex;
  gap: 12px;
}

.about-feature-icon {
  width: 24px;
  height: 24px;
  background-color: var(--primary-teal-light);
  border-radius: 50%;
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
  margin-top: 3px;
}

.about-feature-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--neutral-dark);
}

.about-feature-text p {
  font-size: 0.85rem;
  color: var(--neutral-muted);
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-wrapper img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 1.2rem;
  border-radius: var(--radius-md);
}

.about-image-badge h4 {
  color: var(--primary-teal);
  font-size: 1rem;
  margin-bottom: 4px;
}

.about-image-badge p {
  font-size: 0.8rem;
  color: var(--neutral-muted);
}

/* --- 3. Treatments Section --- */
.treatments {
  background-color: var(--neutral-light);
}

.treatments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.treatment-card {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.treatment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0%;
  background: var(--gradient-primary);
  transition: var(--transition-smooth);
}

.treatment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.treatment-card:hover::before {
  height: 100%;
}

.treatment-icon-box {
  width: 54px;
  height: 54px;
  background-color: var(--primary-teal-light);
  border-radius: var(--radius-md);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  transition: var(--transition-smooth);
}

.treatment-card:hover .treatment-icon-box {
  background: var(--gradient-primary);
  color: var(--neutral-white);
  transform: rotate(6deg);
}

.treatment-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--neutral-dark);
}

.treatment-card p {
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.treatment-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-teal);
  transition: var(--transition-fast);
}

.treatment-cta i {
  transition: var(--transition-fast);
}

.treatment-card:hover .treatment-cta {
  color: var(--secondary-blue);
}

.treatment-card:hover .treatment-cta i {
  transform: translateX(4px);
}

/* --- 4. Why Choose Us Section --- */
.why-choose {
  background-color: var(--neutral-white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.why-card {
  padding: 1.8rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.03);
  background-color: var(--neutral-light);
  transition: var(--transition-smooth);
  display: flex;
  gap: 1rem;
}

.why-card:hover {
  background-color: var(--neutral-white);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--primary-teal-glow);
}

.why-icon {
  width: 48px;
  height: 48px;
  background-color: var(--neutral-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary-teal);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.why-card:hover .why-icon {
  background-color: var(--primary-teal);
  color: var(--neutral-white);
}

.why-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.why-content p {
  font-size: 0.85rem;
}

/* --- 5. Before / After Gallery --- */
.smile-gallery {
  background-color: var(--neutral-light);
}

.comparison-wrapper {
  max-width: 650px;
  margin: 0 auto;
}

.comparison-card {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%; /* Make it perfectly square */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--neutral-white);
  cursor: ew-resize;
  user-select: none;
}

/* Ensure absolute styling inside wrapper */
.comparison-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.before-image {
  z-index: 10;
}

.after-image-container {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 50%; /* JS will control this */
  overflow: hidden;
  z-index: 20;
  border-right: 3px solid var(--neutral-white);
}

.after-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Badges for Slider */
.slider-badge {
  position: absolute;
  bottom: 20px;
  background-color: rgba(20, 30, 45, 0.75);
  backdrop-filter: blur(4px);
  color: var(--neutral-white);
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  pointer-events: none;
}

.slider-badge.before {
  left: 20px;
  z-index: 30;
}

.slider-badge.after {
  right: 20px;
  z-index: 30;
}

/* Interactive Slider Handle */
.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%; /* Matches after width */
  width: 4px;
  background-color: var(--neutral-white);
  z-index: 40;
  transform: translateX(-50%);
  pointer-events: none;
}

.handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background-color: var(--primary-teal);
  color: var(--neutral-white);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 3px solid var(--neutral-white);
  transition: transform 0.1s ease;
}

.comparison-card:hover .handle-button {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: var(--secondary-blue);
}

.slider-instruction {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--neutral-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.slider-instruction i {
  color: var(--primary-teal);
  animation: pulse-arrow 1.5s infinite alternate;
}

@keyframes pulse-arrow {
  0% { transform: translateX(-3px); }
  100% { transform: translateX(3px); }
}

/* --- 6. Testimonials Section --- */
.testimonials {
  background-color: var(--neutral-white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.review-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reviewer-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 46px;
  height: 46px;
  background: var(--gradient-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary-teal);
  font-size: 1.1rem;
  border: 1px solid var(--primary-teal-glow);
}

.reviewer-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--neutral-dark);
}

.review-date {
  font-size: 0.72rem;
  color: var(--neutral-muted);
}

.google-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  background-color: var(--neutral-light);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  color: var(--neutral-muted);
  font-weight: 600;
}

.google-badge i {
  color: #4285F4; /* Google Blue */
}

.review-body {
  font-size: 0.88rem;
  color: var(--neutral-dark);
  font-style: italic;
  line-height: 1.6;
}

.review-footer {
  margin-top: auto;
  border-top: 1px dashed rgba(0, 0, 0, 0.05);
  padding-top: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-verified {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--success-green);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Google aggregated stars summary card */
.g-aggregate-card {
  text-align: center;
  padding: 2rem;
  margin-bottom: 2.5rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-teal-light) 0%, hsla(184, 82%, 34%, 0.05) 100%);
  border: 1px solid var(--primary-teal-glow);
}

.g-aggregate-score {
  font-size: 3rem;
  font-weight: 800;
  color: var(--neutral-dark);
  line-height: 1;
}

.g-aggregate-stars {
  justify-content: center;
  margin: 0.5rem 0;
  font-size: 1.2rem;
}

.g-aggregate-text {
  font-size: 0.88rem;
  color: var(--neutral-muted);
}

/* --- 7. Booking & Appointment Section --- */
.booking {
  background-color: var(--neutral-light);
}

.booking-card {
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  margin: 0 auto;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neutral-dark);
}

.form-control {
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(184, 82, 34, 0.15);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--neutral-dark);
  background-color: var(--neutral-white);
  transition: var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 3px var(--primary-teal-glow);
}

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

.booking-submit-btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* --- 8. Contact & Maps Integration --- */
.contact {
  background-color: var(--neutral-white);
}

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

.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: var(--radius-md);
  background-color: var(--neutral-light);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.contact-icon {
  width: 44px;
  height: 44px;
  background-color: var(--primary-teal-light);
  border-radius: var(--radius-sm);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-details p, .contact-details a {
  font-size: 0.85rem;
  color: var(--neutral-muted);
}

.contact-details a:hover {
  color: var(--primary-teal);
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--neutral-white);
  height: 380px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- 9. Footer Section --- */
.footer {
  background-color: var(--neutral-dark);
  color: var(--neutral-light);
  padding: 4rem 1.5rem 2rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h3 {
  color: var(--neutral-white);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-teal);
}

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

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  display: inline-block;
  transition: var(--transition-fast);
}

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

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  margin-bottom: 1.2rem;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background-color: var(--primary-teal);
  color: var(--neutral-white);
  transform: translateY(-2px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-seo-tagline {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
  max-width: 800px;
  line-height: 1.5;
}

/* --- Floating Call Actions & Widgets --- */

/* Floating WhatsApp Launcher */
.whatsapp-float {
  position: fixed;
  bottom: 90px; /* Kept clear of mobile action bar */
  right: 20px;
  width: 58px;
  height: 58px;
  background-color: #25d366; /* Official WhatsApp green */
  color: var(--neutral-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 900;
  transition: var(--transition-smooth);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Glowing ring for WhatsApp */
.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid #25d366;
  opacity: 0.7;
  animation: pulse-ring 2s infinite;
  pointer-events: none;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Sticky Mobile Action Bar */
.mobile-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.06);
  border-top: 1px solid rgba(184, 82, 34, 0.08);
  display: flex;
  z-index: 950;
  padding: 10px 15px;
  gap: 10px;
}

.mobile-action-bar .btn {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  height: 48px;
}

/* Success Modal styling */
.success-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(20, 30, 45, 0.6);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.success-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.success-content {
  background-color: var(--neutral-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  max-width: 450px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.success-modal.active .success-content {
  transform: translateY(0);
}

.success-icon {
  width: 68px;
  height: 68px;
  background-color: var(--primary-teal-light);
  border-radius: 50%;
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 1.5rem auto;
  border: 2px solid var(--primary-teal-glow);
  animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleUp {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.success-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--primary-teal);
}

.success-content p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* --- Scroll Animation Reveals --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* ================================================================
  Responsive Breakpoints (Desktop Focus)
================================================================ */

@media (min-width: 768px) {
  /* Layout tweaks */
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .treatments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Sections */
  section {
    padding: 7rem 2rem;
  }
  
  /* Hero */
  .hero {
    padding-top: 9rem;
    padding-bottom: 6rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero-sub {
    font-size: 1.1rem;
  }
  
  .hero-ctas {
    flex-direction: row;
  }
  
  .hero-image-wrapper img {
    height: 450px;
  }
  
  /* About */
  .about-features {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-image-wrapper img {
    height: 480px;
  }
  
  /* G Aggregate summary card */
  .g-aggregate-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    padding: 2rem 3rem;
  }
  
  .g-aggregate-stars {
    justify-content: flex-start;
  }
  
  /* Contact section */
  .contact-info-panel {
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  /* Navigation */
  .menu-btn {
    display: none;
  }
  
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
  
  .nav-link {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--neutral-dark);
    position: relative;
    padding: 5px 0;
    white-space: nowrap;
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-teal);
    transition: var(--transition-smooth);
  }
  
  .nav-link:hover::after {
    width: 100%;
  }
  
  .nav-link:hover {
    color: var(--primary-teal);
  }
  
  .nav-contact-info {
    display: flex;
    align-items: center;
    gap: 1.2rem;
  }
}

@media (min-width: 1200px) {
  .nav-menu {
    gap: 2.2rem;
  }
  
  .nav-link {
    font-size: 0.95rem;
  }
  
  .nav-contact-info {
    gap: 1.5rem;
  }
  
  /* Grid sizes */
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .treatments-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  
  /* Hero layout */
  .hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
  }
  
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .hero-image-wrapper img {
    height: 480px;
  }
  
  /* Mobile Sticky Bar hidden on desktop */
  .mobile-action-bar {
    display: none;
  }
  
  .whatsapp-float {
    bottom: 30px;
  }
}
