/* ── HERO ── */
  /* .hero {
    position: relative;
    overflow: hidden;
    min-height: 600px;
    background: linear-gradient(105deg, #dbeafe 0%, #e0f2fe 40%, #c7d2fe 100%);
    display: flex; align-items: center;
    max-height: 1600px;
  }
  .hero-content {
    position: relative; z-index: 2;
    padding: 56px 2.5% 56px;

  }
  .hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 12px;
  }
  .hero-tagline {
    font-size: .82rem;
    color: var(--gray);
    letter-spacing: .3px;
    margin-bottom: 16px;
  }
  .hero-tagline span { margin-right: 14px; }
  .hero-tagline span::before { content: '| '; color: #cbd5e1; }
  .hero-tagline span:first-child::before { content: ''; }
  .hero-highlight {
    font-size: .95rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
  }
  .hero-sub { font-size: .83rem; color: var(--gray); margin-bottom: 28px; }

  .btn { display: inline-block; padding: 11px 22px; border-radius: 6px; font-size: .88rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .15s; border: none; }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
  .btn-navy { background: var(--navy); color: #fff; }
  .btn-blue-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); margin-left: 12px; }
  .btn-green { background: var(--green); color: #fff; }
  .btn-orange { background: #c2410c; color: #fff; }
  .btn-sky   { background: var(--sky); color: #fff; }

  /* doctors illustration */
  /* .hero-doctors {
    position: absolute; right: 0; top: 0; bottom: 0;
    width: 57%;
    background: linear-gradient(120deg, #bfdbfe 0%, #93c5fd 100%);
    clip-path: polygon(8% 0,100% 0,100% 100%,0% 100%);
    overflow: hidden;
  } */
   */

  /* --- Variables for Consistency --- */
:root {
  --navy: #0f172a;
  --blue-primary: #2563eb;
  --blue-light: #eff6ff;
  --gray-text: #475569;
  --white: #ffffff;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Hero Section Container --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  overflow: hidden;
  padding: 80px 5%;
}

/* --- Content Styling --- */
.hero-content {
  position: relative;
  z-index: 10;
  width: 50%;
  max-width: 650px;
  margin-top:-2rem;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif; /* Or your chosen elegant font */
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 800;
}

/* Tagline Bar - Modern UX */
.hero-tagline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-tagline span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-primary);
  background: rgba(37, 99, 235, 0.1);
  padding: 6px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-highlight {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.hero-sub {
  font-size: 1rem;
  color: var(--gray-text);
  line-height: 1.6;
  margin-bottom: 35px;
  max-width: 500px;
}

/* --- Buttons UX --- */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  text-align: center;
  margin-right:0.5rem;
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

.btn-blue-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  margin-left: 15px;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.btn-blue-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* --- Image Illustration Handling --- */
.hero-doctors {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(120deg, #dbeafe 0%, #bfdbfe 100%);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-doctors img {
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
}

/* --- Responsive Mobile UX (CRITICAL) --- */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    padding: 60px 20px;
    text-align: center;
  }

  .hero-content {
    width: 100%;
    margin-bottom: 50px;
    margin-top: 0;
  }
  
  .hero-tagline {
    justify-content: center;
  }
  
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .btn {
    width: 100%; /* Full width buttons for mobile thumbs */
    margin-left: 0 !important;
    margin-bottom: 15px;
  }

  .hero-doctors {
    position: relative;
    width: 100%;
    height: 350px;
    clip-path: none;
    background: transparent;
  }
  
  .hero-doctors img {
    max-width: 80%;
  }
  .hero-doctors img{
        min-width: 100%;
        object-fit: contain;
    } 
    .hero-doctors{
      order:-1;
    }
    .hero{
      padding:0;
      gap:2rem;
    }
    .hero-content{
      width:100%;
      padding:0 1rem;
    }
}

/* --- Simple Entry Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
  /* Stylised silhouette group */
  .doctor-group {
    position: absolute; bottom: 0; left: 15%; right: 0;
    display: flex; align-items: flex-end; justify-content: center; gap: 24px;
    height: 100%;
  }
  .doc {
    position: relative;
    display: flex; flex-direction: column; align-items: center;
    padding-bottom: 0;
  }
  /* Nurse figure */
  .doc-nurse { bottom: 0; }
  .doc-nurse .head { width: 56px; height: 56px; border-radius: 50%; background: #f9d5b3; border: 3px solid #fff; }
  .doc-nurse .body { width: 80px; height: 120px; background: linear-gradient(160deg,#1d4ed8,#3b82f6); border-radius: 12px 12px 0 0; margin-top: -4px; }
  .doc-nurse .scrubs-detail { position: absolute; top: 70px; left: 18px; width: 44px; height: 6px; background: rgba(255,255,255,.3); border-radius: 3px; }
  /* Doctor figure */
  .doc-doctor { bottom: 0; }
  .doc-doctor .head { width: 60px; height: 60px; border-radius: 50%; background: #f9c897; border: 3px solid #fff; }
  .doc-doctor .body { width: 90px; height: 140px; background: linear-gradient(160deg,#f8fafc,#e2e8f0); border-radius: 12px 12px 0 0; margin-top: -4px; }
  .stethoscope {
    position: absolute;
    top: 74px; left: 20px;
    width: 50px; height: 30px;
    border: 3px solid #64748b; border-bottom: none;
    border-radius: 12px 12px 0 0;
  }

  /* ── STAT BAND ── */
  .stat-band {
    text-align: center;
    padding: 18px;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    font-size: 1.3rem;
    color: var(--navy);
    letter-spacing: .4px;
    font-weight: bold;
  }
  .stat-band strong { color: var(--navy); font-size: 1.3rem; }

  /* ── SECTION WRAPPER ── */
  .section { padding: 60px 5%; }
  .section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--navy);
    /* margin-bottom: 2rem; */
  }
  .section-sub { 
    text-align: center; 
    color: var(--gray); 
    font-size: 1.2rem; 
    margin-bottom: 40px; 
    font-weight: 400;
    margin-top:-1rem;
  }
  .divider {
    display: flex; align-items: center; justify-content: center;
    gap: 16px; margin-bottom: 2.3rem;
  }
  .divider::before, .divider::after {
    content: ''; flex: 1; height: 1px; background: #cbd5e1; max-width: 120px;
  }

  /* ── PATHWAY GRID ── */
  .pathway-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
  }
  @media(max-width:760px){ 
    .pathway-grid { grid-template-columns: 1fr; }
    .hero-doctors img{
        min-width: 100%;
        object-fit: cover;
    } 
    .hero-doctors{
      order:-1;
    }
    .hero{
      padding:0;
      gap:2rem;
    }
    .hero-content{
      width:100%;
      padding:0 1rem;
    }
}

  .card {
    display: flex;
     flex-direction: column;
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 28px 24px 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
    transition: transform .25s, box-shadow .25s;
    position: relative;
    overflow: hidden;
  }
  .card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.12); }

  /* card colour bands */
  .card-b1::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg,#1d4ed8,#3b82f6); border-radius: 14px 14px 0 0; }
  .card-b2::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg,#15803d,#4ade80); border-radius: 14px 14px 0 0; }
  .card-direct {
    border-color: var(--gold);
    box-shadow: 0 4px 24px rgba(245,158,11,.15);
    background: linear-gradient(135deg,rgba(255,251,235,.85) 0%,rgba(255,237,213,.5) 100%);
  }
  .card-direct::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg,#d97706,#f59e0b); border-radius: 14px 14px 0 0; }

  .fast-track {
    position: absolute; top: 14px; right: -2px;
    background: linear-gradient(135deg,#f59e0b,#d97706);
    color: #fff;
    font-size: .7rem; font-weight: 700;
    padding: 4px 10px 4px 8px;
    border-radius: 4px 0 0 4px;
    display: flex; align-items: center; gap: 4px;
  }
  .fast-track::before { content: '★'; font-size: .75rem; }

  .card-badge {
    display: inline-block;
    font-size: .72rem; font-weight: 700;
    letter-spacing: .5px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
  }
  .badge-b1 { background: #dbeafe; color: #1d4ed8; max-width: fit-content;}
  .badge-b2 { background: #dcfce7; color: #15803d; max-width: fit-content; }
  .badge-direct { background: #fef3c7; color: #b45309; max-width: fit-content; }

  .card h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--navy); margin-bottom: 16px; }
  .card h3 span { font-weight: 800; margin-right: 4px; }

  .card ul { list-style: none; margin-bottom: 24px; }
  .card ul li {
    padding: 8px 0;
    font-size: 1rem;
    color: #374151;
    border-bottom: 1px solid rgba(0,0,0,.06);
    display: flex; align-items: center; gap: 8px;
    font-weight:300;
  }
  .card ul li::before { content: '▶'; font-size: .55rem; color: #94a3b8; flex-shrink: 0; }
  .card-direct ul li::before { content: '▶'; color: var(--gold); font-size: .65rem; }

  .card .btn { width: 100%; text-align: center; margin-top: auto; }
  .btn-b1 { background: var(--navy); color: #fff; }
  .btn-b2 { background: linear-gradient(135deg,#16a34a,#4ade80); color: #fff; }
  .btn-direct { background: linear-gradient(135deg,#c2410c,#f59e0b); color: #fff; }

  /* ── OPPORTUNITIES ── */
  .opp-bg { background: #f0f4ff; }
  .opp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 820px;
    margin: 0 auto;
  }
  @media(max-width:600px){ 
    .opp-grid { grid-template-columns: 1fr; } 
    
  }

  .opp-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
    transition: transform .25s, box-shadow .25s;
  }
  .opp-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
  .opp-img {
    width: 100%; height: 180px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    position: relative;
  }
  .opp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills nicely */
  display: block;
}

  /* SVG person illustration inside opp cards */
  .person-illus { width: 100%; height: 100%; }

  .opp-body {
    padding: 20px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    
  }
  .opp-body a{
    margin-right:0rem;
  }
  .opp-body h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--navy); margin-bottom: 14px; }

  /* ── WHY CHOOSE US ── */
  .why-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
    max-width: 860px;
    margin: 0 auto;
  }
  @media(max-width:640px){ .why-grid { grid-template-columns: repeat(1,1fr); } }

  .why-item {
    text-align: center;
    padding: 24px 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
    transition: transform .2s;
  }
  .why-item:hover { transform: translateY(-4px); }
  .why-icon {
    width: 129px; height: 80px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px;
    font-size: 2.4rem;
  }
  .ic-blue { background: #dbeafe; }
  .ic-green { background: #dcfce7; }
  .ic-orange { background: #fef3c7; }
  .ic-navy { background: #e0e7ff; }
  .why-item p { font-size: 1rem; font-weight: 600; color: var(--navy); line-height: 1.4; }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .fade-up { opacity: 0; animation: fadeUp .65s forwards; }
  .delay-1 { animation-delay: .1s; }
  .delay-2 { animation-delay: .22s; }
  .delay-3 { animation-delay: .34s; }
  .delay-4 { animation-delay: .46s; }

  /* pulse badge */
  @keyframes pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(245,158,11,.5); }
    50% { box-shadow: 0 0 0 8px rgba(245,158,11,0); }
  }
  .card-direct .fast-track { animation: pulse 2s infinite; }

.hero-bg-icons {
    position: absolute; inset: 0;
    pointer-events: none;
    overflow: hidden;
  }
  .hero-bg-icons span {
    position: absolute;
    font-size: 36px;
    opacity: .10;
  }
  .hero-bg-icons span:nth-child(1)  { top: 8%;  left: 4%;  font-size: 44px; }
  .hero-bg-icons span:nth-child(2)  { top: 6%;  right: 6%; font-size: 40px; }
  .hero-bg-icons span:nth-child(3)  { top: 40%; left: 1%;  font-size: 30px; }
  .hero-bg-icons span:nth-child(4)  { top: 60%; right: 2%; font-size: 34px; }
  .hero-bg-icons span:nth-child(5)  { bottom: 8%; left: 12%; font-size: 28px; }
  .hero-bg-icons span:nth-child(6)  { bottom: 4%; right: 10%; font-size: 32px; }
.opp-bg{
  position:relative;
}


/* Hamburger Button Styling */
.menu-toggle {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1000;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: var(--navy);
  transition: all 0.3s ease;
}

/* Mobile Query (Tablets and Phones) */
@media screen and (max-width: 992px) {
  .menu-toggle {
    display: flex; /* Show hamburger */
  }
  
  .nav-links {
    position: absolute;
    top: 64px; /* Matches nav height */
    right: -100%; /* Hidden off-screen by default */
    flex-direction: column;
    background: #fff;
    width: 100%;
    height: calc(100vh - 64px);
    text-align: center;
    transition: 0.3s ease-in-out;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    padding: 20px 0;
    gap: 10px;
  }

  .nav-links.active {
    right: 0; /* Slide in */
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 15px;
  }
  
  /* Optional: Animation for hamburger into an 'X' */
  .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
  .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}


.why-choose-us{
    padding-top: 3rem;
    padding-bottom: 5rem;
}

/* Modal Overlay */
.modal-overlay {
  display: none; 
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
}

/* Modal Box */
.modal-content {
      /* background-color: #fff; */
    margin: 3% auto;
    /* padding: 30px; */
    border-radius: 15px;
    width: 90%;
    max-width: 696px;
    position: relative;
    /* box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3); */
    /* max-height: 90vh;
    overflow-y: auto; */
}

/* Close Button */
.close-modal {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  cursor: pointer;
  color: #888;
}

.close-modal:hover { color: #000; }

