/* ===== CSS Variables & Reset ===== */
:root {
  --primary: #1a6e3a;
  --primary-dark: #0d4f28;
  --primary-light: #2d9b54;
  --secondary: #c0392b;
  --secondary-light: #e74c3c;
  --accent: #2980b9;
  --accent-light: #3498db;
  --gold: #d4a017;
  --text-dark: #1a1a2e;
  --text-medium: #444;
  --text-light: #666;
  --text-white: #fff;
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-cream: #fdf6e3;
  --bg-green-light: #e8f5e9;
  --border-light: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--bg-white);
  overflow-x: hidden;
}

html[lang="hi"] body {
  font-family: 'Noto Sans Devanagari', 'Inter', 'Segoe UI', system-ui, sans-serif;
}

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 20px;
}

/* ===== Top Bar ===== */
.top-bar {
  background: var(--primary-dark);
  color: var(--text-white);
  padding: 8px 0;
  font-size: 0.85rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-left a {
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-left a:hover {
  color: var(--gold);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social-links a {
  color: var(--text-white);
  font-size: 1rem;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--gold);
  transform: scale(1.2);
}

.lang-toggle {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--text-white);
  padding: 4px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: var(--transition);
}

.lang-toggle:hover {
  background: rgba(255,255,255,0.25);
}

/* ===== Header / Navbar ===== */
.header {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

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

.logo img {
  height: 60px;
  width: auto;
}

.logo-text h1 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.logo-text p {
  font-size: 0.7rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-links a {
  padding: 8px 16px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--bg-green-light);
}

.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm);
  min-width: 220px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.nav-links .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.88rem;
  border-radius: 0;
}

.dropdown-menu a:hover {
  background: var(--bg-green-light);
}

.emergency-btn {
  background: var(--secondary);
  color: var(--text-white) !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  animation: pulse-emergency 2s infinite;
}

.emergency-btn:hover {
  background: var(--secondary-light) !important;
  color: var(--text-white) !important;
}

@keyframes pulse-emergency {
  0%, 100% { box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(192, 57, 43, 0); }
}

.mobile-menu-btn,
.mobile-close-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
  padding: 8px;
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: var(--text-white);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero h2 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h2 span {
  color: var(--gold);
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 520px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.stat-item {
  text-align: center;
}

.stat-item .number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
}

.stat-item .label {
  font-size: 0.82rem;
  opacity: 0.8;
  margin-top: 2px;
}

.hero-image {
  flex: 0.9;
  position: relative;
}

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

.hero-image .floating-card {
  position: absolute;
  background: var(--bg-white);
  color: var(--text-dark);
  padding: 15px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 3s ease-in-out infinite;
}

.floating-card.card-1 {
  top: 15%;
  right: -20px;
}

.floating-card.card-2 {
  bottom: 15%;
  left: -20px;
  animation-delay: 1.5s;
}

.floating-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.floating-card .icon.green { background: var(--bg-green-light); color: var(--primary); }
.floating-card .icon.red { background: #fce4ec; color: var(--secondary); }

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  justify-content: center;
}

.btn-primary {
  background: var(--text-white);
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--gold);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

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

.btn-outline:hover {
  background: var(--text-white);
  color: var(--primary);
  border-color: var(--text-white);
  transform: translateY(-2px);
}

.btn-green {
  background: var(--primary);
  color: var(--text-white);
}

.btn-green:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(26,110,58,0.3);
}

.btn-red {
  background: var(--secondary);
  color: var(--text-white);
}

.btn-red:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(192,57,43,0.3);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.88rem;
}

/* ===== Section Styles ===== */
.section {
  padding: 80px 0;
}

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

.section-header .subtitle {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-header .divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--gold));
  border-radius: 2px;
  margin: 15px auto 0;
}

/* ===== Services Grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  background: var(--bg-green-light);
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.service-card p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.6;
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 15px;
}

.service-card .learn-more:hover {
  gap: 10px;
}

/* ===== About Preview ===== */
.about-preview {
  background: var(--bg-light);
}

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

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-image .experience-badge {
  position: absolute;
  bottom: -20px;
  right: 30px;
  background: var(--primary);
  color: var(--text-white);
  padding: 20px 25px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.experience-badge .years {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.8rem;
  opacity: 0.9;
}

.about-content h3 {
  color: var(--primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.about-content h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-content > p {
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.7;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.92rem;
}

.about-feature .check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-green-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ===== Doctors Section ===== */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.doctor-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

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

.doctor-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 4rem;
  position: relative;
}

.doctor-info {
  padding: 25px;
}

.doctor-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.doctor-info .specialty {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.doctor-info .qualification {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.doctor-info p {
  color: var(--text-medium);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== Testimonials ===== */
.testimonials {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--text-white);
}

.testimonials .section-header .subtitle {
  color: var(--gold);
}

.testimonials .section-header h2 {
  color: var(--text-white);
}

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

.testimonials .section-header .divider {
  background: linear-gradient(to right, var(--gold), rgba(255,255,255,0.5));
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.testimonial-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: var(--transition);
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-3px);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 15px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.95;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-author .name {
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-author .source {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--bg-cream);
  padding: 50px 0;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-content h2 {
  font-size: 1.8rem;
  font-weight: 800;
}

.cta-content p {
  color: var(--text-light);
  margin-top: 5px;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* ===== Facilities Marquee ===== */
.facilities-bar {
  background: var(--bg-green-light);
  padding: 15px 0;
  overflow: hidden;
}

.marquee {
  display: flex;
  gap: 40px;
  animation: marquee 30s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-dark);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== ENT Page Specific ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--text-white);
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.page-hero p {
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb .separator {
  opacity: 0.6;
  font-size: 0.7rem;
}

.breadcrumb .current {
  color: var(--gold);
  font-weight: 600;
}

.page-hero-subtitle {
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ===== About Page Main Section ===== */
.about-main {
  background: var(--bg-light);
}

/* ===== Mission & Vision ===== */
.mission-vision {
  background: var(--bg-white);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.mission-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 40px;
  text-align: center;
  transition: var(--transition);
}

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

.mission-card .mission-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--bg-green-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.mission-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.mission-card p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
}

/* ===== Accessibility Section ===== */
.accessibility-section {
  background: var(--bg-white);
}

.accessibility-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 40px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
}

.accessibility-content .accessibility-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-green-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 20px;
}

.accessibility-content h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.accessibility-content p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

.ent-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.ent-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 35px;
  transition: var(--transition);
}

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

.ent-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ent-card h3 .icon {
  font-size: 1.5rem;
}

.ent-card p {
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.7;
}

.ent-card ul {
  list-style: none;
}

.ent-card ul li {
  padding: 6px 0;
  color: var(--text-medium);
  font-size: 0.92rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.ent-card ul li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-cards {
  display: grid;
  gap: 20px;
}

.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 25px;
  display: flex;
  gap: 15px;
  transition: var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-light);
}

.contact-card .icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--bg-green-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.contact-card p,
.contact-card a {
  color: var(--text-light);
  font-size: 0.9rem;
}

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

.contact-form {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 35px;
}

.contact-form h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 25px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,110,58,0.1);
  background: var(--bg-white);
}

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

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

.map-container {
  margin-top: 40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* ===== About Page ===== */
.about-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-light));
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  padding-bottom: 30px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg-white);
  box-shadow: 0 0 0 3px var(--primary);
}

.timeline-item h4 {
  font-size: 1.05rem;
  margin-bottom: 5px;
  color: var(--primary);
}

.timeline-item p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.6;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.value-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.value-card .icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--bg-green-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 15px;
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.value-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ===== Services Page ===== */
.services-detailed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}

.service-detailed-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: var(--transition);
}

.service-detailed-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
  transform: translateY(-3px);
}

.service-detailed-card .card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.service-detailed-card .card-icon {
  width: 55px;
  height: 55px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.service-detailed-card .card-icon.green { background: var(--bg-green-light); color: var(--primary); }
.service-detailed-card .card-icon.blue { background: #e3f2fd; color: var(--accent); }
.service-detailed-card .card-icon.red { background: #fce4ec; color: var(--secondary); }
.service-detailed-card .card-icon.gold { background: #fff8e1; color: var(--gold); }
.service-detailed-card .card-icon.purple { background: #f3e5f5; color: #8e24aa; }
.service-detailed-card .card-icon.teal { background: #e0f2f1; color: #00897b; }

.service-detailed-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.service-detailed-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.service-detailed-card ul {
  list-style: none;
}

.service-detailed-card ul li {
  padding: 4px 0;
  color: var(--text-medium);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-detailed-card ul li::before {
  content: '•';
  color: var(--primary);
  font-weight: 700;
  font-size: 1.2rem;
}

.service-detailed-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 15px;
}

.service-detailed-card .learn-more:hover {
  color: var(--primary-dark);
  gap: 10px;
}

/* ===== Footer ===== */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-about .logo {
  margin-bottom: 15px;
}

.footer-about .logo img {
  height: 50px;
  filter: brightness(1.2);
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--text-white);
  transform: translateY(-3px);
}

.footer h4 {
  color: var(--text-white);
  font-size: 1.05rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.footer-contact .icon {
  color: var(--primary-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
}

.footer-bottom p {
  opacity: 0.6;
}

.formerly-note {
  text-align: center;
  padding: 12px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  font-style: italic;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 10px;
}

/* ===== Rating Badge ===== */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-cream);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
}

.rating-badge .stars {
  color: var(--gold);
}

/* ===== Accessibility Badge ===== */
.accessibility-info {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.access-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero p { margin: 0 auto 30px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }

  .about-grid,
  .about-full,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .top-bar .container {
    justify-content: center;
    text-align: center;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    z-index: 999;
    padding: 20px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 12px 20px;
    width: 100%;
    text-align: center;
  }

  .nav-links .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    margin-top: 5px;
  }

  .mobile-menu-btn {
    display: block;
    z-index: 1001;
  }

  .mobile-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-dark);
    display: none;
  }

  .nav-links.active .mobile-close-btn {
    display: block;
  }

  .hero h2 { font-size: 2rem; }
  .hero-image { display: none; }

  .section { padding: 50px 0; }
  .section-header h2 { font-size: 1.7rem; }

  .services-grid,
  .ent-services-grid,
  .services-detailed-grid {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .cta-content {
    text-align: center;
    justify-content: center;
  }

  .cta-buttons {
    justify-content: center;
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero h2 { font-size: 1.6rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .doctors-grid { grid-template-columns: 1fr; }
}

/* ===== Scroll to Top ===== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-white);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 99;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: var(--transition);
  animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* ===== Loading Animation ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
