/* General Styles */
body {
    font-family: Arial, sans-serif;
    padding-top: 80px; /* Adjust based on navbar height */
}

.top-bar {
  background-color: #008000; /* Green background */
  color: white; /* White text */
  font-size: 14px;
  padding: 8px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030; /* Keeps it above other elements */
}

.top-bar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
}

#typing-text {
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;

  font-size: 14px;
  color: white;
  min-width: 250px; /* Adjust based on content */
  text-align: center;
}

.navbar.fixed-top {
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 35px;
}

.logo img {
    max-height: 65px;
    margin-right: 8px;
  }

.contact-info i {
    font-style: normal;
    color: var(--contrast-color);
  }
  
.contact-info i a,
  .contact-info i span {
    padding-left: 5px;
    color: var(--contrast-color);
  }
  
  

/* Navbar */
.navbar {
    background-color: #ffffff !important;
}

.btn-custom {
  padding: 10px 65px; /* Adjust button padding */
  font-size: 16px; /* Adjust text size */
  font-weight: bolder;
}


.navbar-brand {
    font-weight: bold;
    color: #228B22; /* Light Green */
}

.navbar-nav .nav-link {
    color: #333;
}

.navbar-nav .nav-link:hover {
    color: #228B22;
}

/* Show dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

/* Ensure smooth hover effect */
.dropdown-menu {
    margin-top: 0;
    transition: all 0.3s ease-in-out;
}

.nav-item.dropdown > a {
    pointer-events: auto; /* Ensures clicking works */
}


/* Hero Section */
.hero {
    position: relative;
    height: 80vh; /* Adjust hero section height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.text-shadow {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

/* News Ticker */
.news-ticker {
    margin: 0%;
    padding: 0%;
    font-size: 16px;
    font-weight: bold;
    min-height: 12px;
    overflow: hidden;
    white-space: nowrap;
    transition: opacity .5s ease-in-out;
}


/* About Section */
.about {
    background-color: #f8f9fa;
}

#about {
    scroll-margin-top: 80px; /* Adjust based on your navbar height */
    padding-top: 40px; /* Extra space for better spacing */
}


.text-justify {
    text-align: justify;
}

/* Video Play Button */
.pulsating-play-btn {
    font-size: 3rem;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.pulsating-play-btn:hover {
    transform: scale(1.1);
}

.play-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.pulsating-play-btn:hover .play-icon {
    color: green;
}

/* InfoBox Background */
.info-box {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
  }
  
  /* InfoBox Content */
  .info-box-content {
    background: white;
    padding: 20px;
    width: 60%;
    max-width: 500px;
    text-align: center;
    border-radius: 8px;
    position: relative;
  }
  
  /* Close Button */
  .close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
  }
  

/* Donate Section */
.donate {
    background-color: #ffffff !important;
}

#donate {
    scroll-margin-top: 80px; /* Adjust based on your navbar height */
    padding-top: 40px; /* Extra space for better spacing */
}

.text-justify {
    text-align: justify;
}

/* Donate Button */
.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

/* Services Section */
.services {
    background-color: #f8f9fa;
}

#services {
    scroll-margin-top: 80px; /* Adjust based on your navbar height */
    padding-top: 40px; /* Extra space for better spacing */
}

/* Tab Navigation */
.nav-tabs .nav-link {
    border: 1px solid #28a745;
    color: #28a745;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}

.nav-tabs .nav-link.active {
    background-color: #28a745;
    color: white;
    border-bottom-color: white;
}

/* Gallery Section */
.gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
  }

  #gallery {
    scroll-margin-top: 80px; /* Adjust based on your navbar height */
    padding-top: 40px; /* Extra space for better spacing */
}
  
  .gallery-item img {
    width: 100%;
    transition: transform 0.3s ease;
  }
  
  .gallery-item:hover img {
    transform: scale(1.1);
  }
  
  .overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
  }
  
  .gallery-item:hover .overlay {
    opacity: 1;
  }

  /* lightbox Section */
  .lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
  }
  
  .lightbox-img {
    max-width: 60%;
    max-height: 60%;
  }
  
  .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: rgb(6, 241, 45);
    cursor: pointer;
  }
  
  .arrows {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .prev, .next {
    font-size: 40px;
    color: white;
    cursor: pointer;
    padding: 10px;
  }

/* More Info Section */
  #MoreInfo {
    scroll-margin-top: 80px; /* Adjust based on your navbar height */
    padding-top: 40px; /* Extra space for better spacing */
}

/* Tab Contact */
.contact {
    background-color: #f8f9fa;
}

.ffont{
    font-weight: bold;
}

.tab-content {
    border-top: 3px solid #28a745;
    padding-top: 20px;
    padding-left: 40px;
    padding-right: 40px;
}


  .contact .form-group {
    margin-bottom: 15px;
}

#contact {
    scroll-margin-top: 88px; /* Adjust based on your navbar height */
    padding-top: 40px; /* Extra space for better spacing */
}

.contact .form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact button {
    margin-bottom: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

.contact button:hover {
    background-color: #218838;
}

iframe {
    width: 100%;  /* Full width */
    height: 350px; /* Increase height */
    border-radius: 10px; /* Optional rounded corners */
}

/* Partners */
.logo-row {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center;
  gap: 30px;
}

.logo-item {
  flex: 0 1 30%; /* 3 per row on wider screens */
  max-width: 200px;
  text-align: center;
}

.logo-item img {
  max-width: 100%;
  height: auto;
  filter: grayscale(60%);
  transition: all 0.3s ease-in-out;
}

.logo-item img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}


/* Footer */
.footer {
    background-color: #f8f9fa;
    color: #333;
    margin-top: 20px;
}

.footer {
    background: #222;
    color: #fff;
    font-size: 14px;
  }
  
  .footer a {
    color: #ddd;
    text-decoration: none;
  }
  
  .footer a:hover {
    color: #00c851;
  }
  
  .footer .btn-outline-light {
    border-color: #ddd;
  }
  
  .footer .btn-outline-light:hover {
    background: #00c851;
    border-color: #00c851;
    color: #fff;
  }
  