/* ==========================================================================
   Parshwa Implant And Dento-Surgical Care - Master Stylesheet
   Theme: Minimal Luxury Healthcare Aesthetic (Card Brand Identity Edition)
   Primary: #507871 (Lighter Teal) | Mint: #EEF5F3 | Stripes: #FFFFFF / #E5ECE9
   ========================================================================== */

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

/* CSS Variables */
:root {
  /* Teal Green - 2 shades lighter per user request */
  --primary: #286359;
  --primary-dark: #134138;
  --primary-light: #3e5e58;
  --secondary: #FFFFFF;
  --mint: #EEF5F3;
  --mint-light: #F4FAF8;
  --light-grey: #F8F8F8;
  --stripe-grey: #E5ECE9;
  --border-color: #DFE8E5;
  --text-main: #2E2E2E;
  --text-muted: #444d4b;
  --text-light: #8A9694;
  --gold-star: #F59E0B;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(46, 46, 46, 0.04);
  --shadow-md: 0 10px 30px rgba(80, 120, 113, 0.1);
  --shadow-lg: 0 20px 40px rgba(80, 120, 113, 0.15);
  --shadow-hover: 0 25px 50px rgba(80, 120, 113, 0.2);

  --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* Typography Helpers */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 600;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--primary);
  background-color: var(--mint);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

.text-center {
  text-align: center;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 6rem 0;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
  border: 2px solid transparent;
  outline: none;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--secondary);
  box-shadow: 0 10px 25px rgba(80, 120, 113, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(80, 120, 113, 0.4);
  color: var(--secondary);
}

.btn-secondary {
  background-color: var(--mint);
  color: var(--primary);
  border-color: var(--mint);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: #E2EDE9;
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--secondary);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.88rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition-normal);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 0.85rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img-wrapper {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.logo-single-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  letter-spacing: -0.3px;
  white-space: nowrap;
  line-height: 1.2;
}

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

.logo-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.2px;
}

.logo-tagline {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.5px;
}

nav {
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  white-space: nowrap;
}

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

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

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

.mobile-nav-toggle {
  display: none;
  background-color: var(--mint);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 0;
  width: 44px;
  height: 44px;
  min-width: 44px;
  flex-shrink: 0;
  margin-left: auto;
  z-index: 1001;
  transition: var(--transition-fast);
}

.mobile-nav-toggle:hover {
  background-color: var(--mint-light);
  border-color: var(--primary);
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: var(--primary);
  margin: 2.5px auto;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
  border-radius: 2px;
}

/* Hero Section - Featuring Clinic Card Vertical Stripes & Organic Wave Accent */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 8.5rem;
  padding-bottom: 6rem;
  /* Card Vertical Stripes Pattern */
  background: repeating-linear-gradient(90deg,
      #FFFFFF,
      #FFFFFF 36px,
      #EEF4F2 36px,
      #EEF4F2 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Organic Sweeping Wave Banner (Directly inspired by clinic card) */
.hero-card-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-card-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 120px;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: radial-gradient(circle at 75% 25%, rgba(80, 120, 113, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

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

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

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.card-logo-ribbon {
  height: 54px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(40, 99, 89, 0.2));
}

.hero-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--secondary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.stars {
  color: var(--gold-star);
  font-size: 0.95rem;
  display: flex;
  gap: 2px;
}

.rating-score {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
}

.rating-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 0.5rem;
  border-left: 1px solid var(--border-color);
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-title span {
  color: var(--primary);
  font-style: italic;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

/* Hero Stats Banner (Frosted Glass Impact Bar) */
.hero-stats-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(238, 245, 243, 0.95);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(40, 99, 89, 0.18);
  border-radius: 20px;
  padding: 1.25rem 1.75rem;
  margin-top: 2.25rem;
  box-shadow: 0 12px 35px rgba(40, 99, 89, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-stats-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(40, 99, 89, 0.15);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.hero-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-main);
  margin-top: 0.25rem;
}

.hero-stat-divider {
  width: 1px;
  height: 38px;
  background: rgba(40, 99, 89, 0.2);
}

/* Hero Right Visual & Floating Cards */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 460px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(80, 120, 113, 0.18);
  border: 8px solid var(--secondary);
}

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

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 7px 15px;
  border-radius: 30px;
  box-shadow: 0 10px 25px rgba(40, 99, 89, 0.12);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--primary);
  border: 1px solid rgba(40, 99, 89, 0.12);
  animation: float 4s ease-in-out infinite alternate;
  z-index: 5;
}

.floating-card-icon {
  width: 24px;
  height: 24px;
  background-color: var(--mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
}

.fc-1 {
  top: 8%;
  left: -20px;
  animation-delay: 0s;
}

.fc-2 {
  bottom: 22%;
  left: -24px;
  animation-delay: 1s;
}

.fc-3 {
  top: 18%;
  right: -20px;
  animation-delay: 2s;
}

.fc-4 {
  bottom: 8%;
  right: -16px;
  animation-delay: 1.5s;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(-12px);
  }
}

/* Section 2: About Clinic */
.about {
  background-color: var(--secondary);
  position: relative;
  z-index: 2;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.about-image-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.about-image-card:hover img {
  transform: scale(1.03);
}

.view-gallery-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  left: auto;
  width: auto;
  background: rgba(14, 135, 142, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
  z-index: 10;
}

.view-gallery-btn:hover {
  background: var(--primary);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 22px rgba(14, 135, 142, 0.5);
  border-color: #FFFFFF;
}

.view-gallery-btn svg {
  fill: #FFFFFF;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

@keyframes pulseCamera {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.about-experience-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary);
  color: var(--secondary);
  padding: 1.2rem 1.8rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-experience-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.about-experience-text {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.feature-card {
  background-color: var(--light-grey);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid transparent;
  transition: var(--transition-fast);
}

.feature-card:hover {
  background-color: var(--mint-light);
  border-color: var(--border-color);
  transform: translateY(-2px);
}

.feature-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background-color: var(--secondary);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.feature-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Section 3: Our Specialists (Doctors Grid) */
.doctors {
  background-color: var(--light-grey);
}

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

.doctor-card {
  background-color: var(--secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.doctor-image-wrapper {
  position: relative;
  width: 100%;
  height: 290px;
  background-color: var(--mint);
  overflow: hidden;
}

.doctor-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: var(--transition-normal);
}

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

.doctor-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.doctor-qualifications {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.doctor-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}

.doctor-speciality {
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.25rem;
  display: block;
}

.doctor-award-line {
  font-size: 0.85rem;
  font-weight: 700;
  color: #854D0E;
  margin-top: 0.3rem;
  margin-bottom: 0.5rem;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doctor-description {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  flex-grow: 1;
}

.doctor-card .btn {
  width: 100%;
  margin-top: auto;
}

/* Section 4: Specialities Grid */
.specialities {
  background-color: var(--secondary);
}

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

.speciality-card {
  background-color: var(--secondary);
  border: 1px solid var(--border-color);
  padding: 2.2rem 2rem;
  border-radius: var(--radius-lg);
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.speciality-card:hover {
  background-color: var(--mint-light);
  border-color: rgba(80, 120, 113, 0.25);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* Specialities Section & Vibrant Icon Badges */
.speciality-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.speciality-icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 2.2;
  transition: transform 0.3s ease;
}

.speciality-card:hover .speciality-icon {
  transform: scale(1.12) rotate(3deg) translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

/* 9 Unique Vibrant Dual-Tone Color Themes */
.spec-icon-1 {
  background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
  color: #0284C7;
}

.spec-icon-2 {
  background: linear-gradient(135deg, #FFEDD5 0%, #FED7AA 100%);
  color: #EA580C;
}

.spec-icon-3 {
  background: linear-gradient(135deg, #E6F4F1 0%, #C3E5DE 100%);
  color: #286359;
}

.spec-icon-4 {
  background: linear-gradient(135deg, #FFE4E6 0%, #FECDD3 100%);
  color: #E11D48;
}

.spec-icon-5 {
  background: linear-gradient(135deg, #E0E7FF 0%, #C7D2FE 100%);
  color: #4F46E5;
}

.spec-icon-6 {
  background: linear-gradient(135deg, #FEF9C3 0%, #FEF08A 100%);
  color: #D97706;
}

.spec-icon-7 {
  background: linear-gradient(135deg, #CCFBF1 0%, #99F6E4 100%);
  color: #0D9488;
}

.spec-icon-8 {
  background: linear-gradient(135deg, #F3E8FF 0%, #E9D5FF 100%);
  color: #9333EA;
}

.spec-icon-9 {
  background: linear-gradient(135deg, #FCE7F3 0%, #FBCFE8 100%);
  color: #DB2777;
}

.speciality-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.speciality-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.speciality-link {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.speciality-link:hover {
  gap: 0.6rem;
  color: var(--primary-dark);
}

/* Section 5: Why Choose Us */
.why-us {
  background-color: var(--light-grey);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-card {
  background-color: var(--secondary);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition-fast);
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.why-number {
  width: 48px;
  height: 48px;
  background-color: var(--mint);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 1.25rem auto;
}

.why-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

/* Section 6: Testimonials Slider */
.testimonials {
  background-color: var(--secondary);
  overflow: hidden;
}

.testimonials-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0;
  box-sizing: border-box;
}

.testimonial-card {
  background-color: var(--secondary);
  border: 1px solid var(--border-color);
  padding: 1.25rem 1.1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
}

.quote-icon {
  font-size: 1.8rem;
  color: var(--primary);
  opacity: 0.2;
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: -0.4rem;
}

.testimonial-stars {
  color: var(--gold-star);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.testimonial-author {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.testimonial-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--secondary);
  border: 1px solid var(--border-color);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.testimonial-btn:hover {
  background-color: var(--primary);
  color: var(--secondary);
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active {
  background-color: var(--primary);
  width: 24px;
  border-radius: 10px;
}

/* Section 7: Appointment Section */
.appointment {
  background: linear-gradient(135deg, var(--mint) 0%, #E6F0ED 100%);
}

.appointment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.appointment-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.appointment-info p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.appointment-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ah-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.ah-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.appointment-form-card {
  background-color: var(--secondary);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--light-grey);
  transition: var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  background-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(80, 120, 113, 0.12);
}

select.form-control {
  cursor: pointer;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Section 8: Google Map & Location */
.location {
  background-color: var(--secondary);
}

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

.location-card {
  background-color: var(--mint-light);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.location-item:last-child {
  margin-bottom: 0;
}

.location-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background-color: var(--primary);
  color: var(--secondary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.location-item-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.location-item-text {
  font-size: 0.98rem;
  color: var(--text-main);
  line-height: 1.5;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  height: 420px;
}

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

/* Footer */
.footer {
  background-color: #1F2E2B;
  color: #D3DDD9;
  padding-top: 5rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo {
  color: var(--secondary);
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: #A3B5B0;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

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

.footer-link {
  font-size: 0.9rem;
  color: #A3B5B0;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: #A3B5B0;
  margin-bottom: 0.85rem;
}

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

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background-color: var(--secondary);
  padding: 3rem 2.5rem;
  border-radius: 24px;
  max-width: 460px;
  width: 90%;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  transform: scale(0.8);
  transition: var(--transition-normal);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-success-icon {
  width: 70px;
  height: 70px;
  background-color: var(--mint);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 1.5rem auto;
}

.modal-title {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.modal-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Doctor Detail Dedicated Page Styles */
.doctor-hero {
  padding-top: 9rem;
  padding-bottom: 4rem;
  background: repeating-linear-gradient(90deg,
      #FFFFFF,
      #FFFFFF 36px,
      #EEF4F2 36px,
      #EEF4F2 72px);
}

.doctor-achievement-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: #854D0E;
  margin-top: 0.6rem;
  margin-bottom: 1.25rem;
}

.doctor-profile-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.doctor-profile-sidebar {
  position: sticky;
  top: 6rem;
}

.doctor-portrait-card {
  background-color: var(--secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.doctor-portrait-card img {
  width: 100%;
  height: auto;
  display: block;
}

.doctor-quick-meta {
  padding: 1.5rem;
  background-color: var(--secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.meta-item:last-child {
  margin-bottom: 0;
}

.meta-icon {
  width: 32px;
  height: 32px;
  background-color: var(--mint);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.doctor-main-content h1 {
  font-size: 2.8rem;
  margin-bottom: 0.25rem;
}

.doctor-credentials {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.doctor-role {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.profile-section {
  margin-bottom: 2.5rem;
}

.profile-section-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.profile-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
}

.expertise-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.expertise-item {
  background-color: var(--mint-light);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--primary-dark);
}

/* Animations Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Responsive Layout Breakpoints & Tablet Optimization */
@media (max-width: 1200px) {
  .nav-links {
    gap: 0.85rem;
  }
  .nav-link {
    font-size: 0.85rem;
  }
  .logo-single-heading {
    font-size: 0.98rem;
  }
}

@media (max-width: 1024px) {
  .logo-single-heading {
    font-size: clamp(0.72rem, 2.5vw, 0.92rem);
    line-height: 1.25;
    max-width: calc(100vw - 120px);
    white-space: normal;
  }

  .logo-container {
    gap: 0.6rem;
  }

  .logo-img-wrapper {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    align-items: flex-start;
    padding: 5.5rem 2rem 2rem 2rem;
    transition: var(--transition-normal);
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1001;
  }

  .mobile-nav-toggle.open .hamburger-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

  .mobile-nav-toggle.open .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .mobile-nav-toggle.open .hamburger-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  .hero-grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 2.5rem;
  }

  .about-grid,
  .appointment-grid,
  .location-grid,
  .doctor-profile-grid,
  .faq-reviews-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .doctors-grid,
  .specialities-grid,
  .why-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .doctor-profile-sidebar {
    position: static;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 6.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-image-wrapper {
    max-width: 100%;
    border-width: 5px;
    border-radius: 20px;
  }

  .hero-image-wrapper img {
    height: 380px;
  }

  .floating-card {
    display: flex;
    position: absolute;
    font-size: 0.72rem;
    padding: 5px 10px;
    border-radius: 20px;
    gap: 0.35rem;
  }

  .floating-card-icon {
    width: 18px;
    height: 18px;
    font-size: 0.6rem;
  }

  .fc-1 { top: 4%; left: -6px; }
  .fc-2 { bottom: 16%; left: -8px; }
  .fc-3 { top: 8%; right: -6px; }
  .fc-4 { bottom: 4%; right: -6px; }

  .hero-stats-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 16px;
  }

  .hero-stat-item {
    align-items: center;
    text-align: center;
  }

  .hero-stat-divider {
    width: 100%;
    height: 1px;
  }

  .doctors-grid,
  .specialities-grid,
  .why-grid,
  .about-features-grid,
  .form-row,
  .expertise-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .doctor-card {
    border-radius: 20px;
  }

  .doctor-image-wrapper {
    height: 340px;
  }

  .doctor-main-content h1 {
    font-size: 2.1rem;
  }

  .doctor-profile-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .doctor-portrait-card img {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
  }

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

  section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

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

  .hero-image-wrapper img {
    height: 320px;
  }

  .doctor-image-wrapper {
    height: 300px;
  }

  .speciality-card {
    padding: 1.25rem 1rem;
  }

  .speciality-icon {
    width: 54px;
    height: 54px;
  }

  .doctor-award-line {
    white-space: normal;
    word-break: break-word;
  }

  .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* FAQs & Google Reviews Stacked Mobile Responsive Adjustments */
  .faq-reviews-stacked {
    gap: 2.5rem;
  }

  .faq-section-heading,
  .reviews-section-heading {
    font-size: 1.35rem;
  }

  .faq-question {
    padding: 0.8rem 1rem;
    font-size: 0.89rem;
  }

  .faq-answer {
    font-size: 0.85rem;
  }

  .faq-toggle-btn {
    display: flex; /* Show toggle button on mobile devices */
  }

  /* Collapsible extra FAQs on mobile to avoid long scroll */
  .faq-container:not(.expanded) .faq-item-extra {
    display: none;
  }

  .reviews-section-block {
    padding: 1.5rem 1.2rem;
    border-radius: var(--radius-md);
  }

  .reviews-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
  }

  .reviews-badge-large {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  .testimonial-card {
    padding: 1.35rem 1rem;
  }

  .testimonial-quote {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  .testimonial-controls {
    margin-top: 1.1rem;
    gap: 1rem;
  }

  .testimonial-btn {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .reviews-section-block {
    padding: 1.25rem 0.85rem;
  }

  .testimonial-card {
    padding: 1.25rem 0.85rem;
  }
}

/* ==========================================================================
   FAQs & Stacked Google Reviews 2x2 Grid Layout
   ========================================================================== */
.faq-reviews-stacked {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.faq-section-block {
  width: 100%;
}

.faq-header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 0.5rem;
}

.faq-section-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-main);
  font-weight: 700;
  margin: 0;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.faq-item {
  background-color: var(--secondary);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.faq-item.active,
.faq-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(40, 99, 89, 0.08);
}

.faq-question {
  padding: 0.9rem 1.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  user-select: none;
  background-color: var(--secondary);
  line-height: 1.4;
}

.faq-icon-toggle {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background-color: var(--mint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

.faq-item.active .faq-icon-toggle {
  transform: rotate(45deg);
  background-color: var(--primary);
  color: var(--secondary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 1.2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.2rem 1rem 1.2rem;
}

.faq-toggle-btn {
  display: none; /* Shown on mobile screens to keep layout compact */
  margin-top: 0.85rem;
  padding: 0.75rem 1.25rem;
  background-color: var(--mint-light);
  border: 1.5px dashed var(--primary);
  color: var(--primary-dark);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.faq-toggle-btn:hover {
  background-color: var(--mint);
  border-style: solid;
}

/* Patient Reviews Section Container */
.reviews-section-block {
  width: 100%;
  max-width: 100%;
  background-color: var(--mint-light);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}

.reviews-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.reviews-section-heading {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  color: var(--text-main);
  font-weight: 700;
  margin: 0;
}

.reviews-badge-large {
  background-color: var(--secondary);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-dark);
  border: 1.5px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.testimonials-wrapper {
  width: 100%;
  box-sizing: border-box;
}

.testimonial-card {
  background-color: var(--secondary);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  box-sizing: border-box;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.quote-icon {
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.2;
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: -0.4rem;
}

.testimonial-stars {
  color: var(--gold-star);
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
  letter-spacing: 1px;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 1.1rem;
  line-height: 1.6;
}

.testimonial-author {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
}

/* On Desktop / Laptop Screens: 2x2 Squared Grid Layout (No wasted side space!) */
@media (min-width: 769px) {
  .testimonials-wrapper {
    overflow: visible;
  }

  .testimonial-track {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
    transform: none !important;
    width: 100% !important;
  }

  .testimonial-slide {
    min-width: 0 !important;
    width: 100% !important;
  }

  .testimonial-card {
    height: 100%;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .testimonial-controls {
    display: none !important; /* All 4 cards visible in 2x2 grid on Laptop */
  }
}

/* On Mobile Screens (<= 768px): Single-Card Slider with Nav Buttons & Touch Swipe */
@media (max-width: 768px) {
  .testimonials-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
  }

  .testimonial-track {
    display: flex !important;
    flex-direction: row !important;
    transition: transform 0.45s ease-in-out;
    width: 100% !important;
  }

  .testimonial-slide {
    min-width: 100% !important;
    width: 100% !important;
    flex-shrink: 0;
  }

  .testimonial-card {
    padding: 1.35rem 1rem;
  }

  .testimonial-controls {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
    margin-top: 1.25rem;
  }

  .testimonial-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--secondary);
    border: 1px solid var(--border-color);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    font-size: 0.95rem;
  }

  .testimonial-btn:hover {
    background-color: var(--primary);
    color: var(--secondary);
  }

  .testimonial-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
  }

  .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition-fast);
  }

  .dot.active {
    background-color: var(--primary);
    width: 24px;
    border-radius: 10px;
  }
}

/* ==========================================================================
   Floating Constant WhatsApp CTA Button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #25D366;
  color: #FFFFFF;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: var(--transition-fast);
  animation: whatsappPulse 2.5s infinite;
}

.whatsapp-float:hover {
  background-color: #20BA5A;
  color: #FFFFFF;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #FFFFFF;
  flex-shrink: 0;
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.designer-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

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

/* ==========================================================================
   Dedicated Gallery Page Styles
   ========================================================================== */
.gallery-hero {
  padding: 150px 0 60px 0;
  background: linear-gradient(135deg, var(--mint-light) 0%, #FFFFFF 100%);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.gallery-filter-btn {
  background-color: var(--secondary);
  border: 1.5px solid var(--border-color);
  color: var(--text-main);
  padding: 9px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.gallery-filter-btn.active,
.gallery-filter-btn:hover {
  background-color: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
  box-shadow: 0 6px 18px rgba(40, 99, 89, 0.2);
}

.gallery-grid-section {
  padding: 50px 0 90px 0;
  background-color: var(--secondary);
}

.clinic-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.25rem;
}

.gallery-item-card {
  background-color: var(--secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
}

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

.gallery-card-img-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background-color: var(--mint-light);
}

.gallery-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item-card:hover .gallery-card-img-wrapper img {
  transform: scale(1.06);
}

.gallery-card-category {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(14, 135, 142, 0.92);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.gallery-card-body {
  padding: 1.35rem 1.5rem 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gallery-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.55rem;
  line-height: 1.3;
}

.gallery-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Minimalist Lightbox (Frameless & Clean)
   ========================================================================== */
.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100000;
  background-color: rgba(5, 14, 13, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1.5rem;
}

.gallery-modal.active {
  opacity: 1;
  visibility: visible;
}

.gallery-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.gallery-close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
  line-height: 1;
}

.gallery-close-btn:hover {
  opacity: 1;
  transform: scale(1.15);
}

.gallery-main-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 88vh;
  position: relative;
  z-index: 2;
}

.gallery-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gallery-image-container img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease;
}

.gallery-modal-title {
  margin-top: 1.2rem;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.2px;
  opacity: 0.95;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 5;
  backdrop-filter: blur(4px);
}

.gallery-nav-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.gallery-prev-btn {
  left: 20px;
}

.gallery-next-btn {
  right: 20px;
}

@media (max-width: 768px) {
  .gallery-prev-btn { left: 10px; width: 40px; height: 40px; font-size: 1rem; }
  .gallery-next-btn { right: 10px; width: 40px; height: 40px; font-size: 1rem; }
  .gallery-modal-title { font-size: 1rem; }
}