/* QyamFont for Kurdish and Arabic text */
@font-face {
    font-family: 'QyamFont';
    src: url('../font/Qyamfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'QyamFont';
    src: url('../font/QyamfontBold1.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Language-specific font styles - ONLY font family, no layout changes */
[data-lang="ku"] *:not(i):not(.bx):not(.fas):not(.fa):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands):not(.hero-title):not(.hero-title *):not(.about-cars-title),
[data-lang="ar"] *:not(i):not(.bx):not(.fas):not(.fa):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands):not(.hero-title):not(.hero-title *):not(.about-cars-title) {
    font-family: 'QyamFont', sans-serif !important;
}

[data-lang="en"] * {
    font-family: 'DM Sans', sans-serif !important;
}

/* Ensure FontAwesome icons are always displayed in ALL languages */
i,
[data-lang="ku"] i,
[data-lang="ar"] i,
[data-lang="en"] i {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands" !important;
}

/* Ensure Boxicons are always displayed in ALL languages */
.bx,
[data-lang="ku"] .bx,
[data-lang="ar"] .bx,
[data-lang="en"] .bx {
    font-family: "boxicons" !important;
}

/* Override for specific elements that should keep English font (car names) */
[data-lang="ku"] .car-card-title,
[data-lang="ar"] .car-card-title,
[data-lang="ku"] .car-brand-name,
[data-lang="ar"] .car-brand-name,
[data-lang="ku"] .hero-title,
[data-lang="ar"] .hero-title,
[data-lang="ku"] .hero-title *,
[data-lang="ar"] .hero-title *,
[data-lang="ku"] .about-cars-title,
[data-lang="ar"] .about-cars-title {
    font-family: 'DM Sans', sans-serif !important;
}

:root {
  /* Light Mode Colors */
  --bg-primary: #F4F4F4;
  --bg-secondary: #f4f4f4;
  --bg-tertiary: #f7f8f9;
  --bg-card: #ffffff;
  --bg-overlay: rgba(24,24,28,0.82);
  --text-primary: #232328;
  --text-secondary: #666666;
  --text-tertiary: #888888;
  --text-muted: #bdbdbd;
  --border-color: #e0e0e0;
  --shadow-light: rgba(0,0,0,0.04);
  --shadow-medium: rgba(0,0,0,0.10);
  --shadow-heavy: rgba(0,0,0,0.18);
  --accent-primary: #232328;
  --accent-secondary: #39563a;
  --accent-tertiary: #c2f22c;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --error-color: #dc3545;
  --nav-bg: transparent;
  --nav-text: #232328;
  --nav-text-hero: #ffffff;
  --card-hover-bg: #232328;
  --card-hover-text: #ffffff;
  --button-primary-bg: #232328;
  --button-primary-text: #ffffff;
  --button-secondary-bg: #ffffff;
  --button-secondary-text: #232328;
  --input-bg: #ffffff;
  --input-border: #e0e0e0;
  --input-text: #232328;
  --footer-bg: #fbfbfb !important;
  --footer-text: #232328 !important;
  --footer-text-muted: #555 !important;

  /* Services Page Colors */
  --showcase-title: #232328;
  --showcase-desc: #666666;
  --showcase-tab-active: #222;
  --showcase-tab-inactive: #888;
  --showcase-tab-border: #39563a;
  --car-grid-bg: var(--bg-tertiary);
  
  /* Button Border Radius System */
  --btn-radius-sm: 1rem;        /* Small buttons, inputs - increased from 0.5rem */
  --btn-radius-md: 1.5rem;      /* Medium buttons (default) - increased from 0.75rem */
  --btn-radius-lg: 2rem;        /* Large buttons - increased from 1rem */
  --btn-radius-xl: 2.5rem;      /* Extra large buttons - increased from 1.5rem */
  --btn-radius-pill: 3rem;      /* Pill shaped buttons - increased from 2rem */
  --btn-radius-circle: 50%;     /* Circular buttons - unchanged */
  
  /* Button Padding System */
  --btn-padding-sm: 0.375rem 0.75rem;
  --btn-padding-md: 0.5rem 1rem;
  --btn-padding-lg: 0.75rem 1.5rem;
  --btn-padding-xl: 1rem 2rem;
  
  /* Button Font Size System */
  --btn-font-sm: 0.875rem;
  --btn-font-md: 0.9rem;
  --btn-font-lg: 1rem;
  --btn-font-xl: 1.125rem;
  
  /* Button Font Weight System */
  --btn-weight-light: 300;
  --btn-weight-normal: 400;
  --btn-weight-medium: 500;
  --btn-weight-semibold: 600;
  --btn-weight-bold: 700;
  
  /* Button Color System */
  --button-primary-bg: #007bff;
  --button-primary-text: #ffffff;
  --button-secondary-bg: #6c757d;
  --button-secondary-text: #ffffff;
  --button-success-bg: #28a745;
  --button-success-text: #ffffff;
  --button-danger-bg: #dc3545;
  --button-danger-text: #ffffff;
  --button-warning-bg: #ffc107;
  --button-warning-text: #212529;
  --button-info-bg: #17a2b8;
  --button-info-text: #ffffff;
  --button-light-bg: #f8f9fa;
  --button-light-text: #212529;
  --button-dark-bg: #343a40;
  --button-dark-text: #ffffff;
}

[data-theme="dark"] {
  /* Dark Mode Colors - Modern 2025 Style */
  --bg-primary: #181818;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #222222;
  --bg-card: #1e1e1e;
  --bg-overlay: rgba(0,0,0,0.85);
  --text-primary: #ffffff;
  --text-secondary: #e0e0e0;
  --text-tertiary: #b0b0b0;
  --text-muted: #808080;
  --border-color: #2a2a2a;
  --shadow-light: rgba(0,0,0,0.3);
  --shadow-medium: rgba(0,0,0,0.5);
  --shadow-heavy: rgba(0,0,0,0.7);
  --accent-primary: #ffffff;
  --accent-secondary: #39563a;
  --accent-tertiary: #fbbf24;
  --success-color: #22c55e;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --nav-bg: rgba(24,24,24,0.95);
  --nav-text: #ffffff;
  --nav-text-hero: #ffffff;
  --card-hover-bg: #2a2a2a;
  --card-hover-text: #ffffff;
  --button-primary-bg: #ffffff;
  --button-primary-text: #181818;
  --button-secondary-bg: #1e1e1e;
  --button-secondary-text: #ffffff;
  --input-bg: #1e1e1e;
  --input-border: #2a2a2a;
  --input-text: #ffffff;
  --footer-bg: #181818;
  --footer-text: #ffffff;
  --footer-text-muted: #b0b0b0;

  /* Services Page Colors - Dark Mode */
  --showcase-title: #D2D2D2;
  --showcase-desc: #D2D2D2;
  --showcase-tab-active: #ffffff;
  --showcase-tab-inactive: #D2D2D2;
  --showcase-tab-border: #39563a;
  --car-grid-bg: #181818;
}

/* Smooth transitions for theme switching */
* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Override for dropdown items to prevent moving/transform effects */
.dropdown-item {
  transition: background-color 0.3s ease, color 0.3s ease !important;
  transform: none !important;
}

body {
    background-color: var(--bg-secondary);
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    color: var(--text-primary);
}

.landing-img-wrapper {
    width: 100%;
    height: calc(100vh - 60px);
    /* Adjust 60px if navbar height changes */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 20px 20px;
    /* Reduced top padding to 10px, kept other sides at 20px */
    background: var(--bg-primary);
    box-sizing: border-box;
}

.main-img {
    border-radius: 2rem;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 100%;
    max-height: 100%;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.navbar-brand {
    font-weight: bold;
    color: var(--nav-text) !important;
    max-width: 300px !important;
    flex-shrink: 0 !important;
}

.navbar-brand img {
    max-height: 50px !important;
    max-width: 180px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

.navbar {
    position: relative;
    z-index: 1000;
    background: var(--nav-bg) !important;
}

.nav-link {
    font-size: 1.1rem;
    transition: color 0.3s ease, font-weight 0.3s ease;
    position: relative;
    color: var(--nav-text) !important;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    color: var(--nav-text);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.theme-toggle:hover {
    background: var(--shadow-light);
    transform: scale(1.1);
}

.theme-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-secondary);
}

/* Mobile responsive styles for theme toggle */
@media (max-width: 991.98px) {
    .theme-toggle {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
        margin-left: 0.5rem;
    }
    
    .navbar-nav .nav-item:last-child {
        margin-top: 0.5rem;
        border-top: 1px solid var(--border-color);
        padding-top: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .theme-toggle {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

/* Target only main navigation links, exclude dropdown */
.navbar-nav:not(.navbar-nav:last-child) .nav-link.active {
    color: #b1b1b1 !important;
    font-weight: 600;
    position: relative;
}

.navbar-nav:not(.navbar-nav:last-child) .nav-link.active::after {
    display: none !important;
    background: none !important;
    height: 0 !important;
    width: 0 !important;
    content: none !important;
}

.navbar-nav:not(.navbar-nav:last-child) .nav-link:hover::after {
    display: none !important;
    background: none !important;
    height: 0 !important;
    width: 0 !important;
    content: none !important;
}

/* Hero section navbar active state - exclude dropdown */
.hero-main-visual .navbar-nav:not(.navbar-nav:last-child) .nav-link.active {
    color: var(--nav-text-hero) !important;
    font-weight: 600;
}

.hero-main-visual .navbar-nav:not(.navbar-nav:last-child) .nav-link.active::after {
    background-color: var(--nav-text-hero);
    width: 40px;
    height: 1.5px;
}

.hero-main-visual .navbar-nav:not(.navbar-nav:last-child) .nav-link:hover::after {
    background-color: var(--nav-text-hero);
    width: 40px;
    height: 1px;
}

.hero-main-visual .theme-toggle {
    color: var(--nav-text-hero);
}



.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-tertiary);
    line-height: 1.6;
}

.word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    margin-right: 0.3rem;
}

.word:last-child {
    margin-right: 0;
}

/* Car Cards Section */
.car-cards-section {
    padding: 60px 0 24px 0;
    color: var(--text-primary);
    background: var(--bg-primary);
    border-radius: 2rem;
}

.car-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    min-width: 320px;
    max-width: 320px;
    width: 320px;
    flex-shrink: 0;
}

.car-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.car-cards-title {
    color: var(--text-primary);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.car-cards-subtitle {
    color: var(--text-primary);
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 2.2rem;
    font-weight: 400;
}

.car-cards-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 1.5px solid var(--text-primary);
    color: var(--text-primary);
    border-radius: 2rem;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s;
    outline: none;
}
.filter-btn.active, .filter-btn:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    border: 1.5px solid var(--text-primary);
}
.filter-btn-more {
    font-weight: 400;
    color: var(--text-tertiary);
    border: none;
    background: none;
    padding: 0.5rem 1.5rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    transition: background 0.2s, color 0.2s, border 0.2s;
}

.filter-btn-more:hover {
    background: var(--text-primary) !important;
    color: var(--bg-primary) !important;
    border: 1.5px solid var(--text-primary) !important;
}

.car-cards-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 auto;
    max-width: 100vw;
    padding: 0 40px;
}

.car-cards-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; /* Firefox */
    -ms-overflow-style: auto; /* IE and Edge */
    width: 100%;
    align-items: stretch;
}


.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 2px solid var(--text-secondary);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 2;
    transition: border 0.2s, color 0.2s, background 0.2s;
}
.carousel-arrow.left { left: -22px; }
.carousel-arrow.right { right: -22px; }
.carousel-arrow:hover {
    background: var(--text-primary) !important;
    color: var(--bg-primary) !important;
    border: 2px solid var(--bg-primary) !important;
    transform: translateY(-50%) !important; /* Keep centered, no downward movement */
}
.carousel-arrow:active {
    transform: translateY(-50%) !important; /* Keep centered when clicked */
}

.car-card {
    min-width: 320px;
    max-width: 320px;
    width: 320px;
    min-height: 320px;
    box-sizing: border-box;
    background: var(--bg-card);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 2px 12px var(--shadow-light);
    transition: all 0.3s ease;
    cursor: default !important;
}

.car-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: default !important;
}

.rent-btn-carousel {
    background: var(--button-primary-bg);
    color: var(--button-primary-text) !important;
    border: none;
    border-radius: var(--btn-radius-md) !important;
    padding: var(--btn-padding-sm) !important;
    font-weight: var(--btn-weight-medium) !important;
    font-size: var(--btn-font-md) !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-block;
    transition: background 0.2s, color 0.2s;
}

.car-card:hover {
    background: var(--card-hover-bg);
    color: var(--card-hover-text);
    box-shadow: 0 8px 25px var(--shadow-heavy);
    cursor: pointer;
}
.car-card:hover .car-card-title,
.car-card:hover .car-brand-name,
.car-card:hover .car-card-specs,
.car-card:hover .car-price,
.car-card:hover .per-day {
    color: var(--card-hover-text);
}
.car-card:hover .spec-icon {
    filter: brightness(0) invert(1);
}
.car-card:hover .rent-btn-carousel {
    background: var(--card-hover-text);
    color: var(--card-hover-bg);
}
.car-card:hover .car-brand-logo {
    background: var(--card-hover-bg);
    border-color: var(--card-hover-text);
}

.car-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
}
.car-brand-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    
    
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.car-brand-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none !important;
}

.car-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.7rem;
    min-height: 2.2em;
}

.car-img-carousel {
    width: 100%;
    height: 140px;
    object-fit: contain;
    margin-bottom: 1.1rem;
    margin-top: 0.2rem;
    border-radius: 1rem;
    background: transparent;
}

.car-card-specs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 1.1rem;
    padding: 0.7rem 0;
}
.spec-icon {
    width: 18px;
    height: 18px;
    margin-right: 0.3rem;
    vertical-align: middle;
}

.car-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.7rem;
    color: var(--text-primary);
}
.car-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}
.per-day {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    font-weight: 400;
    margin-left: 0.2rem;
}
.rent-btn-carousel {
    background: var(--button-primary-bg);
    color: var(--button-primary-text) !important;
    border: none;
    border-radius: var(--btn-radius-md) !important;
    padding: var(--btn-padding-sm) !important;
    font-weight: var(--btn-weight-medium) !important;
    font-size: var(--btn-font-md) !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-block;
    transition: background 0.2s, color 0.2s;
}
.rent-btn-carousel:hover {
    background: var(--accent-secondary);
    color: var(--button-primary-text) !important;
}

@media (max-width: 1200px) {
    .car-cards-carousel {
        gap: 1.2rem;
    }
    .car-card-link {
        min-width: 270px;
        max-width: 270px;
    }
}
@media (max-width: 900px) {
    .car-cards-title {
        font-size: 2rem;
    }
    .car-card-link {
        min-width: 220px;
        max-width: 220px;
    }
    .car-img-carousel {
        height: 90px;
    }
}

/* Mobile optimizations for car cards section */
@media (max-width: 768px) {
    .car-cards-section {
        padding: 40px 0 20px 0;
    }
    
    .car-cards-content-wrapper {
        padding: 0 15px;
    }
    
    .car-cards-title {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 0.8rem;
    }
    
    .car-cards-subtitle {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .car-cards-carousel-wrapper {
        padding: 0 20px;
    }
    
    .car-cards-carousel {
        gap: 1rem;
        padding: 0.5rem 0;
    }
    
    .car-card-link {
        min-width: 200px;
        max-width: 190px;
        width: 200px;
        flex-shrink: 0;
    }
    
    .car-card {
        min-width: 200px;
        max-width: 190px;
        width: 200px;
        min-height: 280px;
        padding: 1rem 0.8rem 0.8rem 0.8rem;
        margin-bottom: 5px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        box-sizing: border-box;
    }
    
    .car-card-header {
        margin-bottom: 0.5rem;
        min-height: 40px;
        display: flex;
        align-items: center;
    }
    
    .car-brand-logo {
        width: 28px;
        height: 28px;
    }
    
    .car-brand-name {
        font-size: 1rem;
        text-decoration: none !important;
    }
    
    .car-card-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        min-height: 2.4em;
        line-height: 1.2;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    
    .car-img-carousel {
        height: 80px;
        margin-bottom: 0.8rem;
        width: 100%;
        object-fit: contain;
        flex-shrink: 0;
    }
    
    .car-card-specs {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
        padding: 0.5rem 0;
        gap: 0.5rem;
        display: flex;
        justify-content: space-between;
        min-height: 40px;
        align-items: center;
    }
    
    .car-card-specs span {
        display: flex;
        align-items: center;
        font-size: 0.85rem;
    }
    
    .spec-icon {
        width: 16px;
        height: 16px;
        margin-right: 0.2rem;
    }
    
    .car-card-footer {
        margin-top: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 40px;
        padding-top: 0.5rem;
    }
    
    .car-price {
        font-size: 1.1rem;
    }
    
    .per-day {
        font-size: 0.8rem;
    }
    
    .rent-btn-carousel {
        padding: var(--btn-padding-sm) !important;
        font-size: var(--btn-font-sm) !important;
        height: auto !important;
        min-height: 32px !important;
        border-radius: var(--btn-radius-md) !important;
        white-space: nowrap;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Hide navigation arrows on mobile */
    .carousel-arrow {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .car-cards-section {
        padding: 30px 0 15px 0;
    }
    
    .car-cards-content-wrapper {
        padding: 0 10px;
    }
    
    .car-cards-title {
        font-size: 1.6rem;
        margin-bottom: 0.6rem;
    }
    
    .car-cards-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .car-cards-carousel-wrapper {
        padding: 0 15px;
    }
    
    .car-cards-carousel {
        gap: 0.8rem;
    }
    
    .car-card-link {
        min-width: 170px;
        max-width: 180px;
        width: 180px;
        flex-shrink: 0;
    }
    
    .car-card {
        min-width: 170px;
        max-width: 180px;
        width: 180px;
        min-height: 260px;
        padding: 0.8rem 0.6rem 0.6rem 0.6rem;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        box-sizing: border-box;
    }
    
    .car-card-header {
        min-height: 35px;
    }
    
    .car-brand-logo {
        width: 24px;
        height: 24px;
    }
    
    .car-brand-name {
        font-size: 0.9rem;
        text-decoration: none !important;
    }
    
    .car-card-title {
        font-size: 0.9rem;
        min-height: 2.2em;
        line-height: 1.2;
    }
    
    .car-img-carousel {
        height: 70px;
        margin-bottom: 0.6rem;
    }
    
    .car-card-specs {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
        padding: 0.4rem 0;
        gap: 0.4rem;
        min-height: 35px;
    }
    
    .car-card-specs span {
        font-size: 0.8rem;
    }
    
    .spec-icon {
        width: 14px;
        height: 14px;
        margin-right: 0.15rem;
    }
    
    .car-card-footer {
        min-height: 35px;
        padding-top: 0.4rem;
    }
    
    .car-price {
        font-size: 1rem;
    }
    
    .per-day {
        font-size: 0.75rem;
    }
    
    .rent-btn-carousel {
        padding: var(--btn-padding-sm) !important;
        font-size: var(--btn-font-sm) !important;
        height: auto !important;
        min-height: 32px !important;
        border-radius: var(--btn-radius-md) !important;
        white-space: nowrap;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Hide navigation arrows on mobile */
    .carousel-arrow {
        display: none !important;
    }
}

@media (max-width: 360px) {
    .car-card-link {
        min-width: 160px;
        max-width: 160px;
        width: 160px;
        flex-shrink: 0;
    }
    
    .car-card {
        min-width: 160px;
        max-width: 160px;
        width: 160px;
        min-height: 225px;
        padding: 0.7rem 0.5rem 0.5rem 0.5rem;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
        box-sizing: border-box;
    }
    
    .car-card-header {
        min-height: 30px;
    }
    
    .car-img-carousel {
        height: 60px;
    }
    
    .car-card-title {
        font-size: 0.85rem;
        line-height: 1.2;
        min-height: 2em;
    }
    
    .car-card-specs {
        font-size: 0.75rem;
        min-height: 30px;
    }
    
    .car-card-specs span {
        font-size: 0.75rem;
    }
    
    .car-card-footer {
        min-height: 30px;
        padding-top: 0.3rem;
    }
    
    .car-price {
        font-size: 0.9rem;
    }
    
    .rent-btn-carousel {
        padding: var(--btn-padding-sm) !important;
        font-size: var(--btn-font-sm) !important;
        height: auto !important;
        min-height: 32px !important;
        border-radius: var(--btn-radius-md) !important;
        white-space: nowrap;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Hide navigation arrows on mobile */
    .carousel-arrow {
        display: none !important;
    }
}

















.services-section {

    padding: 60px 0 80px 0;
    margin: 0 auto;
    max-width: 1200px;
    background: var(--bg-primary);
}
.services-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    padding: 0 0.5rem;
}
.services-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}
.services-btn {
    background: var(--button-primary-bg);
    color: var(--button-primary-text);
    border: none;
    border-radius: var(--btn-radius-lg) !important;
    padding: var(--btn-padding-md) !important;
    font-size: var(--btn-font-lg) !important;
    font-weight: var(--btn-weight-semibold) !important;
    cursor: pointer;
    transition: background 0.2s;
}
.services-btn:hover {
    background: var(--accent-secondary);
}
.services-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.service-card {
    
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: none;
    padding: 0;
    width: 100%;
    max-width: 340px;
    min-height: 480px;
    margin: 0 auto;
}
.service-card:hover .service-img {
    transform: scale(1.08);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}
.service-img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    border-radius: 1rem 1rem 1rem 1rem;
    margin-bottom: 1.2rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    padding-left: 0.2rem;
}
.service-card-desc {
    font-size: 1rem;
    color: var(--text-tertiary);
    font-weight: 400;
    padding-left: 0.2rem;
    margin-bottom: 1.2rem;
}
@media (max-width: 900px) {
    .services-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .service-img {
        height: 180px;
    }
    .services-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

.footer-section {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 5rem 0 0 0;
    margin: 0;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    background-image: url('../img/footer4.png');
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    min-height: 800px;
}

/* Dark mode footer background overlay */
[data-theme="dark"] .footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(24, 24, 24, 0.95);
    z-index: 1;
}

/* Light mode footer background overlay */
[data-theme="light"] .footer-section::before,
.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.footer-section > * {
    position: relative;
    z-index: 2;
}

/* Dark mode footer social icons */
[data-theme="dark"] .footer-social {
    background: var(--bg-tertiary) !important;
    border: 1.5px solid var(--border-color) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .footer-social:hover {
    background: var(--accent-secondary) !important;
    color: var(--text-primary) !important;
    border: 1.5px solid var(--accent-secondary) !important;
}

/* Dark mode footer links */
[data-theme="dark"] .footer-links a {
    color: var(--text-tertiary) !important;
}

[data-theme="dark"] .footer-links a:hover {
    color: var(--text-primary) !important;
}

/* Dark mode footer description */
[data-theme="dark"] .footer-desc {
    color: var(--text-tertiary);
}

/* Dark mode footer title separator */
[data-theme="dark"] .footer-title-separator {
    background: #ffffff !important;
    opacity: 0.8 !important;
}

/* Dark mode footer copyright */
[data-theme="dark"] .footer-copyright {
    background: var(--footer-bg) !important;
    color: var(--footer-text) !important;
}

/* Ensure footer copyright uses proper dark mode colors */
[data-theme="dark"] .footer-copyright {
    background-color: #181818 !important;
    color: #ffffff !important;
}

/* Ensure footer4.png remains visible in both modes */
.footer-section {
    background-image: url('../img/footer4.png') !important;
    background-size: contain !important;
    background-position: center bottom !important;
    background-repeat: no-repeat !important;
}

/* Dark mode specific footer background */
[data-theme="dark"] .footer-section {
    background: var(--footer-bg) url('../img/footer4.png') !important;
    background-size: contain !important;
    background-position: center bottom !important;
    background-repeat: no-repeat !important;
}

/* Light mode specific footer background */
[data-theme="light"] .footer-section,
.footer-section {
    background: var(--footer-bg) url('../img/footer4.png') !important;
    background-size: contain !important;
    background-position: center bottom !important;
    background-repeat: no-repeat !important;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    flex: 1;
}
.footer-col {
    margin-bottom: 2rem;
}
.footer-brand {
    max-width: 100%;
}
.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.1rem;
}
.footer-logo {
    font-size: 2.2rem;
    color: #fff;
    font-weight: bold;
}
.footer-brand-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--footer-text);
}
.footer-desc {
    color: var(--footer-text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}
.footer-socials {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.2rem;
}
.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #eaeaea !important;
    border: 1.5px solid #ccc !important;
    color: #232328 !important;
    font-size: 1.3rem;
    transition: background 0.2s, color 0.2s, border 0.2s;
    text-decoration: none;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    flex-grow: 0;
    padding: 0 !important;
}
.footer-social:hover {
    background: #39563a !important;
    color: #fff !important;
    border: 1.5px solid #232328 !important;
}
.footer-social i,
.footer-social svg {
    font-size: 1.3rem;
    max-width: 70%;
    max-height: 70%;
    line-height: 1 !important;
    display: block;
    margin: 0 auto;
}
.footer-col-title {
    font-size: 1.1rem;
    font-weight: 800 !important;
    color: var(--footer-text);
    margin-bottom: 1.1rem;
}
.footer-title-separator {
    width: 100%;
    height: 2px;
    background: var(--footer-text);
    margin-bottom: 1rem;
    opacity: 0.6 !important;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem 0;
}
.footer-links li {
    margin-bottom: 0.7rem;
}
.footer-links a {
    color: #555 !important;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600 !important;
    transition: color 0.2s;
    font-family: inherit !important;
}
.footer-links a:hover {
    color: var(--footer-text);
}
.footer-apps {
    display: flex;
    gap: 0.7rem;
    margin-top: 1.2rem;
}
.footer-app-badge img {
    height: 38px;
    width: auto;
    border-radius: 0.5rem;
}
.footer-copyright {
    background: var(--footer-bg);
    color: var(--footer-text);
    text-align: center;
    font-size: 1rem;
    padding: 1.1rem 0 1.1rem 0;
    border-radius: 0 !important;
    margin-top: auto;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}
.footer-logo-img {
    max-height: 40px;
    width: auto;
    display: block;
}
.header-logo-img {
    max-height: 50px !important;
    max-width: 180px !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
}
@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 1rem;
    }
    .footer-col, .footer-brand {
        min-width: 0;
        max-width: 100%;
    }
    .footer-apps {
        flex-direction: column;
        gap: 0.5rem;
    }
    .footer-logo-img {
        max-height: 35px;
    }
    .header-logo-img {
        max-height: 40px !important;
        max-width: 150px !important;
    }
    .navbar-brand {
        max-width: 220px !important;
    }
    .footer-section {
        background-position: center bottom;
        min-height: 600px;
    }
}

@media (max-width: 576px) {
    .footer-content {
        padding: 0 0.5rem;
    }
    .footer-col {
        margin-bottom: 1rem;
    }
    .footer-desc {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    .footer-socials {
        gap: 0.8rem;
    }
    .footer-social {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }
    .footer-col-title {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    .footer-links li {
        margin-bottom: 0.5rem;
    }
    .footer-links a {
        font-size: 0.9rem;
    }
    .footer-apps {
        gap: 0.5rem;
    }
    .footer-app-badge img {
        height: 32px;
    }
    .footer-copyright {
        font-size: 0.9rem;
        padding: 0.8rem 0;
    }
    .footer-section {
        background-position: center bottom;
        min-height: 500px;
    }
}







.slideshow-bg {
    background: url('img/img8.jpg') center center / cover no-repeat;
    min-height: 600px;
    width: 100%;
    position: absolute;
    inset: 0;
    z-index: 1;
}
.slideshow-content {
    padding-top: 48px;
    padding-bottom: 48px;
    min-height: 800px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.slideshow-title {
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.slideshow-subtitle {
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.slideshow-price {
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.slideshow-specs {
    gap: 1.5rem;
}

/* Custom Carousel Indicators for Car Specs Slideshow */
.custom-carousel-indicators {
    pointer-events: auto;
    margin-top: 0;
    margin-bottom: 0;
    z-index: 10;
    gap: 6px;
}
.custom-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    border: none;
    opacity: 1;
    transition: width 0.35s cubic-bezier(0.4,0,0.2,1), height 0.45s cubic-bezier(0.4,0,0.2,1), border-radius 0.45s cubic-bezier(0.4,0,0.2,1), background 0.3s, box-shadow 0.45s cubic-bezier(0.4,0,0.2,1);
    outline: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 0;
    display: inline-block;
    margin: 0 0.5px;
}
.custom-indicator.active {
    width: 26px;
    height: 10px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 4px 16px 0 rgba(0,0,0,0.18);
}
.custom-indicator:focus {
    outline: 2px solid var(--text-tertiary);
}
/* Hide Bootstrap's default indicators if present */
.carousel-indicators { display: none !important; }


@media (max-width: 900px) {
    
    .slideshow-bg {
        min-height: 340px;
    }
    .slideshow-content {
        min-height: 340px;
        padding-top: 24px;
        padding-bottom: 24px;
    }
    .slideshow-title {
        font-size: 1.5rem !important;
    }
    .slideshow-subtitle, .slideshow-price {
        font-size: 1rem !important;
    }
    .slideshow-specs .fs-4 {
        font-size: 1rem !important;
    }
    .custom-carousel-indicators {
        bottom: 16px !important;
    }
    .custom-indicator {
        width: 8px;
        height: 8px;
    }
    .custom-indicator.active {
        width: 18px;
        height: 8px;
    }
}

@media (max-width: 600px) {
 
    .slideshow-bg {
        min-height: 220px;
    }
    .slideshow-content {
        min-height: 220px;
        padding-top: 12px;
        padding-bottom: 12px;
    }
    .slideshow-title {
        font-size: 1.1rem !important;
    }
    .slideshow-subtitle, .slideshow-price {
        font-size: 0.9rem !important;
    }
    .slideshow-specs .fs-4 {
        font-size: 0.9rem !important;
    }
    .custom-carousel-indicators {
        bottom: 8px !important;
    }
    .custom-indicator {
        width: 6px;
        height: 6px;
    }
    .custom-indicator.active {
        width: 12px;
        height: 6px;
    }
}




.carousel-control-prev-icon, .carousel-control-next-icon {
    width: 22px;
    height: 22px;
    background-size: 22px 22px;
}
.carousel-control-prev, .carousel-control-next {
    width: 38px;
    height: 38px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control-prev {
    left: 20px;
}
.carousel-control-next {
    right: 20px;
}

.slideshow-bg[style*="img/m3.jpg"] {
    background-position: center 70%;
}

.slideshow-specs-single {
    margin-top: 300px;
    margin-left: -100px;
    padding-right: 60px;
}

@media (max-width: 900px) {
    .slideshow-specs-single {
        margin-top: 80px;
        margin-left: -10px;
        padding-right: 40px;
    }
}

@media (max-width: 600px) {
    .slideshow-specs-single {
        margin-top: 20px;
        margin-left: 0;
        padding-right: 24px;
    }
}

/* Learn More Button */
.learn-more-btn {
    background: var(--button-secondary-bg);
    color: var(--button-secondary-text);
    border-radius: var(--btn-radius-pill) !important;
    padding: var(--btn-padding-sm) !important;
    font-size: var(--btn-font-lg) !important;
    font-weight: var(--btn-weight-medium) !important;
    text-decoration: none;
    border: none;
    outline: none;
    z-index: 10;
    box-shadow: none;
    transition: background 0.18s, color 0.18s;
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
}

.learn-more-btn .arrow-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.learn-more-btn:hover {
    color: var(--button-secondary-text);
}

.learn-more-btn:hover .arrow-circle {
    color: var(--text-secondary);
}

.learn-more-btn svg {
    display: block;
}

@media (max-width: 900px) {
    .learn-more-btn {
        font-size: 0.98rem;
        padding: 0.38rem 1rem 0.38rem 0.8rem;
    }
    .learn-more-btn .arrow-circle {
        width: 32px;
        height: 32px;
    }
}
@media (max-width: 600px) {
    .learn-more-btn {
        font-size: 0.89rem;
        padding: 0.28rem 0.7rem 0.28rem 0.5rem;
    }
    .learn-more-btn .arrow-circle {
        width: 24px;
        height: 24px;
    }
}

.car-showcase-section {
    border-radius: 1.2rem;
    margin-bottom: 2rem;
}
.car-main-image-wrapper,
.car-main-image,
.car-info-card {
    border-radius: 1.2rem !important;
}
.car-main-image {
    width: 100%;
    object-fit: cover;
    border-radius: 1.2rem;
    min-height: 320px;
    max-height: 60vh;
}
/* Car Showcase Section */
.car-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    z-index: 2;
    padding: 0 !important;
    width: 44px !important;
    height: 44px !important;
    color: var(--nav-text-hero);
    font-size: 2rem;
    cursor: pointer;
    box-shadow: none;
    border-radius: var(--btn-radius-circle) !important;
    transition: color 0.18s, transform 0.18s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.car-arrow.left { left: 12px; }
.car-arrow.right { right: 12px; }
.car-arrow:hover, .car-arrow:focus {
    background: none;
    color: var(--text-muted);
    transform: translateY(-50%) scale(1.08);
}
.car-arrow i.bx {
    font-size: 2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 900px) {
    .car-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
    }
    .car-arrow i.bx {
        font-size: 1.5rem;
    }
}
@media (max-width: 600px) {
    .car-arrow {
        width: 28px;
        height: 28px;
        font-size: 1.1rem;
    }
    .car-arrow i.bx {
        font-size: 1.1rem;
    }
}

.car-image-thumbnails-group {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
.car-thumbnails {
    gap: 0.7rem;
    margin-top: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
}
.car-thumb {
    width: 80px;
    height: 56px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 0.7rem;
    transition: border 0.18s, box-shadow 0.18s;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.car-thumb.active, .car-thumb:hover {
    border: 2px solid var(--text-primary);
    box-shadow: 0 4px 16px var(--shadow-medium);
}
@media (max-width: 1200px) {
    .car-thumb {
        width: 60px;
        height: 40px;
    }
}
@media (max-width: 900px) {
    .car-thumb {
        width: 44px;
        height: 32px;
    }
    .car-image-thumbnails-group {
        max-width: 100%;
    }
}
@media (max-width: 600px) {
    .car-thumb {
        width: 32px;
        height: 22px;
    }
    .car-thumbnails {
        gap: 0.3rem;
    }
}

.car-info-card {
    background: var(--bg-overlay);
    color: var(--nav-text-hero);
    min-width: 250px;
    max-width: 370px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 24px var(--shadow-medium);
    height: 500px;
}
.car-info-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 0.7rem;
}
.car-info-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}
.car-info-price {
    font-size: 1.1rem;
    color: var(--accent-tertiary);
    margin-bottom: 1.1rem;
}
.car-info-specs {
    width: 100%;
}
.car-info-spec-value {
    font-size: 1.1rem;
    font-weight: 600;
}
.car-info-spec-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
}
@media (max-width: 1200px) {
    .car-main-image {
        min-height: 220px;
        max-height: 40vh;
    }
    .car-info-card {
        min-width: 170px;
        max-width: 100%;
    }
    .car-thumb {
        width: 60px;
        height: 40px;
    }
}
@media (max-width: 900px) {
    .car-showcase-section {
        border-radius: 0.7rem;
    }
    .car-main-image {
        min-height: 140px;
        max-height: 30vh;
    }
    .car-info-card {
        padding: 1.2rem;
        min-width: 140px;
    }
    .car-thumb {
        width: 44px;
        height: 32px;
    }
}
@media (max-width: 600px) {
    .car-showcase-section {
        border-radius: 0.3rem;
        margin-bottom: 1rem;
    }
    .car-main-image {
        min-height: 80px;
        max-height: 22vh;
        border-radius: 0.5rem;
    }
    .car-info-card {
        padding: 0.7rem;
        min-width: 100px;
    }
    .car-info-logo {
        width: 32px;
        height: 32px;
    }
    .car-thumb {
        width: 32px;
        height: 22px;
    }
}

.car-showcase-gap {
    gap: 2.2rem;
}
@media (min-width: 992px) {
    .car-main-image-wrapper,
    .car-info-card {
        height: 500px;
        min-height: 500px;
        max-height: 500px;
    }
    .car-main-image {
        height: 100%;
        min-height: 100%;
        max-height: 100%;
        object-fit: cover;
    }
}
@media (max-width: 991.98px) {
    .car-main-image-wrapper,
    .car-info-card {
        height: auto;
        min-height: unset;
        max-height: unset;
    }
    .car-showcase-gap {
        gap: 0;
    }
} 





/* Hero Main Visual Section - Bigger Version */
.hero-main-visual {
  min-height: 100vh !important;
  height: 100vh !important;
  max-height: 100vh !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  overflow: hidden !important;
  background: none !important;
  position: relative;
  overflow: visible;
  margin-bottom: 100px;
}

.hero-main-image-wrapper {
  min-height: 100vh !important;
  height: 100vh !important;
  max-height: 100vh !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  position: relative;
  width: 100%;
  overflow: visible;
  background: none !important;
}

.hero-main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    filter: brightness(0.82) saturate(1.1);
    transition: filter 0.3s, opacity 0.35s cubic-bezier(0.4,0,0.2,1);
}

.hero-main-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(24,24,28,0.82) 0%, rgba(24,24,28,0.32) 60%, rgba(24,24,28,0.0) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-main-media {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    filter: brightness(0.82) saturate(1.1);
    transition: filter 0.3s, opacity 0.35s cubic-bezier(0.4,0,0.2,1);
    opacity: 0;
}

.hero-main-media.active-media {
    opacity: 1;
}

/* Hero Navbar Styles */
.hero-main-visual .navbar, .hero-main-visual .navbar * {
    color: #ffffff !important;
}

.hero-main-visual .navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.hero-main-visual .navbar-brand, .hero-main-visual .nav-link, .hero-main-visual .dropdown-toggle, .hero-main-visual .dropdown-menu, .hero-main-visual .dropdown-item {
    color: #ffffff !important;
}

.hero-main-visual .dropdown-menu {
    background: rgba(24,24,28,0.92) !important;
    border: none;
}

.hero-main-visual .dropdown-item {
  color: #fff !important;
}
.hero-main-visual .dropdown-item:hover, .hero-main-visual .dropdown-item:focus {
  background: #2a4a23 !important;
  color: #ffffff !important;
}

.hero-main-visual .navbar-toggler {
    border-color: #ffffff !important;
}

.hero-main-visual .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
    background-color: transparent !important;
    filter: none !important;
    border: none !important;
}

.hero-main-visual .theme-toggle {
    color: #ffffff;
}

/* New Hero Content Layout Styles */
.hero-content-wrapper {
  z-index: 3;
}

.hero-left-content {
  padding-left: 5vw;
}

.hero-right-content {
  padding-right: 3vw;
    display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-bottom: 5vh;
}

/* Updated Hero Text Styles */
.hero-main-text {
  color: #ffffff;
  max-width: 100%;
}

.hero-title-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-title {
  font-size: 3.5rem;
    font-weight: 800;
  color: #ffffff;
    text-shadow: 0 4px 24px rgba(0,0,0,0.22);
  margin: 0;
}

.hero-subtitle {
  font-size: 3.5rem;
  font-weight: 800;
    color: #ffffff;
  text-shadow: 0 4px 24px rgba(0,0,0,0.22);
  margin: 0;
}

.hero-arrow-btn .btn {
  background: #333333;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.hero-arrow-btn .btn:hover {
  background: #444444;
  transform: scale(1.05);
}

.hero-arrow-btn .bx {
  color: #00ff00 !important;
}

.hero-desc {
  font-size: 1rem;
    font-weight: 400;
    color: #e0e0e0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
  line-height: 1.6;
  max-width: 500px;
}




.car-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  z-index: 1;
}

.car-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}



.car-card-content {
  position: relative;
    z-index: 2;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.4) 100%);
}

.car-card-btn {
    background: transparent;
  border: 2px solid #87cefa;
  color: #ffffff;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  align-self: flex-start;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
  cursor: pointer;
}

.car-card-btn:hover {
  background: #87cefa;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(135, 206, 250, 0.4);
}

.car-card-desc {
  color: #ffffff;
  font-size: 0.8rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  opacity: 0.9;
}

.car-card-title {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Navigation Arrow */
.hero-nav-arrow {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  background: #333333;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  z-index: 10;
}

.hero-nav-arrow:hover {
  background: #444444;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.hero-nav-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-title, .hero-subtitle {
    font-size: 3rem;
}
  

}

@media (max-width: 992px) {
  .hero-left-content {
    padding-left: 3vw;
    margin-bottom: 2rem;
}
  
  .hero-right-content {
    padding-right: 3vw;
    justify-content: center;
  }
  

  .hero-nav-arrow {
    right: 50%;
    top: auto;
    bottom: -30px;
    transform: translateX(50%);
  }
  
  .hero-nav-arrow:hover {
    transform: translateX(50%) scale(1.1);
  }
}

@media (max-width: 768px) {
  .hero-title, .hero-subtitle {
    font-size: 2.5rem;
    }
  
  .hero-desc {
    font-size: 0.9rem;
    }
  


  
  .car-card-content {
    padding: 1rem;
  }
  
  .car-card-title {
    font-size: 1.2rem;
  }

  /* Hero Content Layout for Mobile */
  .hero-main-visual {
    min-height: 120vh !important;
    height: 120vh !important;
  }

  .hero-main-image-wrapper {
    min-height: 120vh !important;
    height: 120vh !important;
  }

  .hero-content-wrapper {
    align-items: flex-start !important;
    padding-top: 1rem;
  }

  /* Force mobile layout */
  .hero-content-wrapper .container-fluid {
    height: 100% !important;
  }

  .hero-content-wrapper .row {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 100% !important;
  }

  .hero-left-content {
    text-align: center !important;
    padding: 0 1rem !important;
    margin-bottom: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    order: 1 !important;
  }

  .hero-right-content {
    justify-content: center !important;
    padding: 0 1rem !important;
    margin-top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    order: 2 !important;
  }

  .hero-main-text {
    text-align: center !important;
  }

  .hero-carousel-container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Maintain portrait rectangle shape for carousel cards */
  .hero-carousel-card {
    min-width: 160px !important;
    min-height: 220px !important;
    max-width: 160px !important;
    max-height: 220px !important;
  }
}

@media (max-width: 576px) {
  .hero-title, .hero-subtitle {
    font-size: 2rem;
  }
  
  .hero-arrow-btn .btn {
    width: 40px;
    height: 40px;
    }
  
  .hero-arrow-btn .bx {
    font-size: 1.4rem;
  }
  


  
  .car-card-btn {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
}
  
  .car-card-title {
    font-size: 1rem;
  }

  /* Enhanced Mobile Layout */
  .hero-main-visual {
    min-height: 130vh !important;
    height: 130vh !important;
  }

  .hero-main-image-wrapper {
    min-height: 130vh !important;
    height: 130vh !important;
  }

  .hero-content-wrapper {
    padding-top: 0.5rem;
  }

  .hero-left-content {
    padding: 0 0.5rem !important;
    margin-bottom: 0.5rem !important;
  }

  .hero-right-content {
    padding: 0 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }

  .hero-main-text {
    padding: 0 0.5rem;
  }

  .hero-title {
    font-size: 1.8rem !important;
    margin-bottom: 0.3rem;
  }

  .hero-desc {
    font-size: 0.85rem !important;
    line-height: 1.4;
    margin-bottom: 0.5rem;
  }

  .hero-carousel-container {
    min-height: 180px !important;
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
    .hero-main-text {
        left: 50%;
        top: 108vh;
        transform: translateX(-50%);
        max-width: 70vw;
        text-align: center;
    }
} 

/* Contact Modern Section Responsive Styles */
.contact-modern-section .row {
    min-height: 420px;
}
.contact-modern-section .contact-img-info {
    min-height: 340px;
    max-height: 520px;
    height: 100%;
}
.contact-modern-section img.object-fit-cover {
    object-fit: cover;
    height: 100%;
    min-height: 340px;
    max-height: 520px;
}
@media (max-width: 991.98px) {
    .contact-modern-section .row {
        flex-direction: column;
    }
    .contact-modern-section .col-lg-6 {
        max-width: 100%;
        flex: 0 0 100%;
        padding: 2rem 1rem !important;
    }
    .contact-modern-section .contact-img-info {
        min-height: 220px;
        max-height: 320px;
    }
    .contact-modern-section img.object-fit-cover {
        min-height: 220px;
        max-height: 320px;
    }
    .contact-modern-section .contact-info-overlay {
        padding: 1.2rem !important;
        font-size: 0.98rem;
    }
}
@media (max-width: 575.98px) {
    .contact-modern-section .col-lg-6 {
        padding: 1rem 0.5rem !important;
    }
    .contact-modern-section .contact-img-info {
        min-height: 120px;
        max-height: 180px;
    }
    .contact-modern-section img.object-fit-cover {
        min-height: 120px;
        max-height: 180px;
    }
    .contact-modern-section .contact-info-overlay {
        padding: 0.7rem !important;
        font-size: 0.92rem;
    }
}


.rent-now-btn {
  background: var(--button-primary-bg);
  color: var(--button-primary-text) !important;
  border-radius: var(--btn-radius-md) !important;
  padding: var(--btn-padding-sm) !important;
  display: inline-block;
  font-weight: var(--btn-weight-normal) !important;
  font-size: var(--btn-font-md) !important;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.rent-now-btn:hover {
  background: var(--accent-secondary);
  color: var(--button-primary-text) !important;
}



.car-description-section .rounded-circle {
  width: 50px !important;
  height: 50px !important;
  aspect-ratio: 1 / 1 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  border-radius: 50% !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
}

.car-description-section .rounded-circle i {
  font-size: 1.4rem !important;
  max-width: 70%;
  max-height: 70%;
  line-height: 1 !important;
  display: block;
}

a.text-decoration-none .rent-now-btn {
  color: var(--button-primary-text) !important;
  text-decoration: none !important;
}

/* Delivery Section Styles */
.delivery-section {
  padding: 64px 0;
  background: var(--bg-primary);
}

.delivery-text h2 {
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}

.delivery-text {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.delivery-map-col {
  min-width: 340px;
  min-height: 420px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
#deliveryMap {
  width: 340px;
  height: 420px;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 8px 32px var(--shadow-heavy);
}
.delivery-mobile-card {
  position: absolute;
  top: 32px;
  right: -32px;
  width: 270px;
  background: var(--accent-secondary);
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px var(--shadow-heavy);
  color: var(--button-primary-text);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.delivery-mobile-card .btn {
  border-radius: var(--btn-radius-sm) !important;
  background: var(--button-primary-bg);
  border: none;
  font-weight: var(--btn-weight-medium) !important;
  font-size: var(--btn-font-lg) !important;
  color: var(--button-primary-text);
}

.delivery-card-map-preview {
    width: 100%;
    height: 120px;
    background: var(--bg-tertiary);
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}
.delivery-card-map-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 991.98px) {
  .delivery-section .container {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2.5rem !important;
  }
  .delivery-map-col {
    min-width: 100%;
    min-height: 340px;
    width: 100%;
    justify-content: flex-start;
  }
  #deliveryMap {
    width: 100vw;
    min-width: 260px;
    max-width: 100%;
    height: 340px;
  }
  .delivery-mobile-card {
    position: static;
    margin: 0 auto;
    width: 90vw;
    max-width: 340px;
    top: unset;
    right: unset;
    margin-top: -60px;
  }
}

@media (max-width: 600px) {
  .delivery-text h2 {
    font-size: 1.5rem;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 1rem;
  }
  .delivery-text {
    text-align: center;
    font-size: 1rem;
  }
  .delivery-section .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

@media (max-width: 600px) {
  .hero-main-text {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    text-align: center !important;
    bottom: calc(140px + 2.2rem) !important;
    top: unset !important;
    transform: none !important;
    z-index: 20 !important;
    max-width: 100vw !important;
  }
  .hero-carousel-wrapper {
    margin-bottom: 2.2rem;
    z-index: 10 !important;
  }
}

.hero-main-text {
  position: absolute !important;
  left: 5vw !important;
  right: auto !important;
  margin: 0 auto !important;
  text-align: left !important;
  bottom: calc(140px + 2.2rem) !important;
  top: unset !important;
  transform: none !important;
  z-index: 20 !important;
  max-width: 100vw !important;
}

@media (max-width: 600px) {
  .hero-main-text {
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    text-align: center !important;
  }
} 

.chauffeur-card {
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1), box-shadow 0.32s, filter 0.22s;
}
/* Chauffeur Card Hover Effect */
.chauffeur-card:hover {
    transform: scale(1.035);
    box-shadow: 0 12px 36px var(--shadow-heavy) !important;
    filter: brightness(1.04);
}
.chauffeur-card:hover > div[style*='background:rgba(24,24,28,0.55)'] {
  background: rgba(24,24,28,0.32) !important;
  transition: background 0.22s;
} 

.hero-carousel-portrait-wrapper .hero-carousel {
  justify-content: flex-end !important;
  display: flex !important;
} 

.hero-carousel-portrait-wrapper.hero-carousel-wrapper {
  left: auto !important;
  right: 0 !important;
  transform: none !important;
  width: 100% !important;
  justify-content: flex-end !important;
  display: flex !important;
} 

.hero-main-media {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}
.hero-main-media.active-media {
  opacity: 1;
  pointer-events: auto;
} 

/* Services Page Styles */
#showcase-title {
    color: var(--showcase-title) !important;
}

#showcase-desc {
    color: var(--showcase-desc) !important;
}

.showcase-tab {
    color: var(--showcase-tab-inactive) !important;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

.showcase-tab.active {
    color: var(--showcase-tab-active) !important;
    border-bottom-color: var(--showcase-tab-border) !important;
}


/* Services Page Background */
.car-showcase-section {
    background: var(--bg-primary);
}


/* Ensure smooth transitions for services page elements */
#showcase-title,
#showcase-desc,
.showcase-tab {
    transition: color 0.3s ease;
} 

#site-loader {
  position: fixed;
  z-index: 99999;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1);
  opacity: 1;
  pointer-events: all;
}

#site-loader.hide {
  opacity: 0;
  pointer-events: none;
}

.loader-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  width: 200px;
}

.loader-icon {
  width: 160px;
  height: 160px;
  object-fit: contain;
  animation: loader-glow 1.2s infinite cubic-bezier(0.4,0,0.2,1);
}

@keyframes loader-glow {
  0%   { opacity: 0.3; }
  40%  { opacity: 1; }
  60%  { opacity: 0.85; }
  100% { opacity: 0.3; }
} 

input::placeholder,
textarea::placeholder {
  color: var(--text-muted) !important;
  opacity: 1 !important;
}



.pag-num,
.pag-arrow {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: #181818;
}
[data-theme="dark"] .pag-num,
[data-theme="dark"] .pag-arrow {
  color: #fff;
}

.pag-num button,
.pag-arrow button {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0;
  margin: 0;
  outline: none;
}

.pag-num.active span {
  background: #181818;
  color: #fff;
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 1rem;
  margin: 0 auto;
}
[data-theme="dark"] .pag-num.active span {
  background: #fff;
  color: #181818;
}

.pag-ellipsis span {
  color: #181818;
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0.7;
}
[data-theme="dark"] .pag-ellipsis span {
  color: #fff;
}

.pag-arrow.disabled span {
  opacity: 0.3;
  cursor: default;
}

.pag-num button:focus,
.pag-arrow button:focus {
  outline: none;
}

/* Remove all hover/focus/shadow effects */
.pag-num button:hover,
.pag-arrow button:hover {
  background: none;
  color: inherit;
  box-shadow: none;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: #b1b1b1 !important;
}

/* Remove underline/after effect for active/hovered nav links */
.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
  display: none !important;
  background: none !important;
  height: 0 !important;
  width: 0 !important;
  content: none !important;
}

.navbar-nav > .nav-item > .nav-link:not(.dropdown-toggle).active,
.navbar-nav > .nav-item > .nav-link:not(.dropdown-toggle):hover {
  color: #b1b1b1 !important;
}


.navbar-nav .nav-link.dropdown-toggle,
.navbar-nav .nav-link.dropdown-toggle:hover,
.navbar-nav .nav-link.dropdown-toggle:focus,
.navbar-nav .nav-link.dropdown-toggle:active {
  color: #fff !important;
}


/* Caret for language dropdown: black in light mode, white in dark mode */
.navbar-nav .nav-link.dropdown-toggle::after,
.navbar-nav .nav-link.dropdown-toggle:hover::after,
.navbar-nav .nav-link.dropdown-toggle:focus::after,
.navbar-nav .nav-link.dropdown-toggle:active::after {
  border-top: 0.3em solid #232328 !important;
  border-right: 0.3em solid transparent !important;
  border-left: 0.3em solid transparent !important;
  border-bottom: 0 !important;
  content: "" !important;
  display: inline-block !important;
  vertical-align: 0.255em !important;
  margin-left: 0.255em !important;
}
[data-theme="dark"] .navbar-nav .nav-link.dropdown-toggle::after,
[data-theme="dark"] .navbar-nav .nav-link.dropdown-toggle:hover::after,
[data-theme="dark"] .navbar-nav .nav-link.dropdown-toggle:focus::after,
[data-theme="dark"] .navbar-nav .nav-link.dropdown-toggle:active::after {
  border-top: 0.3em solid #fff !important;
}

.navbar-nav .nav-link.dropdown-toggle {
  color: var(--nav-text) !important;
}
[data-theme="dark"] .navbar-nav .nav-link.dropdown-toggle {
  color: #fff !important;
}

body.index-page .navbar-nav .nav-link.dropdown-toggle {
  color: #fff !important;
}

.navbar-nav .nav-link.dropdown-toggle {
  color: var(--nav-text) !important;
  transition: color 0.3s;
}
[data-theme="dark"] .navbar-nav .nav-link.dropdown-toggle {
  color: #fff !important;
}

.navbar-nav .nav-link.dropdown-toggle:hover,
.navbar-nav .nav-link.dropdown-toggle:focus,
.navbar-nav .nav-link.dropdown-toggle.active {
  color: #b1b1b1 !important;
}
[data-theme="dark"] .navbar-nav .nav-link.dropdown-toggle:hover,
[data-theme="dark"] .navbar-nav .nav-link.dropdown-toggle:focus,
[data-theme="dark"] .navbar-nav .nav-link.dropdown-toggle.active {
  color: #b1b1b1 !important;
}

body.index-page .navbar-nav .nav-link.dropdown-toggle::after,
body.services-page .navbar-nav .nav-link.dropdown-toggle::after {
  border-top: 0.3em solid #fff !important;
}

@media (max-width: 600px) {
  .rent-btn-carousel {
    padding: var(--btn-padding-sm) !important;
    font-size: var(--btn-font-sm) !important;
    height: auto !important;
    min-height: 32px !important;
    width: auto !important;
    min-width: 0 !important;
    border-radius: var(--btn-radius-md) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

.modern-steps-section {
    border-radius: 2rem;
    overflow: hidden;
}

.modern-step-bar:first-child {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}
.modern-step-bar:last-child {
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.bg-primary-section {
  background: var(--bg-primary) !important;
}

.fullwidth-gap {
  width: 100vw;
  min-width: 100vw;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  background: var(--bg-primary) !important;
  height: 3rem;
  border: none;
  padding: 0;
}

.hero-main-visual .nav-link.dropdown-toggle {
  color: #fff !important;
}
.hero-main-visual .dropdown-menu {
  color: #fff !important;
  background: rgba(24,24,28,0.92) !important;
}
.hero-main-visual .dropdown-item {
  color: #fff !important;
}
.hero-main-visual .dropdown-item:hover, .hero-main-visual .dropdown-item:focus {
  background: rgba(255,255,255,0.08) !important;
  color: #c2f22c !important;
}

.hero-main-visual .nav-link.dropdown-toggle::after {
  border-top: 0.3em solid #fff !important;
}

.rent-now-hero-btn {
  background: #131313 !important;
  color: #f1f1f1 !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(44,62,80,0.3) !important;
}
[data-theme="dark"] .rent-now-hero-btn {
  background: #f1f1f1 !important;
  color: #131313 !important;
}

/* Global scrollbar styling for the entire page */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 10px;
    margin: 4px;
    box-shadow: inset 0 0 6px var(--shadow-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    border-radius: 10px;
    border: 2px solid var(--bg-tertiary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    transform: scale(1.05);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(135deg, var(--accent-tertiary) 0%, var(--accent-secondary) 100%);
    transform: scale(1.1);
}

::-webkit-scrollbar-corner {
    background: var(--bg-tertiary);
    border-radius: 10px;
}

/* Firefox scrollbar styling */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-secondary) var(--bg-tertiary);
}

/* Specific scrollbar styles for carousel elements */
.car-cards-carousel::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.car-cards-carousel::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 6px;
    margin: 2px;
    box-shadow: inset 0 0 4px var(--shadow-light);
}

.car-cards-carousel::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 50%, var(--accent-secondary) 100%);
    border-radius: 6px;
    border: 1px solid var(--bg-tertiary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.car-cards-carousel::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-tertiary) 50%, var(--accent-primary) 100%);
    transform: scale(1.1);
    box-shadow: 0 2px 8px var(--shadow-medium);
}

.car-cards-carousel::-webkit-scrollbar-thumb:active {
    background: linear-gradient(135deg, var(--accent-tertiary) 0%, var(--accent-primary) 50%, var(--accent-tertiary) 100%);
    transform: scale(1.15);
}





/* Hero carousel scrollbar styling */
.hero-carousel::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.hero-carousel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 1px;
    backdrop-filter: blur(10px);
}

.hero-carousel::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 100%);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-carousel::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 100%);
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Custom scrollbar for any element with class .custom-scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 8px;
    margin: 3px;
    box-shadow: inset 0 0 5px var(--shadow-light);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    border-radius: 8px;
    border: 2px solid var(--bg-tertiary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-tertiary) 100%);
    transform: scale(1.05);
    box-shadow: 0 3px 10px var(--shadow-medium);
}

/* Dark mode specific scrollbar enhancements */
[data-theme="dark"] ::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-tertiary) 100%);
    border: 2px solid var(--bg-tertiary);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-tertiary) 0%, var(--accent-secondary) 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

/* Mobile responsive scrollbar adjustments */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }
    
    ::-webkit-scrollbar-track {
        border-radius: 6px;
        margin: 2px;
    }
    
    ::-webkit-scrollbar-thumb {
        border-radius: 6px;
        border: 1px solid var(--bg-tertiary);
    }
    
  
  
}

/* Smooth scrolling for better UX */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar animations */
@keyframes scrollbar-glow {
    0%, 100% {
        box-shadow: 0 0 5px var(--shadow-light);
    }
    50% {
        box-shadow: 0 0 15px var(--accent-secondary);
    }
}

::-webkit-scrollbar-thumb:hover {
    animation: scrollbar-glow 2s ease-in-out infinite;
}

/* Remove scrollbar from car cards carousel */
.car-cards-carousel::-webkit-scrollbar {
    display: none !important;
}

.car-cards-carousel {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

/* Remove scrollbar from car showcase sections */
.car-showcase-section,
.showcase-wrapper,
.showcase-images,
.showcase-tabs {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.car-showcase-section::-webkit-scrollbar,
.showcase-wrapper::-webkit-scrollbar,
.showcase-images::-webkit-scrollbar,
.showcase-tabs::-webkit-scrollbar {
    display: none !important;
}



/* Contact Info Items Hover Effects */
.contact-info-item {
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
}

.contact-info-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.contact-info-item:hover .contact-icon-wrapper {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: scale(1.1);
}

.contact-info-item:hover i {
    transform: scale(1.1);
}

.contact-info-item i {
    transition: all 0.3s ease;
}

.contact-icon-wrapper {
    transition: all 0.3s ease !important;
}

/* Services page hero title - QyamFont for Kurdish and Arabic only */
[data-lang="ku"] .services-hero-title,
[data-lang="ar"] .services-hero-title {
    font-family: 'QyamFont', sans-serif !important;
}

/* Touch-friendly improvements for mobile */
@media (max-width: 768px) {
    .car-cards-carousel {
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
    }
    
    .car-card-link {
        scroll-snap-align: start;
    }
    
    /* Hide scrollbar on mobile but keep functionality */
    .car-cards-carousel::-webkit-scrollbar {
        display: none;
    }
    
    .car-cards-carousel {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    
    /* Improve touch targets */
    .carousel-arrow {
        min-width: 44px;
        min-height: 44px;
        touch-action: manipulation;
    }
    
    .rent-btn-carousel {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    /* Better spacing for mobile */
    .car-cards-carousel-wrapper {
        margin: 0 -10px;
        padding: 0 30px;
    }
    
    .car-cards-carousel {
        padding: 0.5rem 10px;
    }
}

/* Ensure proper spacing on very small screens */
@media (max-width: 360px) {
    .car-cards-carousel-wrapper {
        margin: 0 -5px;
        padding: 0 25px;
    }
    
    .car-cards-carousel {
        padding: 0.5rem 5px;
        gap: 0.6rem;
    }
}


/* Ensure button text is always visible in light mode */
[data-theme="light"] .rent-now-btn,
:root .rent-now-btn {
  color: var(--button-primary-text) !important;
}

/* Light mode specific hover styles for carousel buttons */
[data-theme="light"] .car-card:hover .rent-btn-carousel,
:root .car-card:hover .rent-btn-carousel {
  background: #ffffff !important;
  color: #232328 !important;
}

[data-theme="light"] .car-card:hover .rent-btn-carousel:hover,
:root .car-card:hover .rent-btn-carousel:hover {
  background: #f4f4f4 !important;
  color: #232328 !important;
}

/* Ensure carousel button text is always visible in light mode */
[data-theme="light"] .rent-btn-carousel,
:root .rent-btn-carousel {
  color: var(--button-primary-text) !important;
}

[data-theme="light"] .car-card:hover .rent-btn-carousel,
:root .car-card:hover .rent-btn-carousel {
  color: #232328 !important;
}

[data-theme="light"] .car-card:hover .rent-btn-carousel.btn.btn-primary,
:root .car-card:hover .rent-btn-carousel.btn.btn-primary,
[data-theme="light"] .car-card:hover .rent-btn-carousel.btn,
:root .car-card:hover .rent-btn-carousel.btn {
  background: #ffffff !important;
  color: #232328 !important;
}

[data-theme="light"] .car-card:hover .rent-btn-carousel.btn.btn-primary:hover,
:root .car-card:hover .rent-btn-carousel.btn.btn-primary:hover,
[data-theme="light"] .car-card:hover .rent-btn-carousel.btn:hover,
:root .car-card:hover .rent-btn-carousel.btn:hover {
  background: #f4f4f4 !important;
  color: #232328 !important;
}


/* Base Button Styles - Unified System */
.btn:not(.service-card-btn),
button:not(.navbar-toggler):not(.service-card-btn),
[class*="btn"]:not(.navbar-toggler):not(.service-card-btn),
[class*="-btn"]:not(.navbar-toggler):not(.service-card-btn) {
    border-radius: var(--btn-radius-md) !important;
    transition: all 0.2s ease-in-out !important;
    font-weight: var(--btn-weight-medium) !important;
    border: none !important;
    outline: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

/* Button Size Variants */
.btn-sm,
[class*="btn-sm"] {
    padding: var(--btn-padding-sm) !important;
    font-size: var(--btn-font-sm) !important;
    border-radius: var(--btn-radius-sm) !important;
}

.btn-md,
[class*="btn-md"] {
    padding: var(--btn-padding-md) !important;
    font-size: var(--btn-font-md) !important;
    border-radius: var(--btn-radius-md) !important;
}

.btn-lg,
[class*="btn-lg"] {
    padding: var(--btn-padding-lg) !important;
    font-size: var(--btn-font-lg) !important;
    border-radius: var(--btn-radius-lg) !important;
}

.btn-xl,
[class*="btn-xl"] {
    padding: var(--btn-padding-xl) !important;
    font-size: var(--btn-font-xl) !important;
    border-radius: var(--btn-radius-xl) !important;
}

/* Special Button Shapes */
.btn-pill,
[class*="btn-pill"] {
    border-radius: var(--btn-radius-pill) !important;
}



/* Ensure all buttons maintain consistent hover effects */
.btn:hover,
button:not(.navbar-toggler):not(.carousel-arrow):not(.hero-carousel-arrow):not(.car-brands-arrow):not(.carousel-btn):not(.showcase-arrow):not(.minimize-btn):hover,
[class*="btn"]:not(.navbar-toggler):not(.carousel-arrow):not(.hero-carousel-arrow):not(.car-brands-arrow):not(.carousel-btn):not(.showcase-arrow):not(.minimize-btn):hover,
[class*="-btn"]:not(.navbar-toggler):not(.carousel-arrow):not(.hero-carousel-arrow):not(.car-brands-arrow):not(.carousel-btn):not(.showcase-arrow):not(.minimize-btn):hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.btn:active,
button:not(.navbar-toggler):not(.carousel-arrow):not(.hero-carousel-arrow):not(.car-brands-arrow):not(.carousel-btn):not(.showcase-arrow):not(.minimize-btn):active,
[class*="btn"]:not(.navbar-toggler):not(.carousel-arrow):not(.hero-carousel-arrow):not(.car-brands-arrow):not(.carousel-btn):not(.showcase-arrow):not(.minimize-btn):active,
[class*="-btn"]:not(.navbar-toggler):not(.carousel-arrow):not(.hero-carousel-arrow):not(.car-brands-arrow):not(.carousel-btn):not(.showcase-arrow):not(.minimize-btn):active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

/* Focus states for accessibility */
.btn:focus,
button:not(.navbar-toggler):not(.carousel-arrow):not(.hero-carousel-arrow):not(.car-brands-arrow):not(.carousel-btn):not(.showcase-arrow):not(.minimize-btn):focus,
[class*="btn"]:not(.navbar-toggler):not(.carousel-arrow):not(.hero-carousel-arrow):not(.car-brands-arrow):not(.carousel-btn):not(.showcase-arrow):not(.minimize-btn):focus,
[class*="-btn"]:not(.navbar-toggler):not(.carousel-arrow):not(.hero-carousel-arrow):not(.car-brands-arrow):not(.carousel-btn):not(.showcase-arrow):not(.minimize-btn):focus {
    outline: 2px solid var(--accent-primary, #007bff) !important;
    outline-offset: 2px !important;
}



/* Light mode button overrides for car cards */
[data-theme="light"] .rent-btn-carousel {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}

[data-theme="light"] .rent-btn-carousel:hover {
    background-color: #333333 !important;
    border-color: #333333 !important;
    color: #ffffff !important;
}

[data-theme="light"] .rent-btn-carousel:focus {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.25) !important;
}

/* Dark mode keeps the existing blue style */
[data-theme="dark"] .rent-btn-carousel {
    background-color: var(--button-primary-bg) !important;
    border-color: var(--button-primary-bg) !important;
    color: var(--button-primary-text) !important;
}

[data-theme="dark"] .rent-btn-carousel:hover {
    background-color: #0056b3 !important;
    border-color: #0056b3 !important;
    color: var(--button-primary-text) !important;
}

/* Carousel arrow specific styles - no downward movement */
.carousel-arrow:hover {
    background: var(--text-primary) !important;
    color: var(--bg-primary) !important;
    border: 2px solid var(--bg-primary) !important;
    transform: translateY(-50%) !important; /* Keep centered, no downward movement */
}

.carousel-arrow:active {
    transform: translateY(-50%) !important; /* Keep centered when clicked */
}

/* Hide left arrow when at beginning of carousel */
.carousel-arrow.left.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

/* Hide arrows when at beginning/end of carousel - Override for both left and right */
.carousel-arrow.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

.rent-btn-carousel {
    padding: var(--btn-padding-sm) !important;
    font-size: var(--btn-font-sm) !important;
    height: auto !important;
    min-height: 32px !important;
    border-radius: var(--btn-radius-md) !important;
    white-space: nowrap;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Hide arrows when at beginning/end of carousel - Override for both left and right */
.carousel-arrow.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

/* Override unified button system for showcase arrows */
.showcase-arrow:hover {
    transform: none !important;
    box-shadow: none !important;
}

.showcase-arrow:active {
    transform: none !important;
    box-shadow: none !important;
}

.showcase-arrow:focus {
    outline: none !important;
}

/* More aggressive override to prevent any unified button effects on showcase arrows */
.showcase-arrow,
.showcase-arrow:hover,
.showcase-arrow:active,
.showcase-arrow:focus {
    transform: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Ensure showcase arrows only get their own hover effects */
.showcase-arrow:hover .hex-arrow {
    transform: scale(1.08) !important;
}

[data-theme="light"] .btn-dark {
  background-color: #000 !important;
  color: #fff !important;
  border: none !important;
}

/* Brand Text Styles */
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.brand-arabic {
    font-size: 0.7rem;
    font-weight: 400;
    color: #ffffff;
    margin: 0;
    opacity: 0.9;
}

/* Responsive brand text */
@media (max-width: 768px) {
    .brand-name {
        font-size: 0.8rem;
    }
    
    .brand-arabic {
        font-size: 0.6rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        flex-direction: column;
        align-items: flex-start !important;
        max-width: 180px !important;
    }
    
    .brand-text {
        margin-top: 0.5rem;
    }
    
    .brand-name {
        font-size: 0.7rem;
    }
    
    .brand-arabic {
        font-size: 0.5rem;
    }
    
    .header-logo-img {
        max-height: 35px !important;
        max-width: 130px !important;
    }
}

/* --- HERO HORIZONTAL CAROUSEL --- */
.hero-carousel-container {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 600px;
  min-height: 340px;
  transform: translateY(-60px);
}
.hero-carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
}
.hero-carousel-track {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}
.hero-carousel-card {
  min-width: 220px;
  max-width: 240px;
  flex-basis: 220px;
  height: 300px;
  position: relative;
  border-radius: 1.2rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-carousel-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.hero-carousel-card.active {
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.3);
  border: 2px solid #f7f7f7;
}
.hero-carousel-card:after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 55%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(24,24,28,0.92) 70%, rgba(24,24,28,0.0) 100%);
}
.hero-carousel-card-bgimg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  transition: transform 0.3s;
}
.hero-carousel-card-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  width: 100%;
  padding: 1.5rem 1.2rem 1.2rem 1.2rem;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 0 0 1.2rem 1.2rem;
}
.hero-carousel-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.3rem 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  text-align: center;
}
.hero-carousel-card-desc {
  font-size: 1.01rem;
  color: #e0e0e0;
  margin: 0 0 1.1rem 0;
  opacity: 0.92;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.hero-carousel-card-buybtn {
  width: 100% !important;
  background: transparent !important;
  color: #e2e2e2 !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  border: 3px solid #e7e7e7 !important;
  border-radius: 1.2rem !important;
  padding: 0.1rem 0 !important;
  box-shadow: 0 0 0 2px rgba(235, 235, 235, 0.18) !important;
  margin-top: 0.2rem !important;
  margin-bottom: 0.1rem !important;
  text-align: center !important;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s !important;
  cursor: pointer !important;
  outline: none !important;
}
.hero-carousel-card-buybtn:hover {
  background: #39563a !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 8px 32px rgba(29,231,130,0.18) !important;
}

@media (max-width: 1200px) {
  .hero-carousel-card {
    min-width: 260px;
    max-width: 270px;
    flex-basis: 260px;
    height: 300px;
  }
}
@media (max-width: 900px) {
  .hero-carousel-card {
    min-width: 200px;
    max-width: 220px;
    flex-basis: 200px;
    height: 220px;
  }
  .hero-carousel-card-overlay {
    padding: 1rem 0.7rem 0.7rem 0.7rem;
  }
  .hero-carousel-card-title {
    font-size: 1rem;
  }
  .hero-carousel-card-buybtn {
    font-size: 0.95rem;
    padding: 0.5rem 0;
  }
}
@media (max-width: 600px) {
  .hero-carousel-card {
    min-width: 140px;
    max-width: 160px;
    flex-basis: 140px;
    height: 150px;
  }
  .hero-carousel-card-overlay {
    padding: 0.5rem 0.3rem 0.3rem 0.3rem;
  }
  .hero-carousel-card-title {
    font-size: 0.8rem;
  }
  .hero-carousel-card-buybtn {
    font-size: 0.8rem;
    padding: 0.3rem 0;
  }
}

.hero-main-visual,
.hero-main-image-wrapper,
.hero-carousel-container,
.hero-right-content {
  background: none !important;
  box-shadow: none !important;
}
.hero-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: #232328 !important;
  color: #fff !important;
  border: 2px solid #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  max-width: 40px;
  max-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: none;
  border-radius: var(--btn-radius-circle) !important;
  transition: color 0.18s, transform 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 1;
  outline: none;
  box-sizing: border-box;
}
.hero-carousel-arrow.left { left: -32px; }
.hero-carousel-arrow.right { right: -32px; }
.hero-carousel-arrow:disabled,
.hero-carousel-arrow[disabled] {
  opacity: 0.3;
  pointer-events: none;
}
.hero-carousel-arrow:hover:not(:disabled) {
  background: #39563a !important;
  color: #ffffff !important;
  border-color: #39563a;
  box-shadow: 0 8px 32px rgba(59,96,45,0.18);
}

.services-cards-section {
  background: var(--bg-primary);
}

.services-section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
}

.service-card-snap {
  background: var(--bg-card);
  border-radius: 1.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease;
}

.service-card-snap:hover {
  transform: translateY(-4px);
}

.service-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  display: block;
}

.service-card-body {
  background: var(--bg-card);
  border-bottom-left-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
  padding: 1.3rem 1.2rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 auto;
  min-height: 180px;
}

.service-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.7rem;
  text-align: center;
}

.service-card-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  text-align: center;
  line-height: 1.6;
}

.service-card-btn {
  background: transparent !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
  border: 1.5px solid #fff !important;
  border-radius: 1.2rem;
  padding: 0.3rem 1.5rem;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
  outline: none;
  margin-top: auto;
  display: inline-block;
}

.service-card-btn:hover {
  background: #39563a !important;
  color: #ffffff !important;
  border-color: transparent !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 96, 45, 0.3);
}

/* Light mode overrides */
[data-theme="light"] .service-card-btn {
  color: #000 !important;
  border-color: #000 !important;
}

[data-theme="light"] .service-card-btn:hover {
  background: #39563a !important;
  color: #ffffff !important;
  border-color: transparent !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 96, 45, 0.3);
}

[data-theme="dark"] .service-card-btn {
  border-color: #fff !important;
  color: #fff !important;
}

[data-theme="dark"] .service-card-btn:hover {
  background: #39563a !important;
  color: #ffffff !important;
  border-color: transparent !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 96, 45, 0.3);
}

/* Light mode overrides */
[data-theme="light"] .services-cards-section {
  background: var(--bg-primary);
}

[data-theme="light"] .services-section-title {
  color: var(--text-primary);
}

[data-theme="light"] .service-card-snap {
  background: var(--bg-card);
  box-shadow: 0 2px 16px var(--shadow-medium);
}

[data-theme="light"] .service-card-snap:hover {
  box-shadow: 0 8px 32px var(--shadow-heavy);
}

[data-theme="light"] .service-card-body {
  background: var(--bg-card);
}

[data-theme="light"] .service-card-title {
  color: var(--text-primary);
}

[data-theme="light"] .service-card-desc {
  color: var(--text-secondary);
}

[data-theme="light"] .service-card-btn {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

[data-theme="light"] .service-card-btn:hover {
  background: var(--accent-primary);
  color: var(--bg-card);
}

@media (max-width: 991.98px) {
  .service-card-img {
    height: 180px;
  }
  .service-card-body {
    padding: 1rem 0.8rem 1rem 0.8rem;
    min-height: 140px;
  }
}

@media (max-width: 767.98px) {
  .service-card-img {
    height: 140px;
  }
  .service-card-body {
    padding: 0.8rem 0.5rem 0.8rem 0.5rem;
    min-height: 100px;
  }
  .services-section-title {
    font-size: 1.3rem;
  }
}

/* --- Services Section Title Line --- */
.services-section-title-line {
  height: 2px;
  background: var(--border-color);
  margin-left: 1.2rem;
  border-radius: 2px;
  transition: background 0.3s;
  flex-grow: 1;
  min-width: 40px;
  align-self: center;
}
[data-theme="dark"] .services-section-title-line {
  background: var(--text-secondary);
}
[data-theme="light"] .services-section-title-line {
  background: #000000;
}
@media (max-width: 767.98px) {
  .services-section-title-line {
    margin-left: 0.6rem;
    min-width: 20px;
  }
}

/* Services Section Font Consistency */
[data-lang="en"] .services-section-title,
[data-lang="en"] .service-card-title,
[data-lang="en"] .service-card-desc,
[data-lang="en"] .service-card-btn {
  font-family: 'DM Sans', sans-serif !important;
}

/* Ensure service card buttons maintain DM Sans font in English */
[data-lang="en"] .service-card-btn {
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 700;
}

/* Car Brands Section */
.car-brands-section {
  background: var(--bg-primary);
  padding: 3rem 0;
}

.car-brands-section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0;
}

.car-brands-section-title-line {
  height: 2px;
  background: var(--border-color);
  margin-left: 1.2rem;
  border-radius: 2px;
  transition: background 0.3s;
  flex-grow: 1;
  min-width: 40px;
  align-self: center;
}

.car-brands-grid {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.car-brands-grid::-webkit-scrollbar {
  display: none;
}

.car-brand-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: none;
  transition: transform 0.3s ease;
  width: 220px;
  height: 260px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.car-brand-card:hover {
  box-shadow: none;
}

.car-brand-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  flex-shrink: 0;
}

.car-brand-name {
  padding: 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  margin: 0;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

/* Dark mode overrides */
[data-theme="dark"] .car-brands-section {
  background: var(--bg-primary);
}

[data-theme="dark"] .car-brands-section-title {
  color: var(--text-primary);
}

[data-theme="dark"] .car-brands-section-title-line {
  background: var(--text-secondary);
}

[data-theme="dark"] .car-brand-card {
  background: var(--bg-card-dark);
  box-shadow: none !important;
}

[data-theme="dark"] .car-brand-card:hover {
  box-shadow: none !important;
}

[data-theme="light"] .car-brand-card {
  background: var(--bg-card);
  box-shadow: none !important;
}

[data-theme="light"] .car-brand-card:hover {
  box-shadow: none !important;
}

/* Light mode overrides */
[data-theme="light"] .car-brands-section {
  background: var(--bg-primary);
}

[data-theme="light"] .car-brands-section-title {
  color: var(--text-primary);
}

[data-theme="light"] .car-brands-section-title-line {
  background: #000000;
}

[data-theme="light"] .car-brand-card {
  background: var(--bg-card);
  box-shadow: 0 2px 16px var(--shadow-medium);
}

[data-theme="light"] .car-brand-card:hover {
  box-shadow: 0 8px 32px var(--shadow-heavy);
}

[data-theme="light"] .car-brand-name {
  color: var(--text-primary);
}

/* Responsive design */
@media (max-width: 991.98px) {
  .car-brands-grid {
    gap: 1rem;
  }
  
  .car-brand-card {
    width: 200px;
    height: 225px;
  }
  
  .car-brand-img {
    height: 160px;
  }
}

/* Prevent hero carousel arrows from moving on hover */
.hero-carousel-arrow:hover {
  transform: translateY(-50%) !important;
}

/* Hero Section Responsive Design */
@media (max-width: 1200px) {
  .hero-title, .hero-subtitle {
    font-size: 2.8rem !important;
  }
  

}

@media (max-width: 992px) {
  .hero-left-content {
    padding: 2rem 1rem;
    text-align: center;
  }
  
  .hero-right-content {
    padding: 1rem;
    justify-content: center !important;
  }
  

  
  .hero-nav-arrow {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }
  
  .hero-nav-arrow:hover {
    transform: scale(1.05);
  }
}

@media (max-width: 768px) {
  .hero-title, .hero-subtitle {
    font-size: 2.2rem !important;
  }
  
  .hero-desc {
    font-size: 1rem !important;
  }
  

  

  
  .car-card-content {
    padding: 0.8rem;
  }
  
  .car-card-title {
    font-size: 0.9rem !important;
  }
  
  .hero-main-visual {
    min-height: 600px !important;
  }
  
  .hero-main-image-wrapper {
    min-height: 600px !important;
  }
  
  .hero-content-wrapper {
    padding: 2rem 1rem;
  }
  
  .hero-left-content {
    padding: 1rem;
    text-align: center;
  }
  
  .hero-right-content {
    padding: 1rem;
    justify-content: center !important;
  }
  
  .hero-main-text {
    text-align: center;
  }
  
  .hero-carousel-container {
    max-width: 100% !important;
    margin: 0 auto !important;
  }
  
  .hero-carousel-card {
    min-width: 120px !important;
    min-height: 180px !important;
    max-width: 120px !important;
    max-height: 180px !important;
  }
  
  .hero-carousel-card-title {
    font-size: 0.8rem !important;
  }
  
  .hero-carousel-card-buybtn {
    font-size: 0.7rem !important;
    padding: 0.3rem 0.6rem !important;
  }
  
  .hero-carousel-arrow {
    width: 35px !important;
    height: 35px !important;
    font-size: 1.2rem !important;
  }
  
  .hero-carousel-arrow.left { left: -20px !important; }
  .hero-carousel-arrow.right { right: -20px !important; }
}

@media (max-width: 576px) {
  .hero-title, .hero-subtitle {
    font-size: 1.8rem !important;
  }
  
  .hero-arrow-btn .btn {
    width: 40px !important;
    height: 40px !important;
  }
  
  .hero-arrow-btn .bx {
    font-size: 1.5rem !important;
  }
  

  
  .car-card-btn {
    font-size: 0.8rem !important;
    padding: 0.4rem 0.8rem !important;
  }
  
  .car-card-title {
    font-size: 0.8rem !important;
  }
  
  .hero-main-visual {
    min-height: 500px !important;
  }
  
  .hero-main-image-wrapper {
    min-height: 500px !important;
  }
  
  .hero-content-wrapper {
    padding: 1rem;
  }
  
  .hero-left-content {
    padding: 0.5rem;
    text-align: center;
  }
  
  .hero-right-content {
    padding: 0.5rem;
    justify-content: center !important;
  }
  
  .hero-main-text {
    text-align: center;
  }
  
  .hero-title {
    font-size: 1.6rem !important;
  }
  
  .hero-desc {
    font-size: 0.9rem !important;
  }
  
  .hero-carousel-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }
  
  .hero-carousel-card {
    min-width: 100px !important;
    min-height: 150px !important;
    max-width: 100px !important;
    max-height: 150px !important;
  }
  
  .hero-carousel-card-title {
    font-size: 0.7rem !important;
  }
  
  .hero-carousel-card-buybtn {
    font-size: 0.6rem !important;
    padding: 0.2rem 0.4rem !important;
  }
  
  .hero-carousel-arrow {
    width: 30px !important;
    height: 30px !important;
    font-size: 1rem !important;
  }
  
  .hero-carousel-arrow.left { left: -15px !important; }
  .hero-carousel-arrow.right { right: -15px !important; }
}

@media (max-width: 480px) {
  .hero-title, .hero-subtitle {
    font-size: 1.5rem !important;
  }
  
  .hero-desc {
    font-size: 0.8rem !important;
  }
  

  
  .car-card-content {
    padding: 0.6rem;
  }
  
  .car-card-title {
    font-size: 0.7rem !important;
  }
  
  .car-card-btn {
    font-size: 0.7rem !important;
    padding: 0.3rem 0.6rem !important;
  }
  
  .hero-main-visual {
    min-height: 450px !important;
  }
  
  .hero-main-image-wrapper {
    min-height: 450px !important;
  }
  
  .hero-content-wrapper {
    padding: 0.5rem;
  }
  
  .hero-content-wrapper .container-fluid {
    padding: 0;
  }
  
  .hero-content-wrapper .row {
    flex-direction: column;
    height: auto !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .hero-left-content {
    padding: 0.5rem;
    text-align: center;
    order: 1;
  }
  
  .hero-right-content {
    padding: 0.5rem;
    justify-content: center !important;
    order: 2;
  }
  
  .hero-main-text {
    text-align: center;
  }
  
  .hero-title {
    font-size: 1.4rem !important;
  }
  
  .hero-desc {
    font-size: 0.8rem !important;
  }
  
  .hero-carousel-container {
    max-width: 100% !important;
    margin: 0 auto !important;
  }
  
  .hero-carousel-card {
    min-width: 90px !important;
    min-height: 120px !important;
    max-width: 90px !important;
    max-height: 120px !important;
  }
  
  .hero-carousel-card-title {
    font-size: 0.6rem !important;
  }
  
  .hero-carousel-card-buybtn {
    font-size: 0.5rem !important;
    padding: 0.2rem 0.3rem !important;
  }
  
  .hero-carousel-arrow {
    width: 25px !important;
    height: 25px !important;
    font-size: 0.8rem !important;
  }
  
  .hero-carousel-arrow.left { left: -10px !important; }
  .hero-carousel-arrow.right { right: -10px !important; }
}

@media (max-width: 360px) {
  .hero-title, .hero-subtitle {
    font-size: 1.3rem !important;
  }
  
  .hero-desc {
    font-size: 0.7rem !important;
  }
  

  
  .car-card-title {
    font-size: 0.6rem !important;
  }
  
  .car-card-btn {
    font-size: 0.6rem !important;
    padding: 0.2rem 0.4rem !important;
  }
  
  .hero-main-visual {
    min-height: 400px !important;
  }
  
  .hero-main-image-wrapper {
    min-height: 400px !important;
  }
  
  .hero-left-content {
    padding: 0.3rem;
    text-align: center;
  }
  
  .hero-right-content {
    padding: 0.3rem;
    justify-content: center !important;
  }
  
  .hero-main-text {
    text-align: center;
  }
  
  .hero-title {
    font-size: 1.2rem !important;
  }
  
  .hero-desc {
    font-size: 0.7rem !important;
  }
  
  .hero-carousel-container {
    max-width: 100% !important;
    margin: 0 auto !important;
  }
  
  .hero-carousel-card {
    min-width: 80px !important;
    min-height: 100px !important;
    max-width: 80px !important;
    max-height: 100px !important;
  }
  
  .hero-carousel-card-title {
    font-size: 0.5rem !important;
  }
  
  .hero-carousel-card-buybtn {
    font-size: 0.4rem !important;
    padding: 0.1rem 0.2rem !important;
  }
  
  .hero-carousel-arrow {
    width: 20px !important;
    height: 20px !important;
    font-size: 0.6rem !important;
  }
  
  .hero-carousel-arrow.left { left: -8px !important; }
  .hero-carousel-arrow.right { right: -8px !important; }
}

/* Car Brands Arrow Styles - Updated for centered positioning */
.car-brands-arrow {
  position: relative;
  background: transparent !important;
  color: var(--text-primary) !important;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  max-width: 40px;
  max-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: none;
  transition: color 0.2s, transform 0.2s;
  cursor: pointer;
  opacity: 1;
  outline: none;
  box-sizing: border-box;
  margin: 0 10px;
}

.car-brands-arrow.left { left: auto; }
.car-brands-arrow.right { right: auto; }

.car-brands-arrow:disabled,
.car-brands-arrow[disabled] {
  opacity: 0.3;
  pointer-events: none;
}

.car-brands-arrow:hover:not(:disabled) {
  background: transparent !important;
  color: var(--text-secondary) !important;
  transform: scale(1.1);
}

.car-brands-arrow i {
  font-size: 1.5rem;
  line-height: 1;
}

/* Responsive design for car brands arrows */
@media (max-width: 991.98px) {
  .car-brands-arrow {
    width: 35px;
    height: 35px;
    min-width: 35px;
    min-height: 35px;
    max-width: 35px;
    max-height: 35px;
    font-size: 1.2rem;
  }
  
  .car-brands-arrow i {
    font-size: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .car-brands-arrow {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    font-size: 1.3rem;
  }
  
  .car-brands-arrow i {
    font-size: 1.3rem;
  }
}

@media (max-width: 575.98px) {
  .car-brands-arrow {
    width: 35px;
    height: 35px;
    min-width: 35px;
    min-height: 35px;
    max-width: 35px;
    max-height: 35px;
    font-size: 1.1rem;
  }
  
  .car-brands-arrow i {
    font-size: 1.1rem;
  }
}

/* Portrait Card Styles */
.portrait-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.3s ease;
}

.portrait-card:hover {
  box-shadow: none;
}

.portrait-img-container {
  height: 430px;
  overflow: hidden;
  position: relative;
}

.portrait-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 0;
}

.portrait-card:hover .portrait-img-container img {
  transform: scale(1.05);
}

.portrait-card .service-card-body {
  padding: 2.5rem 1rem 2rem 1rem;
  flex-grow: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background-color: #ffffff;
  border-radius: 85px 85px 0 0;
  margin-top: -85px;
  position: relative;
  z-index: 2;
  min-height: 280px;
}

.portrait-card .service-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #333;
  margin-top: 0.5rem;
}

.portrait-card .service-card-desc {
  margin-bottom: 1.5rem;
  color: #666;
  flex-grow: 1;
  line-height: 1.6;
}

/* Use original service-card-btn styles instead of custom ones */
.portrait-card .service-card-btn {
  align-self: center;
  margin-top: auto;
}

/* Dark theme adjustments */
[data-theme="dark"] .portrait-card .service-card-body {
  background-color: #2a2a2a;
  border-radius: 85px 85px 0 0;
  padding: 2.5rem 1rem 2rem 1rem;
  justify-content: flex-start;
  align-items: center;
  min-height: 280px;
  margin-top: -85px;
}

@media (max-width: 768px) {
  .portrait-img-container {
    height: 350px;
  }
  .portrait-card .service-card-body {
    min-height: 240px;
    border-radius: 75px 75px 0 0;
    margin-top: -75px;
    padding: 2rem 1rem 1.5rem 1rem;
  }
}

@media (max-width: 576px) {
  .portrait-img-container {
    height: 300px;
  }
  .portrait-card .service-card-body {
    min-height: 200px;
    border-radius: 65px 65px 0 0;
    margin-top: -65px;
    padding: 1.5rem 0.8rem 1.2rem 0.8rem;
  }
}

[data-theme="dark"] .car-brand-card {
  background: var(--bg-card-dark);
  box-shadow: none;
}

[data-theme="dark"] .car-brand-card:hover {
  box-shadow: none;
}

[data-theme="light"] .car-brand-card {
  background: var(--bg-card);
  box-shadow: none !important;
}

[data-theme="light"] .car-brand-card:hover {
  box-shadow: none !important;
}

[data-theme="light"] .car-brand-card:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Hero Form Overlay Styles */
.hero-form-overlay {
    z-index: 5;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    transform: translateY(-120px);
}

.hero-form-container {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-form-container:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.hero-form-btn {
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    color: #495057 !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

.hero-form-btn:hover {
    background: #e9ecef !important;
    border-color: #dee2e6 !important;
    color: #212529 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-form-btn:focus {
    background: #e9ecef !important;
    border-color: #0d6efd !important;
    color: #212529 !important;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Dark mode overrides for hero form */
[data-theme="dark"] .hero-form-container {
    background: rgba(24, 24, 24, 0.95) !important;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .hero-form-btn {
    background: #2d2d32 !important;
    border: 1px solid #404040 !important;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .hero-form-btn:hover {
    background: #404040 !important;
    border-color: #505050 !important;
    color: #ffffff !important;
}

[data-theme="dark"] .hero-form-btn:focus {
    background: #404040 !important;
    border-color: #0d6efd !important;
    color: #ffffff !important;
}

/* Responsive design for hero form */
@media (max-width: 1200px) {
    .hero-form-overlay {
        max-width: 1000px;
        transform: translateY(-100px);
        padding: 0 20px;
    }
    
    .hero-form-container {
        padding: 1rem !important;
    }
    
    .hero-form-btn,
    .hero-form-submit-btn {
        font-size: 0.85rem !important;
        padding: 0.75rem 0.5rem !important;
    }
}

@media (max-width: 991.98px) {
    .hero-form-overlay {
        max-width: 800px;
        transform: translateY(-80px);
        margin-bottom: -60px;
        padding: 0 15px;
    }
    
    .hero-form-container {
        padding: 0.75rem !important;
    }
    
    .hero-form-btn,
    .hero-form-submit-btn {
        font-size: 0.8rem !important;
        padding: 0.6rem 0.4rem !important;
    }
}

@media (max-width: 767.98px) {
    .hero-form-overlay {
        max-width: 600px;
        transform: translateY(-60px);
        margin-bottom: -40px;
        padding: 0 10px;
    }
    
    .hero-form-container {
        padding: 0.5rem !important;
    }
    
    .hero-form-btn,
    .hero-form-submit-btn {
        font-size: 0.75rem !important;
        padding: 0.5rem 0.3rem !important;
        min-height: 45px;
    }
}

@media (max-width: 575.98px) {
    .hero-form-overlay {
        max-width: 100%;
        transform: translateY(-40px);
        margin-bottom: -30px;
        padding: 0 8px;
    }
    
    .hero-form-container {
        padding: 0.4rem !important;
    }
    
    .hero-form-btn,
    .hero-form-submit-btn {
        font-size: 0.7rem !important;
        padding: 0.4rem 0.2rem !important;
        min-height: 40px;
    }
}

@media (max-width: 480px) {
    .hero-form-overlay {
        max-width: 100%;
        transform: translateY(-30px);
        margin-bottom: -20px;
        padding: 0 5px;
    }
    
    .hero-form-container {
        padding: 0.3rem !important;
    }
    
    .hero-form-btn,
    .hero-form-submit-btn {
        font-size: 0.65rem !important;
        padding: 0.3rem 0.15rem !important;
        min-height: 35px;
    }
}

@media (max-width: 360px) {
    .hero-form-overlay {
        max-width: 100%;
        transform: translateY(-20px);
        margin-bottom: -15px;
        padding: 0 3px;
    }
    
    .hero-form-container {
        padding: 0.25rem !important;
    }
    
    .hero-form-btn,
    .hero-form-submit-btn {
        font-size: 0.6rem !important;
        padding: 0.25rem 0.1rem !important;
        min-height: 30px;
    }
}

[data-theme="light"] .service-card-snap {
  background: var(--bg-card);
}


/* Force remove shadows from service cards */
.service-card-snap,
.service-card-snap:hover,
[data-theme="dark"] .service-card-snap,
[data-theme="dark"] .service-card-snap:hover,
[data-theme="light"] .service-card-snap,
[data-theme="light"] .service-card-snap:hover,
.portrait-card,
.portrait-card:hover {
  box-shadow: none !important;
}

[data-theme="light"] .service-card-snap {
  background: var(--bg-card);
}



.hero-carousel-card-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  width: 100%;
  padding: 1rem 0.7rem 0.7rem 0.7rem;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 0 0 1.2rem 1.2rem;
}

/* New overlay structure for top and bottom positioning */
.hero-carousel-card-overlay-top {
  position: absolute;
  left: 0; right: 0; top: 0;
  z-index: 2;
  width: 100%;
  padding: 1.2rem 1.2rem 0 1.2rem;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 1.2rem 1.2rem 0 0;
}

.hero-carousel-card-overlay-bottom {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  width: 100%;
  padding: 0 1.2rem 1.2rem 1.2rem;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 0 0 1.2rem 1.2rem;
}

@media (max-width: 900px) {
  .hero-carousel-card {
    min-width: 170px;
    max-width: 190px;
    flex-basis: 170px;
    height: 225px;
  }
  .hero-carousel-card-overlay-top {
    padding: 1rem 0.7rem 0 0.7rem;
  }
  .hero-carousel-card-overlay-bottom {
    padding: 0 0.7rem 0.7rem 0.7rem;
  }
  .hero-carousel-card-title {
    font-size: 1rem;
  }
  /* Remove conflicting button definition that overrides green colors */
}
@media (max-width: 600px) {
  .hero-carousel-card {
    min-width: 120px;
    max-width: 140px;
    flex-basis: 120px;
    height: 160px;
  }
  .hero-carousel-card-overlay-top {
    padding: 0.5rem 0.3rem 0 0.3rem;
  }
  .hero-carousel-card-overlay-bottom {
    padding: 0 0.3rem 0.3rem 0.3rem;
  }
  .hero-carousel-card-title {
    font-size: 0.8rem;
  }
  /* Remove conflicting button definition that overrides green colors */
}

.hero-carousel-card:before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 30%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(24,24,28,0.8) 0%, rgba(24,24,28,0.0) 100%);
}

.hero-carousel-card:after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 35%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(24,24,28,0.8) 70%, rgba(24,24,28,0.0) 100%);
}

/* RTL Support for Section Titles (Kurdish and Arabic) */
[data-lang="ku"] .d-flex.align-items-center.mb-4,
[data-lang="ar"] .d-flex.align-items-center.mb-4 {
    flex-direction: row-reverse;
}

[data-lang="ku"] .services-section-title-line,
[data-lang="ar"] .services-section-title-line,
[data-lang="ku"] .car-brands-section-title-line,
[data-lang="ar"] .car-brands-section-title-line,
[data-lang="ku"] .map-showcase-title-line,
[data-lang="ar"] .map-showcase-title-line {
    margin-left: 0 !important;
    margin-right: 1.2rem !important;
}

[data-lang="ku"] .services-section-title,
[data-lang="ar"] .services-section-title,
[data-lang="ku"] .car-brands-section-title,
[data-lang="ar"] .car-brands-section-title,
[data-lang="ku"] .map-showcase-title,
[data-lang="ar"] .map-showcase-title {
    text-align: right;
}

/* Ensure proper spacing in RTL mode */
[data-lang="ku"] .d-flex.align-items-center.mb-4 > *:first-child,
[data-lang="ar"] .d-flex.align-items-center.mb-4 > *:first-child {
    margin-left: 0;
    margin-right: 0;
}

[data-lang="ku"] .d-flex.align-items-center.mb-4 > *:last-child,
[data-lang="ar"] .d-flex.align-items-center.mb-4 > *:last-child {
    margin-right: 0;
    margin-left: 0;
}

@media (max-width: 1200px) {
  .hero-carousel-card {
    min-width: 200px;
    max-width: 220px;
    flex-basis: 200px;
    height: 275px;
  }
}

.hero-form-overlay {
  position: relative;
  z-index: 50;
  max-width: 1200px;
  margin: 0 auto;
  transform: translateY(-150px);
  margin-bottom: -100px;
}

.hero-form-input {
  background: #f8f9fa !important;
  border: none !important;
  color: #212529 !important;
  font-family: 'QyamFont', sans-serif !important;
  transition: all 0.3s ease !important;
}

.hero-form-input:focus {
  background: #ffffff !important;
  box-shadow: 0 0 0 0.2rem rgba(57, 86, 58, 0.6) !important;
  outline: none !important;
}

.hero-form-input::placeholder {
  color: #6c757d !important;
  font-family: 'QyamFont', sans-serif !important;
}

.hero-form-submit-btn {
  background: #212529 !important;
  border: 1px solid #232328 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  position: relative;
  overflow: hidden;
}

.hero-form-submit-btn:hover {
  background: #000000 !important;
  border-color: #000000 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-form-submit-btn:focus {
  background: #000000 !important;
  border-color: #0d6efd !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Car Specification Modal Styling */
#carSpecificationModal .modal-content {
  border-radius: 1rem;
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

#carSpecificationModal .modal-header {
  border-bottom: 1px solid #e9ecef;
  padding: 1.5rem 1.5rem 1rem 1.5rem;
}

#carSpecificationModal .modal-title {
  font-family: 'QyamFont', sans-serif;
  font-weight: 600;
  color: #212529;
}

#carSpecificationModal .modal-body {
  padding: 1.5rem;
}

#carSpecificationModal .form-control {
  border-radius: 0.75rem;
  border: 1px solid #e9ecef;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
  font-family: 'QyamFont', sans-serif;
}

#carSpecificationModal .form-control:focus {
  border-color: #39563a;
  box-shadow: 0 0 0 0.2rem rgba(57, 86, 58, 0.6);
  background-color: #ffffff;
}

#carSpecificationModal select.form-control {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  padding-right: 2.5rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

#carSpecificationModal select.form-control:focus {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2339563a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
}

#carSpecificationModal select.form-control option {
  background-color: #ffffff;
  color: #212529;
  font-family: 'QyamFont', sans-serif;
  padding: 0.5rem;
}

#carSpecificationModal select.form-control option:hover {
  background-color: #f8f9fa;
}

#carSpecificationModal .btn-close {
  background-size: 1.2em;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

#carSpecificationModal .btn-close:hover {
  opacity: 1;
}

/* Modal Animation */
.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
  transform: translate(0, -50px);
}

.modal.show .modal-dialog {
  transform: none;
}

.hero-form-overlay {
  position: relative;
  z-index: 50;
  max-width: 1200px;
  margin: 0 auto;
  transform: translateY(-150px);
  margin-bottom: -100px;
}

.hero-form-container {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  transition: all 0.3s ease !important;
}

.hero-form-container:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
}

.hero-form-input {
  background: #f8f9fa !important;
  border: none !important;
  color: #212529 !important;
  font-family: 'QyamFont', sans-serif !important;
  transition: all 0.3s ease !important;
}

.hero-form-input:focus {
  background: #ffffff !important;
  box-shadow: 0 0 0 0.2rem rgba(57, 86, 58, 0.6) !important;
  outline: none !important;
}

.hero-form-input::placeholder {
  color: #6c757d !important;
  font-family: 'QyamFont', sans-serif !important;
}

.hero-form-submit-btn {
  background: #212529 !important;
  border: 1px solid #232328 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  position: relative;
  overflow: hidden;
}

.hero-form-submit-btn:hover {
  background: #000000 !important;
  border-color: #000000 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-form-submit-btn:focus {
  background: #000000 !important;
  border-color: #0d6efd !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Responsive Hero Form Overlay */
@media (max-width: 1200px) {
    .hero-form-overlay {
        max-width: 1000px;
        transform: translateY(-120px);
    }
}

@media (max-width: 991.98px) {
    .hero-form-overlay {
        max-width: 800px;
        transform: translateY(-100px);
        margin-bottom: -80px;
    }
    
    .hero-form-container {
        padding: 1rem !important;
    }
    
    .hero-form-input,
    .hero-form-submit-btn {
        font-size: 0.85rem !important;
        padding: 0.6rem 0.8rem !important;
    }
}

@media (max-width: 767.98px) {
    .hero-form-overlay {
        max-width: 600px;
        transform: translateY(-80px);
        margin-bottom: -60px;
    }
    
    .hero-form-container {
        padding: 0.75rem !important;
    }
    
    .hero-form-input,
    .hero-form-submit-btn {
        font-size: 0.8rem !important;
        padding: 0.5rem 0.7rem !important;
    }
}

@media (max-width: 575.98px) {
    .hero-form-overlay {
        max-width: 100%;
        transform: translateY(-60px);
        margin-bottom: -40px;
        padding: 0 1rem;
    }
    
    .hero-form-container {
        padding: 0.5rem !important;
    }
    
    .hero-form-input,
    .hero-form-submit-btn {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.6rem !important;
    }
}

#carSpecificationModal select.form-control option {
  background-color: #ffffff;
  color: #212529;
  font-family: 'QyamFont', sans-serif;
  padding: 0.5rem;
}

#carSpecificationModal select.form-control option:hover {
  background-color: #f8f9fa;
}

/* Custom Color Dropdown Styling */
#carSpecificationModal select#carColor {
  background-image: none;
  padding-right: 0.75rem;
}

#carSpecificationModal select#carColor option {
  position: relative;
  padding-left: 2rem;
}

/* Color Circle Styling */
.color-circle {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-right: 8px;
  border: 1px solid #ddd;
  vertical-align: middle;
}

/* Custom Color Dropdown with Circles */
#carSpecificationModal select#carColor option[data-color]::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
  background-color: var(--color-value);
  border: 1px solid #ccc;
  vertical-align: middle;
}

/* Enhanced Color Dropdown Styling */
#carSpecificationModal select#carColor {
  font-weight: 500;
}

#carSpecificationModal select#carColor option {
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Disabled dropdown styling */
#carSpecificationModal select.form-control:disabled {
  background-color: #e9ecef !important;
  color: #6c757d !important;
  cursor: not-allowed;
  opacity: 0.6;
}

#carSpecificationModal select.form-control:disabled option {
  color: #6c757d;
  background-color: #e9ecef;
}

/* Dynamic dropdown transitions */
#carSpecificationModal select.form-control {
  transition: all 0.3s ease;
}

#carSpecificationModal select.form-control:not(:disabled) {
  background-color: #ffffff;
  color: #212529;
  cursor: pointer;
}

.footer-col-title {
    font-size: 1.1rem;
    font-weight: 800 !important;
    color: var(--footer-text);
    margin-bottom: 1.1rem;
}

.footer-title-separator {
    width: 100%;
    height: 2px;
    background: var(--footer-text);
    margin-bottom: 1rem;
    opacity: 0.6 !important;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem 0;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: #555 !important;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600 !important;
    transition: color 0.2s;
    font-family: inherit !important;
}

.footer-links a:hover {
    color: var(--footer-text);
}

/* Right-to-left alignment for Kurdish and Arabic */
[data-lang="ku"] .footer-col-title,
[data-lang="ar"] .footer-col-title {
    text-align: right;
    font-weight: 900 !important;
    font-family: 'QyamFont', sans-serif !important;
}

[data-lang="ku"] .footer-links,
[data-lang="ar"] .footer-links {
    text-align: right;
}

[data-lang="ku"] .footer-links a,
[data-lang="ar"] .footer-links a {
    text-align: right;
    display: block;
    font-weight: 700 !important;
    font-family: 'QyamFont', sans-serif !important;
}

/* Car brand card link styles */
.car-brand-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.car-brand-card-link:hover {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.car-brand-card-link:hover .car-brand-card {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}



/* Right-to-left alignment for Kurdish and Arabic */
[data-lang="ku"] .footer-col-title,
[data-lang="ar"] .footer-col-title {
    text-align: right;
    font-weight: 900 !important;
    font-family: 'QyamFont', sans-serif !important;
}

[data-lang="ku"] .footer-desc,
[data-lang="ar"] .footer-desc {
    text-align: right;
}

[data-lang="ku"] .footer-links,
[data-lang="ar"] .footer-links {
    text-align: right;
}

/* Dark mode specific footer background */
[data-theme="dark"] .footer-section {
    background: var(--footer-bg) url('../img/footer4.png') !important;
    background-size: contain !important;
    background-position: center bottom !important;
    background-repeat: no-repeat !important;
}

/* Ensure dark mode footer has proper background color */
[data-theme="dark"] .footer-section {
    background-color: var(--footer-bg) !important;
}

/* Ensure footer copyright uses proper dark mode colors */
[data-theme="dark"] .footer-copyright {
    background-color: #181818 !important;
    color: #ffffff !important;
}

/* Additional specific dark mode footer copyright rule */
[data-theme="dark"] .footer-section .footer-copyright {
    background: #181818 !important;
    color: #ffffff !important;
}

/* Dark mode footer column titles */
[data-theme="dark"] .footer-col-title {
    color: var(--footer-text) !important;
}

/* Ensure footer titles are visible in dark mode */
[data-theme="dark"] .footer-col-title {
    color: #ffffff !important;
}

/* Dark mode hero form input styles */
[data-theme="dark"] .hero-form-input {
    background: var(--bg-tertiary) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .hero-form-input:focus {
    background: var(--bg-secondary) !important;
    border-color: var(--accent-secondary) !important;
    box-shadow: 0 0 0 0.2rem rgba(59, 96, 45, 0.25) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .hero-form-input::placeholder {
    color: var(--text-tertiary) !important;
}

/* Dark mode hero form submit button */
[data-theme="dark"] .hero-form-submit-btn {
    background: var(--accent-secondary) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--accent-secondary) !important;
}

[data-theme="dark"] .hero-form-submit-btn:hover {
    background: #4a7a3a !important;
    border-color: #4a7a3a !important;
    color: var(--text-primary) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(59, 96, 45, 0.3) !important;
}

[data-theme="dark"] .hero-form-submit-btn:focus {
    background: #4a7a3a !important;
    border-color: var(--accent-secondary) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(59, 96, 45, 0.25) !important;
}

/* Dark mode car specification modal styles */
[data-theme="dark"] #carSpecificationModal .modal-content {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] #carSpecificationModal .modal-header {
    border-bottom: 1px solid var(--border-color) !important;
    background: var(--bg-secondary) !important;
}

[data-theme="dark"] #carSpecificationModal .modal-title {
    color: var(--text-primary) !important;
}

[data-theme="dark"] #carSpecificationModal .modal-body {
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] #carSpecificationModal .form-control {
    background-color: var(--bg-tertiary) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] #carSpecificationModal .form-control:focus {
    background-color: var(--bg-secondary) !important;
    border-color: var(--accent-secondary) !important;
    box-shadow: 0 0 0 0.2rem rgba(59, 96, 45, 0.25) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] #carSpecificationModal select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e") !important;
}

[data-theme="dark"] #carSpecificationModal select.form-control:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%233b602d' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e") !important;
}

[data-theme="dark"] #carSpecificationModal select.form-control option {
    background-color: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] #carSpecificationModal select.form-control option:hover {
    background-color: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] #carSpecificationModal .btn-close {
    filter: invert(1) !important;
    opacity: 0.7 !important;
}

[data-theme="dark"] #carSpecificationModal .btn-close:hover {
    opacity: 1 !important;
}

/* Dark mode modal backdrop */
[data-theme="dark"] .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

/* Dark mode modal submit button */
[data-theme="dark"] #carSpecificationModal .hero-form-submit-btn {
    background: var(--accent-secondary) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--accent-secondary) !important;
}

[data-theme="dark"] #carSpecificationModal .hero-form-submit-btn:hover {
    background: #4a7a3a !important;
    border-color: #4a7a3a !important;
    color: var(--text-primary) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(59, 96, 45, 0.3) !important;
}

/* Clean modal input styles - remove any problematic patterns */
#carSpecificationModal .form-control {
  border-radius: 0.75rem;
  border: 1px solid #e9ecef;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
  font-family: 'QyamFont', sans-serif;
  background-image: none !important;
}

#carSpecificationModal .form-control:focus {
  border-color: #39563a;
  box-shadow: 0 0 0 0.2rem rgba(57, 86, 58, 0.6);
  background-color: #ffffff;
  background-image: none !important;
}

#carSpecificationModal select.form-control {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  padding-right: 2.5rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

#carSpecificationModal select.form-control:focus {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2339563a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
}

#carSpecificationModal select.form-control option {
  background-color: #ffffff;
  color: #212529;
  font-family: 'QyamFont', sans-serif;
  padding: 0.5rem;
}

#carSpecificationModal select.form-control option:hover {
  background-color: #f8f9fa;
}

/* Dark mode clean modal input styles */
[data-theme="dark"] #carSpecificationModal .form-control {
  background-color: var(--bg-tertiary) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-primary) !important;
  background-image: none !important;
}

[data-theme="dark"] #carSpecificationModal .form-control:focus {
  background-color: var(--bg-secondary) !important;
  border-color: var(--accent-secondary) !important;
  box-shadow: 0 0 0 0.2rem rgba(59, 96, 45, 0.25) !important;
  color: var(--text-primary) !important;
  background-image: none !important;
}

[data-theme="dark"] #carSpecificationModal select.form-control {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e") !important;
}

[data-theme="dark"] #carSpecificationModal select.form-control:focus {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%233b602d' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e") !important;
}

[data-theme="dark"] #carSpecificationModal select.form-control option {
  background-color: var(--bg-tertiary) !important;
  color: var(--text-primary) !important;
}

[data-theme="dark"] #carSpecificationModal select.form-control option:hover {
  background-color: var(--bg-secondary) !important;
  color: var(--text-primary) !important;
}

/* Clean placeholder styles for modal inputs */
#carSpecificationModal .form-control::placeholder {
  color: #6c757d !important;
  font-family: 'QyamFont', sans-serif !important;
  opacity: 1 !important;
}

[data-theme="dark"] #carSpecificationModal .form-control::placeholder {
  color: var(--text-tertiary) !important;
  font-family: 'QyamFont', sans-serif !important;
  opacity: 1 !important;
}

/* Ensure no background patterns on inputs */
#carSpecificationModal .form-control,
[data-theme="dark"] #carSpecificationModal .form-control {
  background-repeat: no-repeat !important;
  background-size: auto !important;
  background-position: initial !important;
}

/* Force dark mode styling for all modal inputs */
[data-theme="dark"] #carSpecificationModal input.form-control,
[data-theme="dark"] #carSpecificationModal select.form-control {
  background-color: var(--bg-tertiary) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-primary) !important;
}

[data-theme="dark"] #carSpecificationModal input.form-control:focus,
[data-theme="dark"] #carSpecificationModal select.form-control:focus {
  background-color: var(--bg-secondary) !important;
  border-color: var(--accent-secondary) !important;
  box-shadow: 0 0 0 0.2rem rgba(59, 96, 45, 0.25) !important;
  color: var(--text-primary) !important;
}

/* Ensure select dropdown arrows are visible in dark mode */
[data-theme="dark"] #carSpecificationModal select.form-control {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 16px 12px !important;
  padding-right: 2.5rem !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}

[data-theme="dark"] #carSpecificationModal select.form-control:focus {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%233b602d' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e") !important;
}

/* Override any light mode styles that might be interfering */
[data-theme="dark"] #carSpecificationModal .form-control {
  background-color: var(--bg-tertiary) !important;
  color: var(--text-primary) !important;
  border-color: var(--border-color) !important;
}

[data-theme="dark"] #carSpecificationModal .form-control:focus {
  background-color: var(--bg-secondary) !important;
  color: var(--text-primary) !important;
  border-color: var(--accent-secondary) !important;
}

/* Ensure all modal select elements have visible dropdown arrows in light mode */
#carSpecificationModal select.form-control,
#carSpecificationModal select.hero-form-input {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 16px 12px !important;
  padding-right: 2.5rem !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}

#carSpecificationModal select.form-control:focus,
#carSpecificationModal select.hero-form-input:focus {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2339563a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e") !important;
}

/* Force dropdown arrows for all select elements in the modal */
#carSpecificationModal select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 16px 12px !important;
  padding-right: 2.5rem !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}

#carSpecificationModal select:focus {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2339563a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e") !important;
}

/* Light mode button hover colors */
[data-theme="light"] .hero-form-submit-btn:hover,
[data-theme="light"] .hero-form-btn:hover {
  background: #39563a !important;
  border-color: transparent !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(59, 96, 45, 0.3) !important;
}

/* Light mode modal save button hover */
[data-theme="light"] #carSpecificationModal .hero-form-submit-btn:hover {
  background: #39563a !important;
  border-color: transparent !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(59, 96, 45, 0.3) !important;
}

[data-theme="dark"] .portrait-card .service-card-body {
  background-color: #2a2a2a;
  border-radius: 85px 85px 0 0;
  padding: 2.5rem 1rem 2rem 1rem;
  justify-content: flex-start;
  align-items: center;
  min-height: 280px;
  margin-top: -85px;
}

[data-theme="dark"] .portrait-card .service-card-title {
  color: #f0f0f0;
}

[data-theme="dark"] .portrait-card .service-card-desc {
  color: #cccccc;
}

@media (max-width: 768px) {
  .portrait-img-container {
    height: 350px;
  }
  .portrait-card .service-card-body {
    min-height: 240px;
    border-radius: 75px 75px 0 0;
    margin-top: -75px;
    padding: 2rem 1rem 1.5rem 1rem;
  }
}

@media (max-width: 576px) {
  .portrait-img-container {
    height: 300px;
  }
  .portrait-card .service-card-body {
    min-height: 200px;
    border-radius: 65px 65px 0 0;
    margin-top: -65px;
    padding: 1.5rem 0.8rem 1.2rem 0.8rem;
  }
}

[data-theme="light"] .service-card-btn:hover {
  background: #39563a !important;
  color: #ffffff !important;
  border-color: transparent !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 96, 45, 0.3);
}

/* Portrait card button hover styles */
.portrait-card .service-card-btn:hover {
  background: #39563a !important;
  color: #ffffff !important;
  border-color: transparent !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 96, 45, 0.3);
}

[data-theme="dark"] .portrait-card .service-card-btn:hover {
  background: #39563a !important;
  color: #ffffff !important;
  border-color: transparent !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 96, 45, 0.3);
}

[data-theme="light"] .portrait-card .service-card-btn:hover {
  background: #39563a !important;
  color: #ffffff !important;
  border-color: transparent !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 96, 45, 0.3);
}

/* Force correct green color scheme for hero carousel card buttons */
.hero-carousel-card-buybtn {
  background: transparent !important;
  color: #e2e2e2 !important;
  border: 3px solid #e7e7e7 !important;
  box-shadow: 0 0 0 2px rgba(235, 235, 235, 0.18) !important;
}

.hero-carousel-card-buybtn:hover {
  background: #39563a !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 8px 32px rgba(29,231,130,0.18) !important;
}

/* Force car brand names to never show underlines */
.car-brand-name,
.car-brand-card .car-brand-name,
.car-brand-card-link .car-brand-name {
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-style: none !important;
  text-decoration-color: transparent !important;
}

/* Force footer title separators to be visible */
.footer-title-separator {
  opacity: 0.6 !important;
  background: var(--footer-text) !important;
  height: 2px !important;
  width: 100% !important;
}

/* Force footer copyright to have no border radius */
.footer-copyright {
  border-radius: 0 !important;
}

/* Force header logo to have proper sizing */
.navbar-brand img,
.header-logo-img {
  max-height: 50px !important;
  max-width: 180px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

.navbar-brand {
  max-width: 300px !important;
  flex-shrink: 0 !important;
}

/* Force FontAwesome icons in footer links to be visible */
.footer-links i.fa-solid,
.footer-links .fa-solid,
.footer-links i.fa-arrow-up-right-from-square,
.footer-links .fa-arrow-up-right-from-square {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: inherit !important;
  font-size: 0.9rem !important;
  margin-right: 8px !important;
  vertical-align: middle !important;
}

/* Ensure footer links display icons properly */
.footer-links a {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.footer-links a i {
  flex-shrink: 0 !important;
}

/* Force clean dropdown styling for rent form select elements */
select.form-control,
select.hero-form-input,
select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
  background-position: right 0.5rem center !important;
  background-repeat: no-repeat !important;
  background-size: 1.5em 1.5em !important;
  padding-right: 2.5rem !important;
  background-color: #f8f9fa !important;
  border: 1px solid #e9ecef !important;
  border-radius: 0.5rem !important;
  padding: 0.75rem 1rem !important;
  font-size: 1rem !important;
  color: #495057 !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  /* Remove any white overlay */
  box-shadow: none !important;
  outline: none !important;
  /* Override any conflicting styles */
  background-clip: border-box !important;
  background-origin: border-box !important;
  background-attachment: scroll !important;
  background-size: 1.5em 1.5em !important;
  background-position: right 0.5rem center !important;
  background-repeat: no-repeat !important;
}

select.form-control:focus,
select.hero-form-input:focus,
select:focus {
  outline: none !important;
  border-color: transparent !important;
  box-shadow: 0 0 0 2px rgba(57, 86, 58, 0.1) !important;
  background-color: #f8f9fa !important;
  /* Remove any white overlay on focus */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
  background-position: right 0.5rem center !important;
  background-repeat: no-repeat !important;
  background-size: 1.5em 1.5em !important;
}

/* Remove any custom dropdown arrows */
select.form-control::-ms-expand,
select.hero-form-input::-ms-expand,
select::-ms-expand {
  display: none !important;
}

/* Ensure dropdown arrows are visible and consistent */
select.form-control,
select.hero-form-input,
select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
  background-position: right 0.5rem center !important;
  background-repeat: no-repeat !important;
  background-size: 1.5em 1.5em !important;
  padding-right: 2.5rem !important;
  background-color: #f8f9fa !important;
  border: 1px solid #e9ecef !important;
  border-radius: 0.5rem !important;
  padding: 0.75rem 1rem !important;
  /* Remove any white overlay */
  box-shadow: none !important;
  /* Override any conflicting styles */
  background-clip: border-box !important;
  background-origin: border-box !important;
  background-attachment: scroll !important;
}

/* Additional override for any Bootstrap or framework conflicts */
select.form-control,
select.hero-form-input,
select,
select[class*="form-control"],
select[class*="hero-form-input"] {
  background-color: #f8f9fa !important;
  border: 1px solid #e9ecef !important;
  box-shadow: none !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
  background-position: right 0.5rem center !important;
  background-repeat: no-repeat !important;
  background-size: 1.5em 1.5em !important;
  padding-right: 2.5rem !important;
}

/* ULTIMATE OVERRIDE - Force remove white overlay from ALL select elements */
select,
select *,
select.form-control,
select.hero-form-input,
select[class*="form-control"],
select[class*="hero-form-input"],
select[class*="form-control"] *,
select[class*="hero-form-input"] *,
select.form-control *,
select.hero-form-input * {
  background-color: #f8f9fa !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
  background-position: right 0.5rem center !important;
  background-repeat: no-repeat !important;
  background-size: 1.5em 1.5em !important;
  border: 1px solid #e9ecef !important;
  border-radius: 0.5rem !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0.75rem 1rem !important;
  padding-right: 2.5rem !important;
  color: #495057 !important;
  font-size: 1rem !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-clip: border-box !important;
  background-origin: border-box !important;
  background-attachment: scroll !important;
}

/* Remove any pseudo-elements that might be creating white overlays */
select::before,
select::after,
select.form-control::before,
select.form-control::after,
select.hero-form-input::before,
select.hero-form-input::after {
  display: none !important;
  content: none !important;
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
}

/* Force override for any Bootstrap select styling */
.form-control[type="select"],
.form-control select,
select.form-control,
select.hero-form-input {
  background-color: #f8f9fa !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
  background-position: right 0.5rem center !important;
  background-repeat: no-repeat !important;
  background-size: 1.5em 1.5em !important;
  border: 1px solid #e9ecef !important;
  border-radius: 0.5rem !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0.75rem 1rem !important;
  padding-right: 2.5rem !important;
  color: #495057 !important;
  font-size: 1rem !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}

/* COMPLETELY REMOVE ALL EXISTING SELECT STYLES AND START FRESH */
select,
select.form-control,
select.hero-form-input,
select[class*="form-control"],
select[class*="hero-form-input"],
select *,
select.form-control *,
select.hero-form-input *,
select[class*="form-control"] *,
select[class*="hero-form-input"] * {
  /* Reset everything */
  all: unset !important;
  /* Apply only gray background styling */
  background-color: #f8f9fa !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
  background-position: right 0.5rem center !important;
  background-repeat: no-repeat !important;
  background-size: 1.5em 1.5em !important;
  border: 1px solid #e9ecef !important;
  border-radius: 0.5rem !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0.75rem 1rem !important;
  padding-right: 2.5rem !important;
  color: #495057 !important;
  font-size: 1rem !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  line-height: 1.5 !important;
  font-family: inherit !important;
  margin: 0 !important;
}

/* Remove any pseudo-elements */
select::before,
select::after,
select.form-control::before,
select.form-control::after,
select.hero-form-input::before,
select.hero-form-input::after {
  display: none !important;
  content: none !important;
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
}

/* Focus state */
select:focus,
select.form-control:focus,
select.hero-form-input:focus {
  outline: none !important;
  border-color: transparent !important;
  box-shadow: 0 0 0 2px rgba(57, 86, 58, 0.1) !important;
  background-color: #f8f9fa !important;
}

/* Remove any Bootstrap or framework overrides */
.form-control select,
select.form-control,
select.hero-form-input {
  background-color: #f8f9fa !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
  background-position: right 0.5rem center !important;
  background-repeat: no-repeat !important;
  background-size: 1.5em 1.5em !important;
  border: 1px solid #e9ecef !important;
  border-radius: 0.5rem !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0.75rem 1rem !important;
  padding-right: 2.5rem !important;
  color: #495057 !important;
  font-size: 1rem !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}

/* Force modal content to have proper width and ensure dropdowns fit */
#carSpecificationModal .modal-content {
  max-width: 500px !important;
  width: 100% !important;
  margin: 0 auto !important;
}

#carSpecificationModal .modal-body {
  padding: 1.5rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

#carSpecificationModal .form-control,
#carSpecificationModal select.form-control,
#carSpecificationModal select.hero-form-input {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0.75rem 1rem !important;
  padding-right: 2.5rem !important;
}

/* Ensure modal dialog has proper width */
#carSpecificationModal .modal-dialog {
  max-width: 500px !important;
  width: 90% !important;
  margin: 1.75rem auto !important;
}

/* Responsive modal sizing */
@media (max-width: 576px) {
  #carSpecificationModal .modal-dialog {
    width: 95% !important;
    margin: 0.5rem auto !important;
  }
  
  #carSpecificationModal .modal-content {
    max-width: 100% !important;
  }
  
  #carSpecificationModal .modal-body {
    padding: 1rem !important;
  }
}

.hero-form-input:focus {
  background: #ffffff !important;
  box-shadow: 0 0 0 0.2rem rgba(57, 86, 58, 0.6) !important;
  outline: none !important;
}

/* Focus state for modal form controls */

#carSpecificationModal .form-control:focus {
  border-color: #39563a;
  box-shadow: 0 0 0 0.2rem rgba(57, 86, 58, 0.6);
  background-color: #ffffff;
}

/* Services Section Font Consistency */
[data-lang="en"] .services-section-title,
[data-lang="en"] .service-card-title,
[data-lang="en"] .service-card-desc,
[data-lang="en"] .service-card-btn {
  font-family: 'DM Sans', sans-serif !important;
}

/* Ensure service card buttons maintain DM Sans font in English */
[data-lang="en"] .service-card-btn {
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 700;
}

/* RTL text alignment for Kurdish and Arabic */
[data-lang="ku"] .service-card-title,
[data-lang="ku"] .service-card-desc,
[data-lang="ar"] .service-card-title,
[data-lang="ar"] .service-card-desc {
  text-align: right !important;
  direction: rtl;
}

[data-lang="ku"] .service-card-body,
[data-lang="ar"] .service-card-body {
  text-align: right !important;
  direction: rtl;
}

[data-lang="ku"] .service-card-btn,
[data-lang="ar"] .service-card-btn {
  text-align: center !important;
  direction: ltr;
}

/* Right-to-left alignment for Kurdish and Arabic - same pattern as footer */
[data-lang="ku"] .service-card-title,
[data-lang="ar"] .service-card-title {
    text-align: right;
    font-weight: 900 !important;
    font-family: 'QyamFont', sans-serif !important;
}

[data-lang="ku"] .service-card-desc,
[data-lang="ar"] .service-card-desc {
    text-align: right;
    font-weight: 700 !important;
    font-family: 'QyamFont', sans-serif !important;
}

[data-lang="ku"] .service-card-body,
[data-lang="ar"] .service-card-body {
    text-align: right;
}

[data-lang="ku"] .service-card-btn,
[data-lang="ar"] .service-card-btn {
    text-align: center !important;
    direction: ltr;
}

[data-lang="ku"] .service-card-btn,
[data-lang="ar"] .service-card-btn {
    text-align: center !important;
    direction: ltr;
}

/* Right-to-left alignment for Kurdish and Arabic in About Us section - same pattern as footer */
[data-lang="ku"] .about-cars-title,
[data-lang="ar"] .about-cars-title {
    text-align: right;
    font-weight: 900 !important;
    font-family: 'QyamFont', sans-serif !important;
    font-size: 2.2rem !important;
    color: var(--text-primary) !important;
}

[data-lang="ku"] .about-cars-description,
[data-lang="ar"] .about-cars-description {
    text-align: right;
    font-weight: 700 !important;
    font-family: 'QyamFont', sans-serif !important;
}

[data-lang="ku"] .about-cars-content,
[data-lang="ar"] .about-cars-content {
    text-align: right;
}

[data-lang="ku"] .about-cars-title-wrapper,
[data-lang="ar"] .about-cars-title-wrapper {
    text-align: right;
    justify-content: flex-end !important;
    display: flex !important;
}

[data-lang="ku"] .about-cars-icon,
[data-lang="ar"] .about-cars-icon {
    order: 2 !important;
    margin-right: 0 !important;
    margin-left: 0.75rem !important;
}

[data-lang="ku"] .about-cars-title,
[data-lang="ar"] .about-cars-title {
    order: 1 !important;
}

/* Force RTL alignment with maximum specificity */
[data-lang="ku"] .about-cars-content .about-cars-title,
[data-lang="ar"] .about-cars-content .about-cars-title {
    text-align: right !important;
    font-family: 'QyamFont', sans-serif !important;
    font-weight: 900 !important;
    direction: rtl !important;
    font-size: 2.2rem !important;
    color: var(--text-primary) !important;
}

[data-lang="ku"] .about-cars-content .about-cars-description,
[data-lang="ar"] .about-cars-content .about-cars-description {
    text-align: right !important;
    font-family: 'QyamFont', sans-serif !important;
    font-weight: 700 !important;
    direction: rtl !important;
    font-size: 1.2rem !important;
    line-height: 1.5 !important;
    color: var(--text-secondary) !important;
}

/* Force the entire content area to be RTL */
[data-lang="ku"] .about-cars-content,
[data-lang="ar"] .about-cars-content {
    text-align: right !important;
    direction: rtl !important;
}

/* FORCE FOCUS BORDER COLORS - HIGH SPECIFICITY FOR LOCALHOST AND HOSTINGER COMPATIBILITY */

/* Hero Form Input Focus - Maximum Specificity */
body .hero-form-overlay .hero-form-container .hero-form-input:focus,
body .hero-form-input:focus,
.hero-form-input:focus {
  background: #ffffff !important;
  box-shadow: 0 0 0 0.2rem rgba(57, 86, 58, 0.6) !important;
  border-color: transparent !important;
  outline: none !important;
  
}

/* Modal Form Input Focus - Maximum Specificity */
body #carSpecificationModal .modal-content .modal-body .form-control:focus,
body #carSpecificationModal .form-control:focus,
#carSpecificationModal .form-control:focus {
  border-color: transparent !important;
  box-shadow: 0 0 0 0.2rem rgba(57, 86, 58, 0.6) !important;
  background-color: #ffffff !important;
  outline: none !important;
  
}

/* Modal Select Input Focus - Maximum Specificity */
body #carSpecificationModal .modal-content .modal-body select.form-control:focus,
body #carSpecificationModal select.form-control:focus,
#carSpecificationModal select.form-control:focus {
  border-color: transparent !important;
  box-shadow: 0 0 0 0.2rem rgba(57, 86, 58, 0.6) !important;
  background-color: #ffffff !important;
  outline: none !important;
  
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2339563a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e") !important;
}

/* All Input Focus Override */
input:focus,
select:focus,
textarea:focus {
  border-color: transparent !important;
  box-shadow: 0 0 0 0.2rem rgba(57, 86, 58, 0.6) !important;
  outline: none !important;
}

/* Bootstrap Override for Hero Form */
.hero-form-input.form-control:focus,
.hero-form-input:focus.form-control {
  background: #ffffff !important;
  box-shadow: 0 0 0 0.2rem rgba(57, 86, 58, 0.6) !important;
  border-color: transparent !important;
  outline: none !important;
  
}

/* Bootstrap Override for Modal */
#carSpecificationModal .form-control:focus,
#carSpecificationModal .form-control.is-valid:focus,
#carSpecificationModal .form-control.is-invalid:focus {
  border-color: transparent !important;
  box-shadow: 0 0 0 0.2rem rgba(57, 86, 58, 0.6) !important;
  background-color: #ffffff !important;
  outline: none !important;
  
}

/* ADDITIONAL OVERRIDES FOR CDN BOOTSTRAP AND HOSTINGER COMPATIBILITY */

/* Force override Bootstrap CDN focus styles */
*:focus,
*.form-control:focus,
*[class*="form-"]:focus,
*[class*="hero-form-"]:focus {
  border-color: transparent !important;
  box-shadow: 0 0 0 0.2rem rgba(57, 86, 58, 0.6) !important;
  outline: none !important;
}

/* Specific overrides for input types */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
select:focus {
  border-color: transparent !important;
  box-shadow: 0 0 0 0.2rem rgba(57, 86, 58, 0.6) !important;
  outline: none !important;
}

/* Ultra-specific hero form overrides */
div.hero-form-overlay input:focus,
div.hero-form-container input:focus,
.hero-form-input:focus,
input.hero-form-input:focus {
  background: #ffffff !important;
  box-shadow: 0 0 0 0.2rem rgba(57, 86, 58, 0.6) !important;
  border-color: transparent !important;
  outline: none !important;
  
}

/* Ultra-specific modal overrides */
div#carSpecificationModal input:focus,
div#carSpecificationModal select:focus,
#carSpecificationModal .modal-body input:focus,
#carSpecificationModal .modal-body select:focus {
  border-color: transparent !important;
  box-shadow: 0 0 0 0.2rem rgba(57, 86, 58, 0.6) !important;
  background-color: #ffffff !important;
  outline: none !important;
  
}

/* MAXIMUM SPECIFICITY OVERRIDES - GUARANTEED TO WORK ON ALL ENVIRONMENTS */

/* Force focus styles with highest specificity possible */
html body .hero-form-overlay .hero-form-container input.hero-form-input:focus,
html body input.hero-form-input:focus,
html body .hero-form-input:focus {
  background: #ffffff !important;
  box-shadow: 0 0 0 0.2rem rgba(57, 86, 58, 0.6) !important;
  border-color: transparent !important;
  outline: none !important;
  
  -webkit-box-shadow: 0 0 0 0.2rem rgba(57, 86, 58, 0.6) !important;
  -moz-box-shadow: 0 0 0 0.2rem rgba(57, 86, 58, 0.6) !important;
}

html body #carSpecificationModal .modal-content .modal-body input.form-control:focus,
html body #carSpecificationModal .modal-content .modal-body select.form-control:focus,
html body #carSpecificationModal input:focus,
html body #carSpecificationModal select:focus {
  border-color: transparent !important;
  box-shadow: 0 0 0 0.2rem rgba(57, 86, 58, 0.6) !important;
  background-color: #ffffff !important;
  outline: none !important;
  
  -webkit-box-shadow: 0 0 0 0.2rem rgba(57, 86, 58, 0.6) !important;
  -moz-box-shadow: 0 0 0 0.2rem rgba(57, 86, 58, 0.6) !important;
}

/* CSS variable fallback approach */
:root {
  --focus-border-color: #39563a;
  --focus-shadow-color: rgba(57, 86, 58, 0.6);
}

/* Apply using CSS variables with fallbacks */
.hero-form-input:focus,
input.hero-form-input:focus {
  border-color: var(--focus-border-color, #39563a) !important;
  box-shadow: 0 0 0 0.2rem var(--focus-shadow-color, rgba(57, 86, 58, 0.6)) !important;
  outline: none !important;
}

#carSpecificationModal .form-control:focus,
#carSpecificationModal input:focus,
#carSpecificationModal select:focus {
  border-color: var(--focus-border-color, #39563a) !important;
  box-shadow: 0 0 0 0.2rem var(--focus-shadow-color, rgba(57, 86, 58, 0.6)) !important;
  outline: none !important;
}

/* SMOOTH TRANSITIONS FOR ALL INPUTS - ELIMINATES LAG */

/* Hero Form Input Transitions */
.hero-form-input,
input.hero-form-input {
  transition: all 0.15s ease-in-out !important;
  border: 1px solid transparent !important;
}

/* Modal Form Input Transitions */
#carSpecificationModal .form-control,
#carSpecificationModal input,
#carSpecificationModal select {
  transition: all 0.15s ease-in-out !important;
  border: 1px solid #e9ecef !important;
}

/* All Input Elements Smooth Transitions */
input,
select,
textarea {
  transition: box-shadow 0.15s ease-in-out, border-color 0.15s ease-in-out !important;
}

/* Prevent multiple border/shadow conflicts */
input:focus,
select:focus,
textarea:focus,
.hero-form-input:focus,
#carSpecificationModal .form-control:focus {
  border-width: 1px !important;
  transition: all 0.15s ease-in-out !important;
}

[data-theme="dark"] .hero-form-btn:focus {
    background: #404040 !important;
    border-color: #0d6efd !important;
    color: #ffffff !important;
}

[data-theme="dark"] .hero-form-submit-btn {
    background: #ffffff !important;
    border: 1px solid #ffffff !important;
    color: #232328 !important;
}

[data-theme="dark"] .hero-form-submit-btn:hover {
    background: #f8f9fa !important;
    border-color: #f8f9fa !important;
    color: #232328 !important;
}

[data-theme="dark"] .hero-form-submit-btn:focus {
    background: #f8f9fa !important;
    border-color: #0d6efd !important;
    color: #232328 !important;
}

/* Responsive design for hero form */

