:root{
  --green:#10a957;
  --green-dark:#052e1a;
  --mint:#e9fff3;
  --soft:#f5fbf8;
  --text:#102033;
  --muted:#617083;
  --line:#e4eee8;
  --white:#ffffff;
  --shadow:0 18px 45px rgba(16,33,51,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,Arial,sans-serif;
  color:var(--text);
  background:var(--soft);
  line-height:1.6;
}
a{text-decoration:none;color:inherit}
.container{width:min(1180px,92%);margin:auto}

/* Header */
.nav{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  height:86px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.logo img{
  height:58px;
  max-width:330px;
  object-fit:contain;
  display:block;
}
.menu{
  display:flex;
  align-items:center;
  gap:28px;
  font-weight:700;
  color:#304055;
}
.menu a:hover{color:var(--green)}
.toggle{display:none;font-size:30px;cursor:pointer}
.dropdown{position:relative;display:flex;align-items:center}
.dropdown-menu{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  min-width:245px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:10px;
  box-shadow:var(--shadow);
  z-index:999;
}
.dropdown:hover .dropdown-menu{display:block}
.dropdown-menu a{
  display:block;
  padding:10px 12px;
  border-radius:10px;
  white-space:nowrap;
  color:#304055;
}
.dropdown-menu a:hover{
  background:var(--mint);
  color:var(--green);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--green);
  color:white!important;
  padding:13px 22px;
  border-radius:14px;
  font-weight:800;
  border:0;
  cursor:pointer;
  box-shadow:0 12px 25px rgba(16,169,87,.22);
}
.btn:hover{background:#0b8f48}
.btn-outline,.btn-light{
  background:white;
  color:var(--green)!important;
  border:1px solid var(--line);
  box-shadow:none;
}

/* Hero */
.hero{
  background:
    radial-gradient(circle at 90% 10%, rgba(16,169,87,.16), transparent 35%),
    linear-gradient(135deg,#ffffff 0%,#eafff3 100%);
  padding:90px 0 80px;
}
.hero-grid{
  display:grid;
  grid-template-columns:1fr;
  max-width:900px;
  gap:32px;
  align-items:center;
}
.kicker{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:8px 14px;
  background:white;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--green);
  font-weight:800;
}
h1{
  font-size:58px;
  line-height:1.05;
  margin:18px 0 16px;
  letter-spacing:-1.8px;
}
h2{
  font-size:38px;
  line-height:1.15;
  margin:0 0 10px;
  letter-spacing:-.8px;
}
h3{margin:0 0 8px}
.lead{
  font-size:18px;
  color:var(--muted);
  max-width:760px;
}
.actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:28px;
  align-items:center;
}

/* Sections */
.page-hero{
  padding:80px 0 70px;
  background:linear-gradient(135deg,#fff,var(--mint));
  text-align:center;
}
.page-hero h1{
  max-width:900px;
  margin-left:auto;
  margin-right:auto;
}
.page-hero .lead{
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}
.section{padding:76px 0}
.section-light{background:#f8fffb}
.section-head{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:center;
  margin-bottom:30px;
}
.section-head p{max-width:560px}
.grid-4{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.login-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:30px;
}

.login-card{
  background:white;
  border:1px solid var(--line);
  border-radius:26px;
  padding:25px;
  box-shadow:var(--shadow);
}

.card{
  background:white;
  border:1px solid var(--line);
  border-radius:26px;
  padding:25px;
  box-shadow:0 14px 35px rgba(16,33,51,.05);
  min-height:auto;
}
.card h3,.card p,.meta,.lead{
  word-spacing:normal;
  letter-spacing:normal;
}
.icon{
  width:56px;
  height:56px;
  border-radius:18px;
  background:var(--mint);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  margin-bottom:18px;
}
.service-card{transition:.2s}
.service-card:hover{
  transform:translateY(-5px);
  box-shadow:var(--shadow);
}
.meta{color:var(--muted)}
.pill{
  display:inline-block;
  background:var(--mint);
  color:var(--green);
  border-radius:999px;
  padding:5px 11px;
  font-weight:800;
  font-size:13px;
}

/* Forms */
.form{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  background:white;
  border-radius:26px;
  padding:22px;
}
.form input,.form select,.form textarea{
  width:100%;
  padding:14px;
  border:1px solid var(--line);
  border-radius:14px;
  font-size:15px;
}
.form textarea,.form button,.form .full{grid-column:1/-1}

/* Doctor cards */
.doctors-clean-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.doctor-clean-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.doctor-photo-wrap{
  height:280px;
  background:var(--mint);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.doctor-photo-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.doctor-photo-placeholder{font-size:86px}
.doctor-clean-body{
  padding:24px;
  text-align:center;
}
.doctor-clean-body h3{
  font-size:24px;
  margin:0 0 8px;
}
.doctor-specialization{
  color:var(--muted);
  font-size:17px;
  margin-bottom:22px;
}
.doctor-clean-body .btn{width:100%;border-radius:16px}

/* Video / queue */
.video-frame{
  width:100%;
  height:72vh;
  border:0;
  border-radius:24px;
  box-shadow:var(--shadow);
  background:#061b11;
}
.queue-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}

/* Footer */
.footer{
  background:var(--green-dark);
  color:#ffffff;
  padding:56px 0 24px;
  overflow:hidden;
}
.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:48px;
  align-items:start;
}
.footer h3{
  color:#ffffff;
  margin:0 0 16px;
  font-size:20px;
}
.footer p,.footer a{
  color:#d8efe3;
  margin:0 0 10px;
  line-height:1.7;
}
.copy{
  border-top:1px solid rgba(255,255,255,.14);
  margin-top:34px;
  padding-top:18px;
  color:#d8efe3;
}

/* Mobile */
@media(max-width:900px){
  .toggle{display:block}
  .menu{
    display:none;
    position:absolute;
    top:86px;
    left:0;
    right:0;
    background:white;
    padding:18px 4%;
    flex-direction:column;
    align-items:flex-start;
    border-bottom:1px solid var(--line);
  }
  .menu.active{display:flex}
  .dropdown{display:block;width:100%}
  .dropdown-menu{
    position:static;
    display:block;
    box-shadow:none;
    border:0;
    padding:0;
    margin:4px 0 8px 12px;
  }
  .dropdown-menu a{padding:8px 10px}
  .hero{padding:60px 0}
  .page-hero{padding:55px 0}
  .grid-4,.grid-3,.doctors-clean-grid{grid-template-columns:1fr}
  .section-head{display:block}
  .form{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr;gap:24px}
  h1{font-size:40px}
  h2{font-size:30px}
  .logo img{height:45px}
  .video-frame{height:62vh}
  .doctor-photo-wrap{height:320px}
}
