/* TaxiGo main styles */
:root {
    --primary: #0b466d;
    --primary-dark: #e9de78;
    --dark: #0d0d0f;
    --text: #1f1f23;
    --muted: #6b6b76;
    --bg: #f7f8fc;
    --white: #fff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1100px, 92vw);
    margin: 0 auto;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 224, 0.9);
    box-shadow: var(--shadow);
    color: white;
}

.nav-container {
    width: min(1100px, 92vw);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 22px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-weight: 500;
    color: var(--primary);
    padding: 6px 0;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.25s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--text);
    border-radius: 99px;
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
    gap: 40px;
    padding: 70px min(6vw, 32px);
    background: linear-gradient(30deg, var(--white), #f8e74e);
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin: 0 0 12px;
    color: var(--dark);
}

.hero-subtitle {
    margin: 0 0 22px;
    color: var(--muted);
    max-width: 520px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 153, 0.9);
    color: var(--primary);
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    background: rgba(255, 248, 128, 0.95);
}

.hero-image {
    justify-self: center;
}

/* Sections */
section {
    padding: 70px 0;
    scroll-margin-top: 70px;
}

h2 {
    text-align: center;
    margin: 0 0 40px;
    font-size: 1.9rem;
}

/* Booking */
.booking-section {
    background: var(--white);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: #fffdf7;
    padding: 24px;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.trip-type {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.trip-type label:first-of-type {
    font-weight: 600;
    color: var(--text);
    margin-right: 10px;
}

.trip-type input[type="radio"] {
    margin-right: 4px;
}

.trip-type label {
    cursor: pointer;
    color: var(--text);
}

.trip-type input[type="radio"]:checked + label {
    color: var(--primary);
    font-weight: 500;
}

.location-row,
.datetime-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
}

.icon {
    font-size: 1rem;
    color: var(--muted);
    min-width: 20px;
    text-align: center;
}

.location-row input {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #e3e6ed;
    background: var(--white);
    font: inherit;
    font-size: 0.85rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.datetime-row input {
    flex: 1;
    max-width: 140px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #e3e6ed;
    background: var(--white);
    font: inherit;
    font-size: 0.85rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.swap-btn {
    background: var(--primary);
    color: var(--dark);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.swap-btn:hover {
    background: var(--primary-dark);
    transform: rotate(180deg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

label {
    font-weight: 600;
    color: var(--text);
    font-size: 0.85rem;
}

input,
select,
textarea {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #e3e6ed;
    background: var(--white);
    font: inherit;
    font-size: 0.85rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 180, 0, 0.18);
}

.submit-btn {
    align-self: flex-start;
    background: rgba(255, 255, 153, 0.9);
    color: var(--primary);
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: var(--shadow);
}

.submit-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 248, 128, 0.95);
}

/* Services */
.services-section {
    background: var(--bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.service-card {
    background: var(--white);
    padding: 20px;
    border-radius: 14px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* Pricing */
.pricing-section {
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.pricing-card {
    background: #fffdf7;
    border: 1px solid #f0e2b8;
    padding: 20px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    text-align: center;
}

.pricing-card .price {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 10px 0 14px;
    color: var(--primary-dark);
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Why choose us */
.why-choose-us {
    background: var(--bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.feature {
    background: var(--white);
    padding: 18px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 8px;
    text-align: center;
}

.feature-icon {
    font-size: 1.7rem;
}

/* Testimonials */
.testimonials {
    background: var(--white);
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    display: grid;
}

.testimonial {
    display: none;
    text-align: center;
    background: #fffdf7;
    padding: 24px;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.testimonial.active {
    display: block;
}

/* About */
.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    align-items: center;
}

.about-text p {
    color: var(--muted);
    margin: 0 0 18px;
}

.about-points {
    display: grid;
    gap: 14px;
}

.about-point {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 14px;
    align-items: start;
    padding: 12px;
    border-radius: 12px;
    background: #fffdf7;
    box-shadow: var(--shadow);
}

.about-icon {
    font-size: 1.4rem;
}

.about-point h3 {
    margin: 0 0 4px;
    font-size: 1.05rem;
}

.about-point p {
    margin: 0;
    color: var(--muted);
}

.about-card {
    background: var(--bg);
    padding: 20px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 14px;
}

.about-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
    color: var(--muted);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.05);
}

/* Contact */
.contact-section {
    background: var(--bg);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    align-items: start;
}

.contact-form {
    background: var(--white);
    padding: 20px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.map-placeholder iframe {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 50px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
}

.footer h3 {
    margin-top: 0;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.social-icons {
    display: flex;
    gap: 12px;
    font-size: 1.2rem;
}

.footer-bottom {
    margin-top: 22px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Booking Section Grid Layout */
.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.booking-content {
    max-width: 500px;
}

.booking-image {
    justify-self: end;
}

.booking-image img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

/* Booking Form Updates */
.service-banner {
    background: rgba(255, 255, 153, 0.9);
    color: var(--primary);
    padding: 12px 20px;
    border-radius: 10px 10px 0 0;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: #fffdf7;
    padding: 24px;
    border-radius: 0 0 14px 14px;
    box-shadow: var(--shadow);
    border-top: none;
}

.tabs {
    display: flex;
    gap: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #f0f0f0;
}

.tab {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: var(--text);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

.tab.active {
    background: rgba(255, 255, 153, 0.9);
    color: var(--primary);
    border-bottom-color: rgba(255, 255, 153, 0.9);
}

.sub-trip-type {
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 10px 0;
}

.sub-trip-type input[type="radio"] {
    display: none;
}

.sub-trip-type label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border: 2px solid #e3e6ed;
    border-radius: 20px;
    background: var(--white);
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.sub-trip-type input[type="radio"]:checked + label {
    background: rgba(255, 255, 153, 0.9);
    color: var(--primary);
    border-color: rgba(255, 255, 153, 0.9);
}

.radio-icon {
    font-size: 1.1rem;
}

.city-inputs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.input-group input {
    flex: 1;
    padding: 12px 12px 12px 40px;
    border-radius: 10px;
    border: 1px solid #e3e6ed;
    background: var(--white);
    font: inherit;
    font-size: 0.9rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 180, 0, 0.18);
}

.icon {
    font-size: 1rem;
    color: var(--muted);
    min-width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.search-icon {
    margin-left: -30px;
    z-index: 1;
    cursor: pointer;
    color: var(--primary);
}

.add-city-btn {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    align-self: flex-start;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.add-city-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.mobile-row {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #e3e6ed;
}

.country-code {
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    font-size: 0.9rem;
}

.submit-btn {
    align-self: stretch;
    background: rgba(255, 255, 153, 0.9);
    color: var(--primary);
    border: none;
    padding: 16px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: var(--shadow);
    margin-top: 8px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 248, 128, 0.95);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

/* Responsive */
@media (max-width: 768px) {
    .booking-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .booking-image {
        order: 2;
        justify-self: center;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        right: 4vw;
        background: var(--white);
        flex-direction: column;
        gap: 12px;
        padding: 12px 16px;
        border-radius: 12px;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding-top: 40px;
    }

    .submit-btn {
        width: 100%;
        text-align: center;
    }

    .tabs {
        flex-direction: column;
    }

    .sub-trip-type {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .city-inputs {
        gap: 16px;
    }

    .mobile-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
    }

    .country-code {
        align-self: flex-start;
    }
}

