.backdrop{
    height: 12.5em;
    background-color: blue;
}

.tool-card button {
    margin-top: 3.125em;
}

.title-header {
    font-weight: 600;
    font-size: 3.5em;
}

.why-we-exist-btn {
    display: inline-block;
    background-color: #FFB827;
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 600;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    margin-top: 1rem; 
}

.why-we-exist-btn:hover {
    border: none;
    animation: zoom 0.3s forwards;
}

@keyframes zoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.fa-external-link-alt {
    margin-left: 0.3125em; 
    vertical-align: middle; 
}

.tool-header{
    font-weight: 600;
    font-size: 2em;
    line-height: 120%;
    text-align: center;
    padding-top: 3rem;
}
.first.tool-section{
    margin-top: 4rem;
}

.tool-section {
    display: flex;
    justify-content: center;
    padding: 2.5em 0; /* Padding around each section */
  }

  .tool-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 70%;
    max-width: 75em;
  }
  .tool-image {
    width: 50%;
  }
  
  .tool-image img {
    height: auto;
    width: 100%;
    object-fit: cover;
    display: block;
    border-radius: .7em;
    
  }

  .tool-text {
    width: 45%;
    position: relative;
  }
  
  .tool-text h2 {
    font-size: 2em;
    font-weight: 700;
  }
  
  .tool-text p {
    font-size: 1em;
    font-weight: 400;
    line-height: 1.6;
    color: #242525;
    margin-bottom: 1.25em;
  }

  .center{
    margin: 0 auto;
    width: fit-content;
  }

.volunteers-section {
    background-color: #c6d7e9; /* Light blue background color */
    padding: 3rem 0; /* Add padding to the section */
    text-align: center; /* Center align all text */
}

.volunteers-section h3 {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 1.5rem; /* Add some space below the heading */
}

.volunteers-section p {
    font-size: 1em;
    line-height: 1.6;
    color: #242525;
    margin-bottom: 2rem; /* Space below paragraphs */
    max-width: 43.75em;
    margin-left: auto;
    margin-right: auto;
}

.volunteers-section-button{
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.volunteers-images {
    display: flex;
    justify-content: center;
    gap: 1em; /* Space between the images */
    margin-bottom: 2rem; /* Space below the images */
}

.volunteers-images img {
    width: 17.625em;
    height: 13.625em;
    object-fit: cover;
    border-radius: .5rem;
}

.volunteers-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 1em;
    background-color: #FFB827;
    border: none;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    color: black;
}

.volunteers-btn i {
    margin-left: 0.5em; 
}

.volunteers-btn:hover {
    border: none;
    animation: zoom 0.3s forwards;
}

@keyframes zoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}



.board-section {
    position: relative; /* Essential for positioning the pseudo-element */
    text-align: center;
    padding: 2.5em;
    overflow: hidden; /* Keeps the pseudo-element within the boundaries */
}

.board-section::before {
    content: ""; /* Necessary for pseudo-elements */
    position: absolute; /* This positions it relative to .board-section */
    top: 0;
    left: 0;
    width: 100%; /* Ensures it covers the entire parent element */
    height: 100%; /* Full height of the parent */
    background-image: url('/static/img/OurBoard_background.png'); /* Directly using the absolute path */
    background-size: cover; /* Covers the full area of the element */
    background-position: center; /* Centers the background image */
    filter: blur(2px); /* Applies the blur effect */
    z-index: -1; /* Sends it behind the content of .board-section */
}



.board-container {
    display: flex;
    flex-direction: column;
    gap: 1.25em;
    max-width: 56.25em;
    margin: 0 auto;
}

.board-card {
    display: flex;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1em;
    position: relative;
    overflow: hidden;
    height: 13em;
}

.card-left {
    width: 30%;
    text-align: center; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
}

.card-left h4 {
    margin: 0;
    font-size: 1.5em;
    color: #242525;
    font-family: 'Poppins';
}

.position {
    font-size: 1.1em;
    color: #777;
    margin-bottom: 0.625em;
    font-family: 'Poppins';
}

.linkedin-link {
    display: inline-block;
    margin-top: 0.625em;
}

.linkedin-link img {
    width: 1.875em;
    height: 1.875em;
}

.card-right {
    width: 70%;
    padding-left: 1.25em;
    text-align: left;
    max-height: 13.75em; 
    overflow-y: auto; 
}

/* Custom Scrollbar */
.card-right::-webkit-scrollbar {
    width: 0.5em; /* Slightly larger scrollbar */
}

.card-right::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1); /* Lighter track color */
}

.card-right::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.4); /* Scrollbar color */
    border-radius: 10px; /* Rounded scrollbar edges */
}

.card-right::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.6); /* Darker scrollbar on hover */
}

.bio {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
    font-family: 'Poppins';
    margin-right: 0.625em; /* To avoid content cutting near scrollbar */
}


.mobile{
    display: none;
  }


/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .board-card {
        flex-direction: column;
        text-align: center;
        height: auto; /* Adjust height for mobile */
    }

    .card-left, .card-right {
        width: 100%;
    }

    .card-right {
        padding-left: 0;
        max-height: none; /* Allow full height content on mobile */
    }
}



/* Media query for tablets */
@media (width <= 1000px) {
    .volunteers-images.web{
        display: none;
    }
}

@media (width <= 600px) {
    .tool-container {
        display: block;
        width: 100%;
    } 
    .tool-image{
        width: 100%;
    }
    .tool-text{
        width: 100%;
    }
    .tool-section{
        width: 85%;
        margin: 0 auto;
        padding-top: 0;
    }
    .mobile{
        display: block;
    }
    .web{
        display: none;
    }
    .tool-image img {
        border-radius: .3em;
    }
    .tool-text h2{
        margin: 5% auto auto auto;
    }
    .first.tool-section {
        margin-top: 1em;
    }
    .volunteers-section{
        padding: 3em 7.5%;
    }
}

/* Media query for mobile devices */
@media (width <=  480px) {

}


  