﻿/* Global Styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #f8f9fa; /* light grey for a subtle contrast */
    color: #333;
}



/* Responsive font sizes for main-heading */
@media (max-width: 575.98px) {
    .main-heading {
        font-size: 1.5rem;
    }
    .newSection .row.g-3 > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Give inputs/selects some breathing room */
    .newSection .form-control,
    .newSection select[multiple] {
        font-size: 1rem;
    }

    /* Center the “Get Quote” button and make it span */
    #checkoutButton {
        display: block;
        width: 100%;
        margin: 1rem auto;
    }

    .CNF {
        height: 120px;
    }









}

/* Responsive */
@media (max-width: 768px) {
    .option-card {
        padding: .75rem;
    }

        .option-card img {
            height: 45px;
        }
}


@media (min-width: 576px) and (max-width: 767.98px) {
    .container-compact {
        padding-left: .5rem;
        padding-right: .5rem;
    }

    .card {
        border-radius: 10px;
    }
    .main-heading {
        font-size: 2rem;
    }

    .CNF{
        height:120px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .main-heading {
        font-size: 2.25rem;
    }
    .CNF {
        height: 100px;
    }
    .proposal-card {
        padding: 4px !important;
    }
    .imgopm {
        height: 17rem;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .main-heading {
        font-size: 2.5rem;
    }
    .CNF {
        height: 100px;
    }
    .proposal-card {
        padding: 4px !important;
    }
    .imgopm {
        height: 17rem;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .main-heading {
        font-size: 2.75rem;
    }
    .CNF {
        height: 100px;
    }
    .proposal-card {
        padding: 4px !important;
    }
    .imgopm {
        height: 17rem;
    }
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1540px;
    }
    .main-heading {
        font-size: 3rem;
    }
    .CNF {
        height: 100px;
    }
    .proposal-card {
        padding: 4px !important;
    }
    .imgopm {
        height: 17rem;
    }
}


/* Top Bar */
.top-bar {
    background: linear-gradient(to right, #dfeefc, #ffffff);
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .top-bar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .top-bar .brand {
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .top-bar .brand img {
            height: 40px;
            width: auto;
        }

    .top-bar .user-info {
        font-size: 14px;
        color: #333;
    }

        .top-bar .user-info .phone {
            margin-left: 5px;
            font-weight: bold;
        }

/* Main Heading */
.main-heading {
    text-align: center;
    margin: 30px 0;
    font-size: 28px;
    font-weight: bold;
    color: #f05a28;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Policies Section */
.policies {
    animation: fadeInUp 0.8s ease forwards;
    padding-bottom: 30px;
}

.policy-item {
    text-align: center;
    margin-bottom: 30px;
    border: none;
    border-radius: 12px;
    padding: 17px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .policy-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    }

    .policy-item img {
        max-width: 100px;
        margin-bottom: 10px;
        transition: transform 0.3s ease;
    }

    .policy-item:hover img {
        transform: scale(1.05);
    }

    .policy-item h5 {
        margin-bottom: 15px;
        font-size: 18px;
        color: #333;
    }

    .policy-item .btn {
        background: linear-gradient(to right, #362C5E, #362C5E);
        color: #fff;
        border: none;
        padding: 10px 20px;
        font-size: 14px;
        border-radius: 5px;
        transition: background 0.3s ease, transform 0.3s ease;
    }

        .policy-item .btn:hover {
            background: linear-gradient(to right, #ff4d4d, #f05a28);
            transform: scale(1.02);
        }

/* Footer Top */
.footer-top {
    background-color: #dfeefc;
    padding: 30px 0;
    margin-top: 30px;
}

    .footer-top h5 {
        font-size: 16px;
        margin-bottom: 15px;
        color: #333;
    }

    .footer-top a {
        display: block;
        color: #333;
        text-decoration: none;
        margin-bottom: 5px;
        font-size: 14px;
    }

        .footer-top a:hover {
            text-decoration: underline;
        }

    .footer-top p {
        color: #333;
        margin: 0 0 5px;
        font-size: 14px;
    }

/* Footer Bottom */
.footer-bottom {
    background-color: #fff;
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
    color: #666;
    border-top: 1px solid #e0e0e0;
}

    .footer-bottom img {
        margin: 5px;
        max-height: 30px;
    }

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .main-heading {
        font-size: 24px;
    }

    .policy-item h5 {
        font-size: 16px;
    }

    .policy-item .btn {
        font-size: 13px;
        padding: 8px 16px;
    }
    .footer-top p {
        font-size: 10px;
    }
    .pv-title {
        font-size: 20px;
    }

    .seating-left {
        gap: .4rem;
    }

    .passenger-input {
        width: 48px;
        height: 34px;
    }

    .CNF {
        height: 120px;
    }
}






@media (max-width: 767.98px) {
    .policies .row > [class*="col-"] {
        margin-bottom: 0 !important;
    }

    .CNF {
        height: 100px;
    }
}



:root {
    --accent: #0f4b86;
    --muted: #6c757d;
    --radius: .35rem;
}

/* Minimal custom styles only */
.proposal-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid rgba(15,75,134,0.06);
    box-shadow: 0 6px 14px rgba(15,75,134,0.03);
    font-size: .92rem;
    /* center + responsive sizing */
    width: 50%;
    max-width: 900px; /* prevents too-wide on large screens */
    min-width: 320px; /* sensible minimum */
    margin: 0 auto; /* centers the card */
}

/* compact label/value rows */
.kv-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .25rem;
    padding: .18rem 0;
    border-bottom: 1px dashed rgba(0,0,0,0.03);
}

    .kv-row .k {
        color: var(--muted);
        font-weight: 600;
        width: 100%;
        padding: 0;
        margin: 0;
        background: none; /* no background as requested */
    }

    .kv-row .v {
        text-align: right;
        font-weight: 700;
        width: 100%;
        color: var(--accent);
        word-break: break-word;
        margin-left: -4rem;
    }

.premium-panel {
    background: #fff;
    border-radius: .35rem;
    padding: .45rem;
    border: 1px solid rgba(15,75,134,0.04);
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: .18rem 0;
    font-weight: 700;
}

    .total-row .value {
        color: var(--accent);
        font-weight: 900;
    }

/* sticky on large screens */
@media(min-width: 992px) {
    .sticky-summary {
        position: sticky;
        top: .6rem;
    }
    .proposal-card {
        padding: 4px !important;
      
    }
}

/* very small screen stacking (minimal changes) */
/* Responsive tweaks for premium breakdown */
@media (max-width: 767.98px) {
    .proposal-card {
        width: 100% !important;
        max-width: none;
        min-width: auto;
    }

        /* Make left and right panels full width stacked */
        .proposal-card .row > [class*="col-"] {
            flex: 0 0 100%;
            max-width: 100%;
            margin-bottom: 1rem;
        }

    /* Premium panel spacing */
    .premium-panel {
        padding:0;
    }

    /* Key-value rows stacked cleanly */
    .kv-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        padding: 0.25rem 0;
        gap: 0.4rem;
        border-bottom: 1px dashed rgba(0,0,0,0.05);
    }

        .kv-row .k {
            width: 65%;
            font-size: 0.88rem;
        }

        .kv-row .v {
            width: 35%;
            text-align: right;
            margin-left: 0;
            font-size: 0.88rem;
            word-break: break-word;
        }

    /* Premium breakdown numbers align right */
    .total-row {
        flex-direction: row;
        justify-content: space-between;
        font-size: 0.9rem;
    }

    /* Adjust pay button for mobile */
    .sticky-summary .btn {
        width: 100%;
        text-align: center;
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .CNF {
        height: 120px;
    }

    .top-bar .brand img {
        height: 23px;
        width: auto;
    }









}



/* PV Step styling to match the screenshot */
.pv-body {
    padding: 1.25rem 1.5rem;
}

/* Title (big, dark-blue like screenshot) */
.pv-title {
    font-size: 28px; /* large heading */
    color: #0b2f5a; /* deep blue */
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Radio option labels - a bit larger & spaced */
.pv-option-label {
    font-size: 15px;
    margin-left: 0.35rem;
    color: #222;
}

.form-check {
    align-items: flex-start;
}

/* subtle separator */
.pv-separator {
    border: 0;
    border-top: 2px solid #3a3737;
    margin: 18px 0;
}

/* Seating Capacity block */
.seating-block {
    margin-top: 8px;
}

.seating-title {
    color: #0b2f5a;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.seating-row {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.seating-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .6rem;
}

.driver-text {
    font-size: 14px;
    color: #333;
}

.passenger-text {
    font-size: 14px;
    color: #333;
}

/* small passenger numeric box */
.passenger-input {
    width: 54px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 6px 10px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 0 0 0 rgba(0,0,0,0);
}

.total-text {
    font-size: 14px;
    color: #111;
    font-weight: 600;
}

.seating-hint {
    margin-top: 8px;
    color: #888;
    font-size: 12px;
}




/* Infinite Fade-in animation */
.fade-in-btn {
    opacity: 0.7;
    transform: translateY(0px);
    animation: fadeInUp 1.5s ease-in-out infinite alternate;
}
    .fade-in-btn:hover {
        animation: none !important;
        opacity: 1; /* keep it visible when hovered */
    }


/* Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0.7;
        transform: translateX();
    }

    to {
        opacity: 1;
        transform: translateX();
    }
}





