/* =========================
   CRICKEX REVIEW SECTION
========================= */

/* =========================
   CRICKEX REVIEW FONT FIX
========================= */

.crickex-review,
.crickex-review * {
    font-family: 'Poppins', sans-serif !important;
}

.crickex-review {
    position: relative;
    padding: 20px 0 85px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.review-container {
    width: min(1360px, calc(100% - 90px));
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* =========================
   BADGE
========================= */

.review-badge {
    width: fit-content;
    margin: 0 auto 28px;
    padding: 9px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    border: 1px solid rgba(70, 130, 255, 0.55);
    background: rgba(3, 20, 55, 0.46);
    box-shadow: inset 0 0 18px rgba(48, 116, 255, 0.16);
}

.review-badge img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.review-badge span {
    color: #ffffff;
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
}

/* =========================
   HEADING
========================= */

.review-heading {
    text-align: center;
    margin-bottom: 42px;
}

.review-heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(7px, 5.4vw, 48px);
    line-height: 1.08;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.review-title-highlight {
    margin-top: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    color: #ffffff;
    font-size: clamp(7px, 5.4vw, 48px);
    line-height: 1;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
}

.review-title-highlight,
.review-title-highlight * {
    color: #ffffff;
    font-style: italic;
}

.review-title-highlight p {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 18px;
}

.review-title-highlight img {
    height: clamp(7px, 5.4vw, 40px);
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}

.review-line-img {
    display: block;
    width: 360px;
    max-width: 42vw;
    height: auto;
    margin: 26px auto 0;
}

/* =========================
   SLIDER
========================= */

.review-slider-area {
    position: relative;
    width: 100%;
}

.review-viewport {
    overflow: hidden;
    width: 100%;
}

.review-slider {
    display: flex;
    gap: 24px;
    will-change: transform;
    transition: transform 0.55s ease;
    cursor: grab;
    user-select: none;
}

.review-slider.is-dragging {
    transition: none;
    cursor: grabbing;
}

/* =========================
   CARD
========================= */

.review-card {
    flex: 0 0 calc((100% - 72px) / 4);
    min-height: 420px;
    padding: 28px 28px 32px;
    border-radius: 18px;
    position: relative;
    overflow: hidden;

    background: rgba(3, 28, 72, 0.82);
    border: 1px solid rgba(46, 128, 255, 0.62);

    box-shadow:
        inset 0 0 28px rgba(42, 130, 255, 0.13),
        0 18px 40px rgba(0, 0, 0, 0.24);

    transition: transform 0.3s ease, border-color 0.3s ease;
}

.review-card::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 17px;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(74, 152, 255, 0.14), transparent 42%),
        radial-gradient(circle at 50% 0%, rgba(50, 135, 255, 0.16), transparent 42%);
}

.review-card:hover {
    /*transform: translateY(-5px);*/
    border-color: rgba(74, 165, 255, 0.9);
}

.review-logo-wrap {
    height: 62px;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.review-logo {
    /* max-width: 225px; */
    max-height: 58px;
    object-fit: contain;
    display: block;
}

.review-card-text {
    position: relative;
    z-index: 2;
    color: rgba(230, 238, 255, 0.88);
    font-size: 18px;
    line-height: 1.45;
    font-weight: 500;
}

/* =========================
   ARROWS
========================= */

.review-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(76, 150, 255, 0.7);
    background: rgba(10, 50, 120, 0.72);
    color: #ffffff;
    font-size: 30px;
    font-weight: 800;
    cursor: pointer;

    box-shadow:
        inset 0 0 18px rgba(54, 137, 255, 0.3),
        0 0 22px rgba(25, 100, 255, 0.36);
}

.review-prev {
    left: -72px;
}

.review-next {
    right: -72px;
}

/* =========================
   DOTS
========================= */

.review-dots {
    margin-top: 34px;
    display: flex;
    justify-content: center;
    gap: 18px;
}

.review-dots span {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(82, 132, 210, 0.72);
    cursor: pointer;
    transition: 0.25s ease;
}

.review-dots span.active {
    background: #2d75ff;
    box-shadow: 0 0 18px rgba(45, 117, 255, 0.85);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1280px) {
    .review-container {
        width: min(1160px, calc(100% - 56px));
    }

    .review-card {
        min-height: 365px !important;
    }

    .review-card-text {
        font-size: 18px;
    }

    .review-logo-wrap {
        margin-bottom: 46px;
    }

    .review-prev {
        left: -22px;
    }

    .review-next {
        right: -22px;
    }
}

@media (max-width: 1024px) {
    .review-card {
        flex: 0 0 calc((100% - 16px) / 2);
    }

    .review-heading h2,
    .review-title-highlight {
        font-size: 52px;
    }
}

@media (max-width: 767px) {
    .crickex-review {
        padding: 70px 0 65px;
    }

    .review-container {
        width: calc(100% - 28px);
    }

    .review-badge {
        padding: 7px 16px;
    }

    .review-badge span {
        font-size: 12px;
    }

    .review-badge img {
        width: 16px;
        height: 16px;
    }

    .review-heading h2,
    .review-title-highlight {
        font-size: 34px;
    }

    .review-title-highlight {
        gap: 8px;
    }

    .review-title-highlight p {
        gap: 8px;
    }

    .review-title-highlight img {
        height: 31px;
    }

    .review-line-img {
        width: 220px;
        max-width: 75vw;
        margin-top: 18px;
    }

    .review-card {
        flex: 0 0 100%;
        min-height: 315px;
        padding: 24px;
    }

    .review-card-text {
        font-size: 16px;
    }

    .review-logo-wrap {
        margin-bottom: 34px;
    }

    .review-logo {
        /* max-width: 190px; */
    }

    .review-arrow {
        display: none;
    }

    .review-dots {
        gap: 10px;
    }

    .review-dots span {
        width: 10px;
        height: 10px;
    }
}

/* =========================
   DOTS VISIBILITY FIX
========================= */

/* ❌ Hide on desktop */
.review-dots {
    display: none;
}

/* ✅ Show only on mobile */
@media (max-width: 768px) {
    .review-dots {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
}

/* =========================================================
   FINAL MOBILE REVIEW CARD FIX
   Fixes mobile cut card + centered logo
   Desktop/web unchanged
========================================================= */

@media (max-width: 767px) {
    .crickex-review,
    .crickex-review * {
        box-sizing: border-box;
    }

    .review-container {
        width: calc(100% - 28px) !important;
        max-width: 390px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .review-viewport {
        width: 100% !important;
        overflow: hidden !important;
    }

    .review-slider {
        gap: 0 !important;
    }

    .review-card {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 360px !important;
        padding: 26px 22px 30px !important;
        border-radius: 16px !important;
        overflow: hidden !important;
    }

    .review-card::before {
        border-radius: 15px !important;
    }

    .review-logo-wrap {
        width: 100% !important;
        height: auto !important;
        min-height: 62px !important;
        margin: 0 auto 30px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .review-logo {
        display: block !important;
        margin: 0 auto !important;
        max-width: 230px !important;
        max-height: 64px !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }

    .review-card-text {
        max-width: 100% !important;
        font-size: 16px !important;
        line-height: 1.55 !important;
        text-align: left !important;
    }

    .review-dots {
        margin-top: 20px !important;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .review-container {
        width: calc(100% - 24px) !important;
        max-width: 360px !important;
    }

    .review-card {
        min-height: 350px !important;
        padding: 24px 20px 28px !important;
    }

    .review-logo {
        max-width: 220px !important;
    }
}

/* Very small mobile */
@media (max-width: 380px) {
    .review-container {
        width: calc(100% - 20px) !important;
    }

    .review-card {
        min-height: 350px !important;
        padding: 22px 18px 26px !important;
    }

    .review-logo {
        max-width: 205px !important;
    }

    .review-card-text {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }
}

/* =========================================================
   FINAL MOBILE GAP FIX
   Remove empty space above review title
   Mobile only - desktop/web unchanged
========================================================= */

@media (max-width: 767px) {
    .crickex-review {
        padding-top: 24px !important;
    }

    .review-badge {
        margin-bottom: 18px !important;
    }

    .review-heading {
        margin-bottom: 32px !important;
    }
}

@media (max-width: 480px) {
    .crickex-review {
        padding-top: 16px !important;
    }

    .review-badge {
        margin-bottom: 14px !important;
    }

    .review-heading {
        margin-bottom: 28px !important;
    }
}

/* =========================================================
   FINAL MOBILE REVIEW HEADING SIZE FIX ONLY
   Does NOT touch card, card logo, card text, or card image
   Mobile only - desktop/web unchanged
========================================================= */

@media (max-width: 767px) {
    .review-heading {
        margin-bottom: 26px !important;
    }

    .review-heading h2,
    .review-title-highlight {
        font-size: clamp(23px, 6.5vw, 29px) !important;
        line-height: 1.2 !important;
        letter-spacing: 0.4px !important;
    }

    .review-title-highlight {
        gap: 6px !important;
        flex-wrap: wrap !important;
    }

    .review-title-highlight p {
        gap: 6px !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    .review-title-highlight img {
        height: clamp(23px, 6.5vw, 29px) !important;
        max-width: 155px !important;
    }

    .review-line-img {
        width: 170px !important;
        max-width: 60vw !important;
        margin-top: 12px !important;
    }
}

@media (max-width: 480px) {
    .review-heading h2,
    .review-title-highlight {
        font-size: 24px !important;
        line-height: 1.22 !important;
    }

    .review-title-highlight img {
        height: 24px !important;
        max-width: 145px !important;
    }

    .review-line-img {
        width: 155px !important;
    }
}

@media (max-width: 380px) {
    .review-heading h2,
    .review-title-highlight {
        font-size: 26px !important;
    }

    .review-title-highlight img {
        height: 22px !important;
        max-width: 132px !important;
    }

    .review-line-img {
        width: 140px !important;
    }
}