:root {
  --primary: #0a7e8c;
  --primary-dark: #065a64;
  --primary-light: #e0f5f8;
  --accent: #f39c12;
  --accent-hover: #e08e0b;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --text-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border: #e8ecef;
  --shadow: 0 2px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
  --font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --whatsapp: #25d366;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--bg-light);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2.2rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}
.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 10px auto 0;
  border-radius: 2px;
}
.section-title p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}
.btn-primary { background: var(--primary); color: var(--text-white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(10,126,140,0.3); }
.btn-accent { background: var(--accent); color: var(--text-white); }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(243,156,18,0.3); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--text-white); transform: translateY(-2px); }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }

/* ========== 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 a { color: var(--text-white); margin-right: 20px; }
.top-bar a i { margin-right: 6px; }
.top-bar .social-links a {
  margin-right: 12px;
  font-size: 1rem;
  transition: var(--transition);
}
.top-bar .social-links a:hover { color: var(--accent); }
.top-bar .emergency {
  background: var(--accent);
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ========== HEADER / NAVBAR ========== */
header {
  background: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.5rem;
  font-weight: 700;
}
.logo-text h1 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  line-height: 1.2;
}
.logo-text span {
  font-size: 0.8rem;
  color: var(--text-light);
}
nav { display: flex; align-items: center; gap: 8px; }
nav a {
  padding: 8px 16px;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: var(--transition);
}
nav a:hover, nav a.active { background: var(--primary-light); color: var(--primary); }
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; padding: 5px; }
.hamburger span { width: 26px; height: 3px; background: var(--primary-dark); border-radius: 2px; transition: var(--transition); }

/* ========== HERO SLIDESHOW ========== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--text-white);
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slides .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slides .slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,90,100,0.85) 0%, rgba(10,126,140,0.7) 50%, rgba(14,165,179,0.5) 100%);
  z-index: 1;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-content { max-width: 600px; }
.hero-slide-text { display: none; }
.hero-slide-text.active { display: block; animation: fadeSlideIn 0.8s ease forwards; }
@keyframes fadeSlideIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
.hero-content h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero-content h1 span { color: var(--accent); }
.hero-content p {
  font-size: 1.1rem;
  opacity: 0.92;
  margin-bottom: 28px;
  line-height: 1.8;
}
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 5px; }

/* Hero arrows */
.hero-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}
.hero-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.12);
  color: var(--text-white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  pointer-events: auto;
  backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.7); }

/* Hero dots */
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.hero-dots span.active { background: var(--accent); border-color: rgba(255,255,255,0.5); transform: scale(1.2); }
.hero-dots span:hover { background: rgba(255,255,255,0.6); }


/* ========== STATS ========== */
.stats {
  background: var(--bg-white);
  padding: 40px 0;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
  margin-top: -40px;
  border-radius: var(--radius);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item h3 { font-size: 2rem; color: var(--primary); margin-bottom: 4px; }
.stat-item p { color: var(--text-light); font-size: 0.9rem; font-weight: 500; }
.stat-item i { font-size: 1.8rem; color: var(--accent); margin-bottom: 10px; }

/* ========== ABOUT SECTION ========== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-image {
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,126,140,0.15), transparent);
}
.about-text h2 { font-size: 2rem; color: var(--primary-dark); margin-bottom: 16px; }
.about-text p { color: var(--text-light); margin-bottom: 16px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 20px; }
.about-features li { display: flex; align-items: center; gap: 10px; color: var(--text-dark); }
.about-features li i { color: var(--primary); }

/* ========== DEPARTMENTS SECTION ========== */
.departments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}
.dept-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  border-bottom: 4px solid transparent;
}
.dept-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-bottom-color: var(--primary); }
.dept-card-img { height: 180px; overflow: hidden; margin: -30px -30px 20px; border-radius: var(--radius) var(--radius) 0 0; }
.dept-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.dept-card:hover .dept-card-img img { transform: scale(1.05); }
.dept-card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 16px; }
.dept-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--primary-dark); }
.dept-card p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 15px; }
.dept-card a { color: var(--primary); font-weight: 600; font-size: 0.9rem; }
.dept-card a:hover { color: var(--accent); }

/* ========== DOCTORS SECTION ========== */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
}
.doctor-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}
.doctor-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.doctor-img {
  width: 100%;
  height: 260px;
  overflow: hidden;
  position: relative;
}
.doctor-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.doctor-card:hover .doctor-img img { transform: scale(1.05); }
.doctor-img .fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #d4eef2, var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--primary);
}
.doctor-info { padding: 20px; }
.doctor-info h3 { font-size: 1.1rem; color: var(--primary-dark); margin-bottom: 4px; }
.doctor-info .specialty { color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.doctor-info p { color: var(--text-light); font-size: 0.85rem; margin-bottom: 12px; }
.doctor-info .social { display: flex; justify-content: center; gap: 12px; }
.doctor-info .social a { width: 36px; height: 36px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.doctor-info .social a:hover { background: var(--primary); color: var(--text-white); }

/* ========== NEWS SECTION ========== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}
.news-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.news-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.news-card:hover .news-img img { transform: scale(1.05); }
.news-img .fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light), #c5e8ed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary);
}
.news-body { padding: 25px; }
.news-body .date { color: var(--text-light); font-size: 0.85rem; margin-bottom: 8px; }
.news-body .date i { margin-right: 6px; }
.news-body h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--primary-dark); }
.news-body p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 15px; }
.news-body a { color: var(--primary); font-weight: 600; font-size: 0.9rem; }

/* ========== GALLERY ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  height: 250px;
  transition: var(--transition);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #d4eef2, var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary);
}
.gallery-item:hover { transform: scale(1.03); box-shadow: var(--shadow-hover); }
.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,126,140,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--text-white);
  opacity: 0;
  transition: var(--transition);
  font-size: 0.95rem;
}
.gallery-item:hover .overlay { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img, .lightbox .lightbox-placeholder {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 8px;
}
.lightbox .lightbox-placeholder {
  width: 600px;
  height: 400px;
  background: linear-gradient(135deg, #d4eef2, var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--primary);
  border-radius: var(--radius);
}
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: var(--text-white);
  font-size: 2.5rem;
  cursor: pointer;
  transition: var(--transition);
}
.lightbox-close:hover { color: var(--accent); }

/* ========== FAQ ========== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-question {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-dark);
  transition: var(--transition);
}
.faq-question:hover { background: var(--primary-light); }
.faq-question i { transition: var(--transition); color: var(--primary); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--text-light);
  font-size: 0.95rem;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 25px 20px;
}

/* ========== APPOINTMENT ========== */
.appointment-section { background: var(--bg-white); }
.appointment-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.appointment-info h2 { font-size: 2rem; color: var(--primary-dark); margin-bottom: 16px; }
.appointment-info p { color: var(--text-light); margin-bottom: 20px; }
.appointment-info .info-item { display: flex; gap: 15px; margin-bottom: 15px; }
.appointment-info .info-item i { font-size: 1.3rem; color: var(--primary); width: 30px; margin-top: 3px; }
.appointment-form { background: var(--bg-light); padding: 35px; border-radius: var(--radius); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9rem; color: var(--text-dark); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--bg-white);
}
.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(10,126,140,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group .error { color: #e74c3c; font-size: 0.8rem; margin-top: 4px; display: none; }
.form-group.invalid input, .form-group.invalid select, .form-group.invalid textarea { border-color: #e74c3c; }
.form-group.invalid .error { display: block; }

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info-card {
  background: var(--bg-white);
  padding: 35px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-info-card h3 { font-size: 1.3rem; color: var(--primary-dark); margin-bottom: 20px; }
.contact-detail { display: flex; gap: 15px; margin-bottom: 20px; }
.contact-detail i { font-size: 1.3rem; color: var(--primary); width: 35px; height: 35px; background: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.contact-detail div h4 { font-size: 0.95rem; margin-bottom: 3px; }
.contact-detail div p { color: var(--text-light); font-size: 0.9rem; }
.contact-form-card {
  background: var(--bg-white);
  padding: 35px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-form-card h3 { font-size: 1.3rem; color: var(--primary-dark); margin-bottom: 20px; }

/* ========== FOOTER ========== */
footer {
  background: var(--primary-dark);
  color: var(--text-white);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-about h3 { font-size: 1.2rem; margin-bottom: 15px; }
.footer-about p { font-size: 0.9rem; opacity: 0.8; margin-bottom: 15px; }
.footer-about .social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: inline-flex; align-items: center; justify-content: center; margin-right: 8px; font-size: 1rem; }
.footer-about .social a:hover { background: var(--accent); }
footer h4 { font-size: 1.1rem; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
footer h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 35px; height: 3px; background: var(--accent); border-radius: 2px; }
footer ul li { margin-bottom: 10px; }
footer ul li a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
footer ul li a:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ========== PAGE HEADER ========== */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--text-white);
  padding: 60px 0;
  text-align: center;
}
.page-header h1 { font-size: 2.5rem; margin-bottom: 10px; }
.page-header p { opacity: 0.9; font-size: 1.05rem; }
.breadcrumb { margin-top: 12px; font-size: 0.9rem; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--accent); }

/* ========== WHATSAPP FLOATING BUTTON ========== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
}
.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  color: var(--text-white);
  border-radius: 50%;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  text-decoration: none;
}
.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37,211,102,0.5);
}
.whatsapp-float .tooltip {
  background: var(--whatsapp);
  color: var(--text-white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
  animation: pulse-tooltip 2s infinite;
}
@keyframes pulse-tooltip {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: 45px;
  height: 45px;
  background: var(--primary);
  color: var(--text-white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 998;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ========== NOTIFICATION TOAST ========== */
.toast {
  position: fixed;
  top: 100px;
  right: 25px;
  background: var(--bg-white);
  padding: 18px 25px;
  border-radius: var(--radius);
  box-shadow: 0 5px 25px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  transform: translateX(120%);
  transition: transform 0.4s ease;
  max-width: 400px;
}
.toast.show { transform: translateX(0); }
.toast i { font-size: 1.5rem; }
.toast.success i { color: #27ae60; }
.toast.error i { color: #e74c3c; }
.toast p { color: var(--text-dark); font-size: 0.9rem; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero { min-height: 70vh; }
  .hero-content { max-width: 100%; }
  .hero-content h1 { font-size: 2.4rem; }
  .hero-buttons { justify-content: center; }
  .hero-arrows { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-white); flex-direction: column; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); gap: 4px; }
  nav.open { display: flex; }
  nav a { padding: 12px 16px; }
  .hero { min-height: 60vh; padding: 80px 0 60px; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: 1rem; }
  .hero-dots { bottom: 18px; }
  .stats .container { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .stats { margin-top: 0; border-radius: 0; }
  .about-grid, .appointment-wrapper, .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .section-title h2 { font-size: 1.8rem; }
  .page-header h1 { font-size: 1.8rem; }
  .news-grid { grid-template-columns: 1fr; }
  .top-bar .container { flex-direction: column; text-align: center; }
  .top-bar .contact-info { display: flex; flex-direction: column; align-items: center; }
  .whatsapp-float .tooltip { display: none; }
}

@media (max-width: 480px) {
  .logo-text h1 { font-size: 0.9rem; }
  .logo-icon { width: 40px; height: 40px; font-size: 1.2rem; }
  .hero { min-height: 50vh; padding: 60px 0 50px; }
  .hero-content h1 { font-size: 1.5rem; }
  .hero-dots span { width: 10px; height: 10px; }
  .stats .container { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-item h3 { font-size: 1.5rem; }
  .departments-grid, .doctors-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .section-padding { padding: 50px 0; }
}
