.img-top-bg {
    /* background-image: url("../img/top-bg.png"); */
    background-image: linear-gradient(#0054B7, #fff);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 258px;
}

.top-margin-114 {
    margin-top: -200px;
}

.flight-card {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 0px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.flight-card .flight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-right: 1rem;
}

.flight-card .header .badge {
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 500;
    background-color: #FFF7DE;
    color: #252B33;
}

.flight-card .flight-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
}

.flight-card .flight-details .flight-info {
    display: flex;
    align-items: center;
}

.flight-card .flight-details .flight-info img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.flight-card .flight-details .flight-info small {
    display: block;
}

.flight-card .flight-details .flight-info strong {
    font-size: 16px;
}

.flight-card .layover {
    background-color: #FFF7DE;
    color: #707A85;
    padding: 4px 12px;
    border-radius: 5px;
    margin: 24px auto;
    text-align: center;
    font-size: 14px;
    width: 80%;
}

.flight-card .baggage-info {
    font-size: 14px;
    color: #6c757d;
}

.flight-card .footer a {
    color: #0d6efd;
    text-decoration: none;
}

.flight-card .footer a:hover {
    text-decoration: underline;
}

.fs-7 {
    font-size: 14px;
}

.fs-8 {
    font-size: 12px;
}

.duration {
    color: #707A85;
    position: relative;
}

.duration::after {
    position: absolute;
    content: "";
    background: #E9E9EB;
    height: 1px;
    width: 100%;
    right: 65px;
    top: 10px;
}

.duration::before {
    position: absolute;
    content: "";
    background: #E9E9EB;
    height: 1px;
    width: 100%;
    left: 65px;
    top: 10px;
}

.flight-detail-footer {
    background-color: #F3F3FF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
}

.cancellation {
    color: #0A98E2;
}

.cancellation:hover {
    color: #0285cb;
    transition: 0.5s ease-in-out;
}

.ticket-details .accordion-item {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    border: 0 !important;
    overflow: hidden;
}

#accordionFlightDetails {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.important_information ul {
    list-style-type: disc;
}

.option-list {
    /* max-width: 300px; */
    margin: 22px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.option-list img {
    width: 28px;
    height: 28px;
    padding-right: 0.5rem;
}

.option-list a {
    text-decoration: none;
    color: #707A85;
    display: flex;
    align-items: center;
    padding: 4px 0;
    font-size: 14px;
}

.option-list a:hover {
    color: #21A1F8;
}

.option-list i {
    margin-right: 10px;
}

.divider {
    border-bottom: 1px solid #DEE2E6;
    margin: 20px 0;
}

.fare-breakup {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.fare-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.9rem;
    color: #252B33;
}

.fare-item .text-success {
    color: #28A745 !important;
}

.fare-item .text-danger {
    color: #DC3545 !important;
}

.total-amount {
    display: flex;
    justify-content: space-between;
    /* font-weight: bold; */
    /* font-size: 1.2rem; */
    color: #252B33;
    padding-top: 10px;
    border-top: 1px solid #DEE2E6;
    margin-top: 10px;
    align-items: center;
}

.download-invoice {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    padding-top: 10px;
    border-top: 1px solid #DEE2E6;
    margin-top: 10px;
    align-items: center;
}

.download-invoice a {
    text-decoration: none;
    color: #007BFF;
}

.download-invoice a:hover {
    color: #0056B3;
}

.confirmation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.confirmation .status {
    display: flex;
    align-items: center;
}

.confirmation .status i {
    font-size: 1.5rem;
    color: #28A745;
    margin-right: 10px;
}

.confirmation .status span {
    font-weight: bold;
    color: #252B33;
}

.confirmation .details {
    text-align: right;
    color: #707A85;
}

.confirmation .details span {
    display: block;
}

.confirmation .badge-upcoming {
    background-color: #E7F1FF;
    color: #007BFF;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
}

.card-custom {
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.card-title-custom {
    font-weight: 600;
    font-size: 14px;
    color: #252B33;
}

.card-name-custom {
    font-weight: 600;
    font-size: 18px;
    color: #252B33;
}

.card-info-custom {
    color: #707A85;
    font-size: 14px;
}

.experience-text {
    font-size: 18px;
    color: #252B33;
    /* Bootstrap's secondary color */
}

.experience-text strong {
    color: #252B33;
    /* Black color for emphasized text */
}

.icons-container {
    display: flex;
    gap: 15px;
    align-items: center;
}

.icon img {
    height: 40px;
    /* Adjust the size of the icons */
    object-fit: contain;
}

.text-color {
    color: #252B33;
}

.experience-cls {
    padding: 40px 0;
}

.flying-planing-loading {
    height: 300px;
    width: 100%;
    background: white;
    border-radius: 14px;
    position: relative;
}

.loading-search-result .text {
    position: absolute;
    top: 80%;
    right: 0;
    font-size: 18px;
    color: #000;
    left: 0;
}

.btn-nice {
    background: #98D5FF;
    color: #05264E;
    border: 1px dashed #21A1F8;
    padding: 1.4rem 1rem !important;
    font-size: 14px !important;
}

.btn-nice:hover {
    background: #21A1F8;
    color: #fff;
    border: 1px dashed #21A1F8;
    transition: 0.3s ease-in-out;
}

.ticket-table {
    width: 100%;
    background-color: #fff;
    border-collapse: collapse;
    margin: 20px 0;
}

.ticket-table th,
.ticket-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    color: #252B33;
    /* Main font color */
}

.ticket-table th {
    font-weight: bold;
    color: #252B33;
    /* Main font color */
}

.ticket-table .flight-row {
    border-top: 1px solid #ddd;
}

.ticket-table .flight-logo img {
    width: 50px;
}

.ticket-table .small-text {
    color: #707A85;
    /* Secondary font color */
    font-size: 12px;
}

.flight-info {
    display: flex;
    flex-direction: column;
}

.flight-table img {
    width: 30px;
}

.home-form-bg-search {
    background: #fff;
    border-radius: 8px 8px 8px 8px;
    border: 1px solid #ccc;
    padding: 10px 10px 23px 0px;
}

.search-form-result .repeat-section:first-child {
    margin-left: 10px;
    width: 33%;
}

.search-form-result .repeat-section:nth-child(2) {
    width: 33%;
}

.search-form-result .repeat-section:last-child {
    margin-right: 0px;
    width: 33%;
}

.search-form-result .custom-border {
    border-top: 1px solid rgb(215 215 215 / 90%);
    margin-top: 8px;
    border-right: 1px solid rgb(215 215 215 / 90%);
    border-left: 1px solid rgb(215 215 215 / 90%);
    border-bottom: 0px solid white;
}

.fade-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.fade-up-exit {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.flights-row-data {
    margin-top: 0.5rem;
}

#pre_loader_2 {
    padding-bottom: 10px;
}

/* 
.flights-list-item:hover {
    transform: rotate(360deg);
} */

.padding-left-30 {
    padding-left: 30px !important;
}

.double-checkbox .form-check-input {
    opacity: 0;
}

/* one time popup */
.both-modal .modal-header img {
    width: 30px;
    height: 30px;
}

.both-modal .modal-title {
    font-weight: bold;
}

.both-modal .modal-body p {
    margin-bottom: 0.5rem;
}


.both-modal .modal-header h5 {
    font-size: 22px;
    line-height: 28px;
    color: #05264E;
}

.both-modal .modal-body .para-heading {
    font-size: 16px;
    line-height: 24px;
    color: #05264E;
    font-weight: 600;
}

.both-modal .modal-body p {
    font-size: 14px;
    line-height: 24px;
    color: #4D5760;
}

.both-modal .modal-footer {
    padding: 14px 24px !important;
    justify-content: center !important;
}

.both-modal .modal-footer .btn {
    font-size: 14px;
}



/* by saurav tiwari */
/* Modal overlay */
.modals-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Modal content */
#pleaseWaitModal .modals-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 80%;
    max-width: 300px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Spinner animation */
#pleaseWaitModal .spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Hide modal by default */
.d-none {
    display: none;
}

/* Companies Section */
.companies-section {
    flex: 1;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
}

.companies-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.5s both;
}

.companies-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 400px;
    margin: 0 auto;
}

.company-card {
    background: rgb(255 255 255 / 78%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 42px;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out calc(0.7s + var(--delay)) both;
}

.company-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.2);
}

.company-logos {
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-name {
    color: #05264e;
    font-size: 1.2rem;
    font-weight: bold;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Responsive Design */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .section-title,
    .companies-title {
        font-size: 2rem;
    }

    .company-card {
        padding: 20px;
    }

    .company-logos {
        width: 100%;
        height: 60px;
        font-size: 1.2rem;
    }

    .company-name {
        font-size: 1rem;
    }
}


.gallery-container {
    position: relative;
    height: 600px;
    overflow: hidden;
    border-radius: 20px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
}

.gallery-column {
    width: 50%;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    flex-direction: column;
    height: auto; /* Let it grow with content */
    animation: scrollLoop 20s linear infinite;
}

.gallery-track.top-to-bottom {
    animation: scrollDown 10s linear infinite;
}

.gallery-track.bottom-to-top {
    animation: scrollUp 10s linear infinite;
}

.gallery-item {
    flex: 0 0 200px;
    width: 100%;
    height: 180px;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 0.9rem;
}

@keyframes scrollDown {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

@keyframes scrollUp {
    0% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(0);
    }
}
