/*******************************/
/********* General CSS *********/
/*******************************/
body {
    color: #777777;
    font-weight: 500;
    background: #ffffff;
    
    font-family: 'Comic Sans MS';

}

h1,
h2, 
h3, 
h4,
h5, 
h6 {
    color: #4a4c70;
}

a {
    color: #4a4c70;
    transition: .3s;
}

a:hover,
a:active,
a:focus {
    color: #FDBE33;
    outline: none;
    text-decoration: none;
}

.btn.btn-custom {
    padding: 12px 20px;
    text-align: center; 
   font-size: 16px;
    font-weight: 500;
    color: #777777;
    border-radius: 0;
    border: 2px solid #FDBE33;
    box-shadow: inset 0 0 0 0 #FDBE33;
    transition: ease-out 0.3s;
    -webkit-transition: ease-out 0.3s;
    -moz-transition: ease-out 0.3s;
}

.btn.btn-custom:hover {
    color: #191970;
    box-shadow: inset 0 0 0 30px #FDBE33;
}

.btn:focus,
.form-control:focus {
    box-shadow: none;
}

.container-fluid {
    max-width: none;
}

[class^="flaticon-"]:before, [class*=" flaticon-"]:before,
[class^="flaticon-"]:after, [class*=" flaticon-"]:after {   
    font-size: inherit;
    margin-left: 0;
}


/**********************************/
/****** Loader & Back to Top ******/
/**********************************/
#loader {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .3s ease-out, visibility 0s linear .3s;
    -o-transition: opacity .3s ease-out, visibility 0s linear .3s;
    transition: opacity .3s ease-out, visibility 0s linear .3s;
    z-index: 999;
}

#loader.show {
    -webkit-transition: opacity .6s ease-out, visibility 0s linear 0s;
    -o-transition: opacity .6s ease-out, visibility 0s linear 0s;
    transition: opacity .6s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

#loader .loader {
    position: relative;
    width: 45px;
    height: 45px;
    border: 5px solid #dddddd;
    border-top: 5px solid #FDBE33;
    border-radius: 50%;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.back-to-top {
    position: fixed;
    display: none;
    background: #FDBE33;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 1;
    font-size: 22px;
    right: 15px;
    bottom: 15px;
    transition: background 0.5s;
    z-index: 9;
}

.back-to-top i {
    color: #4a4c70;
    padding-top: 10px;
}

.back-to-top:hover {
    background: #4a4c70;
}

.back-to-top:hover i {
    color: #FDBE33;
}


/**********************************/
/********** Top Bar CSS ***********/
/**********************************/
.top-bar {
    position: absolute;
    height: 25px;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 3;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
    background: #245bad !important;
}

.top-bar .top-bar-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.top-bar .top-bar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.top-bar .text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    height: 25px;
    padding: 0 10px;
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, .3);
}

.top-bar .text:last-child {
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.top-bar .text i {
    font-size: 16px;
    color: #FDBE33;
    margin-right: 5px;
}

.top-bar .text p {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.top-bar .social {
    display: flex;
    height: 25px;
    font-size: 0;
    justify-content: flex-end;
}

.top-bar .social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 100%;
    font-size: 16px;
    color: #FDBE33;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.top-bar .social a:first-child {
    border-left: 1px solid rgba(255, 255, 255, .3);
}

.top-bar .social a:hover {
    color: #ffffff;
    background: #FDBE33;
}

@media (min-width: 992px) {
    .top-bar {
        padding: 0 60px;
    }
}


/**********************************/
/*********** Nav Bar CSS **********/
/**********************************/
.navbar {
    position: relative;
    transition: .5s;
    z-index: 999;
    

}

.navbar.nav-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
    transition: .5s;
}

.navbar .navbar-brand {
    margin: 0;
    color: #ffffff;
    font-size: 45px;
    line-height: 0px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
}
.navbar-brand-text{
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 45px;
    line-height: 0px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.navbar .navbar-brand img {
    max-width: 100%;
    max-height: 100px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #FDBE33;
    transition: none;
}

/* Corrected Fix for dropdown vibration/blinking */
.nav-link.dropdown-toggle:hover,
.nav-link.dropdown-toggle:focus,
.nav-link.dropdown-toggle.show {
    /* Apply the same color as the hover state */
    color: #FDBE33; 
}

.navbar .dropdown-menu {
    margin-top: 0;
    border: 0;
    border-radius: 0;
    background: #f8f9fa;
    
}

@media (min-width: 992px) {
    .navbar {
        
        width: 100%;
        top: 25px;
        padding: 20px 60px;
        background: #245bad !important;
        border-bottom: 1px solid rgba(255, 255, 255, .3);
        z-index: 9;
    }
    
    .navbar.nav-sticky {
        padding: 10px 60px;
        background: #245bad !important;
        border-bottom: none;
    }
    
    .page .navbar {
        background: #245bad !important;
    }
    
    .navbar a.nav-link {
        padding: 8px 15px;
        font-size: 16px;
        letter-spacing: 1px;
    }
}

@media (max-width: 991.98px) {   
    .navbar {
        padding: 15px;
        background: #245bad !important;
    }
    
    .navbar a.nav-link {
        padding: 5px;
    }
    
    .navbar .dropdown-menu {
        box-shadow: none;
    }
}
@media (max-width: 575.98px) {
    .navbar-brand-text {
        font-size: 18px;
        gap: 6px;
    }

    .navbar-brand-text img {
        width: 40px;
    }
}
@media (max-width: 575.98px) {
    .navbar-brand-text {
        font-size: 18px;
        gap: 6px;
    }

    .navbar-brand-text img {
        width: 40px;
    }
}
@media (min-width: 576px) and (max-width: 767.98px) {
    .navbar-brand-text {
        font-size: 20px;
        gap: 8px;
    }

    .navbar-brand-text img {
        width: 50px;
    }
}
/* Base styles for brand */
.custom-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

/* logo */
.custom-brand .brand-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

/* text */
.custom-brand .brand-title {
    font-size: 30px;
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff; /* or whatever your navbar text color is */
    white-space: nowrap; /* keep name on one line on larger screens */
}


/* ============ Extra small phones (<576px) ============ */
@media (max-width: 575.98px) {
    .custom-brand {
        gap: 6px;
        /* if you want text below logo instead of beside, uncomment: */
        /* flex-direction: column;
           align-items: flex-start; */
    }

    .custom-brand .brand-logo {
        width: 42px;
        height: 42px;
    }

    .custom-brand .brand-title {
        font-size: 18px;
        white-space: normal;   /* allow wrap so it doesn't overflow */
    }
}


/* ============ Small devices (576px – 767.98px) ============ */
@media (min-width: 576px) and (max-width: 767.98px) {
    .custom-brand .brand-logo {
        width: 50px;
        height: 50px;
    }

    .custom-brand .brand-title {
        font-size: 20px;
    }
}


/* ============ Tablets (768px – 991.98px) ============ */
@media (min-width: 768px) and (max-width: 991.98px) {
    .custom-brand .brand-logo {
        width: 56px;
        height: 56px;
    }

    .custom-brand .brand-title {
        font-size: 21px;
    }
}


/*******************************/
/********** Hero CSS ***********/
/*******************************/
.carousel {
    position: relative;
    width: 100%;
    min-height: 100px; /* Decreased from 300px */
    background: #ffffff;
    
}

.carousel .container-fluid {
    padding: 0;
}

.carousel .carousel-item {
    position: relative;
    width: 100%;
    min-height: 100px; /* Decreased from 300px */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.carousel .carousel-img {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 50px; /* Adjusted to maintain proportion */
    text-align: right;
    overflow: hidden;
}

.carousel .carousel-img::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 1;
}

.carousel .carousel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel .carousel-text {
    position: absolute;
    max-width: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 2;
}

.carousel .carousel-text h1 {
    text-align: center;
    color: #ffffff;
    font-size: 40px; /* Reduced from 60px to fit smaller height */
    font-weight: 700;
    margin-bottom: 15px; /* Adjusted margin */
}

.carousel .carousel-text p {
    color: #ffffff;
    text-align: center;
    font-size: 16px; /* Reduced from 20px to fit smaller height */
    margin-bottom: 15px; /* Adjusted margin */
}

.carousel .carousel-btn .btn.btn-custom {
    color: #ffffff;
}

.carousel .carousel-btn .btn.btn-custom:hover {
    color: #191970;
}

.carousel .carousel-btn .btn:first-child {
    margin-right: 15px;
}

.carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 40px; /* Reduced from 60px to fit smaller height */
    top: calc(50% - 20px); /* Adjusted to center navigation */
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 9;
}

.carousel .owl-nav .owl-prev,
.carousel .owl-nav .owl-next {
    width: 40px; /* Reduced from 60px */
    height: 40px; /* Reduced from 60px */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FDBE33;
    background: rgba(256, 256, 256, .2);
    font-size: 18px; /* Reduced from 22px */
    transition: .3s;
}

.carousel .owl-nav .owl-prev:hover,
.carousel .owl-nav .owl-next:hover {
    color: #ffffff;
    background: #FDBE33;
}

.carousel .owl-nav .owl-prev {
    margin-right: 2px;
}

.carousel .animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}


@media (max-width: 991.98px) {
    .carousel .carousel-text h1 {
        font-size: 30px; /* Adjusted to fit smaller height */
    }
    
    .carousel .carousel-text p {
        font-size: 14px; /* Adjusted to fit smaller height */
    }
    
    .carousel .carousel-text .btn {
        padding: 12px 30px;
        font-size: 15px;
        letter-spacing: 0;
    }
}

@media (max-width: 767.98px) {
    .carousel .carousel-text h1 {
        font-size: 25px; /* Adjusted to fit smaller height */
    }
    
    .carousel .carousel-text .btn {
        padding: 10px 25px;
        font-size: 15px;
        letter-spacing: 0;
    }
}

@media (max-width: 575.98px) {
    .carousel .carousel-text h1 {
        font-size: 20px; /* Adjusted to fit smaller height */
    }
    
    .carousel .carousel-text .btn {
        padding: 8px 20px;
        font-size: 14px;
        letter-spacing: 0;
    }

}
/* In your style.css */

.causes-text .collapse {
    margin-top: 15px; /* Add some space above the expanded content */
    /* Add any other styling for the expanded content, e.g., font size, line height */
    overflow-y: auto;
}

/* Optional: Style the button to indicate expanded/collapsed state if needed beyond default Bootstrap */
.causes-btn .btn-custom[aria-expanded="true"] {
    /* Styles when expanded, e.g., change background color or text */
    background-color: #FDBE33; /* Example: highlight button when active */
    color: #fff;
}


/*******************************/
/******* Page Header CSS *******/
/*******************************/
.page-header {
    position: relative;
    margin-bottom: 45px;
    padding: 210px 0 90px 0;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/scroll.png);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header h2 {
    position: relative;
    color: #FDBE33;
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 5px;
}

.page-header h2::after {
    position: absolute;
    content: "";
    width: 100px;
    height: 2px;
    left: calc(50% - 50px);
    bottom: 0;
    background: #FDBE33;
}

.page-header a {
    position: relative;
    padding: 0 12px;
    font-size: 22px;
    color: #ffffff;
}

.page-header a:hover {
    color: #FDBE33;
}

.page-header a::after {
    position: absolute;
    content: "/";
    width: 8px;
    height: 8px;
    top: -2px;
    right: -7px;
    text-align: center;
    color: #ffffff;
}

.page-header a:last-child::after {
    display: none;
}

@media (max-width: 991.98px) {
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h2 {
        font-size: 45px;
    }
    
    .page-header a {
        font-size: 20px;
    }
}

@media (max-width: 767.98px) {
    .page-header {
        padding: 45px 0;
    }
    
    .page-header h2 {
        font-size: 35px;
    }
    
    .page-header a {
        font-size: 18px;
    }
}


/*******************************/
/******* Section Header ********/
/*******************************/
.section-header {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto 45px auto;
}

.section-header p {
    margin-bottom: 5px;
    position: relative;
    font-size: 22px;
    font-weight: 600;
    text-transform: capitalize;
    color: #FDBE33;
}

.section-header h2 {
    margin: 0;
    font-size: 45px;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .section-header h2 {
        font-size: 45px;
    }
}

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 40px;
    }
}

@media (max-width: 575.98px) {
    .section-header h2 {
        font-size: 35px;
    }
}


/*******************************/
/********** About CSS **********/
/*******************************/
/* .about1 {
    position: relative;
    width: 100%;
    padding: 45px 0;
} */

/* .about1 .section-header {
    margin-bottom: 30px;
    margin-left: 0;
} */

.about1 .about-img1 {
    width: 100%;
    height: 100vh;
    
    /* Add these lines to set the background image */
    background-image: url('../img/pht/pht40.jpeg'); /* Adjust the path as necessary */
    background-size: cover; /* This makes the image cover the entire element */
    background-position: center; /* This centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
}

.about1 .about-tab1 {
    width: 100%;
}

.about1 .about-tab1 .nav.nav-pills .nav-link {
    padding: 8px;
    font-weight: 600;
    background: none;
    border-radius: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .15);
    transition: none;
}

.about1 .about-tab1 .nav.nav-pills .nav-link:hover,
.about1 .about-tab1 .nav.nav-pills .nav-link.active {
    color: #FDBE33;
    padding-bottom: 7px;
    border-bottom: 3px solid #FDBE33;
}

.about1 .about-tab1 .tab-content {
    padding: 15px 0 0 0;
    background: transparent;
}

.about1 .about-tab1 .tab-content .container {
    padding: 0;
}

@media (max-width: 991.98px) {
    .about1 .section-header {
        margin-top: 30px;
    }
}
.about1 .nav-link {
    color: #333;
    padding: 10px 20px;
}
.about1 .nav-link.active {
    background-color: #007bff;
    color: #fff;
}
.about1 .tab-content p {
    line-height: 1.6;
    margin-bottom: 15px;
}
.about1 {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header .subheading {
    font-size: 18px;
    color: #FDBE33;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-header .main-heading {
    font-size: 36px;
    color: #333;
    font-weight: 700;
    margin: 0;
}

.nav-tabs {
    margin-bottom: 30px;
    border-bottom: 2px solid #ddd;
}

.nav-tabs .nav-item {
    margin-bottom: -2px; /* Adjust to align with border */
}

.nav-tabs .nav-link {
    padding: 10px 25px;
    font-size: 18px;
    color: #555;
    border: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link.active {
    color: #007bff;
    border-bottom-color: #007bff;
    background-color: transparent; /* Ensure no background color */
}

.tab-content {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tab-text {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

.tab-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.tab-list li {
    font-size: 16px;
    color: #444;
    margin-bottom: 8px;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .section-header .main-heading {
        font-size: 28px;
    }
    .nav-tabs .nav-link {
        font-size: 16px;
        padding: 8px 15px;
    }
    .tab-text, .tab-list li {
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .section-header .main-heading {
        font-size: 24px;
    }
    .nav-tabs {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    .nav-tabs .nav-link {
        font-size: 14px;
        padding: 6px 12px;
    }
    .tab-text, .tab-list li {
        font-size: 13px;
    }
}
/*******************************/
/********* Service CSS *********/
/*******************************/
/* .service {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.service .service-item {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 45px;
    transition: .3s;
}

.service .service-icon {
    position: relative;
    width: 60px;
}

.service .service-icon i {
    position: relative;
    display: block;
    color: #FDBE33;
    font-size: 60px;
    line-height: 60px;
    margin-top: 5px;
}

.service .service-text {
    position: relative;
    margin-left: 20px;
    padding-left: 20px;
}

.service .service-text::before {
    position: absolute;
    content: "";
    width: 1px;
    height: calc(100% - 10px);
    top: 5px;
    left: 0;
    background: rgba(0, 0, 0, .1);
}

.service .service-text::after {
    position: absolute;
    content: "";
    width: 3px;
    height: 40px;
    top: calc(50% - 20px);
    left: -1px;
    background: #FDBE33;
}

.service .service-text h3 {
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}

.service .service-text p {
    margin: 0;
} */

.service {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.section-header {
    margin-bottom: 40px;
}

.section-header .subheading {
    font-size: 18px;
    color: #666;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-header .main-heading {
    font-size: 36px;
    color: #333;
    font-weight: 700;
    margin: 0;
}

.row-cols-1.row-cols-md-2.row-cols-lg-4 {
    --bs-gutter-x: 1.5rem;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card {
    position: relative;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.service-icon {
    padding: 20px;
    background-color: #f1f3f5;
    text-align: center;
    flex-shrink: 0;
}

.service-content {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.service-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 123, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.learn-more {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Modal Styling with Increased Height and Width */
.modal-dialog.modal-lg {
    max-width: 900px; /* Increased from default ~800px */
    height: 80vh; /* Increased height to 80% of viewport height */
}

.modal-content {
    border: none;
    border-radius: 10px;
    height: 100%; /* Ensure content fills the modal height */
    display: flex;
    flex-direction: column;
}

.modal-header {
    background-color: #007bff;
    color: #fff;
    border-bottom: none;
    flex-shrink: 0; /* Prevent header from shrinking */
}

.modal-title {
    font-size: 24px;
    font-weight: 600;
}

.modal-body {
    flex-grow: 1; /* Allow body to grow and fill space */
    overflow-y: auto; /* Add scroll if content exceeds height */
    padding: 20px;
}

.modal-body img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    object-fit: contain; /* Ensure image fits within modal */
}

.modal-footer {
    border-top: none;
    flex-shrink: 0; /* Prevent footer from shrinking */
}

.btn-close {
    filter: invert(1);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .section-header .main-heading {
        font-size: 28px;
    }
    .service-card {
        min-height: 300px;
    }
    .service-title {
        font-size: 18px;
    }
    .service-description {
        font-size: 13px;
    }
    .service-icon {
        padding: 15px;
    }
    .modal-dialog.modal-lg {
        max-width: 100%; /* Full width on smaller screens */
        height: 70vh; /* Slightly reduced height for mobile */
    }
    .modal-title {
        font-size: 20px;
    }
}

@media (max-width: 575.98px) {
    .section-header .main-heading {
        font-size: 24px;
    }
    .service-card {
        min-height: 250px;
    }
    .service-title {
        font-size: 16px;
    }
    .service-description {
        font-size: 12px;
    }
    .service-icon {
        padding: 10px;
    }
    .learn-more {
        font-size: 14px;
    }
    .modal-dialog.modal-lg {
        max-width: 100%; /* Full width on very small screens */
        height: 60vh; /* Further reduced height for small screens */
    }
    .modal-title {
        font-size: 18px;
    }
}
/*******************************/
/********* Donate CSS **********/
/*******************************/
.donate {
    position: relative;
    width: 100%;
    margin: 45px 0;
    background: rgba(0, 0, 0, .5);
}

.donate .donate-content {
    padding: 45px 0 15px 0;
}

.container .donate {
    margin: 90px 0;
}

.container .donate .donate-content {
    padding: 45px 30px 15px 30px;
}

.donate .donate-content .section-header {
    margin-bottom: 30px;
}

.donate .donate-content .section-header h2 {
    color: #ffffff;
}

.donate .donate-text p {
    color: #ffffff;
    font-size: 18px;
}

.donate .donate-form {
    padding: 90px 30px;
    background: #FDBE33;
}

.donate .donate-form .control-group {
    margin-bottom: 15px;
}

.donate .donate-form .form-control {
    height: 60px;
    color: #ffffff;
    padding: 0 15px;
    border-radius: 0;
    border: 1px solid #ffffff;
    background: transparent;
}

.donate .donate-form .form-control::placeholder {
    color: #ffffff;
    opacity: 1
}

.donate .donate-form .form-control:-ms-input-placeholder,
.donate .donate-form .form-control::-ms-input-placeholder {
    color: #ffffff;
}

.donate .donate-form .btn-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.donate .donate-form .btn.btn-custom {
    padding: 15px 0;
    width: 100%;
    height: 60px;
    color: #ffffff;
    border: 1px solid #ffffff;
    box-shadow: inset 0 0 0 0 #ffffff;
}

.donate .donate-form .btn.btn-custom:hover,
.donate .donate-form .btn.btn-custom.active {
    color: #FDBE33;
    border: 1px solid #ffffff;
    box-shadow: inset 0 0 0 30px #ffffff;
}



/*******************************/
/********** Causes CSS *********/
/*******************************/
.causes {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.causes .causes-carousel {
    display: flex;
    flex-wrap: nowrap; /* Ensure that items are in a single row */
    overflow: hidden;
    gap: 15px; /* Space between items */
}

.causes .causes-item {
    display: flex;
    flex-direction: column;
    background: #f3f6ff;
    height: 350px; /* Fixed height for all items */
    flex: 0 0 auto; /* Ensures that each item takes up its specified width */
    width: 300px; /* Fixed width for all items */
}

.causes .causes-img {
    overflow: hidden;
    height: 200px; /* Fixed height for the image */
}

.causes .causes-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the area without stretching */
    transition: .3s;
}

.causes .causes-item:hover img {
    transform: scale(1.1);
}

.causes .causes-text {
    padding: 20px 30px;
    flex-grow: 1; /* Ensures the text section expands to fill remaining space */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes the button to the bottom */
    overflow: hidden; /* Prevents text from overflowing */
}

.causes .causes-text h3 {
    font-size: 22px;
    font-weight: 700;
}

.causes .causes-text p {
    margin: 0;
    display: -webkit-box; /* Enable multi-line text truncation */
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* Show only 2 lines of text */
    overflow: hidden;
    text-overflow: ellipsis; /* Add ellipsis (...) when text overflows */
}


.causes .causes-btn {
    text-align: center;
    margin-top: auto; /* Ensures the button is at the bottom */
}

.causes .causes-btn .btn {
    padding: 10px 0;
    width: 100%; /* Full width button */
    background: #FDBE33;
    color: #191970;
}

.causes .causes-btn .btn:hover {
    color: #ffffff;
}
@media (max-width: 768px) {
    .causes .causes-carousel {
        justify-content: space-between; /* Adjust for smaller screens to have spacing */
    }
    .causes .causes-item {
        margin: 0 10px; /* Adjust margin for smaller screens */
    }
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #FDBE33;
    border: none;
    color: #191970;
    font-size: 30px;
    padding: 8px 14px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: 0.3s;
}

.left-btn {
    left: 20px;
}

.right-btn {
    right: 20px;
}

.slider-btn:hover {
    background: #191970;
    color: #fff;
}

/*******************************/
/********** Facts CSS **********/
/*******************************/
.facts {
    position: relative;
    width: 100%;
    min-height: 400px;
    margin: 45px 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

.facts .facts-item {
    display: flex;
    flex-direction: row;
    margin: 25px 0;
}

.facts .facts-item i {
    margin-top: 10px;
    font-size: 60px;
    line-height: 60px;
    color: #FDBE33;
}

.facts .facts-text {
    padding-left: 20px;
}

.facts .facts-text h3 {
    position: relative;
    display: inline-block;
    color: #ffffff;
    font-size: 45px;
    font-weight: 700;
}

.facts .facts-text h3::after {
    position: absolute;
    top: 0px;
    color: #ffffff;
    font-size: 25px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.facts .facts-text h3.facts-plus::after {
    content: "\f067";
    right: -25px;
}

.facts .facts-text h3.facts-dollar::after {
    content: "\f155";
    right: -18px;
}

.facts .facts-text p {
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}


/*******************************/
/*********** Team CSS **********/
/*******************************/
/* .team {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.team .team-item {
    position: relative;
    margin-bottom: 35px;
}

.team .team-img {
    position: relative;
    overflow: hidden;
}

.team .team-img img {
    width: 100%;
    transform: scale(1.1);
    margin-bottom: -15px;
    transition: .3s;
}

.team .team-item:hover img {
    margin: -15px 0 0 0;
}

.team .team-text {
    position: absolute;
    width: calc(100% - 40px);
    height: 96px;
    bottom: 0;
    left: 20px;
    padding: 22px 0;
    text-align: center;
    background: #ffffff;
    transition: .3s;
    overflow: hidden;
}

.team .team-text h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.team .team-text p {
    margin-bottom: 20px;
}

.team .team-social {
    position: relative;
    font-size: 0;
}

.team .team-social a {
    display: inline-block;
    width: 35px;
    height: 35px;
    margin: 0 3px;
    padding: 5px 0;
    text-align: center;
    font-size: 14px;
    color: #4a4c70;
    border: 2px solid #FDBE33;
    transition: .3s;
}

.team .team-social a:hover {
    color: #191970;
    background: #FDBE33;
}

.team .team-item:hover .team-text {
    height: 160px;
} */
 .team {
    padding: 60px 0;
    background-color: #fff;
}

.section-header {
    margin-bottom: 40px;
}

.section-header p {
    font-size: 18px;
    color: #666;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 36px;
    color: #333;
    font-weight: 700;
    margin: 0;
}

.team-item {
    text-align: center;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.team-item:hover {
    transform: translateY(-10px);
}

.team-img {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-item:hover .team-img img {
    transform: scale(1.1);
}

.team-text {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 0 0 8px 8px;
}

.team-text h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
}

.team-text p {
    font-size: 16px;
    color: #666;
    margin-bottom: 5px;
}

.team-details {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 28px;
    }
    .team-img {
        height: 100px;
    }
    .team-text h2 {
        font-size: 20px;
    }
    .team-text p, .team-details {
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .section-header h2 {
        font-size: 24px;
    }
    .team-img {
        height: 100px;
    }
    .team-text h2 {
        font-size: 18px;
    }
    .team-text p, .team-details {
        font-size: 13px;
    }
}


/*******************************/
/******* Testimonial CSS *******/
/*******************************/
.testimonial {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.testimonial .testimonials-carousel {
    position: relative;
    width: calc(100% + 30px);
    margin: 0 -15px;
}

.testimonial .testimonial-item {
    position: relative;
    width: 100%;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.testimonial .testimonial-profile {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.testimonial .testimonial-profile img {
    width: 80px;
    margin-bottom: -1px;
}

.testimonial .testimonial-name {
    padding-left: 15px;
    width: calc(100% - 95px);
}

.testimonial .testimonial-name h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial .testimonial-name p {
    margin: 0;
    font-style: italic;
}

.testimonial .testimonial-text p {
    margin: 0;
}

.testimonial .owl-dots {
    margin-top: 15px;
    text-align: center;
}

.testimonial .owl-dot {
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 0;
    background: #FDBE33;
}

.testimonial .owl-dot.active {
    background: #191970;
}


/*******************************/
/******** Volunteer CSS ********/
/*******************************/
.volunteer {
    position: relative;
    width: 100%;
    margin: 45px 0;
    background: rgba(0, 0, 0, .5);
}

.volunteer .volunteer-content {
    padding: 30px 0 45px 0;
}

.container .volunteer {
    margin: 90px 0;
}

.container .volunteer .volunteer-content {
    padding: 45px 30px 15px 30px;
}

.volunteer .volunteer-content .section-header {
    margin-bottom: 30px;
}

.volunteer .volunteer-content .section-header h2 {
    color: #ffffff;
}

.volunteer .volunteer-text p {
    color: #ffffff;
    font-size: 18px;
}

.volunteer .volunteer-form {
    padding: 90px 30px;
    background: #FDBE33;
}

.volunteer .volunteer-form .control-group {
    margin-bottom: 15px;
}

.volunteer .volunteer-form .form-control {
    height: 60px;
    color: #ffffff;
    padding: 0 15px;
    border-radius: 0;
    border: 1px solid #ffffff;
    background: transparent;
}

.volunteer .volunteer-form textarea.form-control {
    height: 120px;
    padding: 15px;
}

.volunteer .volunteer-form .form-control::placeholder {
    color: #ffffff;
    opacity: 1;
}

.volunteer .volunteer-form .form-control:-ms-input-placeholder,
.volunteer .volunteer-form .form-control::-ms-input-placeholder {
    color: #ffffff;
}

.volunteer .volunteer-form .btn.btn-custom {
    padding: 15px 0;
    width: 100%;
    height: 60px;
    color: #ffffff;
    border: 1px solid #ffffff;
    box-shadow: inset 0 0 0 0 #ffffff;
}

.volunteer .volunteer-form .btn.btn-custom:hover {
    color: #FDBE33;
    border: 1px solid #ffffff;
    box-shadow: inset 0 0 0 30px #ffffff;
}


/*******************************/
/********** Event CSS **********/
/*******************************/
.event {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.event .event-item {
    margin-bottom: 30px;
    background: #f3f6ff;
}

.event .event-item img {
    width: 100%;
}

.event .event-content {
    padding: 30px;
    display: flex;
}

.event .event-meta {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.event .event-meta p {
    position: relative;
    margin-bottom: 8px;
    padding-bottom: 8px;
    white-space: nowrap;
    border-bottom: 1px solid rgba(0, 0, 0, .15);
}

.event .event-meta p:last-child {
    border-bottom: none;
}

.event .event-meta i {
    color: #4a4c70;
    width: 25px;
}

.event .event-text {
    position: relative;
    margin-left: 20px;
    padding-left: 20px;
}

.event .event-text::before {
    position: absolute;
    content: "";
    width: 1px;
    height: calc(100% - 5px);
    top: 6px;
    left: 0;
    background: rgba(0, 0, 0, .15);
}

.event .event-text::after {
    position: absolute;
    content: "";
    width: 3px;
    height: 40px;
    top: calc(50% - 20px);
    left: -1px;
    background: #FDBE33;
}

.event .event-text h3 {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 10px;
}

.event .event-text p {
    margin: 0;
}

.event .btn.btn-custom {
    margin-top: 20px;
    padding: 8px 30px;
}

@media (max-width: 575.98px) {
    .event .event-content {
        flex-direction: column;
    }
    
    .event .event-meta {
        flex-direction: row;
    }
    
    .event .event-meta p {
        font-size: 14px;
        padding-right: 7px;
    }
    
    .event .event-meta p:last-child {
        border-bottom: 1px solid rgba(0, 0, 0, .15);
    }
    
    .event .event-meta i {
        width: 18px;
    }
    
    .event .event-text {
        margin: 0;
        padding: 0;
    }
    
    .event .event-text::before,
    .event .event-text::after {
        display: none;
    }
}



/*******************************/
/*********** Blog CSS **********/
/*******************************/
.blog {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.blog .blog-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    background: #f3f6ff;
}

.blog .blog-img {
    width: 100%;
}

.blog .blog-img img {
    width: 100%;
}

.blog .blog-text {
    padding: 30px 30px 15px 30px;
}

.blog .blog-text h3 {
    font-size: 22px;
    font-weight: 700;
}

.blog .blog-text h3 a {
    color: #4a4c70;
}

.blog .blog-text h3 a:hover {
    color: #FDBE33;
}

.blog .blog-text p {
    margin: 0;
}

.blog .blog-meta {
    margin: 0 30px;
    padding-top: 15px;
    display: flex;
    border-top: 1px solid rgba(0, 0, 0, .15);
}

.blog .blog-meta p {
    margin: 0;
    color: #777777;
    padding: 0 30px;
    border-right: 1px solid rgba(0, 0, 0, .15);
}

.blog .blog-meta p:first-child {
    padding-left: 0;
}

.blog .blog-meta p:last-child {
    padding-right: 0;
    border: none;
}

.blog .blog-meta i {
    color: #4a4c70;
    margin-right: 8px
}

.blog .pagination {
    margin-bottom: 15px;
}

.blog .pagination .page-link {
    color: #4a4c70;
    border-radius: 0;
    border-color: #4a4c70;
}

.blog .pagination .page-link:hover,
.blog .pagination .page-item.active .page-link {
    color: #FDBE33;
    background: #4a4c70;
}

.blog .pagination .disabled .page-link {
    color: #999999;
}

.blog-item {
    /* Set a fixed height for the entire card */
    height: 500px; /* Adjust as needed */
    display: flex;
    flex-direction: column;
    overflow: auto; /* Hide overflowing content if text is too long */
    margin-bottom: 30px; /* Add some space between cards */
    border: 1px solid #e0e0e0; /* Optional: Add a border for better visual separation */
    border-radius: 8px; /* Optional: Rounded corners for the card */
}

.blog-img {
    /* Set a fixed height for the image container */
    height: 250px; /* Adjust as needed */
    width: 100%; /* Ensure it takes full width of its parent */
    overflow: hidden; /* Hide parts of the image that exceed the container */
}

.blog-img img {
    /* Make the image fill its container and cover the area */
    width: 100%;
    height: 100%;
    object-fit: cover; /* This is crucial! It crops the image to fit without distorting */
    display: block; /* Remove any extra space below the image */
}

.blog-text {
    flex-grow: 1; /* Allows the text content to take up remaining space */
    padding: 15px; /* Add some padding inside the text area */
    overflow: hidden; /* Hide overflowing text */
    display: flex;
    flex-direction: column;
}

.blog-text h3 {
    font-size: 1.2em; /* Adjust heading size */
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.3;
    max-height: 2.6em; /* Limit heading to two lines (example, adjust based on font-size and line-height) */
    overflow: hidden;
    text-overflow: ellipsis; /* Add ellipsis for overflowing text */
    white-space: normal; /* Allow text to wrap */
}

.blog-text p {
    font-size: 0.9em; /* Adjust paragraph size */
    line-height: 1.5;
    flex-grow: 1; /* Allow paragraph to take up available space */
    overflow: hidden;
    text-overflow: ellipsis; /* Add ellipsis for overflowing text */
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Limit paragraph to 4 lines */
    -webkit-box-orient: vertical;
    margin-bottom: 10px;
}

.blog-meta {
    padding: 0 15px 15px; /* Add padding to the meta section */
    margin-top: auto; /* Pushes the meta section to the bottom of the card */
    font-size: 0.85em;
    color: #666;
}


/*******************************/
/********* Contact CSS *********/
/*******************************/
.contact {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.contact .contact-img {
    position: relative;
    width: 100%;
}

.contact .contact-img img {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

.contact .contact-form {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    margin-top: -220px;
    padding: 30px;
    background: #f3f6ff;
}

@media (max-width: 991.98px) {
    .contact .contact-form {
        max-width: 600px;
    }
}

@media (max-width: 767.98px) {
    .contact .contact-form {
        max-width: 400px;
    }
}

@media (max-width: 575.98px) {
    .contact .contact-form {
        max-width: 300px;
    }
}

.contact .contact-form input {
    padding: 15px;
    background: none;
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, .1);
}

.contact .contact-form textarea {
    height: 150px;
    padding: 8px 15px;
    background: none;
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, .1);
}

.contact .contact-form .btn.btn-custom {
    width: 100%;
}

.contact .help-block ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}


/*******************************/
/******* Single Post CSS *******/
/*******************************/
.single {
    position: relative;
    padding: 45px 0;
}

.single .single-content {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}

.single .single-content img {
    margin-bottom: 20px;
    width: 100%;
}

.single .single-tags {
    margin: -5px -5px 41px -5px;
    font-size: 0;
}

.single .single-tags a {
    margin: 5px;
    display: inline-block;
    padding: 7px 15px;
    font-size: 14px;
    font-weight: 500;
    color: #4a4c70;
    border: 1px solid #4a4c70;
}

.single .single-tags a:hover {
    color: #ffffff;
    background: #FDBE33;
    border-color: #FDBE33;
}

.single .single-bio {
    margin-bottom: 45px;
    padding: 30px;
    background: #f3f6ff;
    display: flex;
}

.single .single-bio-img {
    width: 100%;
    max-width: 100px;
}

.single .single-bio-img img {
    width: 100%;
    border: 15px solid #ffffff;
}

.single .single-bio-text {
    padding-left: 30px;
}

.single .single-bio-text h3 {
    font-size: 20px;
    font-weight: 700;
}

.single .single-bio-text p {
    margin: 0;
}

.single .single-related {
    margin-bottom: 45px;
}

.single .single-related h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 25px;
}

.single .related-slider {
    position: relative;
    margin: 0 -15px;
    width: calc(100% + 30px);
}

.single .related-slider .post-item {
    margin: 0 15px;
}

.single .post-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.single .post-item .post-img {
    width: 100%;
    max-width: 80px;
}

.single .post-item .post-img img {
    width: 100%;
}

.single .post-item .post-text {
    padding-left: 15px;
}

.single .post-item .post-text a {
    font-size: 16px;
    font-weight: 600;
}

.single .post-item .post-text a:hover {
    color: #FDBE33;
}

.single .post-item .post-meta {
    display: flex;
    margin-top: 8px;
}

.single .post-item .post-meta p {
    display: inline-block;
    margin: 0;
    padding: 0 3px;
    font-size: 14px;
    font-weight: 500;
    font-style: italic;
}

.single .post-item .post-meta p a {
    margin-left: 5px;
    color: #999999;
    font-size: 14px;
    font-weight: 500;
    font-style: normal;
}

.single .related-slider .owl-nav {
    position: absolute;
    width: 90px;
    top: -55px;
    right: 15px;
    display: flex;
}

.single .related-slider .owl-nav .owl-prev,
.single .related-slider .owl-nav .owl-next {
    margin-left: 15px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a4c70;
    background: #FDBE33;
    font-size: 16px;
    transition: .3s;
}

.single .related-slider .owl-nav .owl-prev:hover,
.single .related-slider .owl-nav .owl-next:hover {
    color: #FDBE33;
    background: #4a4c70;
}

.single .single-comment {
    position: relative;
    margin-bottom: 45px;
}

.single .single-comment h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 25px;
}

.single .comment-list {
    list-style: none;
    padding: 0;
}

.single .comment-child {
    list-style: none;
}

.single .comment-body {
    display: flex;
    margin-bottom: 30px;
}

.single .comment-img {
    width: 60px;
}

.single .comment-img img {
    width: 100%;
    border-radius: 0;
}

.single .comment-text {
    padding-left: 15px;
    width: calc(100% - 60px);
}

.single .comment-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 3px;
}

.single .comment-text span {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.single .comment-text .btn {
    padding: 3px 10px;
    font-size: 14px;
    font-weight: 500;
    color: #4a4c70;
    background: #dddddd;
    border-radius: 0;
}

.single .comment-text .btn:hover {
    background: #FDBE33;
}

.single .comment-form {
    position: relative;
}

.single .comment-form h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 25px;
}

.single .comment-form form {
    padding: 30px;
    background: #f3f6ff;
}

.single .comment-form form .form-group:last-child {
    margin: 0;
}

.single .comment-form input,
.single .comment-form textarea {
    border-radius: 0;
}

.single .comment-form input:focus,
.single .comment-form textarea:focus {
    border-color: #FDBE33;
}


/**********************************/
/*********** Sidebar CSS **********/
/**********************************/
.sidebar {
    position: relative;
    width: 100%;
}

@media(max-width: 991.98px) {
    .sidebar {
        margin-top: 45px;
    }
}

.sidebar .sidebar-widget {
    position: relative;
    margin-bottom: 45px;
}

.sidebar .sidebar-widget .widget-title {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 5px;
    font-size: 25px;
    font-weight: 700;
}

.sidebar .sidebar-widget .widget-title::after {
    position: absolute;
    content: "";
    width: 60px;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #FDBE33;
}

.sidebar .sidebar-widget .search-widget {
    position: relative;
}

.sidebar .search-widget input {
    height: 50px;
    border: 1px solid #dddddd;
    border-radius: 0;
}

.sidebar .search-widget input:focus {
    box-shadow: none;
    border-color: #FDBE33;
}

.sidebar .search-widget .btn {
    position: absolute;
    top: 6px;
    right: 15px;
    height: 40px;
    padding: 0;
    font-size: 25px;
    color: #FDBE33;
    background: none;
    border-radius: 0;
    border: none;
    transition: .3s;
}

.sidebar .search-widget .btn:hover {
    color: #4a4c70;
}

.sidebar .sidebar-widget .recent-post {
    position: relative;
}

.sidebar .sidebar-widget .tab-post {
    position: relative;
}

.sidebar .tab-post .nav.nav-pills .nav-link {
    color: #4a4c70;
    background: #FDBE33;
    border-radius: 0;
}

.sidebar .tab-post .nav.nav-pills .nav-link:hover,
.sidebar .tab-post .nav.nav-pills .nav-link.active {
    color: #FDBE33;
    background: #4a4c70;
}

.sidebar .tab-post .tab-content {
    padding: 15px 0 0 0;
    background: transparent;
}

.sidebar .tab-post .tab-content .container {
    padding: 0;
}

.sidebar .sidebar-widget .category-widget {
    position: relative;
}

.sidebar .category-widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar .category-widget ul li {
    margin: 0 0 12px 22px; 
}

.sidebar .category-widget ul li:last-child {
    margin-bottom: 0; 
}

.sidebar .category-widget ul li a {
    display: inline-block;
    line-height: 23px;
}

.sidebar .category-widget ul li::before {
    position: absolute;
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #FDBE33;
    left: 1px;
}

.sidebar .category-widget ul li span {
    display: inline-block;
    float: right;
}

.sidebar .sidebar-widget .tag-widget {
    position: relative;
    margin: -5px -5px;
}

.single .tag-widget a {
    margin: 5px;
    display: inline-block;
    padding: 7px 15px;
    font-size: 14px;
    font-weight: 500;
    color: #4a4c70;
    border: 1px solid #4a4c70;
    border-radius: 0;
}

.single .tag-widget a:hover {
    color: #ffffff;
    background: #FDBE33;
    border-color: #FDBE33;
}

.sidebar .image-widget {
    display: block;
    width: 100%;
    overflow: hidden;
}

.sidebar .image-widget img {
    max-width: 100%;
    transition: .3s;
}

.sidebar .image-widget img:hover {
    transform: scale(1.1);
}


/*******************************/
/********* Footer CSS **********/
/*******************************/
.footer {
    position: relative;
    margin-top: 45px;
    padding-top: 90px;
    background: #245bad;
}

.footer .footer-contact,
.footer .footer-link,
.footer .footer-newsletter {
    position: relative;
    margin-bottom: 45px;
    color: #ffffff;
}

.footer .footer-contact h2,
.footer .footer-link h2,
.footer .footer-newsletter h2 {
    margin-bottom: 30px;
    font-size: 22px;
    font-weight: 700;
    color: #FDBE33;
}

.footer .footer-link a {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    transition: .3s;
}

.footer .footer-link a::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .footer-link a:hover {
    color: #FDBE33;
    letter-spacing: 1px;
}

.footer .footer-contact p i {
    width: 25px;
}

.footer .footer-social {
    position: relative;
    margin-top: 20px;
}

.footer .footer-social a {
    width: 40px;
    height: 40px;
    padding: 6px 0;
}

.footer .footer-social a {
    margin-top: 5px;
}

.footer .footer-newsletter form {
    position: relative;
    width: 100%;
}

.footer .footer-newsletter input {
    margin-bottom: 15px;
    height: 60px;
    border: none;
    border-radius: 0;
}

.footer .footer-newsletter label {
    margin-top: 5px;
    color: #777777;
    font-size: 14px;
    letter-spacing: 1px;
}

.footer .footer-newsletter .btn.btn-custom {
    width: 100%;
    padding: 15px 0;
}

.footer .copyright {
    padding: 0 30px;
}

.footer .copyright .row {
    padding-top: 25px;
    padding-bottom: 25px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright p {
    margin: 0;
    color: #999999;
}

.footer .copyright .col-md-6:last-child p {
    text-align: right;
}

.footer .copyright p a {
    color: #ffffff;
}

.footer .copyright p a:hover {
    color: #FDBE33;
}

@media (max-width: 767.98px) {
    .footer .copyright p,
    .footer .copyright .col-md-6:last-child p {
        margin: 5px 0;
        text-align: center;
    }
}


/* General Section Padding & Backgrounds (if not already defined) */
section {
    padding: 90px 0; /* Adjust as needed */
}
.bg-light {
    background-color: #f8f9fa !important; /* Standard Bootstrap light background */
}
.text-primary {
    color: #FDBE33 !important; /* Assuming this is your primary brand color */
}
.text-secondary {
    color: #191970 !important; /* Assuming this is a dark blue or similar for headings */
}
.text-dark {
    color: #343a40 !important; /* A darker text color for main headings */
}
.text-dark-50 {
    color: rgba(52, 58, 64, 0.75) !important; /* Slightly lighter dark text for paragraphs */
}


/* Section Headers - Enhanced */
.section-header {
    margin-bottom: 60px; /* More space below header */
}
.section-header p {
    font-size: 1.25rem; /* Larger sub-heading */
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-header h2 {
    font-size: 3.5rem; /* Larger, more impactful main heading */
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
}

/* Financial Info Card */
.financial-info .card {
    border-radius: 15px; /* More pronounced rounded corners */
    box-shadow: 0 8px 25px rgba(0,0,0,0.15); /* Stronger, softer shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.financial-info .card:hover {
    transform: translateY(-5px); /* Subtle lift effect on hover */
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}
.financial-info .card-title {
    font-size: 1.75rem;
    font-weight: 600;
}
.financial-info .btn-lg {
    padding: 15px 30px; /* Larger buttons */
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.financial-info .btn-primary {
    background-color: #FDBE33; /* Use your primary brand color */
    border-color: #FDBE33;
    color: #191970; /* Text color for primary button */
}
.financial-info .btn-primary:hover {
    background-color: #e6a72e; /* Slightly darker hover color */
    border-color: #e6a72e;
    color: #fff; /* White text on hover */
}
.financial-info .btn-outline-secondary {
    border-color: #191970; /* Use your secondary brand color for border */
    color: #191970; /* Text color for outline button */
    background-color: transparent;
}
.financial-info .btn-outline-secondary:hover {
    background-color: #191970; /* Fill with secondary color on hover */
    color: #fff;
}
.financial-info small a {
    text-decoration: underline;
}
.financial-info .dropdown-menu {
    padding: 10px 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.financial-info .dropdown-item {
    font-size: 1rem;
    padding: 8px 20px;
    color: var(--text-dark);
    transition: background-color 0.3s ease;
}

.financial-info .dropdown-item:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
}


/* Beneficiaries Section */
.beneficiaries .card {
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Lighter shadow for this section */
}
.beneficiaries .lead {
    font-size: 1.2rem;
    line-height: 1.8;
}
.beneficiaries h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}
.beneficiaries-list .beneficiary-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%; /* Ensure all items in a row have same height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.beneficiaries-list .beneficiary-item:hover {
    background-color: #f0f0f0; /* Subtle hover effect */
    border-color: #FDBE33; /* Highlight border with primary color */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.beneficiaries-list .beneficiary-item i {
    font-size: 2.5rem; /* Larger icons */
    margin-bottom: 10px;
    color: #FDBE33; /* Primary color for icons */
}
.beneficiaries-list .beneficiary-item p {
    font-size: 1.05rem;
    line-height: 1.4;
    color: #343a40;
}

/* Responsive adjustments for headings */
@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
    .financial-info .btn-lg {
        font-size: 1rem;
        padding: 12px 20px;
    }
    .beneficiaries .lead {
        font-size: 1rem;
    }
    .beneficiaries h4 {
        font-size: 1.3rem;
    }
    .beneficiaries-list .beneficiary-item i {
        font-size: 2rem;
    }
    .beneficiaries-list .beneficiary-item p {
        font-size: 0.95rem;
    }
}
/* General Section Padding & Backgrounds (re-using from previous suggestion if available) */
section {
    padding: 90px 0; /* Adjust as needed */
}
.bg-light {
    background-color: #f8f9fa !important; /* Standard Bootstrap light background */
}
.text-primary {
    color: #FDBE33 !important; /* Assuming this is your primary brand color */
}
.text-secondary {
    color: #191970 !important; /* Assuming this is a dark blue or similar for headings */
}
.text-dark {
    color: #343a40 !important; /* A darker text color for main headings */
}
.text-dark-50 {
    color: rgba(52, 58, 64, 0.75) !important; /* Slightly lighter dark text for paragraphs */
}

/* Section Headers (re-using from previous suggestion if available) */
.section-header {
    margin-bottom: 60px; /* More space below header */
}
.section-header p {
    font-size: 1.25rem; /* Larger sub-heading */
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-header h2 {
    font-size: 3.5rem; /* Larger, more impactful main heading */
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
}

/* Operational Areas Card */
.operational-areas .card {
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.operational-areas .card:hover {
    transform: translateY(-3px); /* Subtle lift */
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.operational-areas .card-body i {
    color: #FDBE33; /* Primary color for map icon */
    font-size: 3.5rem; /* Slightly larger icon */
    margin-bottom: 15px;
}
.operational-areas .lead {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.operational-areas .text-dark-50 {
    font-size: 1rem;
    line-height: 1.6;
}
.operational-areas .font-weight-bold {
    font-weight: 700 !important;
}
/* Map Container and Image Styling */
.map-container {
    width: 100%;
    max-width: 500px; /* Specific width for the map */
    max-height: 283px;
    margin: 20px auto 0 auto; /* Center the map and add spacing above */
}

.map-image {
    width: 500px;
    height: 283px; /* Specific height for the map */
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.map-container:hover .map-image {
    transform: scale(1.05); /* Slight zoom on hover */
}


/* Programmes Cards */
.programmes .program-card {
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06); /* Lighter shadow */
    transition: all 0.3s ease;
    padding: 30px; /* More internal padding */
}
.programmes .program-card:hover {
    transform: translateY(-5px); /* Lift card on hover */
    box-shadow: 0 8px 25px rgba(0,0,0,0.1); /* Stronger shadow on hover */
    border-color: #FDBE33 !important; /* Highlight border with primary color */
}
.programmes .program-card .card-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0;
    color: #191970; /* Use your secondary dark color */
}
.programmes .program-card .card-body .d-flex i {
    color: #FDBE33; /* Primary color for program icons */
    font-size: 2.2rem; /* Larger icons */
    margin-right: 15px;
    min-width: 40px; /* Ensure icon doesn't shift much with text */
    text-align: center;
}
.programmes .program-card .card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-top: 15px; /* Space after title/icon */
}
.programmes .program-card h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #343a40;
    margin-top: 25px; /* Space before beneficiaries list */
}
.programmes .program-card .beneficiaries-list-program {
    list-style: none; /* Remove default list bullets */
    padding-left: 0;
    margin-bottom: 0;
}
.programmes .program-card .beneficiaries-list-program li {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #666;
    display: flex; /* For icon alignment */
    align-items: flex-start;
    margin-bottom: 5px;
}
.programmes .program-card .beneficiaries-list-program li i {
    color: #28a745; /* Bootstrap's success green for checkmarks */
    font-size: 1rem;
    margin-top: 5px; /* Align icon with text */
    margin-right: 8px;
    min-width: 20px; /* Ensure icon spacing */
}

/* Call to Action Button within Program Cards */
.programmes .program-card .btn-outline-primary {
    border-color: #FDBE33;
    color: #FDBE33;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.programmes .program-card .btn-outline-primary:hover {
    background-color: #FDBE33;
    color: #fff;
}


/* Responsive Adjustments for Headings (re-using if available) */
@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
    .operational-areas .card-body i {
        font-size: 3rem;
    }
    .operational-areas .lead {
        font-size: 1rem;
    }
    .programmes .program-card .card-title {
        font-size: 1.5rem;
    }
    .programmes .program-card .card-body .d-flex i {
        font-size: 1.8rem;
    }
    .programmes .program-card h5 {
        font-size: 1.1rem;
    }
    .programmes .program-card .beneficiaries-list-program li {
        font-size: 0.9rem;
    }
    .map-container {
        max-width: 100%;
        height: 180px; /* Adjusted height for smaller screens */
    }
}

/* General Section Padding & Backgrounds */
section {
    padding: 90px 0;
}
.bg-light {
    background-color: #f8f9fa !important;
}
.text-primary {
    color: #FDBE33 !important;
}
.text-secondary {
    color: #191970 !important;
}
.text-dark {
    color: #343a40 !important;
}
.text-dark-50 {
    color: rgba(52, 58, 64, 0.75) !important;
}
.text-success {
    color: #28a745 !important;
}

/* Section Headers */
.section-header {
    margin-bottom: 60px;
}
.section-header p {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-header h2 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
}

/* Impact Cards Styling */
/* Section Styling */
.impact-section {
    background: #ffffff;
}

.impact-title {
    font-weight: 800;
    color: #1a1a1a;
    font-size: 2.6rem;
}

.impact-subtitle {
    color: #FDBE33;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.impact-intro {
    max-width: 780px;
    margin: 12px auto 0;
    text-align: justify;
    color: #555;
    font-size: 1.05rem;
}

/* Card UI */
.impact-card-new {
    background: #fff;
    border-radius: 14px;
    padding: 25px 20px;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    transition: all .25s ease;
}

.impact-card-new:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}

/* Icon Badge */
.impact-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 14px;
    color: white;
}

.impact-icon-wrap i {
    font-size: 1.9rem;
}

.bg-yellow { background: #f7c443; }
.bg-green  { background: #4caf50; }
.bg-red    { background: #f05757; }
.bg-blue   { background: #2f82ff; }

.impact-card-new h3 {
    font-weight: 700;
    text-align: center;
    font-size: 1.35rem;
    margin-bottom: 15px;
    color: #191970;
}

/* Points */
.impact-points {
    padding: 0;
    margin: 0;
    list-style: none;
}

.impact-points li {
    margin: 10px 0;
    line-height: 1.45;
    color: #444;
    font-size: 0.95rem;
}

.impact-points strong {
    color: #191970;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 991px) {
    .impact-card-new h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 767px) {
    .impact-title {
        font-size: 2.2rem;
    }
    .impact-icon-wrap {
        width: 60px;
        height: 60px;
    }
    .impact-points li {
        font-size: 0.9rem;
    }
}

/* General Section Padding & Backgrounds (Ensure these are defined once in your CSS) */
section {
    padding: 90px 0; /* Adjust as needed */
}
.bg-light {
    background-color: #f8f9fa !important; /* Standard Bootstrap light background */
}
.text-primary {
    color: #FDBE33 !important; /* Assuming this is your primary brand color */
}
.text-secondary {
    color: #191970 !important; /* Assuming this is a dark blue or similar for headings */
}
.text-dark {
    color: #343a40 !important; /* A darker text color for main headings */
}
.text-dark-50 {
    color: rgba(52, 58, 64, 0.75) !important; /* Slightly lighter dark text for paragraphs */
}

/* Section Headers (Reuse this block if you have it from previous suggestions) */
.section-header {
    margin-bottom: 60px; /* More space below header */
}
.section-header p {
    font-size: 1.25rem; /* Larger sub-heading */
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-header h2 {
    font-size: 3.5rem; /* Larger, more impactful main heading */
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
}

/* Legal Status Card & List Styling */
.legal-status .card {
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 5px 20px rgba(0,0,0,0.08); /* Subtle shadow */
    padding: 20px; /* More internal padding */
}

.legal-status .legal-list {
    padding-left: 0; /* Remove default list padding */
    margin-bottom: 0;
}

.legal-status .legal-list li {
    display: flex; /* Use flexbox for icon and text alignment */
    align-items: flex-start; /* Align icon with the top of the text */
    margin-bottom: 20px; /* Space between list items */
    font-size: 1.1rem; /* Slightly larger text for readability */
    color: #343a40; /* Darker text for main points */
}

.legal-status .legal-list li:last-child {
    margin-bottom: 0; /* No margin after the last item */
}

.legal-status .legal-list li i {
    font-size: 1.8rem; /* Larger icons */
    margin-right: 18px; /* Space between icon and text */
    min-width: 35px; /* Ensure consistent spacing for icons */
    text-align: center;
    color: #FDBE33; /* Primary brand color for icons */
}

.legal-status .legal-list li strong {
    display: block; /* Make the main title block-level for better spacing */
    font-weight: 700; /* Bold the main registration name */
    margin-bottom: 2px; /* Small space between title and description */
    color: #191970; /* Using your secondary dark color for emphasis */
}

.legal-status .legal-list li .small {
    font-size: 0.9rem; /* Smaller text for the description */
    line-height: 1.4;
    color: #6c757d; /* Muted color for descriptive text */
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
    .legal-status .legal-list li {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    .legal-status .legal-list li i {
        font-size: 1.5rem;
        margin-right: 15px;
        min-width: 30px;
    }
    .legal-status .legal-list li strong {
        font-size: 1rem;
    }
    .legal-status .legal-list li .small {
        font-size: 0.85rem;
    }
}

/* General Section Padding & Backgrounds (Ensure these are defined once in your CSS) */
section {
    padding: 90px 0; /* Adjust as needed */
}
.bg-light {
    background-color: #f8f9fa !important; /* Standard Bootstrap light background */
}
.text-primary {
    color: #FDBE33 !important; /* Assuming this is your primary brand color */
}
.text-secondary {
    color: #191970 !important; /* Assuming this is a dark blue or similar for headings */
}
.text-dark {
    color: #343a40 !important; /* A darker text color for main headings */
}
.text-dark-50 {
    color: rgba(52, 58, 64, 0.75) !important; /* Slightly lighter dark text for paragraphs */
}

/* Section Headers (Reuse this block if you have it from previous suggestions) */
.section-header {
    margin-bottom: 60px; /* More space below header */
}
.section-header p {
    font-size: 1.25rem; /* Larger sub-heading */
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-header h2 {
    font-size: 3.5rem; /* Larger, more impactful main heading */
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
}

/* Partners Section Styling */
.partners-section .partner-logo-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* Changed: Removed min-height and max-height */
    height: 120px; /* Fixed height for all boxes - adjust this based on your tallest logo if needed */
    overflow: hidden;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #ffffff;
    padding: 10px; /* Reduced padding slightly to give more room to the logo */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.partners-section .partner-logo-box:hover {
    border-color: #FDBE33;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.partners-section .partner-logo-box img {
    max-width: 100%;
    max-height: 100%; /* Ensures the image doesn't exceed the box's height */
    object-fit: contain; /* Scales the image down to fit completely within the box */
    transition: transform 0.3s ease;
    transform: scale(1);
}

.partners-section .partner-logo-box:hover img {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
    .partners-section .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Ensuring alignment on smaller screens if logos are uneven */
.partners-section .row.align-items-center {
    align-items: stretch; /* Ensures columns stretch to full height of content if needed */
}


/* General Section Padding & Backgrounds */
section {
    padding: 90px 0; /* Adjust as needed */
}
.bg-light {
    background-color: #f8f9fa !important; /* Standard Bootstrap light background */
}
.text-primary {
    color: #FDBE33 !important; /* Assuming this is your primary brand color */
}
.text-secondary {
    color: #191970 !important; /* Assuming this is a dark blue or similar for headings */
}
.text-dark {
    color: #343a40 !important; /* A darker text color for main headings */
}
.text-dark-50 {
    color: rgba(52, 58, 64, 0.75) !important; /* Slightly lighter dark text for paragraphs */
}

/* Section Headers (Reuse this block if you have it from previous suggestions) */
.section-header {
    margin-bottom: 30px; /* Adjust margin for headers within sections */
}
.section-header p {
    font-size: 1.25rem; /* Larger sub-heading */
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-header h2 {
    font-size: 3.5rem; /* Larger, more impactful main heading */
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
}

/* About Section Specifics */
.about-images-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 66.66%; /* Maintain 3:2 aspect ratio for the main image area */
    /* Adjust this padding-bottom if your main image's aspect ratio is different */
}

.about-img {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover; /* Ensures image covers the area */
    background-position: center center; /* Centers the image */
    background-repeat: no-repeat;
    border-radius: 10px; /* Consistent rounded corners */
}

.about-img.main-image {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Stronger shadow for main image */
}

.about-img.secondary-image {
    width: 60%; /* Smaller image */
    height: 60%;
    right: -15%; /* Position relative to main image wrapper */
    bottom: -15%; /* Position relative to main image wrapper */
    border: 8px solid #fff; /* White border to make it pop */
    box-shadow: 0 5px 20px rgba(0,0,0,0.15); /* Shadow for secondary image */
    z-index: 1; /* Ensure it's above other content if necessary */
}

/* Custom Tabs Styling */
.custom-tabs .nav-link {
    font-size: 1.15rem;
    font-weight: 600;
    color: #555;
    padding: 15px 25px; /* More padding for bigger tabs */
    border: 1px solid #ddd; /* Subtle border */
    border-radius: 8px; /* Rounded corners */
    margin: 0 5px; /* Space between tabs */
    transition: all 0.3s ease;
    background-color: #f0f0f0; /* Light background for inactive tabs */
}

.custom-tabs .nav-item:first-child .nav-link {
    margin-left: 0; /* Remove left margin for the first tab */
}
.custom-tabs .nav-item:last-child .nav-link {
    margin-right: 0; /* Remove right margin for the last tab */
}

.custom-tabs .nav-link.active {
    background-color: #FDBE33; /* Primary color for active tab */
    color: #fff; /* White text for active tab */
    border-color: #FDBE33;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.custom-tabs .nav-link:hover:not(.active) {
    background-color: #e9e9e9; /* Slightly darker hover for inactive */
    color: #191970; /* Darker text on hover */
    border-color: #ccc;
}

/* Tab Content Styling */
.tab-content .tab-pane {
    padding: 25px 0; /* Padding inside tab content */
    line-height: 1.7;
    font-size: 1rem;
    color: #555;
}

.tab-content .h5 {
    font-size: 1.5rem;
    font-weight: 600;
}

.tab-content .styled-list {
    list-style: none; /* Remove default bullets */
    padding-left: 0;
}
.tab-content .styled-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: #343a40;
}
.tab-content .styled-list li i {
    font-size: 1.1rem;
    margin-right: 10px;
    margin-top: 3px; /* Align checkmark with text */
    color: #FDBE33; /* Primary color for checkmarks */
}
.tab-content .styled-list li strong {
    color: #191970; /* Secondary color for bolded text */
}
/* About section text alignment */
.about1 .tab-text {
    text-align: justify;
}

.about1 .tab-list li {
    text-align: justify;
}

/* Icon & Text Layout */
.info-block {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px; /* closer spacing */
    padding: 5px 0; /* reduced margin effect */
}

.info-text {
    flex: 1;
    text-align: justify;
    line-height: 1.55;
}

.info-icon img {
    width: 95px;
    height: 95px;
    object-fit: contain;
    display: block;
    margin-top: 4px; /* visually balanced */
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .info-block {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .info-icon img {
        width: 85px;
        height: 85px;
        margin-top: 10px;
    }
}


/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .about-images-wrapper {
        padding-bottom: 75%; /* Adjust aspect ratio for smaller screens */
    }
    .about-img.secondary-image {
        width: 50%;
        height: 50%;
        right: -10%;
        bottom: -10%;
    }
    .custom-tabs .nav-link {
        font-size: 1rem;
        padding: 12px 18px;
    }
}

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
    .about-images-wrapper {
        padding-bottom: 60%; /* More square on very small screens */
        margin-bottom: 40px; /* Space below image before text on mobile */
    }
    .about-img.secondary-image {
        display: none; /* Hide secondary image on small mobile for simplicity */
    }
    .custom-tabs .nav-pills {
        flex-wrap: wrap; /* Allow tabs to wrap on small screens */
        justify-content: center; /* Center tabs when wrapped */
    }
    .custom-tabs .nav-link {
        flex: 1 1 auto; /* Allow tabs to take up available space */
        text-align: center;
        margin: 5px; /* More margin to prevent sticking */
    }
    .tab-content .tab-pane {
        padding: 20px 0;
    }
    .tab-content .h5 {
        font-size: 1.3rem;
    }
    .tab-content .styled-list li {
        font-size: 0.95rem;
    }
}



/* General Colors (Ensure consistency with your site's palette) */
:root {
    --primary-color: #FDBE33; /* Your brand primary color */
    --secondary-color: #191970; /* Your brand secondary/dark blue color */
    --text-dark: #343a40; /* Dark text for headings */
    --text-muted: #6c757d; /* Lighter text for paragraphs */
    --light-bg: #f8f9fa; /* Light background for sections */
    --border-color: #e0e0e0; /* Light border color */
    --card-bg: #ffffff; /* Card background */
    --shadow-color: rgba(0,0,0,0.1);
    --hover-shadow-color: rgba(0,0,0,0.2);
}

/* What We Do Section Styling */
.what-we-do-section {
    padding: 90px 0; /* Overall vertical padding for the section */
    background-color: var(--light-bg); /* Section background */
}

/* Section Header Styling */
.what-we-do-section .section-header {
    margin-bottom: 4rem; /* Space below header */
}

.what-we-do-section .section-header p {
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.what-we-do-section .section-header h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

/* Info Cards Styling (General Cards - not the map card) */
.info-card:not(.map-card) { /* Apply these styles to all cards EXCEPT the map card */
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Aligns content to the left */
    text-align: left; /* Ensures text content also aligns left */
    height: 100%; /* Essential for equal height in grid rows */
    justify-content: flex-start; /* Aligns content to the top within the card */
}

.info-card:not(.map-card):hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px var(--hover-shadow-color);
}

.info-card:not(.map-card) .icon-large {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.info-card:not(.map-card) .card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.info-card:not(.map-card) .card-text {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.info-card:not(.map-card) .detail-list {
    margin-top: 15px;
    list-style: none;
    padding-left: 0;
    width: 100%;
}

.info-card:not(.map-card) .detail-list li {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

.info-card:not(.map-card) .detail-list li:last-child {
    margin-bottom: 0;
}

.info-card:not(.map-card) .detail-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 3px;
    font-size: 0.9em;
    flex-shrink: 0;
}

/* Map Card Specifics - Height and Centering */
.map-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally within the map card */
    text-align: center; /* Center text within the map card */
    height: 100%; /* Essential for equal height in grid rows */
    justify-content: flex-start; /* Align content to the top within the map card */
}

.map-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px var(--hover-shadow-color);
}

.map-card .icon-large {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.map-card .card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.map-card .card-text { /* For map description text */
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.map-container {
    width: 100%;
    /* --- KEY CHANGE HERE FOR MAP CARD HEIGHT --- */
    /* Adjust padding-bottom for the map's aspect ratio. A lower percentage makes it shorter for its width. */
    /* This aims to make its visual height similar to the other cards, even though it's wider. */
    padding-bottom: 45%; /* Example: For a 2.2:1 aspect ratio (height is 45% of width) */
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: #f0f0f0;
    margin-bottom: 1.5rem; /* Space between map and elements below */
    display: block;
}

#odisha-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: grab;
    transition: transform 0.1s ease-out;
    transform-origin: center center;
}

/* Default district style */
#odisha-map path {
    fill: #D3D3D3;
    stroke: #808080;
    stroke-width: 0.8;
    cursor: pointer;
    transition: fill 0.2s ease-in-out, transform 0.1s ease;
}

/* Highlight districts where NGO has worked */
.worked {
    fill: #4CAF50 !important;
    stroke: #2E8B57 !important;
}

/* Hover effect on map paths */
#odisha-map path:hover {
    fill: #FFD700 !important;
    transform: scale(1.01);
    stroke: #DAA520 !important;
    z-index: 10;
}

/* Map Overlay for "View Full Map" button */
.map-overlay {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.map-overlay .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 25px;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.map-overlay .btn:hover {
    background-color: #e0ac2e;
    transform: translateY(-2px);
}

/* Tooltip for district name */
.tooltip {
    position: absolute;
    background: var(--text-dark);
    color: #fff;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 0.85rem;
    pointer-events: none;
    display: none;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    white-space: nowrap;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .what-we-do-section .section-header h2 {
        font-size: 2.8rem;
    }
    .info-card .icon-large {
        font-size: 3rem;
    }
    .info-card .card-title {
        font-size: 1.6rem;
    }
    /* Adjusted map container for md and smaller - will likely take full width */
    .map-container {
        padding-bottom: 65%; /* Make it taller when it occupies a full row (col-md-12) */
    }
}

@media (max-width: 767.98px) {
    .what-we-do-section .section-header h2 {
        font-size: 2rem;
    }
    .info-card {
        padding: 25px;
    }
    .info-card .icon-large {
        font-size: 2.8rem;
    }
    .info-card .card-title {
        font-size: 1.4rem;
    }
    .info-card .detail-list li {
        font-size: 0.95rem;
    }
    .map-container {
        padding-bottom: 75%; /* Even taller for very small mobiles where it's a single column */
    }
    .map-overlay .btn {
        font-size: 0.8rem;
        padding: 6px 15px;
    }
}



/* Gallery Thumbnails Section */
.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Creates a 2-column grid */
    gap: 10px;
    margin-top: 40px;
    text-align: center;
}

.thumbnail-item {
    display: block;
    text-decoration: none;
    color: inherit;
    text-align: center;
}

.thumbnail-item img {
    width: 500px; /* Sets a fixed width for the thumbnail */
    height: 500px; /* Sets a fixed height to make it square */
    border-radius: 50%; /* Makes the image a perfect circle */
    object-fit: cover; /* Ensures the image fills the circle without distortion */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thumbnail-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.thumbnail-item p {
    margin-top: 10px;
    font-size: 1.5rem;
    color: #4a4c70;
}

/* Responsive adjustment for a single column on smaller screens */
@media (max-width: 600px) {
    .gallery-thumbnails {
        grid-template-columns: 1fr;
    }
}
/* Uniqueness Section Styling (updated) */
/* ===============================
   BASE (Mobile First)
   =============================== */

.uniqueness {
  background-color: #f8f9fa;
  padding: 32px 0;
}

.uniqueness-intro {
  max-width: 900px;
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.6;
}

.uniqueness-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.uniqueness-card {
  display: flex;
  gap: 1rem;
  background: #fff;
  padding: 1.1rem;
  border-radius: 10px;
  border: 1px solid #e9ecef;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform .25s ease, box-shadow .25s ease;
}

.uniqueness-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.uniqueness-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.uniqueness-content {
  flex: 1;
}

.uniqueness-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #191970;
  margin-bottom: .4rem;
}

.uniqueness-text {
  font-size: .95rem;
  line-height: 1.6;
  color: #6c757d;
  text-align: justify;
}

/* ===============================
   ≥576px (Small Devices)
   =============================== */
@media (min-width: 576px) {
  .uniqueness {
    padding: 40px 0;
  }

  .uniqueness-img {
    width: 100px;
    height: 100px;
  }
}

/* ===============================
   ≥768px (Tablets – 2 Columns)
   =============================== */
@media (min-width: 768px) {
  .uniqueness {
    padding: 60px 0;
  }

  .uniqueness-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .uniqueness-title {
    font-size: 1.12rem;
  }

  .uniqueness-text {
    font-size: .98rem;
  }
}

/* ===============================
   ≥992px (Laptops)
   =============================== */
@media (min-width: 992px) {
  .uniqueness-img {
    width: 110px;
    height: 110px;
  }

  .uniqueness-title {
    font-size: 1.18rem;
  }

  .uniqueness-text {
    font-size: 1rem;
  }
}

/* ===============================
   ≥1200px (Desktops)
   =============================== */
@media (min-width: 1200px) {
  .uniqueness-grid {
    gap: 2rem;
  }

  .uniqueness-card {
    padding: 1.4rem;
  }

  .uniqueness-img {
    width: 120px;
    height: 120px;
  }
}

/* ===============================
   ≥1600px (Ultra-Wide / 4K)
   =============================== */
@media (min-width: 1600px) {
  .uniqueness {
    padding: 80px 0;
  }

  .uniqueness-intro {
    max-width: 1100px;
    font-size: 1.1rem;
  }

  .uniqueness-img {
    width: 140px;
    height: 140px;
  }

  .uniqueness-title {
    font-size: 1.3rem;
  }

  .uniqueness-text {
    font-size: 1.05rem;
  }
}


/* Uniqueness Section Styling */
/* .uniqueness {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.uniqueness .section-header {
    margin-bottom: 40px;
}

.uniqueness .section-header .subheading {
    font-size: 1.2rem;
    font-weight: 600;
    color: #FDBE33;
    margin-bottom: 10px;
}

.uniqueness .section-header .main-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #343a40;
    line-height: 1.2;
}

.uniqueness .uniqueness-intro {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.uniqueness-grid {
    margin-bottom: 20px;
}

.uniqueness-icon img {
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.uniqueness-icon img:hover {
    transform: scale(1.05);
}

.uniqueness-cards {
    margin-top: 20px;
}

.uniqueness-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.uniqueness-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.uniqueness-card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #191970;
    margin-bottom: 15px;
}

.uniqueness-card .card-text {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
}


@media (max-width: 991.98px) {
    .uniqueness .main-heading {
        font-size: 2rem;
    }
    .uniqueness .uniqueness-grid {
        row-cols-md-2;
    }
    .uniqueness-card .card-title {
        font-size: 1.3rem;
    }
    .uniqueness-card .card-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 767.98px) {
    .uniqueness {
        padding: 40px 0;
    }
    .uniqueness .main-heading {
        font-size: 1.8rem;
    }
    .uniqueness .uniqueness-grid {
        row-cols-1;
    }
    .uniqueness-icon img {
        width: 200px;
        height: 200px;
    }
    .uniqueness-card .card-title {
        font-size: 1.2rem;
    }
    .uniqueness-card .card-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .uniqueness .main-heading {
        font-size: 1.5rem;
    }
    .uniqueness-icon img {
        width: 150px;
        height: 150px;
    }
    .uniqueness-card .card-title {
        font-size: 1.1rem;
    }
    .uniqueness-card .card-text {
        font-size: 0.85rem;
    }
}
 */

/* SDG Alignment Section Styling */
.sdg-alignment {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.sdg-alignment .section-header {
    margin-bottom: 40px;
}

.sdg-alignment .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #343a40;
    line-height: 1.2;
}

.sdg-alignment .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}

.sdg-alignment .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sdg-alignment .card-body {
    padding: 15px;
}

.sdg-alignment .card-img-top {
    border-radius: 8px;
}

.sdg-alignment .card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #191970;
    margin-top: 10px;
}

/* Add gap between rows */
.row-gap {
    margin-top: 20px; /* Adjust this value to increase/decrease the gap */
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .sdg-alignment .row {
        row-cols-md:3;
    }
    .sdg-alignment .card-title {
        font-size: 0.9rem;
    }
    .row-gap {
        margin-top: 15px; /* Reduced gap for medium screens */
    }
}

@media (max-width: 767.98px) {
    .sdg-alignment .section-header h2 {
        font-size: 2rem;
    }
    .sdg-alignment .row {
        row-cols: 2;
    }
    .sdg-alignment .card-img-top {
        height: 80px;
    }
    .sdg-alignment .card-title {
        font-size: 0.85rem;
    }
    .row-gap {
        margin-top: 10px; /* Further reduced gap for small screens */
    }
}

@media (max-width: 575.98px) {
    .sdg-alignment .section-header h2 {
        font-size: 1.5rem;
    }
    .sdg-alignment .row {
        row-cols: 1;
    }
    .sdg-alignment .card-img-top {
        height: 60px;
    }
    .sdg-alignment .card-title {
        font-size: 0.8rem;
    }
    .row-gap {
        margin-top: 5px; /* Minimal gap for extra-small screens */
    }
}


/* About Section Styling */
.about-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.about-section .section-header {
    margin-bottom: 30px;
}

.about-section .section-header .text-primary {
    font-size: 1.2rem;
    font-weight: 600;
}

.about-section .section-header .display-4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #343a40;
    line-height: 1.2;
}

.about-images-wrapper {
    position: relative;
    display: flex;
    gap: 20px;
}

.about-img {
    background-size: cover;
    background-position: center;
}

.main-image {
    width: 100%;
    height: 400px;
}

.secondary-image {
    width: 200px;
    height: 200px;
    position: absolute;
    bottom: -50px;
    right: 0;
}

.styled-list {
    list-style: none;
    padding-left: 0;
    margin-top: 15px; /* Added horizontal gap above the list */
}

.styled-list li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #6c757d;
}

.mission-icon, .vision-icon, .standfor-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* === Isolated header block — won't affect other h3/display-4 classes === */
.section-header-clamp {
  /* keep this block flow layout-friendly (don't use flex here) */
  text-align: center;
  padding: 0;              /* change or remove if you add spacing elsewhere */
}

/* Inner wrapper controls the break width without changing parent layout */
.section-header-clamp__inner {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 820px;        /* max container width for the header block */
  padding: 0 16px;         /* small horizontal padding for very small screens */
  box-sizing: border-box;
}

/* Base title styles (mobile/tablet default: allow up to 2 lines) */
.section-header-clamp__title {
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
  font-size: 20px;         /* base size */
  word-break: break-word;
  overflow: hidden;

  /* clamp to 2 lines on smaller screens */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
}

/* Small phones */
@media (max-width: 575.98px) {
  .section-header-clamp__title {
    max-width: 360px;
    font-size: 18px;
  }
}

/* Tablets portrait */
@media (min-width: 576px) and (max-width: 767.98px) {
  .section-header-clamp__title {
    max-width: 520px;
    font-size: 20px;
  }
}

/* Tablets landscape / small laptops */
@media (min-width: 768px) and (max-width: 991.98px) {
  .section-header-clamp__title {
    max-width: 720px;
    font-size: 24px;
  }
}

/* Desktop and larger: force a single line (no wrap) */
@media (min-width: 992px) {
  .section-header-clamp__title {
    /* turn off line-clamp layout for desktop */
    display: inline-block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    white-space: nowrap;
    overflow: visible;
    max-width: none;
    font-size: 30px;
  }

  /* center the inline-block nicely */
  .section-header-clamp__inner {
    text-align: center;
  }
}

/* If your project uses a 'text-nowrap' helper from a framework,
   ensure our selector has priority to override it if needed: */
.section-header-clamp__title.text-nowrap {
  white-space: normal; /* ensure clamp works on mobile if text-nowrap was kept */
}






/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .main-image {
        height: 300px;
    }
    .secondary-image {
        width: 150px;
        height: 150px;
        bottom: -40px;
    }
    .about-section .display-4 {
        font-size: 2rem;
    }
    .styled-list {
        margin-top: 12px; /* Adjusted gap for medium screens */
    }
    .styled-list li {
        font-size: 0.95rem;
    }
}

@media (max-width: 767.98px) {
    .about-section {
        padding: 40px 0;
    }
    .main-image {
        height: 250px;
    }
    .secondary-image {
        width: 120px;
        height: 120px;
        bottom: -30px;
    }
    .about-section .display-4 {
        font-size: 1.8rem;
    }
    .styled-list {
        margin-top: 10px; /* Adjusted gap for small screens */
    }
    .styled-list li {
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .about-images-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    .main-image {
        height: 200px;
    }
    .secondary-image {
        position: relative;
        width: 100px;
        height: 100px;
        bottom: 0;
        right: 0;
    }
    .about-section .display-4 {
        font-size: 1.5rem;
    }
    .styled-list {
        margin-top: 8px; /* Minimal gap for extra-small screens */
    }
    .styled-list li {
        font-size: 0.85rem;
    }
}

/* ===================================
   OVERVIEW SECTION (NEW DESIGN)
=================================== */

.overview-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.overview-section .section-header {
    margin-bottom: 30px;
}

.overview-section .subheading {
    font-size: 1rem;
    font-weight: 600;
    color: #FDBE33;
    margin-bottom: 6px;
}

.overview-section .main-heading {
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    font-weight: 700;
    color: #343a40;
}

/* ----------------------------
   LEFT BLOCK (ABOUT CONTENT)
----------------------------- */

.overview-about {
    padding: 18px 20px;
    border-radius: 12px;
    background: #f8f9fa;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    height: 100%;
}

.overview-about-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #191970;
}

.overview-about-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    text-align: justify;
    margin-bottom: 12px;
}

/* ----------------------------
   RIGHT BLOCK — SQUARE GRID
----------------------------- */

.overview-wheel-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

/* main square container */
.overview-wheel {
    position: relative;
    width: 100%;
    max-width: 540px;
    aspect-ratio: 1 / 1;              /* keep perfect square */
    border-radius: 18px;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    background: #fff;
}

/* each quadrant cell */
.overview-quadrant {
    position: relative;
    color: #fff;
}

/* divider lines */
.overview-quadrant:nth-child(1),
.overview-quadrant:nth-child(2) {
    border-bottom: 1px solid rgba(255,255,255,0.45);
}
.overview-quadrant:nth-child(1),
.overview-quadrant:nth-child(3) {
    border-right: 1px solid rgba(255,255,255,0.45);
}

/* colors */
.quadrant-mission  { background: #f1723a; }
.quadrant-vision   { background: #f7b733; }
.quadrant-values   { background: #16697a; }
.quadrant-goals    { background: #4caf50; }

/* inner content */
.quadrant-inner {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 20px 18px 52px;  /* extra bottom space for icon */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
}

.quadrant-inner h4 {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: #fff;
}

.quadrant-inner p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* icons – bottom-right */
.quadrant-icon {
    position: absolute;
    bottom: 12px;
    right: 14px;
    width: 32px;
    height: 32px;
    object-fit: contain;
    opacity: 0.95;
}

/* logo below the square on the right */
.overview-logo-below {
    margin-top: 18px;
    text-align: center;
}

.overview-logo-below img {
    max-width: 160px;
    height: auto;
    object-fit: contain;
}

/* ===================================
   RESPONSIVE BREAKPOINTS
=================================== */

/* lg and below (Bootstrap stacks cols at 992px) */
@media (max-width: 991.98px) {
    .overview-section {
        padding: 45px 0;
    }

    .overview-layout {
        row-gap: 25px;  /* more space between left and right blocks */
    }

    .overview-about {
        margin-bottom: 10px;
    }

    .overview-wheel {
        max-width: 480px;
    }

    .overview-logo-below img {
        max-width: 150px;
    }
}

/* tablets / large phones */
@media (max-width: 767.98px) {

    .overview-about-text {
        font-size: 0.95rem;
    }

    /* let the grid grow in height – no cropping */
    .overview-wheel {
        width: 100%;
        max-width: 100%;
        aspect-ratio: auto;   /* remove fixed square */
        height: auto;         /* allow height to grow with content */
    }

    .quadrant-inner {
        padding: 16px 14px 48px;
    }

    .quadrant-inner h4 {
        font-size: 1rem;
    }

    .quadrant-inner p {
        font-size: 0.84rem;
    }

    .quadrant-icon {
        width: 26px;
        height: 26px;
        bottom: 10px;
        right: 12px;
    }

    .overview-logo-below img {
        max-width: 150px;
    }
}


/* small phones */
@media (max-width: 575.98px) {

    .overview-section .main-heading {
        font-size: 1.65rem;
    }

    .overview-wheel {
        width: 100%;
        max-width: 100%;
        aspect-ratio: auto;
        height: auto;
    }

    .quadrant-inner {
        padding: 14px 10px 44px;
    }

    .quadrant-inner p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .overview-logo-below img {
        max-width: 135px;
    }
}


/* very small devices (old 320px wide) */
@media (max-width: 360px) {

    .overview-wheel {
        max-width: 300px;
    }

    .quadrant-inner h4 {
        font-size: 0.95rem;
    }

    .quadrant-inner p {
        font-size: 0.78rem;
    }

    .quadrant-icon {
        width: 22px;
        height: 22px;
    }
}
/* ===============================
   Where We Work / Map Section
   =============================== */

.map-section {
  background-color: #f8f9fa;
}

.map-section .subheading {
  font-size: 1rem;
  font-weight: 600;
  color: #FDBE33;
  margin-bottom: 6px;
}

.map-section .main-heading {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: #343a40;
}

/* Map Wrapper */
.map-image-wrapper {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

/* Make map visually larger */
.map-large {
  max-width: 100%;
}

.map-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* District list */
.map-district-list {
  list-style: none;
  padding-left: 0;
  margin-top: 12px;
}

.map-district-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.96rem;
  line-height: 1.5;
  text-align: justify;
}

.map-district-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #FDBE33;
  font-size: 1.2rem;
}

/* ===============================
   Responsive Tweaks
   =============================== */

/* Tablets */
@media (max-width: 991.98px) {
  .map-section .lead {
    font-size: 0.98rem;
  }

  .map-image-wrapper {
    margin-top: 1rem;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .map-section .main-heading {
    font-size: 1.5rem;
  }

  .map-section .lead {
    font-size: 0.95rem;
  }

  .map-district-list li {
    font-size: 0.92rem;
  }
}

/* Large screens / desktops */
@media (min-width: 1200px) {
  .map-large {
    max-width: 95%;
    margin-left: auto;
  }
}

/* Ultra-wide screens */
@media (min-width: 1600px) {
  .map-large {
    max-width: 100%;
  }

  .map-section {
    padding: 80px 0;
  }
}

/* ===========================
   OUR REACH / MAP SECTION
=========================== */

.operational-areas {
    background-color: #f8f9fa;
}

.operational-areas .section-header p {
    font-size: 1rem;
    font-weight: 600;
    color: #FDBE33;
}

.operational-areas .section-header h2 {
    font-size: 2rem;
    font-weight: 700;
}

/* Left tabs */
.reach-tabs .nav-link {
    background: #ffffff;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.25s ease;
    font-weight: 500;
    color: #444;
}

.reach-tabs .nav-link .reach-tab-title {
    font-size: 0.98rem;
}

.reach-tabs .nav-link .reach-tab-sub {
    font-size: 0.78rem;
    color: #6c757d;
}

.reach-tabs .nav-link.active {
    background: #FDBE33;
    border-color: #FDBE33;
    color: #191970;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.reach-tabs .nav-link.active .reach-tab-sub {
    color: #fff;
}

/* Right card + map */
.reach-card {
    border-radius: 14px;
}

.reach-map-wrapper {
    margin-top: 12px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.reach-map-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
    .operational-areas .section-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 767.98px) {
    .reach-tabs .nav-link {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 10px 12px;
    }

    .reach-tabs .nav-link .reach-tab-title {
        font-size: 0.9rem;
    }

    .reach-tabs .nav-link .reach-tab-sub {
        font-size: 0.75rem;
    }

    .reach-card .lead {
        font-size: 0.95rem;
    }
}


/* ============================
   Press / Newspaper Section
============================ */

.press-section {
    background: #f8f9fa;
}

.press-intro {
    max-width: 700px;
    font-size: 0.5rem;
    color: #555;
    text-align: justify;
}

/* Grid – 4 / row on large, 3 / row on md, 2 / row on sm, 1 / row on xs */
.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}

.press-item {
    cursor: pointer;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.press-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

.press-image-wrapper {
    position: relative;
    background: #f0f0f0;
}

/* handles different vertical / horizontal clippings nicely */
.press-image-wrapper img {
    width: 100%;
    height: 230px;
    object-fit: contain;
    display: block;
}

/* hover overlay */
.press-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.press-overlay i {
    margin-right: 6px;
}

.press-item:hover .press-overlay {
    opacity: 1;
}

.press-caption {
    margin: 10px 14px 12px;
    font-size: 0.92rem;
    color: #444;
    text-align: left;
}

/* small screens */
@media (max-width: 575.98px) {
    .press-intro {
        font-size: 0.95rem;
    }
    .press-image-wrapper img {
        height: 200px;
    }
}
.quadrant-list {
    padding-left: 18px;
    margin: 10px 0 0;
    font-size: 14px;
}

.quadrant-list li {
    margin-bottom: 4px;
    line-height: 1.4;
}
