/* ==========================================================================
   WHY BEST SECTION — User-Friendly Typography
   ========================================================================== */

.whybest-section {
    position: relative;
    padding: 5.5rem 0;
    overflow: hidden;
    color: #FFFFFF;
}

/* Map Background with dark blue overlay and fixed attachment */
.whybest-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 0;
}

.whybest-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(5, 15, 40, 0.92) 0%, rgba(0, 30, 80, 0.88) 100%);
    z-index: 1;
}

.whybest-section > .container {
    position: relative;
    z-index: 2;
}

/* Grid */
.whybest-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

/* ── Left ── */
.whybest-left__title {
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 1.25rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.whybest-left__desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.8;
    margin: 0 0 2.25rem;
    text-align: justify;
}

/* Play Button */
.whybest-play {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #FFFFFF;
}

.whybest-play__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    position: relative;
    animation: playPulse 2s infinite ease-in-out;
}

.whybest-play__icon::before,
.whybest-play__icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(0, 85, 255, 0.7);
    animation: playRipple 2s infinite cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -1;
    pointer-events: none;
}

.whybest-play__icon::after {
    animation-delay: 0.65s;
}

@keyframes playPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
}

@keyframes playRipple {
    0% {
        transform: scale(0.9);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.65);
        opacity: 0;
    }
}

.whybest-play__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.whybest-play__text {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.whybest-play:hover .whybest-play__text {
    color: #38BDF8;
}

/* ── Right Card ── */
.whybest-card {
    background: #FFFFFF;
    border-radius: 14px;
    padding: 2.5rem 2.25rem;
    color: #0A1E3D;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.whybest-card__eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0055FF;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid #0055FF;
    padding-bottom: 2px;
}

.whybest-card__title {
    font-size: clamp(1.4rem, 2.2vw, 1.75rem);
    font-weight: 800;
    color: #0A1E3D;
    margin: 0 0 0.85rem;
    line-height: 1.3;
}

.whybest-card__desc {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.75;
    margin: 0 0 1.75rem;
    text-align: justify;
}

/* Progress Bars */
.whybest-bars {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.whybest-bar__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.whybest-bar__label {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0A1E3D;
}

.whybest-bar__pct {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #FFFFFF;
    background: #0055FF;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    line-height: 1.1;
}

.whybest-bar__track {
    width: 100%;
    height: 8px;
    background: #E8EDF5;
    border-radius: 4px;
    overflow: hidden;
}

.whybest-bar__fill {
    height: 100%;
    background: #0055FF;
    border-radius: 4px;
    transition: width 1s ease;
}

/* ── Video Modal ── */
.whybest-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whybest-modal[hidden] {
    display: none;
}

.whybest-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}

.whybest-modal__content {
    position: relative;
    width: 90%;
    max-width: 860px;
    z-index: 1;
}

.whybest-modal__close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.whybest-modal__iframe-wrap {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
}

.whybest-modal__iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── Responsive ── */
@media (max-width: 1023px) {
    .whybest-grid {
        grid-template-columns: 1fr;
        gap: 2.75rem;
    }

    .whybest-card {
        padding: 2rem;
    }
}

@media (max-width: 767px) {
    .whybest-section {
        padding: 3.5rem 0;
    }

    .whybest-grid {
        gap: 2.25rem;
    }

    .whybest-left__title {
        font-size: 1.65rem;
    }

    .whybest-left__desc {
        font-size: 0.95rem;
    }

    .whybest-card {
        padding: 1.75rem 1.5rem;
    }

    .whybest-card__title {
        font-size: 1.35rem;
    }

    .whybest-card__desc {
        font-size: 0.9rem;
    }
}
