.grid-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.img-hover-zoom {
    overflow: hidden;
}

.img-hover-zoom img {
    transition: transform .5s ease;
}

.img-hover-zoom:hover img {
    transform: scale(1.3);
}

.service-image-container {
    display: flex;
    justify-content: space-between;
    margin: 2rem;
    gap: 1rem;
}

.service-image-container img {
    width: 50%;
}

.service-image-container div {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 1rem;
}

.service-image-container div p {
    color: gray;
    line-height: 2rem;
    font-size: large;
}

#read-more-service {
    background-color: #028ed2;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 1rem 2.2rem;
    font-size: 1.1em;
    font-weight: 600;
    max-width: fit-content;
    margin-top: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.11);
    display: inline-block;
}

#read-more-service:hover {
    background-color: #000b11 !important;
}

.image-gallery-service {
    padding: 2rem 0;
    overflow-x: hidden;
    background-color: #dff4ff28;
    white-space: nowrap;
    user-select: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
    width: 100%;
}

.image-gallery-service::-webkit-scrollbar {
    display: none;
}

.gallery {
    display: inline-flex;
    gap: 2rem;
    padding: 0 1rem;
    animation: scroll 20s linear infinite;
}

.gallery img {
    width: 15%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    cursor: grab;
}

.gallery img:active {
    cursor: grabbing;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.bus-amenity {
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.amenity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 2rem;
    padding: 0 1rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.amenity-item:hover {
    transform: scale(1.05);
}

.amenity-item i {
    font-size: 1.5rem;
    color: #0056b3;
    margin-right: 0.75rem;
}

.amenity-item span {
    font-size: 1rem;
    color: #333;
}

h1 {
    color: #333;
}

h2 {
    color: #555;
}

.tab-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #000;
    padding: 10px 1rem;
    width: fit-content;
    margin: 0 auto;
    border-radius: 10px;
}

.tab {
    padding: 10px 20px;
    color: #fff;
    cursor: pointer;
}

.tab:hover {
    background-color: #444;
}

.active-tab {
    background-color: #007BFF;
}

table {
    width: 80%;
    margin: 20px auto;
    border-collapse: collapse;
}

th,
td {
    padding: 15px;
    border: 1px solid #ddd;
}

th {
    background-color: #f2f2f2;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

.highlight {
    background-color: #007BFF;
    color: #fff;
}

.hidden {
    display: none;
}

.container {
    /* background: white; */
    margin: 2rem auto;
    padding: 0 5rem;
    border-radius: 15px;
    justify-content: center;
    width: 100%;
    display: flex;
    gap: 2rem;
}

.form-inq{
    width: 30%;
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: bold;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.side-image-inq{
   width: 100%;
   border-radius: 10px;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 5px rgba(102, 126, 234, 0.3);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #0056b3, #004385);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: linear-gradient(135deg, #004186, #00305f);
}


#submitting{
    display: none;
  }

@media (max-width: 1024px) {
    .form-inq{
        width: 100%;
    }

    .container{
        padding: 0 2rem;
    }
}


@media (max-width: 480px) {
    .container {
        padding: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 10px;
    }

    h2 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .amenity-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-image-container {
        flex-direction: column;
    }

    .service-image-container img {
        width: 100%;
    }

    .gallery {
        display: inline-flex;
        gap: 1rem;
        margin: 0 1rem;
    }

    .gallery img {
        width: 20%;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease;
        cursor: grab;
    }

    .container{
        flex-direction: column;
    }

    .form-inq{
        width: 100%;
    }
}

@media (max-width: 480px) {
    .gallery img {
        width: 40%;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease;
        cursor: grab;
    }

    .amenity-grid {
        grid-template-columns: 1fr;
    }
}