/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue: #0A74DA;
  --blue-dark: #085BB0;
  --blue-light: #E8F4FD;
  --blue-glow: rgba(10, 116, 218, 0.15);
  --green: #38B68C;
  --green-dark: #2D9E78;
  --green-light: #E8F8F2;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --red: #DC2626;
  --red-light: #FEE2E2;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-blue: 0 8px 32px rgba(10, 116, 218, 0.25);
  --shadow-green: 0 8px 32px rgba(56, 182, 140, 0.25);
  --shadow-red: 0 8px 32px rgba(220, 38, 38, 0.25);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --section-padding: 100px 0;
  --container: 1200px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--gray-900);
}

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

ul { list-style: none; }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section__tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.section__sub {
  font-size: 1.05rem;
  color: var(--gray-500);
}

.highlight {
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

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

.btn--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(10, 116, 218, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn--emergency {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
  animation: pulse-emergency 2s infinite;
}

.btn--emergency:hover {
  background: #B91C1C;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(220, 38, 38, 0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn--ghost:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--lg { padding: 14px 36px; font-size: 1rem; }
.btn--sm { padding: 10px 24px; font-size: 0.85rem; }
.btn--full { width: 100%; }

@keyframes pulse-emergency {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  50% { box-shadow: 0 0 0 16px rgba(220, 38, 38, 0); }
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
}

.header.scrolled .logo { color: var(--gray-900); }

.logo__icon {
  font-size: 1.6rem;
  color: var(--green);
}

.logo__plus { color: var(--green); }

/* Nav */
.nav__list {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding: 4px 0;
}

.header.scrolled .nav__link { color: var(--gray-600); }

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: var(--transition);
  border-radius: 2px;
}

.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

.nav__link:hover,
.nav__link.active { color: var(--white); }

.header.scrolled .nav__link:hover,
.header.scrolled .nav__link.active { color: var(--blue); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__actions .btn--primary { background: var(--green); box-shadow: var(--shadow-green); }
.header__actions .btn--primary:hover { background: var(--green-dark); }

/* Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 4px;
  transition: all var(--transition);
}

.header.scrolled .menu-toggle span { background: var(--gray-800); }

.menu-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gray-900) 0%, #0a1f3a 50%, #0d2b4e 100%);
  z-index: 0;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(10, 116, 218, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(56, 182, 140, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(10, 116, 218, 0.05) 0%, transparent 70%);
  z-index: 1;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 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");
  opacity: 0.5;
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(15, 23, 42, 0.3) 100%);
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 120px 24px 80px;
}

.hero__content { position: relative; z-index: 3; }

.hero__badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(56, 182, 140, 0.15);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid rgba(56, 182, 140, 0.3);
  animation: fadeUp 0.8s ease forwards;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeUp 0.8s ease 0.1s forwards;
  opacity: 0;
}

.hero__desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.8;
  animation: fadeUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
  animation: fadeUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  animation: fadeUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero__stat {
  text-align: center;
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}

.hero__stat-num {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--white);
}

.hero__stat-plus,
.hero__stat-pct {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--green);
}

.hero__stat-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Image */
.hero__image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0F172A, #0A74DA);
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 500px;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero__floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  animation: float 3s ease-in-out infinite;
}

.about__image {
  background: linear-gradient(135deg, #0A74DA, #0F172A);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
}

.about__image img,
.emergency__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.emergency__image {
  background: linear-gradient(135deg, #DC2626, #450A0A);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
}

.hero__floating-card i {
  font-size: 1.5rem;
  color: var(--blue);
}

.hero__floating-card div strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--gray-900);
}

.hero__floating-card div span {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.hero__floating-card--1 {
  top: 10%;
  right: -5%;
  animation-delay: 0s;
}

.hero__floating-card--2 {
  bottom: 15%;
  left: -5%;
  animation-delay: 1.5s;
}

.hero__floating-card--2 i { color: var(--red); }

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

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== ABOUT ===== */
.about { background: var(--white); }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__image {
  position: relative;
}

.about__exp {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--blue);
  color: var(--white);
  padding: 24px 28px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-blue);
}

.about__exp-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1;
}

.about__exp span:last-child {
  font-size: 0.85rem;
  opacity: 0.9;
}

.about__text p {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-bottom: 32px;
  line-height: 1.8;
}

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

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

.about__feature i {
  font-size: 1.3rem;
  color: var(--green);
  margin-top: 2px;
  flex-shrink: 0;
}

.about__feature h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.about__feature p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin: 0;
}

/* ===== SERVICES ===== */
.services {
  background: var(--gray-50);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
  cursor: pointer;
  position: relative;
}

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

.service-card__img {
  height: 160px;
  overflow: hidden;
  position: relative;
}

.service-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 60%);
  z-index: 2;
  pointer-events: none;
}

.service-card__img img,
.doctor-card__img img,
.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  position: relative;
  z-index: 1;
}

.service-card:hover .service-card__img img,
.doctor-card:hover .doctor-card__img img,
.blog-card:hover .blog-card__img img {
  transform: scale(1.08);
}

.hero__image::after,
.about__image::after,
.emergency__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 50%);
  z-index: 2;
  pointer-events: none;
}

.hero__image img,
.about__image img,
.emergency__image img {
  position: relative;
  z-index: 1;
}

.service-card__body {
  padding: 20px;
  position: relative;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 1.2rem;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  transition: var(--transition);
}

.service-card:hover .service-card__icon {
  background: var(--blue);
  color: var(--white);
}

.service-card__title {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.service-card__body p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 14px;
}

.service-card__link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card__link i {
  transition: var(--transition);
  font-size: 0.75rem;
}

.service-card__link:hover i {
  transform: translateX(4px);
}

/* ===== DOCTORS ===== */
.doctors {
  background: var(--white);
}

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

.doctor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-slow);
}

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

.doctor-card__img {
  height: 260px;
  overflow: hidden;
}

.doctor-card__body {
  padding: 20px;
}

.doctor-card__dept {
  display: inline-block;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.doctor-card__name {
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.doctor-card__title {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.doctor-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
}

.doctor-card__rating i {
  color: #F59E0B;
  font-size: 0.8rem;
}

.doctor-card__rating span {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-left: 6px;
}

.doctor-card__actions {
  display: flex;
  gap: 10px;
}

/* ===== EMERGENCY ===== */
.emergency {
  background: var(--gray-900);
  padding: 80px 0;
}

.emergency__box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.emergency__tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(220, 38, 38, 0.15);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.emergency__title {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  color: var(--white);
  margin-bottom: 16px;
}

.emergency__text {
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
  line-height: 1.8;
}

.emergency__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.emergency__detail {
  display: flex;
  align-items: center;
  gap: 14px;
}

.emergency__detail i {
  font-size: 1.4rem;
  color: var(--green);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 182, 140, 0.15);
  border-radius: var(--radius-sm);
}

.emergency__detail strong {
  display: block;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

.emergency__detail span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.emergency__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.emergency__actions .btn--outline {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.9);
}

.emergency__image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

/* ===== APPOINTMENT ===== */
.appointment {
  background: var(--gray-50);
}

.appointment__grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 40px;
  align-items: start;
}

.appointment__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.appointment__card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.appointment__card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}

.appointment__card i {
  font-size: 1.4rem;
  color: var(--blue);
  margin-bottom: 10px;
}

.appointment__card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.appointment__card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.appointment__form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form__group {
  margin-bottom: 16px;
}

.form__group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition);
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--blue-glow);
}

.form__group textarea {
  resize: vertical;
  min-height: 80px;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--white);
  overflow: hidden;
}

.testimonials__slider {
  display: flex;
  gap: 28px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 10px 0;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 19px);
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.testimonial-card__stars i { color: #F59E0B; font-size: 0.9rem; }

.testimonial-card__text {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-card__author img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.testimonial-card__author h4 {
  font-size: 0.95rem;
  margin-bottom: 1px;
}

.testimonial-card__author span {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.testimonials__btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1rem;
}

.testimonials__btn:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.testimonials__dots {
  display: flex;
  gap: 8px;
}

.testimonials__dots span {
  width: 10px;
  height: 10px;
  border-radius: 10px;
  background: var(--gray-300);
  cursor: pointer;
  transition: var(--transition);
}

.testimonials__dots span.active {
  width: 32px;
  background: var(--blue);
}

/* ===== FAQ ===== */
.faq {
  background: var(--gray-50);
}

.faq__grid {
  max-width: 720px;
  margin: 0 auto;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--blue-light);
  box-shadow: var(--shadow-sm);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--gray-800);
  text-align: left;
  transition: var(--transition);
  gap: 16px;
}

.faq-item__question i {
  font-size: 0.85rem;
  color: var(--gray-400);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-item__question i {
  transform: rotate(180deg);
  color: var(--blue);
}

.faq-item.active .faq-item__question {
  color: var(--blue);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-item__answer {
  max-height: 300px;
}

.faq-item__answer p {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===== BLOG ===== */
.blog {
  background: var(--white);
}

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

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-slow);
}

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

.blog-card__img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.blog-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.7rem;
  padding: 4px 12px;
  background: var(--blue);
  color: var(--white);
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card__body {
  padding: 24px;
}

.blog-card__meta {
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
  font-size: 0.8rem;
  color: var(--gray-400);
}

.blog-card__meta i { margin-right: 4px; }

.blog-card__title {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card__body p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 14px;
  line-height: 1.6;
}

.blog-card__link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-card__link i { transition: var(--transition); font-size: 0.75rem; }
.blog-card__link:hover i { transform: translateX(4px); }

/* ===== CONTACT ===== */
.contact {
  background: var(--gray-50);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__item {
  display: flex;
  gap: 16px;
}

.contact__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 1.2rem;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.contact__item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact__item p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.contact__social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.contact__social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--gray-500);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  font-size: 1rem;
}

.contact__social a:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  transform: translateY(-3px);
}

.contact__form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.contact__form .form__group { margin-bottom: 16px; }

.contact__form input,
.contact__form textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition);
}

.contact__form input:focus,
.contact__form textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--blue-glow);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer .logo { color: var(--white); margin-bottom: 16px; }

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 360px;
}

.footer__newsletter h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.footer__newsletter form {
  display: flex;
  max-width: 320px;
}

.footer__newsletter input {
  flex: 1;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  outline: none;
}

.footer__newsletter input::placeholder { color: rgba(255,255,255,0.4); }
.footer__newsletter input:focus { border-color: var(--green); }

.footer__newsletter button {
  padding: 12px 18px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.footer__newsletter button:hover { background: var(--green-dark); }

.footer__col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer__col ul li {
  margin-bottom: 12px;
}

.footer__col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.footer__col a:hover {
  color: var(--green);
  padding-left: 4px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-blue);
  transition: all var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--green);
  transform: translateY(-4px);
  box-shadow: var(--shadow-green);
}

/* ===== SCROLL ANIMATIONS ===== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal { opacity: 1; transform: none; }
}

/* ===== IMAGE PLACEHOLDERS ===== */
.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 2.8rem;
  min-height: inherit;
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.img-placeholder i { position: relative; z-index: 1; }
.img-placeholder span { position: relative; z-index: 1; }

.img-placeholder--hero { background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #0A74DA 100%); }
.img-placeholder--about { background: linear-gradient(135deg, #0A74DA 0%, #085BB0 50%, #0F172A 100%); }
.img-placeholder--emergency { background: linear-gradient(135deg, #DC2626 0%, #991B1B 50%, #450A0A 100%); }
.img-placeholder--cardio { background: linear-gradient(135deg, #DC2626, #991B1B); }
.img-placeholder--ortho { background: linear-gradient(135deg, #0A74DA, #0653A0); }
.img-placeholder--pedi { background: linear-gradient(135deg, #38B68C, #2D9E78); }
.img-placeholder--dental { background: linear-gradient(135deg, #14B8A6, #0D9488); }
.img-placeholder--icu { background: linear-gradient(135deg, #6366F1, #4F46E5); }
.img-placeholder--lab { background: linear-gradient(135deg, #F59E0B, #D97706); }
.img-placeholder--neuro { background: linear-gradient(135deg, #8B5CF6, #6D28D9); }
.img-placeholder--physio { background: linear-gradient(135deg, #EC4899, #BE185D); }
.img-placeholder--doctor { background: linear-gradient(135deg, #0A74DA, #38B68C); }
.img-placeholder--doctor2 { background: linear-gradient(135deg, #38B68C, #6366F1); }
.img-placeholder--doctor3 { background: linear-gradient(135deg, #6366F1, #EC4899); }
.img-placeholder--doctor4 { background: linear-gradient(135deg, #F59E0B, #DC2626); }
.img-placeholder--blog { background: linear-gradient(135deg, #0A74DA, #1E293B); }
.img-placeholder--blog2 { background: linear-gradient(135deg, #38B68C, #1E293B); }
.img-placeholder--blog3 { background: linear-gradient(135deg, #8B5CF6, #1E293B); }
.img-placeholder--testimonial { background: linear-gradient(135deg, var(--gray-300), var(--gray-400)); }
.img-placeholder--testimonial i { font-size: 1.5rem; }

/* Service card img container fallback */
.service-card__img .img-placeholder { min-height: 160px; }
.doctor-card__img .img-placeholder { min-height: 260px; }
.blog-card__img .img-placeholder { min-height: 200px; }
.hero__image .img-placeholder {
  border-radius: var(--radius-xl);
  min-height: 500px;
  box-shadow: var(--shadow-xl);
}
.about__image .img-placeholder {
  border-radius: var(--radius-lg);
  min-height: 400px;
  box-shadow: var(--shadow-lg);
}
.emergency__image .img-placeholder {
  border-radius: var(--radius-lg);
  min-height: 400px;
  box-shadow: var(--shadow-xl);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .doctors__grid { grid-template-columns: repeat(2, 1fr); }
  .blog__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__desc { margin: 0 auto 36px; }
  .hero__actions { justify-content: center; }
  .hero__floating-card { display: none; }
  .hero__image { display: none; }
  .hero { min-height: 0; padding-bottom: 60px; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .emergency__box { grid-template-columns: 1fr; gap: 40px; }
  .appointment__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .testimonial-card { flex: 0 0 calc(50% - 14px); }
}

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

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    padding: 100px 32px 32px;
    transition: var(--transition);
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    z-index: 1000;
  }

  .nav.open { right: 0; }
  .nav__list { flex-direction: column; gap: 20px; }
  .nav__link { color: var(--gray-600); font-size: 1rem; }
  .nav__link:hover, .nav__link.active { color: var(--blue); }
  .header.scrolled .nav__link { color: var(--gray-600); }

  .menu-toggle { display: flex; }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .services__grid { grid-template-columns: 1fr; }
  .doctors__grid { grid-template-columns: 1fr; }
  .blog__grid { grid-template-columns: 1fr; }
  .testimonial-card { flex: 0 0 100%; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

  .section__header { margin-bottom: 36px; }
  .btn--lg { padding: 12px 28px; font-size: 0.9rem; }
  .appointment__form { padding: 24px; }
  .contact__form { padding: 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__stat-num { font-size: 1.4rem; }
  .hero__stat { padding: 12px; }
  .header__actions .btn { display: none; }
}
