:root {
    --primary-color: #0f172a;
    --secondary-color: #4338ca;
    --accent-color: #f59e0b;
    --light-bg: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.8);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--light-bg);
    color: #1e293b;
}

.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    z-index: 1050;
    padding: 10px 0;
}

.navbar.scrolled {
    padding: 5px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815, 23, 42, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

@media (max-width: 991.98px) {
    .navbar-brand {
        font-size: 1.2rem !important;
    }
    .navbar-brand i {
        font-size: 1.5rem !important;
    }
    .navbar-collapse {
        background: white;
        margin-top: 15px;
        padding: 20px;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .nav-link::after {
        display: none;
    }
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.15rem; /* Further reduced */
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

.navbar-brand i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.nav-link {
    color: #64748b !important;
    font-weight: 600;
    padding: 10px 12px !important;
    transition: all 0.3s;
    position: relative;
    font-size: 0.9rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

.nav-link.active {
    color: var(--secondary-color) !important;
}

.nav-link.active::after {
    transform: scaleX(1);
}

.btn-wa {
    background: #22c55e;
    color: white;
    border: none;
    padding: 5px 12px; /* Ultra compact */
    border-radius: 50px;
    font-weight: 700;
    display: flex !important; /* Force flex */
    flex-wrap: nowrap !important; /* Force no wrap */
    align-items: center;
    gap: 6px;
    white-space: nowrap !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.2);
    font-size: 0.75rem; /* Even smaller font */
}

.btn-wa:hover {
    background: #16a34a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px -5px rgba(34, 197, 94, 0.4);
}

.section-title {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section-title span {
    color: var(--secondary-color);
}

.card-kendaraan {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    background: white;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
}

.card-kendaraan:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.15);
}

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

.card-kendaraan img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.harga-badge {
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
}

.fitur-badge {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 5px;
    margin-right: 5px;
}

.fitur-badge i {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-right: 6px;
}

.fitur-badge:hover {
    background: white;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 56, 202, 0.1);
}

.testimoni-card {
    background: white;
    border-radius: 16px;
    padding: 15px; /* Ultra compact */
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s;
}

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

.rating {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.testimoni-card p {
    line-height: 1.7;
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.avatar-circle {
    width: 44px;
    height: 44px;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.hero-section {
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
    color: white;
    padding: 220px 0 120px !important; /* Increased and forced with !important */
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent);
    top: -200px;
    right: -100px;
    border-radius: 50%;
    z-index: 0;
}

.fitur-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 24px;
    background: white;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
    transition: all 0.4s;
    height: 100%;
    border: 1px solid transparent;
}

.fitur-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
}

.fitur-icon {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    display: inline-block;
}

.fitur-icon-wrapper {
    margin-bottom: 10px;
}


.badge-new {
    background: var(--accent-color);
    color: white;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Marquee Testimoni */
.marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}
.marquee-track {
    display: flex;
    gap: 24px; /* Consistent gap */
    width: max-content;
    animation: scrollLeft var(--speed, 50s) linear infinite;
    padding: 20px 0;
}
.marquee-track-reverse {
    animation: scrollRight var(--speed, 40s) linear infinite;
}
.marquee-item {
    width: 320px; /* Consistent width */
    flex-shrink: 0;
}
@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes scrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}
.marquee-track:hover {
    animation-play-state: paused;
}

/* Utils */
.section-spacing {
    padding: 80px 0;
}
.max-w-600 { max-width: 600px; }
.z-1 { z-index: 1; }
.hero-icon-large { font-size: 180px; }
.hero-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    filter: blur(80px);
    opacity: 0.3;
    border-radius: 50%;
    z-index: -1;
}
.text-white-50 { color: rgba(255,255,255,0.5) !important; }
.hero-btn-primary {
    background: var(--secondary-color) !important;
}

@media (max-width: 768px) {
    .hero-icon-large {
        font-size: 120px !important;
    }
    .display-3 {
        font-size: 2.5rem !important;
    }
}
.avatar-circle {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
}

.gradient-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.shadow-premium {
    box-shadow: 0 15px 30px -10px rgba(67, 56, 202, 0.4);
}

.italic {
    font-style: italic;
}

.hover-primary:hover {
    color: var(--secondary-color) !important;
}

/* Footer Hover */
.hover-white:hover {
    color: white !important;
}
