/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Color palette provided by user */
:root {
    --primary: #236ca8;
    --secondary: #e86b2a;
    --accent: #d9532d;
    --light-bg: #f9f9f7;
    --highlight: #e4a06d;
    --dark-navy: #1a3d6d;
    --orange: #ec8529;
    --muted-blue: #a3b7ca;
    --steel-gray: #536b8c;
    --white: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navbar */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(26, 61, 109, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo-img {
    height: 46px;
    width: auto;
    display: block;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navbar a {
    text-decoration: none;
    color: var(--dark-navy);
    font-weight: 500;
    transition: color 0.3s;
}

.navbar a:hover {
    color: var(--primary);
}

.call-button {
    background: var(--secondary);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.2s;
    box-shadow: 0 6px 18px rgba(232,107,42,0.12);
}

.call-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(26, 61, 109, 0.08);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark-navy) 100%);
    padding: 120px 0 60px;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.booking-form-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.booking-form {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(26, 61, 109, 0.12);
}

.trip-type {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

.radio-option input {
    margin-right: 8px;
    accent-color: var(--primary);
}

.form-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-btn {
    background: var(--primary);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s, transform 0.2s;
    width: 100%;
    justify-content: center;
}

.search-btn:hover {
    background: var(--dark-navy);
    transform: translateY(-2px);
}

/* Banner Section */
.banner {
    padding: 60px 0;
    background: var(--light-bg);
}

.banner-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.banner-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.car-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
}

.banner-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 20px;
}

.book-now-btn {
    background: var(--secondary);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.2s;
}

.book-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(232,107,42,0.12);
}

.app-download {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(26, 61, 109, 0.06);
    text-align: center;
}

.app-download h3 {
    margin-bottom: 20px;
    color: #333;
}

.qr-codes {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.qr-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qr-placeholder {
    width: 60px;
    height: 60px;
    background: #ddd;
    border-radius: 8px;
    position: relative;
}

.qr-placeholder::after {
    content: "QR";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color: #666;
}

/* About Section */
.about {
    padding: 60px 0;
    background: var(--white);
}

.about h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--dark-navy);
}

.about p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 25px;
    max-width: 800px;
}

/* Responsive About Grid (text left, image right on desktop) */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: center;
}

.about-text h2 {
    font-size: 32px;
    color: var(--dark-navy);
    margin-bottom: 18px;
}

.about-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(26, 61, 109, 0.12);
    object-fit: cover;
}

.about-actions {
    margin-top: 10px;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-image {
        max-width: 100%;
    }
}

.read-more-btn {
    background: var(--secondary);
    color: var(--white);
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.2s;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(232,107,42,0.12);
}

/* Services Section */
.services {
    padding: 60px 0;
    background: #f8f9fa;
}

.tabs {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(26, 61, 109, 0.06);
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid #eee;
}

.tab-btn {
    flex: 1;
    padding: 20px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
}

/* Popular Cabs carousel styles */
.popular-carousel .carousel-track { display:flex; align-items:stretch; }
.popular-carousel .carousel-slide { padding:6px; box-sizing:border-box; }
.popular-card { display:flex; flex-direction:column; height:100%; }
.popular-card img { height:140px; object-fit:cover; border-bottom-left-radius:8px; border-bottom-right-radius:8px; }
.popular-card .card-body { padding:12px; display:flex; flex-direction:column; flex:1 1 auto; }
.popular-card h3 { font-size:1.05rem; margin-bottom:6px; }
.popular-card p { color:#666; margin-bottom:8px; flex:0 0 auto; }
.popular-meta { margin-top:auto; display:flex; justify-content:space-between; align-items:center; gap:8px; }

@media (max-width:600px){
    .popular-card img { height:120px }
}


.tab-btn.active {
    background: var(--primary);
    color: var(--white);
}

.tab-panel {
    display: none;
    padding: 30px;
}

.tab-panel.active {
    display: block;
}

.service-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.service-links a {
    color: var(--primary);
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    transition: color 0.3s;
}

.service-links a:hover {
    color: var(--secondary);
}

/* Major Routes Section */
.major-routes {
    padding: 60px 0;
    background: var(--white);
}

.major-routes h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #333;
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.route-btn {
    background: var(--light-bg);
    border: 2px solid rgba(83,107,140,0.12);
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s, transform 0.2s;
    color: var(--dark-navy);
}

.route-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.view-more-btn {
    background: var(--secondary);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s, box-shadow 0.2s;
}

.view-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(232,107,42,0.12);
}

/* FAQ Section */
.faq {
    padding: 60px 0;
    background: var(--light-bg);
}

.faq h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #333;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--dark-navy);
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--steel-gray);
    line-height: 1.8;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Tourist Places Section */
.tourist-places {
    padding: 60px 0;
    background: var(--white);
}

.tourist-places h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #333;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.carousel {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 20px;
}

.place-card {
    min-width: 280px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(26, 61, 109, 0.06);
    transition: transform 0.3s;
}

.place-card:hover {
    transform: translateY(-5px);
}

.place-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.place-card h3 {
    padding: 15px 20px 5px;
    font-size: 20px;
    color: #333;
}

.place-card p {
    padding: 0 20px 20px;
    color: #666;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.carousel-btn:hover {
    background: var(--dark-navy);
    transform: translateY(-3px);
}

/* Reviews Section */
.reviews {
    padding: 60px 0;
    background: var(--light-bg);
}

.reviews h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #333;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -15px;
    left: 30px;
    background: var(--highlight);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.review-card p {
    margin: 20px 0;
    color: #666;
    line-height: 1.8;
    font-style: italic;
}

.reviewer strong {
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.reviewer span {
    color: #0056D2;
    font-size: 14px;
}

/* CTA Section */
.cta {
    background: var(--secondary);
    padding: 40px 0;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cta-text {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-car {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cta-message h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 5px;
}

.cta-message p {
    color: #333;
    font-weight: 500;
}

.play-store {
    height: 60px;
}

/* Footer */
.footer {
    background: var(--dark-navy);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #cfd8e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--highlight);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #cfd8e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--highlight);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #ccc;
    font-size: 20px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #FFB400;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        padding: 10px 0;
    }
    
    .navbar {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .call-button {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .call-button span {
        display: none;
    }
    
    .hero {
        padding: 100px 0 40px;
    }
    
    .booking-form {
        padding: 20px;
    }
    
    .form-fields {
        grid-template-columns: 1fr;
    }
    
    .trip-type {
        flex-direction: column;
        gap: 10px;
    }
    
    .banner-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .banner-left {
        flex-direction: column;
        gap: 20px;
    }
    
    .banner-text h2 {
        font-size: 24px;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .routes-grid {
        grid-template-columns: 1fr;
    }
    
    .carousel-track {
        gap: 15px;
    }
    
    .place-card {
        min-width: 250px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .booking-form {
        padding: 15px;
    }
    
    .search-btn {
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .banner-text h2 {
        font-size: 20px;
    }
    
    .about h2,
    .major-routes h2,
    .faq h2,
    .tourist-places h2,
    .reviews h2 {
        font-size: 24px;
    }
    
    .place-card {
        min-width: 200px;
    }
    
    .review-card {
        padding: 20px;
    }
    
    .footer-links {
        gap: 15px;
        font-size: 14px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.booking-form,
.place-card,
.review-card {
    animation: fadeInUp 0.6s ease;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Prevent flash-of-unstyled-content: keep JS-controlled elements hidden until JS runs */
.place-card,
.review-card,
.route-btn,
.booking-form {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Focus states for accessibility */
button:focus,
input:focus,
a:focus {
    outline: 2px solid #FFB400;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .cta {
        display: none;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}

/* Page-specific Styles */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark-navy) 100%);
    padding: 120px 0 80px;
    text-align: center;
    color: var(--white);
}

.page-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 18px;
    opacity: 0.9;
}

/* Navigation active state */
.navbar a.active {
    color: var(--secondary);
    font-weight: 600;
}

/* About Page Styles */
.company-intro {
    padding: 80px 0;
    background: var(--white);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-text h2 {
    font-size: 36px;
    color: var(--dark-navy);
    margin-bottom: 20px;
}

.intro-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--steel-gray);
    margin-bottom: 30px;
}

.mission-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.mission h3,
.values h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mission p {
    color: var(--steel-gray);
    line-height: 1.6;
}

.values ul {
    list-style: none;
    padding: 0;
}

.values li {
    color: var(--steel-gray);
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.values li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--highlight);
    font-weight: bold;
}

.intro-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(26, 61, 109, 0.1);
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
    background: var(--light-bg);
}

.why-choose-us h2 {
    text-align: center;
    font-size: 36px;
    color: var(--dark-navy);
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(26, 61, 109, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(26, 61, 109, 0.12);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 22px;
    color: var(--dark-navy);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--steel-gray);
    line-height: 1.6;
}

/* Our Team */
.our-team {
    padding: 80px 0;
    background: var(--white);
}

.our-team h2 {
    text-align: center;
    font-size: 36px;
    color: var(--dark-navy);
    margin-bottom: 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(26, 61, 109, 0.08);
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--light-bg);
}

.team-member h3 {
    font-size: 20px;
    color: var(--dark-navy);
    margin-bottom: 5px;
}

.team-member p {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

/* About CTA */
.about-cta {
    background: var(--secondary);
    padding: 60px 0;
    text-align: center;
}

.about-cta h2 {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 15px;
}

.about-cta p {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-btn {
    background: var(--white);
    color: var(--secondary);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form-section h2,
.contact-info h2 {
    font-size: 32px;
    color: var(--dark-navy);
    margin-bottom: 30px;
}

.contact-form {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--dark-navy);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(83, 107, 140, 0.2);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.error-message {
    color: var(--accent);
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.submit-btn {
    background: var(--primary);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s, transform 0.2s;
    width: 100%;
    justify-content: center;
}

.submit-btn:hover {
    background: var(--dark-navy);
    transform: translateY(-2px);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 18px;
    color: var(--dark-navy);
    margin-bottom: 8px;
}

.contact-details p {
    color: var(--steel-gray);
    line-height: 1.6;
}

/* Map Section */
.map-section {
    padding: 60px 0;
    background: var(--light-bg);
}

.map-section h2 {
    text-align: center;
    font-size: 32px;
    color: var(--dark-navy);
    margin-bottom: 40px;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(26, 61, 109, 0.1);
}

/* Services Page Styles */
.services-section {
    padding: 80px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(26, 61, 109, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(26, 61, 109, 0.12);
    border-color: var(--secondary);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--white);
}

.service-card h3 {
    font-size: 24px;
    color: var(--dark-navy);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--steel-gray);
    line-height: 1.6;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--steel-gray);
}

.service-features i {
    color: var(--highlight);
    font-size: 14px;
}

.service-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.service-btn {
    background: var(--secondary);
    color: var(--white);
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(232, 107, 42, 0.3);
}

/* Services FAQ */
.services-faq {
    padding: 60px 0;
    background: var(--light-bg);
}

.services-faq h2 {
    text-align: center;
    font-size: 32px;
    color: var(--dark-navy);
    margin-bottom: 40px;
}

/* Route Page Styles */
.route-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark-navy) 100%);
    padding: 120px 0 60px;
    color: var(--white);
}

.route-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.route-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    opacity: 0.9;
}

.stat-item i {
    color: var(--highlight);
}

/* Available Cabs */
.available-cabs {
    padding: 80px 0;
    background: var(--white);
}

.available-cabs h2 {
    font-size: 32px;
    color: var(--dark-navy);
    margin-bottom: 40px;
    text-align: center;
}

.cabs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.cab-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(26, 61, 109, 0.08);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cab-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(26, 61, 109, 0.12);
}

.cab-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.cab-info {
    padding: 25px;
}

.cab-info h3 {
    font-size: 22px;
    color: var(--dark-navy);
    margin-bottom: 5px;
}

.cab-type {
    background: var(--light-bg);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.cab-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--steel-gray);
}

.feature i {
    color: var(--highlight);
    width: 16px;
}

.cab-pricing {
    margin: 20px 0;
}

.cab-pricing .price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.fare-summary p {
    font-size: 14px;
    color: var(--steel-gray);
}

.book-cab-btn {
    background: var(--secondary);
    color: var(--white);
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.book-cab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(232, 107, 42, 0.3);
}

/* Modal Styles */

/* Modal overlay - center content with flexbox to avoid right-side offsets */
.modal {
    display: none; /* controlled via JS */
    position: fixed;
    z-index: 10000;
    inset: 0; /* top:0; right:0; bottom:0; left:0; */
    background-color: rgba(0, 0, 0, 0.6); /* dark semi-transparent overlay */
    backdrop-filter: blur(4px);
    padding: 20px; /* spacing for small screens */
    display: flex;
    align-items: center;
    justify-content: center;
}



/* Modal content centered box */
.modal-content {
    background-color: var(--white);
    margin: 0; /* centered by flexbox */
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 900px;
    position: relative;
    animation: modalSlideIn 0.24s ease;
    box-shadow: 0 18px 40px rgba(16,40,74,0.12);
    max-height: calc(100vh - 120px);
    overflow: auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--steel-gray);
    transition: color 0.3s;
}

.close:hover {
    color: var(--accent);
}

.modal-content h2 {
    color: var(--dark-navy);
    margin-bottom: 20px;
    font-size: 24px;
}

/* Cab card enhancements */
.cab-card { overflow: hidden; display: flex; flex-direction: column; border-radius: 12px; background: linear-gradient(180deg,#fff,#f8fbff); }
.cab-image { background: #f0f4fa; }
.cab-image img { width:100%; height:200px; object-fit:cover; display:block; }
.cab-body { padding:16px; display:flex; flex-direction:column; gap:10px; }
.cab-head { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.cab-name { margin:0; font-size:18px; color:var(--dark-navy); }
.cab-type { margin:0; color:var(--muted-blue); font-size:14px; }
.price-badge { background: linear-gradient(90deg,var(--secondary),var(--orange)); color:#fff; padding:8px 12px; border-radius:8px; font-weight:700; }
.cab-features { display:flex; flex-wrap:wrap; gap:8px; list-style:none; padding:0; margin:0; }
.cab-features li { background: #f5f7fb; color:var(--steel-gray); padding:6px 8px; border-radius:6px; font-size:13px; }
.fare-summary { display:flex; justify-content:space-between; gap:12px; color:var(--steel-gray); font-size:13px; padding-top:6px; border-top:1px dashed #e9eef6; }
.view-details { color:var(--primary); text-decoration:none; font-weight:600; }
.book-now-btn { background: linear-gradient(90deg,var(--secondary),var(--accent)); border:none; color:#fff; padding:10px 14px; border-radius:10px; cursor:pointer; box-shadow:0 8px 20px rgba(217,83,45,0.12); }

/* Modal image sizing tweaks */
.modal-image img { width:120px; height:80px; object-fit:cover; border-radius:6px; }

/* Details modal polish and responsiveness */
#detailsModal .modal-content {
    max-width: 960px;
    width: calc(100% - 40px);
    padding: 24px;
    border-radius: 12px;
}

#detailsModal .modal-body {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 20px;
    align-items: start;
}

#detailsModal .modal-body img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(16,40,74,0.06);
}

#detailsModal h4 {
    margin-bottom: 6px;
    font-size: 20px;
}

.fare-breakup div { color: var(--dark-navy); }
.fare-breakup div div { color: var(--steel-gray); margin-top:4px; }

.fare-breakup strong { display:block; color:var(--muted-blue); margin-bottom:4px; }

#detailsModal .modal-body ul { margin:8px 0 0 18px; }

/* Make modal content scrollable on small heights */
#detailsModal .modal-content {
    max-height: calc(100vh - 100px);
    overflow: auto;
}

/* Close button style inside modal */
#detailsModal .close {
    font-size: 26px;
    line-height: 1;
    background: transparent;
    border: none;
    color: var(--steel-gray);
}

/* Buttons inside modal */
.btn { padding:10px 14px; border-radius:8px; border: none; cursor: pointer; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-secondary { background: #eef3f9; color: var(--dark-navy); }

/* Responsive: stack columns on small screens and make modal full screen */
@media (max-width: 700px) {
    #detailsModal .modal-content {
        width: 100%;
        height: 100vh;
        max-width: 100%;
        border-radius: 0;
        margin: 0;
        padding: 18px;
        top: 0;
    }

    #detailsModal .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-image img { height: 180px; }
    .cab-image img { height: 180px; }
}

/* Improve view-details button appearance */
.view-details { background: transparent; border: 2px dashed rgba(35,108,168,0.08); padding:8px 10px; border-radius:8px; color:var(--primary); }
.view-details:hover { background: rgba(35,108,168,0.04); }

/* Ensure modal overlay is above other elements */
.modal { z-index: 10050; }


.success-icon {
    text-align: center;
    margin-bottom: 20px;
}

.success-icon i {
    font-size: 60px;
    color: var(--highlight);
}

.modal-btn {
    background: var(--primary);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    transition: background 0.3s;
}

.modal-btn:hover {
    background: var(--dark-navy);
}

.booking-summary {
    background: var(--light-bg);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.booking-summary p {
    margin-bottom: 5px;
    color: var(--steel-gray);
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 28px;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .mission-values {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-grid,
    .team-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .route-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .cabs-grid {
        grid-template-columns: 1fr;
    }
    
    .cab-features {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
    }
}

/* For larger screens make modal narrower (40-50% of viewport) for a desktop-style dialog */
@media (min-width: 1100px) {
    .modal-content {
        width: 45%;
        max-width: 980px;
    }
}

/* Review avatar */
.review-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    top: -35px;
    right: 30px;
    box-shadow: 0 6px 18px rgba(26,61,109,0.08);
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Ensure logo image is always visible even if inline style or lazy loader sets opacity */
.logo-img {
    opacity: 1 !important;
    transition: opacity 0.25s ease !important;
    display: block;
}


.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),url('./bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #000;
}
.hero .overlay {
  position: absolute;
  inset: 0;
  opacity: 0.06;
}
.booking-card .form-label {
  font-size: 12px;
}
.booking-card {
  border-radius: 10px;
}
.bg-orange {
  background: var(--orange);
}
.route-card {
  border-radius: 10px;
  background: #fff;
}
.footer-logo {
  height: 60px;
}
.container h2,
.container h4 {
  color: var(--blue);
}
.btn-primary {
  background: var(--blue);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: #0f2f53;
}
.card {
  border: 0;
}
footer {
  background: #0b2240;
}
@media (max-width: 768px) {
  .hero {
    padding: 40px 0;
  }
  .logo {
    height: 40px;
  }
}
