:root {
  --primary-color: #E5252A; /* Crimson Medical Red from Logo */
  --primary-hover: #C8102E; /* Deep Crimson */
  --primary-dark: #9E0C1F;
  --primary-soft: rgba(229, 37, 42, 0.08);
  --primary-soft-border: rgba(229, 37, 42, 0.2);
  --secondary-color: #1E293B; /* Charcoal Slate Dark from Logo Hand & Text */
  --secondary-hover: #0F172A;
  --accent-color: #E5252A;
  --accent-gold: #F59E0B; /* Star ratings & warm badges */
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --bg-light: #FFFFFF;
  --bg-gray: #F8FAFC;
  --bg-subtle-red: #FFF5F5;
  --border-color: #E2E8F0;
  --font-family: 'Inter', sans-serif;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
}

html, body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ==========================================================================
   Bootstrap Global Overrides for Brand Theme
   ========================================================================== */
.btn-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #ffffff !important;
  padding: 0.65rem 1.6rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: var(--primary-hover) !important;
  border-color: var(--primary-hover) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(229, 37, 42, 0.35) !important;
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(229, 37, 42, 0.25) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.border-primary {
  border-color: var(--primary-color) !important;
}

.bg-primary.bg-opacity-10 {
  background-color: rgba(229, 37, 42, 0.08) !important;
  color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, rgba(229, 37, 42, 0.04) 0%, rgba(30, 41, 59, 0.04) 100%);
  padding: 6rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80vh;
}

.hero-content {
  max-width: 50%;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: #ffffff;
}

/* Services */
.services-section {
  padding: 5rem 5%;
  background: var(--bg-light);
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

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

.service-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 2rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(229, 37, 42, 0.12);
  border-color: var(--primary-color);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.service-card h3, .service-card h4 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
  font-weight: 700;
}

.service-card p {
  color: var(--text-muted);
}

/* Why Choose Us */
.why-us-section {
  padding: 5rem 5%;
  background: var(--bg-gray);
}

.why-us-content {
  display: flex;
  gap: 4rem;
  align-items: center;
  justify-content: space-between;
}

.why-us-text {
  flex: 1;
}

.why-us-text ul {
  margin-top: 2rem;
}

.why-us-text li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.why-us-text li i {
  color: var(--primary-color);
}

/* CTA Banner */
.cta-section {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
  color: var(--text-light);
  padding: 4rem 5%;
  text-align: center;
  margin: 4rem 5%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: white;
}

.cta-section .btn-primary {
  background: var(--primary-color) !important;
  color: white !important;
  font-size: 1.1rem;
  padding: 0.9rem 2.2rem;
}

.cta-section .btn-primary:hover {
  background: var(--primary-hover) !important;
}

/* Footer */
.main-footer {
  background: #111827;
  color: white;
  padding: 4rem 5% 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h4, .footer-col h5 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
  font-weight: 700;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: #9CA3AF;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #9CA3AF;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section, .why-us-content {
    flex-direction: column;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
  }
  .nav-links {
    display: none;
  }
  .hero-buttons {
    justify-content: center;
  }
  /* Mobile padding and margin fixes */
  section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  .cta-section {
    margin: 1.5rem 5% !important;
    padding: 2rem 5% !important;
  }
  .cta-section h2 {
    font-size: 1.8rem;
  }
  h2.display-6, h2.fw-bold {
    font-size: 1.8rem !important;
  }
  .display-4 {
    font-size: 2.2rem !important;
  }
  .footer-grid {
    gap: 1.5rem;
  }
  .main-footer {
    padding: 2rem 5% 1rem;
  }
}

/* Hide Bootstrap Dropdown Arrow in Navbar */
.navbar .dropdown-toggle::after {
    display: none !important;
}

/* Premium Navbar Styling */
.navbar {
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  background: white;
}

.navbar-nav .nav-link {
  color: #1E293B !important;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
}

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

/* Underline animation on hover */
.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::before {
  width: 80%;
}

/* Dropdown Menu Styling */
.dropdown-menu {
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 10px 0;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.dropdown-item {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  color: #334155;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: var(--bg-subtle-red);
  color: var(--primary-color);
  padding-left: 24px;
}

/* Show dropdown on hover */
@media (min-width: 1200px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease forwards;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Blood Checkup Button - Dedicated Medical Red */
.nav-blood-checkup-btn,
a.nav-blood-checkup-btn {
  background-color: #E5252A !important;
  background: #E5252A !important;
  color: #FFFFFF !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 10px rgba(229, 37, 42, 0.25) !important;
  transition: all 0.3s ease !important;
}

.nav-blood-checkup-btn:hover,
.nav-blood-checkup-btn:focus,
a.nav-blood-checkup-btn:hover,
a.nav-blood-checkup-btn:focus {
  background-color: #C8102E !important;
  background: #C8102E !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 14px rgba(229, 37, 42, 0.4) !important;
}

