:root {
  --nav-bg: #EAF4FC;
  --bg-color: #D3EAFA;
  --primary-blue: #2D74B3;
  --dark-navy: #0A4076;
  --text-dark: #333;
  --white: #fff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
  background: var(--nav-bg);
  min-height: 100vh;
  color: var(--text-dark);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 4rem;
  background: #C4E2F6; /* Light sky blue from figma */
}

.logo-circle {
  width: 50px;
  height: 50px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #000;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: var(--dark-navy);
  font-size: 1.1rem;
}

.nav-links a.active {
  color: var(--primary-blue);
  border-bottom: 2px solid var(--primary-blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-signup {
  background: var(--dark-navy);
  color: var(--white);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  transition: opacity 0.3s;
}

.btn-signup:hover {
  opacity: 0.9;
}

/* HERO */
.hero {
  padding: 0;
}

.hero-content {
  background: #64A3D9; /* The exact blue hue from home.png */
  padding: 5rem 4rem;
  color: var(--white);
  text-align: left;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 800px;
  line-height: 1.6;
  font-weight: 500;
}

.btn-main {
  background: var(--dark-navy);
  color: var(--white);
  border: none;
  padding: 1.2rem 2.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 1.5rem;
  transition: opacity 0.3s;
}

.btn-main:hover {
  opacity: 0.9;
}

.stat-banner {
  background: var(--dark-navy);
  color: var(--white);
  display: flex;
  justify-content: space-around;
  padding: 2rem 4rem;
}

.stat-item {
  text-align: center;
}

.stat-item h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* ─── NEW LANDING PAGE & ROLE DEFINITION (Image 4) ─── */
.landing-body { margin:0; padding:0; background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%); display:flex; flex-direction:column; min-height:100vh; }
.top-nav { display:flex; justify-content:space-between; align-items:center; padding:1.5rem 4rem; width:100%; box-sizing:border-box; color:#0A2753; }
.logo { display:flex; align-items:center; gap:10px; font-weight:800; font-size:1.2rem; }
.logo-circle-small { width:50px; height:50px; background:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; }
.logo-text { color:#0A2753; }
.nav-links { display:flex; gap:2.5rem; font-weight:700; font-size:1.1rem; }
.nav-links a { text-decoration:none; color:#1C448E; transition:color 0.3s; }
.nav-links a.active, .nav-links a:hover { color:#0A2753; }
.nav-icons { display:flex; gap:10px; font-size:1.5rem; color:#0A2753; cursor:pointer; }
.landing-container { max-width: 1200px; display:flex; align-items:center; justify-content:space-between; padding:2rem 4rem; color:#fff; flex:1; margin:0 auto; width:100%; box-sizing:border-box; }
.logo-circle { width:150px; height:150px; background:#fff; border-radius:50%; margin-bottom:2rem; }
.brand-text h1 { font-size:4rem; color:#0A2753; font-weight:800; margin-bottom:1rem; display:flex; align-items:center; gap:10px; }
.brand-text p { font-size:1.5rem; color:#1C448E; font-weight:600; line-height:1.4; margin-bottom:2rem; max-width:500px; }
.stethoscope-icon { color:#0984e3; font-size:3.5rem; }
.btn-get-started { background:#0A2753; color:#fff; padding:1.2rem 3rem; font-size:1.2rem; font-weight:600; border:none; border-radius:8px; cursor:pointer; }
.landing-right img { width:600px; max-width:100%; border-radius:12px; }

/* Role Selection Body */
.role-body { margin:0; padding:0; background: linear-gradient(135deg, #a4ebf3 0%, #74b9ff 100%); overflow:hidden; position:relative; min-height:100vh; display:flex; align-items:center; padding-left:10%; }
.role-container { position:relative; z-index:10; }
.role-title { font-size:2.5rem; color:#0A2753; margin-top:1.5rem; margin-bottom:2rem; font-weight:800; max-width:350px; line-height:1.2; }
.btn-role { display:block; width:100%; max-width:300px; background:#1C448E; color:#fff; padding:1.2rem; margin-bottom:1rem; text-align:center; font-size:1.2rem; font-weight:600; border:none; border-radius:8px; cursor:pointer; transition:background 0.3s; }
.btn-role:hover { background:#0A2753; }
.decorative-circles { position:absolute; right:-10%; top:-10%; width:120vh; height:120vh; z-index:1; }
.circle { position:absolute; border-radius:50%; border:60px solid; }
.c1 { width:100%; height:100%; right:0; border-color:#0984e3; }
.c2 { width:70%; height:70%; right:15%; top:15%; border-color:#0A2753; }
.c3 { width:40%; height:40%; right:30%; top:30%; border-color:#74b9ff; }

.stat-item span {
  font-size: 1.1rem;
  color: #B5C6DE;
}

/* Info Section */
.info-section {
  padding: 4rem;
  background: var(--nav-bg);
}

.info-text h2 {
  color: var(--dark-navy);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.info-text p {
  color: var(--primary-blue);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  background: var(--dark-navy);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  color: var(--white);
  text-align: center;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.icon-wrap {
  width: 70px;
  height: 70px;
  background: var(--white);
  color: var(--dark-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem auto;
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.card p {
  font-size: 1rem;
  color: #B5C6DE;
  line-height: 1.6;
}

footer {
  text-align: center;
  padding: 2rem;
  background: var(--dark-navy);
  color: #B5C6DE;
}

/* ─── Responsive Design ─────────────────────────────────────────────────── */

/* Tablet & Mobile (Max 1024px) */
@media (max-width: 1024px) {
  .navbar, .top-nav { padding: 1.2rem 2rem; }
  .landing-container { padding: 2rem; flex-direction: column; text-align: center; }
  .landing-right img { width: 100%; max-width: 500px; margin-top: 2rem; }
  .brand-text h1 { font-size: 3rem; justify-content: center; }
  .brand-text p { margin: 0 auto 2rem; }
  .hero-content { padding: 4rem 2rem; text-align: center; }
  .hero-content h1 { font-size: 2.8rem; }
  .hero-content p { margin: 0 auto; }
  .btn-main { margin: 1.5rem auto 0; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

/* Mobile (Max 768px) */
@media (max-width: 768px) {
  .nav-links { display: none; } /* Hide desktop nav */
  .hamburger { display: block !important; cursor: pointer; font-size: 1.5rem; color: #0A2753; }
  
  .navbar, .top-nav { padding: 1rem 1.5rem; }
  .brand-text h1 { font-size: 2.2rem; }
  .brand-text p { font-size: 1.1rem; }
  .landing-container { padding: 1rem; }
  
  .stat-banner { flex-direction: column; gap: 2rem; padding: 2rem; }
  .stat-item h2 { font-size: 2rem; }
  
  .cards-grid { grid-template-columns: 1fr; }
  .info-section { padding: 2rem 1.5rem; }
  .info-text h2 { font-size: 1.8rem; }
  
  /* About Us/Generic Page Container */
  .page-container { flex-direction: column; padding: 2rem 1.5rem; margin: 1rem 1rem 0; gap: 24px; }
  .page-title { font-size: 2rem; text-align: center; }
  .about-text { text-align: left; }
  .about-visual { padding: 1.5rem; }
  .stat-grid { grid-template-columns: 1fr; }

  /* Role Selection */
  .role-body { padding-left: 0; justify-content: center; text-align: center; }
  .role-container { padding: 2rem; width: 100%; }
  .role-title { font-size: 2rem; margin: 1rem auto 2rem; }
  .btn-role { margin: 0 auto 1rem; }
  .decorative-circles { display: none; }
}

/* Utility Classes */
.hamburger { display: none; }
.mobile-nav-active .nav-links {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: #C4E2F6;
  padding: 2rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  z-index: 1000;
  gap: 1.5rem;
  text-align: center;
}
