/* ============================================
   Noble Homoeopathy Clinic — Premium Design System
   Modern CSS with Variables, Grid, Flexbox,
   Glassmorphism, Animations & Responsive Design
   ============================================ */

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

/* ── Design Tokens ── */
:root {
  /* Primary Palette */
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --primary-light: #38bdf8;

  /* Accent */
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --accent-dark: #d97706;

  /* Neutrals */
  --navy: #0a1628;
  --navy-light: #132040;
  --navy-muted: #1e3054;
  --slate: #64748b;
  --slate-light: #94a3b8;
  --light: #f1f5f9;
  --lighter: #f8fafc;
  --white: #ffffff;
  --dark-text: #0f172a;
  --body-text: #334155;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-bg-light: rgba(255, 255, 255, 0.85);
  --glass-border-light: rgba(255, 255, 255, 0.5);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0a1628 0%, #0c2d5a 40%, #0e4a8a 70%, #0ea5e9 100%);
  --gradient-accent: linear-gradient(135deg, #f59e0b, #fbbf24);
  --gradient-card: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(245, 158, 11, 0.05));
  --gradient-dark-section: linear-gradient(180deg, #0a1628, #132040);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 30px rgba(14, 165, 233, 0.3);

  /* Spacing */
  --section-py: 100px;
  --container-max: 1200px;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-text);
  background: var(--lighter);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-text);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease);
}

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

ul,
ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ── Skip to Content (Accessibility) ── */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--navy);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  z-index: 10001;
  transition: top 0.3s;
}

.skip-to-content:focus {
  top: 10px;
}

/* ── Container ── */
.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* ── Splash Screen ── */
#splash-screen {
  position: fixed;
  inset: 0;
  background: var(--gradient-hero);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}

#splash-screen.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  text-align: center;
  color: var(--white);
}

.splash-content .splash-logo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.1);
  border: 3px solid var(--accent);
  padding: 8px;
  margin: 0 auto 20px;
  display: block;
  animation: pulse-glow 2s ease-in-out infinite;
}

.splash-content h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
  animation: fade-in-up 1s ease forwards;
}

.splash-tagline {
  font-size: clamp(1rem, 3vw, 1.4rem);
  color: var(--accent);
  font-weight: 600;
  opacity: 0;
  animation: fade-in-up 1s ease forwards 0.5s;
}

.splash-words {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 25px;
}

.splash-words span {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 700;
  color: var(--accent-light);
  opacity: 0;
  animation: fade-in-up 0.8s ease forwards;
}

.splash-words span:nth-child(1) {
  animation-delay: 0.8s;
}

.splash-words span:nth-child(2) {
  animation-delay: 1.1s;
}

.splash-words span:nth-child(3) {
  animation-delay: 1.4s;
}

.splash-loader {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 30px auto 0;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-link img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  transition: transform 0.3s var(--ease);
}

.logo-link:hover img {
  transform: scale(1.1);
}

.logo-text h1 {
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1.2;
  font-weight: 800;
}

.logo-text p {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Nav Right Container */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease);
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(14, 165, 233, 0.15);
}

.nav-links a.active {
  background: rgba(14, 165, 233, 0.25);
}



/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1010;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero Section ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: url('images/hero-bg.png') center/cover no-repeat;
  opacity: 0.15;
  mix-blend-mode: luminosity;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(14, 165, 233, 0.4);
  border-radius: 50%;
  animation: float-up linear infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  margin-bottom: 28px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
  animation: fade-in-up 0.8s ease forwards;
}

.hero-badge i {
  color: var(--accent);
}

#hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  animation: fade-in-up 0.8s ease forwards 0.2s;
  opacity: 0;
}

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

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
  line-height: 1.6;
  animation: fade-in-up 0.8s ease forwards 0.4s;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fade-in-up 0.8s ease forwards 0.6s;
  opacity: 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

.btn-blue {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
}

.btn-blue:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.4);
}

/* ── Section Styles ── */
.section {
  padding: var(--section-py) 0;
}

.section-dark {
  background: var(--gradient-dark-section);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.7);
}

.section-light {
  background: var(--white);
}

.section-alt {
  background: var(--light);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  max-width: 650px;
  margin: 20px auto 0;
  color: var(--slate);
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.65);
}

/* ── Overview Cards ── */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.overview-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.overview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

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

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

.overview-card .icon-wrapper {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(14, 165, 233, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  color: var(--primary);
  transition: all 0.4s var(--ease);
}

.overview-card:hover .icon-wrapper {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.overview-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.overview-card p {
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.6;
}

/* ── About Section ── */
.about-content {
  max-width: 850px;
  margin: 0 auto;
}

.about-content>p {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.8;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.about-card {
  padding: 28px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
  transition: all 0.3s var(--ease);
}

.section-light .about-card {
  background: var(--light);
}

.section-dark .about-card {
  background: rgba(255, 255, 255, 0.05);
  border-left-color: var(--accent);
}

.about-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.about-card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--primary-dark);
}

.section-dark .about-card strong {
  color: var(--accent);
}

.about-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── Treatments ── */
.treatments-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.treatment-category h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.treatment-category h3 i {
  color: var(--accent);
}

.treatment-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.treatment-item {
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--primary-light);
  transition: all 0.3s var(--ease);
}

.treatment-item:hover {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.1);
  border-left-color: var(--accent);
}

.treatment-item strong {
  display: block;
  color: var(--accent);
  margin-bottom: 4px;
  font-size: 1rem;
}

.treatment-item p {
  font-size: 0.9rem;
  margin: 0;
}

/* ── Why Us ── */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}

.why-us-card {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s var(--ease);
}

.why-us-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-us-card .card-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(245, 158, 11, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
}

.why-us-card h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.why-us-card p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.6;
}

/* ── Doctor Section ── */
.doctor-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.doctor-img-wrapper {
  position: relative;
  margin-bottom: 30px;
}

.doctor-img-wrapper img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.25);
  transition: transform 0.4s var(--ease);
}

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

.doctor-img-wrapper::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed rgba(14, 165, 233, 0.3);
  animation: spin 20s linear infinite;
}

.doctor-profile h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.doctor-profile .credentials {
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 20px;
}

.doctor-profile p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--slate);
  max-width: 600px;
}

/* ── Reviews ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}

.review-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 30px;
  border-left: 4px solid var(--accent);
  transition: all 0.3s var(--ease);
  position: relative;
}

.review-card::before {
  content: '\201C';
  font-size: 4rem;
  color: rgba(245, 158, 11, 0.2);
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: Georgia, serif;
  line-height: 1;
}

.review-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
}

.review-card .review-text {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.review-card .review-author {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.9rem;
  text-align: right;
}

.review-stars {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.9rem;
}

.google-reviews-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.google-reviews-box h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.google-reviews-box iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: var(--radius-md);
}

.google-reviews-box .review-link {
  margin-top: 20px;
  display: inline-block;
}

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease);
  aspect-ratio: 16/10;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.8), transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

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

.gallery-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ── Lightbox ── */
.lightbox-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  background: rgba(10, 22, 40, 0.95);
  border: none;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.lightbox-dialog.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-dialog img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s var(--ease);
}

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

.lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 24px;
  border-radius: var(--radius-full);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s var(--ease);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* ── Contact ── */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item .contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(14, 165, 233, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
}

.contact-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  font-size: 0.95rem;
  color: var(--slate);
}

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

.contact-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 350px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: none;
}

/* ── Footer ── */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

footer a {
  color: var(--accent);
}

footer a:hover {
  color: var(--accent-light);
}

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s var(--ease);
  animation: pulse-green 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
  color: var(--white);
}

/* ── Scroll Animations ── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 {
  transition-delay: 0.1s;
}

.animate-on-scroll.delay-2 {
  transition-delay: 0.2s;
}

.animate-on-scroll.delay-3 {
  transition-delay: 0.3s;
}

.animate-on-scroll.delay-4 {
  transition-delay: 0.4s;
}

/* ── Keyframes ── */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.3);
  }

  50% {
    box-shadow: 0 0 0 15px rgba(245, 158, 11, 0);
  }
}

@keyframes pulse-green {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 12px rgba(37, 211, 102, 0.1);
  }
}

@keyframes float-up {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}



/* ── Mobile Responsive ── */
@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }

  .nav-right {
    gap: 8px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    padding: 100px 30px 30px;
    transition: right 0.4s var(--ease);
    z-index: 1005;
    overflow-y: auto;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    gap: 4px;
    width: 100%;
  }

  .nav-links a {
    font-size: 1.05rem;
    padding: 14px 18px;
    width: 100%;
    display: block;
    border-radius: var(--radius-sm);
  }


  .treatments-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 70px;
  }

  #hero {
    min-height: 100svh;
    padding: 100px 20px 60px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.9rem;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .doctor-img-wrapper img {
    width: 160px;
    height: 160px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0 12px;
    height: 64px;
  }

  .logo-text h1 {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
  }

  .logo-text p {
    font-size: 0.55rem;
    letter-spacing: 1px;
  }

  .logo-link img {
    width: 34px;
    height: 34px;
  }

  .logo-link {
    gap: 8px;
  }


  .hamburger span {
    width: 22px;
  }
}

/* ── Feedback Form ── */
.feedback-section {
    padding-top: 140px;
    min-height: 100vh;
}

.feedback-container {
    max-width: 800px;
}

.feedback-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(0,0,0,0.05);
}

.feedback-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .feedback-form .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--navy);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--slate-light);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s var(--ease);
    background: var(--lighter);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
    background: var(--white);
}

.rating-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.rating-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    background: var(--light);
    padding: 10px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--slate-light);
    transition: all 0.2s;
    font-weight: 500 !important;
}

.rating-label:has(input:checked) {
    background: var(--primary-light);
    color: var(--navy);
    border-color: var(--primary);
}

.rating-label input {
    display: none;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400 !important;
    font-size: 0.95rem;
    cursor: pointer;
}

.checkbox-label input {
    margin-top: 4px;
}

.submit-btn {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

/* ── Welcome Modal (Google Business Style) ── */
.welcome-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10005;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

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

.welcome-modal-card {
    background: var(--white);
    width: 90%;
    max-width: 420px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s var(--ease-bounce);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.welcome-modal-header {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 30px 24px 20px;
    text-align: center;
    position: relative;
}

.welcome-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease-bounce);
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.welcome-close-btn:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.welcome-modal-header img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-md);
    margin: 0 auto 12px;
    background: var(--white);
    object-fit: contain;
    padding: 2px;
}

.welcome-modal-header h2 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-weight: 800;
}

.welcome-modal-header .rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--accent-light);
}

.welcome-modal-body {
    padding: 24px;
}

.welcome-info-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: var(--body-text);
}

.welcome-info-row i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 2px;
    width: 20px;
    text-align: center;
}

.welcome-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 25px;
}

.welcome-actions .btn {
    padding: 10px;
    font-size: 0.9rem;
    justify-content: center;
    width: 100%;
}