/* 
   ==========================================================================
   DESIGN SYSTEM & CUSTOM STYLES
   Dr. Alakananda Debnath - ENT Specialist Website
   ========================================================================== 
*/

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

/* --- Root Variables --- */
:root {
  /* Color Palette */
  --primary: #E5446D;          /* Aesthetic Pink 600 */
  --primary-hover: #be185d;    /* Aesthetic Pink 700 */
  --primary-glow: rgba(219, 39, 119, 0.15);
  --secondary: #0ea5e9;        /* Sky 500 */
  --secondary-hover: #0284c7;  /* Sky 600 */
  --secondary-glow: rgba(14, 165, 233, 0.15);
  --accent: #f59e0b;           /* Amber 500 (Star ratings, notifications) */
  
  /* Neutral Palette */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0f172a;
  
  /* Semantics */
  --text-main: var(--slate-700);
  --text-dark: var(--slate-900);
  --text-muted: var(--slate-600);
  --bg-light: var(--slate-50);
  --bg-white: #ffffff;
  --bg-pink-light: #fdf2f8;
  --border: var(--slate-200);
  
  /* Fonts */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Shadow Levels */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.05), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
  --shadow-primary: 0 10px 20px -5px rgba(13, 148, 136, 0.3);
  
  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

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

ul {
  list-style: none;
}

input, select, textarea, button {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* --- Reusable Components & Layout --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.section {
  padding: 6.5rem 0;
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(13, 148, 136, 0.04) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.section-bg-light {
  background-color: var(--bg-light);
  position: relative;
}

.section-bg-light::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(rgba(14, 165, 233, 0.06) 1.5px, transparent 1.5px),
    linear-gradient(to right, rgba(13, 148, 136, 0.01) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13, 148, 136, 0.01) 1px, transparent 1px);
  background-size: 24px 24px, 48px 48px, 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.section-title-wrapper {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4rem auto;
}

.badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background-color: var(--primary-glow);
  color: var(--primary);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

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

/* Button UI */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  font-family: var(--font-headings);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 2px solid transparent;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-white);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -6px rgba(13, 148, 136, 0.4);
}

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

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

.btn-dark {
  background-color: var(--slate-900);
  color: var(--bg-white);
}

.btn-dark:hover {
  background-color: #000;
  transform: translateY(-2px);
}

/* --- Header / Navigation Bar --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
  border-bottom: 1px solid transparent;
  padding: 1.25rem 0;
}

.header.sticky {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
}

.header-logo-img {
  height: auto;
  width: 120px; /* Prominent on desktop */
  max-width: 100%;
  display: block;
  transition: width var(--transition-normal);
}

.footer-logo-img {
  height: auto;
  width: 220px; /* Prominent in footer */
  max-width: 100%;
  display: block;
  margin-bottom: 1.5rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
  padding: 0.5rem 0;
}

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

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

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

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

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--text-dark);
  cursor: pointer;
  z-index: 1001;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: 10rem 0 7rem 0;
  background-color: var(--bg-white);
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800' fill='none' stroke='rgba(13,148,136,0.05)' stroke-width='3.5'%3E%3Cpath d='M-100,600 C300,800 400,200 800,400 S1200,800 1600,600'/%3E%3Cpath d='M-100,550 C320,770 380,220 780,420 S1220,780 1620,580'/%3E%3Cpath d='M-100,500 C340,740 360,240 760,440 S1240,760 1640,560'/%3E%3Cpath d='M-100,450 C360,710 340,260 740,460 S1260,740 1660,540'/%3E%3C/svg%3E"),
    radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.07) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(13, 148, 136, 0.07) 0%, transparent 50%);
  background-size: cover, auto, auto;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(13, 148, 136, 0.05) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

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

.hero-title {
  font-size: 3.25rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

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

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

.hero-actions {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.stat-item h3 {
  font-size: 2.25rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-media {
  position: relative;
}

.hero-image-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  background-color: var(--slate-100);
  border: 6px solid var(--bg-white);
  transition: var(--transition-slow);
}

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

.hero-media-badge {
  position: absolute;
  background-color: var(--bg-white);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
}

.hero-media-badge.badge-1 {
  bottom: 30px;
  left: -20px;
  animation: float 4s ease-in-out infinite;
}

.hero-media-badge.badge-2 {
  top: 40px;
  right: -20px;
  animation: float 4s ease-in-out infinite 2s;
}

.badge-icon {
  width: 45px;
  height: 45px;
  background-color: var(--bg-pink-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
}

.badge-text-title {
  display: block;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
}

.badge-text-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* --- About Section --- */
#about, #clinic, #faq {
  position: relative;
}

#about::before, #clinic::before, #faq::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Cpath d='M18,14 L18,22 M14,18 L22,18' stroke='rgba(13,148,136,0.06)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"),
    radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.04) 0%, transparent 60%),
    radial-gradient(circle at 90% 80%, rgba(13, 148, 136, 0.04) 0%, transparent 60%);
  background-size: 36px 36px, auto, auto;
  pointer-events: none;
  z-index: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 5rem;
  align-items: center;
}

.about-image-card {
  position: relative;
}

.about-frame {
  position: relative;
  z-index: 1;
}

.about-frame::before {
  content: '';
  position: absolute;
  top: 25px;
  left: -25px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary);
  border-radius: var(--radius-xl);
  z-index: -1;
  pointer-events: none;
}

.about-img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  width: 100%;
  height: 520px;
  background-color: var(--slate-100);
}

.about-experience-badge {
  position: absolute;
  bottom: 30px;
  right: -25px;
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  z-index: 10;
}

.about-experience-num {
  display: block;
  font-family: var(--font-headings);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.about-experience-text {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.about-bio {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.about-bio p {
  margin-bottom: 1.25rem;
}

.about-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
}

.checklist-item i {
  color: var(--primary);
  background-color: var(--bg-pink-light);
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* --- Treatments & Services --- */
/* --- Treatments & Services --- */
.treatments-section {
  position: relative;
  background-color: #020617; /* Very Dark Blue */
  overflow: hidden;
  padding: 6.5rem 0;
}

.treatments-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 50% 0%, rgba(229, 68, 109, 0.25) 0%, rgba(2, 6, 23, 0) 55%),
    radial-gradient(circle at 50% 100%, rgba(229, 68, 109, 0.25) 0%, rgba(2, 6, 23, 0) 55%),
    linear-gradient(to bottom, #020617 0%, #0f172a 50%, #020617 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800' fill='none' stroke='rgba(229, 68, 109, 0.035)' stroke-width='2.5'%3E%3Cpath d='M-100,200 C200,400 400,100 800,300 S1200,700 1600,400'/%3E%3Cpath d='M-100,350 C300,550 500,250 900,450 S1300,550 1600,600'/%3E%3Cpath d='M-100,500 C400,200 600,700 1000,350 S1400,750 1600,500'/%3E%3C/svg%3E");
  background-size: cover;
  z-index: 1;
}

.treatments-swirls {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
}

.swirl {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  mix-blend-mode: screen;
}

.swirl-1 {
  top: -10%;
  left: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  animation: swirl-motion-1 25s infinite ease-in-out;
}

.swirl-2 {
  bottom: -15%;
  right: 5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
  animation: swirl-motion-2 30s infinite ease-in-out;
}

.swirl-3 {
  top: 25%;
  right: 25%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #db2777 0%, transparent 70%);
  animation: swirl-motion-3 22s infinite ease-in-out;
}

.swirl-4 {
  bottom: 10%;
  left: 5%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #8b5cf6 0%, transparent 70%); /* Purple swirl */
  animation: swirl-motion-1 28s infinite alternate-reverse ease-in-out;
}

@keyframes swirl-motion-1 {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(120px, -80px) scale(1.25) rotate(120deg);
  }
  100% {
    transform: translate(-60px, 40px) scale(0.9) rotate(360deg);
  }
}

@keyframes swirl-motion-2 {
  0% {
    transform: translate(0, 0) scale(1.1) rotate(0deg);
  }
  50% {
    transform: translate(-140px, 110px) scale(0.8) rotate(-180deg);
  }
  100% {
    transform: translate(90px, -60px) scale(1.3) rotate(-360deg);
  }
}

@keyframes swirl-motion-3 {
  0% {
    transform: translate(0, 0) scale(0.95) rotate(0deg);
  }
  50% {
    transform: translate(80px, 120px) scale(1.2) rotate(90deg);
  }
  100% {
    transform: translate(-110px, -70px) scale(1) rotate(180deg);
  }
}

.treatments-section .container {
  z-index: 3;
}

.treatments-header {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem auto;
}

.treatments-main-title {
  color: #ffffff;
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.treatments-subtitle {
  color: var(--slate-300);
  font-size: 1.15rem;
  line-height: 1.7;
}

/* Category Tabs */
.category-tabs {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.tab-btn {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tab-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.tab-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}

/* Treatments Grid */
.treatments-grid-wrapper {
  position: relative;
  z-index: 2;
}

.treatments-grid {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.treatments-grid.active {
  display: grid;
  opacity: 1;
  transform: translateY(0);
}

/* Card Styling */
.treatment-card {
  background-color: #ffffff;
  padding: 2.25rem 2rem 2rem 2rem;
  border-radius: 16px;
  border-bottom: 4px solid var(--primary); /* Green border bottom */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.treatment-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

/* Card image */
.card-image-wrapper {
  position: relative;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.card-image-wrapper img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.treatment-card-title {
  font-family: var(--font-headings);
  font-size: 1.6rem;
  font-weight: 700;
  color: #0b3c5d; /* Navy/Dark blue matching screenshot */
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

.treatment-card-desc {
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.treatment-readmore {
  align-self: flex-end;
  color: #0b3c5d;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

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

.treatment-readmore:hover {
  color: var(--primary);
}

.treatment-readmore:hover i {
  transform: translateX(6px);
}

/* --- Clinic Info & Three Maps --- */
.clinic-locations-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.clinic-branch-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0; /* Gap set to 0, spacing managed via info padding and map margin */
  align-items: center;
  transition: var(--transition-normal);
}

.clinic-branch-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.branch-info {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  border-right: 2px dotted var(--border);
  padding-right: 3rem;
}

.branch-info h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.branch-meta {
  font-weight: 600;
  color: var(--slate-600);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.branch-address {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.branch-schedule {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
}

.branch-schedule i {
  color: var(--primary);
  margin-right: 0.25rem;
}

.branch-map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 320px;
  background-color: var(--slate-100);
  position: relative;
  margin-left: 3rem;
}

.branch-map {
  width: 100%;
  height: 100%;
  position: relative;
}

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

.info-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 2.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: var(--transition-normal);
}

.info-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.info-icon {
  width: 50px;
  height: 50px;
  background-color: var(--bg-pink-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.info-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.info-content p {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.info-action {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.info-action:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.map-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  background: radial-gradient(circle, #ffffff 30%, #e2e8f0 100%);
  z-index: 100;
}

.map-placeholder-icon {
  font-size: 2.25rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  animation: bounce-small 2s infinite;
}

@keyframes bounce-small {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.map-placeholder-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.map-placeholder-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 280px;
  margin-bottom: 1rem;
}

/* --- Contact & Appointment Form --- */
#contact {
  position: relative;
}

#contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800' fill='none' stroke='rgba(13,148,136,0.05)' stroke-width='3.5'%3E%3Cpath d='M-100,200 C300,400 400,-200 800,200 S1200,600 1600,400'/%3E%3Cpath d='M-100,250 C320,370 380,-180 780,220 S1220,580 1620,380'/%3E%3Cpath d='M-100,300 C340,340 360,-160 760,240 S1240,560 1640,360'/%3E%3Cpath d='M-100,350 C360,310 340,-140 740,260 S1260,540 1660,340'/%3E%3C/svg%3E"),
    radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.04) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(13, 148, 136, 0.04) 0%, transparent 60%);
  background-size: cover, auto, auto;
  pointer-events: none;
  z-index: 0;
}

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

.contact-visual-card {
  background: linear-gradient(135deg, var(--slate-900), #022c22);
  color: var(--bg-white);
  padding: 3rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.contact-visual-card::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(13, 148, 136, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.contact-visual-title {
  color: var(--bg-white);
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.contact-visual-desc {
  color: var(--slate-300);
  margin-bottom: 3rem;
}

.clinic-timing-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.timing-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.75rem;
}

.timing-day {
  font-weight: 600;
  color: var(--bg-white);
}

.timing-hours {
  color: var(--primary);
  font-weight: 700;
}

.timing-note {
  font-size: 0.8rem;
  color: var(--slate-300);
  font-style: italic;
  margin-top: 2rem;
}

.form-wrapper {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 3rem;
}

.form-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

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

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

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

.form-group label {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-dark);
}

.form-control {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  transition: var(--transition-fast);
  background-color: var(--slate-50);
  color: var(--text-dark);
}

.form-control:focus {
  border-color: var(--primary);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

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

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

.form-success-message {
  display: none;
  background-color: var(--bg-pink-light);
  border: 1px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  color: var(--primary-hover);
  margin-top: 1.5rem;
}

.form-success-message i {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  display: block;
}

.form-success-title {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

/* --- FAQ Accordion Section --- */
.faq-max-width {
  max-width: 800px;
  margin: 0 auto;
}

.faq-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background-color: var(--bg-white);
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Cpath d='M18,14 L18,22 M14,18 L22,18' stroke='rgba(13,148,136,0.06)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"),
    radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.03) 0%, transparent 75%),
    radial-gradient(circle at 80% 80%, rgba(13, 148, 136, 0.03) 0%, transparent 75%);
  background-size: 36px 36px, auto, auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-item:hover {
  border-color: var(--primary-glow);
  box-shadow: var(--shadow-md);
}

.faq-item.active {
  background-color: var(--bg-pink-light);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-header {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background-color: transparent;
  transition: var(--transition-fast);
  user-select: none;
}

.faq-item.active .faq-header {
  background-color: transparent;
}

.faq-question {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.faq-icon-box {
  width: 32px;
  height: 32px;
  background-color: var(--slate-100);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 0.85rem;
  transition: var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-icon-box {
  background-color: var(--primary);
  color: var(--bg-white);
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Footer --- */
.footer {
  position: relative;
  background-color: var(--slate-900);
  color: var(--bg-white);
  padding: 5rem 0 2rem 0;
  border-top: 4px solid var(--primary);
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Cpath d='M18,14 L18,22 M14,18 L22,18' stroke='rgba(13,148,136,0.1)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"),
    radial-gradient(circle at 15% 20%, rgba(14, 165, 233, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(13, 148, 136, 0.08) 0%, transparent 50%);
  background-size: 36px 36px, auto, auto;
  pointer-events: none;
  z-index: 0;
}

.footer > .container {
  position: relative;
  z-index: 1;
}

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

.footer-logo-text {
  color: var(--bg-white);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.footer-logo-sub {
  color: var(--primary);
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.footer-desc {
  color: var(--slate-300);
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

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

.social-link {
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-300);
  font-size: 1rem;
}

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

.footer-title {
  color: var(--bg-white);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

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

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

.footer-links a {
  color: var(--slate-300);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

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

.footer-contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.footer-contact-text {
  color: var(--slate-300);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-contact-text a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--slate-300);
}

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

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ==========================================================================
   GALLERY SECTION & LIGHTBOX
   ========================================================================== */
.gallery-section {
  background-color: var(--bg-light);
  position: relative;
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: var(--slate-900);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transform: translateZ(0); /* Fix overflow-radius issue in safari */
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.gallery-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover .gallery-image-wrapper img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.2) 0%,
    rgba(219, 39, 119, 0.4) 50%,
    rgba(15, 23, 42, 0.9) 100%
  );
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 1.75rem;
  transition: opacity var(--transition-normal);
  backdrop-filter: blur(2px);
}

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

.gallery-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 54px;
  height: 54px;
  background-color: var(--bg-white);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.gallery-item:hover .gallery-icon {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.gallery-item-title {
  color: var(--bg-white);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  transform: translateY(15px);
  transition: transform var(--transition-normal) 0.1s;
}

.gallery-item-category {
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transform: translateY(15px);
  transition: transform var(--transition-normal) 0.15s;
}

.gallery-item:hover .gallery-item-title,
.gallery-item:hover .gallery-item-category {
  transform: translateY(0);
}

/* --- Lightbox Modal --- */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.96);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(8px);
}

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

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--bg-white);
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 100000;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--secondary);
  transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 100000;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  backdrop-filter: blur(4px);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.lightbox-prev {
  left: 2.5rem;
}

.lightbox-prev:hover {
  transform: translateY(-50%) translateX(-4px);
}

.lightbox-next {
  right: 2.5rem;
}

.lightbox-next:hover {
  transform: translateY(-50%) translateX(4px);
}

.lightbox-content {
  max-width: 82%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.95);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

.lightbox-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 4px solid rgba(255, 255, 255, 0.05);
}

.lightbox-caption {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--bg-white);
  max-width: 600px;
}

.lightbox-title {
  color: var(--bg-white);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.lightbox-category {
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Responsive Layout adjustments --- */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-media {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-frame {
    max-width: 480px;
    margin: 0 auto;
  }
  
  .clinic-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .map-container {
    min-height: 350px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

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

  .header-logo-img {
    width: 120px;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem 2rem;
    gap: 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-normal);
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu .btn {
    width: 100%;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* --- Patient Testimonials --- */
.testimonials-section {
  background-color: var(--bg-white);
  position: relative;
}

.testimonial-item {
  background-color: var(--slate-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  margin: 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  background-color: var(--bg-white);
}

.testimonial-stars {
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--slate-700);
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-patient {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.patient-avatar {
  font-size: 2.75rem;
  color: var(--primary);
  display: flex;
  align-items: center;
}

.patient-name {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
}

.patient-condition {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  display: block;
  margin-top: 0.1rem;
}

/* Owl Carousel Dots Styling */
.testimonials-carousel .owl-dots {
  margin-top: 2.5rem !important;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.testimonials-carousel .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  background: var(--slate-300) !important;
  transition: var(--transition-normal) !important;
  border-radius: 50%;
  display: block;
}

.testimonials-carousel .owl-dots .owl-dot.active span {
  background: var(--primary) !important;
  width: 25px;
  border-radius: var(--radius-full);
}

/* --- Highlight Banner --- */
.section-highlight-banner {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(229, 68, 109, 0.08) 0%, rgba(14, 165, 233, 0.08) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 10;
}

.highlight-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: var(--bg-white);
  border: 1px solid rgba(229, 68, 109, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem 3.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 950px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
}

.highlight-banner-content:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.highlight-banner-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.highlight-banner-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background-color: var(--primary-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  flex-shrink: 0;
  animation: pulse-glow-banner 2s infinite;
}

.highlight-banner-text {
  font-size:clamp(1.3rem, 1.5rem, 1.8rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  font-family: var(--font-headings);
  text-align: center;
}

@keyframes pulse-glow-banner {
  0% {
    box-shadow: 0 0 0 0 rgba(229, 68, 109, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(229, 68, 109, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(229, 68, 109, 0);
  }
}

@media (max-width: 768px) {
  .section-highlight-banner {
    padding: 3rem 0;
  }
  .highlight-banner-content {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
  }
  .highlight-banner-text {
    font-size: 1.25rem;
    text-align: center;
  }
  .highlight-banner-content::before {
    width: 100%;
    height: 5px;
    top: 0;
    left: 0;
  }
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE DESIGN ADJUSTMENTS
   ========================================================================== */

@media (max-width: 768px) {
  /* General Centering & Padding */
  .section {
    padding: 4.5rem 0;
  }
  
  .section-title-wrapper {
    margin-bottom: 2.5rem;
    text-align: center;
  }
  
  .section-title {
    font-size: 1.85rem !important;
    text-align: center;
  }
  
  .section-subtitle {
    font-size: 1rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 550px;
  }

  /* Gallery Tablet Adjustments */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .lightbox-prev, .lightbox-next {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  .lightbox-prev { left: 1rem; }
  .lightbox-next { right: 1rem; }

  /* Hero Section Responsiveness */
  .hero {
    padding: 8rem 0 4.5rem 0;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.35rem !important;
    line-height: 1.2;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-description {
    font-size: 1.05rem;
    text-align: center;
    margin: 0 auto 2rem auto;
    max-width: 500px;
  }
  
  .hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    width: 100%;
  }
  
  .hero-stats {
    justify-content: center;
    gap: 2.5rem;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Hide floating badges on tablet & mobile to prevent horizontal overflow */
  .hero-media-badge {
    display: none !important;
  }

  .hero-image-wrapper {
    max-width: 440px;
    margin: 0 auto;
  }

  /* About Section Responsiveness */
  .about-grid {
    text-align: center;
  }
  
  .about-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .about-bio {
    text-align: center;
    max-width: 600px;
  }
  
  .about-checklist {
    justify-content: center;
    margin: 0 auto 2rem auto;
    max-width: 450px;
  }
  
  .about-experience-badge {
    right: 15px !important; /* Keep badge inside the card layout */
    bottom: 15px !important;
    padding: 1rem 1.5rem !important;
  }
  
  .about-experience-num {
    font-size: 2rem !important;
  }
  
  .about-experience-text {
    font-size: 0.75rem !important;
  }

  /* Treatments/Services Centering */
  .treatments-header {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .treatments-main-title {
    text-align: center;
  }
  
  .category-tabs {
    justify-content: center;
    gap: 0.75rem;
  }

  /* Clinic Location / Contact */
  .clinic-locations-list {
    gap: 2rem;
  }
  
  .clinic-branch-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
  
  .branch-info {
    border-right: none;
    padding-right: 0;
    border-bottom: 2px dotted var(--border);
    padding-bottom: 2rem;
  }
  
  .branch-map-wrapper {
    margin-left: 0;
  }
  
  .clinic-contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .info-card {
    text-align: left;
  }
}

@media (max-width: 576px) {
  .header-logo-img {
    width: 100px;
  }

  .footer-logo-img {
    width: 170px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Hero Section adjustments for small screens */
  .hero-title {
    font-size: 1.85rem !important;
  }
  
  .hero-description {
    font-size: 0.95rem;
  }
  
  /* Stack buttons vertically to fit small screen width */
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 290px;
    margin-left: auto;
    margin-right: auto;
    gap: 0.75rem;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  /* Stacking statistics */
  .hero-stats {
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
  }
  
  .stat-item {
    text-align: center;
  }

  /* Checklist adjustments */
  .about-checklist {
    grid-template-columns: 1fr;
    max-width: 260px;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
  }

  /* Treatments & category tabs */
  .category-tabs {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 290px;
    margin-left: auto;
    margin-right: auto;
    gap: 0.5rem;
  }
  
  .tab-btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .treatments-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .treatment-card {
    padding: 1.75rem 1.5rem;
  }
  
  .card-image-wrapper img {
    height: 180px;
  }

  /* Gallery Mobile Adjustments */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .lightbox-close {
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
  }
  .lightbox-prev, .lightbox-next {
    display: none !important;
  }
  .lightbox-image {
    max-height: 60vh;
  }
  .lightbox-caption {
    margin-top: 1rem;
    padding: 0 1rem;
  }
  .lightbox-title {
    font-size: 1.25rem;
  }
  .lightbox-category {
    font-size: 0.8rem;
  }

  /* Form wrapper spacing */
  .form-wrapper {
    padding: 2rem 1.5rem;
  }
  
  .form-title {
    font-size: 1.5rem;
    text-align: center;
  }
  
  .form-subtitle {
    text-align: center;
  }

  /* Info cards stacking */
  .clinic-branch-card {
    padding: 1.5rem 1.25rem;
  }
  
  .branch-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-right: none;
    padding-right: 0;
    border-bottom: 2px dotted var(--border);
    padding-bottom: 1.5rem;
  }
  
  .branch-info .info-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .branch-map-wrapper {
    margin-left: 0;
  }

  .info-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.75rem 1.25rem;
  }
  
  .info-icon {
    margin-bottom: 0.5rem;
  }
  
  .info-action {
    justify-content: center;
  }
  
  /* Testimonial slider spacing */
  .testimonial-item {
    padding: 2rem 1.5rem;
    margin: 0.5rem;
  }
  
  .testimonial-text {
    font-size: 0.95rem;
  }

  /* FAQ Accordion headers font spacing */
  .faq-question {
    font-size: 0.95rem;
  }
  .faq-header {
    padding: 1.25rem 1.5rem;
  }
  .faq-content {
    padding: 1.25rem 1.5rem;
    font-size: 0.9rem;
  }
  
  /* Footer details */
  .footer-logo-text, .footer-logo-sub {
    display: block;
    text-align: center;
  }
  .footer-desc {
    text-align: center;
  }
  .footer-socials {
    justify-content: center;
  }
}
