


/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* 🌟 Default - Show Menu & Hide Hamburger on Desktop */
.nav-menu {
    display: flex;
    justify-content: space-around;
    color: Black;
    padding: 10px 0;
}

.hamburger-menu {
    display: none; /* Hide hamburger by default */
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden; /* Prevents scrolling */
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 1rem 2rem;
    border-bottom: 1px solid #303030;
    box-shadow:  0 6px 6px -4px rgb(174, 173, 173);
}

.logo {
    display: flex;
    align-items: center;

}

.logo img {
    width: 120px;
    margin-left: 40px;
}

/* Menu Styling */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative;
    margin-right: 0px;
    margin-left: 100px;
}

nav ul li a {
    text-decoration: none;
    color: #333; /* Adjust the color as needed */
    padding: 10px 0;
    display: inline-block;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Line for active and hover states */
nav ul li a::after {
    content: "";
    position: absolute;
    bottom: 0; /* Position the line under the text */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px; /* Thickness of the line */
    background-color: #000000; /* Adjust color to match your design */
    transition: width 0.3s ease;
}

/* Show the line on hover and active page */
nav ul li a:hover::after,
nav ul li a.active::after {
    width: 50%; /* Expand line to match text width */
}

/* Search Container */
.search-container {
    position: relative;
    display: inline-block;
}

/* Search Bar */
.search-bar {
    width: 250px;
    padding: 8px 16px 8px 40px; /* Add left padding for icon space */
    border: 1px solid #ccc;
    border-radius: 20px;
    transition: width 0.3s ease;
    outline: none;
}

/* Search Icon */
.search-icon {
    position: absolute;
    left: 12px; /* Position icon inside input */
    top: 50%;
    transform: translateY(-50%);
    color: #ccc; /* Icon color */
    font-size: 16px; /* Icon size */
    pointer-events: none; /* Allow clicks to pass through */
}

/* Search Bar Focused */
.search-bar:focus {
    width: 300px;
    border-color: #FF6A00;
}


/* Main Content */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
}

.content {
    display: flex;
    align-items: center;
    max-width: 1200px;
    position: relative;
    height: 100%;
    background-image: url('image/bg2.png'); /* Path to your image */
    background-size: 50%;
    background-position: center;
    
    background-repeat: no-repeat; /* Prevents tiling */
}

.text-content {
    order: 1; 
    max-width: 48%;
    margin-top: 80px;
    margin-right: 2rem;
}

.date {
    color: #555;
    font-size: 0.9rem;
}

h1 {
    font-size: 3.0rem;
    color: #e75a24;
}

.description {
    font-size: 1.4rem;
    font-style: italic;
    color: #333;
}

.description strong {
    color: #000000;
    
    font-weight: 600;
}

/* SLIDE */
/* Slideshow container */
.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}

/* Slide Images */
.slide {
    display: flex;
    margin-top: 30px;
    Padding-bottom: 30px;
    height: 100%;
    max-width: 1200px;
    background-image: url('image/bg2.png'); /* Path to your image */
    background-size: 50%;
    background-position:top center;
    
    background-repeat: no-repeat; /* Prevents tiling */
}


/* Caption text */
.text {
    color: #fff;
    font-size: 16px;
    padding: 10px 20px;
    position: absolute;
    bottom: 20px;
    background: rgba(0, 0, 0, 0.5);
    width: calc(100% - 40px);
    left: 20px;
    border-radius: 5px;
}

/* Navigation Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 18px;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 1;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Fade Animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}


/* Car Image with Orange Shape */
.car-image {
    order: 2; 
    position:top right;
    max-width: 60%;
    margin-right: -50px;
    float: right;
}

.car-image2 {/* for car details page only */
    position:top right;
    max-width: 70%;
    margin-right: -50px;
    float: right;
}

.car-image2 img {
    max-width: 100%;
    height: auto;
    z-index: 1;

}

.orange-shape {
    position: absolute;
    top: -20px;
    left: -40px;
    width: 80%;
    height: 60%;
    border: 10px solid #FF6A00;
    background-color: #131212;
    border-radius: 50px;
    z-index: -1;
}

.car-image img {
    max-width: 45%;
    height: auto;
    z-index: 1;

}



.price-button {
    border: 1px solid  #b45f06;
    background-color: #ffffff;
    padding: 5px 10px;
    font-size: 12px;
    width:max-content;
    border-radius: 20px;
    cursor: pointer;
    margin-right: 15px;
    margin-top: 15px;
}

.price-button .price {
    font-size: 12px;
    font-weight: bold;
}

.price-button .per-day {
    font-size: 6px;
    margin-left: 5px;
}

/* Extra Content */
.extra-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin-top: 3rem;
}

.feature {
    max-width: 30%;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.feature h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #666;
    font-size: 1rem;
}

/* Footer */
footer {
    display: flex;
    justify-content: center;
    padding: 10px;
    background-color: #f8f8f8;
}

.social-icons {
    list-style-type: none;
    display: flex;
}

.social-icons li {
    margin: 0 0.5rem;
}

.social-icons img {
    width: 25px;
    height: 25px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    /* Tablet */
    .content {
        flex-direction: column;
        text-align: center;
    }

    .text-content {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .orange-shape {
        width: 100%;
        height: 50%;
        left: 0;
        top: -20px;
    }

    .extra-content {
        flex-direction: column;
        align-items: center;
    }

    .feature {
        max-width: 80%;
        margin-bottom: 1rem;
    }
}


/* Booking.php style */


.car-catalog {
    text-align: center;
}

.car-catalog h2 {
    font-size: 2rem;
    color: #333;
}

/* book.php */
.car-list-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.car-list {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding: 0 5%; /* Add padding for spacing */
    scroll-snap-type: x mandatory; /* Snap effect */
}

.car-card {
    flex: 0 0 calc(18% - 1rem); /* Show approximately 5 cards, with each taking 20% width */
    background-color: #004c3f;
    color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    scroll-snap-align: center;
    justify-content:start;
    display: inline;
    margin-right: 5px;
    margin-left: 5px;
    padding-top: 5px;
}

.middle-card {
    transform: scale(1.1); /* Makes the third card 10% bigger */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Optional: Adds a shadow for emphasis */
    z-index: 1; /* Ensures it stays above the others */
}

.middle-card:hover {
    background-color:  #004c30;

}

.car-imagebb img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
    border-radius: 15px;
    object-fit: contain; /* Ensures image fits well within the container */
}

.car-info {
    padding: 1rem;
}

.car-info h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.car-info p {
    font-size: 0.9rem;
    color: #c0c0c0;
    margin-bottom: 1rem;
}

.car-price {
    font-size: 0.9rem;
    color: #b45f06;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.car-price strong {
    font-size: 1.1rem;
    color: #ff6a00;
}
.scroll-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.scroll-button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: black;
    color: white;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.scroll-button:hover {
    background-color: #333333; /* Slightly darker black on hover */
}

.scroll-button i {
    pointer-events: none; /* Ensures the icon doesn't interfere with button click */
}

.reserve-button {
    background-color: #ffffff;
    color: #004c3f;
    border: none;
    padding: 0.5rem 1rem;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.reserve-button:hover {
    background-color: #ff6a00;
    color: white;
}

/* Hide scrollbar for car-list */
.car-list::-webkit-scrollbar {
    display: none;
}

.car-list {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Center the scroll area with padding for partially hidden cards */
.car-catalog {
}

/* Car-details.php */
/* Container styling for the car details page */
.car-details-container {
    display: flex;
    gap: 20px;
    
    padding: 20px;
    max-width: 1200px;
    margin: auto;
    align-items: flex-start; /* Aligns items to the top */
    flex-wrap: wrap;
    color: #e75a24;
    
}

.car-details-content h2{
    font-size: 2rem;

}
/* Left side content styling */
.car-details-content {
    padding-top: 70px;
    flex: 1 1 30%; /* Takes 50% of the width */
    display: flex;
    flex-direction: column;
    font-size: 0.6rem;
}

/* Right side image styling */
.car-image {
    flex: 1 1 50%; /* Takes 50% of the width */
    display: flex;
    justify-content: center;
    align-items: center;
}

.car-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Targeting the scroll bar within .rental-agreement */
.rental-agreement::-webkit-scrollbar {
    width: 8px; /* Width of the scrollbar */
    border-radius: 10px; /* Rounds the scrollbar itself */
}

/* Scrollbar track (background) */
.rental-agreement::-webkit-scrollbar-track {
    background-color: #f0f0f0; /* Light background color */
    border-radius: 10px; /* Rounds the track to remove arrows */
}

/* Scrollbar thumb (the draggable part) */
.rental-agreement::-webkit-scrollbar-thumb {
    background-color: #ff8c00; /* Orange color */
    border-radius: 10px; /* Rounds the thumb itself */
    border: 2px solid #f0f0f0; /* Adds padding around the thumb */
}

/* For Firefox */
.rental-agreement {
    scrollbar-width: thin; /* Makes the scrollbar thin */
    scrollbar-color: #ff8c00 #f0f0f0; /* Sets thumb and track colors */
    overflow: auto;
}


/* Rental agreement styling */
.rental-agreement {
    max-height: 150px; /* Adjust as needed */
    overflow-y: auto;
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
}

.rental-agreement p {
    margin: 0;
    font-size: 0.6rem;
    line-height: 1.6;
}

/* Agreement buttons */
.agreement-buttons {
    margin-top: 10px;
    border: 1px solid #303030;
    background-color: #ffffff;
    box-shadow:  0 6px 6px -4px rgb(174, 173, 173);
    border-radius: 0 0 12px 12px;
    float: right;
}

.accept-button, .decline-button {
    padding: 5px 15px;
    float: right;
    margin-right: 10px;
    margin-top: 10px;
    margin-left: 10px;
    margin-bottom: 15px;
    align-content: end;
    border: none;
    border-radius: 20px;
    font-size: 0.5rem;
    cursor: pointer;
}

.rent-duration.disabled {
    opacity: 0.5;  /* Make it look inactive */
    pointer-events: none; /* Prevent user interaction */
}

.agree-btn, .decline-btn {
    padding: 5px 15px;
    float: right;
    margin-right: 10px;
    margin-top: 10px;
    margin-left: 10px;
    margin-bottom: 15px;
    align-content: end;
    border: none;
    border-radius: 20px;
    font-size: 0.5rem;
    cursor: pointer;
}

.agree-btn {
    background-color: #252525;
    color: #fff;
}

.decline-btn {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid  #000000;
}

.accept-button {
    background-color: #252525;
    color: #fff;
}

.decline-button {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid  #000000;
}


/* Styling for the date-time rows in rent duration */
.date-time-row {
    display: flex;
    gap: 15px; /* Space between the date and time fields */
    margin-top: 10px;
}

/* Each date and time input takes up equal width */
.date-time-row div {
    flex: 1; /* Ensures date and time fields have equal width */
}

/* Styling the labels and inputs for a cleaner look */
.rent-duration label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.6rem;
    font-weight: bold;
}

.rent-duration input {
    width: 70%;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 0.5rem;
}

/* Styling the Check Availability button */
.check-availability-button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #ff8c00; /* Orange background */
    color: #fff; /* White text */
    border: none;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.check-availability-button:hover {
    background-color: #333333; /* Darker orange on hover */
}

/* Styling for error message */

/* Popup overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Popup content */
.popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    width: 80%;
    max-width: 400px;
    text-align: center;
    position: relative;
}

/* Close button */
.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 18px;
    cursor: pointer;
}

/* Error message styling */
.error-message {
    color: #d9534f;
    font-size: 16px;
}

/*reservation.php*/


.reservation-car-image {
    position:top right;
    max-width: 30%;
    margin-right: 150px;
    margin-top: 00px;
    float: right;
}
.car-image2 {/* for car details page only */
    position:top right;
    max-width: 70%;
    margin-right: -50px;
    float: right;
}

/* Styling for the date-time rows in rent duration */
.reservation-row {
    display: flex;
    gap: 15px; /* Space between the date and time fields */
    margin-top: 10px;
}

/* Each date and time input takes up equal width */
.reservation-row div {
    flex: 1; /* Ensures date and time fields have equal width */
}

.reservation-container label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.6rem;
    font-weight: bold;
}

.reservation-container input {
    width: 100%;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 0.5rem;
}

/* Styling the Check Availability button */
.reservation-button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #ff8c00; /* Orange background */
    color: #fff; /* White text */
    border: none;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.reservation-button:hover {
    background-color: #333333; /* Darker orange on hover */
}

   /* Additional styling for summary section */
   .summary-container {
    background-color: #e9572b; /* Orange background color */
    border-radius: 15px;
    padding: 20px;
    padding-left: 60px;
    padding-right: 60px;
    margin-top: 20px;
    color: white;
    margin-bottom: 20px;
    text-align: center;

}
.summary-title {
    font-size: 1.6em;
    float: left;
    font-weight: bold;
}

.summary-container h3 {
    margin: 0;
    float: left;
    margin-bottom: 5px;
    padding-bottom: 5px;
    font-size: 1.2em;
}
.summary-item {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    font-size: 1em;
}
.summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.5em;
    margin-top: 10px;
    border-top: 1px solid white;
    padding-top: 10px;
}
.payment-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 20px 0;
}
.payment-container input {
    border: 1px solid #ccc;
    border-radius: 15px;
    padding: 10px;
    font-size: 1em;
    text-align: center;
}
.get-your-car-button {
    background-color: #0c4d37;
    text-align: center;
    width: 100%;
    color: white;
    font-size: 1.2em;
    padding: 10px 30px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
}

#paypal-button-container {
    margin-top: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
}



/* Footer.php */
.social-icons {
    display: flex;
    gap: 10px;
    padding: 20px;
    padding-left: 150px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #183930;
    color: rgb(255, 255, 255);
    font-size: 18px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: #333333; /* Darker shade on hover */
}



/* Support Options Section */
.contentz {
    display: flex;
    align-items: center;
    max-width: 100%px;
    position: relative;
    background-size: 50%;
    padding-left: 100px;
    padding-right: 100px;
    background-position: center;
    
    background-repeat: no-repeat; /* Prevents tiling */
}

/* Support Title Styling */
.support-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin:0px;
    Margin-top:50px;
    color: #333;
}


.support-options {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    max-width: 100%;
    padding: 0 10px;
}

.support-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-height: 300px;
    padding: 50px;
    flex: 1 1 calc(25% - 20px);
    max-width: calc(25% - 20px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.support-card img {
    width: 60px;
    margin-bottom: 15px;
}

.support-card h2 {
    color: #E65A24;
    margin-bottom: 10px;
    font-size: 18px;
}

.support-card p {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

/* Scroll Buttons */
.scroll-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.scroll-button {
    background-color: #E65A24;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
}

.scroll-button:hover {
    background-color: #C2471C;
}


/* Extras Header Styling */
.extras-header {
    margin-bottom: 20px;
    gap: 20px; 
    width: 100%;
    padding-top: 80px;
    padding-left: 70px;
    display: flex;
}

.logo-container {
    position: relative;
    display: inline-block;
    margin-left: 20px; /* Adjust spacing from page edge */
}

/* Orange Stroke Shape */
.logo-container::before {
    content: "";
    position: absolute;
    top: -10px; /* Adjust positioning */
    /* Adjust positioning */
    width: 40px; /* Adjust size of the stroke */
    height: 40px; /* Adjust size of the stroke */
    border: 1px solid #C2471C; /* Orange border */
    border-radius: 10px; /* Optional: Add rounded corners */
    z-index: 1; /* Place behind the logo */
}

/* Logo Styling */
.header-logo {
    position: relative;
    z-index: 2; /* Place the logo above the stroke */
    height: 60px; /* Adjust logo size */
    width: auto;
}

.extras-header h1 {
   
    color: #E65A24;
    font-size: 32px;
    font-weight: bold;
}

/* Extras Content Styling */

.contentzx{    
    padding-bottom: 50px;
}
.extras-content ol {
    margin: 20px 0;
    padding-left: 20px;
    list-style-position: inside;
    color: #E65A24;
    
    direction: ltr; /* Switch scrollbar to the left */
}

.extras-content li {
    margin-bottom: 15px;
}

.extras-content h2 {
    margin-top: 30px;
    font-size: 20px;
    color: #E65A24;
}

.extras-content p {
    color: #E65A24;
}


/* Make Extras Content Scrollable */
.extras-content {
    max-width: 80%;
    height: 400px; /* Set a fixed height for the scroll area */
    margin: 0 auto;
    line-height: 1.8;
    color: #333;
    font-size: 16px;
    overflow-y: auto; /* Enable vertical scrolling */
    padding-right: 10px; /* Add space to avoid cutting off content near the scrollbar */
    direction: rtl; /* Switch scrollbar to the left */
    text-align: left; /* Correct text alignment */
}

/* Custom Scrollbar Styling */
.extras-content::-webkit-scrollbar {
    width: 8px; /* Slim scrollbar */
}

.extras-content::-webkit-scrollbar-thumb {
    background-color: #E65A24; /* Orange scrollbar */
    border-radius: 10px; /* Rounded corners */
}

.extras-content::-webkit-scrollbar-track {
    background: #f4f4f4; /* Light background for the scrollbar track */
}

/* Optional: Add a border to visually differentiate the scroll area */
.extras-content {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
}




/* Mobile View - Hide Menu & Show Hamburger */
@media (max-width: 768px) {
    
    html, body {
  margin: 0;
  padding: 0;
  height: auto;
  overflow: visible;
}
    
    .logo{
        margin-bottom:10px;
    }
    
    .logo img {
    margin-bottom:10px;
    margin-left: 0px;
}

    .nav-menu {
        display: none; /* Menu is hidden by default */
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        border-radius: 5px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }

    .nav-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .nav-menu li {
        padding: 15px;
        border-bottom: 1px solid #444;
        text-align: center;
    }

    .nav-menu a {
        color: white;
        text-decoration: none;
        display: block;
    }

    /* Show Hamburger Icon on Mobile Only */
    .hamburger-menu {
        display: block;
        font-size: 24px;
        cursor: pointer;
        padding: 10px;
        position: absolute;
        top: 15px;
        right: 15px;
        color: auto;
        z-index: 1100;
    }
    
    .slide {
        
        background-size: 80%;
    background-position:top center;
         flex-direction: column; /* Stack image and text vertically */
        align-items: center; /* Center-align items */
        text-align: center; /* Center-align text */
        flex-wrap: nowrap; /* Prevents wrapping */
        width: 100%;
    }

    .text-content {
        order: 2; /* Move text below the image */
        max-width: 100%; /* Full width on mobile */
        margin-right: 0; /* Remove margin */
         display: block;
    }

    .car-image {
        order: 1; /* Move image above the text */
         display: block;
        max-width: 100%; /* Full width on mobile */
        align-items: center; /* Center-align items */
        margin-right: 0; /* Remove margin */
        margin-top: 20px; /* Add spacing */
        margin-bottom: 20px; /* Add spacing below the image */
    }
    
    .car-image img {
        max-width: 100% !important; /* Ensure images don't overflow */
        height: 100%; /* Maintain aspect ratio */
    }

    .price-button {
        margin: 5px; /* Adjust button spacing */
    }
    
    h1 {
        font-size: 2rem; /* Smaller heading */
    }

    .description {
        font-size: 1rem; /* Smaller description text */
    }

    .price-button {
        font-size: 0.8rem; /* Smaller button text */
    }
    

    .car-details-container {
        flex-direction: column; /* Stacks columns vertically on smaller screens */
    }
    
    .car-details-content, .car-image {
        flex: 1 1 100%; /* Each section takes full width on smaller screens */
    }
    
    header {
        flex-direction: column;
        padding: 1rem;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    .content {
        flex-direction: column;
        text-align: center;
    }

    .text-content {
        max-width: 100%;
        margin: 0;
    }

    h1 {
        font-size: 2rem;
    }

    .description {
        font-size: 1rem;
    }

    .orange-shape {
        width: 100%;
        height: 50%;
        top: -10px;
        left: 0;
    }

    .extra-content {
        flex-direction: column;
        align-items: center;
    }

    .feature {
        max-width: 90%;
        margin-bottom: 1rem;
        padding: 1rem;
    }
    

  .social-icons {
 
  align-content: center;
  gap: 10px;
  padding-left: 30%;

    }

   .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #183930;
    color: rgb(255, 255, 255);
    font-size: 10px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

 /* book.php */
 
     .scroll-buttons {
        display: none;
    }
    
    .car-list-container {
    position: relative;
    overflow: hidden;
    margin-left: 100%;
}
    
    .car-card {
     flex: none; /* Adjust width for better mobile display */
    max-width: 40% !important; /* Limit max width */
    transition: transform 0.3s ease-in-out;
    scroll-snap-align: center;
    margin: 0 auto; /* Center card */
        
    }
    
    /* Hide scrollbars */
    .car-list::-webkit-scrollbar {
    display: none;
        
    }

    .car-list {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding-left:20%;
    padding: 0 5%; /* Add padding to create space */
    scroll-snap-type: x mandatory; /* Snap effect */
}
    
    .middle-card {
    display: none;
        
    }
    
    /*support.php*/
    
    .contentz {
    display: flex;
    align-items: center;
    max-width: 100%px;
    position: relative;
    background-size: 50%;
    padding-left: 10px;
    padding-right: 10px;
    background-position: center;
    
    background-repeat: no-repeat; /* Prevents tiling */
        
    }

    .support-options {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    max-width: 100%;
        
    }
    .support-card {
           background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        text-align: center;
        min-height: unset;
        padding: 2px !important;
        flex: 1 1 calc(100% - 20px);
        max-width: 90%;
        transition: transform 0.3s, box-shadow 0.3s;
    }
    .support-card img {
    width: 60px;
    margin-bottom: 15px;
        
    }
    .support-card h2 {
    color: #E65A24;
    margin-bottom: 10px;
    font-size: 18px;
        
    }
    .support-card p {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
        
    }

   
}

/*End Mobile Responsive */






    



