/* =========================================================
   RITHCABS
   CALL & BOOK SECTION
   PREMIUM VERSION
   ========================================================= */


/* =========================================================
   01. SECTION
   ========================================================= */

.rithcabs-call-book {
    width: 100%;
    padding: 34px 22px 46px;
    box-sizing: border-box;

    background:
        linear-gradient(180deg,
            #ffffff 0%,
            #fbfcfd 100%);
}


/* =========================================================
   02. CONTAINER
   ========================================================= */

.call-book-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}


/* =========================================================
   03. MAIN CARD
   ========================================================= */

.call-book-card {
    position: relative;
    isolation: isolate;

    width: 100%;
    min-height: 420px;

    display: grid;

    grid-template-columns:
        minmax(360px, 0.95fr) minmax(500px, 1.25fr) minmax(330px, 0.90fr);

    overflow: hidden;

    background: #ffffff;

    border:
        1px solid rgba(6, 40, 61, 0.08);

    border-radius: 30px;

    box-shadow:
        0 30px 80px rgba(6, 40, 61, 0.10),
        0 8px 25px rgba(6, 40, 61, 0.05);
}


/* =========================================================
   04. PREMIUM TOP GOLD LINE
   ========================================================= */

.call-book-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 37%;

    width: 26%;
    height: 3px;

    z-index: 30;

    background:
        linear-gradient(90deg,
            transparent 0%,
            #ffb800 50%,
            transparent 100%);
}


/* =========================================================
   05. LEFT VISUAL
   ========================================================= */

.call-book-visual {
    position: relative;

    min-height: 420px;

    overflow: hidden;

    background: #eaf1f5;
}


/* =========================================================
   06. CAR IMAGE
   ========================================================= */

.call-book-car {
    position: absolute;

    inset: 0;

    z-index: 1;

    width: 100%;
    height: 100%;

    object-fit: cover;

    /*
       Adjust this value if required
       based on your call-book-car.png.
    */
    object-position: 57% center;

    transform: scale(1.01);

    filter:
        saturate(0.97) contrast(1.03);

    transition:
        transform 0.7s cubic-bezier(.2, .8, .2, 1);
}


/* =========================================================
   07. IMAGE HOVER
   ========================================================= */

.call-book-card:hover .call-book-car {
    transform: scale(1.045);
}


/* =========================================================
   08. IMAGE OVERLAY
   ========================================================= */

.call-book-visual-overlay {
    position: absolute;

    inset: 0;

    z-index: 2;

    pointer-events: none;

    background:

        linear-gradient(90deg,
            rgba(6, 40, 61, 0.02) 0%,
            rgba(6, 40, 61, 0.00) 55%,
            rgba(255, 255, 255, 0.90) 100%),

        linear-gradient(0deg,
            rgba(6, 40, 61, 0.15) 0%,
            rgba(6, 40, 61, 0.00) 38%);
}


/* =========================================================
   09. IMAGE TEXT
   ========================================================= */

/*
   IMPORTANT:

   call-book-car.png already contains:
   Ride Anytime Anywhere

   So external HTML text is hidden.
*/

.call-book-visual-text {
    display: none !important;
}


/* =========================================================
   10. CENTER CONTENT
   ========================================================= */

.call-book-main {
    position: relative;

    z-index: 5;

    min-width: 0;

    display: flex;
    flex-direction: column;

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

    padding:
        38px 44px 34px;

    text-align: center;

    background:

        radial-gradient(circle at 50% 35%,
            #ffffff 0%,
            #ffffff 50%,
            #fafcfd 100%);
}


/* =========================================================
   11. EYEBROW
   ========================================================= */

.call-book-eyebrow {
    width: 100%;

    display: flex;

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

    gap: 13px;

    margin-bottom: 11px;
}


/* =========================================================
   12. EYEBROW LINES
   ========================================================= */

.call-book-eyebrow span {
    width: 42px;
    height: 2px;

    flex: 0 0 42px;

    background: #ffb800;

    border-radius: 30px;
}


/* =========================================================
   13. EYEBROW TEXT
   ========================================================= */

.call-book-eyebrow strong {
    color: #06283d;

    font-size: 11px;
    line-height: 1;

    font-weight: 800;

    letter-spacing: 4.5px;

    white-space: nowrap;
}


/* =========================================================
   14. MAIN TITLE
   ========================================================= */

.call-book-title {
    margin: 0;

    color: #06283d;

    font-size:
        clamp(46px,
            3.3vw,
            58px);

    line-height: 0.98;

    font-weight: 800;

    letter-spacing: -2.6px;
}


/* =========================================================
   15. TITLE GOLD TEXT
   ========================================================= */

.call-book-title span {
    position: relative;

    color: #ffb800;
}


/* =========================================================
   16. DESCRIPTION
   ========================================================= */

.call-book-description {
    width: 100%;
    max-width: 520px;

    margin:
        15px auto 25px;

    color: #61798c;

    font-size: 15px;
    line-height: 1.55;

    font-weight: 500;
}


/* =========================================================
   17. TRIP OPTIONS
   ========================================================= */

.call-book-trip-options {
    width: 100%;
    max-width: 520px;

    display: grid;

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

    gap: 22px;

    margin:
        0 auto 25px;
}


/* =========================================================
   18. TRIP ITEM
   ========================================================= */

.call-book-trip {
    position: relative;

    min-width: 0;

    display: flex;
    flex-direction: column;

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

    padding: 5px;

    transition:
        transform 0.25s ease;
}


/* =========================================================
   19. TRIP HOVER
   ========================================================= */

.call-book-trip:hover {
    transform:
        translateY(-3px);
}


/* =========================================================
   20. TRIP ICON
   ========================================================= */

.call-book-trip-icon {
    width: 60px;
    height: 60px;

    display: flex;

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

    margin-bottom: 9px;

    color: #06283d;

    background:
        linear-gradient(145deg,
            #ffffff 0%,
            #edf3f6 100%);

    border:
        1px solid #dce6ec;

    border-radius: 50%;

    box-shadow:
        0 8px 20px rgba(6, 40, 61, 0.07);

    font-size: 23px;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}


/* =========================================================
   21. TRIP ICON HOVER
   ========================================================= */

.call-book-trip:hover .call-book-trip-icon {
    color: #06283d;

    background:
        linear-gradient(145deg,
            #ffc72c 0%,
            #ffb800 100%);

    border-color:
        #ffb800;

    box-shadow:
        0 10px 24px rgba(255, 184, 0, 0.22);

    transform:
        translateY(-2px);
}


/* =========================================================
   22. TRIP TITLE
   ========================================================= */

.call-book-trip strong {
    color: #06283d;

    font-size: 14px;
    line-height: 1.2;

    font-weight: 800;
}


/* =========================================================
   23. TRIP SUBTITLE
   ========================================================= */

.call-book-trip small {
    margin-top: 3px;

    color: #738493;

    font-size: 10px;
    line-height: 1.3;

    font-weight: 500;
}


/* =========================================================
   24. CALL NOW LABEL
   ========================================================= */

.call-book-call-label {
    width: 100%;
    max-width: 440px;

    display: flex;

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

    gap: 15px;

    margin:
        0 auto 13px;
}


/* =========================================================
   25. CALL NOW LINES
   ========================================================= */

.call-book-call-label span {
    flex: 1;

    height: 1px;

    background:
        linear-gradient(90deg,
            transparent,
            #cbd6de);
}


.call-book-call-label span:last-child {
    background:
        linear-gradient(90deg,
            #cbd6de,
            transparent);
}


/* =========================================================
   26. CALL NOW TEXT
   ========================================================= */

.call-book-call-label strong {
    color: #06283d;

    font-size: 10px;
    line-height: 1;

    font-weight: 800;

    letter-spacing: 3.5px;

    white-space: nowrap;
}


/* =========================================================
   27. PHONE CTA
   ========================================================= */

.call-book-phone {
    position: relative;

    width: 100%;
    max-width: 455px;

    min-height: 72px;

    display: grid;

    grid-template-columns:
        58px 1fr 42px;

    align-items: center;

    gap: 8px;

    padding:
        7px 15px 7px 8px;

    overflow: hidden;

    color: #06283d;

    text-decoration: none;

    background:
        linear-gradient(135deg,
            #ffc928 0%,
            #ffb800 55%,
            #f6a900 100%);

    border:
        1px solid rgba(223, 153, 0, 0.35);

    border-radius: 999px;

    box-shadow:
        0 16px 35px rgba(255, 184, 0, 0.25),

        inset 0 1px 0 rgba(255, 255, 255, 0.45);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


/* =========================================================
   28. PHONE CTA SHINE
   ========================================================= */

.call-book-phone::before {
    content: "";

    position: absolute;

    top: -60%;
    left: -25%;

    width: 25%;
    height: 220%;

    background:
        rgba(255, 255, 255, 0.20);

    transform:
        rotate(25deg);

    transition:
        left 0.55s ease;
}


/* =========================================================
   29. PHONE CTA HOVER
   ========================================================= */

.call-book-phone:hover {
    color: #06283d;

    transform:
        translateY(-4px);

    box-shadow:
        0 20px 40px rgba(255, 184, 0, 0.34),

        inset 0 1px 0 rgba(255, 255, 255, 0.50);
}


.call-book-phone:hover::before {
    left: 115%;
}


/* =========================================================
   30. PHONE ICON
   ========================================================= */

.call-book-phone-icon {
    position: relative;

    z-index: 2;

    width: 56px;
    height: 56px;

    display: flex;

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

    color: #ffffff;

    background:
        linear-gradient(145deg,
            #07344e 0%,
            #041f31 100%);

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

    border-radius: 50%;

    box-shadow:
        0 8px 18px rgba(6, 40, 61, 0.20);

    font-size: 20px;
}


/* =========================================================
   31. PHONE NUMBER
   ========================================================= */

.call-book-phone strong {
    position: relative;

    z-index: 2;

    color: #06283d;

    font-size: 23px;
    line-height: 1;

    font-weight: 800;

    letter-spacing: -0.7px;

    white-space: nowrap;
}


/* =========================================================
   32. PHONE ARROW
   ========================================================= */

.call-book-phone-arrow {
    position: relative;

    z-index: 2;

    display: flex;

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

    color: #06283d;

    font-size: 20px;

    transition:
        transform 0.25s ease;
}


.call-book-phone:hover .call-book-phone-arrow {
    transform:
        translateX(4px);
}


/* =========================================================
   33. SUPPORT NOTE
   ========================================================= */

.call-book-support-note {
    margin:
        13px 0 0;

    color: #7b8b98;

    font-size: 10px;
    line-height: 1.4;

    font-weight: 500;
}


/* =========================================================
   34. RIGHT BENEFITS
   ========================================================= */

.call-book-benefits {
    position: relative;

    min-height: 420px;

    display: flex;
    flex-direction: column;

    gap: 14px;

    padding:
        44px 32px 150px;

    overflow: hidden;

    background:
        linear-gradient(145deg,
            #fbfcfd 0%,
            #ffffff 65%);
}


/* =========================================================
   35. RIGHT SIDE SOFT GLOW
   ========================================================= */

.call-book-benefits::before {
    content: "";

    position: absolute;

    top: -90px;
    right: -90px;

    width: 240px;
    height: 240px;

    border-radius: 50%;

    background:
        rgba(255, 184, 0, 0.055);

    filter:
        blur(5px);

    pointer-events: none;
}


/* =========================================================
   36. BENEFIT CARD
   ========================================================= */

.call-book-benefit {
    position: relative;

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 14px;

    padding:
        11px 16px 11px 11px;

    background:
        rgba(255, 255, 255, 0.90);

    border:
        1px solid rgba(6, 40, 61, 0.07);

    border-radius: 999px;

    box-shadow:
        0 10px 28px rgba(6, 40, 61, 0.06);

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


/* =========================================================
   37. BENEFIT CARD HOVER
   ========================================================= */

.call-book-benefit:hover {
    transform:
        translateX(-5px);

    border-color:
        rgba(255, 184, 0, 0.45);

    box-shadow:
        0 14px 32px rgba(6, 40, 61, 0.10);
}


/* =========================================================
   38. BENEFIT ICON
   ========================================================= */

.call-book-benefit-icon {
    width: 52px;
    height: 52px;

    flex:
        0 0 52px;

    display: flex;

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

    color: #ffffff;

    background:
        linear-gradient(145deg,
            #07344e 0%,
            #041f31 100%);

    border-radius: 50%;

    box-shadow:
        0 7px 16px rgba(6, 40, 61, 0.18);

    font-size: 20px;
}


/* =========================================================
   39. BENEFIT TEXT WRAPPER
   ========================================================= */

.call-book-benefit>div:last-child {
    min-width: 0;

    display: flex;
    flex-direction: column;
}


/* =========================================================
   40. BENEFIT TITLE
   ========================================================= */

.call-book-benefit strong {
    color: #06283d;

    font-size: 13px;
    line-height: 1.25;

    font-weight: 800;

    letter-spacing: -0.15px;
}


/* =========================================================
   41. BENEFIT SUBTITLE
   ========================================================= */

.call-book-benefit span {
    margin-top: 3px;

    color: #718391;

    font-size: 10px;
    line-height: 1.35;

    font-weight: 500;
}


/* =========================================================
   42. BOTTOM NAVY BRAND SHAPE
   ========================================================= */

.call-book-brand-shape {
    position: absolute;

    right: -65px;
    bottom: -82px;

    width: 410px;
    height: 220px;

    z-index: 2;

    background:
        linear-gradient(145deg,
            #07344e 0%,
            #041f31 100%);

    border:
        7px solid #ffb800;

    border-right: 0;
    border-bottom: 0;

    border-radius:
        70% 0 0 0;

    box-shadow:
        -15px -10px 40px rgba(6, 40, 61, 0.08);

    transform:
        rotate(-4deg);
}


/* =========================================================
   43. BRAND MESSAGE
   ========================================================= */

.call-book-brand-message {
    position: absolute;

    top: 38px;
    left: 90px;

    display: flex;
    flex-direction: column;

    color: #ffffff;

    text-align: center;

    transform:
        rotate(4deg);
}


/* =========================================================
   44. BRAND FIRST LINE
   ========================================================= */

.call-book-brand-message span {
    color: #ffffff;

    font-size: 18px;
    line-height: 1.1;

    font-weight: 600;

    font-style: italic;
}


/* =========================================================
   45. BRAND SECOND LINE
   ========================================================= */

.call-book-brand-message strong {
    margin-top: 6px;

    color: #ffb800;

    font-size: 22px;
    line-height: 1.1;

    font-weight: 800;
}


/* =========================================================
   46. LARGE LAPTOP
   ========================================================= */

@media (max-width: 1300px) {

    .call-book-card {
        grid-template-columns:
            minmax(320px, 0.90fr) minmax(450px, 1.20fr) minmax(290px, 0.85fr);
    }


    .call-book-main {
        padding:
            36px 32px;
    }


    .call-book-benefits {
        padding-left: 24px;
        padding-right: 24px;
    }


    .call-book-title {
        font-size: 48px;
    }

}


/* =========================================================
   47. TABLET / SMALL LAPTOP
   ========================================================= */

@media (max-width: 1100px) {

    .call-book-card {
        grid-template-columns:
            0.90fr 1.10fr;

        min-height: 400px;
    }


    .call-book-visual {
        min-height: 400px;
    }


    .call-book-main {
        min-height: 400px;

        padding:
            34px 28px;
    }


    .call-book-title {
        font-size: 44px;
    }


    .call-book-trip-options {
        gap: 12px;
    }


    .call-book-benefits {
        grid-column:
            1 / -1;

        min-height: auto;

        display: grid;

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

        gap: 14px;

        padding:
            22px 25px;

        background: #f8fafb;
    }


    .call-book-benefit {
        border-radius: 18px;
    }


    .call-book-benefit:hover {
        transform:
            translateY(-3px);
    }


    .call-book-brand-shape {
        display: none;
    }

}


/* =========================================================
   48. TABLET
   ========================================================= */

@media (max-width: 850px) {

    .rithcabs-call-book {
        padding:
            26px 15px 36px;
    }


    .call-book-card {
        display: block;

        border-radius: 24px;
    }


    .call-book-visual {
        min-height: 340px;
    }


    .call-book-car {
        object-position:
            center center;
    }


    .call-book-main {
        min-height: auto;

        padding:
            36px 24px;
    }


    .call-book-benefits {
        display: grid;

        grid-template-columns: 1fr;

        padding:
            20px;
    }


    .call-book-benefit {
        max-width: 600px;

        width: 100%;

        margin: 0 auto;

        border-radius: 999px;
    }

}


/* =========================================================
   49. MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .rithcabs-call-book {
        padding:
            22px 12px 32px;
    }


    .call-book-card {
        border-radius: 22px;
    }


    .call-book-visual {
        min-height: 300px;
    }


    .call-book-main {
        padding:
            32px 20px;
    }


    .call-book-title {
        font-size: 42px;

        letter-spacing: -1.8px;
    }


    .call-book-description {
        font-size: 14px;
    }


    .call-book-trip-options {
        gap: 8px;
    }


    .call-book-phone {
        max-width: 430px;
    }


    .call-book-benefits {
        padding: 18px;
    }

}


/* =========================================================
   50. SMALL MOBILE
   ========================================================= */

@media (max-width: 520px) {

    .rithcabs-call-book {
        padding:
            16px 10px 28px;
    }


    .call-book-card {
        border-radius: 18px;
    }


    .call-book-visual {
        min-height: 245px;
    }


    .call-book-main {
        padding:
            28px 14px;
    }


    .call-book-eyebrow {
        gap: 8px;
    }


    .call-book-eyebrow span {
        width: 25px;

        flex-basis: 25px;
    }


    .call-book-eyebrow strong {
        font-size: 9px;

        letter-spacing: 2.8px;
    }


    .call-book-title {
        font-size: 36px;

        letter-spacing: -1.3px;
    }


    .call-book-description {
        margin:
            12px auto 22px;

        font-size: 13px;
    }


    .call-book-trip-options {
        gap: 4px;

        margin-bottom: 22px;
    }


    .call-book-trip-icon {
        width: 50px;
        height: 50px;

        margin-bottom: 7px;

        font-size: 19px;
    }


    .call-book-trip strong {
        font-size: 12px;
    }


    .call-book-trip small {
        font-size: 9px;
    }


    .call-book-call-label {
        gap: 10px;
    }


    .call-book-call-label strong {
        font-size: 9px;

        letter-spacing: 2.5px;
    }


    .call-book-phone {
        min-height: 64px;

        grid-template-columns:
            48px 1fr 28px;

        gap: 5px;

        padding:
            6px 10px 6px 7px;
    }


    .call-book-phone-icon {
        width: 47px;
        height: 47px;

        font-size: 17px;
    }


    .call-book-phone strong {
        font-size: 18px;

        letter-spacing: -0.4px;
    }


    .call-book-phone-arrow {
        font-size: 16px;
    }


    .call-book-benefits {
        gap: 10px;

        padding: 15px;
    }


    .call-book-benefit {
        padding:
            10px 12px;

        border-radius: 16px;
    }


    .call-book-benefit-icon {
        width: 44px;
        height: 44px;

        flex-basis: 44px;

        font-size: 18px;
    }


    .call-book-benefit strong {
        font-size: 12px;
    }


    .call-book-benefit span {
        font-size: 9px;
    }

}


/* =========================================================
   51. VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .call-book-title {
        font-size: 32px;
    }


    .call-book-trip-icon {
        width: 46px;
        height: 46px;
    }


    .call-book-trip strong {
        font-size: 11px;
    }


    .call-book-phone strong {
        font-size: 16px;
    }

}