:root {
    --primary:  #1479b8;
    --secondary: #6c757d;
    --dark: #212529;
    --light: #f8f9fa;
    --dark-bg: #1a1d20;
    --darker-bg: #15181b;
    --border-color: #2d3238;
}

body {
    background-color: #f0f2f5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.skyfares-header {
    background: #ffffff;
    color: #8c8c8c;
    padding: 12px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.agent-info {
    background-color: rgba(0,0,0,0.15);
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 0.9rem;
}

.search-container {
    overflow: hidden;
    margin-top: 20px;
}

#flights-tab .active{    
    background-color: black;
}

.form-label {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.form-control, .form-select {
    color: var(--primary);
    padding: 10px 15px;
    height: 45px;
    border-radius: 0px;
    border: none;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
}

.input-group-text{
    background-color: white;
    border-radius: 0px;
    border: none;
}

.btn-search {
    /* background: linear-gradient(to right, #0d6efd, #0b5ed7);\ */
    background-color: var(--primary);
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px;
    margin-left: 5px;
    margin-right: 5px;

    height: 45px;
    transition: all 0.3s;
}

.btn-search:hover {
    background: linear-gradient(to right, #0b5ed7, #0a58ca);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.advanced-search-toggle {
    margin-top: 0.3rem;
}

.advanced-search-row {
    background-color: rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-top: 0; /* Remove default margin */
}

.benefits-section {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.benefit-card {
    text-align: center;
    padding: 15px;
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.source-selector {
    background-color: rgba(0,0,0,0.1);
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
}

.footer {
    background-color: var(--dark-bg);
    color: rgba(255,255,255,0.7);
    padding: 30px 0 15px;
    margin-top: 40px;
    font-size: 0.9rem;
}

.footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: white;
}

.copyright {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-top: 20px;
    text-align: center;
    font-size: 0.85rem;
}

/* Preloader Base */
/* Preloader Base */
.preloader {
    position: fixed;
    inset: 0;
    background: #f9fbfd;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-family: 'Poppins', sans-serif;
  }
  
  .preloader-inner {
    text-align: center;
    max-width: 400px;
    width: 90%;
    padding: 2rem;
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    animation: fadeIn 0.6s ease;
  }
  
  .preloader-logo img {
    width: 80px;
    margin-bottom: 1rem;
    animation: pulse 1.8s infinite;
  }
  
  /* SVG Icons */
  .preloader-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
  }
  
  .preloader-icons svg {
    width: 40px;
    height: 40px;
    animation: float 3s infinite ease-in-out;
  }
  
  .preloader-icons svg:nth-child(1) {
    animation-delay: 0s;
    fill: #1479b8;
  }
  
  .preloader-icons svg:nth-child(2) {
    animation-delay: 0.5s;
    fill: #34c9eb;
  }
  
  .preloader-icons svg:nth-child(3) {
    animation-delay: 1s;
    fill: #34a853;
  }
  
  .preloader-text {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 1rem;
  }
  
  /* Progress Bar */
  .progress {
    width: 100%;
    height: 6px;
    background: #e6eef5;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
  }
  
  .progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #1479b8, #34c9eb);
    animation: loadBar 2.5s forwards;
  }
  
  /* Benefits */
  .preloader-benefits {
    text-align: left;
    padding: 0;
    list-style: none;
    font-size: 0.85rem;
    color: #555;
  }
  
  .preloader-benefits li {
    margin: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  .preloader-benefits i {
    color: #34a853;
    font-size: 1rem;
  }
  
  /* Keyframes */
  @keyframes fadeIn {
    from {opacity: 0; transform: translateY(10px);}
    to {opacity: 1; transform: translateY(0);}
  }
  
  @keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
  }
  
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
  
  @keyframes loadBar {
    0% { width: 0%; }
    100% { width: 100%; }
  }
  
  /* Hide preloader when loaded */
  .preloader.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }
  
  /* Show main content when preloader is hidden */
  #main-content.hidden {
    display: none;
  }
/* Flight Card Styles */
.flight-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.flight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.flight-card .card-header {
    border-bottom: 1px solid #dee2e6;
}

.flight-card .card-body {
    padding: 15px;
}

.flight-card .flight-header {
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.flight-card .airline-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.flight-card .airline-logo {
    width: 60px;
    height: 60px;
    margin-right: 10px;
    object-fit: contain;
}

.flight-card .flight-meta {
    /* font-size: 0.85rem;
    color: #666; */
}

.flight-card .time-display {
    font-weight: bold;
    font-size: 1.2rem;
    /* margin: 5px 0; */
}

.flight-card .airport-code {
    font-size: 1rem;
    color: #666;
}

.flight-card .duration-badge {
    background: #f5f5f5;
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 0.8rem;
    display: inline-block;
}

.flight-card .price-display {
    text-align: right;
    /* border-left: #000000 solid 1px; */
    /* margin-left: 1px; */

}

.flight-card .price-amount {
    font-size: 3.0rem;
    font-weight: bold;
    color: black;
}

.flight-card .price-label {
    font-size: 0.8rem;
    color: #666;
}

.flight-card .btn-add-trip {
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 7px 15px;
    font-size: 0.9rem;
}

.flight-card-divider {
    margin: 5px 0;
    border-top: 5px solid var(--primary);
}

/* Results Header */
.results-header {
    background: linear-gradient(to right, #0d6efd, #0b5ed7);
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Filter Section */
.filter-section .card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.filter-section .card-header {
    padding: 12px 15px;
}

.filter-section .card-body {
    padding: 15px;
}

.filter-section h6 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Why Book With Us */
.why-book .list-group-item {
    border: none;
    padding: 10px 0;
    background: transparent;
}

/* Footer */
footer {
    background-color: #1a1d20;
    color: rgba(255, 255, 255, 0.7);
}

footer h5 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: white;
}

/* Results Page */
#main-content {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

i{
    color: var(--primary);
}

.breadcrumb-container {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin: 30px auto;
    max-width: 900px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.breadcrumb-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-title i {
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-breadcrumb {
    padding: 15px 20px;
    border-radius: 10px;
}

.custom-breadcrumb .breadcrumb-item {
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}

.custom-breadcrumb .breadcrumb-item a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-breadcrumb .breadcrumb-item a:hover {
    color: #2c3e50;
    transform: translateY(-2px);
}

.custom-breadcrumb .breadcrumb-item.active {
    color: #2c3e50;
    font-weight: 600;
}

.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #95a5a6;
    padding: 0 10px;
    font-weight: 700;
}

.custom-breadcrumb .breadcrumb-item:nth-child(3)::before,
.custom-breadcrumb .breadcrumb-item:nth-child(4)::before {
    content: "»";
    font-size: 1.4rem;
    vertical-align: middle;
    padding: 0 12px;
}

.breadcrumb-icon {
    background: #3498db;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.breadcrumb-divider {
    color: #bdc3c7;
    padding: 0 12px;
    font-weight: 700;
}

.breadcrumb-info {
    background: #e3f2fd;
    border-left: 4px solid #3498db;
    padding: 15px;
    border-radius: 0 8px 8px 0;
    margin-top: 20px;
    font-size: 0.95rem;
}

.nav-tabs{
    border-bottom: none;
}

.nav-search .nav-link {
    /* color: #495057; */
    border: none;
    border-radius: 0;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s;
    margin: 0 1px;
    height: auto; 
}

.nav-search .nav-link.active {
    background-color: #000 !important;
    color: var(--primary) !important;
    border: none;
}

.nav-search .nav-link:hover:not(.active) {
    background-color: var(--primary) !important;

}

.search-container {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-top: 20px;
}

.tab-content {
    padding: 20px;
    background-color: #000;
    border-radius: 0 0 8px 8px;
    color: #fff;
}

.booking-form .form-label {
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.form-control, .form-select {
    border: 1px solid #ced4da;
    color: #495057;
    padding: 10px 15px;
    height: 45px;
}

/* Flight sub-tabs styling - UPDATED */
#flightTab {
    /* border-bottom: 1px solid #dee2e6; */
    padding-bottom: 1px;
}

#flightTab .nav-item {
    margin-bottom: -1px;
}

#flightTab .nav-link {
    background-color: transparent;
    color: #495057;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
    padding: 8px 15px;
    font-weight: 600;
    margin: 0 2px;
}

#flightTab .nav-link.active {
    background-color: #fff;
    color: #0d6efd;
    border-color: #dee2e6 #dee2e6 #fff;
}

#flightTab .nav-link:not(.active) {
    color: #6c757d;
    background-color: transparent;
}

#flightTab .nav-link:hover:not(.active) {
    border-color: #e9ecef #e9ecef #dee2e6;
    color: #0d6efd;
}

#flightTab .d-inline-flex {
    cursor: pointer;
}

.agent-info {
    background-color: rgba(0,0,0,0.15);
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 0.9rem;
}

.benefits-section {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.footer {
    background-color: var(--dark-bg);
    color: rgba(255,255,255,0.7);
    padding: 30px 0 15px;
    margin-top: 40px;
    font-size: 0.9rem;
}

/* Duration badge styles */
.duration-badge {
    position: relative;
    padding-left: 25px;
}

.duration-badge .fas {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
}

.flight-card .btn-book {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
}

.flight-card .btn-add-trip {
    background-color: white;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
}

/* For the return flight arrow */
.fa-arrow-left .fa-arrow-left {
    color: var(--primary);
    font-size: 2.0rem;
    vertical-align: middle;
    margin-right: 0.5rem;
}

/* Range input styles */
input[type="range"] {
    width: 100%;
    height: 8px;
    background: #ddd;
    border-radius: 5px;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #0d6efd;
    border-radius: 50%;
    cursor: pointer;
}

.advanced{
    margin: 0px;
    padding: 0px;
}

.price-surprise{
    font-size: 700px;
}

#main-content, .container, .row, .col-12 {
    min-height: 100px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-search .nav-link {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .nav-search .nav-item {
        margin-bottom: 2px;
    }
    
    .flight-card .price-display {
        text-align: left;
        margin-top: 15px;
    }
}

.shadow-right {
    border-right: 1px solid rgba(5, 5, 5, 0.5);
}


