/* ====================== Primary E-Health - Mature Professional Style ====================== */

:root {
  --primary: #0d6efd;
  --accent: #28c76f;
  --dark: #0f2a44;
  --light: #f8f9fa;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.7;
}

/* ====================== Navbar ====================== */
.navbar {
  background: white !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--dark) !important;
}

.nav-link {
  color: #555 !important;
  font-weight: 500;
  margin: 0 10px;
}

.nav-link:hover {
  color: var(--accent) !important;
}

/* ====================== Hero - Blue Gradient (Kept as you like) ====================== */
.hero {
  background: linear-gradient(135deg, #0f2a44 0%, #1e90ff 100%);
  color: white;
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero h1 {
  font-size: 3.1rem;
  font-weight: 700;
  line-height: 1.15;
}

.hero p {
  font-size: 1.28rem;
  opacity: 0.95;
}

/* Buttons */
.btn-primary, .btn-success {
  padding: 14px 36px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s;
}

.btn-success {
  background-color: var(--accent);
  border: none;
}

.btn-success:hover {
  background-color: #20a35a;
  transform: translateY(-3px);
}

/* ====================== Sections Below Hero (Clean & Mature) ====================== */
section {
  padding: 90px 0;
}

.section-title {
  font-size: 2.45rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 50px;
  text-align: center;
}

/* Clean Cards */
.card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
  transition: all 0.4s ease;
  height: 100%;
  background: white;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card h5 {
  color: var(--dark);
  font-weight: 600;
}

/* Light background sections */
.bg-light {
  background-color: #f8f9fa !important;
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  padding: 60px 0 40px;
}

/* ====================== Floating WhatsApp ====================== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25D366;
  color: white;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  text-decoration: none;
  transition: all 0.3s;
}

.whatsapp-float:hover {
  width: 230px;
  border-radius: 50px;
  justify-content: flex-start;
  padding-left: 20px;
}

.whatsapp-float i {
  margin-right: 12px;
}

.whatsapp-text {
  font-weight: 600;
  font-size: 15.5px;
  opacity: 0;
  transition: opacity 0.3s;
}

.whatsapp-float:hover .whatsapp-text {
  opacity: 1;
}

@media (max-width: 576px) {
  .whatsapp-float {
    width: 58px;
    height: 58px;
    font-size: 28px;
    bottom: 18px;
    right: 18px;
  }
  .whatsapp-float:hover { width: 58px; padding-left: 0; }
  .whatsapp-text { display: none; }
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.4rem; }
  .section-title { font-size: 2.1rem; }
  section { padding: 70px 0; }
}