/*=========================================================
 RAEES IMPORT & EXPORT
 WHY CHOOSE US
 ULTRA PREMIUM END VERSION
=========================================================*/


/*=========================================================
 01. SECTION
=========================================================*/

.why-choose-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    padding:
        clamp(90px, 8vw, 140px)
        0
        clamp(100px, 9vw, 150px);

    background:
        radial-gradient(
            circle at 12% 18%,
            rgba(184, 125, 38, 0.075),
            transparent 25%
        ),
        radial-gradient(
            circle at 88% 82%,
            rgba(184, 125, 38, 0.06),
            transparent 27%
        ),
        linear-gradient(
            180deg,
            #fffdf9 0%,
            #fbf7ef 52%,
            #fffdf9 100%
        );
}


/* subtle luxury grid */

.why-choose-section::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -2;

    pointer-events: none;

    opacity: 0.34;

    background-image:
        linear-gradient(
            rgba(30, 24, 17, 0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(30, 24, 17, 0.018) 1px,
            transparent 1px
        );

    background-size: 72px 72px;

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            transparent,
            #000 15%,
            #000 85%,
            transparent
        );

    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            #000 15%,
            #000 85%,
            transparent
        );
}


/* ambient gold glow */

.why-choose-section::after {
    content: "";

    position: absolute;

    width: 540px;
    height: 540px;

    left: 50%;
    top: 52%;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    background:
        rgba(183, 123, 35, 0.045);

    filter: blur(110px);

    z-index: -1;

    pointer-events: none;
}


/*=========================================================
 02. CONTAINER
=========================================================*/

.why-choose-section > .container {
    position: relative;

    z-index: 2;
}


/*=========================================================
 03. SECTION HEADING
=========================================================*/

.why-choose-section .section-heading {
    position: relative;

    width: min(100%, 780px);

    margin:
        0 auto
        clamp(48px, 5vw, 72px);

    text-align: center;
}


/*=========================================================
 04. KICKER
=========================================================*/

.why-choose-section .section-kicker {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 13px;

    margin-bottom: 20px;

    color: #a86d19;

    font-size: 10px;
    font-weight: 700;

    line-height: 1;

    letter-spacing: 0.20em;

    text-transform: uppercase;
}


.why-choose-section
.section-kicker::before,
.why-choose-section
.section-kicker::after {
    content: "";

    display: block;

    width: 34px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(184, 125, 38, 0.75)
        );
}


.why-choose-section
.section-kicker::after {
    transform: rotate(180deg);
}


/*=========================================================
 05. TITLE
=========================================================*/

.why-choose-section
.section-heading h2 {
    max-width: 760px;

    margin:
        0 auto
        20px;

    color: #17130f;

    font-family:
        "Playfair Display",
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(40px, 4.3vw, 66px);

    font-weight: 500;

    line-height: 1.06;

    letter-spacing: -0.035em;

    text-wrap: balance;
}


/*=========================================================
 06. DESCRIPTION
=========================================================*/

.why-choose-section
.section-heading > p {
    max-width: 650px;

    margin: 0 auto;

    color: #71685d;

    font-size:
        clamp(14px, 1.1vw, 17px);

    line-height: 1.8;

    text-wrap: balance;
}


/*=========================================================
 07. CARDS GRID
=========================================================*/

.why-choose-section
.cards-grid {
    position: relative;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: clamp(16px, 1.6vw, 24px);

    width: 100%;

    margin: 0;
}


/*=========================================================
 08. CARD
=========================================================*/

.why-choose-section
.cards-grid > .card {
    position: relative;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    min-width: 0;

    min-height: 310px;

    margin: 0;

    padding:
        32px
        28px
        30px;

    overflow: hidden;

    border:
        1px solid
        rgba(48, 38, 27, 0.09);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.96),
            rgba(255, 252, 246, 0.88)
        );

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.95),

        0 18px 50px
        rgba(45, 32, 17, 0.055);

    transition:
        transform 0.4s
        cubic-bezier(.2,.8,.2,1),

        border-color 0.4s ease,

        box-shadow 0.4s ease;

    isolation: isolate;
}


/*=========================================================
 09. LARGE DECORATIVE NUMBER
=========================================================*/

.why-choose-section
.cards-grid > .card::before {
    position: absolute;

    right: 20px;
    top: 14px;

    z-index: -1;

    color:
        rgba(169, 108, 24, 0.055);

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 88px;

    font-weight: 600;

    line-height: 1;

    letter-spacing: -0.06em;

    pointer-events: none;

    transition:
        color 0.4s ease,
        transform 0.4s ease;
}


.why-choose-section
.cards-grid > .card:nth-child(1)::before {
    content: "01";
}


.why-choose-section
.cards-grid > .card:nth-child(2)::before {
    content: "02";
}


.why-choose-section
.cards-grid > .card:nth-child(3)::before {
    content: "03";
}


.why-choose-section
.cards-grid > .card:nth-child(4)::before {
    content: "04";
}


/*=========================================================
 10. PREMIUM GOLD TOP LINE
=========================================================*/

.why-choose-section
.cards-grid > .card::after {
    content: "";

    position: absolute;

    left: 28px;
    right: 28px;
    top: 0;

    height: 2px;

    transform: scaleX(0);

    transform-origin: left center;

    border-radius:
        0 0 10px 10px;

    background:
        linear-gradient(
            90deg,
            #9e6316,
            #d7aa61,
            transparent
        );

    transition:
        transform 0.45s
        cubic-bezier(.2,.8,.2,1);

    pointer-events: none;
}


/*=========================================================
 11. CARD HOVER
=========================================================*/

@media (hover: hover) {

    .why-choose-section
    .cards-grid > .card:hover {
        transform:
            translateY(-10px);

        border-color:
            rgba(180, 120, 32, 0.24);

        box-shadow:
            inset 0 1px 0
            rgba(255,255,255,0.95),

            0 30px 70px
            rgba(46, 32, 16, 0.11);
    }


    .why-choose-section
    .cards-grid > .card:hover::after {
        transform: scaleX(1);
    }


    .why-choose-section
    .cards-grid > .card:hover::before {
        color:
            rgba(169, 108, 24, 0.09);

        transform:
            translateY(4px);
    }

}


/*=========================================================
 12. ICON
=========================================================*/

.why-choose-section
.card-icon {
    position: relative;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 60px;
    height: 60px;

    flex: 0 0 60px;

    margin-bottom: 38px;

    border:
        1px solid
        rgba(181, 121, 32, 0.17);

    border-radius: 17px;

    color: #a76c18;

    background:
        linear-gradient(
            145deg,
            #faedd6 0%,
            #f0d9b2 100%
        );

    box-shadow:
        inset 0 1px 0
        rgba(255,255,255,0.9),

        0 10px 25px
        rgba(139, 87, 17, 0.08);

    transition:
        transform 0.4s
        cubic-bezier(.2,.8,.2,1),

        color 0.35s ease,

        background 0.35s ease,

        box-shadow 0.35s ease;
}


.why-choose-section
.card-icon::before {
    content: "";

    position: absolute;

    inset: 5px;

    border:
        1px solid
        rgba(255,255,255,0.55);

    border-radius: 12px;

    pointer-events: none;
}


.why-choose-section
.card-icon i {
    position: relative;

    z-index: 2;

    font-size: 19px;

    line-height: 1;
}


/* icon hover */

@media (hover: hover) {

    .why-choose-section
    .card:hover
    .card-icon {
        transform:
            translateY(-4px)
            rotate(-3deg);

        color: #ffffff;

        background:
            linear-gradient(
                145deg,
                #c68b32,
                #9d6215
            );

        box-shadow:
            0 15px 32px
            rgba(154, 95, 18, 0.22);
    }

}


/*=========================================================
 13. CARD TITLE
=========================================================*/

.why-choose-section
.card h3 {
    position: relative;

    z-index: 2;

    max-width: 230px;

    margin:
        0
        0
        13px;

    color: #19140f;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(20px, 1.45vw, 25px);

    font-weight: 600;

    line-height: 1.18;

    letter-spacing: -0.018em;
}


/*=========================================================
 14. CARD DESCRIPTION
=========================================================*/

.why-choose-section
.card > p {
    position: relative;

    z-index: 2;

    max-width: 260px;

    margin: 0;

    color: #71685d;

    font-size: 13px;

    line-height: 1.75;
}


/*=========================================================
 15. CARD BOTTOM DETAIL
=========================================================*/

.why-choose-section
.card h3::after {
    content: "";

    display: block;

    width: 28px;
    height: 1px;

    margin-top: 15px;

    background:
        rgba(177, 116, 29, 0.48);

    transition:
        width 0.35s ease;
}


@media (hover: hover) {

    .why-choose-section
    .card:hover h3::after {
        width: 50px;
    }

}


/*=========================================================
 16. PREMIUM CARD VARIATION
=========================================================*/

.why-choose-section
.cards-grid > .card:nth-child(2),
.why-choose-section
.cards-grid > .card:nth-child(4) {
    transform: translateY(18px);
}


@media (hover: hover) {

    .why-choose-section
    .cards-grid > .card:nth-child(2):hover,

    .why-choose-section
    .cards-grid > .card:nth-child(4):hover {
        transform:
            translateY(8px);
    }

}


/*=========================================================
 17. LARGE DESKTOP
=========================================================*/

@media (min-width: 1400px) {

    .why-choose-section
    .cards-grid {
        gap: 22px;
    }


    .why-choose-section
    .cards-grid > .card {
        min-height: 325px;

        padding:
            34px
            30px
            32px;
    }

}


/*=========================================================
 18. LAPTOP
=========================================================*/

@media (max-width: 1199px) {

    .why-choose-section
    .cards-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 20px;
    }


    .why-choose-section
    .cards-grid > .card {
        min-height: 270px;
    }


    .why-choose-section
    .cards-grid > .card:nth-child(2),
    .why-choose-section
    .cards-grid > .card:nth-child(4) {
        transform: none;
    }


    .why-choose-section
    .card-icon {
        margin-bottom: 30px;
    }

}


/*=========================================================
 19. TABLET
=========================================================*/

@media (max-width: 991px) {

    .why-choose-section {
        padding:
            85px 0
            95px;
    }


    .why-choose-section
    .section-heading {
        margin-bottom: 46px;
    }


    .why-choose-section
    .cards-grid > .card {
        min-height: 260px;
    }

}


/*=========================================================
 20. MOBILE
=========================================================*/

@media (max-width: 767px) {

    .why-choose-section {
        padding:
            68px 0
            72px;
    }


    .why-choose-section
    .section-heading {
        width: 100%;

        margin-bottom: 36px;
    }


    .why-choose-section
    .section-kicker {
        margin-bottom: 16px;

        font-size: 9px;

        letter-spacing: 0.17em;
    }


    .why-choose-section
    .section-kicker::before,

    .why-choose-section
    .section-kicker::after {
        width: 25px;
    }


    .why-choose-section
    .section-heading h2 {
        max-width: 480px;

        margin-bottom: 16px;

        font-size:
            clamp(34px, 10vw, 45px);

        line-height: 1.08;
    }


    .why-choose-section
    .section-heading > p {
        max-width: 470px;

        font-size: 14px;

        line-height: 1.7;
    }


    .why-choose-section
    .cards-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }


    .why-choose-section
    .cards-grid > .card {
        min-height: 0;

        padding:
            24px
            22px
            25px;

        border-radius: 18px;
    }


    .why-choose-section
    .cards-grid > .card:nth-child(2),

    .why-choose-section
    .cards-grid > .card:nth-child(4) {
        transform: none;
    }


    .why-choose-section
    .cards-grid > .card::before {
        right: 17px;
        top: 13px;

        font-size: 68px;
    }


    .why-choose-section
    .cards-grid > .card::after {
        left: 22px;
        right: 22px;
    }


    .why-choose-section
    .card-icon {
        width: 54px;
        height: 54px;

        flex-basis: 54px;

        margin-bottom: 25px;

        border-radius: 15px;
    }


    .why-choose-section
    .card-icon::before {
        border-radius: 10px;
    }


    .why-choose-section
    .card-icon i {
        font-size: 17px;
    }


    .why-choose-section
    .card h3 {
        max-width: 80%;

        margin-bottom: 10px;

        font-size: 21px;
    }


    .why-choose-section
    .card > p {
        max-width: 88%;

        font-size: 13px;

        line-height: 1.65;
    }

}


/*=========================================================
 21. SMALL MOBILE
=========================================================*/

@media (max-width: 420px) {

    .why-choose-section {
        padding:
            58px 0
            64px;
    }


    .why-choose-section
    .section-heading h2 {
        font-size: 34px;
    }


    .why-choose-section
    .cards-grid > .card {
        padding:
            21px
            19px
            22px;
    }


    .why-choose-section
    .card h3 {
        max-width: 78%;

        font-size: 20px;
    }


    .why-choose-section
    .card > p {
        max-width: 100%;
    }

}


/*=========================================================
 22. REDUCED MOTION
=========================================================*/

@media (prefers-reduced-motion: reduce) {

    .why-choose-section
    .cards-grid > .card,

    .why-choose-section
    .card-icon,

    .why-choose-section
    .card h3::after {
        transition: none !important;
    }


    .why-choose-section
    .cards-grid > .card,

    .why-choose-section
    .cards-grid > .card:nth-child(2),

    .why-choose-section
    .cards-grid > .card:nth-child(4),

    .why-choose-section
    .cards-grid > .card:hover {
        transform: none !important;
    }

}