body {
    margin: 0;
    font-family: Arial, sans-serif;
}
/* Navbar container */
    /* Preloader container */
    #preloader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #ffffff; /* Change background color */
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      transition: opacity 0.6s ease, visibility 0.6s ease;
    }

    /* Loader animation (spinner) */
    .loader {
      border: 6px solid #f3f3f3;
      border-top: 6px solid #3498db; /* Spinner color */
      border-radius: 50%;
      width: 60px;
      height: 60px;
      animation: spin 1s linear infinite;
    }

    /* Spin animation */
    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    /* Hide preloader */
    #preloader.hidden {
      opacity: 0;
      visibility: hidden;
    }


/* Navbar container */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    padding: 10px 5%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Logo styling */
.logo img {
    height: 70px;
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(100%);
}



/* Menu items */
.nav-links {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 14px;
    padding: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Glow effect on hover */
.nav-links a:hover {
    color: #1e9e0ecb;
    text-shadow: 0 0 5px rgba(109,199,42,0.8);
}

/* Dropdown arrow style */
.nav-links i {
    font-size: 10px;
    color: #333;
    transition: transform 0.3s ease;
}

.nav-links li:hover i {
    transform: rotate(180deg);
}

/* Dropdown menu */
.submenu {
    display: none;
    position: absolute;
    background-color: white;
    list-style: none;
    padding: 10px;
    margin: 0;
    top: 100%;
    left: 0;
    min-width: 180px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    z-index: 999;
}

.submenu li {
    padding: 5px 0;
}

.submenu li a {
    font-weight: semi-bold;
    font-size: 13px;
}

/* Search icon */
.search {
    font-size: 18px;
    cursor: pointer;
    margin-right: 10px;
}


/* Hamburger icon (hidden on desktop) */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: #333; /* visible on white background */
    cursor: pointer;
}


/* Mobile styles */
@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }
    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        background: #001f3f;
        flex-direction: column;
        width: 100%;
        text-align: left;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }
    .nav-links li {
        width: 100%;
    }
    .nav-links li a {
        display: block;
        padding: 12px 20px;
        color: white;
    }
    .nav-links.active {
        max-height: 500px; /* Enough to show all links */
    }
    .submenu {
        position: static;
        background: #003366;
        box-shadow: none;
    }
    .submenu li a {
        padding-left: 40px;
    }
}


/****************************
 *       SLIDESHOW         *
 ****************************/

.slideshow {
    position: relative;
    width: 100%;
    height: 650px; /* Adjust as needed */
    overflow: hidden;
}

.slideshow img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slideshow img.active {
    opacity: 1;
}


/* Content section */

/* Section background */
.impact-section {
    background-color: #f5f5f5;
}

/* Title */
.section-title {
    font-size: 1.8rem;
    letter-spacing: 1px;
    color: #000;
}

/* Numbers */
.impact-number {
    font-size: 2.5rem;
    color: #0a345f; 
}

/* Subtitle */
.impact-subtitle {
    color: #0a345f;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Description text */
.impact-desc {
    font-size: 0.9rem;
    color: #333;
    max-width: 220px;
    margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .impact-number {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
}


/* Programmes section */
.programmes-section {
    background: #fff;
}

.section-title {
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.programme-item {
    padding: 15px;
}

.programme-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.programme-title {
    font-weight: bold;
    font-size: 1rem;
}

.programme-desc {
    font-size: 0.85rem;
    color: #555;
    max-width: 200px;
    margin: 0 auto;
}

/* Custom colors */
.text-purple {
    color: #9b59b6;
}



/****************************
 *         Achievement           *
 ****************************/


.sdg-section {
    background-color:  #f5f5f5;
    padding: 40px 20px;
    text-align: center;
}
.sdg-section h2 {
    text-transform: uppercase;
}

.sdg-card {
    border-radius: 15px;
    padding: 20px 10px;
    color: white;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sdg-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.sdg-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.sdg-card p {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.3;
}

.sdg-card span {
    font-size: 12px;
    font-weight: bold;
    display: block;
    margin-top: 5px;
    opacity: 0.8;
}


/****************************
 *         CAUSE CSS           *
 ****************************/

 .cause-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.cause-card:hover {
    transform: translateY(-5px);
}

.cause-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.cause-content {
    padding: 15px;
}

.cause-content h5 {
    font-weight: bold;
    margin-bottom: 10px;
}

.cause-content p {
    font-size: 14px;
    color: #555;
    min-height: 60px;
}

.cause-content a {
    font-size: 13px;
    font-weight: bold;
    color: #4CAF50;
    text-decoration: none;
}



/****************************
 *         PARTNERS          *
 ****************************/

 .partners-section {
  text-align: center;
  padding: 40px 20px;
  background-color:  #f5f5f5;

}

.partners-section h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

.logos-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logos-container {
  display: flex;
  gap: 80px;
  animation: scroll 20s linear infinite;
}

.logos-container img {
  height: 160px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logos-container img:hover {
  transform: scale(1.1);
  filter: grayscale(0%);
}

/* Animation */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* Responsive */
@media (max-width: 768px) {
  .logos-container img {
    height: 45px;
  }
}

/****************************
 *         FOOTER           *
 ****************************/

 .footer-section {
    background-color: #4a4a4a;
    color: #fff;
    padding: 40px 0;
    font-family: Arial, sans-serif;
}

.footer-column h6 {
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    line-height: 2;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

.footer-column ul li a:hover {
    color: #fff;
}

.footer-section hr {
    border-color: #777;
    margin: 20px 0;
}

/* Bottom layout */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-contact {
    font-size: 14px;
    max-width: 500px;
}

.footer-contact a {
    color: #fff;
    text-decoration: none;
}

.footer-social {
    margin-top: 15px;
}

.footer-social a {
    display: inline-block;
    background-color: #000;
    color: #fff;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 16px;
}

.footer-social a:hover {
    background-color: #a6d437;
    color: #000;
}

/* Newsletter form */
.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
}

.newsletter-form button {
    background-color: #a6d437;
    border: none;
    padding: 10px 20px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
}

.newsletter-form button:hover {
    background-color: #91b92f;
}
