/* =============================================
   FOUNDATION HEADER CSS - START
============================================= */


@import url('https://fonts.googleapis.com/css2?family=Alan+Sans:wght@300..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
}

/* common  */

.section-title {
    font-size: 32px !important;
    color: #991836 !important;
    font-weight: 700 !important;
    padding-bottom: 20px !important;
    line-height: 1.3;

    span {
        color: black !important;
    }
}

.section-title-sub {
    font-size: 28px !important;
    color: #991836 !important;
    font-weight: 700 !important;
    padding-bottom: 20px !important;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .section-title-sub {
        font-size: 20px !important;

    }
}

.slider-title {
    font-size: 38px;
    
}



@media (max-width: 768px) {
    .section-title {
        font-size: 28px !important;

    }


    .slider-title {
        font-size: 20px;
        ;
    }

}

.common-des-lg {
    color: rgba(0, 0, 0, 0.795);
}


/* =============================================
   TOP HEADER SECTION - START
============================================= */

.reg-numb{
    background-color: #991836;
    text-align: center;
    font-size: 13px;
    color: white;
    padding-top: 10px;
    display: none;
}

.top_header {
    background: #991836;
    padding: 12px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.top-header-row {
    display: flex;
    align-items: center;
}



.top_contact {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
}

.top_contact li {
    margin-right: 25px;
    font-size: 13px;
    display: flex;
    align-items: center;
    position: relative;
    font-weight: 500;
}


.top_contact li a {
    margin-right: 25px;
    font-size: 13px;
    display: flex;
    align-items: center;
    position: relative;
    font-weight: 500;
    color: white;
}


.top_contact li:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -15px;
    color: rgba(255, 255, 255, 0.5);
}



.top_social {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

.top_social li {
    margin-left: 10px;
}

.top_social a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 10px
}

.top_social a i {
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-size: 14px;
}

.top_social a:hover i {
    background: white;
    color: #991836;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.member_btns {
    background: linear-gradient(45deg, #f8f9fa, #e9ecef) !important;
    color: #b52226 !important;
    padding: 6px 16px !important;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.member_btns:hover {
    background: white !important;
    color: #b52226 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: white;
    text-decoration: none;
}

.py-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.mb-smallest-0 {
    margin-bottom: 0 !important;
}

/* =============================================
   TOP HEADER SECTION - END
============================================= */

/* =============================================
   MAIN HEADER SECTION - START
============================================= */

.main_menu_area {
    background: white;
    box-shadow: 0 2px 15px rgba(181, 34, 38, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.main_menu_area.scrolled {
    box-shadow: 0 4px 25px rgba(181, 34, 38, 0.15);
}

.navbar {
    margin-bottom: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.navbar-header {
    position: relative;
}

.navbar-brand {
    padding: 0 !important;
    height: auto;
    transition: all 0.3s ease;
    margin: 0px !important;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand img {
    max-height: 40px;
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(181, 34, 38, 0.1));
    transition: all 0.3s ease;
}

.navbar-toggle {
    border: 2px solid #b52226 !important;
    background: linear-gradient(45deg, #b52226, #8b1a1d) !important;
    border-radius: 8px;
}

.navbar-toggle:hover,
.navbar-toggle:focus {
    background: linear-gradient(45deg, #8b1a1d, #b52226) !important;
    border-color: #8b1a1d !important;
}

.navbar-toggle .icon-bar {
    background: white !important;
    height: 3px;
    border-radius: 2px;
}

.navbar-nav {
    margin: 0;
}

.navbar-nav>li>a {
    color: #2c3e50 !important;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 7px 20px !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.navbar-nav>li>a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #b52226, #d63031);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav>li:hover>a::before,
.navbar-nav>li.active>a::before {
    width: 100%;
}

.navbar-nav>li:hover>a,
.navbar-nav>li.active>a {
    color: #b52226 !important;
    background: rgba(181, 34, 38, 0.05) !important;
}

.navbar-nav>li.nav-item>a.nav-link {
    color: #2c3e50 !important;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 15px 20px !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.navbar-nav>li.nav-item:hover>a.nav-link {
    color: #b52226 !important;
    background: rgba(181, 34, 38, 0.05) !important;
}

/* Dropdown Styles */
.dropdown.submenu>a.dropdown-toggle {
    color: #2c3e50 !important;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 15px 20px !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dropdown.submenu:hover>a.dropdown-toggle {
    color: #b52226 !important;
    background: rgba(181, 34, 38, 0.05) !important;
}

.dropdown-menu {
    background: white;
    border: none !important;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(181, 34, 38, 0.15);
    margin-top: 0;
    padding: 10px 0;
    min-width: 220px;
    animation: dropdownFadeIn 0.3s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu>li>a {
    color: #2c3e50 !important;
    padding: 10px 20px !important;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    text-transform: none;
    letter-spacing: normal;
    font-size: 14px;
}

.dropdown-menu>li>a:hover {
    background: rgba(181, 34, 38, 0.08) !important;
    color: #b52226 !important;
    border-left-color: #991836;
}

.dropdown-toggle .fa-chevron-down,
.dropdown-toggle .click_btn {
    margin-left: 8px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown.open .fa-chevron-down,
.dropdown.open .click_btn {
    transform: rotate(180deg);
}

/* PDF Link Styles */
.nav-link .fa-file-pdf-o {
    margin-left: 5px;
    color: #991836;
    transition: all 0.3s ease;
}

.nav-link:hover .fa-file-pdf-o {
    transform: translateY(-2px);
}



/* Active state for regular nav items */
.navbar-nav>li.nav-item.active>a.nav-link,
.navbar-nav>li.nav-item:hover>a.nav-link {
    color: #b52226 !important;
    background: rgba(181, 34, 38, 0.05) !important;
}

/* Active state for regular nav items - add underline effect */
.navbar-nav>li.nav-item.active>a.nav-link::before {
    width: 100%;
}

/* Active state for dropdown menu items */
.dropdown.submenu.active>a.dropdown-toggle,
.dropdown.submenu:hover>a.dropdown-toggle {
    color: #b52226 !important;
    background: rgba(181, 34, 38, 0.05) !important;
}

/* Active state for dropdown items - add underline effect */
.dropdown.submenu.active>a.dropdown-toggle::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #b52226, #d63031);
    transform: translateX(-50%);
}

/* Active state for dropdown menu children */
.dropdown-menu>li.active>a {
    background: rgba(181, 34, 38, 0.08) !important;
    color: #b52226 !important;
    border-left-color: #991836;
    font-weight: 600;
}

/* =============================================
   MAIN HEADER SECTION - END
============================================= */

/* =============================================
   RESPONSIVE DESIGN - START
============================================= */

@media (max-width: 992px) {
    .top-header-row {
        justify-content: center;
    }


    .contact-left {
        display: none;
    }


    .reg-numb{
   
    display: block;
}
}


@media (max-width: 768px) {
    .top_header {
      padding: 0px 0px 10px 0px;
    }

    .top_contact {
        flex-direction: column;
        align-items: flex-start;
    }

    .top_contact li {
        margin-right: 0;
        margin-bottom: 5px;
        font-size: 12px;
    }

    .top_contact li:not(:last-child)::after {
        display: none;
    }

    .top_social {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .member_btns {
        font-size: 11px;
        padding: 5px 12px !important;
    }

    .navbar-brand img {
        max-height: 50px;
    }

    .navbar-collapse {
        background: white;
        border-top: 2px solid #991836;
        margin-top: 15px;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(181, 34, 38, 0.1);
        margin: 0px;
        padding: 0;
        overflow: hidden;
    }

    .navbar-nav {
        margin: 0;
    }

    .navbar-nav>li>a {
        color: #2c3e50 !important;
        border-bottom: 1px solid rgba(181, 34, 38, 0.1);
        padding: 15px 20px !important;
    }

    .navbar-nav>li:last-child>a {
        border-bottom: none;
    }

    .dropdown-menu {
        position: static !important;
        float: none !important;
        width: auto !important;
        margin-top: 0 !important;
        background-color: rgba(181, 34, 38, 0.03) !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }
}

@media (max-width: 480px) {
    .top_contact li:first-child {
        font-size: 11px;
        padding: 3px 8px;
    }

    .top_social a i {
        width: 28px;
        height: 28px;
        line-height: 28px;
    }

    .member_btns {
        font-size: 8px;
        padding: 2px !important;
    }

    .navbar-brand img {
        max-height: 45px;
    }
}

/* =============================================
   RESPONSIVE DESIGN - END
============================================= */

/* =============================================
   ADDITIONAL ANIMATIONS & EFFECTS - START
============================================= */

.navbar-nav>li {
    position: relative;
    overflow: hidden;
}

.navbar-nav>li::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: rgba(181, 34, 38, 0.1);
}

.navbar-nav>li:last-child::after {
    display: none;
}

/* Scroll Effect */
.header-scrolled .top_header {
    padding: 8px 0;
}

.header-scrolled .navbar {
    padding: 10px 0;
}

.header-scrolled .navbar-brand img {
    max-height: 50px;
}

/* Focus states for accessibility */
.navbar-nav>li>a:focus,
.dropdown-menu>li>a:focus {
    outline: 2px solid #991836;
    outline-offset: -2px;
}

.member_btns:focus {
    outline: 2px solid #991836;
    outline-offset: 2px;
}

/* =============================================
   ADDITIONAL ANIMATIONS & EFFECTS - END
============================================= */

/* =============================================
   FOUNDATION HEADER CSS - END
============================================= */


/* =============================================
   FOUNDATION INDEX PAGE CSS - START
============================================= */

/* =============================================
   GLOBAL STYLES & UTILITIES - START
============================================= */

.gray-bg {
    position: relative;
    overflow: hidden;
    padding-bottom: 0px;
}



.container {
    position: relative;
    z-index: 2;
}

.box {
    background: white;
    border-radius: 5px;
    /* Uniform glow + faint outline */
    box-shadow:
        0 0 30px rgba(41, 8, 9, 0.075),
        0 0 1px rgba(37, 7, 8, 0.089);

    margin: 60px 0px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(46, 10, 11, 0.123);
}



@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 0%;
    }
}



/* =============================================
   GLOBAL STYLES & UTILITIES - END
============================================= */

/* =============================================
   SLIDER AREA STYLES - START
============================================= */
/* --- TALLER SLIDER AREA --- */
/* Make sure no parent collapses */
.slider_area {
    position: relative;
    overflow: hidden;
    /* If you have a fixed header, subtract its height (e.g., 80px) */
}

/* Swiper container must have a height */
.hero-swiper {
    height: 500px;
    /* responsive height */
}

/* Swiper internals */
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
    height: 100%;
}

/* Background image covers the slide */
.slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay gradient (optional) */
.swiper-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    /* background: linear-gradient(135deg, rgba(181,34,38,.35) 0%, rgba(139,26,29,.6) 100%); */
    z-index: 1;
}

/* Caption (glass + dark blend) */
.slide-caption {
    position: relative;
    z-index: 2;
    margin: 0px;
    color: #fff;
    padding: 10px;
    background:
        linear-gradient(to right, rgba(0, 0, 0, 0.322), rgba(0, 0, 0, 0.295)),
        linear-gradient(135deg, rgba(181, 34, 39, 0.205), rgba(139, 26, 29, .15));
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);

    text-align: center;
    width: 100%;
}

/* Position caption similar to your old layout */
.swiper-slide {
    position: relative;
    display: flex;
    align-items: flex-end;
    /* push caption down */
    padding: 0 0 0vh 0;
    /* bottom spacing */
}

/* Tweak on small screens */
@media (max-width: 767.98px) {
    .hero-swiper {
        height: 60vh;
        min-height: 520px;
    }

    .slide-caption {
        padding: 10px;
    }
}




/* Custom Swiper Navigation and Pagination Styles */

/* Navigation Buttons */
.swiper-button-prev,
.swiper-button-next {
    width: 30px;
    height: 30px;
    background-color: #991836;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: #7a1329;
    transform: scale(1.1);
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 10px;
}

/* Pagination */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(153, 24, 54, 0.5);
    opacity: 0;
}

.swiper-pagination-bullet-active {
    background: #991836;
    transform: scale(1.2);
}

/* Optional: Add transition for smooth scaling */
.swiper-pagination-bullet {
    transition: all 0.3s ease;
}

/* Ensure buttons are visible on light and dark backgrounds */
.swiper-button-prev,
.swiper-button-next {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}


/* =============================================
   SLIDER AREA STYLES - END
============================================= */



/* =============================================
   WELCOME SECTION STYLES - START
============================================= */

.welcome {
    position: relative;
}


.welcome-row {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

.welcome-content {
    width: 55%;
}

.welcome-img {
    width: 40%;
}

.about-us-sidebar {
    overflow: hidden;
    height: 400px;

    img {
        object-fit: cover;
        height: 100%;
        width: 100%;
        border-radius: 10px;
    }
}


.welcome p {
    color: #5a6c7d;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.welcome-span .section-divider {
    margin: 0;
    justify-content: start;
    width: 100%;
}

@media (max-width: 992px) {
    .welcome-row {
        flex-direction: column;
    }

    .welcome-content {
        width: 100%;
    }

    .welcome-img {
        width: 100%;
    }



}

@media (max-width: 768px) {
    .about-us-sidebar {
        overflow: hidden;
        height: 300px;

    }


    .welcome-span  {
        font-size: 15px !important;
    }
}



/* =============================================
   WELCOME SECTION STYLES - END
============================================= */

/* =============================================
   WHAT WE DO & IMPACT SECTION STYLES - START
============================================= */

.what-we-do {
    position: relative;
    overflow: hidden;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    color: #991836;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 0 auto;
    max-width: 300px;
}

.divider-line {
    height: 2px;
    background: #991836;
    flex-grow: 1;
}

.section-divider i {
    color: #991836;
    font-size: 20px;
}

.content-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(153, 24, 54, 0.1);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #991836, #cc1f45);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.card-icon i {
    font-size: 30px;
    color: #fff;
}

.what-we-do h2 {
    color: #991836;
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 600;
    text-align: center;
    margin-top: 0px;

}

.mission-block,
.help-block {
    margin-bottom: 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mission-block:hover,
.help-block:hover {
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.mission-block i,
.block-header i {
    color: #991836;
    font-size: 24px;
    margin-bottom: 15px;
}

.block-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.what-we-do h3 {
    color: #333;
    font-size: 22px;
    margin: 0;
    font-weight: 600;
}

.what-we-do .content {
    color: #666;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(153, 24, 54, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-list li:hover {
    background: rgba(153, 24, 54, 0.06);
    transform: translateX(5px);
}

.feature-list li i {
    color: #991836;
    font-size: 16px;
    margin-top: 4px;
}

@media (max-width: 1200px) {
    .content-card {
        padding: 30px 20px;
    }
}

@media (max-width: 992px) {

    .mission-column,
    .impact-column {
        margin-bottom: 30px;
    }


}

@media (max-width: 768px) {

    .what-we-do {
        padding-bottom: 0px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .what-we-do h2 {
        font-size: 24px;
    }

    .what-we-do h3 {
        font-size: 20px;
    }

    .card-icon {
        width: 60px;
        height: 60px;
    }

    .card-icon i {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .content-card {
        padding: 25px 15px;
    }

    .mission-block,
    .help-block {
        padding: 15px;
    }

    .feature-list li {
        padding: 8px;
    }
}


.what-we-do {
    background: #fff;
}

.what-we-do .overview-description {
    max-width: 800px;
    margin: 0px auto 25px;
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

.overview-block {
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.overview-block:hover {
    transform: translateY(-5px);
}

.overview-block h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}



.feature-list.clean {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list.clean li {
    margin-bottom: 15px;
    padding-left: 10px;
    position: relative;
    color: #555;
    font-size: 16px;
    line-height: 1.5;
}

.feature-list.clean li i {
    left: 0;
    top: 4px;
    color: #28a745;
}


.overview-center {
    display: flex;
    justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {


    .overview-block {
        padding: 0 20px;
    }

    .what-we-do .overview-description {
        font-size: 16px;
        padding: 0 20px;
    }
}

/* =============================================
   WHAT WE DO & IMPACT SECTION STYLES - END
============================================= */

/* =============================================
   EVENT SECTION STYLES - START
============================================= */

.event_box {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(181, 34, 38, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(181, 34, 38, 0.05);
}

.event_box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #b52226, #d63031, #74b9ff);
    background-size: 200% 100%;
    animation: gradientShift 4s ease-in-out infinite;
}

.event_box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(181, 34, 38, 0.15);
}

.event_txt h3 {
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
}

.event_txt h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.event_txt h3 a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #b52226, #d63031);
    transition: width 0.3s ease;
}

.event_txt h3 a:hover {
    color: #991836;
}

.event_txt h3 a:hover::after {
    width: 100%;
}

.event_txt img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.event_txt img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.event_txt h4 {
    color: #991836;
    font-size: 18px;
    font-weight: 600;
    margin: 25px 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =============================================
   EVENT SECTION STYLES - END
============================================= */

/* =============================================
   COUNTDOWN STYLES - START
============================================= */

.countdown_event {
    display: flex;
    justify-content: space-between;
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(181, 34, 38, 0.05) 0%, rgba(181, 34, 38, 0.1) 100%);
    border-radius: 15px;
    border: 1px solid rgba(181, 34, 38, 0.1);
}

.countdown_event span {
    text-align: center;
    flex: 1;
    padding: 10px;
    position: relative;
}

.countdown_event span:not(:last-child)::after {
    content: ':';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #991836;
    font-weight: bold;
}

.countdown_event .days,
.countdown_event .hours,
.countdown_event .minutes,
.countdown_event .seconds {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #991836;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(181, 34, 38, 0.2);
}

.countdown_event small {
    font-size: 12px;
    color: #5a6c7d;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

/* =============================================
   COUNTDOWN STYLES - END
============================================= */

/* =============================================
   BUTTON STYLES - START
============================================= */

.read_more {
    display: inline-block;
    background: linear-gradient(135deg, #b52226 0%, #d63031 100%);
    color: white !important;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    font-size: 14px;
}

.read_more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.read_more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(181, 34, 38, 0.3);
    color: white !important;
    text-decoration: none;
}

.read_more:hover::before {
    left: 100%;
}

.small_button {
    padding: 10px 25px;
    font-size: 13px;
}

/* =============================================
   BUTTON STYLES - END
============================================= */

/* =============================================
   LATEST BLOG/NEWS STYLES - START
============================================= */



.latest_blog_area h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ffffff, #ffffff);
    border-radius: 2px;
}

.latest_blog_item {
    background: white;
    border-radius: 5px;
    overflow: hidden;

    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgb(153 24 54);
    margin-bottom: 20px;
}

.latest_blog_item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #b52226, #d63031, #74b9ff);
    background-size: 200% 100%;
    animation: gradientShift 4s ease-in-out infinite;
}

.latest_blog_item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(181, 34, 38, 0.12);
}

.l_blog_img {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.l_blog_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.latest_blog_item:hover .l_blog_img img {
    transform: scale(1.1);
}

.l_blog_hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(181, 34, 38, 0.8) 0%, rgba(139, 26, 29, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.latest_blog_item:hover .l_blog_hover {
    opacity: 1;
}

.l_blog_hover a {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #991836;
    font-size: 24px;
    text-decoration: none;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.latest_blog_item:hover .l_blog_hover a {
    transform: scale(1);
}

.latest_blog_item h4 {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 700;
    margin: 20px 20px 15px;
    line-height: 1.4;

    /* one-line clamp */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    /* ensure it can be truncated */
    max-width: 100%;
}

.latest_blog_item h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.latest_blog_item h4 a:hover {
    color: #991836;
}

.latest_blog_item .blog-des {
    color: #2c3e50;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 20px 15px 20px;

    /* 2-line clamp */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.latest_blog_item p:last-child {
    margin-bottom: 20px;
}


.read-more {
    background: rgb(153, 24, 54);
    ;
    color: white !important;
    padding: 7px 15px;
    font-size: 14px;
    font-weight: 300 !important;
    border-radius: 5px;
    margin: 0 20px 15px 20px;

}

.view-all {
    display: flex;
    justify-content: center;
    padding-top: 30px;
}

.view-all a {
    background: rgb(153, 24, 54);

    color: white !important;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 300 !important;
    border-radius: 5px;
    margin: 0 20px 15px 20px;
}



/* =============================================
   LATEST BLOG/NEWS STYLES - END
============================================= */

/* =============================================
   VIDEO SECTION STYLES - START
============================================= */

.video-section {
    position: relative;

    overflow: hidden;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="video-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><rect width="50" height="50" fill="none"/><circle cx="25" cy="25" r="1" fill="%23b52226" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23video-pattern)"/></svg>');
    pointer-events: none;
}

.video-section .container {
    position: relative;
    z-index: 2;
}

.video-section h1 {
    color: #991836;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}



.video-section p {
    text-align: center;
    color: #5a6c7d;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.video-section .video-box {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(181, 34, 38, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    border: 1px solid rgba(181, 34, 38, 0.05);
}

.video-section .video-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(181, 34, 38, 0.15);
}

.video-section iframe {
    border-radius: 10px;
    width: 100%;
    height: 250px;
    border: none;
    transition: all 0.3s ease;
}

/* =============================================
   VIDEO SECTION STYLES - END
============================================= */

/* =============================================
   SIDEBAR STYLES - START
============================================= */

.left_content {
    position: relative;
}

.left_content .box {
    padding: 30px;
}

.left_content h3 {
    color: #2c3e50;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.left_content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #b52226, #d63031);
    border-radius: 2px;
}

/* =============================================
   SIDEBAR STYLES - END
============================================= */

/* =============================================
   RESPONSIVE DESIGN - START
============================================= */

@media (max-width: 992px) {
    .box {
        padding: 20px;
    }





    .event_txt h3 {
        font-size: 20px;
    }

    .countdown_event {
        padding: 15px;
    }

    .countdown_event .days,
    .countdown_event .hours,
    .countdown_event .minutes,
    .countdown_event .seconds {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .gray-bg {

        padding-bottom: 0px;
    }

    .box {
        padding: 15px 10px;
        margin: 40px 0px;
    }







    .event_box {
        padding: 20px;
    }

    .event_txt h3 {
        font-size: 18px;
    }

    .countdown_event {
        flex-direction: column;
        text-align: center;
    }

    .countdown_event span:not(:last-child)::after {
        display: none;
    }

    .countdown_event span {
        margin-bottom: 10px;
        padding: 5px;
    }

    .latest_blog_item h4 {
        font-size: 16px;
        margin: 15px 15px 10px 15px;
    }

    .latest_blog_item p {
        margin: 0 15px 10px 15px;
        font-size: 13px;
    }

    .left_content {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {


    .welcome .box h1 {
        font-size: 20px;
    }



    .event_txt h3 {
        font-size: 16px;
    }

    .countdown_event .days,
    .countdown_event .hours,
    .countdown_event .minutes,
    .countdown_event .seconds {
        font-size: 20px;
    }

    .read_more {
        padding: 10px 20px;
        font-size: 12px;
    }

    .tp-caption.first_text {
        padding: 20px 25px !important;
        font-size: 18px !important;
        line-height: 24px !important;
    }
}

/* =============================================
   RESPONSIVE DESIGN - END
============================================= */

/* =============================================
   LOADING ANIMATIONS - START
============================================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.8s ease-out;
}

.animate-left {
    animation: fadeInLeft 0.8s ease-out;
}

.animate-right {
    animation: fadeInRight 0.8s ease-out;
}

/* =============================================
   LOADING ANIMATIONS - END
============================================= */

/* =============================================
   UTILITY CLASSES - START
============================================= */

.text-gradient {
    background: linear-gradient(135deg, #b52226 0%, #d63031 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-gradient {
    position: relative;
}

.border-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2px;
    background: linear-gradient(135deg, #b52226, #d63031);
    border-radius: 15px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.shadow-primary {
    box-shadow: 0 10px 30px rgba(181, 34, 38, 0.15) !important;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #b52226 0%, #d63031 100%) !important;
}

.text-primary-custom {
    color: #b52226 !important;
}

/* =============================================
   UTILITY CLASSES - END
============================================= */

/* =============================================
   FOUNDATION INDEX PAGE CSS - END
============================================= */

/* =============================================
   notice modal start 
============================================= */

.sidebar-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: none;
}

.sidebar-modal-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.sidebar-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 15px;
    z-index: 1051;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
    display: none;
}

.sidebar-modal.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-content {
    position: relative;
    padding: 20px;
}

.sidebar-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #991836;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1052;
}

.sidebar-close:hover {
    background: rgba(181, 34, 38, 0.1);
    transform: scale(1.1);
}

.modal-content h2 {
    color: #991836;
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
    font-weight: 600;
}

/* Custom scrollbar for the modal */
.sidebar-modal::-webkit-scrollbar {
    width: 8px;
}

.sidebar-modal::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.sidebar-modal::-webkit-scrollbar-thumb {
    background: #991836;
    border-radius: 4px;
}

.sidebar-modal::-webkit-scrollbar-thumb:hover {
    background: #d63031;
}

/* Animation keyframes */
@keyframes modalIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sidebar-modal {
        width: 95%;
        max-height: 95vh;
    }
}


/* =============================================
   notice modal end
============================================= */









/* ========================================
   MODERN ABOUT PAGE STYLES
   ======================================== */


/* do not give breadcrumb css as it is common so written in another place  */

/* ========================================
   MODERN ABOUT PAGE STYLES
   ======================================== */
/* ========================================
   MODERN ABOUT PAGE STYLES
   ======================================== */

/* About Content Section */
.about-section {
    padding: 40px 0;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.about-content {
    padding-right: 30px;
}



.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 40px;
}

.content-text p {
    margin-bottom: 20px;
    text-align: justify;
}

.content-text p:last-child {
    margin-bottom: 0;
}

/* About Image Section */
.about-image {
    position: relative;
    padding-left: 30px;
}

.image-wrapper {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.main-image {
    width: 100%;
    height: 550px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.image-wrapper:hover .main-image {
    transform: scale(1.05);
}

/* Mission, Vision & Objectives Section */
.mission-section {
    padding-bottom: 10px;
    background: #ffffff;
    position: relative;
}




.mission-card {
    background: white;
    border-radius: 5px;
    padding: 40px 30px;
    height: 100%;
    min-height: 350px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: #991836;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.mission-icon i {
    color: white;
    font-size: 32px;
}

.mission-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.mission-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mission-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.6;
}

.mission-list li:last-child {
    margin-bottom: 0;
}

.mission-list li i {
    color: #48bb78;
    margin-right: 12px;
    margin-top: 4px;
    flex-shrink: 0;
    font-size: 14px;
}

.mission-list li span {
    color: #4a5568;
    font-size: 14px;
}

/* Call to Action Section */
.cta-section {
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section .container .row {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    padding: 60px 0;
    border-radius: 5px;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-icon {
    width: 85px;
    height: 85px;
    background: #991836;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 35px;
    animation: pulse 3s infinite;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
    }
}

.cta-icon i {
    color: white;
    font-size: 35px;
}

.cta-section h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
    line-height: 1.2;
}

.cta-section p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    line-height: 1.6;
    font-weight: 300;
}

/* Button Styles */
.btn-primary {
    background: #991836;
    border: none;
    padding: 18px 45px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 107, 107, 0.4);
    color: white;
    text-decoration: none;
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.3);
}

.btn-primary i {
    transition: transform 0.3s ease;
    font-size: 16px;
}

.btn-primary:hover i {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .about-content {
        padding-right: 15px;
    }

    .about-image {
        padding-left: 15px;
        margin-top: 30px;
    }
}

@media (max-width: 992px) {

    .about-content,
    .about-image {
        padding-left: 0;
        padding-right: 0;
    }

    .about-image {
        margin-top: 30px;
    }

    .main-image {
        height: 400px;
    }


    .mission-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 30px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .main-image {
        height: 350px;
    }

    .mission-section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }



    .section-subtitle {
        font-size: 1.1rem;
    }

    .mission-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .mission-title {
        font-size: 1.5rem;
        margin-bottom: 0px;
    }

    .mission-icon {
        width: 65px;
        height: 65px;
    }

    .mission-icon i {
        font-size: 24px;
    }

    .mission-list li {
        font-size: 0.95rem;
    }

    .vision-content p {
        font-size: 1.1rem;
    }

    .objectives-content p {
        font-size: 0.95rem;
    }

    .objectives-badge {
        padding: 10px 16px;
        font-size: 12px;
    }

    .cta-section h2 {
        font-size: 2.2rem;
    }

    .cta-section p {
        font-size: 1.1rem;
    }

    .btn-primary {
        padding: 15px 35px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .mission-card {
        padding: 25px 15px;
    }

    .mission-list li {
        font-size: 0.9rem;
    }

    .objectives-badge {
        font-size: 11px;
        padding: 8px 14px;
    }

    .cta-section .container .row {
        padding: 40px 20px;
    }
}



/* trustee page css start  */

/* Founding Trustees Section */
.trustees-section {
    padding: 40px 0;
    position: relative;
}

.trustees-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #dee2e6, transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}


.section-header p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.trustees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;


    .trustee-card {
        background: #ffffff;
        border-radius: 5px;
        padding: 40px 30px 35px;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.151);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        border: 1px solid #f1f3f4;
    }

    .trustee-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #e74c3c, #c0392b);
        transform: scaleX(0);
        transition: transform 0.3s ease;
        transform: scaleX(1);
    }

    .trustee-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    }

    .trustee-card:hover::before {
        transform: scaleX(1);
    }

    .trustee-image {
        position: relative;
        width: 120px;
        height: 120px;
        margin: 0 auto 25px;
        border-radius: 50%;
        overflow: hidden;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
    }

    .trustee-card:hover .trustee-image {
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    }

    .trustee-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .trustee-info h3 {
        font-size: 18px;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .trustee-info .position {
        font-size: 15px;
        color: #891630;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 15px;
    }

    .trustee-info .description {
        font-size: 14px;
        color: #6c757d;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .trustee-contact {
        display: flex;
        justify-content: center;
        gap: 12px;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.3s ease;
    }

    .trustee-card:hover .trustee-contact {
        opacity: 1;
        transform: translateY(0);
    }

    .contact-link {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8f9fa;
        color: #6c757d;
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 14px;
    }

    .contact-link:hover {
        background: #e74c3c;
        color: #ffffff;
        transform: translateY(-2px);
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .trustees-section {
            padding: 60px 0;
        }

        .section-header h2 {
            font-size: 2rem;
        }

        .trustees-grid {
            grid-template-columns: 1fr;
            gap: 25px;

        }

        .trustee-card {
            padding: 30px 25px;
        }

        .trustee-image {
            width: 100px;
            height: 100px;
            margin-bottom: 20px;
        }

        .trustee-info h3 {
            font-size: 1.2rem;
        }
    }

    @media (max-width: 576px) {
        .section-header h2 {
            font-size: 1.8rem;
        }

        .section-header p {
            font-size: 1rem;
        }

        .trustee-card {
            padding: 25px 20px;
        }

        .trustees-grid {
            gap: 20px;
        }
    }
}



/* Grant Application Form Styles */

.grant-form-container {
    padding: 40px 0;
    min-height: 100vh;
}

.grant-form-wrapper {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Form Header */
.form-header {
    background-color: #991836;
    color: white;
    padding: 20px 30px;
    text-align: center;
}

.form-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

/* Form Sections */
.grant-application-form {
    padding: 30px;
}

.form-section {
    margin-bottom: 30px;
}



/* Policy Section */
.policy-section {
    background-color: #f7fafc;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid rgb(153 24 54);
}

.policy-text {
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.policy-link {
    color: #3182ce;
    text-decoration: none;
    font-weight: 500;
}

.policy-link:hover {
    text-decoration: underline;
}

/* Form Controls */
.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}

.form-group {
    padding: 10px;
    flex: 1;
    min-width: 250px;
}

.form-group.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #2d3748;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
    background-color: #ffffff;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.form-control::placeholder {
    color: #9ca3af;
}

/* Textarea Variants */
.textarea-large {
    min-height: 100px;
    resize: vertical;
}

.textarea-medium {
    min-height: 80px;
    resize: vertical;
}

/* Radio Buttons */
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: normal;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 16px;
    height: 16px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
    transition: all 0.2s ease;
}

.radio-label input[type="radio"]:checked+.radio-custom {
    border-color: #3182ce;
    background-color: #3182ce;
}

.radio-label input[type="radio"]:checked+.radio-custom::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Checkboxes */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 16px;
    height: 16px;
    border: 2px solid #d1d5db;
    border-radius: 3px;
    margin-right: 8px;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom {
    border-color: #3182ce;
    background-color: #3182ce;
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    top: -2px;
    left: 1px;
}

/* reCAPTCHA Section */
.recaptcha-container {
    margin: 20px 0;
}

.recaptcha-checkbox {
    display: inline-flex;
    align-items: flex-start;
    background: #f9f9f9;
    border: 1px solid #d3d3d3;
    padding: 15px;
    border-radius: 4px;
    gap: 10px;
}

.recaptcha-label {
    margin: 0 !important;
    font-weight: normal !important;
}

.recaptcha-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.recaptcha-logo img {
    width: 20px;
    height: 20px;
}

.recaptcha-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recaptcha-text small {
    font-size: 10px;
    color: #666;
    margin-bottom: 2px;
}

.recaptcha-links {
    font-size: 8px;
}

.recaptcha-links a {
    color: #666;
    text-decoration: none;
}

.recaptcha-links a:hover {
    text-decoration: underline;
}

/* Submit Button */
.btn-submit {
    background-color: rgb(153 24 54);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    background-color: #c53030;
}

.btn-submit:active {
    background-color: #9b2c2c;
}

/* Footer Note */
.form-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.footer-note {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.footer-note strong {
    color: #2d3748;
}

.footer-note a {
    color: #3182ce;
    text-decoration: none;
}

.footer-note a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .grant-form-container {
        padding: 20px 0;
    }

    .grant-application-form {
        padding: 20px;
    }

    .form-header {
        padding: 15px 20px;
    }

    .form-title {
        font-size: 16px;
    }

    .form-group.col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .form-row {
        margin: -5px;
    }

    .form-group {
        padding: 5px;
        min-width: auto;
    }

    .radio-group {
        flex-direction: column;
        gap: 10px;
    }

    .recaptcha-checkbox {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .recaptcha-logo {
        margin-left: 0;
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .form-title {
        font-size: 14px;
    }



    .form-control {
        font-size: 16px;
        /* Prevent zoom on iOS */
    }
}




/* breadcrumb css start  */

/* Ultra Modern Breadcrumb Styles */
.modern-breadcrumb {
    background: linear-gradient(135deg, rgba(153, 24, 54, 0.95) 0%, rgba(24, 142, 153, 0.9) 100%);
    padding: 30px 0px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Animated Background Particles */
.modern-breadcrumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 1.5px, transparent 1.5px),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.08) 2.5px, transparent 2.5px),
        radial-gradient(circle at 90% 90%, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 100px 100px, 80px 80px, 120px 120px, 90px 90px, 110px 110px;
    animation: floating-particles 20s ease-in-out infinite;
}

/* Geometric Pattern Overlay */
.modern-breadcrumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

@keyframes floating-particles {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-10px) rotate(90deg);
    }

    50% {
        transform: translateY(-5px) rotate(180deg);
    }

    75% {
        transform: translateY(-15px) rotate(270deg);
    }
}

.breadcrumb-content {
    position: relative;
    z-index: 3;
}

/* Animated Title with Gradient Text */
.breadcrumb-title {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: title-glow 3s ease-in-out infinite alternate;
    position: relative;
}

.breadcrumb-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, transparent 100%);
    border-radius: 2px;
    animation: underline-expand 2s ease-out 0.5s forwards;
    transform-origin: center;
    scale: 0;
}

@keyframes title-glow {
    0% {
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    }

    100% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6));
    }
}

@keyframes underline-expand {
    to {
        scale: 1;
    }
}

/* Glass Morphism Breadcrumb Navigation */
.breadcrumb-nav {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: nav-slide-in 1s ease-out 0.8s both;
}

@keyframes nav-slide-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 20px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.breadcrumb-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.breadcrumb-nav a:hover::before {
    left: 100%;
}

.breadcrumb-nav a:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

/* Animated Separator */
.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    font-size: 1.5rem;
    margin: 0 10px;
    animation: separator-pulse 2s ease-in-out infinite;
    position: relative;
}

@keyframes separator-pulse {

    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Current Page Indicator */
.breadcrumb-current {
    color: #ffffff;
    font-weight: 700;
    padding: 12px 25px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 5px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: current-glow 3s ease-in-out infinite alternate;
}

.breadcrumb-current::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.4), transparent, rgba(255, 255, 255, 0.4));
    border-radius: 30px;
    z-index: -1;
    animation: border-rotate 3s linear infinite;
}

@keyframes current-glow {
    0% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }

    100% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
    }
}

@keyframes border-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Floating Elements */
.breadcrumb-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float-up 6s ease-in-out infinite;
}

.floating-circle:nth-child(1) {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-circle:nth-child(2) {
    width: 40px;
    height: 40px;
    top: 60%;
    left: 85%;
    animation-delay: 2s;
}

.floating-circle:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.floating-circle:nth-child(4) {
    width: 30px;
    height: 30px;
    top: 30%;
    left: 75%;
    animation-delay: 1s;
}

@keyframes float-up {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}




@media (max-width: 768px) {
    .breadcrumb-title {
        font-size: 2rem;
    }

}



/* breadcrumb css end  */











/* =============================================
   Post Section Styling
============================================= */

/* Main container for the post content */
.post-section {
    padding: 40px 0;
    /* Adds vertical space around the content */
    background-color: #f9f9f9;
    /* A very light gray background to separate it from other sections */
}

/* Wrapper for the detailed post content */
.post-details-wrapper {
    background-color: #ffffff;
    /* White background for the content area */
    padding: 20px;
    /* Inner spacing */
    border-radius: 8px;
    /* Slightly rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Subtle shadow for a lifting effect */
}

/* Styles for the main post image */
.post-section .post-image .main-image {
    width: 100%;
    /* Make image responsive */
    height: 400px;
    /* Maintain aspect ratio */
    border-radius: 8px;
    /* Match the wrapper's border-radius */
    object-fit: contain;
}

/* --- Typography for Readability --- */

/* Base styling for the text content area */
.post-section .content-text {
    color: #333;
    /* Dark gray for body text, easier on the eyes than pure black */
    font-family: 'Georgia', 'Times New Roman', serif;
    /* A serif font is great for long-form reading */
    font-size: 18px;
    /* Comfortable reading size */
    line-height: 1.8;
    /* Generous line spacing for readability */
}

/* Paragraph styling */
.post-section .content-text p {
    margin-bottom: 1.5em;
    /* Space between paragraphs */
}

/* Heading styles (h2, h3, h4) */
.post-section .content-text h2,
.post-section .content-text h3,
.post-section .content-text h4,
.post-section .content-text h5,
.post-section .content-text h6 {
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    /* A clean sans-serif for headings */
    color: #111;
    margin-top: 2em;
    margin-bottom: 1em;
    font-weight: 700;
    line-height: 1.4;
}

.post-section .content-text h2 {
    font-size: 2em;
}

.post-section .content-text h3 {
    font-size: 1.75em;
}

.post-section .content-text h4 {
    font-size: 1.5em;
}

/* Link styling */
.post-section .content-text a {
    color: #007bff;
    /* A standard, accessible blue for links */
    text-decoration: none;
    border-bottom: 1px dotted #007bff;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

.post-section .content-text a:hover {
    color: #0056b3;
    /* Darker blue on hover */
    border-bottom-color: #0056b3;
}

/* List styling (ordered and unordered) */
.post-section .content-text ul,
.post-section .content-text ol {
    padding-left: 2em;
    margin-bottom: 1.5em;
}

.post-section .content-text li {
    margin-bottom: 0.5em;
    /* Space between list items */
}

/* Blockquote styling */
.post-section .content-text blockquote {
    margin: 2em 0;
    padding: 1em 1.5em;
    border-left: 5px solid #007bff;
    background-color: #f8f9fa;
    color: #555;
    font-style: italic;
}

.post-section .content-text blockquote p {
    margin-bottom: 0;
}

/* Add a responsive adjustment for smaller screens */
@media (max-width: 768px) {
    .post-details-wrapper {
        padding: 20px;
        /* Reduce padding on smaller devices */
    }

    .post-section .content-text {
        font-size: 16px;
        /* Slightly smaller font on mobile */
    }
}