:root {
    --primary: #86281c;
    --white: #fff;
    /* --dark: #e4e4e4; */
    --black: #000;
    --gray: gray;
    --light: #f8f8f8;
    --font-family: "Sora", sans-serif;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
    font-family: var(--font-family);
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
    font-family: var(--font-family);
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
    font-family: var(--font-family);
}

body {
    font-family: var(--font-family);
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    overflow-x: hidden !important;
}

a {
    text-decoration: none;
}

.bg-brown {
    background-color: var(--primary);
}

.border_white {
    border-bottom: 1px solid var(--white);
}

.common_border {
    border: 2px solid var(--primary) !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    background-color: var(--primary);
    color: var(--white);
}

.back-to-top:hover {
    color: var(--white);
}

.common_text {
    color: var(--primary) !important;
}

/*** Navbar ***/
.dropdown-item.active,
.dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: var(--primary) !;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 30px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: capitalize;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid var(--white);
        ;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .volunteer {
        width: 100% !important;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}
@media (min-width:320px) {
     .event-gallery-item img {
        object-fit: contain !important;
    }
}
@media (max-width:320px) {
    .ourlatest_news_card {
        padding: 0px !important;
    }

    .volunteer {
        width: 100% !important;
    }

    .events_all .event {
        width: 100% !important;
        overflow-y: hidden;
    }
    .news .news_img{
        width: 100% !important;
    }

}

.navbar-light .navbar-toggler {
    border-color: transparent !important;
}

/*** social media iconsButton ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: var(--white);
    ;
}

.btn-square {
    width: 38px;
    height: 38px;

}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
    border: 2px solid var(--white);
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-outline-body {
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-body:hover {
    color: var(--primary);
    background: var(--white);
    border-color: var(--primary);
}

.bg-light {
    background-color: #efefef !important;
}

/* *********btn socialmedia********* */
/* ***********button effect********* */

.common {
    overflow: hidden;
    position: relative;
    z-index: 0;
    text-decoration: none;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 1em;
    min-width: 15ch;
    padding: 0.7em 1.15em;
    border-radius: 2em;
    transition: opacity 0.3s cubic-bezier(0.2, 0, 0.1, 1), transform 0.3s cubic-bezier(0.2, 0, 0.1, 1), box-shadow 0.5s ease, color 0.5s ease, background 0.5s ease;
    will-change: box-shadow, color, transform, opacity, background;
    background: var(--primary);
    border: 2px solid var(--white);
}

.common:hover {
    color: var(--white) !important;
}

.common.outlined {
    display: inline-flex;
    background: none;
    color: var(--white);
}

.common:after,
.common:before {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    top: 0;
    right: -50%;
    left: -50%;
    height: 0;
    padding-bottom: 200%;
    border-radius: 39%;
    border: unset;
    transition: transform 0s cubic-bezier(0.2, 0, 0.1, 1) 0.5s, opacity 0.5s cubic-bezier(0.2, 0, 0.1, 1);
    opacity: 0;
}

.common:before {
    transform: translate3d(-10%, 4.8em, 0) rotate(330deg);
    background: linear-gradient(25deg, var(--primary), #86281c);
}

.common:after {
    transform: translate3d(10%, 4.8em, 0) rotate(0deg);
    background: linear-gradient(70deg, var(--primary), #86281c);
}

.common:hover,
.common:focus {
    transition: opacity 0.3s cubic-bezier(0.2, 0, 0.1, 1), transform 0.3s cubic-bezier(0.2, 0, 0.1, 1), box-shadow 2s ease, color 1.5s ease, background 1s ease 0.75s;
    background: var(--primary);
    /* box-shadow: inset 0 0 0 0.1em var(--primary), 0 0 1.75em  #86281c; */
}

.common:hover.outlined,
.common:focus.outlined {
    color: var(--white);
}

.common:hover:before,
.common:hover:after,
.common:focus:before,
.common:focus:after {
    transition: transform 2s ease 0s, opacity 0.2s ease;
    opacity: 1;
}

.common:hover:before,
.common:focus:before {
    transform: translate3d(-10%, -1em, 0) rotate(100deg);
}

.common:hover:after,
.common:focus:after {
    transform: translate3d(10%, -1em, 0) rotate(180deg);
}

/* *****common_white_btn******** */
.common_white_btn {
    overflow: hidden;
    position: relative;
    z-index: 0;
    text-decoration: none;
    color: var(--primary) !important;
    ;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 1em;
    min-width: 15ch;
    padding: 0.7em 1.15em;
    border-radius: 2em;
    transition: opacity 0.3s cubic-bezier(0.2, 0, 0.1, 1), transform 0.3s cubic-bezier(0.2, 0, 0.1, 1), box-shadow 0.5s ease, color 0.5s ease, background 0.5s ease;
    will-change: box-shadow, color, transform, opacity, background;
    background: var(--white) !important;
    border: 2px solid var(--primary);
}

.common_white_btn:hover {
    color: var(--white) !important;
}

.common_white_btn.outlined {
    display: inline-flex;
    background: none;
    color: var(--white);
}

.common_white_btn:after,
.common_white_btn:before {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    top: 0;
    right: -50%;
    left: -50%;
    height: 0;
    padding-bottom: 200%;
    border-radius: 39%;
    border: unset;
    transition: transform 0s cubic-bezier(0.2, 0, 0.1, 1) 0.5s, opacity 0.5s cubic-bezier(0.2, 0, 0.1, 1);
    opacity: 0;
}

.common_white_btn:before {
    transform: translate3d(-10%, 4.8em, 0) rotate(330deg);
    background: linear-gradient(25deg, var(--primary), #86281c);
}

.common_white_btn:after {
    transform: translate3d(10%, 4.8em, 0) rotate(0deg);
    background: linear-gradient(70deg, var(--primary), #86281c);
}

.common_white_btn:hover,
.common_white_btn:focus {
    transition: opacity 0.3s cubic-bezier(0.2, 0, 0.1, 1), transform 0.3s cubic-bezier(0.2, 0, 0.1, 1), box-shadow 2s ease, color 1.5s ease, background 1s ease 0.75s;
    background: var(--primary);
    /* box-shadow: inset 0 0 0 0.1em var(--primary), 0 0 1.75em  #86281c; */
}

.common_white_btn:hover.outlined,
.common_white_btn:focus.outlined {
    color: var(--white);
}

.common_white_btn:hover:before,
.common_white_btn:hover:after,
.common_white_btn:focus:before,
.common_white_btn:focus:after {
    transition: transform 2s ease 0s, opacity 0.2s ease;
    opacity: 1;
}

.common_white_btn:hover:before,
.common_white_btn:focus:before {
    transform: translate3d(-10%, -1em, 0) rotate(100deg);
}

.common_white_btn:hover:after,
.common_white_btn:focus:after {
    transform: translate3d(10%, -1em, 0) rotate(180deg);
}


/* ***********button effect********* */
/* ***********donate now button blinking************* */
.blinking {
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.donate_button {
    background-color: #86281c;
    color: var(--white);
    /* border-radius: 5%; */
    background-color: #86281c;
    color: var(--white);
    border-radius: 6px;

}

.donate_button:hover {
    color: var(--white);

}

/* ***********donate now button blinking************* */

/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    /* letter-spacing: 5px; */

}

/* ********our programmes end********** */

.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    border-radius: 5px;
}

.service-item .service-text {
    background: #f8f8f8;
    transition: .5s;
    box-shadow: 1px 1px 10px 1px var(--primary);
    border-radius: 5px;

}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, .3);

}

.service-item * {
    transition: .5;
}

.service-item:hover * {
    color: var(--white);

}

.service-item:hover {
    background-color: #86281c96;
}

.service-item .btn {

    display: inline-flex;
    align-items: center;
    color: var(--primary);
    background: var(--white);
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
    border: 2px solid var(--primary);
}

.service-text {
    width: 100%;
}

.service-text ul {
    width: 100%;
    text-align: justify;
    word-break: break-all;
}

.icon_color {
    color: var(--primary);
}

.fa-plus:before {
    color: var(--primary);
}

.service-text i {
    color: var(--primary);
}

.service-text h5 {
    color: var(--primary);
}

.common_text li {
    font-size: 1rem;
    line-height: 1.9;
}

/* ********our programmes end********** */
/* ************************ */
/*** About & Feature ***/

.about-img img {
    position: relative;
    z-index: 2;
}

.about-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #4A1711, #882B1D, #C74433);
    ;
    transform: skew(20deg);
    z-index: 1;
}

/* ************our imapact************* */
.our-impact {
    position: relative;
    height: 350px;
    padding: 30px 25px;
    background: #FFFFFF;

    transition: .5s;
}

.our-impact:hover {
    background: var(--primary);
}

.our-impact .our-impact-icon {
    margin: 0 auto 20px auto;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    background: url('../img/ourimpact_brown.png') center center no-repeat;
    transition: .5s;
}

.our-impact:hover .our-impact-icon {
    color: var(--primary);
    background: url('../img/ourimpact_white.png');
}

.our-impact h5,
.our-impact p {
    transition: .5s;
}

.our-impact:hover h5,
.our-impact:hover p {
    color: var(--light);
}

.our-impact a.btn {
    position: relative;
    display: flex;
    color: var(--primary);
    transition: .5s;
    z-index: 1;
}

.our-impact:hover a.btn {
    color: var(--primary);
}

.our-impact a.btn::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    top: 0;
    left: 0;
    border-radius: 35px;
    background: #DDDDDD;
    transition: .5s;
    z-index: -1;
}

.our-impact:hover a.btn::before {
    width: 100%;
    background: var(--light);
}

.custom-border {
    border-top: 5px solid var(--primary);
    border-right: 1px solid var(--primary);
    border-bottom: 1px solid var(--primary);
    border-left: 1px solid var(--primary);
}

/* ***********latest event********************** */

/*** Blog Start ***/
.blog-carousel .owl-stage-outer {
    margin-top: 30px;
}

.blog-carousel .owl-nav .owl-prev,
.blog-carousel .owl-nav .owl-next {
    position: absolute;
    top: 1px;
    padding: 10px 35px;
    border: 1px solid var(--primary);
    color: var(--white);
    background: var(--primary);
    border-radius: 50px;
    transition: 0.5s;
}

.blog-carousel .owl-nav .owl-prev {
    left: 0 !important;
}

.blog-carousel .owl-nav .owl-next {
    right: 0;
}

.blog-carousel .owl-nav .owl-prev:hover,
.blog-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 100px 0 0 0 var(--primary) !important;
    color: var(--white) !important;
}

.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
    transition: 0.5s;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog-item {
    border: 2px solid var(--primary);
    border-radius: 5px;
}

.blog-img {
    height: 250px;
    /* Adjust to suit your design */
    overflow: hidden;
}

.blog-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/*** Blog End ***/

/* ***************latest event end****************** */
/*** gallery Start ***/
.gallery {
    columns: 3;
    column-gap: 1.5rem;
    width: 100%;
}

@media (max-width: 768px) {
    .gallery {
        columns: 2;
    }
}

@media (max-width: 480px) {
    .gallery {
        columns: 1;
    }
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: calc(var(--delay) * 0.2s);
}

.gallery-item:hover .overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, var(--primary), transparent);
    padding: 2rem 1.5rem;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.overlay h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.overlay p {
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.9;
}

.photo-credit {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: white;
    font-size: 0.8rem;
    opacity: 0.8;
    text-decoration: none;
}

.photo-credit:hover {
    opacity: 1;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: #00A89D;
    z-index: 1000;
    transition: width 0.3s ease;
}

/*** gallery End ***/
/*** Counter Facts Start ***/
.counter-facts {
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, 0.8)), url('../img/gallery_counter.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
}

.counter-facts .counter {
    position: relative;
    text-align: center;
    width: 200px;
    min-height: 215px;
    padding: 10px 15px;
    margin: 0 auto;
    border-radius: 100px;
    box-shadow: 0 8px 5px rgba(0, 0, 0, 0.2);
    background: var(--bs-white);
}

.counter-facts .counter:before {
    content: "";
    position: absolute;
    height: 105px;
    width: 100%;
    left: 0;
    top: 0;
    border-radius: 10px 10px 0 0;
    background-color: #521e18;

}

.counter-facts .counter .counter-icon {
    position: relative;
    width: 120px;
    height: 100px;
    margin: 0 auto 10px;
    border-radius: 10px 10px 0 0;
    transform: translateY(-20px);
    font-size: 50px;
    line-height: 90px;
    color: var(--white);
    background: #8d6d69;
    clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}

.counter-facts .counter .counter-icon:before {
    content: "";
    position: absolute;
    width: 120px;
    height: 90px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px 10px 0 0;
    background: #86281c;
    z-index: -1;
    clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}

.counter-facts .counter:hover .counter-icon i {
    transform: rotate(360deg);
    transition: all 0.3s ease;
}

.counter-facts .counter h3 {
    color: var(--primary);
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 5px 0;
}

.counter-facts .counter .counter-value {
    font-size: 23px;
    font-weight: 700;
    display: block;
    color: var(--bs-secondary);
}

@media screen and (max-width: 1200px) {
    .counter-facts .counter {
        margin-bottom: 40px;
    }
}

/*** Counter Facts End ***/
/* *******patners******** */
.patners {
    overflow: hidden;
}

.logos img {
    width: 200px;
    padding: 30px;
}

.patners .slider {
    animation: slidein 10s linear infinite;
    white-space: nowrap;
}

.patners .slider .logos {
    /* width: 100%; */
    display: inline-block;
    margin: 0px 0;
}

.patners .slider .logos .fab {
    width: calc(100% / 100);
    animation: fade-in 0.8s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

@keyframes slidein {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-100%, 0, 0);
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* ********about us page****************** */
.image-header {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.image-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(#84202900, #86281ce6);
    z-index: 1;
}

.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 2;
    text-align: center;
}

.breadcrumb-overlay {
    position: absolute;
    top: 20px;
    z-index: 2;
    width: max-content;
}

/* ********about us page end****************** */
/* **************who we are section********************/
.who_we_are {
    border: 12px solid var(--primary);
    border-radius: 6px;
}

/* *********ourfocus**************/
.our_focus {
    position: relative;
    overflow: hidden;
    background-color: var(--white);
}

.our_focus::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: -80px;
    right: -80px;
    border: 80px solid;
    transform: rotate(45deg);
    opacity: 1;
    transition: .9s;
}

.our_focus::after {
    border-color: transparent transparent var(--primary) transparent;
}

.our_focus p {
    text-align: justify;
    word-break: break-all;
}

.our_focus:hover::after {
    opacity: 0;
}

/* ************ourfocus end*******/
/* ******We ignite youth******* */

.inheight_youth_img {
    position: relative;
    height: 100%;
    min-height: 400px;
}


.inheight_youth_img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.inheight_youth_img img:last-child {
    margin: 20% 0 0 40%;
}

.inheight_youth_img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
}

/* ******We ignite youth******* */
/* *********our team start************* */
/*** Team Start ***/
.team .team-item {
    position: relative;
    padding: 0 25px 25px 25px;
    border-radius: 10px;
    transition: 0.5s;
}

.team .team-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    background: #ebebeb;
    border-radius: 10px;
    transition: 0.5s;
    z-index: -1;
    border: 2px solid var(--primary);
}

.team .team-item:hover::before {
    height: 0;
}

.team .team-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    transition: 0.5s;
    z-index: -1;
}

.team .team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team .team-item .team-img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    position: relative;
    margin-top: 50%;
    transform: translateY(-50%);
    margin-bottom: -50%;
    display: flex;
    justify-content: center;
    border: 4px solid var(--primary);
    border-style: dotted;
    padding: 4px;
    background: var(--white);
    transition: 0.5s;
}

.team .team-item:hover .team-img {
    border: 4px solid var(--white);
    border-style: dotted;
    background: 0;
}

.team .team-item .team-img img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    transition: 0.5s;
}

.team .team-item .team-title {
    padding: 25px 0 25px 0;
    text-align: center;
}

.team .team-item .team-title h4,
.team .team-item .team-title p {
    transition: 0.5s;
}

.team .team-item:hover .team-title h4,
.team .team-item:hover .team-title p {
    color: var(--white);
}

.team .team-item .team-icon {
    display: flex;
    justify-content: center;
}

.team .team-item .team-icon a {
    transition: 0.5s;
}

.team .team-item:hover .team-icon a {
    color: var(--primary);
    background: var(--white);
}

.team .team-item:hover .team-icon a:hover {
    color: var(--primary);
    background: var(--bs-dark);
}

.profile-card {
    text-align: center;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: var(--white);
    border: 2px solid var(--primary);
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: var(--primary);
    color: var(--white);
    border: 4px solid var(--white);
    border-style: dotted;
}

.profile-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.profile-image:hover {
    border: 4px solid var(--white);
    border-style: dotted;
}

.section-heading {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.ourteam_testimonial em {
    color: var(--primary);
}

/* Controls */
.ourteam_testimonial .carousel-control-next {
    margin: 0 3em;
}

.ourteam_testimonial i.fa-arrow-right,
.ourteam_testimonial i.fa-arrow-left {
    background: none;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px;
    border-radius: 100%;
    transition: background .6s ease;
}

.ourteam_testimonial i.fa-arrow-right:hover,
.ourteam_testimonial i.fa-arrow-left:hover {
    background: var(--primary);
    color: var(--white) !important;
}

/* Indicators */
.ourteam_testimonial .carousel-indicators {
    justify-content: flex-start;
    transform: translate(-40px, 50px);
}

.ourteam_testimonial .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    border: 2px solid var(--primary);
}

.ourteam_testimonial .carousel-indicators .active {

    background-color: var(--primary);
}

/* Control buttons */
.ourteam_testimonial .control-btn {
    position: absolute;
    top: 8px;
    right: 10em;
}

.ourteam_testimonial .carousel-control-next,
.ourteam_testimonial .carousel-control-prev {
    top: 1em;
    left: 3em;
}

.ourteam_testimonial .testimonial-text {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 20px;
}

.ourteam_testimonial .wow {
    position: relative;
    grid-column: span 2;
}

.ourteam_testimonial .carousel-landmark {
    grid-column: span 3;
}

.border-primary {
    border-color: #7e2d22d1 !important;
}

.our-team-latestnews img {
    transition: .5s;
}

.our-team-latestnews:hover img {
    transform: scale(1.1);
}

.our-team-latestnews .share-wrapper:hover .social-icons {
    display: flex !important;
}

.our-team-latestnews .share-wrapper .social-icons {
    top: 100%;
    right: 0;
    z-index: 10;
    gap: 0.5rem;
}

.our-team-latestnews .shadow {
    box-shadow: #7e2d228c !important;
}

.latest_news_bg {
    background-color: #a714011a !important;
}

.image-container {
    height: 470px;
}

.object-fit-cover {
    object-fit: cover;
}

.cursor-pointer {
    cursor: pointer;
}

.social-icons {
    z-index: 1050;
    /* ensure dropdowns appear above */
}

@media screen and (max-width: 576px) {
    .ourteam_testimonial .testimonial-text {
        margin-top: 50px;
        row-gap: 50px;

    }

    .ourteam_testimonial .wow {
        grid-column: span 5;
    }

    .ourteam_testimonial .carousel-landmark {
        grid-column: span 5;
    }
}

/*** our Team End ***/
/* ****gallery **** */
.gallery_img {
    width: 80%;
    column-count: 4;
    margin: 0 auto;
}

.gallery_img .grid-item img {
    width: 100%;
    height: auto;
    margin: 1em;
}

@media only screen and (max-width: 768px) {
    .gallery_img {
        column-count: 3;
    }
}

@media only screen and (max-width: 450px) {
    .gallery_img {
        column-count: 1;
    }
}

/* *****gallery******* */
/* *******our events start********/

.filter-buttons {
    text-align: center;
    margin-bottom: 30px;
}

.filter-buttons button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    background-color: #86281c;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
}

.filter-buttons button.active {
    background-color: gray;
}

.gallery_event {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.event-gallery-item {
    background-color: #86281c26;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    border: 2px solid #86281c;
}

.w-30 {
    width: 30% !important;
}

.event-gallery-item img {
    width: 100%;
    height: 400px !important;
    object-fit: cover !important;
}

.event_img img {
    object-fit: contain !important;
    width: 100%;
    height: 400px !important;
}

.news_img img {
    object-fit: contain !important;
    width: 100%;
    height: 400px !important;
}

.event-gallery-item .content {
    padding: 15px;
}

.event-gallery-item .content h3 {
    margin: 0 0 10px;
}

.event-gallery-item .content button {
    padding: 8px 16px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .event-gallery-item .content h3 {
        font-size: 16px;
    }
}

.hidden {
    display: none;
}

.filter-menu {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.hamburger {
    display: none;
    background-color: #86281c;
    color: white;
    padding: 10px 20px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .hamburger {
        display: inline-block;
    }

    .filter-buttons {
        display: none;
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .filter-buttons.show {
        display: flex;
    }

    .filter-buttons button {
        width: 100%;
    }
}

/* ********our event end **************/
/* *************donate**************** */
.donate-card {
    max-width: 600px;
}

.donate-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.donate-img-col {
    max-width: 200px;
}

/* *************donate**************** */
.horizontal-card {
    max-width: 100%;
}

.card-img-right {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

.image-col {
    max-width: 300px;
}

@media (max-width: 768px) {
    .image-col {
        max-width: 100%;
    }

    .card-img-right {
        border-radius: 0 0 0.375rem 0.375rem;
    }
}

.donate_now_list ul li {
    list-style: none;
    position: relative;
    padding: 0 0 0 20px;
    line-height: 2.4;
    font-weight: 500;
}

.donate_now_list ul.square li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    background-color: var(--primary);
}

/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}

.contact_us .icon-box {
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s, color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

/*** Contact ***/
/* ******social media  iframecode******** */
  .scrollable-embed {
    height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
  }
/* *******social media iframecode******* */
/*** awards Start ***/
.award_recognition .tab-class .tab-content .tab-pane .award_recognition_img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    z-index: 1;
}

.award_recognition .tab-class .tab-content .tab-pane .award_recognition_img .destination-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    z-index: 3;
    transition: 0.5s;
}

.award_recognition .tab-class .tab-content .tab-pane .award_recognition_img .search-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    display: flex;
    justify-content: end;
    padding: 20px 20px 0 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: 0.5s;

}

.award_recognition .tab-class .tab-content .tab-pane .award_recognition_img .search-icon a i {
    opacity: 0;
    transition: 0.5s;
}

.award_recognition .tab-class .nav-item {
    padding: 0 0 20px 0;
}

.award_recognition .tab-class .nav-item a.active {
    background: var(--primary) !important;
}

.award_recognition .tab-class .nav-item a.active span {
    color: var(--white) !important;
}

.award_recognition .tab-class .tab-content .award_recognition_img:hover .search-icon {
    background: rgba(19, 53, 123, 0.4);
}

.award_recognition .tab-class .tab-content .award_recognition_img:hover .destination-overlay {
    bottom: 0;
}

.award_recognition .tab-class .tab-content .award_recognition_img:hover .search-icon a i {
    opacity: 1;
}

.award_recognition .tab-class .tab-content .award_recognition_img img {
    transition: 0.5s;
}

.award_recognition .tab-class .tab-content .award_recognition_img:hover img {
    transform: scale(1.2);
}

/*** award End ***/

/* ***********learn more*************** */

.news_images img {
    width: 100%;
    height: 300px;
    object-fit: contain;
}

.common_learnmore_img img {
    width: 500px;
    max-height: 500px;
    object-fit: cover;
}

.common_learnmore_img p {
    text-align: justify;
    word-break: break-all;
}



/* ***********learn more*************** */

/* **********media query********** */
@media (max-width: 1062px) and (min-width: 652px) {
    .navbar .navbar-nav .nav-link {
        font-size: 13px;
    }
}