 /* Navbar styling */
 .navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background-color: #004634;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

/* Logo Animation */
.navbar-brand img {
    transition: transform 2s ease-in-out;
}

.navbar-brand img:hover {
    transform: scale(1.1);
}

/* Navigation links */
.nav-link {
    color: rgb(215, 212, 194);
    font-size: 15px;
    font-weight: bold;
    position: relative;
    transition: color 0.3s ease-in-out;
}

.nav-link:hover {
    color: rgb(215, 212, 194);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: rgb(215, 212, 194);
    transition: width 0.3s ease-in-out;
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown Menu on Hover */
.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu {
    background-color: #004634;
    border: none;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    transform: translateY(10px);
    opacity: 0;
}

.dropdown-item {
    color: rgb(215, 212, 194);
    transition: color 0.3s ease-in-out;
}

.dropdown-item:hover {
    color: rgb(215, 212, 194);
    background-color: transparent;
}

/* Button styling */
.btn {
    color: rgb(6, 6, 77);
    background-color: rgb(215, 212, 194);
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.btn:hover {
    background-color: #83bef8;
    color: white;
}

/* Navbar toggler (for mobile) */
.navbar-toggler {
    background-color: #e1d39b;
    border: none;
}

/* +++++++++++++++ */


#booking-container {
    height: 100vh; /* Full height */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#background-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: auto;
    min-height: 100%;
    min-width: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.5); /* Darken background for contrast */
    z-index: 0;
}

#form-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    padding: 20px;
    width: 90%;
    max-width: 900px; /* Make it wider */
}

#form-section {
    background-color: rgba(231, 230, 230, 0.541);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 800px; /* Width of the form */
    opacity: 0.9;
}

#form-heading {
    color: #004634; /* Dark aqua color */
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.5em; /* Smaller heading */
}

#input-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between; /* Distribute space */
}

.input-field {
    flex: 1 1 calc(50% - 10px); /* Two columns */
    opacity: 0; /* Start hidden */
    transform: translateY(20px); /* Start below */
    transition: opacity 0.3s ease, transform 0.3s ease; /* Smooth transition */
    max-width: 300px; /* Limit width */
}

label {
    font-weight: bold;
    color: #004634; /* Teal color for labels */
}

input, select, textarea {
    padding: 10px;
    border: 2px solid #004634; /* Teal border */
    border-radius: 10px;
    transition: border-color 0.3s;
    width: 100%; /* Full width */
}

input:focus, select:focus, textarea:focus {
    border-color:#004634; /* Dark aqua on focus */
    outline: none;
}

#submit-btn {
    background-color: #004634; /* Teal button */
    color: white;
    padding: 10px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.2s;
    flex: 1 1 100%; /* Full width for button */
}

#submit-btn:hover {
    background-color: #004634; /* Dark aqua on hover */
    transform: scale(1.05); /* Slight scale effect */
}

@keyframes inputFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ++++++++++++ */

#h2 {
    color: #004634;
}

#cont1 {
    background-color: #D9D9D9;
    margin-top: 20px;
}

#first1 {
    padding-top: 50px;
}

/* Image Styling */
#first img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}



/* ============ */

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.card-wrapper {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.card {
    background-color: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    padding: 20px;
    margin: 10px;
    flex: 1 1 20%; /* Flex-grow, flex-shrink, flex-basis */
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card img {
    width: 80px;
    height: 80px;
}

.card h5 {
    color: #012c21;
    font-weight: 700;
}

.card p {
    color: #777;
    font-size: 14px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    border-color: #004634;
}

@media (max-width: 768px) {
    .card {
        flex: 1 1 45%; /* Adjust for smaller screens */
    }
}

@media (max-width: 576px) {
    .card {
        flex: 1 1 100%; /* Stack on very small screens */
    }
}

/* ++++++++ */

   h2 {
    color: #004634;
    font-weight: bold;
}

.car-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 2s ease-in-out;
}

.car-card:hover {
    transform: translateY(5px);
}

.car-card img {
    height: 200px;
    width: 300px;
    object-fit:fit;
    margin: auto;
    /* background-color: #f5f5f5; */
}

.price {
    font-weight: bold;
    font-size: 1.5rem;
    color: #004634;
}

.rent-button {
    background-color: #004634;
    color: white;
    border: none;
}

.rent-button:hover {
    background-color: #004634;
}

.features {
    color: #555;
    font-size: 0.9rem;
}

.features i {
    margin-right: 5px;
    color: #004634;
}

/* ++++++++++ */

.h2{
    color: #004634;
    padding-bottom: 20px;
}


/* +++++++++ */

.footer {
    background-color: #004634;
    color: white;
    padding: 40px 0;
    font-family: Arial, sans-serif;
}

.footer h5 {
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer a {
    color: #e6e6e6;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer a:hover {
    color: #fff;
}

.footer .social-icons a {
    color: white;
    font-size: 1.2rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer .social-icons a:hover {
    color: #e6e6e6;
}

.footer .divider {
    border-top: 1px solid #e6e6e6;
    margin: 20px 0;
}

.footer .copyright {
    font-size: 0.9rem;
    color: #e6e6e6;
}
