/* =========================
   STEP 2 BOOKING DESIGN
========================= */

* {
    box-sizing: border-box;
}

.step2-booking {
    background: #dff3f3;
    padding: clamp(40px, 5vw, 70px) 20px;
    font-family: 'Times New Roman', Times, serif;
}


/* TITLE */

.step2-booking .title {
    text-align: center;
    font-size: 60px;
    font-weight: 700;
    color: #011a6e;
    margin-bottom: 30px;
}


/* MAIN WRAPPER */

.step2-booking .step2-wrapper {
    max-width: 1300px;
    margin: auto;
    display: flex;
    gap: 25px;
    align-items: flex-start;
}


/* LEFT */

.step2-booking .step2-left {
    flex: 1;
    min-width: 0;
}


/* RIGHT */

.step2-right {
    width: 340px;
    flex-shrink: 0;
}


/* HEADER */

.step2-booking .step-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.step2-booking .back {
    font-size: clamp(30px, 4vw, 48px);
    cursor: pointer;
    font-weight: 800;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.back-step2 {
    font-size: 34px;
    /* 👈 size increase */
    cursor: pointer;
    color: #011a6e;
    padding: 10px;
    border-radius: 50%;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/* hover effect */

.back-step2:hover {
    background: rgba(1, 26, 110, 0.1);
    transform: scale(1.15);
}

.step2-booking .step-header h2 {
    margin: 0;
    font-size: clamp(24px, 4vw, 42px);
    color: #011a6e;
    font-weight: 700;
    line-height: 1.2;
}

.step2-booking .info {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #0b6c5d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}


/* SUB TEXT */

.step2-booking .sub-text {
    width: 100%;
    display: block;
    font-size: clamp(16px, 2vw, 28px);
    font-weight: 700;
    margin-bottom: 20px;
    color: #111;
    line-height: 1.4;
}


/* INPUT ROW */

.step2-booking .step2-inputs {
    width: 100%;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}


/* INPUT GROUP */

.step2-booking .input-group {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
}


/* LABEL */

.step2-booking .input-group label {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
}


/* INPUT */

.step2-booking .input-group input {
    width: 100%;
    height: 52px;
    border: 1px solid #d4d4d4;
    background: #fff;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: clamp(15px, 2vw, 18px);
    outline: none;
    transition: 0.3s;
}


/* INPUT FOCUS */

.step2-booking .input-group input:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}


/* VEHICLES */

.step2-booking .step2-vehicles {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}


/* CARD */

.step2-booking .step2-vehicle {
    background: #fff;
    border: 2px solid #d9d9d9;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 10px;
}

.step2-booking .step2-vehicle:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}


/* ACTIVE CARD */

.step2-booking .step2-vehicle.active {
    background: #1d222d;
    border-color: #1d222d;
}

.step2-booking .step2-vehicle.active h3,
.step2-booking .step2-vehicle.active .car-icons {
    color: #fff;
}


/* IMAGE */

.step2-booking .step2-vehicle img {
    width: 100%;
    /* height: clamp(160px, 22vw, 220px); */
    height: clamp(120px, 18vw, 160px);
    /* reduced */
    object-fit: cover;
    background: #dff3f3;
    padding: 0px;
}


/* NAME */

.step2-booking .step2-vehicle h3 {
    text-align: center;
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #111;
    padding: 0 10px;
}


/* ICONS */

.step2-booking .car-icons {
    display: flex;
    justify-content: center;
    align-items: start;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 4px;
    padding: 0 12px 18px;
    font-size: 16px;
    color: #333;
    margin-top: 15px;
}


/* =========================
    CARD detail 
========================= */


/* =========================
   JOURNEY CARD
========================= */

.journey-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    padding: 22px;
    border-radius: 14px;
    font-family: 'Times New Roman', Times, serif;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 20px;
}

.info-card {
    line-height: 1.6;
}

.info-card h3 {
    margin: 10px 0;
    font-size: 28px;
    letter-spacing: 2px;
}

.info-card p {
    margin-bottom: 10px;
}

.info-card strong {
    font-weight: 700;
}


/* =========================
    CARD detail 
========================= */


/* TITLE */

.journey-card h3 {
    color: #011a6e;
    margin: 0;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
}


/* ROW */

.row {
    margin-bottom: 10px;
}


/* LABEL */

small {
    color: #777;
    font-weight: 600;
    display: block;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 5px;
}


/* TEXT */

p {
    margin: 0;
    font-size: clamp(14px, 1.5vw, 16px);
    color: #333;
    font-weight: 500;
    line-height: 1.5;
    word-break: break-word;
}


/* TWO COLUMN */

.two-col {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}


/* DISTANCE */

.distance {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 700;
    color: #011a6e;
    border-top: 1px solid #eee;
    padding-top: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}


/* BUTTON */

.step2-right .next-btn {
    background: #011a6e;
    color: #fff;
    border: none;
    padding: 14px;
    width: 100%;
    border-radius: 10px;
    font-size: clamp(15px, 2vw, 18px);
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.step2-right .next-btn:hover {
    transform: translateY(-2px);
}


/* =========================
   TABLET
========================= */

@media (max-width: 992px) {
    .step2-booking .step2-wrapper {
        gap: 20px;
    }
    .step2-right {
        width: 280px;
    }
    .journey-card {
        padding: 18px;
    }
}


/* =========================
   MOBILE & SMALL TABLET
========================= */

@media (max-width: 768px) {
    .step2-booking .step2-wrapper {
        flex-direction: column;
    }
    .step2-right {
        width: 100%;
    }
    .journey-card {
        position: relative;
        top: 0;
    }
    .step2-booking .step2-inputs {
        flex-direction: column;
    }
    .step2-booking .step2-vehicles {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {
    .step2-booking {
        padding-inline: 15px;
    }
    .step2-booking .step2-vehicles {
        grid-template-columns: 1fr;
    }
    .step2-booking .step2-vehicle img {
        height: 170px;
    }
    .journey-card {
        padding: 16px;
    }
}