:root {
    --bs-primary: #00d492;
    --bs-primary-rgb: 0, 212, 146;

    --bs-secondary: #005a3d;
    --bs-secondary-rgb: rgb(0, 90, 61);

    --bs-middle: #00d49146;
    --nav-color: #005a3d;
}


.btn-primary {
    background-color: var(--bs-primary) !important;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}

.btn-secondary {
    background-color: transparent !important;
    backdrop-filter: blur(8px);
    border: 2px #fff solid;
}

.btn-outline-secondary {
    --bs-btn-color: var(--bs-secondary);
    --bs-btn-border-color: var(--bs-secondary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-secondary);
    --bs-btn-hover-border-color: var(--bs-secondary);
    --bs-btn-focus-shadow-rgb: 108, 117, 125;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-secondary);
    --bs-btn-active-border-color: var(--bs-secondary);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--bs-secondary);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--bs-secondary);
    --bs-gradient: none;
}

#main-nav {
    background-color: var(--nav-color);
}

.top-header {
    background-color: var(--bs-secondary);
    font-size: 16px;
    color: var(--bs-primary);
}

.top-header a {
    text-decoration: none;
}

.top-header .social-icons {
    font-size: 18px;
}

.top-header .social-icons a i {
    color: var(--bs-primary);
}

.navbar .nav-link {
    font-weight: 500;
    margin-left: 15px;
    color: var(--bs-primary);
}

.navbar .nav-link:hover {
    color: var(--bs-light);
}

.navbar .nav-item .nav-link.active {
    background-color: var(--bs-primary);
    color: var(--bs-light);
    border-radius: 50rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;

}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: var(--bs-primary);
}

.dropdown-menu {
    --bs-dropdown-color: var(--bs-light);
    --bs-dropdown-bg: var(--nav-color);
    --bs-dropdown-link-color: var(--bs-primary);
    --bs-dropdown-link-hover-color: var(--bs-light);
    --bs-dropdown-link-hover-bg: var(--bs-primary);
    --bs-dropdown-link-active-color: var(--bs-light);
    --bs-dropdown-link-active-bg: var(--bs-primary);
}


/* Button animation */
.btn-donate {
    animation: pulseDonate 2s infinite;
    padding-left: 5px;
    padding-right: 5px;
}

/* Pulse Animation */
@keyframes pulseDonate {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--bs-primary-rgb), 0.6);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(var(--bs-primary-rgb), 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(var(--bs-primary-rgb), 0);
    }
}

/* Icon Bounce */
.btn-donate i {
    animation: singleBeat 2s infinite ease-in-out;

    background-color: var(--bs-light);
    color: var(--bs-primary);

    width: 34px;
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
}

/* One Beat Only */
@keyframes singleBeat {
    0% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.35);
    }

    /* beat */
    30% {
        transform: scale(1);
    }

    /* back to normal */
    100% {
        transform: scale(1);
    }

    /* rest period */
}


.offcanvas {
    border-radius: 1rem 0 0 1rem;
    width: 80% !important;
}

.offcanvas-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mobile-contact {
    margin-top: auto !important;
}

.offcanvas .navbar-nav .nav-item .nav-link {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.offcanvas .navbar-nav .nav-item .nav-link.active {
    background-color: var(--bs-middle);
    color: var(--bs-secondary);
    border-radius: 10rem 50rem 50rem 10rem;
    font-weight: bold;
}



/* slider start */
.slider-image {
    height: 80vh;
    object-fit: cover;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
}

.carousel-caption h1,
.carousel-caption p {
    color: #fff;
}

.carousel-item {
    position: relative;
}


.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: transparent;
    backdrop-filter: blur(8px);
    border-radius: 50%;
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.479);
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(0);
    color: var(--bs-light);
    width: 20px;
    height: 20px;
}

/* Hover Effect */
.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: transparent;
    background: var(--bs-light);
    border: 2px solid #ffffff;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    filter: invert(1);
}


.carousel-indicators {
    position: absolute;
    top: 40px;
    right: 40px;
    left: auto;
    bottom: auto;
    margin: 0;
    justify-content: flex-end;
}


.carousel-indicators [data-bs-target] {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #ffffff;
    opacity: 0.6;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    opacity: 1;
    background-color: #ffffff;
    transform: scale(1.2);
}

.carousel-indicators [data-bs-target]:hover {
    opacity: 1;
}


/* slider end */

/* About Start */
.about-image {
    position: relative;
    border-radius: 20px;
}

/* Desktop Only */
@media (min-width: 992px) {

    .about-image {
        perspective: 1000px;
    }

    .about-image img {
        transition: transform 0.6s ease, filter 0.4s ease;
        transform-style: preserve-3d;
    }

    .about-image:hover img {
        transform: scale(1.08) rotateY(-10deg);
        filter: brightness(0.9);
    }
}

/* Mobile & Tablet */
@media (max-width: 991px) {

    .about-image {
        overflow: hidden;
    }

    .about-image img {
        transition: transform 0.4s ease;
        transform: scale(1);
        /* normal by default */
    }

    .about-image:active img {
        transform: scale(1.1);
        /* scale when tapped */
    }
}

.more-button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}

.more-button {
    width: 12rem;
    height: auto;
}

.more-button .circle {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: relative;
    display: block;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: var(--bs-secondary);
    border-radius: 1.625rem;
}

.more-button .circle .icon {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: var(--bs-light);
}

.more-button .circle .icon.arrow {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    left: 0.625rem;
    width: 1.125rem;
    height: 0.125rem;
    background: none;
}

.more-button .circle .icon.arrow::before {
    position: absolute;
    content: "";
    top: -0.29rem;
    right: 0.0625rem;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid var(--bs-light);
    border-right: 0.125rem solid var(--bs-light);
    transform: rotate(45deg);
}

.more-button .button-text {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 0;
    margin: 0 0 0 1.85rem;
    color: #282936;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
}

.more-button:hover .circle {
    width: 100%;
}

.more-button:hover .circle .icon.arrow {
    background: var(--bs-light);
    transform: translate(1rem, 0);
}

.more-button:hover .button-text {
    color: var(--bs-light);
}

/* About End */


/* Statistics Start */
.stats-section {
    background: var(--bs-middle);
}

.stat-card {
    background: var(--bs-light);
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(13, 110, 253, 0.1);
    color: var(--bs-secondary);
    font-size: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: 0.4s;
}

.stat-card:hover .stat-icon {
    background: var(--bs-secondary);
    color: var(--bs-light);
    transform: rotate(10deg) scale(1.1);
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-text {
    color: #6c757d;
    font-size: 15px;
}

/* Statistics End */

/* Project Start */
.project-section {
    background: #f8f9fa;
}

.project-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    background-color: var(--bs-middle);
}

.project-img {
    overflow: hidden;
}

.project-img img {
    transition: transform 0.6s ease;
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-content {
    padding: 20px;
}

.project-desc {
    /* color: #6c757d; */
    font-size: 14px;
    margin-bottom: 20px;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-buttons {
    display: flex;
    gap: 10px;
}

.project-buttons .btn {
    flex: 1;
    text-align: center;
}

/* Project End */


/* Partnesr Start */
.partners-section {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 80px 0;
    overflow: hidden;
}

.partners-title {
    text-align: center;
    margin-bottom: 50px;
}

.partners-wrapper {
    overflow: hidden;
    position: relative;
}


.partners-track {
    display: flex;
    gap: 40px;
    will-change: transform;
}


.partner-item {
    flex: 0 0 200px;
    height: 130px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.partner-item img {
    max-width: 100px;
    max-height: 50px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: 0.4s ease;
}

.partner-name {
    font-size: 14px;
    margin-top: 10px;
    color: var(--bs-secondary);
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.4s ease;
}

/* Hover Effect */

.partner-item:hover {
    background: var(--bs-middle);
    /* transform: translateY(-8px); */
}

.partner-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.partner-item:hover .partner-name {
    opacity: 1;
    transform: translateY(0);
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 768px) {
    .partner-item {
        flex: 0 0 160px;
        height: 110px;
    }
}

/* Partnesr End */


/* Footer section Start */
.top-footer {
    position: relative;
    background-color: var(--bs-middle);
}

.top-footer::after {
    content: '';
    height: 50px;
    width: 80%;
    position: absolute;
    bottom: -27px;
    left: 50%;
    transform: translate(-50%);
    backdrop-filter: blur(15px);
    border-radius: 50rem;
    border-bottom: 2px dashed var(--bs-light);
    /* border-top: 2px solid var(--bs-secondary); */
}

.footer-section {
    background: var(--bs-secondary);
    color: var(--bs-light);
    padding: 80px 0 40px;
    font-size: 15px;
}

.footer-logo h4 {
    color: var(--bs-light);
    font-weight: 700;
}

.logo-icon {
    font-size: 32px;
    color: var(--bs-primary);
}

.footer-text {
    line-height: 1.8;
    color: var(--bs-light);
}


.footer-title {
    color: var(--bs-light);
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.footer-title::after {
    content: "";
    width: 40px;
    height: 2px;
    background: var(--bs-primary);
    display: block;
    margin-top: 8px;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: var(--bs-light);
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--bs-primary);
    padding-left: 6px;
}

/* CONTACT ICON */
.footer-contact i {
    color: var(--bs-primary);
    margin-right: 8px;
}

/* SOCIAL */
.footer-social a {
    width: 45px;
    height: 45px;
    background: var(--bs-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: var(--bs-light);
    transition: 0.3s;
}

.footer-social a:hover {
    background: var(--bs-primary);
    color: var(--bs-secondary);
    transform: translateY(-5px);
}

/* BADGE */
.reg-badge {
    background: var(--bs-primary);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--bs-light);
}

.footer-bottom {
    border-top: 1px solid var(--bs-middle);
    font-size: 14px;
}

.highlight a {
    color: var(--bs-primary);
    font-weight: 600;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 0;
    width: 80px;
    height: 60px;
    background: var(--bs-primary);
    color: var(--bs-light);
    border-radius: 0 50rem 50rem 0;

    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 22px;

    font-size: 28px;
    box-shadow: 0 8px 25px var(--bs-secondary);
    z-index: 999;

    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Glow Pulse Ring */
.whatsapp-float::before {
    content: "";
    position: absolute;
    right: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bs-secondary);
    animation: pulse 2s infinite;
    z-index: -1;
}

/* Expand on Hover */
.whatsapp-float:hover {
    width: 190px;
    box-shadow: 0 10px 30px var(--bs-secondary);
}

/* Add Text */
.whatsapp-float span {
    white-space: nowrap;
    margin-right: 15px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transition: 0.4s ease;
}

.whatsapp-float:hover span {
    opacity: 1;
}

/* Icon Bounce */
.whatsapp-float i {
    transition: 0.3s ease;
}

.whatsapp-float:hover i {
    transform: scale(1.15);
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    70% {
        transform: scale(1.6);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}


/* BACK TO TOP */
.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    /* Above WhatsApp */
    width: 55px;
    height: 55px;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);

    z-index: 999;
}

.back-to-top::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    z-index: -1;
}


.arrow-wrapper {
    font-size: 22px;
    color: var(--bs-primary);
    transition: 0.3s;
}


.back-to-top:hover {
    transform: translateY(-6px);
}

.back-to-top:hover .arrow-wrapper {
    color: #ffffff;
}


.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* Footer section End */


/* About Page start */
.who-image {
    position: relative;
    border-radius: 20px;
}

/* Desktop Only */
@media (min-width: 992px) {

    .who-image {
        perspective: 1000px;
    }

    .who-image img {
        transition: transform 0.6s ease, filter 0.4s ease;
        transform-style: preserve-3d;
    }

    .who-image:hover img {
        transform: scale(1.08) rotateY(10deg);
        filter: brightness(0.9);
    }
}

/* Mobile & Tablet */
@media (max-width: 991px) {

    .who-image {
        overflow: hidden;
    }

    .who-image img {
        transition: transform 0.4s ease;
        transform: scale(1);
        /* normal by default */
    }

    .who-image:active img {
        transform: scale(1.1);
        /* scale when tapped */
    }
}

.hover-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hover-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.25);
}

/* About Page end */

/* Affiliation Page start */
.affiliation-card img {
    height: 220px;
    object-fit: cover;
    transition: 0.4s ease;
}

.affiliation-card:hover img {
    transform: scale(1.05);
}

.affiliation-card {
    transition: 0.3s ease;
}

.affiliation-card:hover {
    transform: translateY(-5px);
}


/* Lightbox effect using simple modal */
.affiliation-card .zoom-link {
    display: block;
}

.custom-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 35px;
    color: #fff;
    background: var(--bs-primary);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    z-index: 1055;
    line-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-close:hover {
    background: var(--bs-secondary);
}


/* Affiliation Page end */

/* Projects page start */


.project-img {
    height: 220px;
    object-fit: cover;
    transition: 0.4s ease;
}

.project-card {
    transition: 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px var(--bs-middle);
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.status-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 20px;
}

.project-tabs .nav-link {
    background: var(--bs-middle);
    margin: 0 6px;
    color: #333;
    font-weight: 500;
}

.project-tabs .nav-link.active {
    background: var(--bs-secondary);
    color: #fff;
}

/* Projects page end */

/* Gallery page start */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    transition: 0.4s;
}

.gallery-card img {
    transition: 0.4s;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #fff;
    opacity: 0;
    transition: 0.4s;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-tabs .nav-link {
    background: #f5f5f5;
    color: #333;
    margin: 0 5px;
    transition: 0.3s;
}

.gallery-tabs .nav-link.active {
    background: var(--bs-primary);
    color: #fff;
}

/* Gallery page end */

/* Contact us start */

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    transition: all 0.4s ease;
}

.contact-info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    flex-shrink: 0;
}

.info-content h6 {
    font-weight: 600;
    margin-bottom: 6px;
}

.info-content p {
    margin: 0;
    color: #555;
}

.info-content a {
    text-decoration: none;
    transition: 0.3s;
}

.info-content a:hover {
    color: #000;
}

.contact-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: 0.4s ease;
}

.contact-card i {
    font-size: 28px;
    margin-bottom: 15px;
}

.contact-card h5 {
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Form Card */
.form-card {
    background: #fff;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.form-control {
    border-radius: 12px;
    padding: 12px 15px;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, .15);
}

/* Map */
.map-wrapper iframe {
    display: block;
}

/* Contact us end */


/* Members page Start */
.members {
    position: relative;
    overflow: hidden;
    padding: 30px 20px;
    border-radius: 18px;
    border: 2px solid var(--bs-primary);
    transition: all 0.3s ease;
    height: 100%;
}

.members::before,
.members::after {
    content: "";
    position: absolute;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(10px);
    z-index: 0;
}

.members::before {
    top: -40px;
    right: -40px;
    background: var(--bs-primary);
}

.members::after {
    bottom: -40px;
    left: -40px;
    background: var(--bs-middle);
}

.members>* {
    position: relative;
    z-index: 1;
}


.members:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.members-img img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f8f9fa;
}

.members-name {
    font-weight: 700;
    color: var(--bs-primary);
    margin-bottom: 4px;
}

.members-role {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 18px;
}

.members-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    font-size: 14px;
    color: #555;
}

.info-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.info-box i {
    font-size: 14px;
    color: var(--bs-secondary);
}


/* Members page End */

/* Volunteer Page start */

.volunteer-info h2 {
    font-size: 32px;
}

.volunteer-points {
    list-style: none;
    padding: 0;
}

.volunteer-points li {
    margin-bottom: 12px;
    font-size: 15px;
    color: #555;
}

.volunteer-points i {
    margin-right: 8px;
}

.volunteer-form-card {
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--bs-primary);
}

.volunteer-form-card .form-control,
.volunteer-form-card .form-select {
    border-radius: 10px;
    padding: 10px 14px;
}

.volunteer-form-card .form-control:focus,
.volunteer-form-card .form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
    border-color: var(--bs-primary);
}

/* Volunteer Page end */

/* Verify Volunteer page start */
.verify-points {
    list-style: none;
    padding: 0;
}

.verify-points li {
    margin-bottom: 12px;
    font-size: 15px;
    color: #555;
}

.verify-points i {
    margin-right: 8px;
}

.verify-form-card {
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--bs-primary);
}

.verify-form-card .form-control {
    border-radius: 10px;
    padding: 10px 14px;
}

.verify-form-card .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
    border-color: var(--bs-primary);
}


/* Verify Volunteer page end */

/* Donate page start */
.donate-card {
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--bs-primary);
    height: 100%;
}

.qr-box img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.bank-details div {
    margin-bottom: 10px;
    color: #555;
}

.donate-form-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--bs-primary);
}

.donate-form-card .form-control,
.donate-form-card .form-select {
    border-radius: 10px;
    padding: 10px 14px;
}

.donate-form-card .form-control:focus,
.donate-form-card .form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
    border-color: var(--bs-primary);
}

/* Donate page end */

/* Project details page start */
.project-details-section {
    background: #f8f9fa;
}

.project-top h2 {
    font-size: 28px;
}

.project-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 18px;
    border: 1px solid #f1f1f1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.gallery-item {
    height: 220px;
    /* Same height for all */
    overflow: hidden;
    border-radius: 14px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Crop properly */
    transition: 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}


.project-sidebar {
    position: sticky;
    top: 100px;
}

.fund-card,
.donate-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 18px;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.amount-block {
    display: flex;
    flex-direction: column;
}

.raised {
    font-size: 24px;
    font-weight: 700;
    color: var(--bs-primary);
}

.progress-custom {
    height: 10px;
    border-radius: 50px;
    background: #eee;
}

.progress-custom .progress-bar {
    background: var(--bs-primary);
    border-radius: 50px;
}

.qr-wrapper img {
    width: 200px;
    border-radius: 12px;
}

/* Project details page end */