/* ==============================
   VARIABLES & GLOBAL STYLES
============================== */
:root {
    --primary-color: #c40a12;
    /* Balanced Automotive Red */
    --primary-color-mobile: #a51c22;
    /* Muted Red for Mobile */
    --primary-hover: #a80811;
    --dark-bg: #151515;
    --darker-bg: #0d0d0d;
    --light-bg: #f4f4f4;
    --text-light: #f0f0f0;
    --text-light-mobile: #d0d0d0;
    /* Softer White for Mobile */
    --text-dark: #2c2c2c;
    --text-gray: #909090;
    --border-color: #262626;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.highlight {
    color: var(--primary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-dark {
    background-color: var(--darker-bg);
}

.w-100 {
    width: 100%;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.title-with-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    /* responsive layout */
    text-align: left;
}

.title-with-logo .title-text {
    max-width: 600px;
}

.title-with-logo .section-logo {
    display: block;
    width: 250px;
    /* Big logo size */
    height: auto;
    border-radius: 12px;
    object-fit: contain;
    margin: 0;
}

/* Ensure no margin override for the paragraph inside the text block */
.title-with-logo p {
    color: var(--text-gray);
    margin: 0;
}

.section-title p {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ==============================
   BUTTONS
============================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(229, 9, 20, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-bright-outline {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.btn-bright-outline:hover {
    background-color: #ffffff;
    color: var(--dark-bg);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

/* ==============================
   NAVBAR
============================== */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 12px 0;
    /* Slimmer by default for consistency */
    background-color: #0a0a0a;
    /* Solid black */
}

#navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 12px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo img {
    height: 50px;
    width: auto;
    border-radius: 4px;
}

.nav-menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.btn-contact {
    background-color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
}

.btn-contact::after {
    display: none;
}

.btn-contact:hover {
    background-color: var(--primary-hover);
    color: var(--text-light) !important;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: var(--transition);
}

/* ==============================
   HERO SECTION
============================== */
.hero {
    position: relative;
    height: auto;
    width: 100%;
    aspect-ratio: 16 / 7; /* Adjust to preferred desktop ratio */
    margin-top: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--darker-bg);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 400%;
    /* 4 slides including clone */
    height: 100%;
    z-index: 1;
    display: flex;
    transition: transform 0.8s ease-in-out;
}

.slide {
    width: 25%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--darker-bg);
}

/* Slider Navigation Dots Styles */
.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot:hover,
.slider-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Sample Unsplash car images */
.slide-1 {
    background-image: url('Home_Sliding_images/one.jpeg');
}

.slide-2 {
    background-image: url('Home_Sliding_images/two.jpeg');
}

.slide-3 {
    background-image: url('Home_Sliding_images/three.jpeg');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5));
    z-index: 2;
}

.hero-content {
    position: absolute;
    bottom: 50px;
    left: 5%;
    text-align: left;
    max-width: 450px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    /* Subtle background behind text */
    border-radius: 12px;
    backdrop-filter: blur(5px);
    border-left: 4px solid var(--primary-color);
    z-index: 3;
}

.hero-content h1 {
    font-size: 2.1rem;
    line-height: 1.2;
    margin-bottom: 12px;
}

.hero-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.hero-list li {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 8px;
    position: relative;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
}

.hero-buttons .btn {
    padding: 10px 24px;
    font-size: 0.95rem;
}

/* ==============================
   GRID LAYOUTS
============================== */
.grid {
    display: grid;
    gap: 30px;
}

.cards-container,
.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.washing-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* ==============================
   SELF DRIVE CARS CARDS
============================== */
.card {
    background-color: var(--darker-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.card.clickable-card {
    cursor: pointer;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.card-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-img-wrapper img.img-contain {
    object-fit: contain;
    padding: 10px;
    background-color: #1a1a1a;
    /* Matching card depth */
}

.card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-buttons {
    margin-top: auto;
    display: flex;
    gap: 10px;
}

.card-buttons .btn {
    flex: 1;
    text-align: center;
    padding: 10px 5px;
    /* Adjust padding for side-by-side fit */
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 2px;
}

.starting-from {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 2px;
    font-weight: 500;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.per-day {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 400;
}

.desc {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.car-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 8px 12px;
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.car-list li {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    padding-left: 12px;
    line-height: 1.4;
}

.car-list li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 0.9rem;
}

/* ==============================
   SERVICES CARDS
============================== */
.service-card {
    background-color: var(--dark-bg);
    padding: 35px;
    border-radius: 12px;
    text-align: left;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    /* Flex column alignment for text card */
    display: flex;
    flex-direction: column;
    min-height: 300px;
    /* Slightly taller for background effect */
    position: relative;
    overflow: hidden;
    /* Contain sliding background */
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

/* Background Slider Underlay */
.service-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 0;
    /* Transition applied dynamically in JS */
}

.service-bg-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Dark overlay to ensure text is readable */
.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Brightened gradient just a little bit more */
    background: linear-gradient(to right, rgba(20, 20, 20, 0.75) 0%, rgba(20, 20, 20, 0.35) 100%);
    z-index: 1;
}

/* Text Container */
.service-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    /* Sits above images and overlay */
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
    color: var(--primary-color);
    background-color: #b0b0b0;
    display: inline-block;
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: 6px;
    /* Name in red */
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* New User Experience List */
.service-info-list {
    margin-bottom: 15px;
    padding-left: 0;
    list-style: none;
}

.service-info-list li {
    color: var(--text-light);
    /* Points in white */
    font-size: 0.9rem;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.service-info-list li::before {
    content: "•";
    color: var(--primary-color);
    /* Red bullet points */
    position: absolute;
    left: 0;
    top: -2px;
    font-size: 1.2rem;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
}

.service-link i {
    font-size: 0.8rem;
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ==============================
   WASHING CARDS
============================== */
.wash-card {
    background-color: var(--darker-bg);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.wash-card:hover {
    border-color: var(--text-gray);
    transform: translateY(-5px);
}

.wash-card.popular {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.2);
}

.wash-card.popular:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(229, 9, 20, 0.4);
}

.popular-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.wash-slider-container {
    position: relative;
    height: 220px;
    /* Increased height as requested */
    width: 100%;
    overflow: hidden;
}

.wash-slider {
    display: flex;
    height: 100%;
    width: 100%;
    /* Transition applied dynamically in JS for the jump/slide effect */
}

.wash-slider img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.wash-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.wash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.wash-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.wash-features {
    margin-bottom: 25px;
    flex-grow: 1;
}

.wash-features li {
    margin-bottom: 10px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.wash-features i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* ==============================
   CAR IMAGE SLIDERS
============================== */
.car-slider-container {
    position: relative;
    height: 180px;
    width: 100%;
    overflow: hidden;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.car-slider {
    display: flex;
    height: 100%;
    width: 100%;
}

.car-slider img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

/* ==============================
   ABOUT SECTION
============================== */
.about-flex {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.about-flex:last-child {
    margin-bottom: 0;
}

.row-reverse {
    flex-direction: row-reverse;
}

.about-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    z-index: -1;
}

.row-reverse .about-image::before {
    left: 20px;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
}

.about-gallery {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.about-gallery img {
    width: 100%;
    height: 125px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: var(--transition);
}

.about-gallery img:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 15px;
}

.about-text strong {
    color: var(--text-light);
}

.signature {
    font-family: cursive;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 20px;
}

/* ==============================
   STATS SECTION
============================== */
.stats-section {
    position: relative;
    padding: 80px 0;
    background: url('https://images.unsplash.com/photo-1632823465306-bf91e92ec4ad?w=1600&auto=format&fit=crop') center/cover fixed;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(229, 9, 20, 0.9);
    /* Red overlay */
}

.stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    color: white;
}

.stat-item i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.stat-item h3 {
    font-size: 3.5rem;
    display: inline-block;
}

.stat-item span {
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==============================
   CONTACT SECTION
============================== */
.contact-wrapper {
    display: flex;
    gap: 40px;
    background-color: var(--darker-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-info {
    flex: 1;
    padding: 40px;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    border-right: 1px solid var(--border-color);
}

.contact-owner-card {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.contact-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    margin-bottom: 15px;
}

.contact-owner-card h3 {
    margin-bottom: 5px;
}

.contact-owner-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background-color: var(--darker-bg);
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.contact-btn i {
    font-size: 1.2rem;
}

.contact-btn:hover {
    transform: translateX(10px);
}

.whatsapp:hover {
    border-color: #25D366;
    color: #25D366;
}

.phone:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.instagram:hover {
    border-color: #C13584;
    color: #C13584;
}

.youtube:hover {
    border-color: #FF0000;
    color: #FF0000;
}

.map:hover {
    border-color: #4285F4;
    color: #4285F4;
}

.contact-form-container {
    flex: 1.5;
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.2);
}

/* ==============================
   FOOTER
============================== */
.footer {
    background-color: #050505;
    padding-top: 60px;
    border-top: 2px solid var(--primary-color);
}

.footer-top {
    margin-bottom: 40px;
    text-align: center;
}

.footer-brand .logo {
    display: inline-flex;
    margin-bottom: 15px;
    font-size: 2rem;
}

.footer-brand p {
    color: var(--text-gray);
    max-width: 500px;
    margin: 0 auto;
}

.developer-section {
    background-color: transparent;
    padding: 15px;
    margin-bottom: 20px;
    border-top: 1px dashed var(--border-color);
}

.dev-title {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    opacity: 0.6;
}

.dev-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0.8;
}

.dev-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--darker-bg);
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.dev-card img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.dev-info h4 {
    font-size: 0.85rem;
    margin-bottom: 1px;
}

.dev-info p {
    font-size: 0.75rem;
    color: var(--text-gray);
}

.dev-socials {
    margin-top: 5px;
    display: flex;
    gap: 10px;
}

.dev-socials a {
    color: var(--text-gray);
    transition: var(--transition);
}

.dev-socials a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Car Image Slider (self-drive-details.html) */
.car-slider-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background: #151515;
}

.car-slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.car-slider img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==============================
   RESPONSIVE DESIGN (MEDIA QUERIES)
============================== */
/* Laptop / Tablets */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .about-flex,
    .row-reverse {
        flex-direction: column;
        gap: 30px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .contact-wrapper {
        flex-direction: column;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    body::after {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.2);
        /* Dimmed for mobile */
        pointer-events: none;
        z-index: 9999;
    }

    /* Mobile Color Overrides */
    :root {
        --primary-color: var(--primary-color-mobile);
        --text-light: var(--text-light-mobile);
    }

    .container {
        padding: 0 15px;
    }

    .hero {
        height: auto;
        min-height: 0;
        aspect-ratio: 1 / 1; /* Best for square flyer images on mobile */
        margin-top: 66px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .hero-buttons {
        display: none !important;
    }

    .slide {
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }

    #self-drive .container,
    #category-base .container,
    #category-5-seat .container,
    #category-5-seat-pro .container,
    #category-7-seat .container,
    #category-7-seat-pro .container,
    #category-premium .container {
        padding: 0 5px;
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        position: absolute;
        /* Relative to navbar */
        top: 100%;
        /* Directly below navbar */
        left: 0;
        width: 100%;
        background-color: rgba(13, 13, 13, 0.98);
        flex-direction: column;
        text-align: center;
        gap: 0;
        display: none;
        /* Hidden by default */
        padding: 20px 0;
        border-top: 1px solid var(--border-color);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 10px 0;
        padding: 10px 0;
    }

    .hero-content {
        background: none;
        border: none;
        backdrop-filter: none;
        padding: 0;
        bottom: 80px;
        left: 0;
        width: 100%;
        text-align: center;
    }

    .hero-content h1,
    .hero-content .hero-list,
    .hero-content {
        background: none;
        border: none;
        box-shadow: none;
    }
    .hero-content h1,
    .hero-content .hero-list {
        display: none;
    }

    .hero-buttons {
        flex-direction: row;
        /* Keep side by side if possible or stack */
        justify-content: center;
        width: 100%;
        gap: 15px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        /* One frame at once to avoid stretching */
        gap: 20px;
    }

    .cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0;
    }

    .card-content {
        padding: 15px 10px;
        text-align: left;
    }

    .card-content h3 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }

    .starting-from {
        font-size: 0.8rem;
        margin-bottom: 0;
    }

    .price {
        font-size: 1.2rem;
        margin-bottom: 2px;
        line-height: 1.2;
    }

    .per-day {
        display: block;
        /* Stack under price */
        font-size: 0.8rem;
        margin-top: -2px;
        margin-bottom: 15px;
    }

    .car-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        margin-bottom: 20px;
    }

    .car-list li {
        font-size: 0.85rem;
        padding-left: 0;
    }

    .car-list li::before {
        content: none;
    }

    .mobile-hide-branding {
        display: none;
    }

    .mobile-hide {
        display: none;
    }

    .card-buttons {
        gap: 8px;
        justify-content: center;
    }

    .card-buttons .btn {
        width: auto;
        flex: 1;
        height: auto;
        border-radius: 8px;
        padding: 10px 5px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 0.75rem;
        line-height: 1.1;
        text-align: center;
    }

    .card-buttons .btn-outline {
        border: 2px solid var(--primary-color);
        color: var(--primary-color);
        background: transparent;
    }

    .card-buttons .btn-primary {
        background-color: var(--primary-color-mobile);
        /* Muted red */
        color: #fff;
        border: none;
    }

    .service-card h3 {
        font-size: 1rem;
        padding: 4px 8px;
    }

    .section-logo {
        width: 60px;
        height: 60px;
    }

    .title-text h2 {
        font-size: 1.5rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .footer-brand .logo {
        font-size: 1.3rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo img {
        height: 35px;
        /* Compact logo on mobile */
    }

    #navbar {
        position: fixed !important;
        top: 0 !important;
        z-index: 1000 !important;
        padding: 8px 0;
        background-color: #0a0a0a !important;
        /* Solid black */
        backdrop-filter: none !important;
        /* Slim navbar */
        width: 100%;
        left: 0;
    }

    .nav-container {
        padding: 0 15px;
    }

    .title-with-logo {
        gap: 15px;
        text-align: center;
        flex-direction: column;
    }

    .title-with-logo .section-logo {
        width: 100px;
    }

    .title-text p {
        font-size: 0.9rem;
    }

    .dev-cards {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Remove high brightness from "View More" on mobile */
    .btn-bright-outline {
        box-shadow: none !important;
    }

    .btn-bright-outline:hover,
    .btn-bright-outline:active {
        background-color: transparent !important;
        color: #ffffff !important;
        box-shadow: none !important;
        transform: none !important;
    }
}