* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
}

p {
    font-size: 16px;
    font-weight: 500;
    font-family: sans-serif;
    line-height: 1.5;
}

.flight3_h2 {
    position: relative;
    font-weight: 600;
    color: #000;
    margin-bottom: 25px;
    padding-bottom: 10px;
    display: inline-block;
}

.flight3_h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, #1c1c46, #3535a1);
    border-radius: 5px;
    transition: 0.4s;
}

/* ============== header ================ css */

.flight3_discount {
    background-color: #3535a1;
}

.flight3_logoimg {
    width: 200px;
}

.flight3_colps .nav-link {
    color: #000;
    font-size: 16px;
    font-weight: 600;
    margin: 0 12px;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

.flight3_colps .nav-link.active,
.flight3_colps .nav-link:hover {
    color: #3535a1;
}

.flight3_colps .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #3535a1;
    transition: 0.3s;
}

.flight3_colps .nav-link:hover::after,
.flight3_colps .nav-link.active::after {
    width: 100%;
}


.flight3_callbtnbox {
    background: #3535a1;
    color: #fff;
    padding: 8px 14px;
    border-radius: 50px;
    text-decoration: none;
    gap: 10px;
    transition: 0.3s;
}

.flight3_callbtnbox:hover {
    background: #1c1c46;
    color: #fff;
}

.flight3_callicon img {
    width: 34px;
    height: 34px;
}

.flight3_calltext small {
    display: block;
    font-size: 12px;
    line-height: 12px;
}

.flight3_calltext strong {
    font-size: 15px;
}

/* ============== header ================ css */

/* ================================== index page css ============================================== */

/* =========== banner ============= css */

.flight3_banner {
    position: relative;
    background: url('../img/banner-flights-1200x462.jpg') center/cover no-repeat;
    z-index: 1;
}

.flight3_banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Adjust opacity here */
    z-index: -1;
}

.flight3_banner > * {
    position: relative;
    z-index: 2;
}


.flight3_box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
}

.flight3_field {
    background: #f7f7f7;
    padding: 12px;
    border-radius: 8px;
}

.flight3_field input {
    border: none !important;
    width: 100%;
    background: transparent;
    font-weight: 600;
    outline: none !important;
}

.trip-tabs .nav-link {
    color: #3535a1;
    font-weight: 600;
    background: #eef0ff;
    margin-bottom: 8px;
    border-radius: 8px;
}

.trip-tabs .nav-link.active {
    background: #3535a1;
    color: #fff;
}

@media(max-width:991px) {
    .trip-tabs {
        flex-direction: row !important;
        gap: 10px;
        overflow: auto;
    }

    .trip-tabs .nav-link {
        flex: 1;
        white-space: nowrap;
    }
}

.seat-dropdown {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    display: none;
    z-index: 999;
}

.pax-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.seat-dropdown .counter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.seat-dropdown .counter span {
    min-width: 20px;
    text-align: center;
}

.seat-dropdown .counter button {
    gap: 10px;
    background: #3535a1;
    color: #fff;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.btn-done {
    background: #3535a1;
    color: #fff;
}

.btn-flight3_search {
    background: #3535a1;
    color: #fff;
    font-weight: 700;
    padding: 14px;
    border: none;
    border-radius: 8px;
}


/* =========== banner ============= css */


/* ============= why choose css =============== */




.flight3_whycard {
    background: #fff;
    padding: 35px 25px;
    border-radius: 14px;
    transition: all .35s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.flight3_whyiconbox {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #3535a1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    transition: all .35s ease;
}

.flight3_whycard h5 {
    font-weight: 700;
    margin-bottom: 10px;
}

.flight3_whycard p {
    color: #777;

}


.flight3_whycard:hover {
    background: #3535a1;
    transform: translateY(-8px);
}

.flight3_whycard:hover h5,
.flight3_whycard:hover p {
    color: #fff;
}

.flight3_whycard:hover .flight3_whyiconbox {
    background: #fff;
    color: #3535a1;
    transform: scale(1.1) rotate(5deg);
}


/* =========== why choose css =============== */


/* ========= flight car cruise boking css ============ */


.flight3_imgeffect {
    position: relative;
    overflow: hidden;
    perspective: 40em;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.flight3_imgeffect img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}


.flight3_imgeffect .flight3_caption {
    position: absolute;
    inset: 20px;
    background-color: rgba(38, 38, 38, 0.92);
    outline: 1px solid rgba(255, 255, 255, 0.7);
    outline-offset: -12px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;

    transform: rotateX(-90deg);
    transform-origin: 50% 50%;
    opacity: 0;
    transition: transform .7s ease, opacity .7s ease;
}

.flight3_imgeffect:hover .flight3_caption {
    transform: rotateX(0);
    opacity: 1;
}


.flight3_caption h6 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.flight3_caption small {
    color: #ddd;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}


.flight3_btnview {
    background: #3535a1;
    color: #fff;
    border: none;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 14px;
    transition: .3s;
}

.flight3_btnview:hover {
    background: #fff;
    color: #3535a1;
}


.flight3_caption h6,
.flight3_caption small,
.flight3_caption .flight3_btnview {
    opacity: 0;
    transform: translateY(15px);
    transition: .4s ease .2s;
}

.flight3_imgeffect:hover .flight3_caption h6,
.flight3_imgeffect:hover .flight3_caption small,
.flight3_imgeffect:hover .flight3_caption .flight3_btnview {
    opacity: 1;
    transform: translateY(0);
}


/* ========= flight car cruise boking css ============ */

/* ================================== index page css ============================================== */


/* ================================== flight html section ========================================= */

.flight3_hero-banner {
    height: 90vh;
    background: url('../img/b2.jpg') no-repeat center center/cover;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}


.flight3_hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.flight3_hero-banner .container {
    position: relative;
    z-index: 2;
}

.flight3_hero-title {
    font-size: 48px;
    font-weight: 700;
    animation: fadeInDown 1.2s ease-in-out;
}

.flight3_hero-subtitle {
    font-size: 20px;
    margin-top: 15px;
    animation: fadeInUp 1.2s ease-in-out;
}


.flight3_book-btn {
    background: linear-gradient(45deg, white, #3535a1);
    border: none;
    padding: 14px 40px;
    font-size: 18px;
    font-weight: 600;
    color: #000;
    border-radius: 50px;
    transition: all 0.4s ease;

}

.flight3_book-btn:hover {
    transform: translateY(-5px) scale(1.05);

    color: #000;
}


@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 768px) {
    .flight3_hero-title {
        font-size: 30px;
    }

    .flight3_hero-subtitle {
        font-size: 16px;
    }
}

/* ================================== flight html section ========================================= */

/* ================================== car html section ============================================ */


/* ================================== car html section ============================================ */

/* ========= footer css ======== */
.flight3_premium-footer {
    background: #3535a1;
    overflow: hidden;
}

.flight3_footer-logo {
    font-weight: bold;
    font-size: 28px;
    color: white;
}

.footer-heading {
    color: white;
    margin-bottom: 15px;
}

.footer-heading {
    position: relative;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 25px;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, white, #4f8edd);
    border-radius: 5px;
    transition: 0.4s;
}

.footer-heading:hover::after {
    width: 70px;
}

.footer-link {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 8px;
}

.footer-link:hover {
    color: #fff;
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
    transition: all 0.4s ease;

}

.social-icon:hover {
    transform: scale(1) translateY(-2px);
    background: #fff;
    color: #3535a1;
    box-shadow: 0 10px 25px #1c1c46;
}

.flight3_footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
}

.call-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #3535a1;
    color: #fff;
    padding: 12px 10px;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
}

.call-footer small {
    font-size: 12px;
    opacity: .8;
}

.call-footer strong {
    font-size: 15px;
}

.call-footer:hover {
    background: #2a2a8a;
    color: #fff;
}

/* ========= footer css ======== */

/* AUTOCOMPLETE CONTAINER */
.ui-autocomplete {
    max-height: 260px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
    border-radius: 12px;
    border: none;
    padding: 6px 0;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    z-index: 1055 !important;
    font-family: inherit;
}

/* AUTOCOMPLETE ITEM */
.ui-autocomplete .ui-menu-item {
    padding: 0;
    border: none;
}

/* ITEM CONTENT */
.ui-autocomplete .ui-menu-item-wrapper {
    padding: 12px 16px;
    font-size: 16px;
    line-height: 1.3;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #222;
}

/* CITY / AIRPORT MAIN TEXT */
.ui-autocomplete .ui-menu-item-wrapper strong {
    font-weight: 600;
    display: block;
}

/* SUBTEXT (AIRPORT NAME) */
.ui-autocomplete .ui-menu-item-wrapper span {
    font-size: 12px;
    color: #6c757d;
}

/* HOVER / ACTIVE */
.ui-autocomplete .ui-state-active,
.ui-autocomplete .ui-menu-item-wrapper:hover {
    background: #f1f5ff;
    color: #0d6efd;
    border-radius: 8px;
}

/* REMOVE JQUERY UI BORDERS */
.ui-widget-content {
    border: none;
   
}

/* SCROLLBAR (WEBKIT) */
.ui-autocomplete::-webkit-scrollbar {
    width: 6px;
}

.ui-autocomplete::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.ui-autocomplete::-webkit-scrollbar-track {
    background: transparent;
}

/* Remove border from autocomplete list items */
.ui-autocomplete .ui-menu-item,
.ui-autocomplete .ui-menu-item-wrapper {
    border: none !important;
}

/* Also remove focus/active borders */
.ui-autocomplete .ui-state-active,
.ui-autocomplete .ui-state-hover {
    border: none !important;
    outline: none;
}
/* Modal background and box */
.flight-loader-modal {
    border-radius: 15px;
    background: #fff;
    max-width: 400px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Loader animation */
.loader-circle {
    width: 60px;
    height: 60px;
    border: 6px solid #eee;
    border-top-color: #007bff;
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}

/* Summary text */
.search-summary p {
    margin: 0.3rem 0;
    font-size: 0.95rem;
}

/* Input error border */
input.is-invalid, select.is-invalid {
    border-color: red !important;
}

/* Custom Modal Styling */
.custom-modal {
    border-radius: 12px;
    background: #fff9f0;
    padding: 20px;
}

.modal-head {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ff6f00;
}

.route-info {
    font-size: 1.2rem;
    color: #333;
}

.route-info .loc-name {
    font-weight: 600;
}

.dates-info, .passenger-info {
    color: #555;
}

.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader {
    display: inline-block;
    position: relative;
    width: 60px;
    height: 60px;
}

.loader div {
    position: absolute;
    border: 4px solid #ff6f00;
    opacity: 1;
    border-radius: 50%;
    animation: loaderAnim 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.loader div:nth-child(2) {
    animation-delay: -0.5s;
}

@keyframes loaderAnim {
    0% {
        top: 26px;
        left: 26px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: 0px;
        left: 0px;
        width: 52px;
        height: 52px;
        opacity: 0;
    }
}

/* CTA */
.cta-section h4 {
    font-weight: 600;
}

.cta-phone {
    display: inline-block;
    margin-top: 5px;
    font-size: 20px;
    font-weight: 500;
    background-color: #ff6f00;
    color: white;
    padding: 10px 30px;
    border-radius: 300px;
    text-decoration: none;
}

.cta-phone:hover {
    text-decoration: underline;
}

/* Optional: dim background blur effect */
.modal-backdrop.show {
    opacity: 0.6;
    backdrop-filter: blur(2px);
}