/* ============================================
   SMART CARS - MAIN STYLESHEET
   RTL Arabic Design System - Green Theme
   ============================================ */
.brands-section { background: #f7faf8; }

.brands-outer {
  position: relative;
  overflow: hidden;
  cursor: grab;
  padding: 12px 0 20px;
  user-select: none;
}
.brands-outer.dragging { cursor: grabbing; }

.brands-fade-right {
  position: absolute; top: 0; right: 0; bottom: 0; width: 80px;
  background: linear-gradient(to left, #f7faf8, transparent);
  pointer-events: none; z-index: 2;
}
.brands-fade-left {
  position: absolute; top: 0; left: 0; bottom: 0; width: 80px;
  background: linear-gradient(to right, #f7faf8, transparent);
  pointer-events: none; z-index: 2;
}

.brands-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
  padding: 0 80px;
}

.brand-card-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 14px 12px;
  background: #fff;
  border: 1px solid #dde8e1;
  border-radius: 14px;
  min-width: 96px;
  flex-shrink: 0;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.brand-card-item:hover {
  border-color: #1a6b2f;
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(26,107,47,0.12);
}

.brand-logo-area {
  width: 56px; height: 44px;
  display: flex; align-items: center; justify-content: center;
}
.brand-logo-area img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
    mix-blend-mode: multiply;  /* ← هاد هو الحل */
}

.brand-label {
  font-size: 12px; font-weight: 700;
  color: #1a6b2f; text-align: center;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
    .brand-logo-area {
        width: 60px;
        height: 60px;
    }
    .brand-label {
        font-size: 11px;
    }
    .brands-scroll-inner {
        gap: 16px;
        padding-left: 8px;
    }
}

/* موبايل */
@media (max-width: 768px) {
    .brand-card-item {
        width: 95px;
        min-width: 95px;
        padding: 14px 8px 10px;
        border-radius: 12px;
    }

    .brand-logo-area {
        width: 56px;
        height: 56px;
        margin-bottom: 8px;
    }

    .brand-label {
        font-size: 11px;
    }

    .brands-scroll-inner {
        gap: 10px;
    }

    .brand-logo-area img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        display: block;
        mix-blend-mode: multiply;
        /* هاد بيشيل الخلفية البيضاء */
    }

}

/* الحركة الصحيحة */
@keyframes scrollBrands {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(50%);
    }
}

:root {
    --primary: #1a6b2f;
    --primary-light: #25a244;
    --primary-dark: #0d4020;
    --accent: #f0b429;
    --accent-light: #f5c842;
    --success: #27ae60;
    --danger: #e74c3c;
    --light-bg: #f4f8f5;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-mid: #4a5568;
    --text-light: #718096;
    --border: #dde8e1;
    --shadow: 0 4px 24px rgba(26, 107, 47, 0.08);
    --shadow-lg: 0 8px 40px rgba(26, 107, 47, 0.15);
    --radius: 16px;
    --radius-sm: 10px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    color: var(--text-dark);
    background: #fff;
    direction: rtl;
    text-align: right;
}

/* ============== NAVBAR ============== */
#mainNav {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(26, 107, 47, 0.10);
    padding: 12px 0;
    transition: all 0.3s ease;
    z-index: 1050;
}

#mainNav.scrolled {
    padding: 8px 0;
    box-shadow: 0 4px 30px rgba(26, 107, 47, 0.15);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-main {
    font-size: 18px;
    font-weight: 900;
    color: var(--primary);
}

.brand-sub {
    font-size: 11px;
    color: var(--text-light);
    letter-spacing: 1px;
}

/* Logo image style */
.brand-logo img {
    height: 48px;
    width: auto;
}

.mobile-menu-toggle {
    border: 1px solid rgba(26, 107, 47, 0.22);
    border-radius: 10px;
    padding: 8px 10px;
    box-shadow: none !important;
}

.mobile-menu-toggle:focus {
    box-shadow: 0 0 0 3px rgba(26, 107, 47, 0.15) !important;
}

.mobile-menu-toggle .navbar-toggler-icon {
    width: 1.35em;
    height: 1.35em;
}

.navbar-nav .nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark) !important;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary) !important;
    background: rgba(26, 107, 47, 0.07);
}

.btn-call {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 10px;
    font-weight: 700;
    padding: 8px 20px;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-call:hover {
    background: var(--primary);
    color: white;
}

.btn-financing {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    padding: 8px 20px;
    font-size: 14px;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(26, 107, 47, 0.3);
}

.btn-financing:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 107, 47, 0.4);
    color: white;
}

/* ============== HERO ============== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0 100px;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: white;
    top: -200px;
    left: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    bottom: -100px;
    right: 20%;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: white;
    top: 30%;
    left: 10%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--accent);
    position: relative;
}

.hero-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 36px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 28px;
    font-weight: 900;
    color: var(--accent);
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.25);
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.25s;
    box-shadow: 0 6px 20px rgba(240, 180, 41, 0.35);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(240, 180, 41, 0.45);
    color: white;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.25s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

/* Hero Car Showcase */
.hero-image-col {
    position: relative;
}

.hero-car-showcase {
    position: relative;
    padding: 20px;
}

.car-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 70%;
    background: radial-gradient(ellipse, rgba(240, 180, 41, 0.25) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-car-img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 30px;
    right: 20px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 30px;
    left: 20px;
    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
}

.hero-wave svg {
    display: block;
}

.min-vh-85 {
    min-height: 85vh;
}

/* ============== SECTIONS ============== */
.section-badge {
    display: inline-block;
    background: rgba(26, 107, 47, 0.08);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-mid);
    line-height: 1.8;
}

.bg-light-custom {
    background: var(--light-bg);
}

/* ============== CALCULATOR ============== */
.calc-card {
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.calc-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.calc-input-group .form-control,
.calc-input {
    border: 2px solid var(--border);
    border-radius: 10px 0 0 10px;
    padding: 12px 16px;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    transition: border-color 0.2s;
}

.calc-input:focus {
    border-color: var(--primary);
    box-shadow: none;
}

.calc-input-group .input-group-text {
    background: var(--light-bg);
    border: 2px solid var(--border);
    border-right: none;
    font-weight: 700;
}

.calc-select {
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
}

.calc-select:focus {
    border-color: var(--primary);
    box-shadow: none;
}

.btn-calc {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-weight: 700;
    font-size: 16px;
    font-family: 'Cairo', sans-serif;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(26, 107, 47, 0.25);
}

.btn-calc:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 107, 47, 0.35);
    color: white;
}

.calc-result {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    color: white;
}

.result-label {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 8px;
}

.result-amount {
    font-size: 42px;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}

.result-currency {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 4px;
}

.result-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 16px 0;
}

.result-details {
    font-size: 13px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    opacity: 0.9;
}

.btn-result {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 24px;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    margin-top: 16px;
    width: 100%;
    transition: all 0.2s;
    text-decoration: none;
    display: block;
}

.btn-result:hover {
    background: #d4940a;
    color: white;
}

/* ============== CAR CARDS ============== */
.car-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.car-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.car-card.featured {
    border-color: var(--primary);
}

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

.car-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.car-badge-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.car-badge-tag.hot {
    background: var(--danger);
}

.car-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 64, 32, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.car-card:hover .car-overlay {
    opacity: 1;
}

.btn-overlay {
    background: white;
    color: var(--primary);
    border: none;
    border-radius: 10px;
    padding: 10px 24px;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
}

.car-info {
    padding: 20px;
}

.car-brand {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.car-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.car-specs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.car-specs span {
    font-size: 12px;
    color: var(--text-mid);
    background: var(--light-bg);
    padding: 4px 10px;
    border-radius: 50px;
}

.car-price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 14px;
}

.price-label,
.monthly-label {
    display: block;
    font-size: 11px;
    color: var(--text-light);
}

.price-amount {
    font-size: 18px;
    font-weight: 900;
    color: var(--primary);
}

.price-amount small {
    font-size: 12px;
}

.monthly-amount {
    font-size: 13px;
    font-weight: 700;
    color: var(--success);
}

.btn-finance-car {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: all 0.2s;
}

.btn-finance-car:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
}

/* ============== STEPS ============== */
.step-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    height: 100%;
    transition: all 0.3s;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.step-icon-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.step-num {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.step-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.7;
}

/* ============== WHY US ============== */
.features-list {
    margin-top: 24px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.feature-item:hover {
    background: var(--light-bg);
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.feature-text h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 14px;
    color: var(--text-mid);
    margin: 0;
}

.whyus-image-grid {
    position: relative;
}

.img-main {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.stats-overlay {
    position: absolute;
    bottom: 30px;
    right: -20px;
    display: flex;
    gap: 12px;
}

.stat-box {
    background: white;
    border-radius: 14px;
    padding: 16px 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    min-width: 100px;
}

.stat-big {
    display: block;
    font-size: 26px;
    font-weight: 900;
    color: var(--primary);
}

.stat-small {
    font-size: 12px;
    color: var(--text-mid);
}

/* ============== BRANDS ============== */
.brands-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.brand-item {
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-dark);
    transition: all 0.2s;
    cursor: pointer;
}

.brand-item:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(26, 107, 47, 0.04);
}

/* ============== CTA ============== */
.cta-card {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 24px;
    padding: 60px 40px;
    color: white;
}

.cta-icon {
    font-size: 56px;
    color: var(--accent);
}

.cta-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 12px;
}

.cta-desc {
    font-size: 17px;
    opacity: 0.85;
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    font-weight: 700;
    font-size: 16px;
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(240, 180, 41, 0.35);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 8px 25px rgba(240, 180, 41, 0.5);
}

.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    padding: 14px 32px;
    font-weight: 700;
    font-size: 16px;
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
    transition: all 0.2s;
    backdrop-filter: blur(10px);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

/* ============== FOOTER ============== */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
}

.footer-brand {
    font-size: 22px;
    font-weight: 900;
    color: white;
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

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

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    font-size: 14px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-hr {
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--accent);
}

/* ============== PAGE HEADER ============== */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 40px 0 50px;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 30px;
    background: #fff;
    clip-path: ellipse(55% 100% at 50% 100%);
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.page-header .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.page-title {
    font-size: 36px;
    font-weight: 900;
    color: white;
    margin-bottom: 8px;
}

.page-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
}

/* ============== CARS PAGE ============== */
.filter-card {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: sticky;
    top: 90px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.filter-header h5 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.filter-group {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.filter-group:last-of-type {
    border-bottom: none;
}

.filter-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    display: block;
    margin-bottom: 12px;
}

.filter-checks .form-check {
    margin-bottom: 8px;
}

.filter-checks .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.filter-count {
    font-size: 12px;
    color: var(--text-light);
}

.filter-select {
    border: 2px solid var(--border);
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
}

.filter-select:focus {
    border-color: var(--primary);
    box-shadow: none;
}

.btn-filter-option {
    background: var(--light-bg);
    border: 2px solid transparent;
    color: var(--text-mid);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 13px;
    font-family: 'Cairo', sans-serif;
    margin: 4px;
}

.btn-filter-option.active {
    background: rgba(26, 107, 47, 0.08);
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 700;
}

.btn-apply-filter {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    transition: all 0.2s;
}

.btn-apply-filter:hover {
    transform: translateY(-1px);
    color: white;
}

.cars-toolbar {
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}

.results-count {
    font-size: 15px;
    color: var(--text-mid);
}

.results-count strong {
    color: var(--primary);
}

.sort-select {
    min-width: 130px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
}

.sort-select:focus {
    border-color: var(--primary);
    box-shadow: none;
}

.btn-view-toggle {
    background: var(--light-bg);
    border: 2px solid var(--border);
    color: var(--text-mid);
    border-radius: 8px;
    padding: 6px 12px;
    transition: all 0.2s;
}

.btn-view-toggle.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.btn-view-all {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 10px;
    padding: 8px 20px;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-view-all:hover {
    background: var(--primary);
    color: white;
}

.custom-pagination .page-link {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    color: var(--primary);
    border: 2px solid var(--border);
    border-radius: 10px !important;
    margin: 0 4px;
    padding: 8px 14px;
    transition: all 0.2s;
}

.custom-pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}

.custom-pagination .page-link:hover {
    background: var(--light-bg);
}

/* ============== CAR DETAIL ============== */
.car-gallery-main {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.main-gallery-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.gallery-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--danger);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    z-index: 2;
}

.car-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.2s;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary);
}

.detail-tabs .detail-nav {
    border-bottom: 2px solid var(--border);
}

.detail-nav .nav-link {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    color: var(--text-mid);
    border: none;
    padding: 12px 20px;
}

.detail-nav .nav-link.active {
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
    background: none;
}

.detail-tab-content {
    background: white;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow);
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--light-bg);
    border-radius: 10px;
}

.spec-key {
    font-size: 14px;
    color: var(--text-mid);
}

.spec-val {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.feature-check {
    font-size: 14px;
    color: var(--text-dark);
    padding: 8px;
    background: var(--light-bg);
    border-radius: 8px;
}

/* Detail Sidebar */
.detail-sidebar {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 28px;
    border: 1px solid var(--border);
    position: sticky;
    top: 90px;
}

.detail-brand {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.detail-car-name {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 16px;
}

.detail-price-box {
    background: var(--light-bg);
    border-radius: var(--radius-sm);
    padding: 20px;
}

.detail-price-label {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.detail-price {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 8px;
}

.detail-price span {
    font-size: 16px;
}

.detail-monthly-label {
    font-size: 12px;
    color: var(--text-mid);
}

.detail-monthly {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--success);
}

.quick-info .qi-item {
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 600;
}

.btn-finance-main {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-weight: 700;
    font-size: 15px;
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(26, 107, 47, 0.25);
}

.btn-finance-main:hover {
    transform: translateY(-2px);
    color: white;
}

.btn-call-main {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 12px;
    padding: 12px;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: all 0.2s;
}

.btn-call-main:hover {
    background: var(--primary);
    color: white;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: all 0.2s;
}

.btn-whatsapp:hover {
    background: #128c7e;
    color: white;
}

/* ============== FINANCING FORM ============== */

/* Type Switcher */
.financing-type-switcher {
    display: flex;
    background: var(--light-bg);
    border-radius: 14px;
    padding: 6px;
    gap: 6px;
    margin-bottom: 32px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

.fin-type-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-mid);
    background: transparent;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.fin-type-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(26, 107, 47, 0.3);
}

.fin-type-btn:hover:not(.active) {
    background: rgba(26, 107, 47, 0.08);
    color: var(--primary);
}

.form-section {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 20px;
}

.form-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
}

.fsh-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.fsh-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.fsh-desc {
    opacity: 0.8;
    margin: 0;
    font-size: 13px;
}

.form-section-body {
    padding: 28px;
}

.required-label::after {
    content: ' *';
    color: var(--danger);
}

.form-control,
.form-select {
    font-family: 'Cairo', sans-serif;
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: none;
}

/* Upload area */
.upload-area {
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--light-bg);
}

.upload-area:hover {
    border-color: var(--primary);
    background: rgba(26, 107, 47, 0.03);
}

.upload-area i {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
}

.upload-area span {
    font-size: 13px;
    color: var(--text-mid);
    font-weight: 600;
}

.upload-area input[type="file"] {
    display: none;
}

.btn-submit-main {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 40px;
    font-weight: 700;
    font-size: 17px;
    font-family: 'Cairo', sans-serif;
    transition: all 0.2s;
    box-shadow: 0 6px 20px rgba(26, 107, 47, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-submit-main:hover {
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 10px 30px rgba(26, 107, 47, 0.4);
}

/* Radio groups */
.radio-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.radio-option {
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 10px 18px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.radio-option input {
    display: none;
}

.radio-option.selected,
.radio-option:has(input:checked) {
    border-color: var(--primary);
    background: rgba(26, 107, 47, 0.06);
    color: var(--primary);
}

/* Success */
.success-card {
    background: white;
    border-radius: var(--radius);
    padding: 60px 40px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.success-icon {
    font-size: 80px;
    color: var(--success);
}

.success-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.success-desc {
    font-size: 16px;
    color: var(--text-mid);
    margin-bottom: 20px;
}

.success-ref {
    background: var(--light-bg);
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 15px;
}

/* Financing Sidebar */
.financing-info-sidebar {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: sticky;
    top: 90px;
}

.fis-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.fis-list {
    list-style: none;
    padding: 0;
}

.fis-list li {
    font-size: 14px;
    color: var(--text-dark);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.fis-list li i {
    color: var(--success);
}

.fis-contact-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.btn-fis-call {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: all 0.2s;
}

.btn-fis-call:hover {
    background: var(--primary-dark);
    color: white;
}

.btn-fis-whatsapp {
    background: #25d366;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: all 0.2s;
}

.btn-fis-whatsapp:hover {
    background: #128c7e;
    color: white;
}

.fis-doc-list {
    list-style: none;
    padding: 0;
}

.fis-doc-list li {
    font-size: 13px;
    color: var(--text-mid);
    padding: 6px 0;
}

.fis-doc-list li i {
    color: var(--primary);
}

/* ============== ABOUT PAGE ============== */
.about-text {
    font-size: 16px;
    color: var(--text-mid);
    line-height: 1.9;
    margin-bottom: 16px;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 28px;
}

.about-stat {
    text-align: center;
    background: var(--light-bg);
    border-radius: 14px;
    padding: 16px 8px;
}

.as-num {
    display: block;
    font-size: 26px;
    font-weight: 900;
    color: var(--primary);
}

.as-label {
    font-size: 12px;
    color: var(--text-mid);
}

.about-image-wrap {
    position: relative;
}

.about-img {
    border-radius: 24px;
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.about-badge-float {
    position: absolute;
    bottom: -16px;
    right: 24px;
    background: white;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.value-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    height: 100%;
    transition: all 0.3s;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.value-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 18px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 16px;
}

.value-card h5 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.7;
    margin: 0;
}

/* ============== CONTACT PAGE ============== */
.contact-info-card {
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.cic-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--primary);
}

.cic-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.cic-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.cic-label {
    font-size: 12px;
    color: var(--text-light);
}

.cic-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
}

.cic-value:hover {
    color: var(--primary);
}

.social-links-contact {
    display: flex;
    gap: 10px;
}

.sc-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
}

.sc-link.twitter {
    background: #1da1f2;
}

.sc-link.instagram {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.sc-link.snapchat {
    background: #fffc00;
    color: #000;
}

.sc-link.whatsapp {
    background: #25d366;
}

.sc-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.contact-form-card {
    background: white;
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.cfc-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--primary);
}

.cfc-desc {
    font-size: 15px;
    color: var(--text-mid);
    margin-bottom: 24px;
}

.btn-submit-contact {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 36px;
    font-weight: 700;
    font-size: 16px;
    font-family: 'Cairo', sans-serif;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(26, 107, 47, 0.25);
}

.btn-submit-contact:hover {
    transform: translateY(-2px);
    color: white;
}

.quick-contact-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.qco-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    border-radius: var(--radius-sm);
    padding: 18px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.qco-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.qco-icon.whatsapp-icon {
    background: #25d366;
}

.qco-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.qco-desc {
    font-size: 13px;
    color: var(--text-mid);
}

.btn-qco-call {
    margin-right: auto;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-qco-call:hover {
    background: var(--primary-dark);
    color: white;
}

.btn-qco-whatsapp {
    margin-right: auto;
    background: #25d366;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-qco-whatsapp:hover {
    background: #128c7e;
    color: white;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 26px;
    }

    .calc-card {
        padding: 24px;
    }

    .stats-overlay {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 16px;
    }

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

    .hero-stats {
        gap: 16px;
    }

    .cta-card {
        padding: 40px 24px;
    }

    .cta-title {
        font-size: 26px;
    }

    .financing-type-switcher {
        max-width: 100%;
    }
}

@media (max-width: 991.98px) {
    #mainNav .container {
        align-items: center;
    }

    #frontNavbar {
        background: var(--white);
        border-top: 1px solid var(--border);
        margin-top: 12px;
        padding: 12px 0 4px;
        width: 100%;
    }

    #frontNavbar .navbar-nav {
        gap: 4px;
        margin: 0 !important;
    }

    #frontNavbar .nav-link {
        padding: 12px 14px !important;
        text-align: right;
    }

    #frontNavbar .navbar-actions {
        display: grid;
        gap: 10px;
        margin-top: 12px;
    }

    #frontNavbar .navbar-actions .btn {
        width: 100%;
        margin: 0 !important;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0 80px;
    }

    .hero-car-showcase {
        display: none;
    }

    .brand-logo img {
        height: 58px !important;
    }
}
