.causesSliderSection{
    position:relative;

    padding:110px 0;

    overflow:hidden;

    background:#fff;
}


/* ================================
   HEADER
================================ */

.causesSliderHeader{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;

    gap:40px;

    margin-bottom:45px;
}

.causesSliderHeader .commonSectionContent{
    max-width:650px;
}

.causesSliderControls{
    display:flex;
    align-items:center;

    gap:10px;

    flex-shrink:0;
}

.causesSliderControls button{
    width:52px;
    height:52px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:1px solid var(--divider-color);

    border-radius:12px;

    color:var(--primary-color);

    background:#fff;

    font-size:20px;

    cursor:pointer;

    transition:all .3s ease;
}

.causesSliderControls button:hover{
    color:var(--primary-color);

    background:var(--secondary-color);

    border-color:var(--secondary-color);

    transform:translateY(-2px);
}


/* ================================
   SWIPER
================================ */

.causesSwiper{
    overflow:visible;
}

.causesSwiper .swiper-slide{
    height:auto;
}


/* ================================
   CARD
================================ */

.causeCard{
    position:relative;

    height:100%;

    overflow:hidden;

    border:1px solid var(--divider-color);

    border-radius:22px;

    background:#fff;

    box-shadow:
        0 8px 30px rgba(0,35,85,.06);

    transition:
        transform .4s ease,
        box-shadow .4s ease,
        border-color .4s ease;
}

.causeCard:hover{
    transform:translateY(-7px);

    border-color:rgba(244,184,32,.45);

    box-shadow:
        0 20px 45px rgba(0,35,85,.12);
}


/* ================================
   IMAGE
================================ */

.causeCardImage{
    position:relative;

    display:block;

    height:270px;

    overflow:hidden;
}

.causeCardImage img{
    width:100%;
    height:100%;

    display:block;

    object-fit:cover;

    transition:
        transform .7s ease;
}

.causeCard:hover .causeCardImage img{
    transform:scale(1.06);
}

.causeCardOverlay{
    position:absolute;

    inset:0;

    background:
        linear-gradient(
            180deg,
            rgba(0,35,85,0) 45%,
            rgba(0,35,85,.58) 100%
        );
}


/* ================================
   NUMBER
================================ */

.causeCardNumber{
    position:absolute;

    top:18px;
    right:18px;

    width:44px;
    height:44px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:1px solid rgba(255,255,255,.35);

    border-radius:12px;

    color:#fff;

    background:rgba(0,35,85,.55);

    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);

    font-size:13px;
    font-weight:700;
}


/* ================================
   CONTENT
================================ */

.causeCardContent{
    position:relative;

    padding:30px;
}

.causeCardIcon{
    width:54px;
    height:54px;

    display:flex;
    align-items:center;
    justify-content:center;

    margin-top:-57px;
    margin-bottom:18px;

    position:relative;
    z-index:3;

    border:4px solid #fff;

    border-radius:15px;

    color:var(--primary-color);

    background:var(--secondary-color);

    font-size:24px;

    box-shadow:
        0 8px 20px rgba(0,35,85,.10);
}

.causeCardTag{
    margin-bottom:8px;

    color:var(--secondary-color);

    font-size:11px;
    font-weight:800;

    letter-spacing:1.2px;

    text-transform:uppercase;
}

.causeCardTitle{
    margin:0 0 12px;

    color:var(--primary-color);

    font-size:23px;
    line-height:1.25;

    font-weight:750;
}

.causeCardTitle a{
    color:inherit;

    text-decoration:none;

    transition:color .3s ease;
}

.causeCardTitle a:hover{
    color:var(--secondary-color);
}

.causeCardDescription{
    margin:0 0 22px;

    color:var(--text-color);

    font-size:14px;

    line-height:1.75;

    display:-webkit-box;

    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;

    overflow:hidden;
}

.causeCardLink{
    display:inline-flex;
    align-items:center;

    gap:9px;

    color:var(--primary-color);

    font-size:13px;
    font-weight:700;

    text-decoration:none;

    transition:all .3s ease;
}

.causeCardLink i{
    font-size:18px;

    transition:transform .3s ease;
}

.causeCardLink:hover{
    color:var(--secondary-color);
}

.causeCardLink:hover i{
    transform:translate(3px,-3px);
}


/* ================================
   PAGINATION
================================ */

.causesPagination{
    position:relative;

    width:100%;

    margin-top:35px;

    text-align:center;
}

.causesPagination .swiper-pagination-bullet{
    width:8px;
    height:8px;

    margin:0 5px !important;

    opacity:.35;

    background:var(--primary-color);

    border-radius:20px;

    transition:all .35s ease;
}

.causesPagination .swiper-pagination-bullet-active{
    width:30px;

    opacity:1;

    background:var(--secondary-color);
}


/* ================================
   BOTTOM BUTTON
================================ */

.causesBottomAction{
    display:flex;
    justify-content:center;

    margin-top:38px;
}


/* ================================
   RESPONSIVE
================================ */

@media(max-width:991px){

    .causesSliderSection{
        padding:80px 0;
    }

    .causesSliderHeader{
        align-items:flex-start;
        flex-direction:column;

        gap:25px;

        margin-bottom:35px;
    }

    .causeCardImage{
        height:250px;
    }

}

@media(max-width:767px){

    .causesSliderSection{
        padding:65px 0;
    }

    .causesSliderControls{
        display:none;
    }

    .causeCardImage{
        height:230px;
    }

    .causeCardContent{
        padding:25px;
    }

    .causeCardTitle{
        font-size:21px;
    }

}

.causesListingSection {
    padding: 110px 0;
    background: #fff;
}

.causesListingSection .row > [class*="col-"] {
    display: flex;
}

.causeCard {
    display: flex;
    flex-direction: column;
}

.causeCardContent {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.causeCardLink {
    margin-top: auto;
}

@media (max-width: 991px) {
    .causesListingSection {
        padding: 80px 0;
    }
}

@media (max-width: 767px) {
    .causesListingSection {
        padding: 65px 0;
    }
}
