/* 
  =========================================
  DR. BHUVAN'S DENTAL LASER & IMPLANT CENTRE
  Custom Premium Design System
  =========================================
*/

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables for Premium Theme */
:root {
  --primary-deep: #0b2240;      /* Deep Luxury Dental Blue */
  --primary-medium: #113860;    /* Muted Slate Blue */
  --primary-accent: #1e60a5;    /* Vibrant Clinical Blue */
  --laser-cyan: #00bcd4;        /* Laser Medical Cyan */
  --laser-cyan-glow: rgba(0, 188, 212, 0.3);
  --gold-accent: #c5a059;       /* Champagne Gold for Trust Badges */
  
  --bg-pure: #ffffff;           /* Apple White */
  --bg-ice: #f6f9fc;            /* Soft Ice-Blue/Silver */
  --bg-card: #ffffff;           /* Clean Card Background */
  
  --text-main: #1d2c3f;         /* Deep Charcoal */
  --text-muted: #5c728a;        /* Elegant Slate Grey */
  --text-light: #8fa3b7;        /* Light Grey for subtle details */
  
  --border-subtle: #e5edf5;     /* Delicate borders */
  --border-focus: #1e60a5;      /* Active inputs */
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --shadow-sm: 0 4px 12px rgba(11, 34, 64, 0.02);
  --shadow-md: 0 12px 24px rgba(11, 34, 64, 0.04);
  --shadow-lg: 0 24px 48px rgba(11, 34, 64, 0.08);
  --shadow-glow: 0 0 20px rgba(0, 188, 212, 0.2);
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease-out;
  
  --clip-pos: 50%;              /* Before/After slider default position */
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-pure);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Custom Rules */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary-deep);
  line-height: 1.25;
}

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

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
}

section {
  padding: 7.5rem 0;
  position: relative;
}

@media (max-width: 768px) {
  section {
    padding: 4.5rem 0;
  }
}

.section-bg-ice {
  background-color: var(--bg-ice);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(229, 237, 245, 0.5);
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  padding: 0.5rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
  transition: var(--transition-smooth);
}

.header.scrolled .nav-container {
  height: 4rem;
}

/* Brand Identity */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary-accent));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(30, 96, 165, 0.2);
}

.brand-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: #fff;
}

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

.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary-deep);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--laser-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.1rem;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: nowrap;
}

.nav-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-accent);
  transition: var(--transition-fast);
}

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

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

.nav-link.active {
  color: var(--primary-deep);
  font-weight: 600;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary-deep);
  color: #fff;
  box-shadow: 0 4px 14px rgba(11, 34, 64, 0.15);
}

.btn-primary:hover {
  background-color: var(--primary-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 96, 165, 0.25);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--border-subtle);
  color: var(--primary-deep);
}

.btn-secondary:hover {
  background-color: var(--bg-ice);
  border-color: var(--text-light);
  transform: translateY(-2px);
}

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

.btn-whatsapp:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}

/* Mobile Menu Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background-color: var(--primary-deep);
  margin: 5px 0;
  transition: var(--transition-fast);
}

@media (max-width: 1150px) {
  .nav-menu {
    display: none; /* Managed by JS/CSS class */
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-actions {
    display: none;
  }
}

/* Mobile Nav Styles */
.nav-menu.mobile-active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 2rem;
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  gap: 1.5rem;
  animation: slideDownMenu 0.3s ease-out forwards;
}

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

/* Section Header */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4.5rem auto;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--primary-accent);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

/* 
  =========================================
  HERO SECTION
  =========================================
*/
.hero {
  padding-top: 10.5rem;
  padding-bottom: 7.5rem;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(30, 96, 165, 0.04) 0%, rgba(255, 255, 255, 0) 50%),
              radial-gradient(circle at 10% 80%, rgba(0, 188, 212, 0.03) 0%, rgba(255, 255, 255, 0) 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: var(--bg-ice);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--primary-deep);
  margin-bottom: 1.5rem;
}

.hero-tag svg {
  width: 1rem;
  height: 1rem;
  fill: var(--laser-cyan);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (max-width: 991px) {
  .hero-cta {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero-cta .btn {
    width: 100%;
  }
}

/* Trust Indicators */
.trust-indicators {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 991px) {
  .trust-indicators {
    max-width: 500px;
    margin: 0 auto;
  }
}

.trust-check {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: rgba(30, 96, 165, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-accent);
  font-weight: bold;
  font-size: 0.8rem;
}

.trust-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-deep);
  text-align: left;
}

/* Hero Visual Frame */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1;
  background-color: var(--bg-ice);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

/* Glowing Aura behind Hero */
.hero-aura {
  position: absolute;
  width: 130%;
  height: 130%;
  background: radial-gradient(circle, rgba(0, 188, 212, 0.08) 0%, rgba(255,255,255,0) 70%);
  z-index: -1;
  animation: auraPulse 6s ease-in-out infinite alternate;
}

@keyframes auraPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.1); opacity: 1.2; }
}

/* Tech Floating Badge */
.tech-floating-badge {
  position: absolute;
  bottom: 2rem;
  left: -1rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 237, 245, 0.6);
  padding: 1rem 1.25rem;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-md);
  z-index: 10;
  animation: floatingBadge 4s ease-in-out infinite;
}

.tech-badge-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--laser-cyan), var(--primary-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 188, 212, 0.3);
}

.tech-badge-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: #fff;
}

.tech-badge-text h4 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.tech-badge-text p {
  font-size: 0.725rem;
  font-weight: 500;
  color: var(--laser-cyan);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

@media (max-width: 991px) {
  .tech-floating-badge {
    left: 2rem;
  }
}

/* 
  =========================================
  FEATURED TREATMENTS
  =========================================
*/
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

@media (max-width: 991px) {
  .treatments-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .treatments-grid {
    grid-template-columns: 1fr;
  }
}

.treatment-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1.5rem;
  padding: 2.5rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.treatment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-accent), var(--laser-cyan));
  opacity: 0;
  transition: var(--transition-fast);
}

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

.treatment-card:hover::before {
  opacity: 1;
}

.treatment-icon-wrapper {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1.15rem;
  background-color: var(--bg-ice);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
  color: var(--primary-accent);
}

.treatment-card:hover .treatment-icon-wrapper {
  background-color: var(--primary-deep);
  color: #fff;
  transform: scale(1.05);
}

.treatment-icon-wrapper svg {
  width: 1.85rem;
  height: 1.85rem;
}

.treatment-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.treatment-desc {
  font-size: 0.925rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.treatment-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-accent);
}

.treatment-link svg {
  width: 1rem;
  height: 1rem;
  transition: var(--transition-fast);
}

.treatment-card:hover .treatment-link svg {
  transform: translateX(4px);
}

/* 
  =========================================
  MEET DR. BHUVAN
  =========================================
*/
.doctor-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 991px) {
  .doctor-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

.doctor-image-container {
  position: relative;
}

.doctor-image-frame {
  position: relative;
  border-radius: 2.25rem;
  overflow: hidden;
  aspect-ratio: 0.85;
  box-shadow: var(--shadow-lg);
  background-color: var(--bg-ice);
}

.doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  transition: var(--transition-smooth);
}

.doctor-image-frame:hover .doctor-img {
  transform: scale(1.03);
}

/* Floating Qualification Badge */
.doctor-badge {
  position: absolute;
  top: 2rem;
  right: -1rem;
  background: rgba(11, 34, 64, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: 1.25rem;
  color: #fff;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  animation: floatingBadge 4.5s ease-in-out infinite alternate;
}

.doctor-badge h4 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.1rem;
}

.doctor-badge h4 span {
  color: var(--laser-cyan);
}

.doctor-badge p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.doctor-content-wrapper {
  display: flex;
  flex-direction: column;
}

.doctor-tag {
  color: var(--primary-accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.doctor-name {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.doctor-title-sub {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--laser-cyan);
  margin-bottom: 1.75rem;
}

.doctor-bio {
  font-size: 1.025rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Bullet list of qualifications */
.doctor-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 480px) {
  .doctor-specs {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.spec-item {
  display: flex;
  gap: 0.75rem;
}

.spec-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background-color: rgba(30, 96, 165, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-accent);
  flex-shrink: 0;
}

.spec-icon svg {
  width: 0.95rem;
  height: 0.95rem;
}

.spec-text h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

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

/* 
  =========================================
  REAL PATIENT RESULTS (Before & After Slider)
  =========================================
*/
.results-slider-section {
  background-color: var(--bg-ice);
  overflow: hidden;
}

.slider-outer-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.slider-frame {
  position: relative;
  width: 100%;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 472/210;
  user-select: none;
  background-color: #fff;
}

@media (max-width: 600px) {
  .slider-frame {
    aspect-ratio: 472/210;
  }
}

.slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Before layer */
.img-before {
  z-index: 10;
  /* clip-path will be controlled by custom variable */
  clip-path: polygon(0 0, var(--clip-pos) 0, var(--clip-pos) 100%, 0 100%);
}

/* After layer */
.img-after {
  z-index: 5;
}

/* Slider Bar / Drag Handle */
.slider-bar {
  position: absolute;
  top: 0;
  left: var(--clip-pos);
  width: 4px;
  height: 100%;
  background-color: #fff;
  z-index: 20;
  cursor: ew-resize;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 4px 15px rgba(11, 34, 64, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  transition: transform 0.2s ease;
}

.slider-handle::before,
.slider-handle::after {
  content: '';
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.slider-handle::before {
  border-right: 8px solid var(--primary-deep);
  margin-right: 4px;
}

.slider-handle::after {
  border-left: 8px solid var(--primary-deep);
  margin-left: 4px;
}

.slider-bar:hover .slider-handle,
.slider-handle:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

/* Floating labels for Before & After */
.slider-label {
  position: absolute;
  bottom: 1.5rem;
  padding: 0.5rem 1rem;
  background: rgba(11, 34, 64, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 30px;
  z-index: 25;
}

.label-before {
  left: 1.5rem;
}

.label-after {
  right: 1.5rem;
}

/* Slider Controls & Legend */
.slider-legend {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding: 0 0.5rem;
}

.slider-case-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.slider-case-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.slider-instruction {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-accent);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.slider-instruction svg {
  width: 0.95rem;
  height: 0.95rem;
  animation: pulseX 1.5s infinite alternate;
}

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

/* 
  =========================================
  WHY PATIENTS CHOOSE DR. BHUVAN
  =========================================
*/
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 991px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  padding: 2.25rem;
  transition: var(--transition-smooth);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 96, 165, 0.15);
}

.why-icon-box {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background-color: rgba(30, 96, 165, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-accent);
  margin-bottom: 1.5rem;
  transition: var(--transition-fast);
}

.why-card:hover .why-icon-box {
  background-color: var(--primary-accent);
  color: #fff;
}

.why-icon-box svg {
  width: 1.35rem;
  height: 1.35rem;
}

.why-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.why-desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* 
  =========================================
  TESTIMONIALS
  =========================================
*/
.reviews-section {
  background-color: var(--bg-ice);
  overflow: hidden;
}

.reviews-slider {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.reviews-wrapper {
  display: flex;
  gap: 2rem;
  transition: var(--transition-smooth);
  width: 100%;
}

@media (max-width: 768px) {
  .reviews-wrapper {
    flex-direction: column;
  }
}

.review-card {
  flex: 1;
  background-color: #fff;
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition-smooth);
}

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

.review-quote-icon {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  color: rgba(30, 96, 165, 0.05);
}

.review-quote-icon svg {
  width: 4rem;
  height: 4rem;
}

.review-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  color: var(--gold-accent);
}

.review-stars svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.review-text {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--primary-deep);
  font-style: italic;
  margin-bottom: 2rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--bg-ice);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary-deep);
  font-size: 0.95rem;
  border: 2px solid var(--border-subtle);
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.author-info p {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
}

.reviews-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3.5rem;
}

.rev-nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--text-light);
  cursor: pointer;
  transition: var(--transition-fast);
}

.rev-nav-dot.active {
  width: 24px;
  border-radius: 4px;
  background-color: var(--primary-accent);
}

/* 
  =========================================
  CLINIC GALLERY
  =========================================
*/
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 1.5rem;
}

@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
}

.gallery-item {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

/* Grid Spans for Elegant layout */
.gallery-item.span-2-w {
  grid-column: span 2;
}

.gallery-item.span-2-h {
  grid-row: span 2;
}

@media (max-width: 768px) {
  .gallery-item.span-2-w,
  .gallery-item.span-2-h {
    grid-column: span 1;
    grid-row: span 1;
  }
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(11, 34, 64, 0.7) 0%, rgba(11, 34, 64, 0) 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-overlay-text h4 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.gallery-overlay-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  font-weight: 500;
}

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

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

/* 
  =========================================
  FREQUENTLY ASKED QUESTIONS (Accordion)
  =========================================
*/
.faq-container {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1.15rem;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(30, 96, 165, 0.2);
  box-shadow: var(--shadow-sm);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 1.5rem;
}

.faq-question {
  font-size: 1.075rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.faq-icon-indicator {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background-color: var(--bg-ice);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-deep);
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.faq-icon-indicator svg {
  width: 0.95rem;
  height: 0.95rem;
}

/* Active FAQ Item state */
.faq-item.active {
  border-color: var(--primary-accent);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-icon-indicator {
  background-color: var(--primary-deep);
  color: #fff;
  transform: rotate(180deg);
}

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

.faq-answer-inner {
  padding: 0 2rem 1.75rem 2rem;
  font-size: 0.925rem;
  line-height: 1.6;
  color: var(--text-muted);
  border-top: 1px solid transparent;
}

.faq-item.active .faq-answer-inner {
  border-top-color: var(--border-subtle);
}

/* 
  =========================================
  FINAL CALL TO ACTION SECTION
  =========================================
*/
.cta-section {
  padding: 9rem 0;
  background: linear-gradient(135deg, var(--primary-deep) 0%, #061223 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.cta-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(30, 96, 165, 0.12) 0%, rgba(0,0,0,0) 70%);
  z-index: 1;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 5;
  max-width: 750px;
  margin: 0 auto;
}

.cta-title {
  color: #fff;
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .cta-title {
    font-size: 2.25rem;
  }
}

.cta-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.15rem;
  margin-bottom: 3rem;
  line-height: 1.6;
}

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

@media (max-width: 480px) {
  .cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0 1rem;
  }
  .cta-buttons .btn {
    width: 100%;
  }
}

.cta-buttons .btn {
  padding: 0.9rem 2.25rem;
  font-size: 0.95rem;
}

.cta-buttons .btn-primary {
  background-color: var(--primary-accent);
  box-shadow: 0 4px 14px rgba(30, 96, 165, 0.3);
}

.cta-buttons .btn-primary:hover {
  background-color: #2b7dd1;
  box-shadow: 0 6px 20px rgba(30, 96, 165, 0.4);
}

.cta-buttons .btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.cta-buttons .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}

/* 
  =========================================
  FOOTER
  =========================================
*/
.footer {
  background-color: #040d18;
  border-top: 1px solid rgba(229, 237, 245, 0.05);
  padding: 5rem 0 2.5rem 0;
  color: rgba(255, 255, 255, 0.6);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

@media (max-width: 991px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 550px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--primary-accent), var(--laser-cyan));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: #fff;
}

.footer-logo-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.footer-logo-sub {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--laser-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.1rem;
}

.footer-brand-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
}

.social-link:hover {
  background-color: var(--primary-accent);
  color: #fff;
  transform: translateY(-2px);
}

.social-link svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

/* Footer columns */
.footer-col-title {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition-fast);
}

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

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.footer-contact-icon {
  color: var(--laser-cyan);
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
}

.footer-contact-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.footer-contact-text h5 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.8rem;
}

@media (max-width: 550px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

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

/* 
  =========================================
  INTERACTIVE BOOKING MODAL
  =========================================
*/
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  background-color: rgba(4, 13, 24, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  width: 100%;
  max-width: 550px;
  background-color: #fff;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(4, 13, 24, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modal-backdrop.open .modal-window {
  transform: translateY(0) scale(1);
}

.modal-header-banner {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary-accent));
  padding: 2.5rem;
  color: #fff;
  position: relative;
}

.modal-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 500;
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.modal-close-btn svg {
  width: 1rem;
  height: 1rem;
}

.modal-body {
  padding: 2.5rem;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

@media (max-width: 480px) {
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-deep);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  font-family: var(--font-body);
  font-size: 0.925rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 0.75rem;
  background-color: var(--bg-ice);
  color: var(--text-main);
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  background-color: #fff;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(30, 96, 165, 0.15);
}

.booking-submit-btn {
  margin-top: 0.75rem;
  padding: 0.9rem;
  font-size: 0.95rem;
}

/* Success Overlay in Modal */
.modal-success-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}

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

.success-icon-container {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background-color: rgba(37, 211, 102, 0.1);
  color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  animation: scaleUpSuccess 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes scaleUpSuccess {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.success-icon-container svg {
  width: 2.25rem;
  height: 2.25rem;
}

.success-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.success-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* 
  =========================================
  SCROLL ANIMATION UTILITIES (Intersection Observer)
  =========================================
*/
.animate-fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-fade-in.triggered {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers for sequential entry */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
