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

:root {
  --primary: #0d2137;
  --primary-dark: #070f1c;
  --primary-light: #d4eaff;
  --primary-glow: rgba(13, 33, 55, 0.12);
  --sky: #4a9eff;
  --sky-light: #87ceeb;
  --sky-dark: #2b6cb0;
  --sky-bg: #e8f4fd;
  --accent: #f0b429;
  --accent-dark: #d49a1a;
  --accent-light: #fef7e0;
  --text-dark: #0a1628;
  --text-muted: #3d5470;
  --text-light: #6b82a0;
  --bg-light: #f0f5fa;
  --bg-white: #ffffff;
  --border-light: #dce5ef;
  --border-medium: #b0c4de;
  --shadow-sm: 0 2px 8px rgba(13, 33, 55, 0.06);
  --shadow-md: 0 6px 24px rgba(13, 33, 55, 0.08);
  --shadow-lg: 0 12px 40px rgba(13, 33, 55, 0.12);
  --shadow-xl: 0 20px 60px rgba(13, 33, 55, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 7px 0;
  border-bottom: 3px solid var(--sky);
}

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

.top-bar a { color: rgba(255,255,255,0.85); transition: var(--transition); }
.top-bar a:hover { color: var(--sky-light); }

.top-bar .contact-info span { margin-right: 22px; }
.top-bar .contact-info i { margin-right: 6px; color: var(--sky-light); }

/* ===== HEADER ===== */
.header {
  background: var(--bg-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 24px;
}

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

.logo-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--sky-dark));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.logo-text h1 {
  font-size: 22px;
  color: var(--primary);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.logo-text span {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}

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

.nav a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav a:hover {
  color: var(--sky-dark);
  background: var(--sky-bg);
}

.nav a.active {
  color: var(--primary);
  background: var(--sky-bg);
  font-weight: 700;
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.emergency-btn {
  background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
  color: var(--bg-white) !important;
  padding: 10px 20px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
  animation: pulse-emergency 2s infinite;
}

.emergency-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4) !important;
  background: linear-gradient(135deg, #b91c1c, #991b1b) !important;
  color: var(--bg-white) !important;
}

@keyframes pulse-emergency {
  0%, 100% { box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3); }
  50% { box-shadow: 0 4px 24px rgba(220, 38, 38, 0.5); }
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 6px;
  background: var(--bg-light);
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: var(--transition);
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 580px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(1.05);
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
}

.hero-slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,15,28,0.88) 0%, rgba(13,33,55,0.75) 50%, rgba(43,108,176,0.5) 100%);
}

.hero-slide .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-content h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  color: var(--bg-white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.hero-content p {
  font-size: 17px;
  opacity: 0.92;
  margin-bottom: 28px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  max-width: 540px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 32px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--bg-white);
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(240, 180, 41, 0.35);
}

.btn-accent {
  background: linear-gradient(135deg, var(--sky), var(--sky-dark));
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(74, 158, 255, 0.3);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(74, 158, 255, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--bg-white);
  border: 2px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}

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

.hero-image-card {
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  height: 350px;
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.25);
  box-shadow: 0 0 16px rgba(240, 180, 41, 0.5);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--bg-white);
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--sky);
  border-color: var(--sky);
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* ===== SECTION COMMON ===== */
.section {
  padding: 90px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 55px;
}

.section-title h2 {
  font-size: 36px;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--sky), var(--sky-dark));
  margin: 14px auto 0;
  border-radius: 3px;
}

.section-title p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  margin-top: 10px;
}

.section-bg {
  background: var(--bg-white);
}

.section-alt {
  background: var(--sky-bg);
}

/* ===== DEPARTMENT CARDS WITH IMAGES ===== */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.dept-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);
  cursor: pointer;
  position: relative;
}

.dept-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--sky-light);
}

.dept-card-img {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.dept-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.dept-card:hover .dept-card-img img {
  transform: scale(1.1);
}

.dept-card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, rgba(13, 33, 55, 0.7));
}

.dept-card-icon {
  position: absolute;
  bottom: 12px;
  left: 16px;
  z-index: 2;
  color: var(--bg-white);
  font-size: 24px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.dept-card-body {
  padding: 18px 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dept-card-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
}

.dept-card-body .dept-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sky-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-dark);
  transition: var(--transition);
  font-size: 14px;
  flex-shrink: 0;
}

.dept-card:hover .dept-arrow {
  background: var(--sky);
  color: var(--bg-white);
  transform: rotate(45deg);
}

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--sky));
  opacity: 0;
  transition: var(--transition);
}

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

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 72px;
  height: 72px;
  background: var(--sky-bg);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 30px;
  color: var(--sky-dark);
  transition: var(--transition);
}

.card:hover .card-icon {
  background: linear-gradient(135deg, var(--primary), var(--sky-dark));
  color: var(--bg-white);
  border-radius: 18px;
  transform: scale(1.05);
}

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

.card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ===== IMAGE CARD ===== */
.img-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  background: var(--bg-white);
}

.img-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.img-card-img {
  height: 220px;
  overflow: hidden;
}

.img-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.img-card:hover .img-card-img img {
  transform: scale(1.08);
}

.img-card-body {
  padding: 24px 22px 28px;
}

.img-card-body h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.img-card-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.img-card-body .badge {
  display: inline-block;
  background: var(--sky-bg);
  color: var(--sky-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== DOCTOR CARDS ===== */
.doctor-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  border: 1px solid var(--border-light);
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.doctor-img {
  width: 100%;
  height: 260px;
  overflow: hidden;
  position: relative;
}

.doctor-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.doctor-card:hover .doctor-img img {
  transform: scale(1.06);
}

.doctor-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(0,0,0,0.1));
}

.doctor-info {
  padding: 24px 20px 28px;
}

.doctor-info h3 {
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 4px;
  font-weight: 700;
}

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

.doctor-info .specialty {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.doctor-info .timing {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.doctor-info .timing i { margin-right: 6px; color: var(--sky); }

/* ===== APPOINTMENT FORM ===== */
.appointment-form {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-white);
  padding: 50px 50px 45px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

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

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--text-dark);
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 18px;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  font-size: 15px;
  transition: var(--transition);
  font-family: inherit;
  background: var(--bg-light);
  color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sky);
  background: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(74, 158, 255, 0.12);
}

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

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

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--bg-white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.contact-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--sky-light);
  transform: translateX(4px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--sky-bg);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--sky-dark);
}

.contact-item h4 {
  font-size: 16px;
  margin-bottom: 3px;
  font-weight: 700;
}

.contact-item p,
.contact-item a {
  color: var(--text-muted);
  font-size: 14px;
}

.contact-item a:hover { color: var(--sky-dark); }

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

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sky-bg), #bbdefb);
  color: var(--primary);
  text-align: center;
  padding: 20px;
}

.map-placeholder i {
  font-size: 52px;
  margin-bottom: 14px;
  color: var(--sky-dark);
  opacity: 0.7;
}

.map-placeholder p {
  font-size: 16px;
  font-weight: 600;
}

.map-placeholder small {
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.75);
  padding: 65px 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sky), var(--accent), var(--sky-light));
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 45px;
}

.footer h3 {
  color: var(--bg-white);
  font-size: 17px;
  margin-bottom: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.footer h3::after {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background: var(--sky-light);
  margin-top: 10px;
  border-radius: 2px;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.6);
}

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

.footer-links ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links ul li a::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 11px;
  color: var(--sky-light);
}

.footer-links ul li a:hover {
  color: var(--sky-light);
  padding-left: 4px;
}

.footer-contact p {
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.6);
}

.footer-contact i {
  width: 20px;
  color: var(--sky-light);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.05);
}

.social-links a:hover {
  background: var(--sky);
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(74, 158, 255, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  margin-top: 50px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--sky-light);
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--sky-dark) 100%);
  color: var(--bg-white);
  padding: 70px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}

.page-header h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.5px;
}

.page-header p {
  font-size: 17px;
  opacity: 0.85;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  margin-top: 14px;
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.breadcrumb a { color: rgba(255,255,255,0.7); transition: var(--transition); }
.breadcrumb a:hover { color: var(--sky-light); }
.breadcrumb span { margin: 0 8px; opacity: 0.4; }
.breadcrumb .current { color: var(--sky-light); font-weight: 600; }

/* ===== ABOUT PAGE ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 420px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content h2 {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.about-content p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 14px;
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--sky-bg);
  padding: 12px 18px;
  border-radius: 10px;
  border-left: 3px solid var(--sky);
}

.value-item i {
  color: var(--sky-dark);
  font-size: 18px;
}

.value-item span {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
}

/* ===== SERVICE CARD ===== */
.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 38px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  border: 1px solid var(--border-light);
}

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

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--sky-bg);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 34px;
  color: var(--sky-dark);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), var(--sky-dark));
  color: var(--bg-white);
  border-radius: 20px;
  transform: scale(1.05) rotate(4deg);
}

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

.service-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ===== SUCCESS MESSAGE ===== */
.success-message {
  display: none;
  text-align: center;
  padding: 40px 30px;
  background: linear-gradient(135deg, #e8f8f5, #d4f1ec);
  border-radius: var(--radius-md);
  margin-top: 24px;
  border: 2px solid #a3e4d7;
}

.success-message.show { display: block; }

.success-message i {
  font-size: 60px;
  color: #27ae60;
  margin-bottom: 14px;
}

.success-message h3 {
  color: #1e8449;
  margin-bottom: 6px;
  font-size: 22px;
}

.success-message p {
  color: var(--text-muted);
}

/* ===== SECTION SLIDER ===== */
.section-slider {
  position: relative;
  overflow: hidden;
}

.section-slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 8px 4px;
}

.section-slider-track > * {
  min-width: calc(33.333% - 16px);
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .section-slider-track > * { min-width: calc(50% - 12px); }
}

@media (max-width: 576px) {
  .section-slider-track > * { min-width: calc(100% - 0px); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-slider { height: 500px; }
  .hero-content h1 { font-size: 34px; }
}

@media (max-width: 992px) {
  .hero-slide .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p { margin: 0 auto 28px; }
  .hero-buttons { justify-content: center; }
  .hero-image-card { display: none; }
  .hero-slider { height: 460px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { height: 300px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .dept-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 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: 16px;
    box-shadow: var(--shadow-lg);
    gap: 4px;
    border-bottom: 3px solid var(--primary);
  }
  .nav.active { display: flex; }
  .nav a { width: 100%; padding: 12px 16px; }
  .nav a.active::after { display: none; }
  .emergency-btn { text-align: center; }
  .hero-slider { height: 400px; }
  .hero-content h1 { font-size: 28px; }
  .hero-content p { font-size: 15px; }
  .section { padding: 60px 0; }
  .section-title h2 { font-size: 28px; }
  .page-header { padding: 50px 0; }
  .page-header h1 { font-size: 30px; }
  .appointment-form { padding: 30px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .top-bar .container { flex-direction: column; text-align: center; }
  .top-bar .contact-info span { margin: 0 10px; }
  .slider-arrow { width: 40px; height: 40px; font-size: 16px; }
  .slider-arrow.prev { left: 10px; }
  .slider-arrow.next { right: 10px; }
  .dept-card-img { height: 150px; }
}

@media (max-width: 480px) {
  .hero-slider { height: 360px; }
  .hero-content h1 { font-size: 24px; }
  .btn { padding: 13px 22px; font-size: 14px; }
  .dept-grid { grid-template-columns: 1fr; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-in-delay-1 { animation-delay: 0.1s; }
.animate-in-delay-2 { animation-delay: 0.2s; }
.animate-in-delay-3 { animation-delay: 0.3s; }
