
/* ==========================================
   HOME IMPACT & SHOWCASE SECTIONS
   Nirmala Foundation Theme
========================================== */

.home-impact-section,
.home-showcase-section {
       padding: 55px 0;
    background-image: url('../../impact.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: scroll;
    overflow: hidden;
}

.home-showcase-section {
    background: #fff;
}

.home-events-section {
    background: #d8d6da;
}

.home-internship-section {
    background: #fff;
}

/* Section Heading */

.home-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}

.home-section-label {
    display: inline-block;
    color: #f57c00;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 7px;
}

.home-section-heading h2 {
    color: #0b1f70;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 7px;
}

.home-section-heading p {
    color: #657087;
    font-size: 14px;
    margin: 0;
}

/* Buttons */

.home-outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 18px;
    border: 2px solid #0b1f70;
    border-radius: 10px;
    color: #0b1f70;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: .3s ease;
}

.home-outline-btn:hover {
    background: #0b1f70;
    color: #fff;
    transform: translateY(-2px);
}

/* Impact Statistics */

.home-impact-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.home-impact-stat {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 22px 17px;
    border-radius: 15px;
    border: 1px solid transparent;
    background: #fff;
    transition: .3s ease;
}

.home-impact-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(11,31,112,.09);
}

.home-impact-stat.blue {
    background: #edf5ff;
    border-color: #d6e6ff;
    color: #2167bd;
}

.home-impact-stat.green {
    background: #edf8f1;
    border-color: #d8eddf;
    color: #247446;
}

.home-impact-stat.orange {
    background: #fff4eb;
    border-color: #ffe2cc;
    color: #d56815;
}

.home-impact-stat.purple {
    background: #f5efff;
    border-color: #e7dafa;
    color: #5420a1;
}

.home-impact-icon {
    width: 55px;
    min-width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.8);
    font-size: 24px;
}

.home-impact-stat small {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.home-impact-stat h3 {
    font-size: 27px;
    font-weight: 800;
    margin: 3px 0 0;
    color: inherit;
}

/* Impact Bottom */

.home-impact-bottom {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 18px;
}

.home-project-card,
.home-impact-highlight {
    background: #fff;
    padding: 23px;
    border: 1px solid #e3e8f1;
    border-radius: 17px;
    box-shadow: 0 5px 20px rgba(11,31,112,.04);
}

.home-project-card h4 {
    color: #0b1f70;
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 18px;
}

.home-project-card h4 i {
    color: #f57c00;
    margin-right: 8px;
}

.home-project-item {
    display: grid;
    grid-template-columns: 48px 1.2fr 1fr 1fr;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid #edf0f5;
}

.project-icon {
    width: 43px;
    height: 43px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 19px;
}

.project-icon.health {
    background: #328ee6;
}

.project-icon.education {
    background: #f58b2b;
}

.project-icon.livelihood {
    background: #38a66a;
}

.project-info strong {
    display: block;
    color: #101f43;
    font-size: 15px;
}

.project-info small,
.project-count small {
    display: block;
    color: #778196;
    font-size: 14px;
    line-height: 1.5;
}

.project-count {
    border-left: 1px solid #e7eaf0;
    padding-left: 12px;
}

.project-count strong {
    color: #2167bd;
    font-size: 21px;
    font-weight: 800;
}

.project-count.community strong {
    color: #247446;
}

.home-text-link {
    display: inline-block;
    color: #0b1f70;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    margin-top: 17px;
}

.home-text-link:hover {
    color: #f57c00;
}

.home-impact-highlight {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background: linear-gradient(
    140deg,
    var(--theme-color),
    color-mix(in srgb, var(--theme-color) 80%, #ffffff)
);
    color: #fff;
}

.highlight-star {
    width: 43px;
    height: 43px;
    border-radius: 12px;
    background: #f57c00;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.home-impact-highlight h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
}

.home-impact-highlight > p {
    color: #dbe3ff;
    font-size: 13px;
    line-height: 1.7;
}

.highlight-number {
    display: flex;
    flex-direction: column;
    margin: 9px 0;
}

.highlight-number strong {
    color: #ffb14b;
    font-size: 28px;
    font-weight: 800;
}

.highlight-number span {
    color: #fff;
    font-size: 12px;
}

.home-impact-highlight .home-outline-btn {
    color: #fff;
    border-color: #fff;
    margin-top: 15px;
}

.home-impact-highlight .home-outline-btn:hover {
    background: #fff;
    color: #0b1f70;
}

/* Member Slider */

.home-member-card {
    background: #fff;
    border: 1px solid #e8ebf1;
    border-radius: 16px;
    padding: 24px 15px;
    text-align: center;
    margin: 10px 3px 30px;
    min-height: 450px;
    box-shadow: 0 6px 22px rgba(11,31,112,.06);
    transition: .3s ease;
}

.home-member-card:hover {
    transform: translateY(-7px);
    border-color: #f57c00;
    box-shadow: 0 12px 25px rgba(11,31,112,.12);
}

.home-member-image {
    border-radius: 10%;
    padding: 4px;
    margin: 0 auto 15px;
}

.home-member-image img {
    width: 100%;
    height: 300px;
    object-fit: fill;
    border-radius: 10%;
}

.home-member-card h5 {
    color: #0b1f70;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 7px;
}

.home-member-card p {
    color: #6b7486;
    font-size: 13px;
    margin-bottom: 12px;
}

.member-card-line {
    display: block;
    width: 40px;
    height: 3px;
    border-radius: 5px;
    background: #f57c00;
    margin: auto;
}

/* Event Slider */

.home-event-card {
    background: #fff;
    border-radius: 17px;
    overflow: hidden;
    margin: 5px 3px 30px;
    height: calc(100% - 35px);
    min-height: 420px;
    box-shadow: 0 7px 25px rgba(11,31,112,.08);
    transition: .3s ease;
}

.home-event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(11,31,112,.13);
}

.home-event-image {
    height: 210px;
    position: relative;
    overflow: hidden;
}

.home-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s ease;
}

.home-event-card:hover .home-event-image img {
    transform: scale(1.06);
}

.event-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #0b1f70;
    color: #fff;
    padding: 6px 12px;
    font-size: 11px;
    border-radius: 20px;
}

.home-event-body {
    padding: 20px;
}

.home-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 13px;
}

.home-event-meta span {
    color: #778196;
    font-size: 11px;
}

.home-event-meta i {
    color: #f57c00;
    margin-right: 4px;
}

.home-event-body h5 {
    color: #0b1f70;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 9px;
}

.home-event-body p {
    color: #657087;
    font-size: 13px;
    line-height: 1.7;
    min-height: 44px;
}

.home-card-link {
    display: inline-flex;
    gap: 8px;
    color: #0b1f70;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    margin-top: 8px;
}

.home-card-link:hover {
    color: #f57c00;
}

/* Internship Slider */

.home-intern-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    margin: 5px 3px 30px;
    min-height: 355px;
    border: 1px solid #e8ebf1;
    box-shadow: 0 7px 25px rgba(11,31,112,.07);
    transition: .3s ease;
}

.home-intern-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(11,31,112,.12);
}

.home-intern-header {
    padding: 22px;
    background: linear-gradient(120deg, #0b1f70, #203d91);
    color: #fff;
    min-height: 140px;
}

.home-intern-header > span {
    font-size: 11px;
    color: #ffb14b;
    font-weight: 700;
}

.home-intern-header h5 {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    margin: 12px 0 6px;
}

.home-intern-header small {
    color: #dbe3ff;
}

.home-intern-body {
    padding: 20px;
}

.home-intern-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #56647c;
    font-size: 13px;
    margin-bottom: 13px;
}

.home-intern-detail i {
    color: #f57c00;
    width: 16px;
}

.home-intern-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: #0b1f70;
    color: #fff;
    text-decoration: none;
    padding: 11px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    margin-top: 18px;
    transition: .3s ease;
}

.home-intern-btn:hover {
    background: #f57c00;
    color: #fff;
}

/* Swiper Pagination */

.home-member-pagination,
.home-event-pagination,
.home-intern-pagination {
    position: relative !important;
    bottom: 0 !important;
    margin-top: 8px;
}

.home-impact-sections .swiper-pagination-bullet {
    background: #0b1f70;
    opacity: .3;
}

.home-impact-sections .swiper-pagination-bullet-active {
    background: #f57c00;
    opacity: 1;
}

/* Responsive */

@media(max-width: 991px) {
    .home-impact-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-impact-bottom {
        grid-template-columns: 1fr;
    }

    .home-section-heading h2 {
        font-size: 25px;
    }
}

@media(max-width: 767px) {
    .home-impact-section,
    .home-showcase-section {
        padding: 38px 0;
    }

    .home-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .home-section-heading h2 {
        font-size: 23px;
    }

    .home-impact-stats {
        gap: 10px;
    }

    .home-impact-stat {
        padding: 14px 10px;
        gap: 9px;
    }

    .home-impact-icon {
        width: 42px;
        min-width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .home-impact-stat small {
        font-size: 10px;
    }

    .home-impact-stat h3 {
        font-size: 21px;
    }

    .home-project-card,
    .home-impact-highlight {
        padding: 16px;
    }

    .home-project-item {
        grid-template-columns: 38px 1fr 1fr;
        gap: 7px;
    }

    .project-icon {
        width: 35px;
        height: 35px;
        font-size: 15px;
    }

    .project-info strong {
        font-size: 12px;
    }

    .project-info small {
        font-size: 9px;
    }

    .project-count {
        padding-left: 7px;
    }

    .project-count strong {
        font-size: 16px;
    }

    .project-count small {
        font-size: 9px;
    }

    .project-count.community {
        grid-column: 3;
    }

    .home-outline-btn {
        font-size: 12px;
        padding: 9px 13px;
    }
}

@media(max-width: 400px) {
    .home-impact-stat {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-impact-stat h3 {
        font-size: 19px;
    }
}


/* =========================================
   PREMIUM INTERNSHIP SECTION
========================================= */

.home-internship-section {
    position: relative;
    padding: 65px 0 55px;
    background: linear-gradient(180deg, #f7f9ff 0%, #aca4a4 100%);
    overflow: hidden;
}

.home-internship-section::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -120px;
    top: 10px;
    background: var(--theme-color);
    opacity: .045;
    border-radius: 50%;
    pointer-events: none;
}

.home-internship-section .container {
    position: relative;
    z-index: 1;
}

.home-internship-section .home-section-heading {
    margin-bottom: 30px;
}

/* Card */
.home-intern-card {
    height: 100%;
    min-height: 340px;
    background: #fff;
    border: 1px solid #e9edf5;
    border-radius: 17px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 20px rgba(20, 40, 90, .06);
    transition: all .3s ease;
}

.home-intern-card:hover {
    transform: translateY(-7px);
    border-color: var(--theme-color);
    box-shadow: 0 15px 35px rgba(20, 40, 90, .13);
}

/* Header */
.home-intern-header {
    padding: 20px 19px 17px;
    background: #6d87e4;
    color: #fff;
    position: relative;
}

.home-intern-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.internship-type {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    white-space: nowrap;
}

.internship-type i {
    font-size: 14px;
}

.internship-category {
    font-size: 10px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 20px;
    color: var(--theme-color);
    background: #fff;
    text-align: center;
    max-width: 58%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-intern-header h5 {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 750;
    color: #fff;
    margin: 0 0 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.internship-header-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.2);
    font-size: 11px;
    color: rgba(255,255,255,.9);
}

.internship-header-footer span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.internship-status {
    font-size: 10px;
    color: #d7ffe7;
    white-space: nowrap;
}

.internship-status i {
    font-size: 7px;
    color: #5cff9c;
}

/* Body */
.home-intern-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.internship-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 19px 12px;
}

.home-intern-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.intern-detail-icon {
    width: 35px;
    height: 35px;
    min-width: 35px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f3fa;
    color: var(--theme-color);
    font-size: 14px;
}

.intern-detail-icon.stipend {
    background: #eaf8f0;
    color: #17965c;
}

.intern-detail-icon.location {
    background: #fff2e8;
    color: #ed811e;
}

.intern-detail-icon.qualification {
    background: #f1edff;
    color: #7652c9;
}

.intern-detail-icon.duration {
    background: #eaf4ff;
    color: #367ac4;
}

.home-intern-detail div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.home-intern-detail small {
    font-size: 13px;
    color: #929bad;
    font-weight: 600;
    margin-bottom: 4px;
}

.home-intern-detail strong {
    font-size: 13px;
    font-weight: 700;
    color: #263451;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.home-intern-description {
    color: #7b8495;
    font-size: 12px;
    line-height: 1.6;
    margin: 20px 0 15px;
    min-height: 38px;
}

/* Apply Button */
.home-intern-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 15px;
    background: var(--theme-color);
    color: #fff !important;
    border-radius: 9px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: all .3s ease;
}

.home-intern-btn:hover {
    background: var(--theme-color);
    filter: brightness(.88);
    color: #fff !important;
}

.home-intern-btn i {
    transition: transform .3s ease;
}

.home-intern-btn:hover i {
    transform: translateX(5px);
}

/* Swiper */
.homeInternshipSwiper {
    padding: 5px 5px 45px;
}

.homeInternshipSwiper .swiper-slide {
    display: flex;
}

.homeInternshipSwiper .swiper-slide > .home-intern-card {
    width: 100%;
}

.home-intern-pagination {
    bottom: 5px !important;
}

.home-intern-pagination .swiper-pagination-bullet {
    background: var(--theme-color);
    opacity: .25;
}

.home-intern-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 20px;
    border-radius: 10px;
}

/* Responsive */
@media(max-width: 767px) {
    .home-internship-section {
        padding: 45px 0;
    }

    .home-intern-card {
        min-height: 330px;
    }

    .home-intern-header h5 {
        font-size: 16px;
    }
}

@media(max-width: 480px) {
    .home-intern-header {
        padding: 17px 15px;
    }

    .home-intern-body {
        padding: 16px;
    }

    .home-intern-header-top {
        gap: 5px;
    }

    .internship-category {
        font-size: 9px;
        padding: 5px 8px;
    }

    .internship-info-grid {
        gap: 16px 8px;
    }

    .home-intern-detail {
        gap: 7px;
    }

    .intern-detail-icon {
        width: 31px;
        height: 31px;
        min-width: 31px;
        font-size: 12px;
    }

    .home-intern-detail strong {
        font-size: 10px;
    }

    .internship-header-footer {
        font-size: 10px;
    }
}


/* =========================================
   ORGANIZATION MEMBERS SECTION
========================================= */

.home-member-showcase {
    position: relative;
    padding: 85px 0 95px;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 10% 15%, rgba(245, 124, 0, 0.09), transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(11, 31, 112, 0.09), transparent 32%),
        linear-gradient(135deg, #f8faff, #ffffff 50%, #f5f8ff);
}

/* Background decorative effects */
.home-member-showcase::before,
.home-member-showcase::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
}

.home-member-showcase::before {
    width: 320px;
    height: 320px;
    top: -130px;
    right: -80px;
    border: 1px solid rgba(11, 31, 112, 0.10);
    box-shadow:
        0 0 0 35px rgba(11, 31, 112, 0.025),
        0 0 0 70px rgba(11, 31, 112, 0.02);
}

.home-member-showcase::after {
    width: 250px;
    height: 250px;
    bottom: -120px;
    left: -70px;
    background: rgba(245, 124, 0, 0.045);
    box-shadow: 0 0 0 45px rgba(245, 124, 0, 0.025);
}

/* Heading */
.home-member-showcase .home-section-heading {
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
}

/* Card */
.home-member-card {
    position: relative;
    width: 100%;
    height: 370px;
    perspective: 1200px;
    border-radius: 18px;
    background: #fff;
    box-shadow:
        0 5px 18px rgba(20, 35, 75, 0.12),
        0 0 12px rgba(20, 35, 75, 0.07);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.home-member-card:hover {
    box-shadow:
        0 12px 35px rgba(20, 35, 75, 0.22),
        0 0 18px rgba(20, 35, 75, 0.12);
}

/* Flip inner */
.home-member-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    transform-style: preserve-3d;
    transition: transform 0.75s cubic-bezier(.2, .75, .25, 1);
}

.home-member-card:hover .home-member-card-inner {
    transform: rotateY(180deg);
}

/* Front & Back */
.home-member-front,
.home-member-back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 18px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Front image - Full rectangular width */
.home-member-front {
    display: flex;
    flex-direction: column;
    background: #fff;
}

.home-member-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #c3cbe1;
}

.home-member-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: fill;
    object-position: center;
    transition: transform 0.5s ease;
}

.home-member-card:hover .home-member-image img {
    transform: scale(1.04);
}

/* Front content */
.home-member-content {
    flex: 1;
    padding: 17px 12px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.home-member-content h5 {
    color: var(--theme-color, #0b1f70);
    font-size: 19px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.35;
    margin: 0 0 7px;
}

.home-member-content p {
    color: #626b7d;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.home-member-divider {
    width: 48px;
    height: 3px;
    margin-top: 12px;
    border-radius: 10px;
    background: var(--theme-color, #0b1f70);
}

/* Back side */
.home-member-back {
    transform: rotateY(180deg);
    background: #101a35;
}

.home-member-back img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: fill;
    object-position: center;
    background: #f4f5f8;
}

.home-member-back-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px 15px 18px;
    text-align: center;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.88),
        rgba(0, 0, 0, 0.45),
        transparent
    );
}

.home-member-back-overlay h5 {
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 6px;
}

.home-member-back-overlay p {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

/* Pagination */
.home-member-pagination {
    position: relative;
    margin-top: 35px;
}

.home-member-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    opacity: 0.45;
    background: var(--theme-color, #0b1f70);
}

.home-member-pagination .swiper-pagination-bullet-active {
    width: 25px;
    border-radius: 10px;
    opacity: 1;
    background: var(--theme-color, #0b1f70);
}

/* Responsive */
@media (max-width: 991px) {
    .home-member-card {
        height: 350px;
    }

    .home-member-image {
        height: 245px;
    }

    .home-member-content h5 {
        font-size: 17px;
    }

    .home-member-content p {
        font-size: 15px;
    }
}

@media (max-width: 575px) {
    .home-member-showcase {
        padding: 55px 0 65px;
    }

    .home-member-card {
        height: 370px;
    }

    .home-member-image {
        height: 265px;
    }

    .home-member-content h5 {
        font-size: 18px;
    }

    .home-member-content p {
        font-size: 15px;
    }
}

/* Touch devices: no hover flip requirement */
@media (hover: none) {
    .home-member-card:hover .home-member-card-inner {
        transform: none;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .home-member-card-inner,
    .home-member-image img {
        transition: none;
    }
}


/* ==========================================
   PREMIUM NGO HOMEPAGE - SECTION BACKGROUNDS
========================================== */

:root {
    --ngo-navy: #0B1F70;
    --ngo-deep: #10234B;
    --ngo-gold: #D99A32;
    --ngo-ivory: #F8F6F0;
    --ngo-sage: #F0F6F1;
    --ngo-blue-light: #F1F5FB;
    --ngo-lavender: #F5F3FA;
    --ngo-orange-light: #FFF8EF;
    --ngo-text: #24324B;
}

/* 1. About Section */
.about-section-main {
    background: #FFFFFF !important;
    position: relative;
}

/* 2. Featured Campaigns */
section.py-5.bg-light {
    background: var(--ngo-ivory) !important;
    position: relative;
}

/* 3. Counter Statistics */
.counter-section {
    background: #FFFFFF !important;
    padding: 35px 0;
    position: relative;
}



/* 5. Organization Members */
.home-member-showcase {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 10%, rgba(11, 31, 112, .07), transparent 28%),
        linear-gradient(135deg, #F1F5FB 0%, #F8FAFD 55%, #EEF3FA 100%) !important;
    padding: 80px 0 !important;
}

/* 6. Events */
.home-events-section {
    position: relative;
    background: #FFFFFF !important;
    padding: 80px 0 !important;
}

/* 7. Internship */
.home-internship-section {
    position: relative;
    background:
        radial-gradient(circle at 90% 10%, rgba(130, 91, 180, .07), transparent 30%),
        linear-gradient(135deg, #F5F3FA 0%, #FAF9FC 55%, #F1EEF8 100%) !important;
    padding: 80px 0 !important;
}

/* 8. Campaign Categories */


/* 9. News and Testimonials */
.testimonial-section {
    position: relative;
    isolation: isolate;
    background-color: var(--ngo-deep) !important;
    background-image: none !important;
    padding: 65px 0 !important;
    overflow: hidden;
}

.testimonial-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 10% 20%, rgba(217, 154, 50, .15), transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(66, 111, 190, .18), transparent 35%);
}

/* 10. Mission and Vision */
.mv-wrapper {
    position: relative;
    background:
        radial-gradient(circle at 10% 10%, rgba(217, 154, 50, .07), transparent 30%),
        linear-gradient(135deg, #F8F6F0, #FFFFFF 55%, #F7F5EF) !important;
    padding: 65px 0;
}

/* 11. Donation Section */
.donation-live-section {
    position: relative;
    isolation: isolate;
    background-color: #10234B !important;
    background-image: url('/public/bg1.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.donation-live-section .overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        100deg,
        rgba(5, 22, 65, .94),
        rgba(11, 31, 112, .83),
        rgba(12, 45, 40, .82)
    );
}

/* 12. CSR Partners */
.featured-section {
    background: #FFFFFF !important;
    padding: 55px 0 !important;
}

/* 13. Donor Testimonials */
.testimonial-section .donation-box {
    background: rgba(255, 255, 255, .08) !important;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 14px;
    padding: 25px 18px;
    backdrop-filter: blur(8px);
}

/* Common section headings */
.home-section-heading h2 {
    color: var(--ngo-deep);
}

.home-section-heading p {
    color: #68758A;
}

/* Smooth visual separation */
.home-impact-section,
.home-member-showcase,
.home-events-section,
.home-internship-section,
.category-section,
.mv-wrapper {
    border-top: 1px solid rgba(20, 40, 80, .045);
}

/* Responsive spacing */
@media(max-width: 767px) {
    .home-impact-section,
    .home-member-showcase,
    .home-events-section,
    .home-internship-section,
    .category-section {
        padding: 50px 0 !important;
    }

    .mv-wrapper {
        padding: 45px 0;
    }
}

.highlight-stats-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.highlight-stats-row .highlight-number {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 !important;
}

.highlight-stats-row .highlight-number strong {
    font-size: 27px;
    line-height: 1.2;
    margin-bottom: 5px;
}

.highlight-stats-row .highlight-number span {
    font-size: 12px;
    line-height: 1.5;
}

@media(max-width: 575px) {
    .highlight-stats-row {
        gap: 10px;
    }

    .highlight-stats-row .highlight-number strong {
        font-size: 22px;
    }
}

  

        
/* ==========================================
   CAMPAIGN CATEGORY - CLEAR CARD VISIBILITY
========================================== */

.category-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    background:
        url('../../campaign-banner.png')
        center center / cover no-repeat !important;

    padding: 65px 0 55px !important;
}

/* Soft white overlay - center remains clean */
.category-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background: linear-gradient(
        90deg,
        rgba(255,255,255,.76) 0%,
        rgba(255,255,255,.91) 20%,
        rgba(255,255,255,.96) 50%,
        rgba(255,255,255,.91) 80%,
        rgba(255,255,255,.76) 100%
    );
}

/* Content above background */
.category-section .container {
    position: relative;
    z-index: 1;
}

/* Heading */
.category-section h2 {
    color: #10234B;
    font-size: 30px;
    font-weight: 800;
}

.category-section .text-center p {
    color: #64718A !important;
}

/* Category tabs */
.category-section .category-tabs {
    gap: 8px;
}

.category-section .category-tabs .nav-link {
    color: #263957;
    font-weight: 600;
    border-radius: 25px;
    padding: 9px 18px;
    transition: .3s ease;
}

.category-section .category-tabs .nav-link:hover,
.category-section .category-tabs .nav-link.active {
    color: #fff !important;
    background: var(--theme-color);
}

/* Campaign cards */
#campaignContainer > * {
    position: relative;
    z-index: 2;
}

#campaignContainer .card {
    background: #FFFFFF !important;
    border: 1px solid rgba(20, 40, 80, .10);
    border-radius: 13px;
    overflow: hidden;
    box-shadow: 0 7px 22px rgba(16,35,75,.12);
    transition: all .3s ease;
}

#campaignContainer .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(16,35,75,.18);
}

/* Card image */
#campaignContainer .card img {
    display: block;
    width: 100%;
    object-fit: cover;
}

/* Card content */
#campaignContainer .card-body {
    background: #fff;
    position: relative;
    z-index: 1;
}

/* Responsive */
@media(max-width: 767px) {
    .category-section {
        padding: 45px 0 !important;
        background-position: center center !important;
    }

    .category-section::before {
        background: rgba(255,255,255,.90);
    }

    .category-section h2 {
        font-size: 24px;
    }

    .category-section .category-tabs {
        gap: 3px;
        flex-wrap: wrap;
    }
}
.campaign-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;

    /* Strong shadow on all four sides */
    box-shadow:
        0 0 8px rgba(11, 31, 112, 0.10),
        0 5px 18px rgba(11, 31, 112, 0.16),
        0 0 3px rgba(0, 0, 0, 0.08);

    border: 1px solid rgba(11, 31, 112, 0.10);
    transition: all 0.3s ease;
}

.campaign-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 0 12px rgba(11, 31, 112, 0.15),
        0 10px 28px rgba(11, 31, 112, 0.22),
        0 0 5px rgba(0, 0, 0, 0.10);
}