body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px; /* Set max width */
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    color: #C8102E;
}

.form-section {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.form-section img {
    vertical-align: middle;
    margin-right: 10px;
}

.button-group {
    margin-bottom: 15px;
}

.button-group button {
    background-color: #ddd;
    border: 1px solid #ccc;
    margin-right: 10px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
}

.button-group .active {
    background-color: #C8102E;
    color: white;
    border-color: #C8102E;
}

.form-group {
    margin-bottom: 10px;
    flex: 1;
}

.form-group label {
    display: block;
    font-size: 12px;
    margin-bottom: 5px;
}

.form-group input,
.form-group select {
    width: 100%; /* Full width for mobile */
    padding: 6px;
    font-size: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-fields-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hidden {
    display: none;
}

.form-group button {
    background-color: #C8102E;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.form-group button:hover {
    background-color: #a00;
}

/* New Styles for Enhanced Slider */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.slider {
    position: relative;
    width: 100%;
    height: 400px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
}

.slider-button {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    z-index: 10;
    transition: background-color 0.3s;
}

.slider-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slider-button.prev {
    left: 10px;
}

.slider-button.next {
    right: 10px;
}

/* New Styles for Airport Taxi Information */
.airport-taxi-info {
    padding: 40px;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 1200px;
    text-align: left;
}

.airport-taxi-info h2 {
    color: #C8102E;
    font-size: 28px;
    margin-bottom: 10px;
}

.airport-taxi-info h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
}

.airport-taxi-info p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* New Styles for Popular Cab Services */
.popular-cab-services {
    padding: 40px;
    border-radius: 8px;
    margin: 40px auto;
    max-width: 1200px;
}

.popular-cab-services h2 {
    color: #C8102E;
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}

.services-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.service {
    flex: 1 1 calc(33.333% - 20px);
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-top: 20px;
}

.service h3 {
    color: #C8102E;
    font-size: 20px;
    margin-bottom: 10px;
}

.service p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.map-link {
    display: inline-block;
    margin-top: 10px;
    color: #C8102E;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid #C8102E;
    border-radius: 4px;
    padding: 10px 20px;
    transition: background-color 0.3s, color 0.3s;
}

.map-link:hover {
    background-color: #C8102E;
    color: #fff;
}

.distance-info {
    font-size: 16px;
    color: #555;
    margin-top: 10px;
}

/* Responsive Styles for Mobile Devices */
@media (max-width: 1200px) {
    .container {
        padding: 10px; /* Reduced padding */
    }

    .form-fields-container .form-group {
        flex: 1 1 calc(50% - 10px); /* Two columns on medium screens */
    }

    .service {
        flex: 1 1 calc(50% - 20px); /* Two columns for services */
    }
}

@media (max-width: 768px) {
    .form-fields-container .form-group {
        flex: 1 1 100%; /* Stack fields on small screens */
    }

    .service {
        flex: 1 1 100%; /* Stack services */
    }

    .airport-taxi-info,
    .cab-options-info,
    .popular-cab-services {
        padding: 20px; /* Reduced padding */
    }

    h2 {
        font-size: 24px; /* Adjust heading size */
    }

    h3 {
        font-size: 18px; /* Adjust heading size */
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 24px; /* Adjust heading size */
    }

    .button-group button {
        padding: 10px; /* Increase button padding for better touch targets */
        font-size: 16px; /* Increase font size */
    }

    .airport-taxi-info h2,
    .cab-options-info h2,
    .popular-cab-services h2 {
        font-size: 22px; /* Further reduce heading size */
    }

    .airport-taxi-info p,
    .cab-options-info p,
    .popular-cab-services p {
        font-size: 14px; /* Reduce paragraph text size */
    }
}
