@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css");

@font-face {
  font-family: "ITC Avant Garde Gothic Demi";
  src: url("../fonts/avantgarde_demi.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

/* ---------------------------------- */
/* Global Styles                      */
/* ---------------------------------- */

:root {
  --dark-blue: #011221;
  --light-slate: #ccd6f6;
  --slate: #8892b0;
  --white: #e6f1ff;
  --accent-color: #64ffda;
  --primary-color: #1A4684;
  --primary-color-hover: #011221;
  --border-color: #c2c2c2ff;
  --surface-color: #fff;
  --curve: 40;
    --main-blue: #091e3e;
  --secondary-color: #fa944c; /* Vibrant Orange */
        --border-radius: 0.5rem;
}

body {
  background-color: var(--dark-blue);
  color: var(--slate);
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
}

.top-header {
  /*background-color: var(--main-blue);*/
    background-color: #fff;
  /*color: var(--slate);*/
  color: var(--dark-blue);
  padding: 10px 0;
  font-family: "Open Sans", sans-serif;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  /* font-family: "ITC Avant Garde Gothic CE Demi", sans-serif; */
  font-family: "ITC Avant Garde Gothic Demi", sans-serif;
}

.display-5 {
  font-size: 2rem !important;
  font-weight: 700;
  font-family: "ITC Avant Garde Gothic Demi", sans-serif;
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.display-4 {
  font-size: 1.6rem !important;
  font-weight: 700;
  font-family: "ITC Avant Garde Gothic Demi", sans-serif;
}

.primary-text {
    color: var(--primary-color);
}

.pagination {
  display: inline-block;
}

.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
}

.pagination a.active {
  background-color: var(--primary-color);
  color: white;
  border-radius: 5px;
}

.pagination a:hover:not(.active) {
  background-color: #ddd;
  border-radius: 5px;
}

.theme-card {
        background-color: #fff;
        border: 1px solid #dee2e6;
        border-radius: var(--border-radius);
        padding: 30px;
        text-align: center;
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
        height: 100%;
      }
      .theme-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
      }
      .theme-card i {
        font-size: 2.5rem;
        color: var(--secondary-color);
        margin-bottom: 1rem;
      }
      
.youtube-embed {
        position: relative;
        width: 100%;
        overflow: hidden;
        padding-top: 56.25%;
        border-radius: var(--border-radius);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      }
      .youtube-embed iframe {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        border: none;
      }      
/* ---------------------------------- */
/* Header & Navigation                */
/* ---------------------------------- */

.header-light {
  background-color: #ffffff;
  /*border-bottom: 1px solid #dee2e6;*/
  padding: 0.5rem 0;
}

/* Temporary fix to make the white logo visible on a white background */
.navbar-logo {
  width: 80px;
}

/* Styling for the navigation links in the light header */
.header-light .nav-link {
  color: var(--dark-blue); /* Use our dark blue color for text */
  font-weight: 600;
  margin: 0 0.75rem;
}

.header-light .nav-link:hover {
  color: #0056b3; /* A slightly different blue for hover */
}

/* Active link styling for main nav and dropdown items */
.navbar-nav .nav-link.active,
.dropdown-item.nav-link.active {
    color: #1A4684;
    font-weight: 600;
    position: relative;
    background-color: transparent;
}

/* Optional underline effect for main nav active item */
.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 40%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #1A4684;
}

/*Mobile-specific active styling (overrides underline)*/
@media (max-width: 991.98px) {
    .navbar-nav .nav-link.active,
    .dropdown-item.nav-link.active {
        color: #1A4684;
        font-weight: 700;
        background-color: rgba(0, 0, 0, 0.1);  /* Subtle highlight – adjust opacity as needed */
    }

    /* Remove the underline completely on mobile */
    .navbar-nav .nav-link.active::after {
        display: none;
    }

    /* Optional: Add a left border or icon for stronger indication */
    .navbar-nav .nav-link.active {
        border-left: 4px solid #1A4684;
        padding-left: 12px !important;  /* Adjust for the border */
    }
}

 /*Ensure fixed navbar has background when scrolling (if header-light is transparent) */
/*.navbar.fixed-top {*/
/*    background-color: rgba(255, 255, 255, 0.95);*/
/*    backdrop-filter: blur(10px);*/
/*    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
/*    transition: background-color 0.3s ease;*/
/*}*/

/* Custom styling for our button */
.primary-btn {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  padding: 12px 30px;
  font-weight: bold;
}

.primary-btn:hover {
    background-color: var(--primary-color-hover);
    color: #ffffff;
}

.btn-outline-primary {
  border-color: var(--dark-blue);
  color: var(--dark-blue);
}

.btn-outline-primary:hover {
  background-color: var(--dark-blue);
  color: #ffffff;
}

/* ---------------------------------- */
/* Hero Section (Carousel)            */
/* ---------------------------------- */

.carousel-item {
  min-height: 90vh; /* Sets a minimum height for the slides */
  background-color: var(--dark-blue);
  position: relative; /* Needed for the overlay */
}

/* This creates a dark overlay on the images to make text more readable */
.carousel-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Black with 50% opacity */
  z-index: 1;
}

.carousel-item img {
  object-fit: cover; /* Ensures the image covers the area without distortion */
  height: 90vh;
}

/* Position the text content on top of the overlay */
.carousel-caption {
  z-index: 2; /* Places the caption above the overlay */
  bottom: 50%; /* Start positioning from the vertical center */
  transform: translateY(50%); /* Perfectly center the caption */
}

.carousel-caption h1 {
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Adds shadow for readability */
}

.carousel-caption .lead {
  max-width: 700px;
  margin: 1rem auto 0;
}

/*Countdown and Timeline*/

.countdown-timer-container {
    background-image: linear-gradient(to right, #0B2750 , #0958C7);
    padding: 50px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    background-color: rgba(255, 255, 255, 0.1);
}

.countdown div {
    padding: 5px;
    color: white;
    font-weight: bold;
}

.number {
    font-size: 2rem;
    margin-bottom: 2px;
}

.label {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #0958C7;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin: 20px 0;
    width: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    position: absolute;
    top: -10px;
    background: #fff;
    padding: 5px 10px;
    font-weight: bold;
    background: linear-gradient(white, white) padding-box,
    linear-gradient(to right, #F5802BEB, #1A4684) border-box;
    border-radius: 50em;
    border: 1px solid transparent;
    color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 3;
    white-space: nowrap;
}

.timeline-item:nth-child(even) .timeline-date {
    right: 50%;
    transform: translateX(50%);
}

.timeline-item:nth-child(odd) .timeline-date {
    left: 50%;
    transform: translateX(-50%);
}

.timeline-circle {
    width: 20px;
    height: 20px;
    background: #fff;
    border: 4px solid #0958C7;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    transition: background 0.3s;
}

.timeline-circle.active {
    background: #0958C7;
}

.timeline-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 45%;
    text-align: center;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 50px;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 50px;
}

.timeline-content h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.timeline-content p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .timeline-container::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        margin: 20px 0;
    }
    
    .timeline-item .timeline-content {
        width: 100% !important;
        margin: 20px 0 0 0 !important;
    }
    
    .timeline-date {
        left: 30px !important;
        transform: translateX(-50%) !important;
    }
    
    .timeline-circle {
        left: 20px;
    }
    
    .number {
    font-size: 0.9rem;
    }
    
    .label {
        font-size: 0.4rem;
    }
    
    .countdown {
        gap: 15px;
    }
}

.eligibility-section {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.nav-tabs .nav-link {
    color: #000;
    font-size: 1.2rem;
    border: none;
    border-bottom: 2px solid transparent;
    margin-right: 20px;
}

.nav-tabs .nav-link.active {
    color: #000;
    border-bottom: 4px solid #fd7e14;
    background: none;
}

.nav-tabs {
    border-bottom: 1px solid #dee2e6;
}

.eligibility-section ul li i {
    margin-right: 10px;
}

.fa-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #0B9101;
  border-radius: 50%;
  color: #0B9101;
  text-decoration: none;
  margin-left: 10px;
  transition: all 0.3s ease;
}

.fa-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #F52B2B;
  border-radius: 50%;
  color: #F52B2B;
  text-decoration: none;
  margin-left: 10px;
  transition: all 0.3s ease;
}

.areas-list .badge {
    font-size: 1rem;
    padding: 8px 15px;
}

@media (max-width: 768px) {
    .nav-tabs .nav-link {
        margin-right: 10px;
        font-size: 0.9rem;
    }
}

/*Grant Page FAQ Section*/
.faq-wrapper {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 20px;
}

.faq-tabs {
    width: 400px;
    margin-right: 20px;
}

.nav-pills .nav-link {
    color: #1A1919;
    border-radius: 0;
    padding: 10px 15px;
    margin-bottom: 5px;
    text-align: left;
    font-size: 1rem;
}

.nav-pills .nav-link.active {
    color: #1A4684;
    background-color: #fff;
    font-weight: 600;
}


.accordion-button {
    background-color: #fff;
    color: #333;
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    color: #0958C7;
    background-color: #fff;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230958C7'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    background-color: #fff;
    padding: 15px;
}

@media (max-width: 768px) {
    .faq-wrapper {
        flex-direction: column;
    }
    .faq-tabs {
        width: 100%;
        margin-bottom: 20px;
    }
    .nav-pills .nav-link {
        text-align: center;
    }
}

/* ---------------------------------- */
/* New: About Us Section (Light)      */
/* ---------------------------------- */
.about-section-light {
  background-color: #ffffff;
  padding: 80px 0;
  color: #333; /* Dark text for the light background */
}

.sub-heading {
  color: #fd7e14; /* An orange color */
   font-weight: bold; 
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.about-section-light h2 {
  color: var(--dark-blue);
  font-weight: 700;
}

.lead-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

/* Button Styles */
.about-section-light .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 12px 30px;
  font-weight: bold;
}

.btn-outline-secondary {
  border-color: var(--primary-color);
  color: var(--primary-color);
  padding: 12px 30px;
  font-weight: bold;
}
.btn-outline-secondary:hover {
  background-color: #f8f9fa;
  color: #333;
}

.btn-outline-white {
  border-color: #fff;
  color: #fff;
  padding: 12px 30px;
  font-weight: bold;
}
.btn-outline-white:hover {
  background-color: #f8f9fa;
  color: #333;
}

.primary-btn-white {
  background-color: #fff;
  border-color: #f8f9fa;
  color: var(--primary-color-hover);
  padding: 12px 30px;
  font-weight: bold;
}

.primary-btn-white:hover {
    background-color: var(--primary-color-hover);
    color: #ffffff;
}

/* ---------------------------------- */
/* New: Impact Section                */
/* ---------------------------------- */
.impact-section {
  padding: 60px 0;
  background-color: #f8f9fa;
  background-image: linear-gradient(
      rgba(245, 247, 250, 0.6),
      rgba(245, 247, 250, 0.6)
    ),
    url("https://actrustfoundation.org/assets/images/bfd-map.png");
  background-size: center;
}

.impact-section h2 {
  color: var(--dark-blue);
  font-weight: 700;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.impact-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 500;
  color: #fd7e14;
}

.speaker-card {
        background: #fff;
        border: 1px solid #e9ecef;
        border-radius: var(--border-radius);
        overflow: hidden;
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
        height: 100%;
        display: flex;
        flex-direction: column;
      }
      .speaker-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      }
      .speaker-card img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        object-position: top center;
        background-color: #e9ecef;
      }
      .speaker-card-body {
        padding: 20px;
        flex-grow: 1;
        text-align: center;
      }
      .speaker-card-body h5 {
        margin-bottom: 0.25rem;
        color: var(--dark-blue);
      }
      .speaker-card-body .title {
        color: #555;
        font-weight: 500;
        margin-bottom: 1rem;
        min-height: 40px;
      }
      .speaker-card-body .role {
        font-weight: 700;
        color: var(--secondary-color);
        text-transform: uppercase;
        font-size: 0.8rem;
      }
      .speaker-card .speaker-footer {
        padding: 15px 20px;
        background-color: var(--light-color);
        margin-top: auto;
      }
      .speaker-card .btn-outline-primary {
        color: var(--secondary-color);
        border-color: var(--secondary-color);
      }
      .speaker-card .btn-outline-primary:hover {
        background-color: var(--secondary-color);
        color: white;
      }

.impact-label {
  display: block;
  font-size: 1.1rem;
  color: var(--primary-color);
}

/* ---------------------------------- */
/* Focus Areas Section                */
/* ---------------------------------- */
.focus-areas-section {
  background-color: #ffffff;
  padding: 60px 0;
}

.focus-areas-section h2 {
  color: var(--dark-blue);
}

.focus-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px; /* For the rounded corners */
  text-decoration: none;
  height: 300px;
  max-width: 500px;
}

.focus-cards {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px; /* For the rounded corners */
  text-decoration: none;
  height: 300px;
}

.focus-card img, .focus-cards img {
  width: 100%;
  height: 100%;
  object-fit: center;
  transition: transform 0.4s ease-in-out;
}

.focus-card:hover img, .focus-cards img {
  transform: scale(1.05); /* Subtle zoom on hover */
}

.focus-card-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #ffffff;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Pushes content to the bottom */
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.8) 100%
  ); /* Dark overlay */
}

.focus-card h3 {
  font-family: "ITC Avant Garde Gothic Demi", sans-serif;
  font-size: 1.25rem;
  margin: 1rem 0 0.75rem;
  color: #ffffff;
}

.focus-card span {
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  font-size: 1rem !important;
  cursor: pointer;
  color: #ffffff;
}

.icon-container {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

/* ---------------------------------- */
/* Process Section                    */
/* ---------------------------------- */
.process-section {
  background-color: #ffffff;
  padding: 80px 0;
}
.process-section h2 {
  color: var(--dark-blue);
}
.process-step {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.process-step h4 {
  color: var(--dark-blue);
  font-size: 1.2rem;
}
.process-step p {
  color: #555;
  margin-bottom: 0;
}

/* ---------------------------------- */
/* Grantees Section                   */
/* ---------------------------------- */
.grantees-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}
.grantees-section h2 {
  color: var(--dark-blue);
}
.grantee-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}
.grantee-logos img {
  max-height: 120px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.grantee-logos img:hover {
  opacity: 1;
}

/* ---------------------------------- */
/* Testimonials Section (Corrected)   */
/* ---------------------------------- */
.testimonials-section {
  padding: 60px 0;
  background-color: #ffffff;
  overflow: hidden;
}
.testimonials-section h2 {
  color: var(--dark-blue);
}
.testimonials-slider {
  padding: 50px 0;
}
.testimonial-card-v2 {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  padding: 3rem 2rem 2rem 2rem;
  margin-top: 40px;
  text-align: left;
  /* min-height: 350px; */
}

 .testimonial-card {
        background: var(--light-color);
        border-left: 5px solid var(--secondary-color);
        padding: 30px;
        border-radius: var(--border-radius);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
      }
      .testimonial-card footer {
        margin-top: 1rem;
        font-weight: 700;
        color: var(--dark-blue);
      }
.author-info {
  display: flex;
  align-items: flex-start;
  margin-top: -80px; /* Pulls the content up */
  margin-bottom: 1.5rem;
}
.author-logo {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-right: 1rem;
  flex-shrink: 0;
}
.author-details h5 {
  color: var(--dark-blue);
  font-family: "ITC Avant Garde Gothic", sans-serif;
  font-size: 1.2rem;
}
.author-details span {
  color: #555;
  font-size: 0.8rem;
  text-transform: uppercase;
}
.testimonial-quote {
  color: #555;
  font-size: 1rem;
}

.grantee-info {
  display: flex;
  align-items: flex-start;
  margin-top: -20px; /* Pulls the content up */
  margin-bottom: 1.5rem;
}
.grantee-logo {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-right: 1rem;
  flex-shrink: 0;
}
.grantee-details h5 {
  color: var(--dark-blue);
  font-family: "ITC Avant Garde Gothic", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 15px;
}
.grantee-details span {
  /*color: #555;*/
  color: var(--secondary-color);
  font-size: 0.8rem;
  text-transform: uppercase;
}

/* Swiper Styles (Corrected with higher specificity) */
.testimonials-slider .swiper-slide {
  opacity: 0.4;
  transform: scale(0.8);
  transition: opacity 0.4s, transform 0.4s;
}

.testimonials-slider .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
  z-index: 10;
}

.testimonials-slider .swiper-pagination-bullet-active {
  background-color: var(--dark-blue);
}

.testimonials-slider .swiper-button-next,
.testimonials-slider .swiper-button-prev {
  background-color: var(--dark-blue);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
}

.testimonials-slider .swiper-button-next::after,
.testimonials-slider .swiper-button-prev::after {
  font-size: 1.2rem;
}

/* ---------------------------------- */
/* Podcast Section (Corrected)        */
/* ---------------------------------- */
.podcast-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}
.podcast-section h2 {
  color: var(--dark-blue);
}
.podcast-section p {
  color: #555;
}
.video-wrapper {
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}
.video-caption p {
  margin-bottom: 0.3rem;
  font-weight: 600;
  font-size: 1rem;
}

.video-caption small {
  color: #777;
  font-size: 0.9rem;
}
/* ---------------------------------- */
/* News Section (Corrected)           */
/* ---------------------------------- */
.news-section {
  padding: 80px 0;
  background-color: #ffffff;
}
.news-section h2 {
  color: var(--dark-blue);
}
.news-card-v2 {
  display: block;
  text-decoration: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}
.news-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
}
.news-card-img {
  position: relative;
  height: 250px;
  width: 100%;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Gradient overlay */
.news-card-img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}
.news-overlay-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1.5rem;
  color: white;
  z-index: 2;
}
.news-date {
  font-size: 0.8rem;
  font-weight: bold;
}
.news-overlay-title {
  font-family: "ITC Avant Garde Gothic", sans-serif;
  font-size: 1.1rem;
  margin-top: 0.5rem;
  line-height: 1.4;
}
.news-card-body {
  padding: 1.5rem;
}
.news-card-body h5 {
  color: var(--dark-blue);
  font-size: 1.1rem;
  font-weight: bold;
}
.news-card-body span {
  font-weight: bold;
  color: #555;
  font-size: 0.9rem;
}

/* ---------------------------------- */
/* Focus Areas                      */
/* ---------------------------------- */
.header-breadcrumb-section {
  background-color: var(--dark-blue);
  background-color: #091e3e;
  color: var(--white);
  padding: 10px 0;
  font-family: "Open Sans", sans-serif;
  
}

.stats-section {
        background-color: var(--dark-blue);
        color: white;
      }
      .stat-item i {
        font-size: 2.5rem;
        color: var(--secondary-color);
        margin-bottom: 1rem;
      }
      .stat-item .counter {
        font-size: 3rem;
        color: white;
        font-family: var(--font-primary);
        font-weight: 700;
      }
      .stat-item p {
        font-size: 1rem;
        opacity: 0.9;
      }

.focus-impact {
  padding: 60px 0;
  background-color: #ffffff;
  background-image: url("https://actrustfoundation.org/assets/images/bfd-map.png");
  background-size: center;
}

.spotlight-section {
    background-color: #FAFAFA;
    padding: 40px 0;
}

/* ---------------------------------- */
/* Award Section                     */
/* ---------------------------------- */

.award-card {
  /*background: linear-gradient(135deg, #f6e3be, #fceac7);*/
  border: none;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}
.award-card:hover {
  transform: translateY(-10px);
}
.award-circle {
  width: 150px;
  height: 150px;
  background: linear-gradient(45deg, #dab80d, #e5d4b2);
  border-radius: 50%;
  position: relative;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(241, 196, 15, 0.5);
}
.award-circle::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  background: #1a1a1a;
  border-radius: 50%;
  z-index: 1;
}
.award-circle .laurel {
  position: absolute;
  width: 80%;
  height: 80%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23d4a017"><path d="M12 2L9 6H15L12 2ZM12 22L15 18H9L12 22Z"/></svg>') no-repeat center;
  background-size: contain;
  z-index: 2;
}
.award-circle .award-text {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
}
.award-card .card-body {
  text-align: center;
  padding: 20px;
}
.dot-pattern {
  position: absolute;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.5) 2%, transparent 10%);
  background-size: 10px 10px;
  top: -20px;
  right: -20px;
  opacity: 0.7;
}
@media (max-width: 768px) {
  .award-circle {
    width: 120px;
    height: 120px;
  }
  .award-text h4 {
    font-size: 1.2rem;
  }
}

.team-card {
    width: 100%;
    max-width: 450px;
    height: 450px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    transition: transform 0.5s;
    position: relative;
}

.team-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: #000;
    transition: transform 0.9s;
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s;
}

.team-card:hover .team-card-image img {
    opacity: 0.4;
}

.team-card:hover .team-card-image {
    transform: translateY(-100px);
}

.team-social-icons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: flex;
    /*flex-direction: column;*/
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.team-social-icons li {
    margin: 6px 0;
}

.team-social-icons li a {
    display: block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: #fff;
    font-size: 23px;
    color: #333;
    font-weight: bold;
    transition: all 0.4s;
    transform: translateY(200px);
    opacity: 0;
    margin: 0 6px;
}

.team-card:hover .team-social-icons li a {
    transform: translateY(0);
    opacity: 1;
}

.team-social-icons li a:hover {
    background: #000;
}

.team-social-icons li a .fab {
    transition: transform 0.8s;
}

.team-social-icons li a:hover .fab {
    transform: rotateY(360deg);
    color: #fff;
}

.team-social-icons li.view-bio-li {
    margin-top: 10px;
}

.team-social-icons .view-bio-btn {
    transform: translateY(200px);
    opacity: 0;
    transition: all 0.4s;
    font-size: 0.9rem;
    padding: 5px 15px;
}

.team-card:hover .team-social-icons .view-bio-btn {
    transform: translateY(0);
    opacity: 1;
}

.team-card:hover .team-social-icons li:nth-child(1) a {
    transition-delay: 0.1s;
}

.team-card:hover .team-social-icons li:nth-child(2) a {
    transition-delay: 0.2s;
}

.team-card:hover .team-social-icons li:nth-child(3) a {
    transition-delay: 0.3s;
}

.team-card:hover .team-social-icons li:nth-child(4) a {
    transition-delay: 0.4s;
}

.team-card:hover .team-social-icons li:nth-child(5) .view-bio-btn {
    transition-delay: 0.5s;
}

.team-details {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #fff;
    width: 100%;
    height: 140px;
    z-index: 1;
    padding: 10px;
    text-align: center;
}

.team-details h2 {
    margin: 30px 0 5px;
    padding: 0;
    font-size: 1.5rem;
}

.job-title {
    font-size: 1rem;
    line-height: 1.5rem;
    color: #333;
    font-weight: 300;
    display: block;
}

.team-card-wrapper {
    display: flex;
    justify-content: center;
}

/* ---------------------------------- */
/* Core Values                     */
/* ---------------------------------- */

.value-card {
  background-color: #CBE1FF1A;
  border: 0.2px;
  border-color: #1A4684;
  border-radius: 15px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.value-card:hover {
  transform: translateY(-10px);
}
.value-icon {
  font-size: 3rem;
  color: #2c3e50;
  transition: color 0.3s ease;
}
.value-card:hover .value-icon {
  color: #1A4684;
}

@media (max-width: 768px) {
  .value-card {
    height: 150px;
  }
  .value-icon {
    font-size: 2.5rem;
  }
}

.blog-card {
  border: 0.2px;
  border-color: #1A4684;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.blog-card:hover {
  transform: translateY(-10px);
}

.breakfast-card {
  border: 0.2px;
  border-color: #1A4684;
  border-radius: 15px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.breakfast-card:hover {
  transform: translateY(-10px);
}

.breakfast-card a {
  color: #1A4684;
  text-decoration: none;
}

.grant-cycle-card {
background-color: #FAFAFA;
  border: 0.2px;
  border-color: #1A4684;
  border-radius: 15px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.grant-cycle-card:hover {
  transform: translateY(-10px);
}

.grant-cycle-card a {
  color: #1A4684;
  text-decoration: none;
}

.focus-area-card {
  border: 0.2px;
  border-color: #1A4684;
  border-radius: 15px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.focus-area-card:hover {
  transform: translateY(-10px);
}

.focus-area-card a {
  color: #1A4684;
  text-decoration: none;
}

@media (max-width: 768px) {
  .value-card {
    height: 250px;
  }
  
}

.grant-impact-section {
  background-image: url("https://actrustfoundation.org/assets/images/environment3.png");
  padding: 80px 0;
  background-size: cover; /* Ensures the image covers the section */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat; /* Prevents tiling */
}

.changemaker-impact-section {
  background-image: url("https://changemakers.actrustfoundation.org/assets/images/image4.jpg");
  padding: 80px 0;
  background-size: cover; /* Ensures the image covers the section */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat; /* Prevents tiling */
}

/* ==== PAST VOLUNTEERS SECTION ==== */
.year-header {
  font-size: 1.9rem;
  color: #fd7e14;
  margin-bottom: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.year-header::before {
  content: '';
  width: 8px; height: 8px; background: #fd7e14; border-radius: 50%; display: inline-block;
}
    
    .volunteer-card-img {
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      transition: transform 0.3s ease;
      text-align: center;
      text-decoration: none;
    }
    .volunteer-card-img:hover {
      transform: translateY(-6px);
    }
    .volunteer-img {
      width: 100%;
      height: 220px;
      object-fit: cover;
    }
    .volunteer-info {
      padding: 1rem;
    }
    .volunteer-name-img {
      font-weight: 600;
      font-size: 1.1rem;
      color: #003366;
      margin-bottom: 0.3rem;
    }
    .volunteer-expertise-img {
      font-size: 0.9rem;
      color: #666;
    }

    /* Previous Years: Text Only */
    .volunteer-list-text {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 1rem;
    }
    .volunteer-link-text {
      display: block;
      padding: 1rem;
      background: #f8f9fa;
      border-radius: 8px;
      border-left: 4px solid var(--secondary-color);
      transition: all 0.3s ease;
      text-decoration: none;
    }
    .volunteer-link-text:hover {
      background: #fff;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      transform: translateX(5px);
      text-decoration: none;
    }
    .volunteer-name-text {
      font-weight: 600;
      font-size: 1.1rem;
      margin-bottom: 0.3rem;
      color: #003366;
    }
    .volunteer-expertise-text {
      font-size: 0.9rem;
      color: #666;
    }

    /* Contact */
    .contact {
      background: #003366;
      color: #fff;
      padding: 2.5rem 0;
      text-align: center;
    }
    .contact a { color: #FFD700; font-weight: 600; }

/* ---------------------------------- */
/* Event Cards            */
/* ---------------------------------- */
.event-card {
  position: relative;
  display: block;
  height: 400px;  
  border-radius: calc(var(--curve) * 1px);
  overflow: hidden;
  text-decoration: none;
}

.card__image {      
  width: 100%;
  height: auto;
  max-height: 250px;
}

.card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;      
  border-radius: calc(var(--curve) * 1px);    
  background-color: var(--surface-color);      
  transform: translateY(100%);
  transition: .2s ease-in-out;
}

.event-card:hover .card__overlay {
  transform: translateY(0);
}

.card__header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2em;
  padding: 2em;
  border-radius: calc(var(--curve) * 1px) 0 0 0;    
  background-color: var(--surface-color);
  transform: translateY(-100%);
  transition: .2s ease-in-out;
}

.event-card:hover .card__header {
  transform: translateY(0);
}

.card__title {
  font-size: 1.2em;
  margin: 0 0 .3em;
  color: #000;
}

.card__status {
  font-size: .8em;
  color: #000;
}

.card__description {
  padding: 0 1em 1em;
  margin: 0;
  color: #1A4684;
  font-weight: 600;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.virtual-card {
	background-color: #FFF;
	box-shadow: 0 0 0 1px rgba(#000, .05), 0 20px 50px 0 rgba(#000, .1);
	border-radius: 15px;
	overflow: hidden;
	position: relative;
	transition: .15s ease-in;
}

.virtual-card:hover, .virtual-card:focus-within {
	box-shadow: 0 0 0 2px #16C79A, 0 10px 60px 0 rgba(#000, .1);
	transform: translatey(-5px);
}

.virtual-card-image {
	border-radius: 10px;
	overflow: hidden;
}

.virtual-card-header {
	margin-top: 1.5rem;
}

.virtual-card-footer {
	margin-top: 1.25rem;
	border-top: 1px solid #ddd;
	padding-top: 1.25rem;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.card-meta {	
	display: flex;
	align-items: center;
	color: #787878;
	svg {
		flex-shrink: 0;
		width: 1em;
		height: 1em;
		margin-right: .25em;
	}
}


/*Professional Volunteer and partnerships*/
/* ==== HERO SECTION ==== */
    .hero {
      position: relative;
      min-height: 80vh;
      background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://actrustfoundation.org/assets/images/professional.jpg') center/cover no-repeat;
      color: #fff;
      display: flex;
      align-items: center;
    }
    
    .hero-partnership {
      position: relative;
      min-height: 70vh;
      background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://actrustfoundation.org/assets/images/partnership1.jpg') center/cover no-repeat;
      color: #fff;
      display: flex;
      align-items: center;
      text-align: center;
    }
    .hero-content {
      max-width: 900px;
      margin: 0 auto;
    }
    .hero-content h1 {
      font-family: 'Playfair Display', serif;
      font-size: 3.2rem;
      margin-bottom: 1.2rem;
      line-height: 1.2;
    }
    .hero-content p {
      font-size: 1.15rem;
      max-width: 800px;
      margin: 0 auto 1.5rem;
    }
    
    .hero-left h1 {
      font-size: 3rem;
      margin-bottom: 1rem;
    }
    .hero-left p {
      font-size: 1.1rem;
      margin-bottom: 1.5rem;
      max-width: 600px;
    }
    .hero-right {
      text-align: right;
    }
    
    .stats-bar {
      background: #fff;
      padding: 2rem 0;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

    .section-title {
      position: relative;
      display: inline-block;
    }
    .section-title::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -8px;
      width: 60px;
      height: 4px;
      background: #fd7e14;
    }

    /* How It Works */
    .process-list {
      counter-reset: step;
    }
    .process-item {
      position: relative;
      padding-left: 3rem;
      margin-bottom: 1.5rem;
    }
    .process-item::before {
      counter-increment: step;
      content: counter(step);
      position: absolute;
      left: 0;
      top: 0;
      width: 40px;
      height: 40px;
      background: #003366;
      color: #fff;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
    }

    /* Testimonials */
    .testimonial {
      background: #f8f9fa;
      padding: 1.5rem;
      border-radius: 12px;
      font-style: italic;
      position: relative;
    }
    .testimonial::before {
      content: '“';
      font-size: 4rem;
      color: #fd7e14;
      position: absolute;
      top: -10px;
      left: 10px;
      font-family: 'Playfair Display', serif;
    }
    .testimonial p {
      margin-bottom: 1rem;
      position: relative;
      z-index: 1;
    }
    .testimonial cite {
      font-weight: 600;
      color: #003366;
      font-style: normal;
    }

    /* FAQ Accordion */
    .faq-item {
      margin-bottom: 1rem;
      border-bottom: 1px solid #eee;
    }
    .faq-question {
      width: 100%;
      text-align: left;
      background: none;
      border: none;
      font-weight: 600;
      padding: 1rem 0;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .faq-question::after {
      content: '+';
      font-size: 1.5rem;
      color: #003366;
    }
    .faq-question.active::after { content: '−'; }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      padding: 0 0 0 1rem;
    }
    .faq-answer.show { max-height: 300px; padding: 1rem 0 1.5rem 1rem; }

   /* ==== SECTION STYLES ==== */
    
    .section-alt {
      background: #fff;
    }
    .section-subtitle {
      text-align: center;
      font-size: 1.1rem;
      color: #555;
      max-width: 800px;
      margin: 0 auto 3rem;
    }

    /* ==== PARTNERSHIP HIGHLIGHT ==== */
    .partnership-highlight {
      background: linear-gradient(135deg, #003366 0%, #004080 100%);
      color: #fff;
      border-radius: 16px;
      padding: 3rem;
      margin: 3rem 0;
      position: relative;
      overflow: hidden;
    }
    .partnership-highlight::before {
      content: '';
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,30 L100,100 L0,100 Z" fill="rgba(255,215,0,0.1)"/></svg>') top/cover no-repeat;
      pointer-events: none;
    }
    .partner-logos {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 3rem;
      margin-bottom: 2rem;
      flex-wrap: wrap;
    }
    .partner-logo {
      height: 80px;
      filter: brightness(0) invert(1);
      transition: transform 0.3s ease;
    }
    .partner-logo:hover {
      transform: scale(1.1);
    }
    .highlight-text {
      font-size: 1.15rem;
      line-height: 1.8;
      position: relative;
      z-index: 1;
    }
    .highlight-text strong {
      color: #fd7e14;
    }

    
    .stat-card {
      background: #fff;
      padding: 2rem 1.5rem;
      border-radius: 12px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.05);
      transition: transform 0.3s ease;
    }
    .stat-card:hover {
      transform: translateY(-8px);
    }
    .stat-number {
      font-size: 2.8rem;
      font-weight: 700;
      color: #fd7e14;
      margin-bottom: 0.5rem;
    }
    .stat-label {
      color: #666;
      font-size: 0.95rem;
    }
.gallery {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 1.5rem;
      margin-top: 2rem;
    }
    .gallery-item {
      position: relative;
      overflow: hidden;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
    }
    .gallery-item:hover {
      transform: translateY(-5px);
    }
    .gallery-item img {
      width: 100%;
      height: 220px;
      object-fit: cover;
      transition: transform 0.4s ease;
    }
    .gallery-item:hover img {
      transform: scale(1.05);
    }
    .gallery-caption {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      background: rgba(0,0,0,0.7);
      color: #fff; padding: 0.8rem;
      font-size: 0.9rem; text-align: center;
      opacity: 0; transition: opacity 0.3s;
    }
    .gallery-item:hover .gallery-caption { opacity: 1; }

   


/* ---------------------------------- */
/* Final Footer                       */
/* ---------------------------------- */
.final-footer {
  /*background-color: var(--dark-blue);*/
  background-color: var(--main-blue);
  color: var(--slate);
  padding: 40px 0;
  font-family: "Open Sans", sans-serif;
}

.footer-top-row {
  padding-bottom: 20px;
}

.footer-heading {
  font-family: "ITC Avant Garde Gothic", sans-serif;
  color: var(--white);
  font-weight: bold;
}

.footer-form .form-control {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--white);
  padding: 12px 15px;
}

.footer-form .form-control::placeholder {
  color: var(--slate);
}

.footer-form .form-control:focus {
  background-color: transparent;
  border-color: var(--accent-color);
  box-shadow: none;
  color: var(--white);
}

.form-check-label {
  font-size: 0.8rem;
  color: var(--slate);
}

.icons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--primary-color);
  border-radius: 50%;
  color: var(--primary-color);
  text-decoration: none;
  margin-left: 10px;
  transition: all 0.3s ease;
}

.icons:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-3px);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--slate);
  text-decoration: none;
  margin-left: 10px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-3px);
}

.footer-divider {
  border-top: 1px solid var(--border-color);
  margin: 40px 0;
}

/*.footer-logo {*/
/*  width: 100px;*/
/*}*/

.footer-description {
  font-size: 0.9rem;
}

.footer-links-heading {
  color: var(--white);
  font-family: "ITC Avant Garde Gothic", sans-serif;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-links {
  font-size: 0.9rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--slate);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}
