/********** Template CSS **********/
:root {
    --primary:  #79d46c;;
    --secondary: #FFF0E6;
    --light: #F8F8F9;
    --dark: #001D23;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn.btn-primary:hover {
    color: var(--primary);
    background: transparent;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/* ** Navbar ** */

/* Navbar Container */
#navbar-container {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: linear-gradient(180deg, #0c152f 0%, #141e44 100%);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    font-family: 'Poppins', sans-serif;
}

/* Navbar */
#modern-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
}

/* Logo */
#logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s;
}

#logo img:hover {
    transform: scale(1.1);
}

/* Nav Links */
#nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

#nav-links li a {
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: 0.3s;
}

#nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #79d46c;
    transition: 0.3s;
}

#nav-links li a:hover::after,
#nav-links li a.active::after {
    width: 100%;
}

/* Donate Button */
#nav-links li a.donate-btn {
    background: linear-gradient(90deg, #79d46c, #5cb85c);
    padding: 8px 18px;
    border-radius: 50px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    transition: 0.3s;
}

#nav-links li a.donate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Hamburger */
#nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
}

#nav-toggle span {
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Mobile Styles */
@media (max-width: 991px) {
    #nav-toggle {
        display: flex;
    }

    #nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        width: 250px;
        height: calc(100% - 70px);
        background: linear-gradient(180deg, #0c152f 0%, #141e44 100%);
        padding: 40px 20px;
        gap: 20px;
        transition: 0.3s;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    }

    #nav-links.active {
        right: 0;
    }

    #nav-links li a {
        padding: 10px 0;
        text-align: center;
    }

    #nav-links li a.donate-btn {
        margin-top: 20px;
        width: 100%;
        justify-content: center;
    }
}











/* .fixed-top {
    transition: .5s;
     z-index: 1030; 
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: var(--dark);
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
} */


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* background: rgb(198 198 198 / 80%); */
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--dark);
    border: 12px solid var(--dark);
    border-radius: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: linear-gradient(rgba(0, 29, 35, .8), rgba(0, 29, 35, .8)), url(img/img1.jpeg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Causes ***/
.causes-item .progress {
    height: 5px;
    border-radius: 0;
    overflow: visible;
}

.causes-item .progress .progress-bar {
    position: relative;
    overflow: visible;
    width: 0px;
    border-radius: 0;
    transition: 5s;
}

.causes-item .progress .progress-bar span {
    position: absolute;
    top: -7px;
    right: 0;
    width: 40px;
    height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: var(--primary);
    color: #FFFFFF;
}

.causes-item .causes-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.causes-item:hover .causes-overlay {
    height: 100%;
    opacity: 1;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .06);
}


/*** Donate ***/
.donate {
    background: rgba(0, 29, 35, .8);
}

.btn-group .btn-light:hover,
.btn-group input[type="radio"]:checked+label {
    color: var(--primary);
    border-color: var(--primary);
}


/*** Team ***/
.team-item img {
    position: relative;
    top: 0;
    transition: .5s;
}

.team-item:hover img {
    top: -30px;
}

.team-item .team-text {
    position: relative;
    height: 100px;
    transition: .5s;
}

.team-item:hover .team-text {
    margin-top: -60px;
    height: 160px;
}

.team-item .team-text .team-social {
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text .team-social {
    opacity: 1;
}

.team-item .team-social .btn {
    display: inline-flex;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    background: var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary);
    transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-text *,
.testimonial-carousel .owl-item .testimonial-item img {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item img {
    background: var(--primary) !important;
} 

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** Footer ***/

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,0.5);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(255,255,255,0.5);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.5);
}

.footer .btn.btn-square:hover {
    color: var(--secondary);
    border-color: var(--light);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--secondary);
}

.footer .copyright a:hover {
    color: var(--primary);
}


#about-us {
  background-color: #f9fafb;
  padding: 80px 20px;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  color: #0e2c53; /* deep blue for text */
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.section-tagline {
  display: inline-block;
  background: #79d46c; /* accent red */
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 15px;
}

.about-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 750px;
  margin: 0 auto 50px;
  color: #333;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.about-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #0e2c53;
}

.about-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}


#privacy-policy {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  color: #0e2c53;
  background-color: #f9fafb;
}

.policy-hero {
  background: linear-gradient(135deg, #0e2c53, #dc0032);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.policy-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.policy-hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

.policy-content {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.policy-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.policy-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.policy-card h2 {
  font-size: 1.3rem;
  color: #dc0032;
  margin-bottom: 12px;
  font-weight: 600;
}

.policy-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}

#gallery {
  background: #f8f9fa;
}

#gallery h2 {
  font-size: 2.5rem;
  color: #0e2c53; /* primary blue shade */
}

.gallery-card {
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}

.gallery-card img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.1);
}

.gallery-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 44, 83, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover::after {
  opacity: 1;
}

    /* Custom Styling using IDs */
    #termsHeader {
      background: linear-gradient(135deg, #0e2c53, #dc0032);
      color: #fff;
      padding: 60px 0;
      text-align: center;
      margin-top: 135px;
    }

    #termsContent {
      padding: 60px 15px;
    }

    #termsContent h3 {
      color: #0e2c53;
      margin-top: 40px;
      font-weight: 600;
    }

    #termsContent p {
      color: #555;
      line-height: 1.8;
    }

    #termsFooter {
      background: #f8f9fa;
      padding: 30px 15px;
      text-align: center;
      color: #777;
    }


    /* Section 1 Cards */
.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform .3s ease, box-shadow .3s ease;
}
.news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.news-content {
  padding: 20px;
}
.news-content .date {
  font-size: 0.9rem;
  color: #6c757d;
  display: block;
  margin-bottom: 5px;
}
.news-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0e2c53;
  margin-bottom: 10px;
}
.news-content p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
}
.read-more {
  color: #dc0032;
  font-weight: 600;
  text-decoration: none;
}
.read-more:hover {
  text-decoration: underline;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Section 2 List Style */
.news-section-two .date {
  font-size: 0.9rem;
  color: #6c757d;
  display: block;
  margin-bottom: 5px;
}
.news-section-two h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0e2c53;
}
.news-section-two p {
  font-size: 1rem;
  color: #555;
}
.news-section-two .read-more {
  color: #dc0032;
  font-weight: 600;
  text-decoration: none;
}
.news-section-two .read-more:hover {
  text-decoration: underline;
}
