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

:root {
  --primary: #0B2A4A;
  --primary-light: #1A4A7A;
  --accent: #0D9488;
  --accent-light: #14B8A6;
  --accent-dark: #0A7A70;
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --grey-50: #F9FAFB;
  --grey-100: #F3F4F6;
  --grey-200: #E5E7EB;
  --grey-300: #D1D5DB;
  --grey-400: #9CA3AF;
  --grey-500: #6B7280;
  --grey-600: #4B5563;
  --grey-700: #374151;
  --grey-800: #1F2937;
  --grey-900: #111827;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1200px;
}

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

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

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(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 60px 0; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 { color: var(--primary); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { color: var(--grey-600); line-height: 1.7; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--accent);
}
.section-title { margin-bottom: 16px; }
.section-desc { max-width: 600px; font-size: 1.05rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--grey-200);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-sm { padding: 10px 24px; font-size: 0.875rem; }

/* ===== EMERGENCY BAR ===== */
.emergency-bar {
  background: linear-gradient(135deg, #DC2626, #B91C1C);
  color: var(--white);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
  z-index: 1001;
}
.emergency-bar a { color: var(--white); font-weight: 700; }
.emergency-bar .pulse-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: #FCA5A5;
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--grey-100);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}
.logo-icon::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%); }
  100% { transform: translateX(100%) translateY(100%); }
}
.logo-text h1 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.logo-text span {
  font-size: 0.7rem;
  color: var(--grey-400);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey-600);
  border-radius: var(--radius-sm);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: rgba(13, 148, 136, 0.06);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.nav-cta {
  margin-left: 12px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}
.mobile-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--grey-700);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, #0D3B66 50%, #1A4A7A 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(13,148,136,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-content { color: var(--white); }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease-out;
}
.hero-badge .badge-dot {
  width: 6px; height: 6px;
  background: var(--accent-light);
  border-radius: 50%;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
  line-height: 1.15;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent-light), #5EEAD4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 500px;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}
.hero-stat { text-align: left; }
.hero-stat .number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  animation: fadeInRight 1s ease-out 0.3s both;
}
.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
}
.hero-image-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  color: var(--white);
}
.hero-image-card .hero-icon {
  font-size: 5rem;
  margin-bottom: 20px;
}
.hero-image-card h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.hero-image-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}
.floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 6s ease-in-out infinite;
}
.floating-card.card-1 {
  top: 20px; right: -20px;
  animation-delay: 0s;
}
.floating-card.card-2 {
  bottom: 40px; left: -30px;
  animation-delay: 2s;
}
.floating-card .fc-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.floating-card .fc-icon.teal { background: rgba(13,148,136,0.1); color: var(--accent); }
.floating-card .fc-icon.blue { background: rgba(11,42,74,0.1); color: var(--primary); }
.floating-card .fc-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--grey-800);
}
.floating-card .fc-text span {
  font-size: 0.75rem;
  color: var(--grey-400);
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ===== SERVICES HIGHLIGHT (HOME) ===== */
.services-home { background: var(--off-white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--grey-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-card .icon-wrapper {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(13,148,136,0.1), rgba(13,148,136,0.05));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: var(--transition);
}
.service-card:hover .icon-wrapper {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}
.service-card:hover .icon-wrapper span { filter: grayscale(1) brightness(10); }
.service-card h3 { margin-bottom: 12px; }
.service-card p { margin-bottom: 20px; }
.service-card ul { margin-bottom: 24px; }
.service-card ul li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--grey-500);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-card ul li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
}

/* ===== WHY CHOOSE US ===== */
.why-us { background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.why-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  background: var(--off-white);
  border: 1px solid transparent;
  transition: var(--transition);
}
.why-card:hover {
  background: var(--white);
  border-color: var(--grey-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.why-card .why-icon {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.why-card h4 { margin-bottom: 8px; }
.why-card p { font-size: 0.875rem; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #0D3B66 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(13,148,136,0.2), transparent 70%);
  border-radius: 50%;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.7); max-width: 500px; margin: 0 auto 32px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--grey-900);
  color: var(--grey-400);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-about .logo { margin-bottom: 16px; }
.footer-about .logo-text h1 { color: var(--white); }
.footer-about .logo-text span { color: var(--grey-500); }
.footer-about p { font-size: 0.9rem; margin-bottom: 24px; }
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-400);
  transition: var(--transition);
  font-size: 1rem;
}
.footer-social a:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}
.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.9rem;
  color: var(--grey-400);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a:hover { color: var(--accent-light); padding-left: 4px; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}
.footer-contact .fc-icon {
  width: 32px; height: 32px;
  background: rgba(13,148,136,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 0.85rem;
}
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}
.footer-bottom a { color: var(--accent-light); }
.footer-bottom a:hover { text-decoration: underline; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0D3B66 100%);
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(13,148,136,0.15), transparent 70%);
  border-radius: 50%;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; position: relative; z-index: 2; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb span { color: rgba(255,255,255,0.3); }
.breadcrumb .current { color: var(--accent-light); font-weight: 500; }

/* ===== ABOUT PAGE ===== */
.about-intro { background: var(--off-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.about-image::before {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(13,148,136,0.2), transparent 60%);
}
.about-image .about-big-icon { font-size: 6rem; margin-bottom: 20px; position: relative; z-index: 2; }
.about-image h3 { color: var(--white); position: relative; z-index: 2; }
.about-content .section-label { text-align: left; }
.about-content h2 { margin-bottom: 20px; }
.about-content p { margin-bottom: 16px; }

.mission-vision { background: var(--white); }
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
.mv-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-100);
  transition: var(--transition);
}
.mv-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.mv-card .mv-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}
.mv-card.mission .mv-icon { background: rgba(13,148,136,0.1); }
.mv-card.vision .mv-icon { background: rgba(11,42,74,0.1); }
.mv-card h3 { margin-bottom: 12px; }
.mv-card ul { margin-top: 16px; }
.mv-card ul li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--grey-500);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.mv-card ul li::before {
  content: '→';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.facilities { background: var(--off-white); }
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.facility-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  border: 1px solid var(--grey-100);
  transition: var(--transition);
}
.facility-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.facility-card .f-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.facility-card h4 { margin-bottom: 8px; }
.facility-card p { font-size: 0.85rem; }

/* ===== SERVICES PAGE ===== */
.services-detail { background: var(--white); }
.service-category {
  margin-bottom: 60px;
}
.service-category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--grey-100);
}
.service-category-header .cat-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.service-category-header h2 { margin-bottom: 0; }
.services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-item {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--grey-100);
  transition: var(--transition);
}
.service-item:hover {
  background: var(--white);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.service-item .si-icon {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.service-item h4 { margin-bottom: 8px; font-size: 1rem; }
.service-item p { font-size: 0.875rem; }

/* ===== DOCTORS PAGE ===== */
.doctors-section { background: var(--off-white); }
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.doctor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--grey-100);
  transition: var(--transition);
}
.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.doctor-photo {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, var(--grey-100), var(--grey-200));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--grey-300);
  position: relative;
}
.doctor-photo .dept-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--accent);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.doctor-info {
  padding: 28px;
}
.doctor-info h3 { margin-bottom: 4px; }
.doctor-info .specialization {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.doctor-info .qualifications {
  font-size: 0.8rem;
  color: var(--grey-400);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--grey-100);
}
.doctor-info .experience {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--grey-500);
}
.doctor-info .experience strong { color: var(--primary); }

/* ===== APPOINTMENT PAGE ===== */
.appointment-section { background: var(--off-white); }
.appointment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}
.appointment-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-100);
}
.appointment-form-card h3 { margin-bottom: 8px; }
.appointment-form-card > p { margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-700);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-main);
  color: var(--grey-800);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--grey-300);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.appointment-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--grey-100);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}
.info-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.info-card .ic-icon {
  width: 48px; height: 48px;
  background: rgba(13,148,136,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.info-card h4 { margin-bottom: 4px; }
.info-card p { font-size: 0.85rem; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}
.form-success .success-icon {
  width: 80px; height: 80px;
  background: rgba(13,148,136,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 20px;
}
.form-success h3 { color: var(--accent); margin-bottom: 8px; }

/* ===== GALLERY PAGE ===== */
.gallery-section { background: var(--white); }
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 32px 0;
  flex-wrap: wrap;
}
.gallery-filters button {
  padding: 8px 24px;
  border: 1.5px solid var(--grey-200);
  border-radius: 50px;
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--grey-500);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}
.gallery-filters button:hover,
.gallery-filters button.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: linear-gradient(135deg, var(--grey-100), var(--grey-200));
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery-item .gi-placeholder {
  text-align: center;
  color: var(--grey-400);
  padding: 20px;
}
.gallery-item .gi-placeholder .gi-icon { font-size: 2.5rem; margin-bottom: 8px; }
.gallery-item .gi-placeholder span { font-size: 0.8rem; }
.gallery-item .gi-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,42,74,0.8), transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.gallery-item:hover .gi-overlay { opacity: 1; }
.gallery-item .gi-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}
.gallery-item.large { grid-column: span 2; grid-row: span 2; }

/* ===== CONTACT PAGE ===== */
.contact-section { background: var(--off-white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-100);
}
.contact-form-card h3 { margin-bottom: 8px; }
.contact-form-card > p { margin-bottom: 32px; }
.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--grey-100);
  transition: var(--transition);
}
.contact-info-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.contact-info-item .cii-icon {
  width: 48px; height: 48px;
  background: rgba(13,148,136,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-item h4 { margin-bottom: 4px; font-size: 0.95rem; }
.contact-info-item p { font-size: 0.85rem; }
.map-container {
  margin-top: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--grey-100);
  box-shadow: var(--shadow-md);
  background: var(--grey-100);
  height: 350px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px; height: 48px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
}

/* ===== MOBILE NAV OVERLAY ===== */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .appointment-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.large { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 300px; height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 24px 24px;
    gap: 4px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: var(--transition);
    z-index: 999;
    align-items: stretch;
  }
  .nav-links.open { right: 0; }
  .nav-links a {
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }
  .nav-links a.active::after { display: none; }
  .nav-cta { margin-left: 0; margin-top: 16px; }
  .nav-cta .btn { width: 100%; }
  .mobile-toggle { display: flex; }
  .why-grid { grid-template-columns: 1fr; }
  .services-list { grid-template-columns: 1fr; }
  .doctors-grid { grid-template-columns: 1fr; }
  .facilities-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.large { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 60px 0; }
  .section { padding: 60px 0; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.75rem; }
  .hero-stats { flex-direction: column; align-items: center; gap: 16px; }
  .hero-stat { text-align: center; }
  .btn { padding: 12px 24px; font-size: 0.875rem; }
  .page-hero { padding: 80px 0 40px; }
}

/* ===== IMAGE STYLES ===== */
.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #0B2A4A 0%, #0D3B66 50%, #1A4A7A 100%);
}
.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fadeInImg 0.6s ease-out 0.3s forwards;
}
.hero-bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,42,74,0.92) 0%, rgba(13,59,102,0.85) 50%, rgba(26,74,122,0.8) 100%);
}
@keyframes fadeInImg {
  to { opacity: 0.25; }
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #0B2A4A, #1A4A7A);
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fadeInImg2 0.6s ease-out 0.3s forwards;
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,42,74,0.93), rgba(13,59,102,0.88));
}
@keyframes fadeInImg2 {
  to { opacity: 0.2; }
}

.about-image-bg img,
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.service-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  margin: -40px -40px 24px -40px;
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.facility-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  margin: -32px -32px 20px -32px;
}

.info-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  margin: -40px -40px 24px -40px;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}
.cta-section { position: relative; overflow: hidden; }
.cta-section > .container { position: relative; z-index: 2; }
