  /* ========= GLOBAL VARIABLES ========= */
  :root {
    --mc-primary: #0056b3;       /* Main blue */
    --mc-primary-dark: #004277;  /* Darker blue for hover */
    --mc-accent: #ffd700;        /* Yellow accent (gold) */
  }

  /* ========= BASE BODY STYLES ========= */
  body {
    margin: 0; /* Remove default browser margin */
    font-family: 'Segoe UI', system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; /* Clean modern font stack */
  }

  /* ========= TOP HEADER ========= */
  .top-header {
    background-color: var(--mc-primary); /* Blue background */
    color: #fff;                         /* White text */
    text-align: center;                  /* Center content */
    padding: 20px 16px 12px;              /* Spacing top/sides/bottom */
	font-weight: 500;  					 /* Semi-bold text */
	font-size: 20px;
  }
  
  .top-header h1 {
    font-size: 2.5rem; /* adjust size as needed */
  }

  /* ========= NAVBAR ========= */
  .navbar {
    background-color: #003c82; /* Dark blue bar */
  }
  .navbar .nav-link {
    color: #ffffff;     /* White links */
    position: relative; /* Needed for underline hover effect */
    font-weight: 500;   /* Semi-bold text */
	font-size: 17px;
  }
  .navbar .nav-link:hover,
  .navbar .nav-link:focus {
    color: var(--mc-accent); /* Gold hover */
  }
  .navbar .nav-link.active {
    color: var(--mc-accent); /* Gold for active page */
    font-weight: 700;        /* Bold active link */
  }
  .navbar .nav-link::after {
    /* Animated underline */
    content: '';
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 0;
    height: 2px;
    background-color: var(--mc-accent);
    transition: width 0.25s ease, left 0.25s ease;
    transform: translateX(-50%);
  }
  .navbar .nav-link:hover::after {
    width: 60%; /* Grows underline when hovered */
  }

  /* ========= NAVBAR: MOBILE VIEW ========= */
  @media (max-width: 767.98px) {
    .navbar {
      padding-top: 1.5rem;
      padding-bottom: 1.5rem; /* More vertical padding */
    }

    .navbar-toggler {
      font-size: 1.5rem;     /* Bigger hamburger icon */
      padding: 0.2rem 0.2rem;
    }

    .navbar .nav-link {
      font-size: 1.1rem;     /* Bigger font size for touch-friendliness */
      padding-top: 0.75rem;
      padding-bottom: 0.75rem;
    }
	
	.navbar .nav-link::after {
    display: none; /* No underline animation */
  }

    .navbar-collapse {
      background-color: #003c82; /* Keeps dark background when expanded */
      padding: 0.5rem 0.5rem;
    }
  }

  /* ========= HERO SECTION ========= */
  .hero {
    background-image: url('/images/MandaCare_BG.png');
    background-size: cover;       /* Cover whole section */
    background-position: center;  /* Centered image */
    min-height: 100dvh;           /* Full viewport height */
    color: #fff;                  /* White text */
    position: relative;
    display: flex;                /* Flexbox for vertical centering */
    align-items: center;          /* Center vertically */
  }
  .hero::after {
    /* Dark overlay on top of background image */
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5); /* 50% black transparent overlay */
  }
  .hero-content {
    position: relative;
    z-index: 1; /* Keeps content above overlay */
  }
  .hero-logo {
    width: 84px;
    height: auto;
  }
  @media (min-width: 768px) {
    .hero-logo { width: 110px; } /* Bigger logo on larger screens */
  }

  /* ========= HERO CARDS ========= */
  .hero-card-col {
    width: 100%;
    max-width: 400px; /* Caps the width on very large screens */
 }
 
  .hero-card {
    background: linear-gradient(145deg, #004b9c, #003c82); /* Subtle gradient background */
	color: #fff;
	border-radius: 12px; /* Slightly softer corners */
	border: 1px solid rgba(255, 255, 255, 0.1); /* Thin, glassy border */
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);  /* Softer, deeper shadow */
	transition: all 0.3s ease-out; /* Smoother transition for all properties */
	overflow: hidden; /* Ensures effects don't spill out */
  }
  .hero-card:hover {
    transform: translateY(-8px) scale(1.03); /* Lifts and slightly enlarges the card */
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); /* More pronounced shadow on hover */
	border-color: rgba(255, 215, 0, 0.5); /* Border glows with the accent color */
  }
  .hero-card .card-body p {
    color: rgba(255, 255, 255, 0.8); /* Softer white for the description */
	transition: color 0.3s ease;
  }
  .hero-card:hover .card-body p {
  color: #fff; /* Makes description fully white on hover */
}

.hero-card .hero-icon {
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.hero-card:hover .hero-icon {
  transform: scale(1.1); /* Icon pops out slightly */
  text-shadow: 0 0 10px var(--mc-accent); /* Icon glows with the accent color */
}
  
  
  .hero-card .btn {
    background-color: #ffd700; /* Gold button */
    color: #003c82;            /* Dark blue text */
    font-weight: 600;
  }
  .hero-card .btn:hover {
    background-color: #e6c200; /* Slightly darker gold */
  }
  
/* ========= HERO LOGO (BOTTOM) ========= */
#mandacare-logo-png {
  width: 200px; /* Controls the logo size */
  height: auto;
  opacity: 0.9;
  transition: all 0.3s ease-out;
}

#mandacare-logo-png:hover {
  opacity: 1;
  transform: scale(1.05); /* Slight zoom on hover */
}

  /* ========= FOOTER ========= */
  footer {
    background-color: #1a1a1a; /* Dark footer */
    color: #ccc;               /* Gray text */
  }
  footer a {
    color: #ccc;
    text-decoration: none;
  }
  footer a:hover {
    color: #fff;               /* White on hover */
    text-decoration: underline;
  }