.static-bg {
    position: relative;
    overflow: hidden;
}

.static-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/bev.png');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    z-index: -10;
}

/* Font Face Declarations */
@font-face {
    font-family: 'Opinion Pro';
    src: url('/static/Mint Type - Opinion Pro Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Opinion Pro';
    src: url('/static/Mint Type - Opinion Pro Light Italic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Opinion Pro Condensed';
    src: url('/static/Mint Type - Opinion Pro Condensed Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Opinion Pro Condensed';
    src: url('/static/Mint Type - Opinion Pro Condensed LightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Opinion Pro Extended';
    src: url('/static/Mint Type - Opinion Pro Extended Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Opinion Pro Extended';
    src: url('/static/Mint Type - Opinion Pro Extended Light Italic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Opinion Pro';
    src: url('/static/Mint Type - Opinion Pro ExtraCondensed Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-stretch: extra-condensed;
}

@font-face {
    font-family: 'Opinion Pro';
    src: url('/static/Mint Type - Opinion Pro ExtraCondensed LightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-stretch: extra-condensed;
}

.bhch-title-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.bhch-gradient-text {
    font-size: 2rem;
    letter-spacing: 2px;
    margin: 0;
    text-transform: uppercase;
    font-family: 'Opinion Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 500;
    background: linear-gradient(90deg, #009a9a, #00b5c9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subscribe-btn{
    border-top-left-radius: 0px ;
    border-bottom-left-radius: 0px ;
}


/* Font */
.league-spartan-regular {
    font-family: "League Spartan", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.league-spartan-light {
    font-family: "League Spartan", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

.league-spartan-bold {
    font-family: "League Spartan", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}


.navbar {
    background-color: white;
    padding-inline: 10%;
}

.navbar-brand img{
    height: 4rem;
    margin-right: 1rem;
}

@media (max-width: 430px){
    .navbar-brand img{
        height: 2.5rem;
    }
    .bhch-gradient-text{
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
}
/* Show dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    color: #007151;
}

/* Optional: Adjust the dropdown position */
.dropdown-menu {
    margin-top: 0;
    border-radius: 0;
}

/* Set dropdown link text color to match main nav links */
.dropdown-item {
    position: relative;
    color: #333;
    /* Replace with your preferred color */
    text-decoration: none;
}

/* Underline effect on dropdown items on hover */
.dropdown-item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: currentColor;
    /* Matches the text color */
    transition: width 0.3s ease;
}

.dropdown-item:hover {
    color: #007151;
    /* Hover color for dropdown item text */
}

.dropdown-item:hover::after {
    width: 100%;
    /* Expands the underline */
}



/* Footer Section */
.footer-section {
    color: white;
    position: relative;
}

.footer-logo {
    width: 4rem;
    /* Adjust as necessary */
}

.footer-section h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-links li {
    margin-bottom: 10px;
    /* Adjust spacing as needed */
}

.footer-links li a {
    font-family: "League Spartan", sans-serif;
    font-weight: 300;
    color: white;
    /* Ensure links are visible */
    text-decoration: none;
}

.footer-links li a:hover {
    text-decoration: underline;
    /* Optional hover effect */
}


.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.newsletter-form .form-control {
    border-radius: 0;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border: 0px solid #fff;
    padding: 10px;
}

.newsletter-form .btn {
    border-radius: 0px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    font-weight: bold;
    background-color: #d9d9d9;
    color: #007151;
}

.footer-section p,
.footer-links {
    margin: 0;
    padding: 0;
}



/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-logo {
        width: 15rem;
    }
}

/* General styling for the hero section */
.hero-section {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* Cover only the left half */
    height: 100%;
    /* background-color: rgba(0, 0, 0, 0.5); */
    /* Dark overlay */
    display: flex;
    align-items: center;
    /* Center vertically */
    padding-left: 20px;
    /* Add left padding to move text away from edge */
    z-index: 2;
}

.hero-text {
    color: white;
    font-size: 4rem;
    text-align: left;
    padding-top: 10%;
    padding-right: 40%;
    margin-left: 10rem;
}

/* Adjustments for mobile screens with max width 430px */
@media (max-width: 430px) {
    .hero-section {
        position: relative;
        height: 50vh;
        overflow: hidden;
    }

    .overlay {
        width: 100%;
        /* Expand overlay to cover full width */
        padding-left: 10px;
        /* Reduce padding */
    }

    .background-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
    }

    .hero-text {
        font-size: 1.5rem;
        margin-left: 0;
        padding-left: 20px;
    }
}



.info-section {
    font-family: 'League Spartan', sans-serif;
    font-weight: 400;
    padding: 60px 0;
}

.info-section h2 {
    font-family: 'League Spartan', sans-serif;
    font-weight: 500;
}

.info-section p {
    text-align: justify;
}

h2 {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
}

p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.info-section .btn-success{
    border-radius: 15px;
}

.btn-success {
    background-color: #007151;
    color: white;
    border: none;
    padding: 10px 20px;
    text-transform: uppercase;
}

/* General styling for sponsor section */
.sponsor-section {
    background-color: #D9D9D9;
    padding: 80px 0;
    line-height: 20px;
    text-align: center;
}

.sponsor-section h1,
.sponsor-section h2 {
    margin-bottom: 2rem;
}

.sponsor-section h2 {
    font-size: 1.3rem;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 80%;
    margin: 0 auto;
    overflow: hidden;
}

.sponsor-image {
    width: 100%;
    height: auto;
    display: block;
}

.sponsor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: white;
    text-align: center;
    padding-bottom: 20px;
}

.sponsor-overlay-content {
    z-index: 2;
    margin-bottom: 20px;
}

.donate-btn {
    margin-bottom: 20px;
    font-size: 1.3rem;
    border-radius: 10px;
    background-color: #007151;
    color: white;
    padding: 10px 50px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
}

.donate-btn:hover {
    background-color: #005039;
}

/* Adjustments for phone screens with max width 430px */
@media (max-width: 430px) {
    .sponsor-section {
        padding: 40px 0;
    }

    .sponsor-section h1 {
        font-size: 1.5rem;
    }

    .sponsor-section h2 {
        font-size: 0.7rem;
        margin-bottom: 1.5rem;
        padding: 0 15px;
        /* Add some padding for better readability */
    }

    .image-container {
        max-width: 100%;
        /* Full width on smaller screens */
        height: 25vh;
        padding: 0 10px;
        /* Add some side padding */
    }

    .sponsor-overlay-content {
        margin-bottom: 15px;
    }

    .sponsor-image {
        width: 100%;
        height: 25vh;
        display: block;
        object-fit: cover;
    }

    .donate-btn {
        font-size: 1rem;
        /* Smaller font size for mobile */
        padding: 15px 30px;
        /* Smaller button padding */
        border-radius: 8px;
    }
}


.container {
    max-width: 1200px;
    /* Set a max width for the container */
    margin: 0 auto;
    /* Centers the container */
    padding: 20px;
    /* Adds padding to the container */
}

/* General styling for donation section */
.donation-section {
    text-align: center;
    color: white;
}

.donation-section h1 {
    font-size: 3rem;
}

.donation-section h3 {
    font-size: 3rem;
    padding-inline: 5%;
}


.side-image {
    width: 100%;
    aspect-ratio: 7/4;
    /* Maintains aspect ratio */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .image-row {
        flex-direction: column;
        /* Stack images vertically */
    }

    .image-left {
        order: 1;
        /* Image 1 on top */
    }

    .image-right {
        order: 2;
        /* Image 2 on bottom */
    }

    .side-image {
        width: 100%;

        /* Adjust size for smaller screens */
        margin-bottom: 10px;
    }
}


.centered-heading {
    font-size: 3rem;
    /* Main heading size */
    font-weight: 700;
    margin: 20px 0 0 0;
    /* Margin for spacing */
}

.centered-subheading {
    font-size: 2rem;
    /* Subheading size */
    font-weight: 400;
    margin: 10px 0;
    /* Margin for spacing */
}


/* News Section */

.news-section {
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.news-container {
    padding-inline: 10%;
}

.news-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.news-card {
    height: 200px;
    display: flex;
    background-color: #d9d9d9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
}

.news-card img {
    width: 200px;
    height: auto;
    object-fit: cover contain;
}

.news-content {
    padding: 20px;
    flex: 1;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.news-content .news-date {
    font-size: 0.875rem;
    margin-bottom: 10px;
}

.news-content p {
    font-size: 0.8rem;
    margin-bottom: 10px;
}

@media (max-width: 430px) {
    .news-container {
        padding-inline: 3%; /* Reduce padding for smaller screens */
    }

    .news-card {
        flex-direction: column; /* Stack image and text */
        text-align: center;
        height: auto; /* Adjust height */
    }

    .news-card img {
        width: 100%; /* Make image full width */
        height: 180px; /* Set a consistent height */
        object-fit: cover;
    }

    .news-content {
        padding: 10px; /* Reduce padding */
    }

    .news-content h3 {
        font-size: 1rem; /* Adjust heading size */
        margin-bottom: 5px;
    }

    .news-content .news-date {
        font-size: 0.8rem; /* Slightly smaller date text */
        margin-bottom: 5px;
    }

    .news-content p {
        font-size: 0.8rem; /* Ensure readability */
        margin-bottom: 8px;
    }

    .news-link {
        font-size: 0.85rem; /* Slightly larger link text */
        margin-top: 5px;
    }
}


.news-link {
    color: #007151;
    font-weight: bold;
    text-decoration: none;
    font-size: 1rem;
}

.news-link:hover {
    text-decoration: underline;
}

.see-all {
    margin-top: 30px;
}

.see-all a {
    color: #007151;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
}

.see-all a:hover {
    text-decoration: underline;
}


.mission {
    padding-block: 20px;
}

.mission-image-container {
    position: relative;
    text-align: center;
}

.mission-image {
    width: 100%;
    height: 90vh;
    object-fit: cover;
    display: block;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

.mission-content {
    margin-top: 20px;
}

.mission-text {
    font-size: 1rem;
}

.gray-box img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width : 430px) {
    .mission {
        margin-bottom: 20px;
        padding: 0;
    }

    .mission-image {
        height: 50vh;
    }

}



.vision-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.vision-text {
    font-size: 1rem;
    line-height: 1.6;
}

.team-card {
    transition: transform 0.2s;
    border: none;
    border-radius: 0px;
}

.team-card img {
    transition: transform 0.2s;
    border: none;
    border-radius: 0px;
}

.team-card:hover {
    transform: scale(1.05);
}




.donation-section {
    position: relative;
    height: 90vh;
    /* Full height */
    overflow: hidden;
    /* Prevent overflow from flex items */
}

.donation-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure the image covers the area */
}

.donation-overlay {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    /* Dark overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.content {
    z-index: 1;
    /* Make sure the content appears above the overlay */
    color: white;
}

.donation-button {
    margin-top: 20px;
}

/* Programme Section */
.programme-section {
    height: 90vh;
}

.programme {
    position: relative;
}

.programme .poverlay {
    background: rgba(0, 0, 0, 0.5);
    /* Darker overlay for better text contrast */
    width: 100%;
    height: 90vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.programme h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.programme p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.programme .program-buttons {
    display: flex;
    padding-inline: auto;
    gap: 5rem;
    /* Space between buttons */
    justify-content: center;
    margin-bottom: 10px;
}

.programme .program-buttons .btn {
    margin-top: 2rem;
    background-color: #006b53;
    color: white;
    font-size: 1.3rem;
    padding: 10px 30px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.programme .program-buttons .btn:hover {
    background-color: #004d3a;
}


/* Responsive adjustments for mobile screens */
@media (max-width: 768px) {
    .programme-section {
        height: auto;
        /* Adjust height to fit content on smaller screens */
        padding: 20px 10px;
    }

    .programme h1 {
        font-size: 2rem;
    }

    .programme p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .programme .program-buttons {
        margin-top: 2rem;
        gap: 2rem;
        /* Reduce gap between buttons */
        flex-direction: column;
        /* Stack buttons vertically */
    }

    .programme .program-buttons .btn {
        font-size: 1.1rem;
        padding: 10px 20px;
    }
}

@media (max-width: 430px) {
    .programme-section {
        padding: 15px 5px;
    }

    .programme h1 {
        font-size: 1.5rem;
    }

    .programme p {
        font-size: 0.9rem;
    }

    .programme .program-buttons .btn {
        font-size: 1rem;
        padding: 8px 15px;
        margin-top: 1rem;
    }
}

.vocational-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.vocational-content {
    padding: 20px;
}

.cta-section {
    text-align: left;
    background-color: #007151;
    color: white;
    padding: 40px;
    margin: 40px 0;
}

.cta-section ul {
    list-style-type: disc;
    margin-left: 20px;
    line-height: 2rem;
}

.vocational-donate-section {
    background-color: #007151;
    color: white;
    padding: 40px;
    text-align: center;
}

.vocational-donate-section .btn-donate {
    background-color: #fff;
    color: #007151;
    border-color: #fff;
}

.school-section {
    text-align: center;
    margin-top: 50px;
}

.school-section-title {
    font-size: 1.8rem;
    font-weight: bold;
}

.school-section img{
    height: 500px;
    object-fit: cover;
}

.school-section-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.school-section-image {
    margin-block: 2rem;
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 20px;
}

.school-activities {
    padding-block: 2rem;
}

.school-activity-title {
    font-weight: bold;
}

.school-activities p {
    font-size: 1.3rem;
}

@media (max-width: 430px) {
    .school-section img{
        height: 300px;
    }
}

.notices .card {
    border: 1px solid #ddd;
}

.notices .card-title {
    font-size: 1.6rem;
}

.notices .card-body p {
    font-size: 0.95rem;
    color: #666;
}

.notices .btn-link {
    color: #007bff;
    text-decoration: none;
}

.notices .btn-link:hover {
    text-decoration: underline;
}


.knowledge-list .d-flex {
    transition: background-color 0.2s ease;
}

.knowledge-list .d-flex:hover {
    background-color: #d0d0d0;
}

.knowledge-list i {
    width: 50px;
    font-size: 26px;
}

.caro-container {
    width: 100%;
    padding-inline: 10%;
}


.see-alls {
    text-align: right;
    margin-bottom: 15px;
    margin-right: 20px;
}

.see-alls a {
    color: #007b5e;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s ease;
}

.see-alls a:hover {
    color: #004d40;
}

/* Owl Carousel container */
.owl-carousel {
    position: relative;
    padding: 20px 0;
}

/* Owl Card styling */
.owl-card {
    margin: 10px;
    text-align: center;
    padding: 25px 15px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: -5px 3px 20px rgb(0 0 0 / 21%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.owl-prev:focus,
.owl-next:focus {
    outline: none; /* Additional safeguard for focus state */
}


.owl-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Styling for the images */
.owl-card-images {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.owl-image-left,
.owl-image-right {
    width: 49% !important;
    /* Ensures space between images */
    height: 400px;
    object-fit: cover;
    /* Ensures images are well-aligned */
}

/* Text styling */
.owl-card h5 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.owl-card p {
    font-size: 14px;
    padding-inline: 20%;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
}


/* Custom navigation button styling */
.owl-prev,
.owl-next {
    position: absolute;
    top: 15%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.2);
    color: #fff;
    border: none;
    font-size: 30px;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.owl-prev:hover,
.owl-next:hover {
    background-color: rgba(0, 0, 0, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.owl-prev {
    left: -35px;
}

.owl-next {
    right: -35px;
}

.team-container {
    width: 100%;
    padding-inline: 10%;
}

.team-carousel .iteam-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-carousel .iteam-card img {
    width: 250px;
    object-fit: cover;
    height: 250px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    margin: 0;
    /* Ensure no padding or margin around the image */
}

.team-carousel .iteam-card p {
    margin-top: 2rem;
    font-size: 1.4rem;
}


.testi-container {
    width: 100%;
    background-color: #f9f9f9;
}


.testimonial-text i {
    color: #fff;
}

.testimonial-text {
    display: flex;
    flex-direction: column;
    height: 500px;
    /* Keep consistent height */
    align-items: center;
    justify-content: center;
    /* Ensures content is centered vertically */
    text-align: center;
    padding: 2rem;
    /* Adds some spacing */
}
.carousel-control-next-icon, .carousel-control-prev-icon{
    width: 40px!important;
    height: 40px!important;
}

.testimonial-text p {
    padding-inline: 20%;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.testimonial-text .font-weight-bold {
    font-size: 1.3rem;
    /* Slightly increased for emphasis */
}

@media  (max-width: 430px) {
    .testimonial img{
        order: 1;
    }
    .testimonial-text {
    order: 2
    ;    }
    
}

/* Background color for testimonials */
.bg-successe {
    background-color: #007151;
}

/* Adjust the fixed image container height */
.fixed-image {
    height: 500px;
    /* Updated height */
}

/* Ensure image covers the entire column with updated height */
img.img-fluid.h-100.w-100 {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.history-section .history-card {
    border: none;
    /* Remove border */
    box-shadow: none;
    /* Remove shadow */
    background-color: #f9f9f9;
    /* Optional: Set a subtle background color */
    margin-bottom: 2rem;
}

.history-section .history-card img {
    height: 300px;
    width: 100%;
    object-fit: cover;
}

.history-timeline .list-group-item {
    border: none;
    background-color: transparent;
    padding-left: 0;
    font-size: 1.1em;
}

.history-founders .card {
    border: none;
    box-shadow: none;
    background-color: #f9f9f9;
}

.history-founders img {
    width: 300px;
    height: 300px;
}


.achievement-section {
    background-color: #00704a;
    /* Dark green background */
}

.counter {
    font-size: 3rem;
    font-family: 'League Spartan', sans-serif;
    letter-spacing: 4px;
    font-weight: bold;
}

.achievement-section p {
    font-family: 'League Spartan', sans-serif;
    font-weight: 400;
    font-size: 2rem;
}