/* =========================================================
   TRAVEL CALCULATE PRICE
========================================================= */

.travel-calculate-section {
    width: 100%;
    min-height: calc(100vh - 100px);

    padding: 18px 25px 35px;

    background:
        linear-gradient(rgba(0, 0, 0, 0.08),
            rgba(0, 0, 0, 0.08)),
        url("../img/travel/travel-cal.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
}

.travel-calculate-container {
    width: 100%;
    max-width: 1000px;
}


/* =========================================================
   TITLE
========================================================= */

.travel-calculate-title {
    margin: 0 0 18px;

    text-align: center;

    color: #ffffff;

    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;

    text-shadow:
        0 2px 7px rgba(0, 0, 0, 0.45);
}


/* =========================================================
   CALCULATOR CARD
========================================================= */

.travel-calculator-card {
    width: 100%;
    max-width: 650px;

    margin: 0 auto;

    padding: 15px 18px 17px;

    background: #ffffff;

    border-radius: 13px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.22);
}


/* =========================================================
   TABS
========================================================= */

.travel-calculator-tabs {
    display: flex;

    gap: 7px;

    width: 100%;

    margin-bottom: 15px;
}

.travel-calculator-tab {
    flex: 1;

    height: 40px;

    padding: 0 15px;

    border: 1px solid #a5adbd;

    border-radius: 22px;

    background: #f6f7fa;

    color: #242f67;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

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

    gap: 7px;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.travel-calculator-tab i {
    font-size: 13px;
}

.travel-calculator-tab:hover {
    background: #eef0f6;
}

.travel-calculator-tab.active {
    background: #242f67;

    border-color: #242f67;

    color: #ffffff;

    box-shadow:
        0 3px 7px rgba(36, 47, 103, 0.25);
}


/* =========================================================
   PANELS
========================================================= */

.travel-calculator-panel {
    display: none;
}

.travel-calculator-panel.active {
    display: block;
}


/* =========================================================
   FORM GRID
========================================================= */

.travel-calculate-grid {
    width: 100%;

    display: grid;

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

    column-gap: 10px;
    row-gap: 12px;
}


/* Tour Guide + Show Price */

.travel-bottom-row {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    column-gap: 10px;

    margin-top: 12px;
}


/* =========================================================
   FIELD
========================================================= */

.travel-calculate-field {
    min-width: 0;
}

.travel-calculate-field label {
    display: block;

    margin-bottom: 5px;

    color: #242f67;

    font-size: 11px;
    font-weight: 600;

    line-height: 1.2;
}

.travel-calculate-field label i {
    margin-right: 3px;

    font-size: 10px;
}



/* =========================================================
   INPUT / SELECT
========================================================= */

.travel-calculate-field input,
.travel-calculate-field select {
    width: 100%;

    height: 36px;

    padding: 5px 11px;

    border: 1px solid #aab1c2;

    border-radius: 18px;

    background: #ffffff;

    color: #333333;

    font-size: 12px;

    outline: none;

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

.travel-calculate-field input:focus,
.travel-calculate-field select:focus {
    border-color: #242f67;

    box-shadow:
        0 0 0 3px rgba(36, 47, 103, 0.10);
}

.travel-calculate-field input::placeholder {
    color: #999999;
}


/* =========================================================
   SELECT ARROW
========================================================= */

.travel-calculate-field select {
    cursor: pointer;
}


/* =========================================================
   VIEW CARS
========================================================= */

.travel-view-car-field {
    display: flex;

    align-items: flex-end;
}

.travel-view-cars-btn {
    width: 100%;
    height: 36px;
    padding: 0 12px;
    border: none;
    border-radius: 18px;
    background: #242f67;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;

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

    text-decoration: none;

    transition: background .2s ease, transform .2s ease;
}

.travel-view-cars-btn:hover {
    background: #1c2554;
    color: #fff;
    transform: translateY(-1px);
}


/* =========================================================
   COST SUMMARY
========================================================= */

.travel-cost-summary-btn {
    width: 100%;

    height: 40px;

    margin-top: 15px;

    padding: 0 15px;

    border: none;

    border-radius: 20px;

    background: #242f67;

    color: #ffffff;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.travel-cost-summary-btn:hover {
    background: #1c2554;

    transform: translateY(-1px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 768px) {

    .travel-calculate-section {
        padding: 20px 18px 35px;
    }

    .travel-calculate-title {
        font-size: 28px;
    }

    .travel-calculator-card {
        max-width: 650px;
    }

    .travel-calculate-grid {
        column-gap: 9px;
        row-gap: 12px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {

    .travel-calculate-section {
        padding: 20px 12px 30px;
    }

    .travel-calculate-title {
        font-size: 24px;

        margin-bottom: 15px;
    }

    .travel-calculator-card {
        padding: 14px;

        border-radius: 12px;
    }

    .travel-calculator-tabs {
        gap: 6px;

        margin-bottom: 15px;
    }

    .travel-calculator-tab {
        height: 40px;

        padding: 0 8px;

        font-size: 11px;
    }

    .travel-calculator-tab i {
        font-size: 11px;
    }

    .travel-calculate-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        column-gap: 8px;
        row-gap: 12px;
    }

    .travel-calculate-field label {
        font-size: 10px;
    }

    .travel-calculate-field input,
    .travel-calculate-field select {
        height: 36px;

        font-size: 11px;
    }

    .travel-view-cars-btn {
        height: 36px;

        font-size: 11px;
    }

    .travel-cost-summary-btn {
        height: 40px;

        font-size: 12px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .travel-calculate-grid {
        grid-template-columns: 1fr;
    }

    .travel-calculator-tab {
        font-size: 10px;
    }

    .travel-calculate-title {
        font-size: 22px;
    }

}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    width: 100%;
    background: #242f67;
    color: #ffffff;

    border-radius: 0 0 4px 4px;
}


/* MAIN FOOTER */

.footer-container {
    max-width: 1400px;
    margin: 0 auto;

    padding: 48px 24px 30px;

    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    column-gap: 70px;
}


/* COLUMNS */

.footer-column h3 {
    margin: 0 0 14px;

    font-size: 19px;
    font-weight: 700;

    line-height: 1.45;
}

.footer-column p {
    margin: 0 0 12px;

    font-size: 13px;
    font-weight: 500;

    line-height: 1.45;
}


/* LINKS */

.footer-column a {
    display: block;

    margin-bottom: 7px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 500;

    line-height: 1.35;

    text-decoration: none;

    transition: opacity 0.2s ease;
}

.footer-column a:hover {
    color: #c73346;
}


/* BOTTOM */

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;

    padding: 22px 24px 38px;

    /* border-top: 1px solid rgba(255, 255, 255, 0.8); */

    text-align: center;
}

.footer-bottom p {
    margin: 0;

    font-size: 13px;
    font-weight: 500;

    line-height: 1.4;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}

.footer-social a {
    width: 36px;
    height: 36px;

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

    margin: 0;

    /* border: 1px solid rgba(255, 255, 255, 0.7); */
    border-radius: 50%;

    color: #ffffff;

    font-size: 17px;

    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.footer-social a:hover {
    /* background: #ffffff; */
    color: #ffffff;
    opacity: 0.5;
    transform: translateY(-3px);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .footer-container {
        grid-template-columns: 1fr 1fr;

        column-gap: 40px;
        row-gap: 35px;
    }

    .footer-company {
        grid-column: 1 / -1;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 576px) {

    .footer-container {
        grid-template-columns: 1fr;

        padding: 35px 22px 25px;

        row-gap: 28px;
    }

    .footer-company {
        grid-column: auto;
    }

    .footer-column h3 {
        font-size: 18px;
    }

    .footer-column p,
    .footer-column a {
        font-size: 13px;
    }

    .footer-bottom {
        padding: 20px 20px 30px;
    }

    .footer-bottom p {
        font-size: 12px;
    }

}

/* =========================================
   CHAT BUTTON
========================================= */

#chat-btn {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 62px;
    height: 62px;

    padding: 0;
    border: none;
    border-radius: 50%;

    background: #242f67;
    color: #ffffff;

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

    cursor: pointer;

    z-index: 999999;

    font-size: 28px;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);

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

#chat-btn:hover {
    transform: scale(1.08);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}


/* =========================================
   CHAT WIDGET
========================================= */

.chat-widget {
    position: fixed;

    right: 25px;
    bottom: 100px;

    width: 360px;
    max-width: calc(100vw - 30px);

    background: #ffffff;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.22);

    z-index: 9999;

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(15px) scale(0.95);

    transform-origin: bottom right;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}


/* OPEN */

.chat-widget.active {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(0) scale(1);
}


/* =========================================
   CHAT HEADER
========================================= */

.chat-header {
    min-height: 65px;

    padding: 12px 15px;

    background: #242f67;
    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-title {
    display: flex;
    align-items: center;

    gap: 10px;
}

.chat-title img {
    width: 38px;
    height: 38px;

    object-fit: contain;

    background: #ffffff;
    border-radius: 50%;
}

.chat-title span {
    font-size: 16px;
    font-weight: 700;
}


.close-btn {
    width: 34px;
    height: 34px;

    border: none;
    background: transparent;

    color: #ffffff;

    font-size: 20px;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    opacity: 0.7;
}


/* =========================================
   STATUS
========================================= */

.chat-status {
    padding: 8px 15px;

    font-size: 12px;

    color: #555;

    border-bottom: 1px solid #eeeeee;
}

.online-dot {
    display: inline-block;

    width: 8px;
    height: 8px;

    margin-right: 5px;

    border-radius: 50%;

    background: #2dbd59;
}


/* =========================================
   CHAT BODY
========================================= */

.chat-body {
    height: 260px;

    padding: 15px;

    overflow-y: auto;

    background: #f6f8fc;
}

.message {
    max-width: 90%;

    padding: 12px 14px;

    border-radius: 14px;

    font-size: 13px;

    line-height: 1.6;
}

.message.support {
    background: #ffffff;

    color: #333;

    border-top-left-radius: 4px;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.06);
}


/* =========================================
   CHAT FOOTER
========================================= */

.chat-footer {
    padding: 12px;

    background: #ffffff;

    border-top: 1px solid #eeeeee;
}


/* QUICK CONTACT */

.quick-contact {
    display: grid;

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

    gap: 8px;

    margin-bottom: 10px;
}

.quick-contact button {
    height: 36px;

    border: 1px solid #242f67;

    border-radius: 8px;

    background: #ffffff;

    color: #242f67;

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.quick-contact button:hover {
    background: #242f67;

    color: #ffffff;
}


/* =========================================
   INPUT
========================================= */

.chat-input-row {
    display: flex;

    gap: 8px;
}

.chat-input-row input {
    flex: 1;

    min-width: 0;

    height: 40px;

    padding: 0 12px;

    border: 1px solid #dddddd;

    border-radius: 8px;

    outline: none;

    font-size: 13px;
}

.chat-input-row input:focus {
    border-color: #242f67;
}


.send-btn {
    width: 42px;
    height: 40px;

    border: none;

    border-radius: 8px;

    background: #242f67;

    color: #ffffff;

    font-size: 18px;

    cursor: pointer;

    transition: background 0.2s ease;
}

.send-btn:hover {
    background: #1c2554;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 576px) {

    #chat-btn {
        right: 18px;
        bottom: 18px;

        width: 56px;
        height: 56px;
    }

    #chat-btn img {
        width: 34px;
        height: 34px;
    }

    .chat-widget {
        right: 15px;
        bottom: 85px;

        width: calc(100vw - 30px);
    }

}

/* =========================================================
   CALCULATION SUMMARY
========================================================= */

.travel-summary-box {
    width: 100%;
    max-width: 650px;
    margin: 25px auto 0;

    display: none;

    box-sizing: border-box;
}

.travel-summary-box.show {
    display: block;
}


/* =========================================================
   SUMMARY CARD
========================================================= */

.travel-summary-card {
    width: 100%;
    box-sizing: border-box;

    padding: 20px;

    background: #ffffff;

    border: 2px solid #242f67;

    border-radius: 0;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.16);

    animation: summaryFadeIn 0.25s ease;
}


@keyframes summaryFadeIn {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   SUMMARY HEADER
========================================================= */

.travel-summary-header {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


.travel-summary-brand {
    display: flex;
    align-items: center;

    gap: 12px;

    color: #242f67;

    font-size: 18px;
    font-weight: 700;
}


.travel-summary-brand img {
    width: 42px;
    height: 42px;

    object-fit: contain;
}


.travel-summary-contact {
    display: flex;
    flex-direction: column;

    align-items: flex-end;

    gap: 3px;

    color: #242f67;

    font-size: 9px;

    text-align: right;
}


.travel-summary-contact strong {
    font-size: 10px;
}


/* =========================================================
   HEADER LINE
========================================================= */

.travel-summary-line {
    width: 100%;
    height: 3px;

    margin: 10px 0 18px;

    background: #242f67;
}


/* =========================================================
   SUMMARY TABLE
========================================================= */

.travel-summary-table-head {
    width: 100%;

    display: grid;

    grid-template-columns:
        1.2fr
        1fr
        1fr
        .9fr;

    gap: 15px;

    padding-bottom: 10px;

    border-bottom: 2px solid #242f67;

    color: #242f67;

    font-size: 10px;
    font-weight: 700;
}


.travel-summary-table-head span:last-child {
    text-align: right;
}


/* =========================================================
   SUMMARY ROW
========================================================= */

.travel-summary-table-row {
    width: 100%;

    display: grid;

    grid-template-columns:
        1.2fr
        1fr
        1fr
        .9fr;

    gap: 15px;

    min-height: 55px;

    padding: 15px 5px;

    box-sizing: border-box;

    border-bottom: 1px dotted #aaa;

    color: #333;

    font-size: 12px;

    line-height: 1.5;
}


.travel-summary-table-row span:last-child {
    text-align: right;

    white-space: nowrap;
}


.travel-summary-table-row small {
    color: #777;

    font-size: 9px;
}


/* =========================================================
   TOUR GUIDE
========================================================= */

.travel-summary-guide {
    width: 100%;

    display: flex;

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

    padding: 10px 5px;

    box-sizing: border-box;

    color: #333;

    font-size: 10px;
}


.travel-summary-guide span:last-child {
    font-weight: 600;
}


/* =========================================================
   TOTAL
========================================================= */

.travel-summary-total {
    width: 100%;

    min-height: 62px;

    display: flex;

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

    padding: 0 12px;

    box-sizing: border-box;

    background: #242f67;

    color: #ffffff;
}


.travel-summary-total span {
    font-size: 11px;

    font-weight: 700;
}


.travel-summary-total strong {
    font-size: 21px;

    font-weight: 700;
}


/* =========================================================
   QR AREA
========================================================= */

.travel-summary-qr {
    width: 100%;

    display: flex;

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

    gap: 100px;

    margin-top: 10px;

    padding-top: 12px;

    border-top: 1px dashed #242f67;
}


.qr-item {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 4px;
}


.qr-placeholder {
    width: 48px;
    height: 48px;

    display: flex;

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

    border: 1px solid #242f67;

    color: #242f67;

    font-size: 8px;
    font-weight: 700;
}


.qr-item span {
    color: #242f67;

    font-size: 7px;

    font-weight: 700;
}

.travel-summary-qr-img {
    width: 58px;
    height: 58px;

    object-fit: contain;

    display: block;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .travel-summary-box {
        max-width: 650px;

        margin-top: 20px;
    }

}


@media (max-width: 576px) {

    .travel-summary-card {
        padding: 15px;
    }


    .travel-summary-header {
        gap: 10px;
    }


    .travel-summary-brand {
        font-size: 15px;
    }


    .travel-summary-brand img {
        width: 36px;
        height: 36px;
    }


    .travel-summary-contact {
        font-size: 8px;
    }


    .travel-summary-contact strong {
        font-size: 8px;
    }


    .travel-summary-table-head,
    .travel-summary-table-row {

        grid-template-columns:
            1.15fr
            1fr
            1fr
            .9fr;

        gap: 7px;
    }


    .travel-summary-table-head {
        font-size: 8px;
    }


    .travel-summary-table-row {
        padding: 13px 2px;

        font-size: 9px;
    }


    .travel-summary-table-row small {
        font-size: 7px;
    }


    .travel-summary-total {
        min-height: 55px;

        padding: 0 10px;
    }


    .travel-summary-total span {
        font-size: 9px;
    }


    .travel-summary-total strong {
        font-size: 17px;
    }


    .travel-summary-qr {
        gap: 45px;
    }


    .qr-placeholder {
        width: 42px;
        height: 42px;
    }

}


@media (max-width: 400px) {

    .travel-summary-table-head,
    .travel-summary-table-row {

        grid-template-columns:
            1.1fr
            1fr
            1fr
            .9fr;

        gap: 5px;
    }


    .travel-summary-qr {
        gap: 25px;
    }

}


