* {
  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;
}
.section-label {
  display: block;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1650cd;
  margin-bottom: 8px;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: #666;
  font-size: 14px;
  margin-bottom: 38px;
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.page-hero {
  position: relative;
  width: 100%;
  height: 57vh;
 
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  width: 100%;
  padding: 40px 20px;
  animation: fadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(48px); }
  to   { opacity: 1; transform: translateY(0);    }
}

.hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #bfdbfe;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 22px;
  animation: fadeUp 0.85s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-hero h1 {
  font-size: 48px;
  font-family: Georgia, 'Times New Roman', serif;
  color: white;
  margin-bottom: 18px;
  line-height: 1.2;
  animation: fadeUp 0.85s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-desc {
  font-size: 15px;
  color: white;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.8;
  animation: fadeUp 0.85s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.85s 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-trust {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeUp 0.85s 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-trust span {
  font-size: 13px;
  color: #cbd5e1;
  padding: 7px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.hero-trust span:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.btn-hero-solid {
  background: white;
  color: #1650cd;
  padding: 13px 30px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  border: 2px solid white;
  transition: background 0.2s, color 0.2s, transform 0.18s, box-shadow 0.2s;
}

.btn-hero-solid:hover {
  background: #1650cd;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.2);
}

.btn-hero-outline {
  background: transparent;
  color: white;
  padding: 13px 30px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  border: 2px solid rgba(255, 255, 255, 0.75);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.18s;
}

.btn-hero-outline:hover {
  background: white;
  color: #1650cd;
  border-color: white;
  transform: translateY(-3px);
}

.services-section {
  background: #112050;
  padding: 80px 60px;
}

.services-section h2 {
  text-align: center;
  font-size: 30px;
  color: white;
  margin-bottom: 10px;
  font-family: Georgia, 'Times New Roman', serif;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 35px;
}
.services-grid > * { flex: 1 1 100%; }
@media (min-width: 576px) { .services-grid > * { flex: 1 1 calc(50% - 12px); } }
@media (min-width: 992px) { .services-grid > * { flex: 1 1 calc(33.333% - 16px); } }

.service-card {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 4px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  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;
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:nth-child(2) { transition-delay: 0.07s; }
.service-card:nth-child(3) { transition-delay: 0.14s; }
.service-card:nth-child(4) { transition-delay: 0.07s; }
.service-card:nth-child(5) { transition-delay: 0.14s; }
.service-card:nth-child(6) { transition-delay: 0.21s; }

.service-card:hover {
  border-color: #1650cd;
  box-shadow: 0 16px 44px rgba(22, 80, 200, 0.14);
  transform: translateY(-8px);
}

.service-icon {
  font-size: 36px;
  display: block;
}

.service-card h3 {
  font-size: 16px;
  color: #1650cd;
  font-family: Georgia, 'Times New Roman', serif;
  transition: color 0.2s;
}

.service-card:hover h3 {
  color: #1040a8;
}

.service-card > p {
  font-size: 13px;
  color: #555;
  line-height: 1.75;
}

.service-card ul {
  list-style: none;
  padding: 0;
}

.service-card ul li {
  font-size: 13px;
  color: #444;
  padding: 6px 0 6px 20px;
  border-bottom: 1px solid #f0f4fa;
  position: relative;
}

.service-card ul li:last-child {
  border-bottom: none;
}

.service-card ul li::before {
  content: '✓';
  color: #1650cd;
  position: absolute;
  left: 0;
  font-size: 12px;
  font-weight: bold;
}

.service-info {
  background: #f4f7fb;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 12px 14px;
}

.info-label {
  display: block;
  font-size: 11px;
  color: #1650cd;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.service-info p {
  font-size: 13px;
  color: #333;
  margin: 3px 0;
}

.btn-service {
  display: inline-block;
  background: #1650cd;
  color: white;
  padding: 10px 22px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: bold;
  border: 2px solid #1650cd;
  text-align: center;
  margin-top: auto;
  transition: background 0.2s, border-color 0.2s, transform 0.18s, box-shadow 0.2s;
}

.btn-service:hover {
  background: #1040a8;
  border-color: #1040a8;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(22, 80, 200, 0.28);
}

.stats-band {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: linear-gradient(135deg, #1650cd 0%, #0f172a 100%);
  color: white;
  padding: 60px 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.stat-item {
  text-align: center;
  transition: transform 0.25s;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-item h3 {
  font-size: 46px;
  font-family: Georgia, serif;
  margin-bottom: 6px;
  color: white;
}

.stat-item p {
  font-size: 14px;
  color: #bfdbfe;
}

.process-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10, 22, 70, 0.88) 0%, rgba(22, 80, 200, 0.65) 100%);
}

.process-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}

.process-section .section-label {
  color: #93c5fd;
}

.process-section h2 {
  text-align: center;
  font-size: 30px;
  color: white;
  margin-bottom: 10px;
  font-family: Georgia, 'Times New Roman', serif;
}

.process-section .section-sub {
  color: #cbd5e1;
  margin-bottom: 38px;
}

.process-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 35px;
}

.process-step {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
  padding: 30px 22px;
  text-align: center;
  color: white;
  flex: 1;
  min-width: 160px;
  max-width: 200px;
  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;
}

.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 {
  border-color: rgba(56,189,248,0.50);
  box-shadow: 0 16px 48px rgba(0,0,0,0.38);
  transform: translateY(4px);
}

.step-num {
  font-size: 40px;
  font-weight: bold;
  font-family: Georgia, serif;
  color: #93c5fd;
  margin-bottom: 10px;
  line-height: 1;
  transition: transform 0.3s;
}

.process-step:hover .step-num {
  transform: scale(1.15);
}

.process-step h3 {
  font-size: 14px;
  margin-bottom: 9px;
  font-family: Georgia, serif;
  color: #38bdf8;
}

.process-step p {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.65;
}

.process-arrow {
  font-size: 28px;
  color: #60a5fa;
  padding: 0 10px;
  flex-shrink: 0;
  align-self: center;
  font-weight: bold;
  transition: transform 0.2s, color 0.2s;
}

.process-arrow:hover {
  transform: scaleX(1.4);
  color: white;
}

.why-section {
  background: #112050;
  position: relative;
  overflow: hidden;
  padding: 80px 60px;
}

.why-section h2 {
  text-align: center;
  font-size: 30px;
  color: white;
  margin-bottom: 10px;
  font-family: Georgia, 'Times New Roman', serif;
  position: relative;
  z-index: 2;
}

.why-section .section-label {
  color: #93c5fd;
  position: relative;
  z-index: 2;
}

.why-section .section-sub {
  color: #bfdbfe;
  position: relative;
  z-index: 2;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

.why-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px 26px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.10);
  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;
}

.why-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.why-card:nth-child(2) { transition-delay: 0.07s; }
.why-card:nth-child(3) { transition-delay: 0.14s; }
.why-card:nth-child(4) { transition-delay: 0.07s; }
.why-card:nth-child(5) { transition-delay: 0.14s; }
.why-card:nth-child(6) { transition-delay: 0.21s; }

.why-card:hover {
  border-color: rgba(56,189,248,0.35);
  transform: translateY(4px);
}

.why-icon {
  font-size: 32px;
  margin-bottom: 14px;
  display: block;
}

.why-card h3 {
  font-size: 16px;
  color: #38bdf8;
  margin-bottom: 10px;
  font-family: Georgia, serif;
  transition: color 0.2s;
}

.why-card p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.75;
}

.testimonial-section {
  background: white;
  padding: 80px 60px;
}

.testimonial-section h2 {
  text-align: center;
  font-size: 30px;
  color: #1a1a2e;
  margin-bottom: 10px;
  font-family: Georgia, 'Times New Roman', serif;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.testi-card {
  background: #f4f7fb;
  padding: 30px 26px;
  border-radius: 8px;
  border: 2px solid #e2e8f0;
  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: #1650cd;
  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: #1650cd;
  box-shadow: 0 16px 44px rgba(22, 80, 200, 0.14);
  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: #1650cd;
  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: #1040a8;
}

.testi-name {
  font-size: 13px;
  font-weight: bold;
  color: #1a1a2e;
}

.testi-role {
  font-size: 12px;
  color: #777;
}

.cta {
  background: linear-gradient(135deg, #1650cd 0%, #0f172a 100%);
  color: white;
  text-align: center;
  padding: 90px 40px;
}

.cta h2 {
  font-family: Georgia, serif;
  font-size: 30px;
  color: white;
  margin-bottom: 14px;
}

.cta p {
  font-size: 15px;
  color: #bfdbfe;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.btn-primary {
  background: white;
  color: #1650cd;
  padding: 13px 30px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  border: 2px solid white;
  display: inline-block;
  margin: 5px;
  transition: background 0.2s, color 0.2s, transform 0.18s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: #1650cd;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.2);
}

.btn-outline-dark {
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: white;
  padding: 13px 30px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
  margin: 5px;
  background: transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.18s;
}

.btn-outline-dark:hover {
  background: white;
  color: #1650cd;
  border-color: white;
  transform: translateY(-3px);
}

@media (max-width: 1024px) {
  .why-grid,
  .testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero-content {
    padding: 28px 20px;
  }

  .page-hero h1 {
    font-size: 27px;
    line-height: 1.3;
  }

  .hero-desc {
    font-size: 13.5px;
    line-height: 1.7;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn-hero-solid,
  .btn-hero-outline {
    width: 100%;
    max-width: 240px;
    text-align: center;
    border-radius: 24px;
    padding: 14px 30px;
  }

  .services-section,
  .doctors-section,
  .process-section,
  .why-section,
  .testimonial-section {
    padding: 55px 20px;
  }
  .why-grid,
  .testi-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .process-arrow {
    display: none;
  }

  .process-section {
    background-attachment: scroll;
  }

  .stats-band {
    padding: 44px 20px;
    gap: 28px;
  }

  .cta {
    padding: 60px 20px;
  }

  .footer {
    padding: 44px 20px 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 22px 16px;
  }

  .page-hero h1 {
    font-size: 21px;
  }

  .hero-desc {
    font-size: 12.5px;
  }

  .hero-tag {
    font-size: 10px;
    padding: 5px 14px;
  }

  .services-section h2,
  .doctors-section h2,
  .why-section h2,
  .testimonial-section h2 {
    font-size: 22px;
  }

  .stat-item h3 {
    font-size: 36px;
  }
}
/* Services page hero background (moved from inline style) */
.services-hero {
  background-image: url('../images/dark doctor.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}