﻿.inner-banner.home-banner {
    height: 450px;
    min-height: 100vh;
    background-image: url(../images/landscape-view.avif);
}

@media screen and (max-width: 768px) {
    .inner-banner.home-banner {
        min-height: 500px;
        background-image: url(../images/landscape-view_mobile.avif);
    }
}


.sm-show {
    display: none;
}

@media screen and (max-width: 768px) {
    .sm-hide {
        display: none;
    }

    .sm-show {
        display: block;
    }
}



/*Search form*/
.flight-search {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px 30px;
}

/* Tabs */
.flight-tabs {
    display: flex;
    gap: 24px;
    background: #f2f4f7;
    padding: 16px 16px 5px 16px;
    border-radius: 5px 5px 0 0;
}

.tab {
    background: none;
    border: none;
    font-weight: 600;
    font-size: 14px;
    color: #444650;
    cursor: pointer;
    padding-bottom: 6px;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
}

    .tab.active {
        border-bottom: 2px solid #d50900;
    }

/* Form */
.flight-form {
    background: #fff;
    padding: 20px;
    border-radius: 0 0 5px 5px;
    border-bottom: 5px solid #d50900;
}

/* Top row */
.form-row {
    display: flex;
    gap: 16px;
    align-items: stretch;
}

/* Field groups */
.field-group {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0;
}

    .field-group:not(.dates) > div {
        flex: 1;
        position: relative;
    }

    .field-group > div .field,
    .field-group.dates .field {
        padding: 12px 16px;
        flex: 1;
        position: relative;
        min-width: 150px;
        border-right: 1px solid #eee;
    }

        .field-group > div:last-child .field,
        .field-group.dates .field:last-child {
            border-right: none;
        }

        .field-group > div .field input {
            width: 100%;
        }

.field-value {
    position: relative;
    display: flex;
    align-items: center;
}

    .field-value input {
        width: 100%;
        padding-right: 15px;
    }

.flight-search .clear-btn {
    position: absolute;
    right: -11px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    font-size: 15px;
    z-index: 1;
    background: #e5e5e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.flight-search label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #444650;
    opacity: .6;
    margin-bottom: 4px;
}
/* Swap button */
.flight-search .swap-btn {
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    z-index: 1;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}
/* Field */
.field-value {
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    grid-gap: 6px;
}

    .field-value input::-webkit-input-placeholder {
        color: #aaa;
    }

    .field-value input::-moz-placeholder {
        color: #aaa;
    }

    .field-value input:-moz-placeholder {
        color: #aaa;
    }

/* Button */
.search-btn {
    background: #0b1f4d;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 25px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

    .search-btn:disabled {
        cursor: not-allowed;
        opacity: 0.6;
    }

/* Footer */
.form-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.left-options {
    display: flex;
    gap: 32px;
}

.option-value {
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.option-wrap {
    position: relative;
}


/* Modal */
.dropdown-passenger {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    width: 280px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    padding: 16px;
    z-index: 30;
    animation: fadeSlideUp .2s ease;
}

/* List */
.passenger-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Row */
.passenger-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Info */
.passenger-info-title {
    font-weight: bold;
    color: #222;
}

.passenger-info-subtitle {
    font-size: 12px;
    color: #888;
    line-height: 1.5em;
}

/* Action */
.passenger-action {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .passenger-action .nice-number {
        width: 100%;
    }

    .passenger-action .nice-number {
        position: relative;
    }

        .passenger-action .nice-number input {
            background: none;
            border: none;
            padding: 0;
            width: 100%;
        }

        .passenger-action .nice-number button {
            background: none;
            border: 1px solid #CACACA;
            border-radius: 10px;
            width: 45px;
            height: 30px;
        }

            .passenger-action .nice-number button:hover {
                border: 1px solid #ff6600;
                color: #ff6600;
            }

/* Footer */
.passenger-footer {
    padding-top: 8px;
    border-top: 1px solid rgba(0,0,0,0.1);
    display: flex;
    justify-content: flex-end;
}

    /* Button */
    .passenger-footer .btn-done {
        border: none;
        background: none;
        color: #ff6600;
        font-weight: bold;
        cursor: pointer;
    }

        .passenger-footer .btn-done:hover {
            text-decoration: underline;
        }

.class-dropdown {
    position: absolute;
    width: 220px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    padding: 6px 0;
    z-index: 50;
    animation: fadeSlideUp 0.2s ease;
}

.flight-form .dropdown-item {
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

    .flight-form .dropdown-item:hover {
        background: rgba(0, 0, 0, 0.05);
    }

    .flight-form .dropdown-item.active {
        font-weight: 600;
    }

    .flight-form .dropdown-item .icon {
        color: #ff6600; /* primary */
        font-size: 14px;
    }

.flight-form .dropdown-note {
    padding: 4px 16px 16px;
    font-size: 14px;
    color: #666;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.airport-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    min-width: 350px;
    margin-top: 8px;
    background: #fff;
    border-radius: 10px;
    border-bottom: 4px solid #d50900;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    overflow: hidden;
    z-index: 50;
    animation: fadeIn 0.2s ease;
}

.right .airport-dropdown {
    right: 0;
    left: unset;
}

.airport-dropdown .section-title {
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    color: #888;
    padding: 8px 10px;
}

.airport-dropdown .airport-wrap {
    max-height: 250px;
    overflow-y: auto;
}

/* Item */
.airport-dropdown .dropdown-item {
    width: 100%;
    border: none;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

    .airport-dropdown .dropdown-item:hover {
        background: #f5f5f5;
    }

/* Left */
.airport-dropdown .item {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 12px;
    text-align: left;
}

    /* Text */
    .airport-dropdown .item .name {
        font-size: 13px;
        line-height: 1rem;
        font-weight: 600;
        color: #0b1f4d;
    }

    .airport-dropdown .item .meta {
        font-size: 11px;
        line-height: 1rem;
    }


.md-show {
    display: none;
}

@media screen and (max-width: 991.98px) {
    .md-show {
        display: block;
    }

    .md-hide {
        display: none;
    }

    .form-row {
        display: grid;
    }

    .search-btn {
        padding: 12px 24px;
        min-height: 60px;
        width: 100%;
    }

    .form-footer {
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 575.98px) {
    .field-group {
        flex-direction: column;
    }
    .airport-dropdown {
        min-width:100%;
    }

    .right .airport-dropdown {
        right: unset;
        left: 0;
    }

}

.bootstrap-datetimepicker-widget {
    color: #191C1E;
    background: #fff;
    width: auto !important;
    padding: 0 !important;
    border: none !important;
}

    .bootstrap-datetimepicker-widget .datepicker table thead tr:first-child th {
        background: #0b1f4d;
        color: #fff;
        text-transform: uppercase;
        font-weight: 900;
        padding: 15px;
        border-radius: 0;
    }

    .bootstrap-datetimepicker-widget table th.disabled,
    .bootstrap-datetimepicker-widget table th.disabled:hover {
        color: rgba(218, 226, 255, .3) !important;
    }

    .bootstrap-datetimepicker-widget .datepicker table thead tr th.dow {
        font-size: 11px !important;
        color: #aaa;
        font-weight: 600;
        text-transform: uppercase;
    }

    .bootstrap-datetimepicker-widget .datepicker table tr td {
        font-size: 15px;
        font-weight: 500;
        border-radius: 0;
        padding: 8px 12px;
    }

    .bootstrap-datetimepicker-widget table td span.active,
    .bootstrap-datetimepicker-widget table td.active, .bootstrap-datetimepicker-widget table td.active:hover {
        background-color: #B6171E;
    }

        .bootstrap-datetimepicker-widget table td.active.disabled, .bootstrap-datetimepicker-widget table td.active.disabled:hover {
            background-color: rgba(255, 102, 0, 0.5);
        }

    .bootstrap-datetimepicker-widget table td.disabled, .bootstrap-datetimepicker-widget table td.disabled:hover {
        color: rgba(218, 226, 255, 1);
        text-decoration: line-through;
    }

    .bootstrap-datetimepicker-widget table td.today {
        background: rgba(218, 226, 255, 1);
        color: #aaa;
    }

        .bootstrap-datetimepicker-widget table td.today::before {
            border-bottom-color: #ff6600;
        }


/*flight result */


.flight-card {
    position: relative;
    background-color: #ffffff;
    border-radius: 5px;
    overflow: hidden;
    border-bottom: 5px solid #d50900;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.flight-card-header .bg-dark {
    background: url('../images/pentagon-fade.png') #021a5a;
    font-size: 20px;
    font-weight: 700;
    font-style: italic;
    padding: 15px;
}

.flight-card-body {
    padding: 30px 35px;
    display: grid;
    grid-template-columns: 25% 75%;
    align-items: center;
}

.flight-identity {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    grid-row: 1 / span 2;
}

.airline-logo {
    width: 60px;
    height: 50px;
    background-color: #fff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    margin-bottom: 8px;
}

    .airline-logo img {
        width: 100%;
        height: auto;
        margin: 0 0 5px 0;
    }

.flight-card .flight-number {
    font-weight: 700;
    color: #000d2e;
    text-align: center;
}

@media (min-width: 768px) {
    .flight-card .flight-number {
        text-align: left;
    }
}

.flight-card .aircraft-type {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    color: #444650;
    letter-spacing: 0.1em;
}

.flight-card .flight-route {
    align-items: center;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: auto 1fr auto;
    margin-top: 20px;
    position: relative;
}

.flight-card .flight-route:after{content:"";width:100%;height:0; border-bottom: 1px dashed #eee; position:absolute; bottom:-20px; left:50%; transform:translateX(-50%);}
.flight-card .flight-route:last-child:after{display:none;}

.flight-card .route-point {
    text-align: center;
    z-index: 10;
}

.flight-card .departure-time {
    font-size: 24px;
    font-weight: 700;
    color: #000d2e;
    padding-bottom: 5px;
}

.flight-card .airport-code {
    font-size: 14px;
    font-weight: 700;
    color: #444650;
    padding-bottom: 0;
}

@media only screen and (max-width: 767.98px) {
    .flight-card .departure-time {
        font-size: 18px;
    }

    .flight-card .airport-code {
        font-size: 14px;
    }
}

@media only screen and (max-width: 575.98px) {
    .flight-card-body {
        padding: 25px 20px;
        align-items: center;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .flight-card .flight-number{text-align:left;}
    .flight-card .schedule {max-width: 100% !important; width: 100%;}
    .flight-card .flight-route{margin-top:0;}
    .flight-card .flight-route:after {bottom: -10px;}
    .flight-identity {
        display: grid;
        grid-template-columns: 90px auto;
        justify-content: space-evenly;
    }
    .flight-identity .airline-logo{grid-row: 1 / span 2; margin-bottom: 0;}

    .flight-card-body.no-schedule {grid-template-columns: 1fr;}
    .flight-card-body.no-schedule .flight-identity {align-items: center;}
}


.flight-card .route-line-inner {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
}

.flight-card .route-line-dashed {
    width: 100%;
    height: 1px;
    background-image: linear-gradient(to right, #c5c6d1 40%, rgba(255,255,255,0) 0%);
    background-position: bottom;
    background-size: 12px 1px;
    background-repeat: repeat-x;
    opacity: 0.6;
}

.flight-card .route-icon-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    padding-left: 12px;
    padding-right: 12px;
    color: #d50900;
    font-size: 25px;
}

.flight-card .flight-icon {
    color: #b6171e;
    font-size: 14px;
    transform: rotate(90deg);
}

.flight-card .route-duration {
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    color: #444650;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.flight-card .pricing-section {
    border-top: 1px solid #c5c6d1;
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

@media (min-width: 768px) {
    .flight-card .pricing-section {
        border-top: none;
        border-left: 1px solid #c5c6d1;
        padding-top: 0;
        padding-left: 32px;
    }
}

.flight-card .price-label {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    color: #444650;
    letter-spacing: 0.1em;
    text-align: center;
}

@media (min-width: 768px) {
    .flight-card .price-label {
        text-align: right;
    }
}

.flight-card .price-value {
    font-size: 32px;
    font-weight: 700;
    color: #000d2e;
    text-align: center;
}

@media (min-width: 768px) {
    .flight-card .price-value {
        text-align: right;
    }
}

.btn-view-details {
    width: 100%;
    background-color: #002159;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

    .btn-view-details:hover {
        background-color: #000d2e;
    }

    .btn-view-details:active {
        transform: scale(0.98);
    }

.flight-card-footer {
    background-color: #f2f4f7;
    padding: 8px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flight-card .seats-left {
    font-size: 10px;
    font-weight: 700;
    color: #b6171e;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.flight-card .price-right {
    font-size: 12px;
    font-weight: 700;
    color: #000d2e;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.flight-card .schedule {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin: 0 0 0 auto;
    max-width: 320px;
}

    .flight-card .schedule > div {
        border: 1px solid #fff;
        text-align: center;
    }

        .flight-card .schedule > div div {
            background: #f9f9f9;
            padding: 5px;
            font-weight: 600;
            font-size: 17px;
        }

        .flight-card .schedule > div .day {
            background: #fff;
            border-bottom: 1px solid #fff;
            font-size: 13px;
        }

    .flight-card .schedule tr td .route-icon-wrapper {
        font-size: 20px;
    }

@media only screen and (max-width: 767.98px) {
        .flight-card .schedule > div div {
            padding: 3px 5px;
            font-size: 16px;
        }

        .flight-card .schedule > div .day {
            font-size: 12px;
        }
}
/*booking sidebar*/
.price-label {
    font-size: 12px;
    font-weight: bold;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.price-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 20px;
    font-family: system-ui;
    position: sticky;
    top: 70px;
    z-index: 1;
}

/* PRICE TOP */
.price-top {
    margin-bottom: 12px;
}

.price-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    font-weight: 600;
}

.price-main {
    font-size: 34px;
    font-weight: 800;
    color: #111;
    margin: 4px 0;
}

.price-main span.currency {
    font-size: 16px;
    font-weight: 600;
    margin-left: 4px;
}

.price-sub {
    font-size: 12px;
    color: #666;
}

/* URGENCY */
.urgency-badge {
    display: inline-block;
    margin-top: 8px;
    background: #fff1f0;
    color: #d50900;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
}

/* SECTION */
.price-section {
    border-top: 1px solid #eee;
    padding-top: 12px;
    margin-top: 12px;
}

.route {
    font-size: 15px;
    font-weight: 700;
    color: #111;
}

.date {
    font-size: 13px;
    color: #666;
    margin-top: 2px;
}

.flight-meta {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

/* CTA */
.price-cta {
    margin-top: 16px;
}

.btn-primary {
    width: 100%;
    background: #ff5a00;
    color: #fff;
    border: none;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-primary.small {
        width: auto;
        color: #fff;
        padding: 10px;
        font-size: 13px;
        border-radius: 5px;
    }

    .btn-primary:hover {
        background: #e14f00;
        transform: translateY(-1px);
        box-shadow: 0 6px 14px rgba(0,0,0,0.15);
    }

    .btn-primary:disabled {
        background: #E2E2E2 !important;
        color: #0A0A14;
        opacity: 0.4;
        cursor: not-allowed;
    }

.btn-enquiry {
    width: 100%;
    background: #007bff;
    color: #fff;
    border: none;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-enquiry:hover {
    background: #0069d9;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.cta-sub {
    text-align: center;
    font-size: 11px;
    color: #888;
    margin-top: 6px;
}

/* TRUST */
.price-trust {
    border-top: 1px solid #eee;
    margin-top: 14px;
    padding-top: 10px;
    font-size: 12px;
    color: #555;
}

.price-trust div {
    margin-bottom: 4px;
}

/* FOOTER */
.price-footer {
    font-size: 11px;
    color: #999;
    margin-top: 12px;
    text-align: center;
}

.price-footer a {
    color: #ff5a00;
    text-decoration: none;
}
