/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #282828;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Header Top Section */
.header-top {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
}

.nav-brand h2 {
    color: #1e40af;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0;
}

.header-contact {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.header-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.header-contact .contact-item i {
    color: #3b82f6;
    width: 16px;
}

/* Header Bottom Section */
.header-bottom {
    background: #fff;
    padding: 0.5rem 0;
}

.header-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #282828;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #1e40af;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1e40af;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: #282828;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #1e40af;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #282828;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 120px;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    background: rgba(40, 40, 40, 0.7);
    padding: 3rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content h1 {
    font-family: 'Barlow', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-family: 'Nunito', sans-serif;
}

.hero-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #1e40af;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #1e40af;
    color: white;
}

.btn-primary:hover {
    background: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #1e40af;
    border: 2px solid #1e40af;
}

.btn-secondary:hover {
    background: #1e40af;
    color: white;
    transform: translateY(-2px);
}


/* Search Form Styles */
.search-form-container {
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Search Tabs */
.search-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-tab {
    background: #f5f5f5;
    border: none;
    border-radius: 25px;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-tab:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.search-tab.active {
    background: #dbbe87;
    color: white;
}

.search-tab.active:hover {
    background: #c9a876;
}

/* Search Forms */
.search-form {
    width: 100%;
}

.bus-search-form {
    width: 100%;
}

.search-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

.search-field {
    display: flex;
    flex-direction: column;
}

.search-field label {
    color: #282828;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.search-field select,
.search-field input[type="datetime-local"] {
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: white;
    transition: border-color 0.3s ease;
    color: #333;
}

.search-field select:focus,
.search-field input[type="datetime-local"]:focus {
    outline: none;
    border-color: #1e40af;
}

.btn-search {
    background: #1e40af;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.btn-search:hover {
    background: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.4);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: #f8f9fa;
}

/* Search Results */
.search-results {
    margin-bottom: 2rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    border-left: 4px solid #1e40af;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.results-header h3 {
    color: #282828;
    font-size: 1.2rem;
}

.results-count {
    color: #666;
    font-size: 0.9rem;
}

/* Bus Grid Layout */
.bus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.bus-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.bus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.bus-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.bus-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.bus-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #28a745;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.bus-info {
    padding: 1.5rem;
}

.bus-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.bus-header h3 {
    color: #282828;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.stars {
    color: #ffc107;
    font-size: 0.9rem;
}

.rating-text {
    color: #666;
    font-size: 0.8rem;
}

.bus-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.spec-item i {
    color: #1e40af;
    width: 16px;
}

.bus-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.price-info {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.price {
    color: #1e40af;
    font-size: 1.5rem;
    font-weight: 700;
}

.price-unit {
    color: #666;
    font-size: 0.9rem;
}

.bus-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-detail, .btn-contact {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-detail {
    background: #f8f9fa;
    color: #282828;
    border: 1px solid #ddd;
}

.btn-detail:hover {
    background: #e9ecef;
    color: #282828;
    text-decoration: none;
}

.btn-contact {
    background: #1e40af;
    color: white;
}

.btn-contact:hover {
    background: #3b82f6;
    transform: translateY(-1px);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Barlow', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #282828;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    font-family: 'Nunito', sans-serif;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-image {
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-family: 'Barlow', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #282828;
    margin-bottom: 1rem;
}

.service-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.features {
    list-style: none;
    margin-bottom: 2rem;
}

.features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.features i {
    color: #1e40af;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #f8f9fa;
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-item h3 {
    font-family: 'Barlow', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #282828;
    margin-bottom: 1rem;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.stars {
    color: #1e40af;
    margin-bottom: 1rem;
}

.testimonial-content p {
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: #282828;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: #1e40af;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-item h4 {
    color: #282828;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #666;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e40af;
}

/* Footer */
.footer {
    background: #282828;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-family: 'Barlow', sans-serif;
}

.footer-section p,
.footer-section li {
    color: #ccc;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #1e40af;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #1e40af;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #282828;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #3b82f6;
    transform: translateY(-2px);
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.contact-details i {
    color: #1e40af;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* Enhanced WhatsApp Float Button with Chat Widget */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.wa-button {
    width: 60px;
    height: 60px;
    background: #25d366;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.wa-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Chat Widget */
.chat-widget {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 300px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: scale(0);
    transform-origin: bottom right;
    transition: all 0.3s ease;
    opacity: 0;
}

.chat-widget.active {
    transform: scale(1);
    opacity: 1;
}

.chat-header {
    background: #25d366;
    color: white;
    padding: 1rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.chat-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.chat-info h4 {
    margin: 0;
    font-size: 1rem;
}

.status {
    font-size: 0.8rem;
    opacity: 0.9;
}

.status.online::before {
    content: '🟢';
    margin-right: 0.3rem;
}

.chat-close {
    margin-left: auto;
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.2rem;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.chat-close:hover {
    background: rgba(255,255,255,0.2);
}

.chat-body {
    padding: 1rem;
}

.chat-message {
    background: #f1f3f4;
    padding: 0.8rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    position: relative;
}

.chat-message p {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.chat-message p:last-of-type {
    margin-bottom: 0;
}

.message-time {
    font-size: 0.7rem;
    color: #666;
    position: absolute;
    bottom: 0.3rem;
    right: 0.8rem;
}

.quick-messages {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quick-messages button {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 0.6rem;
    border-radius: 8px;
    text-align: left;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-messages button:hover {
    background: #e9ecef;
    border-color: #1e40af;
}

.chat-footer {
    padding: 1rem;
    border-top: 1px solid #f0f0f0;
}

.chat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #25d366;
    color: white;
    padding: 0.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.chat-btn:hover {
    background: #128c7e;
}


/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    /* Mobile Header */
    .header-contact {
        display: none;
    }

    .header-top-content {
        justify-content: center;
    }

    .navbar {
        position: fixed;
        top: 120px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 120px);
        background: white;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .hero {
        margin-top: 100px;
    }

    .navbar.active {
        left: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-contact {
        flex-direction: column;
        gap: 1rem;
    }

    /* Search Form Mobile */
    .search-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .search-form-container {
        padding: 1.5rem;
    }

    /* Bus Grid Mobile */
    .bus-grid {
        grid-template-columns: 1fr;
    }

    .bus-specs {
        grid-template-columns: 1fr;
    }

    .bus-price {
        flex-direction: column;
        align-items: start;
        gap: 1rem;
    }

    .bus-actions {
        width: 100%;
    }

    .btn-detail, .btn-contact {
        flex: 1;
    }

    /* Chat Widget Mobile */
    .chat-widget {
        width: calc(100vw - 4rem);
        right: -1rem;
    }

    /* Modal Mobile */
    .modal-content {
        width: 95%;
        margin: 2% auto;
    }

    .bus-detail {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .bus-detail-specs {
        grid-template-columns: 1fr;
    }

    .contact-actions {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 2rem 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .btn-primary, .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .phone-number {
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
    }

    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
    }

    .wa-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .search-form-container {
        padding: 1rem;
    }

    .bus-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .chat-widget {
        width: calc(100vw - 2rem);
        right: -0.5rem;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .price-options {
        gap: 0.5rem;
    }

    .hero {
        margin-top: 80px;
    }

    .nav-brand h2 {
        font-size: 1.4rem;
    }

    .header-contact {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .header-contact .contact-item {
        font-size: 0.8rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Additional Animations */
.service-card,
.feature-item,
.testimonial-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

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

/* Contact Message Styles */
.contact-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid;
    animation: slideIn 0.3s ease;
}

.contact-message.success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.contact-message.error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.contact-message .message-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-message .message-icon {
    font-size: 1.2rem;
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

/* Font Awesome icon fixes */
.fas, .far, .fab {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.far {
    font-weight: 400;
}

.fab {
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
}

/* Ensure star icons are properly sized */
.stars .fas, .stars .far {
    color: #ffc107;
    margin-right: 2px;
}

.stars .far {
    color: #e9ecef;
}

/* Header contact icons */
.header-contact .contact-item i {
    width: 24px;
    height: 24px;
    background: #1e40af;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    color: white;
    font-size: 12px;
    flex-shrink: 0;
}

/* Testimonial enhancements */
.testimonial-card .bus-name {
    color: #1e40af;
    font-weight: 600;
    font-style: italic;
    margin-top: 10px;
    display: block;
}

.testimonial-card .author-info .review-date {
    color: #999;
    font-size: 0.8rem;
    display: block;
    margin-top: 4px;
}

/* Testimonials Carousel */
.testimonials-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: #f9f9f9;
    padding: 2rem;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.testimonial-slide {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.testimonial-slide .testimonial-card {
    max-width: 800px;
    width: 100%;
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.testimonial-slide .testimonial-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    margin: 1.5rem 0;
    font-style: italic;
}

.testimonial-slide .testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-slide .testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-slide .author-info {
    text-align: left;
}

.testimonial-slide .author-info h4 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
}

.testimonial-slide .author-info span {
    color: #666;
    font-size: 0.9rem;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    background: #1e40af;
    border: none;
    border-radius: 50%;
    color: #282828;
    font-size: 1.2rem;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.carousel-btn:hover {
    background: #3b82f6;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.carousel-btn.prev {
    margin-left: -25px;
}

.carousel-btn.next {
    margin-right: -25px;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #1e40af;
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: #1e40af;
    transform: scale(1.1);
}

/* Responsive price text sizing fix */
@media (min-width: 769px) {
    .price {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 768px) {
    .price {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 768px) {
    /* Testimonials carousel responsive */
    .testimonials-carousel {
        max-width: 100%;
        margin: 0;
        padding: 0 1rem;
    }

    .carousel-container {
        padding: 1.5rem 0.5rem;
        margin: 0;
        background: #f9f9f9;
        border-radius: 15px;
        position: relative;
        overflow: visible;
    }

    .testimonial-slide {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .testimonial-slide .testimonial-card {
        padding: 2rem 1.5rem;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        text-align: center;
        background: white;
        border-radius: 15px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }

    .testimonial-slide .testimonial-content {
        text-align: center;
    }

    .testimonial-slide .testimonial-content p {
        font-size: 1.05rem;
        line-height: 1.7;
        text-align: center;
        margin: 1.5rem 0;
    }

    .testimonial-slide .testimonial-author {
        margin-top: 1.8rem;
        gap: 1rem;
        justify-content: center;
    }

    .testimonial-slide .testimonial-author img {
        width: 55px;
        height: 55px;
    }

    .carousel-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
        left: 0;
        display: flex;
        justify-content: space-between;
        pointer-events: none;
        z-index: 20;
        padding: 0 1rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        background: rgba(30, 64, 175, 0.95);
        backdrop-filter: blur(10px);
        border: 2px solid rgba(255,255,255,0.3);
    }

    .carousel-btn.prev {
        margin-left: -2rem;
    }

    .carousel-btn.next {
        margin-right: -2rem;
    }

    .carousel-dots {
        margin-top: 2rem;
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    .carousel-dots .carousel-dot {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .price {
        font-size: 1rem !important;
    }

    /* Smaller header contact icons on mobile */
    .header-contact .contact-item i {
        width: 20px;
        height: 20px;
        font-size: 10px;
        margin-right: 6px;
    }

    .header-contact .contact-item {
        font-size: 0.8rem;
    }

    /* Mobile testimonials carousel */
    .testimonials-carousel {
        padding: 0 0.5rem;
    }

    .carousel-container {
        padding: 1rem 0.5rem;
        margin: 0;
        border-radius: 12px;
        overflow: visible;
    }

    .testimonial-slide .testimonial-card {
        padding: 1.5rem 1rem;
        margin: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 12px;
    }

    .testimonial-slide .testimonial-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin: 1.2rem 0;
        text-align: center;
    }

    .testimonial-slide .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        margin-top: 1.5rem;
        justify-content: center;
    }

    .testimonial-slide .testimonial-author img {
        width: 50px;
        height: 50px;
    }

    .testimonial-slide .author-info {
        text-align: center;
    }

    .testimonial-slide .author-info h4 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .testimonial-slide .author-info span {
        font-size: 0.85rem;
    }

    .testimonial-slide .stars {
        font-size: 1rem;
        margin-bottom: 0.8rem;
        text-align: center;
    }

    .carousel-nav {
        padding: 0 0.5rem;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        box-shadow: 0 3px 12px rgba(0,0,0,0.25);
        background: rgba(30, 64, 175, 0.9);
        backdrop-filter: blur(8px);
    }

    .carousel-btn.prev {
        margin-left: -1.5rem;
    }

    .carousel-btn.next {
        margin-right: -1.5rem;
    }

    .carousel-dots {
        margin-top: 1.5rem;
        justify-content: center;
        gap: 8px;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
    }
}

/* Contact Message Styles */
.contact-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid;
    display: none;
    transition: all 0.3s ease;
}

.contact-message.success {
    background: #d1fae5;
    border-color: #10b981;
    color: #047857;
}

.contact-message.error {
    background: #fee2e2;
    border-color: #ef4444;
    color: #dc2626;
}

.message-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.message-icon {
    font-size: 1.25rem;
}

.message-text {
    font-weight: 500;
}

/* ===================================================
   FINAL MOBILE LOCK — FULL WIDTH & NO SCROLL RIGHT
=================================================== */
@media (max-width: 768px) {

  /* HARD RESET MOBILE WIDTH */
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  * {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* HEADER FIX */
  .header,
  .header-top,
  .header-bottom,
  .header-top-content,
  .navbar {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .header-top-content {
    justify-content: space-between !important;
  }

  /* HERO FIX */
  .hero {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    height: auto !important;
    overflow: hidden;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 20px 15px;
  }

  /* GRID & SECTION FIX */
  section,
  footer,
  .container {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .search-row,
  .bus-grid,
  .features-grid,
  .footer-content {
    grid-template-columns: 1fr !important;
  }

  /* CARD FIX */
  .bus-card,
  .search-form-container,
  .testimonial-card {
    width: 100%;
    max-width: 100%;
  }

  /* BUTTON & FORM FIX */
  button,
  .btn-primary,
  .btn-search,
  .btn-detail,
  .btn-contact,
  input,
  select,
  textarea {
    width: 100%;
    max-width: 100%;
  }

  /* CAROUSEL FIX (BIANG KEROK) */
  .carousel-container,
  .carousel-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .testimonial-slide {
    min-width: 100%;
    max-width: 100%;
  }

  /* CHAT WIDGET FIX */
  .chat-widget {
    right: 0 !important;
    left: auto !important;
    max-width: calc(100vw - 16px);
  }
}
