* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: black;
    padding: 10px 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar-logo {
    height: 80px; /* Adjusted for better fit */
    width: auto;
    max-width: 150px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 16px;
}

.quote-button {
    background-color: orange;
    color: black;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.quote-button:hover {
    background-color: darkorange;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }
    .nav-links {
        flex-direction: column;
        gap: 10px;
    }
    .navbar-logo {
        height: 35px;
        max-width: 130px;
    }
}

.carousel-container {
    position: relative;
    height: 600px; /* Adjust as needed */
}

.booking-form {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    z-index: 10;
    width: 80%;
    max-width: 1000px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.booking-form input,
.booking-form button {
    border-radius: 5px;
}

.carousel img {
    height: 600px;
    object-fit: cover;
}

.nav-pills .nav-link {
    color: black;
    font-weight: bold;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.nav-pills .nav-link.active {
    background-color: rgb(238, 106, 58);
    color: white;
}
.btn-custom {
    background-color: rgb(238, 106, 58); /* Green background */
    color: white; /* White text */
    border: none; /* Remove border */
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px; /* Rounded corners */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-custom:hover {
    background-color: rgb(238, 106, 58); /* Darker green on hover */
    transform: scale(1.05); /* Slight scaling on hover */
}

.btn-custom:active {
    background-color: rgb(238, 106, 58)8e41; /* Even darker green when clicked */
    transform: scale(0.95); /* Slight shrink on click */
}
.text-orange {
    color: #FF6600; /* Matches the orange in your screenshot */
}

.offer-card {
    overflow: hidden;
    position: relative;
}

.offer-card img {
    transition: transform 0.3s ease;
    width: 100%;
}

.offer-card:hover img {
    transform: scale(1.1); /* Zoom effect on hover */
}

.overlay {
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent black overlay */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.offer-card:hover .overlay {
    opacity: 1;
}

.offer-card h5 {
    text-transform: uppercase;
    font-size: 1.2rem;
}


.key-features {
    text-align: center;
    padding: 50px 20px;
    background-color: #f7f7f7;
}

.key-features h2 {
    font-size: 28px;
    color: #ff6600;
}

.key-features h3 {
    font-size: 34px;
    margin: 20px 0;
    color: #666;
}

.features-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.feature-item {
    width: 23%;
    margin: 10px 0;
}

.feature-item .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 3px rgba(0,0,0,0.1);
}

.safety-icon { background: url('safety-icon-url') no-repeat center center; }
.rate-icon { background: url('rate-icon-url') no-repeat center center; }
.fleet-icon { background: url('fleet-icon-url') no-repeat center center; }
.service-icon { background: url('service-icon-url') no-repeat center center; }

.feature-item h4 {
    font-size: 24px;
    color: #ff6600; /* Orange color */
}

.feature-item p {
    font-size: 20px;
    color: #777;
}

.slider-container {
    width: 90%;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}

.slider {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    scroll-behavior: smooth;
    white-space: nowrap;
}

.car-box {
    flex: 0 0 300px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: inline-block;
    white-space: normal;
}

.car-box img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 10px;
}

.car-box h3 {
    font-size: 18px;
    margin: 10px 0;
}

.car-box p {
    font-size: 14px;
    margin: 5px 0;
    color: #555;
}

.icon-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.icon-section div {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.icon-section i {
    font-size: 16px;
    color: #ff6f00;
}

/* Navigation Buttons */
.controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.controls button {
    background-color: rgba(255, 111, 0, 0.8);
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s;
}

.controls button:hover {
    background-color: #e65c00;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .slider-container {
        width: 100%;
    }

    .car-box {
        flex: 0 0 90%;
        margin: auto;
    }

    .controls button {
        padding: 8px 12px;
        font-size: 16px;
    }
}

footer {
    background-color:whitesmoke;
}

.footer-top {
    background-color: #e9ecef;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-top .address, .footer-top .phones {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-top .address p, .footer-top .phones p {
    margin: 0;
    color: #555;
    font-weight: bolder;
    font-size: large;
}

.footer-top .icon {
    font-size: 24px;
    color: #ff6f00;
}

.footer-bottom {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.footer-section {
    margin: 10px;
}

.footer-section h3 {
    color: #ff6f00;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
}
.footer-section p{
    color: #ff6f00;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
}

.footer-section ul {
    list-style: none;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
}

.footer-section ul li a {
    text-decoration: none;
    color: #555;
}

.footer-section ul li a:hover {
    color: #ff6f00;
}

.footer-section p {
    color: #555;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
    }
}
/* General responsiveness */
@media (max-width: 1024px) {
    .feature-item {
        width: 45%; /* Adjust width for medium screens */
    }
    .booking-form {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        font-size: 16px; /* Smaller font for navigation */
    }
    .nav-items {
        margin-right: 10px;
    }
    .carousel-container {
        height: 400px; /* Reduce height on smaller screens */
    }
    .carousel img {
        height: 400px;
    }
    .booking-form {
        top: 85%;
        width: 95%;
        padding: 15px;
    }
    .feature-item {
        width: 100%; /* Stack items in one column */
    }
    .slider {
        flex-wrap: nowrap;
        overflow-x: auto; /* Allow horizontal scrolling */
    }
    .slider-container {
        width: 100%;
        padding: 10px 0;
    }
    .car-box {
        flex: 0 0 80%;
    }
}

@media (max-width: 480px) {
    .nav-links {
        font-size: 14px;
    }
    .nav-items {
        padding: 3px;
    }
    .carousel-container {
        height: 300px;
    }
    .carousel img {
        height: 300px;
    }
    .booking-form {
        width: 100%;
        top: 90%;
        padding: 10px;
    }
    .feature-item {
        width: 100%;
    }
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-section {
        text-align: center;
    }
    .controls button {
        padding: 8px 16px;
        font-size: 14px;
    }
}




/* Menu Icon for Mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        background: white;
        width: 100%;
        text-align: center;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links li {
        display: block;
        padding: 10px 0;
    }

    .menu-toggle {
        display: block;
    }
}
.hero {
    position: relative;
}

.carousel {
    display: flex;
    overflow: hidden;
}

.carousel-slide {
    position: relative;
    display: none;
}

.carousel-slide img {
    width: 100%;
}

.carousel-slide.active {
    display: block;
}

.carousel-text {
    position: absolute;
    bottom: 20%;
    left: 10%;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

/* Booking Form */
.booking {
    padding: 20px;
}

.booking form {
    display: flex;
    flex-wrap: wrap;
}

.booking label {
    width: 100%;
    font-weight: bold;
}

.booking input, .booking button {
    width: 100%;
    margin-top: 5px;
    padding: 10px;
}

/* Fleet Section */
.fleet-slider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fleet-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 80%;
    padding: 10px;
}

.fleet-item img {
    width: 200px;
    border-radius: 5px;
}

/* Footer */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 15px;
}

.socials {
    list-style: none;
    display: flex;
    justify-content: center;
}

.socials li {
    margin: 0 10px;
}

.socials a {
    color: white;
    font-size: 20px;
}