/********** Template CSS **********/
:root {
    --bs-tertiary: #797E88;
}

body {
    padding: 0;
    margin: 0;
    font-family: "Poppins", sans-serif !important;
    overflow-x: hidden !important;
}

.gray_text {
    color: #797e88;
}

a:hover {
    color: #5db9ec;
}

.bg-primary {
    background-color: #5db9ec !important;
}

.bg-secondary {
    background-color: #69c4f8 !important;
}

.btn-primary {
    color: #000;
    background-color: #69c4f8;
    border-color: #5db9ec;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-normal {
    font-weight: 400 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Top Bar ***/
.top-bar {
    height: 90px;
    padding: 0 90px;
}

.top-bar h6 {
    letter-spacing: 1px;
}


/*** Nav Bar ***/
.nav-bar {
    padding: 0 90px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 20px 0;
    color: var(--bs-dark);
    font-size: 18px;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-white);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 20px;
        border-top: 1px solid var(--bs-white);
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/* ******on scroll add logo css******* */
.scroll-logo {
    display: none;
    align-items: center;
    margin-right: 15px;
}

.scroll-logo img {
    height: 42px;
    transition: all 0.3s ease;
}

/* Show logo on scroll */
.navbar.scrolled .scroll-logo {
    display: flex;
}

/* Mobile responsive */
@media (max-width: 991px) {
    .scroll-logo img {
        height: 36px;
    }
}

/* ******on scroll add logo css*********/
/*** Header Carousel ***/
.header-carousel {
    position: relative;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.header-carousel .carousel-img {
    position: relative;
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--bs-dark);
    background: #228fc0;
}

.page-header {
    background: url(../img/bg_top.jpg) center center no-repeat;
    background-size: cover;
    position: sticky;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #228fc0;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: #228fc0;
}

.page-header .breadcrumb-item.active {
    color: var(--bs-dark);
}

.text-primary {
    color: #228fc0 !important;
}

a {
    color: #228fc0;
}

.btn-secondary {
    color: #fff;
    background-color: #228fc0;
    border: none;
}

.btn-secondary:hover {
    color: #fff;
    background-color: #000000;
    border: none;
}

/*** Video ***/
.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: rgb(187, 12, 12);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: rgb(187, 12, 12);
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: rgb(187, 12, 12);
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--bs-white);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: var(--bs-white);
    background: #000000;
    opacity: 1;
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-size: 1.5em;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 0px;
    top: 5px;
    left: -40px;
    border-top: 2px solid #000;
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 0px;
    bottom: 6px;
    left: -60px;
    border-bottom: 2px solid #000;
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}

/* *****inspiration***** */

.testimonial-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.10);
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.15);
}

.quote-icon {
    font-size: 55px;
    color: #0d6efd;
    opacity: 0.15;
    position: absolute;
    top: 10px;
    left: 20px;
}

.testimonial-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #0d6efd;
    margin-bottom: 20px;
    transition: 0.3s;
}

.testimonial-card:hover .testimonial-img {
    transform: scale(1.05);
}

.testimonial-message {
    font-size: 1.05rem;
    font-style: italic;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000;
}

.testimonial-role {
    font-size: 0.9rem;
    color: #666;
}

/* *****inspiration******** */

/*** About ***/
.about-img {
    position: relative;
}

.about_info p {
    text-align: justify;
    word-break: break-all;
}

.about-img::before,
.about-img::after {
    position: absolute;
    content: "";
    width: 33%;
    height: 90px;
    background: var(--bs-white);
}

.about-img::before {
    top: 0px;
    left: 0px;
}

.about-img::after {
    right: 0px;
    bottom: 0px;
}


/*** Service ***/
.service-title {
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.service-item {
    overflow: hidden;
}

.service-item .btn-square {
    width: 65px;
    height: 65px;
}

.service-item a {
    position: relative;
    padding: 0;
    font-size: 14px;
    line-height: 14px;
    text-transform: uppercase;
    transition: .5s;
}

.service-item a::after {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    left: 100%;
    bottom: 3px;
    margin-left: 10px;
    border-bottom: 2px solid #2196f3;
}


/*** Donation ***/
.donation-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
}

.donation-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.donation-item .donation-progress {
    width: 80px;
}

.donation-item .progress .progress-bar {
    height: 20px;
    overflow: visible;
    transition: 3s;
}


/*** Banner ***/
.banner .banner-inner {
    position: relative;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.banner .banner-inner::before,
.banner .banner-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
}

.banner .banner-inner::before {
    top: 0;
    left: 0;
    border-top: 150px solid var(--bs-primary);
    border-right: 150px solid transparent;
}

.banner .banner-inner::after {
    right: 0;
    bottom: 0;
    border-bottom: 150px solid var(--bs-secondary);
    border-left: 150px solid transparent;
}

.border-primary {
    border-color: #228fc0 !important;
}

/*** Event ***/
.event-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
}

.event-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

/* ******* */
/* **home page about section***** */
/* --- SECTION BASE --- */
.vm-section {
    position: relative;
    padding: 100px 20px;
    background: url('../img/about_vision.jpg') center/cover no-repeat;
    background-attachment: fixed;
    /* parallax effect */
    text-align: center;
    color: #fff;
}

/* --- CONTAINER --- */
.vm-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

/* --- CARD STYLE --- */
.vm-card {
    background: rgb(255 255 255 / 66%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
    padding: 30px 20px;
    width: 500px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    opacity: 0;
    transform: translateY(50px);
}

/* --- CARD HOVER EFFECT --- */
.vm-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.3);
}

/* --- ICON --- */
.vm-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: #228fc0;
    /* bright color for kids */
}

/* --- HEADINGS AND TEXT --- */
.vm-card h2 {
    font-size: 26px;
    margin-bottom: 10px;
    font-weight: 700;
}

.vm-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    text-align: justify;
    word-break: break-all;
    hyphens: auto;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .vm-container {
        flex-direction: column;
        align-items: center;
    }

    .vm-card {
        width: 90%;
    }
}

/* ***home page about section*****/
/* *****heading slogan css********/
.typing-text {
    /* font-family: cursive; */
    font-family: 'Baloo 2', cursive;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    white-space: normal;
    padding: 50px;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: #000;
    margin-left: 4px;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* *****heading slogan css********/
/* ******gallery page********* */
.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s;
    border-radius: 8px;
}

.gallery-img:hover {
    transform: scale(1.05);
}

.modal-img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.modal-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    user-select: none;
    border-radius: 50%;
}

.modal-navigation.left {
    left: 10px;
}

.modal-navigation.right {
    right: 10px;
}

/* ****gallery page******** */
/* *****donate****** */
.donate_section .hover-zoom:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.donate_section .card {
    border-radius: 15px;
}

.donate_section .card-title {
    color: #333;
}

.donate_section .card-text {
    color: #555;
}

.hover-lift:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* ******donate******** */
/* **home page event section******** */
/* Card Styles */
.event_home .card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.event_home .card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.2);
}

.event_home .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img-top {
    transform: scale(1.1);
}

.event_home .card-body {
    background: #ffffff;
    padding: 20px;
}

.event_home .card-title {
    color: #2980b9;
    font-weight: 600;
    transition: color 0.3s;
}

.event_home .card:hover .card-title {
    color: #000;
}

.event_home .card-date {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.event_home .card-text {
    font-size: 15px;
    line-height: 1.5;
}

.event_home .btn-animated {
    transition: all 0.3s ease;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .event_home .card-img-top {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .event_home .card-img-top {
        height: 150px;
    }
}

/* **home page event page************* */
/* *****patners logo********* */
.partners-section {
    padding: 0px 0px 40px 0px;
    background-color: #ffffff;
}

.partners-container {
    overflow: hidden;
    position: relative;
}

.partners-track {
    display: flex;
    width: calc(250px * 12);
    /* Number of logos x logo width */
    animation: scroll 20s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
    /* Pause on hover */
}

.partner-logo {
    flex: 0 0 200px;
    margin: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.partner-logo img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

.partner-logo:hover {
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments */
@media(max-width: 768px) {
    .partner-logo {
        flex: 0 0 150px;
        margin: 0 15px;
    }
}

@media(max-width: 576px) {
    .partner-logo {
        flex: 0 0 120px;
        margin: 0 10px;
    }
}

.donate_mobile {
    display: none;
}

/* *******mobile view****** */

@media (max-width: 320px) {
    .donate_mobile {
        display: block !important;
    }

    .nav-bar {
        padding: 0px !important;
    }

    body {
        overflow-x: hidden !important;
    }
    .section-title {
        font-size: 1em !important;
    }
}

@media (max-width: 375px) {
    .donate_mobile {
        display: block !important;
    }

    .nav-bar {
        padding: 0px !important;
    }

    body {
        overflow-x: hidden !important;
    }
    .section-title {
        font-size: 1em !important;
    }
}

@media (max-width: 425px) {
    .donate_mobile {
        display: block !important;
    }

    .nav-bar {
        padding: 0px !important;
    }

    body {
        overflow-x: hidden !important;
    }
    .section-title {
        font-size: 1em !important;
    }
}

@media (max-width:768px) {
    .donate_mobile {
        display: block !important;
    }

    body {
        overflow-x: hidden !important;
    }

    .section-title {
        font-size: 1em !important;
    }
}

/* *******mobile view****** */
/* ****patners logo******** */
/*** Team ***/

.profile-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    text-align: center;
    max-width: 320px;
    margin: auto;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.profile-top {
    height: 100px;
    border-bottom-left-radius: 120px;
    border-bottom-right-radius: 120px;
    position: relative;
}

.profile-img-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    background: white;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.profile-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-body {
    padding: 90px 20px 1px;
    flex-grow: 1;
    /* Makes the body area expand to fill height */
}

.profile-name {
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #222;
}

.profile-role {
    font-weight: 400;
    font-size: 1rem;
    color: #666;
    margin-bottom: 25px;
}

/* Responsive */
@media (max-width: 576px) {
    .profile-card {
        max-width: 100%;
        margin-bottom: 30px;
    }
}

/*** Testimonial ***/

/* ******home page modle****** */
/* Fix navbar shifting when modal opens */
body.modal-open {
    overflow: hidden !important;
    padding-right: 0 !important;
}

/* Prevent modal from adding padding */
.modal-open .navbar,
.modal-open .nav-bar,
.modal-open .navbar-collapse {
    padding-right: 0 !important;
    margin-right: 0 !important;
}

/* Prevent body shift in all devices */
html.modal-open {
    padding-right: 0 !important;
}

/* Make modal image fully responsive */
.popup-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

/* Mobile view fixes */
@media (max-width: 480px) {
    .modal-dialog {
        margin: 10px !important;
        width: 95% !important;
    }

    .modal-content {
        border-radius: 10px !important;
    }

    .btn-close {
        transform: scale(1.2);
    }
}

/* ******home page modle****** */
/*** Footer ***/
.footer {
    color: var(--bs-tertiary);
    background: linear-gradient(rgba(5, 19, 17, .95), rgba(5, 19, 17, .95)), url(../img/bg-footer.jpg) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-tertiary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

/* ********donate button css****** */
.donate {
    color: #000;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    background-color: #ffff;
    padding: 8px 20px;

}

/* Heart Shape */
.heart {
    width: 18px;
    height: 18px;
    position: relative;
    display: inline-block;
    transform-origin: center;
    animation: flip 2s infinite ease-in-out, fill 3s infinite linear;
}

/* Heart parts */
.heart::before,
.heart::after {
    content: "";
    width: 18px;
    height: 18px;
    background: transparent;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    background: #ffcccc;
    transition: 0.3s;
}

.heart::before {
    left: -10px;
}

.heart::after {
    top: -10px;
}

/* Auto Filling Animation */
@keyframes fill {
    0% {
        background: #ffcccc;
    }

    50% {
        background: #ff4d4d;
    }

    100% {
        background: #ffcccc;
    }
}

/* Heart Flip Animation */
@keyframes flip {
    0% {
        transform: rotateY(0deg);
    }

    50% {
        transform: rotateY(180deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

/* ***floating icon******** */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

/* *****floating icon******** */

/* Full responsive half-screen height */
.header-carousel .container {
    height: 70vh;
    /* half screen */
    display: flex;
    align-items: center;
}

/* Make images cover half height */
.header-carousel img {
    height: 50vh;
    object-fit: cover;
    border-radius: 10px;
}

/* Text alignment fix for mobile */
@media (max-width: 768px) {
    .header-carousel .container {
        height: auto;
        padding: 60px 20px;
    }

    .header-carousel img {
        height: 250px;
        /* mobile friendly */
    }
}