/* =========================================
   WHY CHOOSE US
========================================= */

:root {
    --travel-primary: #0b5ed7;
    --travel-secondary: #00a8e8;
    --travel-dark: #09243f;
    --travel-text: #5f6b78;
    --travel-light: #f5f9fd;
    --travel-white: #ffffff;
    --travel-border: #e5edf5;
}


/* =========================================
   SECTION
========================================= */

.why-choose-section {
    position: relative;
    width: 100%;
    padding: 100px 20px;
    background: var(--travel-light);
    overflow: hidden;
}


/* Background Decoration */

.why-choose-section::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    top: -220px;
    right: -180px;
    background: rgba(0, 168, 232, 0.08);
    border-radius: 50%;
}

.why-choose-section::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    bottom: -180px;
    left: -150px;
    background: rgba(11, 94, 215, 0.06);
    border-radius: 50%;
}


/* =========================================
   CONTAINER
========================================= */

.why-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
}


/* =========================================
   HEADING
========================================= */

.why-heading {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.why-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--travel-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.why-tag::before,
.why-tag::after {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--travel-secondary);
}

.why-heading h2 {
    margin: 0;
    color: var(--travel-dark);
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.15;
    font-weight: 800;
}

.why-heading h2 span {
    color: var(--travel-primary);
}

.why-heading p {
    max-width: 680px;
    margin: 18px auto 0;
    color: var(--travel-text);
    font-size: 16px;
    line-height: 1.8;
}


/* =========================================
   GRID
========================================= */

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}


/* =========================================
   CARD
========================================= */

.why-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    min-height: 225px;
    padding: 30px 28px;
    background: var(--travel-white);
    border: 1px solid var(--travel-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(9, 36, 63, 0.06);

    opacity: 0;
    transform: translateY(35px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


/* JS Reveal */

.why-card.show {
    opacity: 1;
    transform: translateY(0);
}


/* Hover */

.why-card:hover {
    transform: translateY(-8px);
    border-color: rgba(11, 94, 215, 0.2);
    box-shadow: 0 20px 50px rgba(9, 36, 63, 0.12);
}


/* =========================================
   ICON
========================================= */

.why-icon {
    position: relative;
    flex: 0 0 62px;
    width: 62px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        #eaf4ff,
        #e8faff
    );

    border-radius: 15px;

    color: var(--travel-primary);
    font-size: 24px;

    transition:
        background 0.35s ease,
        color 0.35s ease,
        transform 0.35s ease;
}

.why-card:hover .why-icon {
    background: var(--travel-primary);
    color: var(--travel-white);
    transform: rotate(-5deg) scale(1.05);
}


/* =========================================
   CONTENT
========================================= */

.why-content {
    position: relative;
    padding-right: 5px;
}

.why-number {
    display: block;
    margin-bottom: 5px;
    color: #a8b7c6;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.why-content h3 {
    margin: 0 0 10px;
    color: var(--travel-dark);
    font-size: 19px;
    line-height: 1.35;
    font-weight: 700;
}

.why-content p {
    margin: 0;
    color: var(--travel-text);
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================
   ARROW
========================================= */

.why-card-arrow {
    position: absolute;
    right: 20px;
    bottom: 20px;

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f3f7fb;
    color: var(--travel-primary);

    font-size: 12px;

    opacity: 0;
    transform: translateX(-8px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        background 0.3s ease;
}

.why-card:hover .why-card-arrow {
    opacity: 1;
    transform: translateX(0);
    background: #eaf4ff;
}


/* =========================================
   CARD TOP LINE
========================================= */

.why-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 0;
    height: 3px;

    background: linear-gradient(
        90deg,
        var(--travel-primary),
        var(--travel-secondary)
    );

    transition: width 0.4s ease;
}

.why-card:hover::before {
    width: 100%;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .why-choose-section {
        padding: 80px 20px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .why-choose-section {
        padding: 65px 15px;
    }

    .why-heading {
        margin-bottom: 38px;
    }

    .why-heading h2 {
        font-size: 34px;
    }

    .why-heading p {
        font-size: 14px;
        line-height: 1.7;
    }

    .why-tag {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .why-tag::before,
    .why-tag::after {
        width: 18px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .why-card {
        min-height: auto;
        padding: 23px 20px;
        gap: 15px;
        border-radius: 15px;
    }

    .why-icon {
        flex: 0 0 52px;
        width: 52px;
        height: 52px;
        font-size: 20px;
        border-radius: 13px;
    }

    .why-content h3 {
        font-size: 17px;
        margin-bottom: 7px;
    }

    .why-content p {
        font-size: 13px;
        line-height: 1.65;
    }

    .why-number {
        font-size: 10px;
    }

    .why-card-arrow {
        display: none;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .why-heading h2 {
        font-size: 30px;
    }

    .why-card {
        padding: 20px 16px;
    }

    .why-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

}