* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 30%, #FFD700 60%, #FFA500 100%);
    background-attachment: fixed;
    min-height: 100vh;
    padding: 20px;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

body.page-loading {
    overflow: hidden;
}

.container {
    max-width: 1400px;
}

header {
    color: white;
    margin-bottom: 50px;
}

.logo {
    max-width: 250px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.4));
    animation: logoFloat 3s ease-in-out infinite;
    object-fit: contain;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

header h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

header p {
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.motto-text {
    color: white;
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 500;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.motto-text-section {
    color: #B8860B;
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 600;
    margin-top: 10px;
}

/* Search Bar Styling */
.search-container {
    max-width: 600px;
    margin: 0 auto 40px;
}

.input-group {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
}

.input-group:focus-within {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.search-icon {
    background: transparent;
    border: none;
    color: #8B6914;
    padding-left: 25px;
}

#searchInput {
    border: none;
    background: transparent;
    padding: 15px 20px;
    font-size: 1.1rem;
    color: #333;
}

#searchInput:focus {
    outline: none;
    box-shadow: none;
    background: transparent;
}

#searchInput::placeholder {
    color: #999;
}

.clear-btn {
    border: none;
    background: transparent;
    color: #666;
    padding: 15px 20px;
    transition: all 0.3s ease;
}

.clear-btn:hover {
    background: rgba(218, 165, 32, 0.1);
    color: #8B6914;
}

.no-results {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.bus-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.bus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(218, 165, 32, 0.2), transparent);
    transition: left 0.6s;
    z-index: 1;
}

.bus-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(218, 165, 32, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.bus-card:hover::before {
    left: 100%;
}

.bus-card:hover::after {
    width: 300px;
    height: 300px;
}

.bus-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 1);
}

.bus-icon {
    width: 100%;
    max-width: 120px;
    height: auto;
    min-height: 80px;
    margin-bottom: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.bus-logo {
    width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.bus-card:hover .bus-icon {
    transform: scale(1.05);
}

.bus-card:hover .bus-logo {
    transform: scale(1.1);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.bus-name {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-weight: 600;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.bus-card:hover .bus-name {
    color: #B8860B;
}

.bus-subtitle {
    color: #666;
    font-size: 0.9rem;
    margin-top: 5px;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.bus-card:hover .bus-subtitle {
    color: #8B6914;
    font-weight: 500;
}

/* Animation for card entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.bus-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.bus-card:nth-child(1) {
    animation-delay: 0.1s;
}

.bus-card:nth-child(2) {
    animation-delay: 0.15s;
}

.bus-card:nth-child(3) {
    animation-delay: 0.2s;
}

.bus-card:nth-child(4) {
    animation-delay: 0.25s;
}

.bus-card:nth-child(5) {
    animation-delay: 0.3s;
}

.bus-card:nth-child(6) {
    animation-delay: 0.35s;
}

.bus-card:nth-child(7) {
    animation-delay: 0.4s;
}

.bus-card:nth-child(8) {
    animation-delay: 0.45s;
}

.bus-card:nth-child(9) {
    animation-delay: 0.5s;
}

.bus-card:nth-child(10) {
    animation-delay: 0.55s;
}

.bus-card:nth-child(11) {
    animation-delay: 0.6s;
}

.bus-card:nth-child(12) {
    animation-delay: 0.65s;
}

.bus-card:nth-child(13) {
    animation-delay: 0.7s;
}

.bus-card:nth-child(14) {
    animation-delay: 0.75s;
}

.bus-card:nth-child(15) {
    animation-delay: 0.8s;
}

.bus-card:nth-child(16) {
    animation-delay: 0.85s;
}

.bus-card:nth-child(17) {
    animation-delay: 0.9s;
}

.bus-card:nth-child(18) {
    animation-delay: 0.95s;
}

.bus-card:nth-child(19) {
    animation-delay: 1s;
}

.bus-card:nth-child(20) {
    animation-delay: 1.05s;
}

.bus-card:nth-child(21) {
    animation-delay: 1.1s;
}

/* Responsive Design */
@media (max-width: 992px) {
    .logo {
        max-width: 200px;
    }

    header h1 {
        font-size: 2.5rem;
    }

    .bus-card {
        padding: 30px 20px;
    }

    .bus-icon {
        max-width: 100px;
        min-height: 70px;
    }

    .bus-logo {
        max-height: 70px;
    }

    .bus-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding-top: 80px !important;
    }

    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }

    .logo {
        max-width: 180px;
    }

    .motto-text {
        font-size: 1.1rem;
    }

    .motto-text-section {
        font-size: 1rem;
    }

    .bus-card {
        padding: 25px 20px;
    }

    .bus-icon {
        max-width: 90px;
        min-height: 60px;
    }

    .bus-logo {
        max-height: 60px;
    }

    .bus-name {
        font-size: 1.1rem;
    }
}

/* Active state for better feedback */
.bus-card:active {
    transform: translateY(-10px) scale(0.98);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 50px 20px;
}

.section-heading {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(184, 134, 11, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.5);
}

.feature-title {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
    color: #B8860B;
}

.feature-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .section-heading {
        font-size: 2rem;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
    }

    .feature-title {
        font-size: 1.2rem;
    }
}

/* Popular Routes Section */
.popular-routes {
    padding: 50px 20px;
}

.route-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
    position: relative;
}

.route-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(184, 134, 11, 0.3);
}

.route-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.route-card:hover .route-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.5);
}

.route-title {
    color: #333;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.route-card:hover .route-title {
    color: #B8860B;
}

.route-description {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.route-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(184, 134, 11, 0.3);
}

/* How It Works Section */
.how-it-works {
    padding: 50px 20px;
}

.step-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
    position: relative;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(184, 134, 11, 0.3);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 20px auto 20px;
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.step-card:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.5);
}

.step-title {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.step-card:hover .step-title {
    color: #B8860B;
}

.step-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: 50px 20px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px 25px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(184, 134, 11, 0.3);
}

.testimonial-rating {
    margin-bottom: 15px;
}

.star {
    color: #FFD700;
    font-size: 1.2rem;
    margin-right: 3px;
}

.testimonial-text {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.testimonial-author strong {
    color: #333;
    font-size: 1.1rem;
}

.testimonial-author span {
    color: #999;
    font-size: 0.9rem;
}

/* Travel Tips Section */
.travel-tips {
    padding: 50px 20px;
}

.tip-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
}

.tip-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(184, 134, 11, 0.3);
}

.tip-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.tip-card:hover .tip-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.5);
}

.tip-title {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.tip-card:hover .tip-title {
    color: #B8860B;
}

.tip-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* FAQs Section */
.faqs-section {
    padding: 50px 20px;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 10px !important;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.accordion-button {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    font-weight: 600;
    border: none;
    padding: 20px 25px;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 100%);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    padding: 20px 25px;
    color: #666;
    line-height: 1.6;
}

/* Contact Us Section */
.contact-section {
    padding: 50px 20px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-card .form-label {
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-card .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.contact-card .form-control:focus {
    border-color: #B8860B;
    box-shadow: 0 0 0 0.2rem rgba(184, 134, 11, 0.25);
}

.contact-card .btn-primary {
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 100%);
    border: none;
    padding: 12px 40px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.contact-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.4);
}

/* News Section */
.news-section {
    padding: 50px 20px;
}

.news-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px 25px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(184, 134, 11, 0.3);
}

.news-date {
    color: #B8860B;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.news-title {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.news-card:hover .news-title {
    color: #B8860B;
}

.news-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-link {
    color: #B8860B;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.news-link:hover {
    color: #DAA520;
    text-decoration: underline;
}

/* Responsive Styles for New Sections */
@media (max-width: 768px) {

    .route-icon,
    .tip-icon {
        width: 60px;
        height: 60px;
    }

    .route-title,
    .step-title,
    .tip-title,
    .news-title {
        font-size: 1.1rem;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Follow Us Section */
.follow-us-section {
    padding: 40px 20px;
}

.follow-us-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.follow-us-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.section-title {
    color: #333;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.contact-info {
    margin-top: 20px;
}

.contact-text {
    color: #333;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.contact-link {
    color: #B8860B;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #DAA520;
    text-decoration: underline;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Instagram - Gradient colors */
.social-icon[aria-label="Instagram"] {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon[aria-label="Instagram"]:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(188, 24, 136, 0.5);
    color: white;
}

/* TikTok - Black background */
.social-icon[aria-label="TikTok"] {
    background: #000000;
}

.social-icon[aria-label="TikTok"]:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    color: white;
}

/* YouTube - Red */
.social-icon[aria-label="YouTube"] {
    background: #FF0000;
}

.social-icon[aria-label="YouTube"]:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.5);
    color: white;
}

/* Facebook - Blue */
.social-icon[aria-label="Facebook"] {
    background: #1877F2;
}

.social-icon[aria-label="Facebook"]:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.5);
    color: white;
}

.social-icons-footer {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon-footer {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.9;
}

/* Instagram - Gradient colors */
.social-icon-footer[aria-label="Instagram"] {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon-footer[aria-label="Instagram"]:hover {
    opacity: 1;
    transform: translateY(-3px) scale(1.1);
    color: white;
}

/* TikTok - Black background */
.social-icon-footer[aria-label="TikTok"] {
    background: #000000;
}

.social-icon-footer[aria-label="TikTok"]:hover {
    opacity: 1;
    transform: translateY(-3px) scale(1.1);
    color: white;
}

/* YouTube - Red */
.social-icon-footer[aria-label="YouTube"] {
    background: #FF0000;
}

.social-icon-footer[aria-label="YouTube"]:hover {
    opacity: 1;
    transform: translateY(-3px) scale(1.1);
    color: white;
}

/* Facebook - Blue */
.social-icon-footer[aria-label="Facebook"] {
    background: #1877F2;
}

.social-icon-footer[aria-label="Facebook"]:hover {
    opacity: 1;
    transform: translateY(-3px) scale(1.1);
    color: white;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    color: white;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }

    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .follow-us-card {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .contact-text {
        font-size: 0.9rem;
        line-height: 1.6;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .contact-link {
        display: inline-block;
        word-break: break-all;
        max-width: 100%;
        font-size: 0.9rem;
    }

    .motto-text-section {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .follow-us-section {
        padding: 30px 15px;
    }

    .follow-us-card {
        padding: 25px 15px;
    }

    .section-title {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .motto-text-section {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .contact-info {
        margin-top: 15px;
    }

    .contact-text {
        font-size: 0.85rem;
        line-height: 1.5;
        text-align: left;
        padding: 0 10px;
    }

    .contact-text strong {
        display: block;
        margin-bottom: 8px;
        text-align: center;
    }

    .contact-link {
        font-size: 0.85rem;
        word-break: break-all;
        display: inline-block;
        max-width: 100%;
        line-height: 1.4;
    }

    .social-icons {
        gap: 15px;
        margin-top: 20px;
    }
}

/* Footer Styling */
.footer {
    background: rgba(184, 134, 11, 0.9);
    backdrop-filter: blur(10px);
    color: white;
    padding: 40px 20px;
    margin-top: 60px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    max-width: 100px;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.footer-text {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.95rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
}

.footer strong {
    color: white;
    font-weight: 600;
}

@media (max-width: 768px) {
    .footer {
        padding: 30px 15px;
        text-align: center;
    }

    .footer-logo {
        max-width: 80px;
    }

    .footer-text,
    .footer-copyright {
        font-size: 0.9rem;
    }
}

/* Mobile Hamburger Menu (Mobile Only) */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(184, 134, 11, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hamburger-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    padding: 0;
    z-index: 1001;
}

.hamburger-btn span {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease;
    z-index: 1002;
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-menu-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.close-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.close-btn:hover {
    transform: rotate(90deg);
}

.mobile-menu-content {
    padding: 10px 0;
}

.menu-item {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    position: relative;
}

.menu-item:hover {
    background: rgba(218, 165, 32, 0.1);
    color: #8B6914;
    padding-left: 25px;
}

.menu-item::before {
    content: '🚌';
    margin-right: 10px;
    font-size: 0.9rem;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Ensure body doesn't scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 30%, #FFD700 60%, #FFA500 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-logo {
    margin-bottom: 30px;
    animation: logoFloat 2s ease-in-out infinite;
}

.loader-logo img {
    max-width: 150px;
    height: auto;
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.4));
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

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

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

.loader-text {
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* Page Transition */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 100%);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
    pointer-events: none;
}

.page-transition.active {
    opacity: 1;
    visibility: visible;
}

/* Skeleton Loaders */
#skeletonLoaders {
    display: none;
}

#skeletonLoaders.show {
    display: block;
}

.skeleton-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    height: 100%;
    animation: skeletonPulse 1.5s ease-in-out infinite;
}

@keyframes skeletonPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.skeleton-icon {
    width: 80px;
    height: 50px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    border-radius: 10px;
    margin: 0 auto 15px;
    animation: skeletonShimmer 1.5s infinite;
}

.skeleton-line {
    height: 12px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    border-radius: 6px;
    margin: 8px auto;
    animation: skeletonShimmer 1.5s infinite;
}

.skeleton-title {
    width: 70%;
    height: 20px;
}

.skeleton-subtitle {
    width: 50%;
    height: 14px;
}

@keyframes skeletonShimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Smooth fade-in for content */
.bus-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.bus-card.loaded {
    opacity: 1;
}

/* Smooth transitions for search results */
#busGrid .col-lg-3 {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#busGrid .col-lg-3.hidden {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}