/* ============================================================
   Samarth Neuro & Superspeciality Hospital - Main Stylesheet
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap");

/* === CSS Variables === */
/* Brand Palette extracted from Samarth Hospital Logo:
   Primary Green  : #2ab04d  (logo cross, subtitle)
   Accent Orange  : #f47b20  (SAMARTH wordmark, figure)
   Teal Secondary : #1a9e8f  (doctor photo BG, highlights)
*/
:root {
  --primary: #2ab04d;
  --primary-dark: #1d8a3a;
  --primary-light: #3dcf60;
  --accent: #f47b20;
  --accent-light: #f99a50;
  --teal: #1a9e8f;
  --teal-light: #22c4b2;
  --gold: #f47b20;
  --success: #2ab04d;
  --danger: #e74c3c;
  --white: #ffffff;
  --bg-base: #0a0f18;
  --bg-surface: rgba(255, 255, 255, 0.03);
  --bg-surface-hover: rgba(255, 255, 255, 0.06);
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --border-color: rgba(244, 123, 32, 0.15);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset & Base === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: "Inter", sans-serif;
  color: var(--text-main);
  background: var(--bg-base);
  overflow-x: hidden;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
button {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* === Typography === */
h1,
h2,
h3,
h4 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.5px;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -1.5px;
}
h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  letter-spacing: -1px;
}
h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}
h4 {
  font-size: 1.1rem;
}
p {
  line-height: 1.75;
  color: var(--text-muted);
}

/* === Utility Classes === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-padding {
  padding: 90px 0;
}
.text-center {
  text-align: center;
}
.text-white {
  color: var(--white) !important;
}
.text-primary {
  color: var(--primary);
}
.text-accent {
  color: var(--accent);
}
.text-gold {
  color: var(--gold);
}
.flex {
  display: flex;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.grid {
  display: grid;
}

.section-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
}
.section-title {
  margin-bottom: 16px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 50px;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff, #a1a1aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(42, 176, 77, 0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(42, 176, 77, 0.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(244, 123, 32, 0.35);
}
.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(244, 123, 32, 0.45);
}

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  text-align: center;
  padding: 10px 24px;
  font-size: 0.85rem;
  position: relative;
  z-index: 1001;
}
.announcement-bar span {
  font-weight: 600;
  color: var(--gold);
}
.announcement-bar a {
  color: var(--accent-light);
  text-decoration: underline;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(42, 176, 77, 0.3);
  flex-shrink: 0;
}
.logo-icon svg {
  width: 28px;
  height: 28px;
  fill: white;
}
.logo-text .hospital-name {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.logo-text .hospital-tagline {
  font-size: 0.7rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(42, 176, 77, 0.1);
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.emergency-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 16px rgba(231, 76, 60, 0.4);
  animation: pulse-red 2s infinite;
}
@keyframes pulse-red {
  0%,
  100% {
    box-shadow: 0 4px 16px rgba(231, 76, 60, 0.4);
  }
  50% {
    box-shadow: 0 4px 24px rgba(231, 76, 60, 0.7);
  }
}
.appointment-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(42, 176, 77, 0.3);
  transition: var(--transition);
}
.appointment-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42, 176, 77, 0.4);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO SECTION - PROFESSIONAL
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 40px; /* Offset for navbar */
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(12, 38, 24, 0.96) 0%,
    rgba(22, 76, 46, 0.92) 45%,
    rgba(42, 176, 77, 0.35) 100%
  );
  z-index: 1;
}
.hero-particles {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: center;
  width: 100%;
}
.hero-text {
  color: var(--white);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.15;
  color: #fff;
}
.hero-title .highlight {
  color: var(--accent-light);
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 540px;
  line-height: 1.6;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.hero-actions .btn {
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 6px;
  font-size: 0.95rem;
}
.hero-actions .btn-primary {
  background: var(--accent);
  box-shadow: 0 4px 15px rgba(244, 123, 32, 0.3);
}
.hero-actions .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(244, 123, 32, 0.5);
}
.hero-actions .btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
  background: transparent;
}
.hero-actions .btn-outline:hover {
  background: white;
  color: var(--primary);
  border-color: white;
}

.hero-stats {
  display: flex;
  gap: 36px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 36px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.stat-item {
  text-align: left;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}
.stat-number {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
}
.hero-card-main {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  border: 6px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 500px;
}
.hero-card-main img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.hero-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  padding: 60px 32px 32px;
  color: white;
}
.hero-card-overlay h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  font-weight: 600;
  font-family: "Playfair Display", serif;
}
.hero-card-overlay p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}
.floating-info-card {
  position: absolute;
  bottom: -24px;
  left: -40px;
  background: var(--bg-surface);
  border-radius: 8px;
  padding: 18px 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 240px;
  border-left: 4px solid var(--primary);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.floating-info-card i {
  font-size: 2.2rem;
  color: var(--primary);
}
.floating-info-card .info h4 {
  font-size: 1rem;
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 2px;
}
.floating-info-card .info p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 0;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to top, #f8f9fa, transparent);
  z-index: 2;
  pointer-events: none;
}

/* ============================================================
   STATS BANNER
   ============================================================ */
.stats-banner {
  background: var(--bg-base);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.stats-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}
.stat-card {
  text-align: center;
  color: white;
}
.stat-card .number {
  font-family: "Inter", sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #ffffff, #a1a1aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.stat-card .label {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  color: #a1a1aa;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-top: 8px;
}
.stat-card .divider {
  display: none;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  background: var(--bg-surface);
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-images {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.about-img-secondary {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid white;
}
.about-img-secondary img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.experience-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 110px;
  height: 110px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.experience-badge .years {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.experience-badge .text {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content {
}
.about-text {
  margin-bottom: 32px;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-surface);
  padding: 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: linear-gradient(
    135deg,
    rgba(42, 176, 77, 0.12),
    rgba(244, 123, 32, 0.1)
  );
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.feature-text h4 {
  font-size: 0.88rem;
  font-family: "Inter", serif;
  color: var(--text-main);
  margin-bottom: 2px;
}
.feature-text p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 0;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
  background: var(--bg-base);
}

.marquee-container {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 5%,
    black 95%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    black 5%,
    black 95%,
    transparent
  );
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.marquee-grid {
  --marquee-gap: 28px;
  display: flex !important;
  width: max-content;
  animation: marquee-scroll 80s linear infinite;
  gap: var(--marquee-gap);
}
.marquee-grid:hover,
.marquee-grid:active {
  animation-play-state: paused;
}
.marquee-grid > * {
  width: 350px;
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - (var(--marquee-gap) / 2)));
  }
}
.service-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 0;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-title {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text-main);
  font-weight: 700;
}
.card-text {
  font-size: 0.88rem;
  color: var(--text-medium);
  margin-bottom: 24px;
  flex: 1;
}
.card-body .saas-btn {
  align-self: flex-start;
  font-size: 0.85rem;
  padding: 8px 20px;
}

/* ============================================================
   DOCTOR SECTION
   ============================================================ */
.doctor-section {
  background: linear-gradient(135deg, var(--off-white), #e8f8ec);
  position: relative;
  overflow: hidden;
}
.doctor-section::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(42, 176, 77, 0.07), transparent);
  border-radius: 50%;
}
.doctor-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.doctor-image-container {
  position: relative;
}
.doctor-image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.doctor-image-main img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: top;
}
.doctor-image-main::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(29, 138, 58, 0.9), transparent);
}
.doctor-credentials {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 24px;
  color: white;
}
.doctor-credentials h3 {
  font-size: 1.3rem;
}
.doctor-credentials p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}
.qualification-badge {
  position: absolute;
  top: 20px;
  right: -15px;
  background: linear-gradient(135deg, var(--accent), #d45e0a);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.doctor-content {
}
.doctor-intro {
  font-size: 1.05rem;
  color: var(--text-medium);
  margin-bottom: 28px;
}
.doctor-specialties {
  margin-bottom: 32px;
}
.doctor-specialties h4 {
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}
.specialty-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.specialty-tag {
  background: linear-gradient(
    135deg,
    rgba(42, 176, 77, 0.1),
    rgba(244, 123, 32, 0.08)
  );
  color: var(--primary);
  border: 1px solid rgba(42, 176, 77, 0.2);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
}

.expertise-list {
  margin-bottom: 36px;
}
.expertise-list h4 {
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}
.expertise-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.expertise-item:last-child {
  border-bottom: none;
}
.check-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
}
.expertise-item span {
  font-size: 0.9rem;
  color: var(--text-medium);
}

/* ============================================================
   DIAGNOSTICS SECTION
   ============================================================ */
.diagnostics-section {
  background: var(--bg-base);
}
.diagnostics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.diagnostic-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  cursor: pointer;
}
.diagnostic-card:hover {
  background: var(--bg-surface-hover);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}
.diagnostic-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
  transition: var(--transition);
}
.diagnostic-card:hover .diagnostic-icon {
  transform: scale(1.2);
}
.diagnostic-card h3 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.diagnostic-card p {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary) 100%
  );
  position: relative;
  overflow: hidden;
}
.why-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border: 80px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}
.why-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border: 80px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.why-content {
  color: white;
}
.why-content .section-tag {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent-light);
  border-color: rgba(255, 255, 255, 0.2);
}
.why-content h2 {
  color: white;
}
.why-content .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 40px;
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.why-item:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(4px);
}
.why-item-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background: linear-gradient(
    135deg,
    rgba(244, 123, 32, 0.35),
    rgba(244, 123, 32, 0.15)
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.why-item-text h4 {
  color: white;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 0.95rem;
}
.why-item-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin: 0;
}

.why-image-area {
  position: relative;
}
.why-image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.why-image-main img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}
.why-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29, 138, 58, 0.25), transparent);
  border-radius: var(--radius-lg);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  background: var(--off-white);
}
.testimonials-header {
  text-align: center;
  margin-bottom: 50px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.quote-icon {
  font-size: 3rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.3;
  font-family: Georgia, serif;
  margin-bottom: -10px;
}
.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
}
.author-info h4 {
  font-size: 0.88rem;
  color: var(--text-main);
  font-family: "Inter", sans-serif;
  font-weight: 600;
}
.author-info p {
  font-size: 0.78rem;
  color: var(--text-light);
  margin: 0;
}
.star-rating {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 3px;
  display: flex;
  gap: 2px;
  align-items: center;
}

/* ============================================================
   APPOINTMENT SECTION
   ============================================================ */
.appointment-section {
  background: var(--bg-base);
  position: relative;
  overflow: hidden;
}
.appointment-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(42, 176, 77, 0.07), transparent);
}
.appointment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.appointment-info {
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-detail-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(42, 176, 77, 0.25);
}
.contact-detail-text h4 {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.contact-detail-text a,
.contact-detail-text p {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
}
.contact-detail-text a:hover {
  color: var(--primary);
}

.appointment-form {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}
.appointment-form h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.form-subtitle {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 28px;
}
.form-group {
  margin-bottom: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: var(--text-main);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--bg-surface-hover);
  box-shadow: 0 0 0 4px rgba(42, 176, 77, 0.12);
}
.form-group textarea {
  resize: vertical;
  min-height: 90px;
}
.submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  letter-spacing: 0.5px;
}
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42, 176, 77, 0.4);
}

/* ============================================================
   MAP SECTION
   ============================================================ */
.why-choose-us {
  background: var(--bg-surface);
}
/* ============================================================
   MAP SECTION
   ============================================================ */
.map-section {
  background: var(--bg-base);
  padding: 80px 0;
}
.map-section-heading {
  text-align: center;
  margin-bottom: 48px;
}
.map-section-heading .section-tag {
  margin: 0 auto 12px;
}
.map-section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--text-light);
  font-weight: 700;
}
.map-section-heading p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 500px;
  margin: 12px auto 0;
}

/* Two-column layout: info | map */
.map-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  min-height: 480px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Left info panel */
.map-info-panel {
  background: var(--bg-surface);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-right: 1px solid var(--border-color);
}
.map-info-panel h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 10px;
}
.map-info-panel h3 .map-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Info rows */
.map-info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.map-info-row .row-icon {
  width: 38px;
  height: 38px;
  background: rgba(244, 123, 32, 0.1);
  border: 1px solid rgba(244, 123, 32, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.map-info-row .row-text {
  flex: 1;
}
.map-info-row .row-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 4px;
}
.map-info-row .row-value {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.map-info-row .row-value a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  display: block;
}
.map-info-row .row-value a:hover {
  color: var(--primary);
}

/* Divider */
.map-info-divider {
  height: 1px;
  background: var(--border-color);
  border: none;
  margin: 0;
}

/* Directions button */
.directions-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 50px;
  text-decoration: none;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
  box-shadow: 0 4px 20px rgba(244, 123, 32, 0.25);
  margin-top: auto;
}
.directions-btn:hover {
  box-shadow: 0 6px 30px rgba(244, 123, 32, 0.45);
  transform: translateY(-2px);
}

/* Right map container */
.map-container {
  width: 100%;
  min-height: 480px;
  position: relative;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Responsive */
@media (max-width: 900px) {
  .map-layout {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }
  .map-info-panel {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 32px 24px;
  }
  .map-container {
    min-height: 340px;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(135deg, #0d2414, #133d20, var(--primary-dark));
  color: rgba(255, 255, 255, 0.8);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-brand {
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.footer-logo-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo-icon svg {
  width: 26px;
  height: 26px;
  fill: white;
}
.footer-logo .name {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  color: white;
  font-weight: 700;
}
.footer-logo .tagline {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1.5px;
}
.footer-desc {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
  max-width: 280px;
}
.social-links {
  display: flex;
  gap: 10px;
}
.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.social-link:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before {
  content: "›";
  color: var(--primary);
  font-size: 1rem;
}
.footer-links a:hover {
  color: white;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.footer-contact-item .icon {
  color: var(--primary);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-contact-item p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}
.footer-contact-item a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-contact-item a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  transition: var(--transition);
}
.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ============================================================
   EMERGENCY FLOATING BUTTON
   ============================================================ */
.emergency-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.float-btn:hover {
  transform: translateY(-3px) scale(1.03);
}
.float-emergency {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  animation: pulse-red 2s infinite;
}
.float-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
}
.float-btn span.icon {
  font-size: 1.2rem;
}

/* ============================================================
   ADVANCED ANIMATIONS
   ============================================================ */

/* --- Entrance Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.zoom-in {
  opacity: 0;
  transform: scale(0.85);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.zoom-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* --- Stagger Delays --- */
.delay-1 {
  transition-delay: 0.08s;
}
.delay-2 {
  transition-delay: 0.16s;
}
.delay-3 {
  transition-delay: 0.24s;
}
.delay-4 {
  transition-delay: 0.32s;
}
.delay-5 {
  transition-delay: 0.4s;
}
.delay-6 {
  transition-delay: 0.48s;
}

/* --- Keyframe Library --- */
@keyframes float-gentle {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(42, 176, 77, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(42, 176, 77, 0);
  }
}
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}
@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes wave-bar {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(1.6);
  }
}
@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.15);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.1);
  }
  70% {
    transform: scale(1);
  }
}
@keyframes slide-up-bounce {
  0% {
    transform: translateY(60px);
    opacity: 0;
  }
  70% {
    transform: translateY(-8px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes ripple {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}
@keyframes typewriter-cursor {
  0%,
  100% {
    border-right-color: var(--accent);
  }
  50% {
    border-right-color: transparent;
  }
}
@keyframes morph-blob {
  0%,
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
}
@keyframes count-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Decorative Blob --- */
.hero::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(
    circle,
    rgba(244, 123, 32, 0.12),
    transparent 70%
  );
  border-radius: 50%;
  animation: morph-blob 8s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}

/* --- Hero Animated Gradient Overlay --- */
.hero-bg {
  background: linear-gradient(
    135deg,
    rgba(29, 138, 58, 0.95) 0%,
    rgba(42, 176, 77, 0.88) 40%,
    rgba(26, 158, 143, 0.82) 70%,
    rgba(244, 123, 32, 0.55) 100%
  );
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite;
}

/* --- Hero Title Shimmer Effect --- */
.hero-title .highlight {
  background: linear-gradient(
    90deg,
    var(--accent-light) 0%,
    #fff5e0 30%,
    var(--accent) 50%,
    #fff5e0 70%,
    var(--accent-light) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* --- Float Animation for Cards --- */
.floating-info-card {
  animation: float-gentle 3.5s ease-in-out infinite;
}

/* --- Service Card Ripple on Hover --- */
.service-card {
  isolation: isolate;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(42, 176, 77, 0.12) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.service-card:hover::after {
  opacity: 1;
}

/* --- Stat Number Glow --- */
.stat-card .number {
  animation: count-up 0.6s ease both;
}
.stat-card:hover .number {
  animation: pulse-glow 1.5s infinite;
}

/* --- Pulse Ring on Emergency Badge --- */
.hero-badge {
  position: relative;
}
.hero-badge::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50px;
  border: 2px solid rgba(244, 123, 32, 0.5);
  animation: ripple 2s ease-out infinite;
}

/* --- Wave Bars (Loading accent) --- */
.wave-bars {
  display: inline-flex;
  gap: 3px;
  align-items: flex-end;
  height: 20px;
}
.wave-bars span {
  width: 3px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: wave-bar 1.2s ease-in-out infinite;
}
.wave-bars span:nth-child(2) {
  animation-delay: 0.15s;
  height: 12px;
}
.wave-bars span:nth-child(3) {
  animation-delay: 0.3s;
  height: 16px;
}
.wave-bars span:nth-child(4) {
  animation-delay: 0.45s;
  height: 12px;
}
.wave-bars span:nth-child(5) {
  animation-delay: 0.6s;
  height: 8px;
}

/* --- Doctor Image Hover --- */
.doctor-image-main {
  transition: var(--transition);
}
.doctor-image-main:hover {
  transform: scale(1.02);
}

/* --- Diagnostic Card Pulse --- */
.diagnostic-card:hover .diagnostic-icon {
  animation: heartbeat 1s ease-in-out;
}

/* --- Section Tag Shimmer --- */
.section-tag {
  position: relative;
  overflow: hidden;
}
.section-tag::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  animation: shimmer 3s ease-in-out infinite 1s;
}

/* --- Scroll to Top --- */
.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(42, 176, 77, 0.4);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 998;
  border: none;
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.scroll-top:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 28px rgba(42, 176, 77, 0.5);
}

/* --- Page Loading Bar --- */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--accent),
    var(--teal)
  );
  z-index: 9999;
  transition: width 0.4s ease;
  box-shadow: 0 0 10px rgba(42, 176, 77, 0.6);
}

/* ============================================================
   RESPONSIVE — TABLET (≤1200px)
   ============================================================ */
@media (max-width: 1200px) {
  .container {
    padding: 0 20px;
  }
  .hero-content {
    gap: 40px;
  }
  .about-grid {
    gap: 50px;
  }
  .doctor-grid {
    gap: 50px;
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
  }
}

/* ============================================================
   RESPONSIVE — TABLET LANDSCAPE (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    display: none;
  }
  .hero {
    min-height: 80vh;
  }
  .hero-text {
    text-align: center;
  }
  .hero-badge {
    display: inline-flex;
  }
  .hero-desc {
    margin: 0 auto 36px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }

  .about-grid,
  .doctor-grid,
  .appointment-grid,
  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .diagnostics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .about-img-secondary {
    display: none;
  }
  .why-image-area {
    display: none;
  }
}

/* ============================================================
   RESPONSIVE — TABLET PORTRAIT (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  /* ---- Section Spacing ---- */
  .section-padding {
    padding: 60px 0;
  }
  .container {
    padding: 0 18px;
  }

  /* ---- Announcement Bar ---- */
  .announcement-bar {
    font-size: 0.75rem;
    padding: 8px 16px;
  }

  /* ---- Navbar ---- */
  .navbar-inner {
    padding: 12px 18px;
  }
  .logo img {
    height: 48px !important;
  }
  .nav-links {
    display: none;
  }
  .navbar-cta .emergency-btn {
    display: none;
  }
  .navbar-cta .appointment-btn {
    padding: 8px 16px;
    font-size: 0.82rem;
  }
  .mobile-menu-btn {
    display: flex;
  }

  /* ---- Hero ---- */
  .hero {
    min-height: 100svh;
    padding: 20px 0;
  }
  .hero-content {
    padding: 0 18px;
  }
  .hero-badge {
    font-size: 0.72rem;
    padding: 6px 14px;
  }
  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }
  .hero-desc {
    font-size: 0.95rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 24px;
  }
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 24px;
  }
  .stat-number {
    font-size: 1.5rem;
  }
  .stat-label {
    font-size: 0.68rem;
  }

  /* ---- Stats Banner ---- */
  .stats-banner {
    padding: 45px 0;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .stat-card .number {
    font-size: 2.2rem;
  }

  /* ---- About ---- */
  .about-section {
  }
  .about-grid {
    gap: 30px;
  }
  .about-img-main img {
    height: 320px;
  }
  .experience-badge {
    width: 90px;
    height: 90px;
    top: 10px;
    left: 10px;
  }
  .experience-badge .years {
    font-size: 1.5rem;
  }
  .about-features {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .feature-item {
    padding: 12px;
  }
  .feature-icon {
    width: 34px;
    height: 34px;
  }

  /* ---- Services ---- */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .service-card {
    /* Padding now managed by .card-body */
  }

  /* ---- Doctor ---- */
  .doctor-section {
  }
  .doctor-grid {
    gap: 30px;
  }
  .doctor-image-main img {
    height: 380px;
    object-position: center top;
  }
  .doctor-specialties {
  }
  .specialty-tags {
    gap: 8px;
  }
  .specialty-tag {
    font-size: 0.78rem;
    padding: 5px 12px;
  }
  .expertise-item span {
    font-size: 0.85rem;
  }

  /* ---- Diagnostics ---- */
  .diagnostics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .diagnostic-card {
    padding: 24px 14px;
  }
  .diagnostic-icon {
    font-size: 2rem;
  }

  /* ---- Why ---- */
  .why-image-area {
    display: none;
  }
  .why-grid {
    gap: 24px;
  }
  .why-item {
    padding: 16px;
    gap: 12px;
  }

  /* ---- Testimonials ---- */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .testimonial-card {
    padding: 24px;
  }

  /* ---- Appointment ---- */
  .appointment-grid {
    gap: 36px;
  }
  .appointment-form {
    padding: 28px 22px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* ---- Map ---- */
  .map-container {
    height: 300px;
  }
  .map-overlay-card {
    position: static;
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
    border-top: 3px solid var(--primary);
  }

  /* ---- Footer ---- */
  .footer {
    padding: 50px 0 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 36px;
  }
  .footer-desc {
    max-width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  /* ---- Floating Buttons ---- */
  .emergency-float {
    bottom: 20px;
    right: 16px;
    gap: 10px;
  }
  .float-btn {
    padding: 10px 16px;
    font-size: 0.82rem;
    gap: 8px;
  }
  .float-btn span.icon {
    font-size: 1rem;
  }

  /* ---- Scroll Top ---- */
  .scroll-top {
    bottom: 20px;
    right: 70px;
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  /* ---- Second Doctor Card ---- */
  .doctor-second-card {
    flex-direction: column !important;
    text-align: center;
  }
  .doctor-second-card .btn {
    margin-left: 0 !important;
    margin-top: 16px;
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  /* ---- Section ---- */
  .section-padding {
    padding: 50px 0;
  }
  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 36px;
  }

  /* ---- Announcement Bar ---- */
  .announcement-bar {
    font-size: 0.72rem;
  }

  /* ---- Navbar ---- */
  .logo img {
    height: 42px !important;
  }
  .navbar-cta .appointment-btn {
    display: none;
  }

  /* ---- Hero ---- */
  .hero {
    min-height: 100svh;
  }
  .hero-title {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
  }
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 20px;
  }
  .stat-number {
    font-size: 1.35rem;
  }
  .stat-label {
    font-size: 0.62rem;
    letter-spacing: 0.5px;
  }

  /* ---- Stats Banner ---- */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .stat-card .number {
    font-size: 2rem;
  }
  .stat-card .label {
    font-size: 0.82rem;
  }

  /* ---- About ---- */
  .about-features {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .about-img-main img {
    height: 260px;
  }

  /* ---- Services ---- */
  .service-card {
    /* Padding now managed by .card-body */
  }

  /* ---- Doctor ---- */
  .doctor-image-main img {
    height: 320px;
  }
  .doctor-grid {
    gap: 24px;
  }

  /* ---- Diagnostics ---- */
  .diagnostics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .diagnostic-card {
    padding: 20px 10px;
  }
  .diagnostic-icon {
    font-size: 1.8rem;
  }
  .diagnostic-card h3 {
    font-size: 0.88rem;
  }
  .diagnostic-card p {
    font-size: 0.76rem;
  }

  /* ---- Why ---- */
  .why-item-icon {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }
  .why-item-text h4 {
    font-size: 0.88rem;
  }
  .why-item-text p {
    font-size: 0.8rem;
  }

  /* ---- Appointment Form ---- */
  .appointment-form {
    padding: 24px 16px;
  }
  .appointment-form h3 {
    font-size: 1.2rem;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 11px 14px;
    font-size: 0.85rem;
  }
  .submit-btn {
    padding: 13px;
    font-size: 0.95rem;
  }

  /* ---- Contact Detail ---- */
  .contact-detail {
    gap: 12px;
  }
  .contact-detail-icon {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  /* ---- Testimonial ---- */
  .testimonial-card {
    padding: 20px 18px;
  }
  .testimonial-text {
    font-size: 0.85rem;
  }

  /* ---- Footer ---- */
  .footer {
    padding: 40px 0 0;
  }
  .footer-grid {
    gap: 28px;
  }
  .footer-col h4 {
    font-size: 0.95rem;
    margin-bottom: 14px;
  }
  .footer-links a {
    font-size: 0.82rem;
  }
  .footer-contact-item p,
  .footer-contact-item a {
    font-size: 0.8rem;
  }
  .footer-bottom p {
    font-size: 0.76rem;
  }

  /* ---- Float Buttons ---- */
  .emergency-float {
    bottom: 16px;
    right: 12px;
  }
  .float-btn {
    padding: 9px 14px;
    font-size: 0.78rem;
  }
  .scroll-top {
    right: 60px;
    width: 38px;
    height: 38px;
  }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤360px)
   ============================================================ */
@media (max-width: 360px) {
  .container {
    padding: 0 14px;
  }
  .hero-title {
    font-size: 1.6rem;
  }
  .hero-badge {
    font-size: 0.68rem;
  }
  .hero-actions .btn {
    font-size: 0.88rem;
    padding: 12px 20px;
  }
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .stat-number {
    font-size: 1.2rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .diagnostics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .services-grid {
    gap: 12px;
  }
  .service-card {
    /* Padding now managed by .card-body */
  }
  .float-btn {
    padding: 8px 12px;
    font-size: 0.75rem;
  }
}

/* ============================================================
   MOBILE MENU ENHANCED
   ============================================================ */
#mobileMenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  padding: 0;
  z-index: 999;
  border-top: 3px solid var(--primary);
  overflow: hidden;
  transition:
    max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease;
  max-height: 0;
  opacity: 0;
}
#mobileMenu.active {
  display: block;
  max-height: 600px;
  opacity: 1;
}
#mobileMenu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.25s ease;
  text-decoration: none;
}
#mobileMenu a:last-of-type {
  border-bottom: none;
}
#mobileMenu a:hover,
#mobileMenu a:active {
  color: var(--primary);
  background: rgba(42, 176, 77, 0.06);
  padding-left: 28px;
}
#mobileMenu .mobile-appt-btn {
  margin: 12px 16px;
  display: flex !important;
  justify-content: center;
  padding: 13px 20px !important;
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--primary-light)
  ) !important;
  color: white !important;
  border-radius: 10px;
  font-weight: 700;
  border-bottom: none !important;
  box-shadow: 0 4px 16px rgba(42, 176, 77, 0.3);
}
#mobileMenu .mobile-emergency-btn {
  margin: 0 16px 12px;
  display: flex !important;
  justify-content: center;
  padding: 13px 20px !important;
  background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
  color: white !important;
  border-radius: 10px;
  font-weight: 700;
  border-bottom: none !important;
  box-shadow: 0 4px 16px rgba(231, 76, 60, 0.3);
}
#mobileMenu .mobile-appt-btn:hover {
  padding-left: 20px !important;
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary)
  ) !important;
}
#mobileMenu .mobile-emergency-btn:hover {
  padding-left: 20px !important;
}

/* ============================================================
   MOBILE HAMBURGER ANIMATION
   ============================================================ */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu-btn:hover {
  background: rgba(42, 176, 77, 0.08);
}
.mobile-menu-btn span {
  width: 24px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 3px;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center;
}
.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.mobile-menu-btn.open span:nth-child(2) {
  transform: scaleX(0);
  opacity: 0;
}
.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ============================================================
   TOUCH & MOBILE UX IMPROVEMENTS
   ============================================================ */
/* Prevent text size inflate on iOS */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Improve tap target sizes */
@media (max-width: 768px) {
  a,
  button {
    min-height: 44px;
  }
  .nav-links a,
  .footer-links a {
    min-height: unset;
  }

  /* Remove hover-only effects on touch */
  .service-card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }
  .service-card:active {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
  .feature-item:hover {
    transform: none;
  }
  .diagnostic-card:hover {
    transform: none;
  }
  .diagnostic-card:active {
    transform: translateY(-4px);
  }
  .testimonial-card:hover {
    transform: none;
  }
  .why-item:hover {
    transform: none;
  }
  .why-item:active {
    background: rgba(255, 255, 255, 0.14);
  }

  /* Smooth momentum scroll on iOS */
  html,
  body {
    -webkit-overflow-scrolling: touch;
  }
}

/* ============================================================
   SWIPE TESTIMONIALS (mobile slider)
   ============================================================ */
@media (max-width: 640px) {
  .testimonials-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 12px;
    scrollbar-width: none;
  }
  .testimonials-grid::-webkit-scrollbar {
    display: none;
  }
  .testimonial-card {
    min-width: 85vw;
    scroll-snap-align: center;
    flex-shrink: 0;
  }
}

/* ============================================================
   SCROLLABLE SERVICES (mobile)
   ============================================================ */
@media (max-width: 500px) {
  .diagnostics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   FOCUS STYLES (Accessibility)
   ============================================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .announcement-bar,
  .emergency-float,
  .scroll-top,
  .hero-particles,
  .mobile-menu-btn,
  .navbar-cta {
    display: none;
  }
  .navbar {
    position: static;
    box-shadow: none;
  }
  .hero {
    min-height: auto;
    padding: 40px 0;
  }
}

/* ============================================================
   GALLERY SECTION (Masonry)
   ============================================================ */
.gallery-section {
  background: var(--off-white);
}

.masonry-gallery-container {
  position: relative;
  width: 100%;
  min-height: 400px;
  transition: height 0.3s ease;
}

.masonry-item {
  position: absolute;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: box-shadow 0.3s ease;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
  will-change: transform, width, height, opacity, filter;
}

.masonry-item:hover {
  box-shadow: var(--shadow-lg);
}

.masonry-item-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.4s ease;
}

.masonry-item .color-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top right,
    rgba(42, 176, 77, 0.4),
    rgba(244, 123, 32, 0.4)
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.masonry-item-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.masonry-item-title p {
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.masonry-item:hover .masonry-item-title {
  opacity: 1;
}

/* ============================================================
   SAAS HERO & NAVBAR
   ============================================================ */

/* Navbar Pill */
.saas-navbar {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1000px;
  background: rgba(18, 18, 18, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  z-index: 1000;
  transition: all 0.3s ease;
}

.saas-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 10px 24px;
}

/* Logo */
.saas-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.saas-logo-icon {
  width: 32px;
  height: 32px;
  background: #fff;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.saas-logo-text {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.3px;
}

/* Links */
.saas-nav-links {
  display: none;
}
@media (min-width: 900px) {
  .saas-nav-links {
    display: flex;
    gap: 24px;
  }
}
.saas-nav-links a {
  color: #999;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.saas-nav-links a:hover {
  color: #fff;
}

/* CTA */
.saas-navbar-cta {
  display: none;
}
@media (min-width: 600px) {
  .saas-navbar-cta {
    display: flex;
    align-items: center;
    gap: 20px;
  }
}
.saas-login-link {
  color: #999;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.saas-login-link:hover {
  color: #fff;
}
.saas-btn-primary:hover {
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}
.saas-btn-secondary {
  background: transparent;
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease;
}
.saas-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Social Proof */
.saas-social-proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.saas-avatars {
  display: flex;
  align-items: center;
}
.saas-avatars img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-base);
  margin-left: -8px;
}
.saas-avatars img:first-child {
  margin-left: 0;
}
.saas-social-proof p {
  color: #71717a;
  font-size: 13px;
  margin: 0;
}

/* Mobile Menu Dark Theme */
.saas-mobile-menu {
  background-color: var(--bg-surface) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.saas-mobile-menu a {
  color: #e4e4e7 !important;
  border-bottom-color: rgba(255, 255, 255, 0.05) !important;
}
.saas-mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.05) !important;
}

.saas-nav-links a.active {
  color: #fff;
  font-weight: 600;
}

/* === Typing Effect Cursor === */
.type-cursor {
  display: inline-block;
  color: var(--primary);
  font-weight: 300;
  margin-left: 4px;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* === Doctor Secondary Card (Dr Shilpa Patil) === */
.doctor-secondary-card {
  margin-top: 70px;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.doctor-secondary-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 255, 255, 0.15);
}
.doctor-secondary-image img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-base);
  box-shadow: 0 0 0 2px var(--border-color);
}
.doctor-secondary-info {
  flex: 1;
  min-width: 250px;
}
.doctor-secondary-info .section-tag {
  margin-bottom: 12px;
}
.doctor-secondary-info h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
  font-weight: 700;
}
.doctor-credentials-text {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}
.doctor-desc-text {
  max-width: 700px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.doctor-secondary-action {
  margin-left: auto;
}
@media (max-width: 991px) {
  .doctor-secondary-card {
    padding: 30px 24px;
    gap: 24px;
    flex-direction: column;
    text-align: center;
  }
  .doctor-secondary-action {
    margin-left: 0;
    width: 100%;
  }
  .doctor-secondary-action .saas-btn-white {
    width: 100%;
    justify-content: center;
  }
  .doctor-secondary-info .section-tag {
    margin: 0 auto 12px;
  }
}

/* === Hero Section & UI Elements (Saffron & Green Overhaul) === */
.saas-hero {
  background-color: var(--bg-base); /* Deep dark forest background */
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 20px 60px 20px;
}
.saas-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  z-index: 0;
  object-fit: cover;
  opacity: 0.3;
}
.saas-hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(
    circle,
    rgba(244, 123, 32, 0.06) 0%,
    rgba(42, 176, 77, 0.04) 40%,
    rgba(0, 0, 0, 0) 70%
  );
  pointer-events: none;
  z-index: 1;
}
.saas-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.saas-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244, 123, 32, 0.08);
  border: 1px solid rgba(244, 123, 32, 0.2);
  padding: 6px 14px;
  border-radius: 50px;
  color: var(--accent-light);
  font-size: 13px;
  margin-bottom: 32px;
}
.saas-badge-dot {
  width: 6px;
  height: 6px;
  background-color: #2ab04d;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(42, 176, 77, 0.6);
}
.saas-title {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.05;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  font-family: "Inter", sans-serif;
}
.saas-gradient-text {
  background: linear-gradient(180deg, var(--accent) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent; /* Fallback */
}
.saas-desc {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 40px;
}
.saas-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
  justify-content: center;
}
.saas-btn-primary {
  background: var(--accent);
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 0 20px rgba(244, 123, 32, 0.2);
}
.saas-btn-primary:hover {
  box-shadow: 0 0 30px rgba(244, 123, 32, 0.4);
  transform: translateY(-1px);
}
.saas-btn-secondary {
  background: transparent;
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(42, 176, 77, 0.4);
  transition: background 0.2s ease;
}
.saas-btn-secondary:hover {
  background: rgba(42, 176, 77, 0.1);
}
.saas-btn-white {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 0 15px rgba(244, 123, 32, 0.2);
}
.saas-btn-white:hover {
  box-shadow: 0 0 25px rgba(244, 123, 32, 0.4);
  transform: translateY(-1px);
}

/* === Mobile Menu Button === */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  margin-left: auto;
}
@media (max-width: 900px) {
  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
}
.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
