* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

body {
  background: #f4f7fb;
  color: #222;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

a { 
  text-decoration: none;
 }
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 60px;
  background: #0f172a;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: padding 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 16px rgba(0,0,0,0.35);
}

.logo {
   flex-shrink: 0;
   }
.logo img {
  height: 40px;
  width: auto;
  display: block;
  transition: transform 0.25s, opacity 0.25s;
}
.logo:hover img { 
  transform: scale(1.06);
   opacity: 0.85;
   }

.navbar-center {
  display: flex;
  gap: 0;
  flex: 1;
  justify-content: center;
}

.navbar-center a {
  margin: 0 16px;
  color: #cbd5e1;
  font-size: 14px;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
  font-weight: 500;
}

.navbar-center a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: #0ea5e9;
  transition: width 0.25s ease;
  border-radius: 2px;
}
.navbar-center a:hover::after,
.navbar-center a.active::after {
   width: 100%; 
  }

.navbar-center a:hover,
.navbar-center a.active { 
  color: #38bdf8; 
  font-weight: bold; 
}

.navbar-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-login {
  border: 2px solid #38bdf8;
  color: #38bdf8;
  padding: 9px 22px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: bold;
  background: transparent;
  transition: all 0.2s ease;
}

.btn-login:hover {
  background: #38bdf8;
  color: white;
  transform: translateY(1px);
}
.btn-book {
  background: #38bdf8;
  color: white;
  padding: 9px 22px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: bold;
  border: 2px solid #38bdf8;
  transition: all 0.2s ease;
}

.btn-book:hover {
  background: transparent;
  color: #38bdf8;
  transform: translateY(1px);
}
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.18, 1);
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 30px 80px;
  text-align: center;
  animation: fadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero h1 {
  font-size: 52px;
  margin-bottom: 20px;
  font-family: Georgia, serif;
  line-height: 1.22;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
  animation: fadeUp 0.85s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero span { color: #7dd3fc; }
.hero p {
  max-width: 620px;
  margin: 0 auto 30px;
  font-size: 15px;
  color: #e2e8f0;
  line-height: 1.8;
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
  animation: fadeUp 0.85s 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-btns {
  margin-bottom: 18px;
  animation: fadeUp 0.85s 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255,255,255,0.2);
  color: white;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.18s, box-shadow 0.2s;
  line-height: 1;
}
.hero-prev {
   left: 24px;
   }
.hero-next {
   right: 24px;
   }
.hero-arrow:hover {
  background: #0ea5e9;
  border-color: #0ea5e9;
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 18px rgba(14,165,233,0.45);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(48px); }
  to   { opacity: 1; transform: translateY(0); }
}
.btn-primary {
  background: #0ea5e9;
  color: white;
  padding: 13px 30px;
  border-radius: 6px;
  margin: 5px;
  display: inline-block;
  font-weight: bold;
  font-size: 14px;
  border: 2px solid #0ea5e9;
  transition: background 0.2s, color 0.2s, transform 0.18s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: white;
  color: #0ea5e9;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(14,165,233,0.3);
}

.btn-outline {
  border: 2px solid #0f172a;
  padding: 13px 30px;
  color: #0f172a;
  border-radius: 6px;
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  margin: 5px;
  background: rgba(255,255,255,0.5);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.18s;
}
.btn-outline:hover {
  background: #0f172a;
  color: white;
  border-color: #0f172a;
  transform: translateY(-3px);
}

.btn-outline-dark {
  border: 2px solid rgba(255,255,255,0.75);
  padding: 13px 30px;
  color: white;
  border-radius: 6px;
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  margin: 5px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.18s;
}
.btn-outline-dark:hover {
  background: white;
  color: #0ea5e9;
  border-color: white;
  transform: translateY(-3px);
}
section { padding: 80px 60px; 
}

.section-sub {
  text-align: center;
  color: #666;
  margin-bottom: 38px;
  font-size: 14px;
}

section h2 {
  text-align: center;
  font-size: 30px;
  color: #1a1a2e;
  margin-bottom: 10px;
  font-family: Georgia, 'Times New Roman', serif;
}

.about-section { background: white; padding: 90px 60px; }

.about-inner {
  display: flex;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.about-inner.visible {
   opacity: 1;
    transform: translateY(0);
   }

.about-img-wrap { 
  flex: 1; 
  min-width: 280px; 
}
.about-img-wrap img {
  width: 100%;
   height: 420px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 20px 56px rgba(14,165,233,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: block;
}
.about-img-wrap:hover img {
  transform: scale(1.025) translateY(-4px);
  box-shadow: 0 30px 72px rgba(14,165,233,0.22);
}

.about-text { flex: 1; min-width: 280px; }

.section-label {
  display: block;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0ea5e9;
  margin-bottom: 8px;
}

.about-text h2 {
  text-align: left;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 30px;
  color: #0f172a;
  margin-bottom: 18px;
  line-height: 1.35;
}
.about-text p { 
  font-size: 14px; 
  color: #555;
   margin-bottom: 14px; 
   line-height: 1.85;
   }

.btn-blue {
  display: inline-block;
  margin-top: 12px;
  background: #0ea5e9;
  color: white;
  padding: 13px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.2s, transform 0.18s, box-shadow 0.2s;
}
.btn-blue:hover {
  background: #0284c7;
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(14,165,233,0.28);
}

.features {
  background-image: url('../images/hospital.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  padding: 80px 60px;
}
.features::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 60, 0.82);
}
.features h2 { 
  position: relative;
   z-index: 2;
    color: white;
   }
.features .section-sub { position: relative; 
  z-index: 2;
   color: #bfdbfe; 
  }

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}
.feature-grid > * { flex: 0 1 100%; }
@media (min-width: 576px) { .feature-grid > * { flex: 0 1 calc(50% - 12px); } }
@media (min-width: 992px) { .feature-grid > * { flex: 0 1 calc(33.333% - 16px); } }
.card {
  background: rgba(255, 255, 255, 0.164);
  backdrop-filter: blur(14px);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
  opacity: 0;
  transform: translateY(55px);
  display: flex;
  flex-direction: column;
}

.card.visible {
   opacity: 1;
    transform: translateY(0);
   }

.card:nth-child(2) { transition-delay: 0.07s; }
.card:nth-child(3) { transition-delay: 0.14s; }
.card:nth-child(4) { transition-delay: 0.07s; }
.card:nth-child(5) { transition-delay: 0.14s; }
.card:nth-child(6) { transition-delay: 0.21s; }

.card:hover {
  border-color: #0ea5e9;
  transform: translateY(6px);
}

.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 22px 22px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card h3 {
  font-size: 15px;
  color: #38bdf8;
  font-family: Georgia, serif;
  margin-bottom: 10px;
  text-align: center;
  font-weight: bold;
}
.card p {
  font-size: 13px;
  color: whitesmoke;
  line-height: 1.72;
}
.process { 
  background: white; 
}
.process-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-top: 40px;
  flex-wrap: wrap;
}

.process-step {
  background: #0ea5e9;
  color: white;
  padding: 30px 22px;
  border-radius: 8px;
  text-align: center;
  width: 210px;
  flex-shrink: 0;
  box-shadow: 0 8px 28px rgba(14,165,233,0.22);
  border: 2px solid transparent;
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.22s, border-color 0.22s, background 0.22s;
}
.process-step.visible { opacity: 1; transform: translateY(0); }
.process-step:nth-child(1) { transition-delay: 0s; }
.process-step:nth-child(3) { transition-delay: 0.08s; }
.process-step:nth-child(5) { transition-delay: 0.16s; }
.process-step:nth-child(7) { transition-delay: 0.24s; }
.process-step:hover {
  transform: translateY(6px) scale(1.03);
  border-color: #38bdf8;
  background: #0284c7;
}

.step-num {
  font-size: 40px;
  font-weight: bold;
  font-family: Georgia, serif;
  margin-bottom: 10px;
  color: #bae6fd;
  line-height: 1;
  transition: transform 0.3s;
}
.process-step h3 { font-size: 14px; margin-bottom: 9px; font-family: Georgia, serif; }
.process-step p { font-size: 12px; color: #e0f2fe; line-height: 1.65; }

.process-arrow {
  font-size: 28px;
  color: #0ea5e9;
  padding: 0 10px;
  align-self: center;
  font-weight: bold;
  transition: transform 0.2s, color 0.2s;
}
.stats {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: linear-gradient(135deg, #0ea5e9 0%, #0f172a 100%);
  color: white;
  padding: 60px 40px;
  flex-wrap: wrap;
  gap: 20px;
}
.stat { text-align: center;
   transition: transform 0.25s; 
  }
.stat h2, .stat h3 {
   font-size: 46px;
   font-family: Georgia, serif; 
   margin-bottom: 6px; 
   color: white; 
  }
.stat p { 
  font-size: 14px; 
  color: #bae6fd; 
}

.departments-section {
  position: relative;
  padding: 80px 60px;
  
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.departments-section::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(10,22,60,0.82);
}
.departments-section .section-label { position: relative; z-index: 2; color: #7dd3fc; }
.departments-section h2 {
  position: relative; z-index: 2;
  text-align: center; font-size: 30px; color: white;
  margin-bottom: 10px; font-family: Georgia, serif;
}
.departments-section .section-description {
  position: relative; z-index: 2;
  text-align: center; font-size: 15px; color: #cbd5e1;
  max-width: 600px; margin: 10px auto 40px; line-height: 1.75;
}

.dept-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 35px;
  position: relative; z-index: 2;
}
.dept-grid > * { flex: 0 1 100%; }
@media (min-width: 576px) { .dept-grid > * { flex: 0 1 calc(50% - 12px); } }
@media (min-width: 992px) { .dept-grid > * { flex: 0 1 calc(33.333% - 16px); } }

.dept-card {
  background: white;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 4px;
  overflow: hidden;
  border: var(--card-border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
  padding: 30px 24px;
  text-align: center;
  opacity: 0;
  transform: translateY(55px);
  transition: opacity 0.45s cubic-bezier(0.22,1,0.36,1),
              transform 0.45s cubic-bezier(0.22,1,0.36,1),
              border-color 0.22s, box-shadow 0.22s;
}
.dept-card.visible { opacity: 1; transform: translateY(0); }
.dept-card:nth-child(2) { transition-delay: 0.07s; }
.dept-card:nth-child(3) { transition-delay: 0.14s; }
.dept-card:nth-child(4) { transition-delay: 0.07s; }
.dept-card:nth-child(5) { transition-delay: 0.14s; }
.dept-card:nth-child(6) { transition-delay: 0.21s; }
.dept-card:hover {
  border-color: var(--card-hover-border);
  transform: 2px;
  box-shadow: var(--card-hover-shadow);
}
.dept-card h3 {
  font-size: 15px; color: #38bdf8;
  font-family: Georgia, serif; margin-bottom: 8px; text-align: center;
}
.dept-card p { font-size: 13px; color: #94a3b8; line-height: 1.7; }


.testimonial-section { background: white; }
.testi-grid { margin-top: 40px; }

.testi-card {
  background: #f4f7fb;
  padding: 30px 26px;
  border-radius: 16px;
  border: 2px solid #0ea5e9;
  position: relative;
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.22s, box-shadow 0.22s;
}
.testi-card.visible { opacity: 1; transform: translateY(0); }
.testi-card:nth-child(2) { transition-delay: 0.08s; }
.testi-card:nth-child(3) { transition-delay: 0.16s; }
.testi-card::before {
  content: '\201C';
  font-size: 80px;
  font-family: Georgia, serif;
  color: #0ea5e9;
  opacity: 0.13;
  position: absolute;
  top: 8px; left: 16px;
  line-height: 1;
  transition: opacity 0.25s;
}
.testi-card:hover::before { opacity: 0.22; }
.testi-card:hover { border-color: #0ea5e9; transform: translateY(-7px); }

.testi-text { font-size: 13px; color: #444; line-height: 1.8; margin-bottom: 22px; font-style: italic; padding-top: 26px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #0ea5e9;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 22px; color: white;
  transition: transform 0.25s, background 0.25s;
}
.testi-card:hover .testi-avatar { transform: scale(1.12); background: #0284c7; }
.testi-name { font-size: 13px; font-weight: bold; color: #1a1a2e; }
.testi-role { font-size: 12px; color: #777; }

.cta {
  text-align: center;
  background: linear-gradient(135deg, #0ea5e9 0%, #0f172a 100%);
  padding: 90px 60px;
}
.cta h2 { margin-bottom: 14px; color: white; font-size: 30px; font-family: Georgia, serif; }
.cta p { color: #bae6fd; margin-bottom: 32px; font-size: 15px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.75; }

.doctors-section { background: #f8faff; padding: 80px 60px; }
.doctors-section h2 {
  text-align: center; font-size: 30px; color: #1a1a2e;
  margin-bottom: 10px; font-family: Georgia, serif;
}

.doctors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 35px;
}
.doctors-grid > * { flex: 0 1 100%; }
@media (min-width: 576px) { .doctors-grid > * { flex: 0 1 calc(50% - 12px); } }
@media (min-width: 992px) { .doctors-grid > * { flex: 0 1 calc(33.333% - 16px); } }

.doctor-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 26px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.45s cubic-bezier(0.22,1,0.36,1),
              transform 0.45s cubic-bezier(0.22,1,0.36,1),
              border-color 0.22s, box-shadow 0.22s;
}
.doctor-card.visible { opacity: 1; transform: translateY(0); }
.doctor-card:nth-child(2) { transition-delay: 0.07s; }
.doctor-card:nth-child(3) { transition-delay: 0.14s; }
.doctor-card:hover {
  border-color: #0ea5e9;
  box-shadow: 0 16px 40px rgba(14,165,233,0.18);
  transform: translateY(-6px);
}
.doctor-photo-wrap {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 18px;
  border: 3px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(15,23,42,0.08);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.doctor-card:hover .doctor-photo-wrap {
  border-color: #0ea5e9;
  box-shadow: 0 6px 20px rgba(14,165,233,0.25);
}
.doctor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.doctor-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.doctor-info h3 {
  font-size: 17px;
  color: #1a1a2e;
  font-family: Georgia, serif;
  margin-bottom: 6px;
  text-align: center;
}
.doctor-dept {
  display: inline-block;
  background: #e0f2fe;
  color: #0284c7;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 14px;
  border-radius: 20px;
  margin: 0 auto 14px;
}
.doctor-info p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 16px;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.doctor-meta {
  margin-bottom: 14px;
}

/* Weekly availability pills */
.schedule-pills-sm {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.day-tag {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.3px;
  padding: 5px 10px;
  border-radius: 20px;
  background: #f1f5f9;
  color: #94a3b8;
  border: 1px solid #e2e8f0;
}
.day-tag-on {
  background: #f0fdf4;
  color: #16a34a;
  border-color: #bbf7d0;
  cursor: default;
}
.meta-text {
  font-size: 12px;
  color: #888;
  background: #f8faff;
  border: 1px solid #e2e8f0;
  padding: 6px 12px;
  border-radius: 8px;
}

/* Blocked / unavailable-dates notice */
.blocked-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #fff1f2;
  border: 1px solid #fecaca;
  color: #1650cd;
  font-size: 11.5px;
  line-height: 1.5;
  padding: 8px 12px;
  border-radius: 10px;
  margin-bottom: 16px;
  text-align: left;
}
.blocked-icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.btn-appt {
  display: inline-block;
  background: #0ea5e9;
  color: white;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: bold;
  border: 2px solid #0ea5e9;
  margin-top: auto;
  transition: background 0.2s, color 0.2s, transform 0.18s;
}
.btn-appt:hover {
  background: white;
  color: #0ea5e9;
  transform: translateY(-2px);
}

.footer {
   background: #0f172a; 
  color: #cbd5e1; 
  padding: 56px 60px 32px; 
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 34px;
}
.footer-grid h3 { 
  font-size: 20px;
   color: white;
    margin-bottom: 10px;
     font-family: Georgia, serif; 
    }
.footer-grid h4 {
   font-size: 11px;
    color: #7dd3fc;
     margin-bottom: 12px; 
     text-transform: uppercase;
      letter-spacing: 1.5px; 
      font-weight: bold;
     }
.footer-grid p {
   font-size: 13px; 
   margin-bottom: 6px;
    color: #94a3b8;
   }
.footer-grid a { 
  color: #94a3b8;
   text-decoration: none;
    font-size: 13px;
     display: block;
   margin-bottom: 6px;
       width: fit-content; 
  transition: color 0.2s, transform 0.2s
 }
.footer-grid a:hover {
   color: #38bdf8;
    transform: translateX(5px); 
  }
.copy {
   text-align: center;
    border-top: 1px solid #1e293b; 
    padding-top: 22px;
     font-size: 12px; 
     color: #64748b;
     }

/* Hamburger, drawer-overlay, mobile-drawer, drawer-header/logo/nav are
   shared with the dashboards and defined once in sidebar.css so every
   page (public site + admin/doctor/patient) gets the same size and
   look. Only the button styles specific to the public site stay here. */

.drawer-actions .btn-login {
   text-align: center; 
   display: block; 
   padding: 11px 20px;
    border: 2px solid rgba(255,255,255,0.35); 
    color: white;
     background: transparent; 
    border-radius: 6px; 
    font-weight: bold;
     font-size: 13px;
      transition: background 0.2s, border-color 0.2s; }
.drawer-actions .btn-login:hover {
   background: rgba(255,255,255,0.1); 
   border-color: white;
   }
.drawer-actions .btn-book { 
  text-align: center; 
  display: block; 
  padding: 11px 20px; 
  background: #0ea5e9; 
  color: white;
   border: 2px solid #0ea5e9; 
   border-radius: 6px; 
   font-weight: bold;
    font-size: 13px; 
    transition: background 0.2s;
   }
.drawer-actions .btn-book:hover {
   background: #0284c7; 
  }

@media (max-width: 1024px) {
  .navbar {
     padding: 16px 32px; 
    }
  .hero-content { padding: 30px 50px; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 14px; }
  section {
     padding: 70px 40px; 
    }
  .about-section {
     padding: 70px 40px; 
    }
  .features {
     padding: 70px 40px; 
    }
  .cta {
     padding: 70px 40px;
     }
  .footer { 
    padding: 50px 40px 28px;
   }
  .why-grid, .testi-grid {
     grid-template-columns: repeat(2, 1fr);
     }
  .about-inner { 
    flex-direction: column;
   }
  .process-step { 
    width: 180px;
     padding: 24px 14px; 
  }
}

@media (max-width: 768px) {
  .navbar { 
    height: 58px;
    padding: 0 16px; 
    flex-wrap: nowrap; 
    justify-content: space-between;
     align-items: center;
      gap: 0;
     }
  .logo img { height: 34px; }
  .navbar-center, .navbar-actions { display: none !important; }
  .hamburger { display: flex; }

  section { padding: 48px 16px; }
  .about-section { padding: 48px 16px; }
  .features { background-attachment: scroll; padding: 48px 16px; }
  .cta { padding: 52px 16px; }
  .footer { padding: 40px 16px 20px; }

  .hero { min-height: 100vh; min-height: 100svh; }
  .hero-content { padding: 24px 22px; max-width: 460px; }
  .hero h1 { font-size: 27px; line-height: 1.32; margin-bottom: 14px; }
  .hero p { font-size: 13.5px; line-height: 1.7; margin-bottom: 24px; }
  .hero-btns { display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .btn-primary, .btn-outline {
    width: 100%; max-width: 240px;
    text-align: center; display: block; margin: 0 auto;
    border-radius: 24px; padding: 14px 30px;
  }

  .about-inner { flex-direction: column; gap: 28px; }
  .about-img-wrap img { height: 240px; }
  .about-text h2 { font-size: 22px; }
  section h2 { font-size: 22px; }

  .why-grid, .testi-grid { grid-template-columns: 1fr; gap: 16px; }

  .process-grid { flex-direction: column; align-items: center; gap: 10px; }
  .process-arrow { transform: rotate(90deg); font-size: 20px; padding: 0; }
  .process-step { width: 100%; max-width: 300px; }

  .stats { padding: 40px 16px; gap: 24px; flex-wrap: wrap; justify-content: center; }
  .stat { flex: 1 1 42%; min-width: 110px; }
  .stat h2, .stat h3 { font-size: 36px; }

  .cta h2 { font-size: 22px; }
  .cta p { font-size: 13px; margin-bottom: 24px; }
  .cta > div { display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .btn-outline-dark { 
    width: 100%;
     max-width: 240px; 
     text-align: center;
      display: block;
     }
  .footer-grid { 
    flex-direction: column;
     gap: 20px; }
  .copy { 
    font-size: 11px; 
  }

  .hero-arrow { 
    width: 32px; 
    height: 32px;
    font-size: 13px; 
    border-width: 1.5px;
    }
  .hero-prev { 
    left: 8px; 
  }
  .hero-next {
     right: 8px; 
    }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 20px 16px;
    max-width: 100%;
  }
  .hero h1 {
     font-size: 22px; 
     line-height: 1.35;
    }
  .hero p  {
     font-size: 12.5px;
     line-height: 1.65;
     margin-bottom: 20px;
     }
  .hero-arrow { display: none; }
  .about-img-wrap img {
     height: 200px; 
    }
  section h2 {
     font-size: 19px; 
    }
  .stat h2, .stat h3 {
     font-size: 30px;
     }
  .stat { 
    flex: 1 1 100%;
   }
  .step-num {
     font-size: 30px;
     }
  .testi-card { 
    padding: 20px 16px; 
  }
  .card-body {
     padding: 16px 16px 20px; 
    }
}
@media (max-width: 768px) {
  .main-content-wrapper {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .app-body {
    display: block;
    overflow-x: hidden;
  }
}
/* ========================================
   FILE: docdesk/static/css/home-fix.css
   PURPOSE: Extracted inline styles from home.html
   ======================================== */

/* Hero slides - background images */
.hero-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}

.hero-slide:nth-child(1) {
  background-image: url('../images/hospital.jpg');
}

.hero-slide:nth-child(2) {
  background-image: url('../images/home hero 2.jpg');
}

.hero-slide:nth-child(3) {
  background-image: url('../images/home hero 3.jpg');
}

.hero-slide:nth-child(4) {
  background-image: url('../images/home hero 4.jpg');
}

.hero-slide:nth-child(5) {
  background-image: url('../images/home hero 5.jpg');
}

/* Departments section background */
.departments-section {
  background-image: url('../images/hospital.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}