/* ==========================================
   WHY CHOOSE SECTION
========================================== */

.fx-why-section {
    width: 100%;
    padding: 55px 30px;
    background: linear-gradient(135deg, #f7fbf1 0%, #edf7e5 100%) !important;
    position: relative;
    overflow: hidden;
}

.fx-container {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
}
.service-details-benifits.sp {
    padding: 50px;
}
.service-details-benifits.sp h2 {
    font-size: 39px;
    padding: 30px;
}

/* ==========================================
   HEADING
========================================== */

.fx-section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.fx-section-heading h2 {
    margin: 0;

    color: #0b3b73;

    font-size: 40px;
    line-height: 1.2;
    font-weight: 700;
}

.fx-heading-line {
    width: 65px;
    height: 4px;

    margin: 14px auto 0;

    background: #5da031;

    border-radius: 10px;
}


/* ==========================================
   CARDS
========================================== */

.fx-cards {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 35px;
}


/* ==========================================
   CARD
========================================== */

.fx-card {
    min-height: 485px;

    padding: 74px 28px 35px;

    text-align: center;

    background: #ffffff;

    border: 1px solid #e8e8e8;

    border-radius: 28px;

    box-shadow: 0 7px 22px rgba(0, 0, 0, 0.035);

    transition: all 0.35s ease;
}


/* First card border */
.fx-card.active {
    border-color: #cfe2c5;
}


/* Hover */
.fx-card:hover {
    transform: translateY(-7px);

    border-color: #b9d9a9;

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}


/* ==========================================
   ICON GREEN SHAPE
========================================== */

.fx-icon-box {
    width: 170px;
    height: 155px;

    margin: 0 auto 60px;

    display: flex;

    align-items: center;
    justify-content: center;

    position: relative;

    background: #5da031;

    border-radius:
        42% 58% 47% 53%
        /
        54% 42% 58% 46%;

    transform: rotate(-2deg);

    transition: all 0.35s ease;
}


/* Organic effect */
.fx-icon-box::after {
    content: "";

    position: absolute;

    width: 145px;
    height: 145px;

    background: #5da031;

    border-radius:
        55% 45% 58% 42%
        /
        44% 57% 43% 57%;

    transform: rotate(7deg);

    z-index: -1;
}


/* ==========================================
   INNER CIRCLE
========================================== */

.fx-icon-circle {
    width: 88px;
    height: 88px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #ffffff;

    border-radius: 50%;

    transform: rotate(2deg);

    position: relative;
    z-index: 2;
}


/* ==========================================
   ICON
========================================== */

.fx-icon-circle i {
    font-size: 39px;

    color: #0b3b73;

    transition: transform 0.3s ease;
}


/* First card blue circle */
.fx-card.active .fx-icon-circle {
    background: #0b3b73;
}

.fx-card.active .fx-icon-circle i {
    color: #ffffff;
}


/* Hover */
.fx-card:hover .fx-icon-box {
    transform: rotate(3deg) scale(1.04);
}

.fx-card:hover .fx-icon-circle i {
    transform: scale(1.12);
}


/* ==========================================
   CARD TITLE
========================================== */

.fx-card h3 {
    margin: 0 0 18px;

    color: #0b3b73;

    font-size: 28px;
    line-height: 1.3;

    font-weight: 700;
}


/* ==========================================
   CARD DESCRIPTION
========================================== */

.fx-card p {
    max-width: 330px;

    margin: 0 auto;

    color: #6b6b6b;

    font-size: 17px;

    line-height: 1.65;
}


/* ==========================================
   DECORATIVE LEAVES
========================================== */

.fx-why-section::after {
    content: "";

    position: absolute;

    top: -10px;
    right: -8px;

    width: 80px;
    height: 270px;

    background:
        radial-gradient(
            ellipse at top right,
            transparent 0
        );

    pointer-events: none;
}


/* Leaf shapes */
.fx-why-section::before {
    content: "";

    position: absolute;

    width: 22px;
    height: 70px;

    right: 28px;
    top: 20px;

    background: #7eb65d;

    border-radius: 100% 0 100% 0;

    transform: rotate(-30deg);

    box-shadow:
        25px 85px 0 -3px #7eb65d,
        -5px 150px 0 -4px #7eb65d,
        20px 220px 0 -5px #7eb65d;

    opacity: 0.95;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1100px) {

    .fx-cards {
        grid-template-columns: repeat(2, 1fr);

        gap: 25px;
    }

    .fx-card {
        min-height: 450px;
    }
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px) {

    .fx-why-section {
        padding: 55px 18px;
    }

    .fx-section-heading {
        margin-bottom: 35px;
    }

    .fx-section-heading h2 {
        font-size: 30px;
    }

    .fx-cards {
        grid-template-columns: 1fr;

        gap: 22px;
    }

    .fx-card {
        min-height: auto;

        padding: 55px 22px 38px;

        border-radius: 22px;
    }

    .fx-icon-box {
        width: 145px;
        height: 135px;

        margin-bottom: 45px;
    }

    .fx-icon-circle {
        width: 80px;
        height: 80px;
    }

    .fx-icon-circle i {
        font-size: 34px;
    }

    .fx-card h3 {
        font-size: 24px;
    }

    .fx-card p {
        font-size: 16px;
    }
}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    .fx-why-section {
        padding: 45px 15px;
    }

    .fx-section-heading h2 {
        font-size: 27px;
    }

    .fx-card {
        padding: 45px 18px 35px;
    }

    .fx-card h3 {
        font-size: 22px;
    }

    .fx-card p {
        font-size: 15px;
    }
}
