@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #060B14;
  --bg-gradient: radial-gradient(circle at top right, #0a1f3b 0%, #060B14 100%);
  --panel: rgba(255, 255, 255, 0.03);
  --panel-hover: rgba(255, 255, 255, 0.06);
  --panel-glass: rgba(6, 11, 20, 0.6);
  --text: #F3F4F6;
  --muted: #9CA3AF;
  --brand: #00F0FF;
  --brand-dim: rgba(0, 240, 255, 0.15);
  --brand-2: #3B82F6;
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 240, 255, 0.4);
  --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --glow-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--panel-glass);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--border-glow);
  box-shadow: var(--glow-shadow);
  transform: translateY(-1px);
}

.nav-toggle:active {
  transform: translateY(0);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.primary-nav {
  display: flex;
}

.primary-nav.is-open {
  display: flex;
}



.logo strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover, nav a[aria-current="page"] {
  background: var(--brand-dim);
  border-color: var(--border-glow);
  color: var(--brand);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
  transform: translateY(-2px);
}

.hero {
  padding: 60px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: stretch;
}

.hero-card {
  background: var(--panel);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--brand-dim) 0%, transparent 50%);
  opacity: 0.3;
  pointer-events: none;
}

.hero-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow-shadow);
  border-color: rgba(255, 255, 255, 0.15);
}

.hero h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.2;
  font-weight: 800;
  color: #fff;
}

.hero p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 18px;
}

.stats-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stat-card {
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--brand);
  background: var(--brand-dim);
  transform: scale(1.05);
}

.stat-card strong {
  display: block;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--brand), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.institute-marquee {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding-top: 30px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.institute-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scroll-institutes 30s linear infinite;
}

.institute-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.institute-logo:hover {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand-dim);
  box-shadow: var(--glow-shadow);
}

@keyframes scroll-institutes {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.badge {
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 12px 16px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.cta-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #000;
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 240, 255, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-3px);
}

.section {
  padding: 60px 0;
}

.hero-banner {
  margin-top: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(105deg, rgba(6, 11, 20, 0.95) 0%, rgba(6, 11, 20, 0.6) 100%),
    url("../ce05b0d8-c887-4ce3-b5c1-f48594f68617.jpeg");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  position: relative;
}

.hero-banner::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6, 11, 20, 0.8) 100%);
  pointer-events: none;
}

.hero-banner-content {
  padding: clamp(40px, 6vw, 80px);
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: table;
  margin: 0 auto 16px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-glow);
  background: var(--brand-dim);
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
}

.hero-banner h1 {
  margin: 0;
  line-height: 1.1;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.hero-banner p {
  margin: 20px 0 32px;
  color: #D1D5DB;
  font-size: 20px;
  max-width: 600px;
}

.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}

.section-title h3 {
  margin: 0 0 8px;
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title span {
  color: var(--brand);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.top-doctor-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.top-doctor-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 240, 255, 0.1);
  background: var(--panel-hover);
}

.top-doctor-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
  transition: transform 0.5s ease;
}

.top-doctor-card:hover .top-doctor-image {
  transform: scale(1.02);
}

.top-doctor-card h4 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.service {
  text-align: center;
}

.service:hover {
  border-color: var(--brand);
  box-shadow: var(--glow-shadow);
  transform: translateY(-5px);
}

.service h4 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
}

.service p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 16px;
}

.doctor-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
}

.doctor-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--panel-hover);
}

.doctor-photo {
  width: 140px;
  height: 140px;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--panel-2);
  box-shadow: var(--shadow);
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.doctor-meta h4 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 800;
}

.doctor-meta p {
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 16px;
  font-weight: 600;
}

.pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.3s ease;
}

.pill:hover {
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.know-more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.know-more-link:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #000;
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.4);
}

.review-card p {
  margin: 0 0 20px;
  color: var(--text);
  font-size: 18px;
  font-style: italic;
  line-height: 1.8;
}

.review-card strong {
  font-size: 16px;
  color: var(--brand);
}

.testimonial-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
}

.testimonial-viewport {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-slide {
  min-width: 100%;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--brand);
  color: #000;
  border-color: var(--brand);
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  width: 32px;
  background: var(--brand);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.chat-float {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, var(--brand), #3B82F6);
  color: #060B14;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 240, 255, 0.6);
}

.muted {
  color: var(--muted);
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 40px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

input,
textarea {
  width: 100%;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}

input:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-dim);
  background: rgba(0, 0, 0, 0.6);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

footer {
  padding: 40px 0;
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid var(--border);
  margin-top: 60px;
  color: var(--muted);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.small-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-weight: 700;
}

.small-links a {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

.small-links a:hover {
  color: var(--brand);
}

@media (max-width: 900px) {
  .container {
    width: min(1200px, calc(100% - 28px));
  }

  header {
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }
  .institute-track {
    animation-duration: 20s;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-carousel {
    grid-template-columns: 1fr;
  }
  .carousel-btn {
    display: none;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* App-like header + menu */
  .topbar {
    flex-direction: row;
    text-align: left;
    padding: 12px 0;
  }

  .logo strong {
    font-size: 18px;
  }

  .logo span {
    font-size: 11px;
    letter-spacing: 0.8px;
  }

  .logo-icon {
    height: 44px;
    max-width: 160px;
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  nav.primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 1px);
    background: rgba(6, 11, 20, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    padding: 14px 14px 18px;
    gap: 10px;
    flex-direction: column;
  }

  nav.primary-nav.is-open {
    display: flex;
  }

  nav.primary-nav a {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
  }

  nav a:hover, nav a[aria-current="page"] {
    transform: none;
  }

  .hero {
    padding: 28px 0 12px;
  }

  .hero-card {
    padding: 22px;
    border-radius: 20px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-banner {
    margin-top: 18px;
    border-radius: 22px;
  }

  .hero-banner-content {
    padding: 28px 22px;
  }

  .hero-banner p {
    font-size: 16px;
  }

  .hero-kicker {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    justify-content: center;
  }

  .section {
    padding: 36px 0;
  }

  .section-title {
    margin-bottom: 22px;
  }

  .section-title h3 {
    font-size: 28px;
  }

  .btn-row {
    gap: 12px;
  }

  .btn {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
  }

  .panel {
    padding: 20px;
    border-radius: 20px;
  }

  .chat-float {
    right: 16px;
    bottom: 16px;
    padding: 14px 18px;
    font-size: 14px;
  }

  .footer-row {
    flex-direction: column;
    justify-content: center;
  }
  .small-links {
    justify-content: center;
  }
  .doctor-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }
  .doctor-photo {
    width: 140px;
    height: 140px;
    margin: 0 auto;
  }
  .pill-row {
    justify-content: center;
  }
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.logo:hover {
  transform: translateY(-2px);
}
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.logo-icon {
  width: auto;
  max-width: 200px;
  height: 54px;
  object-fit: contain;
  background-color: #ffffff;
  padding: 4px;
  border-radius: 8px;
  display: block;
}

/* Timeline Component */
.timeline {
            position: relative;
            max-width: 800px;
            margin: 40px auto;
            padding-left: 50px;
          }
          
          .timeline::before {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            left: 24px;
            width: 2px;
            background: linear-gradient(180deg, var(--brand), var(--brand-2));
            box-shadow: var(--glow-shadow);
          }
          
          .timeline-item {
            position: relative;
            margin-bottom: 40px;
          }
          
          .timeline-item:last-child {
            margin-bottom: 0;
          }
          
          .timeline-dot {
            position: absolute;
            left: -50px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: #fff;
            border: 3px solid var(--panel);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
            z-index: 1;
          }
          
          .timeline-dot img {
            width: 32px;
            height: 32px;
            object-fit: contain;
          }
          
          .timeline-content {
            background: var(--panel);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 24px;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
          }
          
          .timeline-content:hover {
            transform: translateX(8px);
            border-color: var(--brand);
            box-shadow: var(--glow-shadow);
            background: var(--panel-hover);
          }
          
          .timeline-content h4 {
            margin: 0 0 6px;
            color: var(--brand);
            font-size: 20px;
            font-weight: 800;
          }
          
          .timeline-content p {
            margin: 0;
            color: var(--text);
            font-size: 16px;
          }
