/* Reset and base styles */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    color: #333;
}

/* Navbar Styles */
.navbar-dark {
    background: linear-gradient(135deg, #0061f2 0%, #6e00ff 100%) !important;
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    padding: 1rem 1.2rem;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
}

.navbar-dark .navbar-nav .nav-link:hover::after {
    width: 70%;
}

/* Hero section styles */
.hero-section {
    background:  no-repeat center center;
    background-size: cover;
    padding: 100px 0;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.search-box {
    position: relative;
    z-index: 1;
}

.search-box h2 {
    color: #333;
    font-size: 24px;
}

/* Offer cards */
.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Swiper styles */
.offers-swiper,
.testimonials-swiper {
    padding: 20px 10px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #ff6b00;
}

.swiper-pagination-bullet-active {
    background: #ff6b00;
}

/* Route cards */
.popular-route {
    border-bottom: 2px solid red;
    width: fit-content;
}

.route-card {
    transition: all 0.3s ease;
}

.route-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Testimonial cards */
.testimonial-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

/* Stats section */
.stats-section i {
    color: #ff6b00;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }

    .search-box {
        margin: 0 15px;
    }
}

/* Custom button styles */
.btn-warning {
    background-color: #ff6b00;
    border-color: #ff6b00;
    color: white;
}

.btn-warning:hover {
    background-color: #e65c00;
    border-color: #e65c00;
    color: white;
}

/* Form control focus states */
.form-control:focus,
.form-select:focus {
    border-color: #ff6b00;
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 0, 0.25);
}

/* Ticket Operations Section */
/* Ticket Operation Section Styles */
.ticket-operation-section {
    background-color: #f8f9fa;
}

.ticket-info-box {
    border-left: 4px solid #ff6b00;
}

.ticket-info-box i {
    font-size: 1.2rem;
}

.search-container {
    background: #fff;
    border-radius: 8px;
}

.ticket-details {
    border: 1px solid #dee2e6;
}

.ticket-value {
    font-size: 1.1rem;
    color: #333;
}

/* Contact Section */
.location-box {
    border-bottom: 1px dashed #ccc;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.location-title {
    font-weight: 600;
    font-size: 1.2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 30px;
    border-bottom: 1px solid red;
    width: fit-content;
    margin-bottom: 15px;
}

/* Faq Page */
.faq-heading {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.faq-subheading {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    font-weight: 600;
}

.accordion-body {
    font-size: 0.95rem;
    color: #444;
}

/* Profile */
.card {
    max-width: 500px;
    margin: 60px auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.info-box {
    background-color: #d1fae5;
    border: 1px solid #a7f3d0;
    border-radius: 0.5rem;
    padding: 1rem;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.info-box i {
    color: green;
}

.form-control {
    height: 45px;
}

.skeleton {
    height: 45px;
    background-color: #e5e7eb;
    border-radius: 5px;
    margin-bottom: 10px;
}

.back-link {
    color: red;
    font-size: 0.9rem;
    text-align: center;
    display: block;
    margin-top: 20px;
}

/* Search Ticket */
.search-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #e1e7ef;
}

.trip-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e1e7ef;
}

.trip-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.time-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px 15px;
    text-align: center;
    border-right: 1px solid #e1e7ef;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.trip-details {
    padding: 20px;
}

.route-line {
    position: relative;
    height: 3px;
    background: linear-gradient(90deg, #e1e7ef 0%, #c9d6e8 50%, #e1e7ef 100%);
    margin: 15px 0;
    min-width: 225px;
}

.route-line::before,
.route-line::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #fff;
    border: 2px solid #3a86ff;
    border-radius: 50%;
    top: -5px;
}

.route-line::before {
    left: 0;
}

.route-line::after {
    right: 0;
}

.price-section {
    text-align: right;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
}

.btn-view-seats {
    background: linear-gradient(135deg, #ff6b6b 0%, #e74c3c 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
}

.btn-view-seats:hover {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(231, 76, 60, 0.4);
    color: white;
}

.search-btn {
    background: linear-gradient(135deg, #ff9f43 0%, #ff7e29 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 159, 67, 0.3);
}

.search-btn:hover {
    background: linear-gradient(135deg, #ff7e29 0%, #f26313 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 159, 67, 0.4);
    color: white;
}

.filters-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    border: 1px solid #e1e7ef;
}

.filter-section {
    margin-bottom: 25px;
}

.filter-section-title {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.date-nav-btn {
    border: 1px solid #e1e7ef;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #4a5568;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.date-nav-btn:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #2d3748;
    border-color: #cbd5e0;
}

.filter-btn {
    margin: 5px 5px 5px 0;
    border-radius: 8px;
    font-size: 0.85rem;
    padding: 8px 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: linear-gradient(135deg, #3a86ff 0%, #2563eb 100%);
    color: white;
    border-color: #2563eb;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.filter-btn.inactive {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #4a5568;
    border: 1px solid #e1e7ef;
}

.filter-btn.inactive:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #2d3748;
    border-color: #cbd5e0;
}

.coach-tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    margin-right: 8px;
    font-size: 0.8rem;
    color: #4a5568;
    border: 1px solid #e1e7ef;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    transition: all 0.3s ease;
}

.coach-tag:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #2d3748;
    border-color: #cbd5e0;
}

.sun-icon {
    color: #ff9f43;
    font-size: 1.5rem;
    margin-bottom: 8px;
    filter: drop-shadow(0 4px 3px rgba(255, 159, 67, 0.2));
}

.moon-icon {
    color: #575fcf;
    font-size: 1.5rem;
    margin-bottom: 8px;
    filter: drop-shadow(0 4px 3px rgba(87, 95, 207, 0.2));
}

.reset-btn {
    color: #e74c3c;
    border: 1px solid #e74c3c;
    background: white;
    border-radius: 8px;
    padding: 8px 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.reset-btn:hover {
    background-color: #feeaea;
}

.time-display {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0;
    line-height: 1;
}

.period-display {
    color: #4a5568;
    font-weight: 500;
    font-size: 0.9rem;
}

.location-info {
    margin-bottom: 15px;
}

.location-name {
    font-weight: 700;
    font-size: 1.2rem;
    color: #2d3748;
}

.boarding-point {
    color: #4a5568;
    font-size: 0.9rem;
    margin-top: 3px;
}

.boarding-point i {
    color: #3a86ff;
}

.price-amount {
    font-weight: 700;
    color: #2d3748;
    font-size: 1.5rem;
}

.currency {
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
}

.footer-placeholder {
    background-color: #f5f7fa;
    padding: 20px;
    border-radius: 12px;
    margin-top: 30px;
    border: 1px solid #e1e7ef;
}

.search-title {
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #4a5568;
}

.form-control,
.form-select {
    border: 1px solid #e1e7ef;
    border-radius: 8px;
    padding: 10px;
    font-size: 0.95rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #3a86ff;
    box-shadow: 0 0 0 0.25rem rgba(58, 134, 255, 0.1);
}

.input-group-text {
    border-color: #e1e7ef;
    border-radius: 8px 0 0 8px;
}

.date-display {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: #4a5568;
}

.date-display i {
    color: #3a86ff;
    margin-right: 8px;
}

.form-check-input:checked {
    background-color: #3a86ff;
    border-color: #3a86ff;
}

.main-title {
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e1e7ef;
}

.section-divider {
    height: 1px;
    background-color: #e1e7ef;
    margin: 15px 0;
}

.form-check-label {
    font-size: 0.9rem;
    color: #4a5568;
}