/* --- Enhanced for Modern Hospital Homepage (Equity Afia style) --- */

:root {
  --hospital-blue: #1976D2;
  --amref-red: #D32F2F;
  --accent-green: #43A047;
  --soft-gray: #f8f9fa;
  --footer-dark: #212529;
  --text-dark: #212529;
  --text-light: #fff;
}

body {
  background: var(--soft-gray);
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--text-dark);
}

/* Navbar */
.navbar {
  background: var(--hospital-blue) !important;
  box-shadow: 0 2px 8px rgba(25,118,210,0.05);
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar .navbar-brand span {
  color: var(--hospital-blue);
}
.navbar .nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.navbar .nav-link.active, .navbar .nav-link:hover {
  color: var(--accent-green) !important;
}
.btn-primary, .btn-outline-success {
  border-radius: 2rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(25,118,210,0.08);
  transition: background 0.2s, color 0.2s;
}
.btn-primary {
  background: var(--hospital-blue) !important;
  border-color: var(--hospital-blue) !important;
}
.btn-primary:hover {
  background: var(--amref-red) !important;
  border-color: var(--amref-red) !important;
}
.btn-outline-success {
  background: var(--accent-green) !important;
  border-color: var(--accent-green) !important;
  color: #fff !important;
}
.btn-outline-success:hover {
  background: var(--amref-red) !important;
  border-color: var(--amref-red) !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1500&q=80') center/cover no-repeat;
  min-height: 70vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(25,118,210,0.8) 0%, rgba(67,160,71,0.7) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-left: 5vw;
}
.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.hero-desc {
  font-size: 1.3rem;
  margin: 1.5rem 0;
  font-weight: 400;
}
.hero-section .btn {
  font-size: 1.1rem;
  padding: 0.7rem 2.2rem;
}

/* Features/Service Cards */
.feature-card {
  border: none;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(25,118,210,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  background: #fff;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInUp 1s;
}
.feature-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(25,118,210,0.15);
}
.feature-icon {
  font-size: 2.5rem;
  color: var(--hospital-blue);
  margin-bottom: 1rem;
}
.feature-card img {
  width: 100%;
  max-width: 220px;
  height: 140px;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(25,118,210,0.08);
}
.feature-card h5 {
  color: var(--hospital-blue);
  font-weight: 700;
}
.feature-card p {
  color: #555;
  font-size: 1rem;
  margin-top: auto;
}

/* Steps Section */
.how-steps h2 {
  color: var(--hospital-blue);
  font-weight: 700;
}
.how-steps .step-icon {
  font-size: 2.2rem;
  color: var(--accent-green);
  margin-bottom: 0.5rem;
}
.how-steps h6 {
  font-weight: 700;
  color: var(--hospital-blue);
}
.how-steps p {
  color: #555;
  font-size: 1rem;
}

/* FAQ Accordion */
.accordion-button:not(.collapsed) {
  color: var(--hospital-blue);
  background: #e3f2fd;
  font-weight: 600;
}
.accordion-button {
  font-size: 1.1rem;
  font-weight: 500;
}
.accordion-body {
  color: #444;
  font-size: 1rem;
}

/* Footer */
.footer {
  background: var(--footer-dark);
  color: #fff;
  padding: 3rem 0 1rem 0;
}
.footer h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.footer a {
  color: #fff;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.footer a:hover {
  opacity: 1;
  color: var(--accent-green);
}
.footer .social-icons a {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: #fff;
  transition: color 0.2s;
}
.footer .social-icons a:hover {
  color: var(--amref-red);
}
.footer .form-control {
  border-radius: 2rem;
  background: #343a40;
  color: #fff;
  border: none;
}
.footer .form-control:focus {
  background: #23272b;
  color: #fff;
}
.footer .btn {
  border-radius: 2rem;
  background: var(--hospital-blue);
  border: none;
  font-weight: 600;
}
.footer .btn:hover {
  background: var(--amref-red);
}
.footer ul {
  padding-left: 0;
  list-style: none;
}
.footer ul li {
  margin-bottom: 0.5rem;
}
.footer .text-center a {
  color: var(--hospital-blue);
  font-weight: 700;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .hero-title { font-size: 2rem; }
  .hero-content { margin-left: 0; text-align: center; }
  .feature-card { min-height: 380px; }
}
@media (max-width: 767.98px) {
  .hero-title { font-size: 1.5rem; }
  .feature-card { min-height: 320px; }
  .footer .col-md-4 { margin-bottom: 2rem; }
}
@media (max-width: 575.98px) {
  .hero-title { font-size: 1.1rem; }
  .footer { padding: 2rem 0 0.5rem 0; }
}