:root{
--primary-color: #c2c6c2;
--primary-color-highlight: #327065;
--bs-body-bg: #13835e;
--bs-body-font-family: 'Montserrat', sans-serif;
}

a {color: #c2c6c2;;}
a:hover {color: var(--primary-color);}


/* Main Header*/


.header {
/* Change to fixed or keep absolute, but ensure z-index is highest */
position: absolute !important;
z-index: 2000 !important; /* Force it above the hero layers */
width: 100%;
}
.header a img {
transition: opacity 0.3s ease-in-out;
}

.header a:hover img {
opacity: 1 !important; /* Logo becomes solid when hovering over the link */
}

/* Primary navigation links (mobile-first responsive hamburger menu) */
.navbar {
/* keep transparent so the header logo sits over hero */
background: transparent;

}
.navbar .nav-link {
color: #fff;
font-weight: 500;
font-size: 1rem;
letter-spacing: 2px;
padding: 1rem 1rem;
}


.nav-link:hover,
 .nav-link:focus {
color: var(--primary-color-highlight);
}

/* ensure the toggler icon is visible */
.navbar-toggler {
border: none;
}


@media (min-width: 768px) {
  .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    flex-grow: 1;
    align-items: center; /* Vertically centers links with the logo */
  }

/* Mobile Menu Background (when expanded) */
@media (max-width: 767.98px) {
  .navbar-collapse {
    position: absolute;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 10px;
  }
}
 
  .navbar-nav {
    margin-left: auto !important; /* Forces links to the far right */
  }
}


/*Hero Section */
.hero{
position: relative;
height: 100vh;
width: 100%;
background-color: #13835e;
overflow: hidden;
}


.hero-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
z-index: 2; /* Middle level */
pointer-events: none;
}

.hero img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover; /* Ensures image doesn't stretch */
z-index: 1;
opacity: 0.6;
}

/* 3. Pull the Content to the front */
.hero-content {
z-index: 3; /* Highest level */
position: relative; /* Required for z-index to work */
height: 100%;
}
/* Text "Pop" styles */
.hero h1 {
font-weight: 600;
font-size: clamp(2.5rem, 6vw, 4.5rem); /* Responsive font size */
text-shadow: 0 4px 15px rgba(0,0,0,0.5);
line-height: 1.1;
margin-bottom: 1rem;

}

.hero p {
font-size: 1.1rem;
letter-spacing: 3px;
text-transform: uppercase;
}





.btn-outline-light {
border-width: 2px;
font-weight: 700;
letter-spacing: 1px;
transition: all 0.3s ease;
}

.btn-outline-light:hover {
background-color: #fff;
color: #000 !important;
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* Three Columns (after hero) */
.three-cols {
background: #555453;
padding-bottom: 3rem;
margin-top: 3rem;
}
.three-cols .row {
align-items: stretch;
}
.col-card {
background: #ffffff;
border-radius: 12px;
box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.col-card img {
width: 100%;
height: 140px;
object-fit: contain;
border-radius: 40px;
}
.col-card h3 {
margin-top: 0.5rem;
margin-bottom: 0.5rem;
color: #344054;
}
.col-card p {
color: #344054;
}
.col-card:hover {
transform: translateY(-6px);
box-shadow: 0 14px 30px rgba(17, 24, 39, 0.12);
}

/* Footer */
.footer {
background: var(--primary-color-highlight);
color: #fff;
margin-top: 3rem;
border-top: 3px solid var(--primary-color);
}
.footer-text {
margin: 0;
font-size: 0.95rem;
letter-spacing: 0.5px;
}
.footer-link {
color: #fff;
text-decoration: none;
transition: color 0.3s ease;
}
.footer-link:hover {
color: var(--primary-color);
}
.footer-link i {
margin-right: 0.5rem;
}
.copyright {
font-size: 0.85rem;
opacity: 0.9;
}
.social-links {
display: flex;
gap: 1.5rem;
justify-content: flex-start;
}
@media (min-width: 768px) {
.social-links {
justify-content: flex-end;
}
}
.social-link {
color: #fff;
font-size: 1.5rem;
transition: color 0.3s ease, transform 0.3s ease;
display: inline-flex;
align-items: center;
justify-content: center;
}
.social-link:hover {
color: var(--primary-color);
transform: translateY(-3px);
}
/*Footer End*/



/* Logo */
.logo {
/* Min size: 100px, Ideal size: 15% of screen width, Max size: 220px */
width: clamp(100px, 10vw, 220px);
height: auto;
transition: width 0.3s ease; /* Makes the transition smooth */

}


/*About page*/

.about{
background: #555453;
padding-bottom: 3rem;
margin-top: 3rem;
margin-bottom: 3rem;
}

.hero-about{
background: #327065;
position: relative;
display: flex;
justify-content: center;
align-items: center;
min-height: 25vh;
overflow: hidden;

}

.hero-about-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
z-index: 1;
pointer-events: none;
}
.hero-about p {
line-height: 1rem;
letter-spacing: 2px;
font-size: clamp(1rem, 2vw, 1.25rem); /* Responsive font size */

}
.hero-about h1 {

font-size: clamp(2.5rem, 6vw, 4.5rem); /* Responsive font size */
text-shadow: 0 4px 15px rgba(0,0,0,0.5);
line-height: 1.1;
margin-top: 2rem;
margin-bottom: 1rem;
}

.content-about{
min-height: 60vh;
}

/* Support page content styling */
.content-about p {
font-size: 1.4rem;
text-align: center;
}

.content-about h2 {
text-align: center;
}

.content-about .btn-primary {
background-color: var(--primary-color-highlight);
border-color: var(--primary-color-highlight);
color: #fff;
font-weight: 600;
transition: all 0.3s ease;
padding: 0.75rem 2rem;
font-size: 1.1rem;
}

.content-about .btn-primary:hover {
background-color: #1f4d3d;
border-color: #1f4d3d;
color: var(--primary-color);
}

/* Donate image centering and sizing */
.col-12.col-md-6 img[src*="donate.svg"] {
  display: block;
  margin: 0 auto;
  height: 100%;
  width: auto;
  max-height: 80vh;
  object-fit: contain;
}

.col-12.col-md-6:has(img[src*="donate.svg"]) {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hospital image centering and sizing */
.col-12.col-md-6 img[src*="GSCH.jpg"] {
  display: block;
  margin: 0 auto;
  height: 100%;
  width: auto;
  max-height: 80vh;
  object-fit: contain;
}

.col-12.col-md-6:has(img[src*="GSCH.jpg"]) {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mission image centering and sizing */
.col-12.col-md-6 img[src*="our_mission_img3.svg"] {
  display: block;
  margin: 0 auto;
  height: 100%;
  width: auto;
  max-height: 80vh;
  object-fit: contain;
}

.col-12.col-md-6:has(img[src*="our_mission_img3.svg"]) {
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Mobile Menu Background Fix */
@media (max-width: 767.98px) {
  .navbar-collapse {
    background-color: #000000 !important; /* Forces solid black */
    padding: 1.5rem;             /* Adds space around links */
    border-radius: 8px;          /* Optional: rounds the corners */
    margin-top: 15px;            /* Adds a gap between logo and menu */
    box-shadow: 0 4px 10px rgba(0,0,0,0.5); /* Optional: helps it "pop" */
  }

  /* Ensures all links inside the mobile menu are white */
  .navbar-nav .nav-link {
    color: #ffffff !important;
  }
}