/* =========================================================
   HIMACHALRIDE — WHY CHOOSE US
   ========================================================= */

.why-section {
    position: relative;

    padding: 100px 0 70px;

    background: #f3f1ea;

    color: #193d30;

    overflow: hidden;
}


/* Decorative circles */

.why-section::before {
    content: "";

    position: absolute;

    width: 620px;
    height: 620px;

    border: 1px solid rgba(25, 61, 48, 0.07);

    border-radius: 50%;

    top: -330px;
    left: -250px;

    pointer-events: none;
}


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

    position: absolute;

    width: 360px;
    height: 360px;

    border: 1px solid rgba(25, 61, 48, 0.06);

    border-radius: 50%;

    right: -170px;
    bottom: -190px;

    pointer-events: none;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.why-container {
    width: min(1280px, calc(100% - 48px));

    margin: 0 auto;

    position: relative;

    z-index: 2;
}


/* =========================================================
   HEADER
   ========================================================= */

.why-header {
    display: grid;

    grid-template-columns: 1fr 360px;

    gap: 80px;

    align-items: end;

    margin-bottom: 48px;
}


.why-header .section-eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 18px;

    font-family: "DM Sans", sans-serif;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 3px;

    color: #a47b3c;
}


.why-header .section-eyebrow::before {
    content: "";

    width: 28px;
    height: 1px;

    background: #a47b3c;
}


.why-header h2 {
    margin: 0;

    font-family: "Manrope", sans-serif;

    font-size: clamp(48px, 5.5vw, 76px);

    line-height: 0.94;

    font-weight: 600;

    letter-spacing: -4px;

    color: #193d30;
}


.why-header h2 span {
    display: block;

    font-weight: 300;

    font-style: italic;

    color: #6f7b74;
}


.why-header > p {
    width: 100%;

    margin: 0 0 4px;

    font-family: "DM Sans", sans-serif;

    font-size: 13px;

    line-height: 1.75;

    color: #68736d;
}


/* =========================================================
   MAIN FEATURE
   ========================================================= */

.why-feature {
    position: relative;

    display: grid;

    grid-template-columns: 1fr 46%;

    min-height: 390px;

    background: #193d30;

    overflow: hidden;
}


/* =========================================================
   FEATURE CONTENT
   ========================================================= */

.why-feature-content {
    position: relative;

    z-index: 3;

    padding: 42px 50px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}


.why-feature-top {
    margin-bottom: 25px;

    display: flex;

    align-items: center;

    gap: 22px;
}


.why-feature-number {
    font-family: "DM Sans", sans-serif;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    color: rgba(255, 255, 255, 0.5);
}


.why-label {
    display: block;

    font-family: "DM Sans", sans-serif;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2.5px;

    color: #d3ad70;
}


.why-feature-content h3 {
    margin: 0 0 18px;

    font-family: "Manrope", sans-serif;

    font-size: clamp(46px, 5vw, 68px);

    line-height: 0.95;

    font-weight: 500;

    letter-spacing: -3px;

    color: #f5f2e9;
}


.why-feature-content h3 span {
    display: block;

    font-weight: 300;

    font-style: italic;

    color: #9eaea5;
}


.why-feature-content p {
    max-width: 500px;

    margin: 0;

    font-family: "DM Sans", sans-serif;

    font-size: 13px;

    line-height: 1.7;

    color: rgba(255, 255, 255, 0.62);
}


/* =========================================================
   FEATURE IMAGE
   ========================================================= */

.why-feature-image {
    position: relative;

    height: 390px;

    overflow: hidden;
}


.why-feature-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transition: transform 0.7s ease;
}


.why-feature:hover .why-feature-image img {
    transform: scale(1.035);
}


/* Image gradient */

.why-image-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to right,
            #193d30 0%,
            rgba(25, 61, 48, 0.3) 12%,
            rgba(25, 61, 48, 0) 40%
        ),
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.2),
            transparent 55%
        );

    pointer-events: none;
}


/* =========================================================
   FEATURE HR MARK
   ========================================================= */

.why-feature-mark {
    position: absolute;

    right: 32px;
    bottom: 30px;

    width: 82px;
    height: 82px;

    display: flex;

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

    border: 1px solid rgba(255, 255, 255, 0.35);

    border-radius: 50%;

    font-family: "Manrope", sans-serif;

    font-size: 18px;

    font-weight: 700;

    color: rgba(255, 255, 255, 0.85);

    z-index: 3;
}


.why-feature-mark::before {
    content: "";

    position: absolute;

    width: 115px;
    height: 115px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 50%;
}


/* =========================================================
   BENEFITS GRID
   ========================================================= */

.why-grid {
    display: grid;

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

    border-left: 1px solid rgba(25, 61, 48, 0.13);

    border-bottom: 1px solid rgba(25, 61, 48, 0.13);
}


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

.why-card {
    position: relative;

    min-height: 355px;

    overflow: hidden;

    border-right: 1px solid rgba(25, 61, 48, 0.13);

    background: #f3f1ea;
}


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

.why-card-image {
    position: relative;

    width: 100%;
    height: 125px;

    overflow: hidden;
}


.why-card-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.6s ease;
}


.why-card:hover .why-card-image img {
    transform: scale(1.06);
}


.why-card-image-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(25, 61, 48, 0.05),
            rgba(25, 61, 48, 0.25)
        );

    pointer-events: none;
}


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

.why-card-content {
    min-height: 230px;

    padding: 20px 22px 22px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;
}


/* Card top */

.why-card-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 15px;
}


.why-card-top > span {
    font-family: "DM Sans", sans-serif;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    color: #7b867f;
}


.why-card-top i {
    width: 30px;
    height: 30px;

    display: flex;

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

    border: 1px solid rgba(25, 61, 48, 0.2);

    border-radius: 50%;

    font-style: normal;

    font-size: 12px;

    color: #193d30;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.why-card:hover .why-card-top i {
    background: #b18a4d;

    border-color: #b18a4d;

    color: #fff;

    transform: rotate(45deg);
}


/* Label */

.why-card .why-label {
    margin-bottom: 10px;

    font-size: 8px;
}


/* Heading */

.why-card h3 {
    margin: 0 0 12px;

    font-family: "Manrope", sans-serif;

    font-size: 24px;

    line-height: 1.02;

    font-weight: 600;

    letter-spacing: -1px;

    color: #193d30;
}


.why-card h3 span {
    display: block;

    font-weight: 300;

    font-style: italic;

    color: #7b857f;
}


/* Description */

.why-card p {
    margin: 0;

    font-family: "DM Sans", sans-serif;

    font-size: 11px;

    line-height: 1.6;

    color: #6d7771;
}


/* =========================================================
   BOTTOM STATEMENT
   ========================================================= */

.why-bottom {
    display: grid;

    grid-template-columns: 100px 1fr auto;

    align-items: center;

    gap: 25px;

    margin-top: 25px;
}


.why-bottom > span {
    font-family: "DM Sans", sans-serif;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;

    color: #a47b3c;
}


.why-line {
    height: 1px;

    background: rgba(25, 61, 48, 0.14);
}


.why-bottom strong {
    font-family: "DM Sans", sans-serif;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    color: #65716a;
}


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

@media (max-width: 950px) {

    .why-section {
        padding: 85px 0 65px;
    }


    .why-header {
        grid-template-columns: 1fr;

        gap: 22px;

        margin-bottom: 40px;
    }


    .why-header > p {
        max-width: 550px;
    }


    .why-feature {
        grid-template-columns: 1fr 45%;
    }


    .why-feature-content {
        padding: 35px;
    }


    .why-feature-content h3 {
        font-size: 48px;
    }


    .why-feature-image {
        height: 360px;
    }


    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .why-card {
        min-height: 330px;
    }

}


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

@media (max-width: 600px) {

    .why-section {
        padding: 70px 0 50px;
    }


    .why-container {
        width: calc(100% - 30px);
    }


    .why-header {
        margin-bottom: 30px;
    }


    .why-header h2 {
        font-size: 46px;

        letter-spacing: -2.5px;
    }


    .why-header > p {
        font-size: 13px;

        line-height: 1.65;
    }


    /* Feature */

    .why-feature {
        display: flex;

        flex-direction: column;

        min-height: 0;
    }


    .why-feature-content {
        min-height: 310px;

        padding: 28px 24px;
    }


    .why-feature-top {
        margin-bottom: 30px;
    }


    .why-feature-content h3 {
        font-size: 42px;

        letter-spacing: -2px;
    }


    .why-feature-content p {
        font-size: 12px;
    }


    .why-feature-image {
        width: 100%;

        height: 250px;
    }


    .why-feature-mark {
        right: 22px;

        bottom: 22px;

        width: 65px;
        height: 65px;

        font-size: 15px;
    }


    .why-feature-mark::before {
        width: 90px;
        height: 90px;
    }


    /* Cards */

    .why-grid {
        grid-template-columns: 1fr;
    }


    .why-card {
        min-height: 0;
    }


    .why-card-image {
        height: 180px;
    }


    .why-card-content {
        min-height: 250px;

        padding: 20px;
    }


    .why-card h3 {
        font-size: 27px;
    }


    /* Bottom */

    .why-bottom {
        grid-template-columns: 1fr;

        gap: 12px;

        margin-top: 20px;
    }


    .why-line {
        width: 100%;
    }


    .why-bottom strong {
        font-size: 9px;

        line-height: 1.5;
    }

}