/* Global Header & Footer Color */
header .navbar,
footer {
  background-color: #003366 !important; /* Deep Blue */
}

/* Logo Hover Effect */
.logo-hover img {
  transition: transform 0.3s ease, filter 0.3s ease;
}
.logo-hover img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0px 3px 6px rgba(0,0,0,0.3));
}

/* Nav & Footer Link Hover */
.navbar-nav .nav-link,
.footer-links a {
  transition: color 0.3s ease;
  color: #ffffff !important;
}
.navbar-nav .nav-link:hover,
.footer-links a:hover {
  color: #66B2FF !important;
}

/* Social Icons */
.social-icons a {
  color: white;
  margin: 0 8px;
  font-size: 20px;
  transition: color 0.3s ease, transform 0.3s ease;
}
.social-icons a:hover {
  color: #FFD700;
  transform: scale(1.2);
}
/* Make Donate button strong red */
.btn-danger {
    background-color: #cc0000 !important; /* Strong red */
    border-color: #cc0000 !important;
  }
  
  .btn-danger:hover {
    background-color: #990000 !important; /* Darker on hover */
    border-color: #990000 !important;
  }
/* Uniform paragraph style for all descriptive text */
p.section-intro {
    color: #333;            /* dark gray for good readability */
    font-size: 1.1rem;      /* slightly larger than normal */
    line-height: 1.6;  
}
/* Global colors */
.navbar, footer {
    background-color: #003366 !important;
  }
  
  /* Section title */
  .section-title {
    color: #003366;
    font-weight: 700;
  }
  
  /* Team member cards */
  .team-member {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  .team-member img {
    border-radius: 50%;
    margin-bottom: 15px;
    height: 180px;
    width: 180px;
    object-fit: cover;
  }
  .team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }
  
  
  }
/* Trustees Section */
.trustees-section {
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
  }
  
  .team-member {
    background: #ffffff;
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    border: 2px solid #dee2e6;
  }
  
  .team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-color: #0d6efd; /* Blue highlight */
  }
  
  .team-member img {
    border-radius: 50%;
    width: 140px;
    height: 200px;
    object-fit: cover;
    border: 5px solid #0d6efd;
    padding: 3px;
    transition: 0.3s ease;
  }
  
  .team-member img:hover {
    border-color: #dc3545; /* Red on hover */
  }
  
  .team-member h5 {
    font-weight: bold;
    margin-top: 15px;
    color: #212529;
  }
  
  .team-member p {
    color: #6c757d;
    font-size: 0.95rem;
    font-style: italic;
  }
  
  /* Footer links */
  footer a {
    color: #0d6efd;
    text-decoration: none;
  }
  footer a:hover {
    text-decoration: underline;
  }
  html, body {
    height: 100%;
  }
  body {
    display: flex;
    flex-direction: column;
  }
  footer {
    margin-top: auto;
  }
      
    /* ---------- Our Services Section ---------- */
section {
    padding: 60px 0;
    background: #f8f9fa; /* soft grey background for contrast */
  }
  
  section h2 {
    font-weight: 700;
    color: #003366; /* deep blue to match header/footer */
    margin-bottom: 20px;
  }
  
  section > p {
    max-width: 750px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
  }
  
  /* Service Cards */
  .work-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%; /* keeps equal height in each row */
  }
  
  .work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  }
  
  /* Images inside cards */
  .work-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: 0.3s ease;
  }
  
  .work-card img:hover {
    opacity: 0.9;
  }
  
  /* Card Titles */
  .work-card h4 {
    color: #003366;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.25rem;
  }
  
  /* Card Text */
  .work-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  /* Responsive adjustments */
  @media (max-width: 767px) {
    .work-card img {
      height: 180px;
    }
    section.py-5 p {
      font-size: 1.15rem;
      color: #444;
    }
    
    /* Gallery Images */
    .gallery-img {
      width: 100%;
      height: auto;
      border-radius: 12px;
      object-fit: cover;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
      cursor: pointer;
      position: relative;
      overflow: hidden;
    }
    
    /* Hover effect: zoom, shadow & dark overlay */
    .gallery-img:hover {
      transform: scale(1.07);
      filter: brightness(0.9) saturate(1.1);
      box-shadow: 0 12px 25px rgba(0,0,0,0.25);
    }
    
    /* Overlay glow effect */
    .gallery-img::after {
      content: "";
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      border-radius: 12px;
      background: rgba(0,0,0,0);
      transition: background 0.3s ease;
    }
    
    .gallery-img:hover::after {
      background: rgba(0,0,0,0.2);
    }
    
    /* Lightbox Modal */
    .modal-content.bg-dark {
      background: #000;
      border: none;
      border-radius: 12px;
    }
    
    .modal-content img {
      max-height: 80vh;
      object-fit: contain;
      border-radius: 12px;
      box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    }
    
    .modal-footer .btn-light {
      background: #b30000;
      color: #fff;
      border: none;
    }
    
    .modal-footer .btn-light:hover {
      background: #a00000;
    }
}

/* Responsive tweaks */
@media (max-width: 768px) {
  section.py-5 p {
    font-size: 1rem;
  }
}

.video-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  cursor: pointer;
}
.video-card:hover {
  transform: scale(1.02);
}
.video-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: #000;
}
.modal-video {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

section {
  padding: 50px 20px;
}
h2 {
  color: #003366;
  margin-bottom: 20px;
  font-weight: bold;
}
.involve-card {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 30px;
  text-align: center;
  transition: 0.3s;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}
.involve-card:hover {
  background: #e6f0ff;
  transform: translateY(-5px);
}
.involve-card i {
  font-size: 40px;
  color: #003366;
  margin-bottom: 15px;
}

     /* Contact Info Cards */
     .contact-info {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      margin-bottom: 40px;
    }
    .info-card {
      background: white;
      border-radius: 12px;
      padding: 20px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      flex: 1 1 250px;
      text-align: center;
      transition: transform 0.3s;
    }
    .info-card:hover {
      transform: translateY(-5px);
    }
    .info-card i {
      font-size: 1.8rem;
      color: #003366;
      margin-bottom: 10px;
    }

    /* Form */
    form {
      background: white;
      border-radius: 15px;
      padding: 30px;
      box-shadow: 0 6px 18px rgba(0,0,0,0.15);
      transition: transform 0.3s;
    }
    form:hover {
      transform: translateY(-5px);
    }
    .form-label {
      font-weight: bold;
      color: #003366;
    }
    .input-group-text {
      background: #003366;
      color: white;
      border: none;
    }
    .form-control:focus {
      border: 2px solid #ffcc00;
      box-shadow: 0 0 10px rgba(255,204,0,0.4);
    }
    button[type="submit"] {
      background: #003366;
      color: white;
      font-weight: bold;
      border-radius: 10px;
      padding: 12px;
      border: none;
      transition: 0.3s ease-in-out;
    }
    button[type="submit"]:hover {
      background: #00509e;
      transform: scale(1.03);
    }

    /* Map */
    iframe {
      border: 0;
      width: 100%;
      height: 350px;
      border-radius: 12px;
      margin-bottom: 40px;
    }
    .gallery-img {
      width: 100%;
      height: 250px;
      object-fit: cover;
      border-radius: 8px;
      margin-bottom: 20px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
    }
    .gallery-img:hover {
      transform: scale(1.05);
      box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    }