/* ==========================================================================
   AUTO LEASE - Production Stylesheet
   Calibrated 99.9% to exact visual specifications with full-width Carousel
   ========================================================================== */

:root {
    --primary-red: #e50914;
    --primary-red-hover: #c40812;
    --primary-red-glow: rgba(229, 9, 20, 0.25);
    --dark-bg: #090c12;
    --dark-hero: #07090e;
    --dark-calc: #0c0f16;
    --dark-stats: #080a0f;
    --dark-footer: #06080c;
    --text-primary: #111827;
    --text-secondary: #64748b;
    --text-slate: #94a3b8;
    --border-light: #e5e7eb;
    --border-dark: #1f2937;
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    background-color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

/* Color & Text Utilities */
.text-danger-custom {
    color: var(--primary-red) !important;
}

.text-secondary-custom {
    color: var(--text-slate) !important;
}

.text-slate {
    color: var(--text-slate);
}

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

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

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

.bg-light-section {
    background-color: #fafbfc;
}

.bg-dark-card {
    background-color: #12151e;
}

.bg-dark-input {
    background-color: #151923;
}

/* Typography Helpers */
.fs-10 { font-size: 10px; }
.fs-11 { font-size: 11px; }
.fs-12 { font-size: 12px; }
.fs-13 { font-size: 13px; }
.fs-14 { font-size: 14px; }

/* Buttons */
.hero-action-btn {
    border-radius: 8px !important;
    padding: 10px 22px !important;
    font-size: 13.5px !important;
}

.btn-primary-red {
    background-color: var(--primary-red);
    border: 1px solid var(--primary-red);
    color: #ffffff;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.btn-primary-red:hover,
.btn-primary-red:focus {
    background-color: var(--primary-red-hover);
    border-color: var(--primary-red-hover);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--primary-red-glow);
}

.btn-glass-dark {
    background-color: rgba(0, 0, 0, 0.65);
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    color: #ffffff;
    backdrop-filter: blur(8px);
    transition: all 0.2s ease-in-out;
}

.btn-glass-dark:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff;
}

.btn-cta-white {
    background-color: #ffffff;
    color: #111827;
    border: none;
    font-size: 13.5px;
    transition: all 0.2s ease-in-out;
}

.btn-cta-white:hover {
    background-color: #f8fafc;
    color: var(--primary-red);
    transform: translateY(-1px);
}

/* Navbar */
.site-navbar {
    background-color: var(--dark-hero);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 14px 0;
    z-index: 1030;
}

.brand-logo-img {
    width: 100px !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain;
    transition: transform 0.25s ease, filter 0.25s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.brand-logo-img:hover {
    transform: scale(1.04);
}

.navbar-nav .nav-link {
    font-size: 13.5px;
    font-weight: 500;
    color: #ffffff;
    padding: 8px 14px;
    position: relative;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: #ffffff;
}

.navbar-nav .nav-link.active {
    color: #ffffff;
    font-weight: 600;
}

/* Red Active Line Under Home */
.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 14px;
    right: 14px;
    height: 2.5px;
    background-color: var(--primary-red);
    border-radius: 2px;
}

/* Full Width Hero Carousel */
.hero-carousel-section {
    background-color: var(--dark-hero);
    position: relative;
    overflow: visible;
}

.hero-slide {
    min-height: 560px;
    background-size: cover;
    background-position: center right;
    position: relative;
    padding: 75px 0 100px;
    color: #ffffff;
}

.hero-slide-1 {
    background-image: url('../images/hero-slide-1.jpg');
}

.hero-slide-2 {
    background-image: url('../images/hero-slide-2.jpg');
}

.hero-slide-3 {
    background-image: url('../images/hero-slide-3.jpg');
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 9, 14, 0.95) 0%, rgba(7, 9, 14, 0.82) 42%, rgba(7, 9, 14, 0.15) 75%, rgba(7, 9, 14, 0) 100%);
    z-index: 1;
}

.hero-title {
    font-size: 3.4rem;
    line-height: 1.12;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 0.98rem;
    max-width: 480px;
    line-height: 1.55;
    color: #f1f5f9;
}

/* Carousel Controls & Indicators */
.carousel-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.2s ease;
}

.carousel-control-prev:hover .carousel-nav-btn,
.carousel-control-next:hover .carousel-nav-btn {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.carousel-indicators [data-bs-target] {
    width: 28px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: var(--primary-red);
    width: 40px;
}

/* Floating Filter Bar (Overlapping Carousel) */
.filter-container {
    margin-top: -45px;
    z-index: 20;
}

.hero-filter-bar {
    background: #ffffff;
    border-radius: 10px;
    padding: 14px 18px;
    position: relative;
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12) !important;
}

.filter-header-row {
    font-size: 12px;
}

.filter-label {
    font-size: 11.5px;
    color: #1f2937;
}

.filter-select-wrapper {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 3px 6px;
    background-color: #ffffff;
}

.filter-select {
    border: none;
    padding: 4px 6px;
    font-size: 12.5px;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    box-shadow: none !important;
    background-color: transparent;
}

.filter-select:focus {
    outline: none;
    box-shadow: none;
}

.filter-divider {
    width: 1px;
    height: 42px;
    background-color: #e5e7eb;
}

.filter-submit-btn {
    min-width: 125px;
    font-size: 13.5px;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    border-radius: 8px !important;
}

/* Section Headings */
.section-tag {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary-red);
    text-transform: uppercase;
}

.section-title {
    font-size: 1.75rem;
    line-height: 1.25;
    letter-spacing: -0.3px;
    color: #111827;
}

.view-all-link {
    font-size: 12.5px;
    transition: transform 0.2s ease;
}

.view-all-link:hover {
    color: var(--primary-red-hover) !important;
    transform: translateX(2px);
}

/* Popular Categories Section */
.categories-section {
    background: #ffffff;
    position: relative;
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
    overflow: hidden;
}

.categories-ambient-glow {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 750px;
    height: 380px;
    background: radial-gradient(ellipse at center, rgba(229, 9, 20, 0.035) 0%, rgba(241, 245, 249, 0.5) 45%, transparent 75%);
    pointer-events: none;
    z-index: 0;
}

.section-tag {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary-red);
    text-transform: uppercase;
}

.section-tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-red);
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.2);
    animation: tagPulse 2s infinite ease-in-out;
}

@keyframes tagPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

.section-title {
    font-size: 2.1rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.section-subtitle {
    max-width: 580px;
    color: var(--text-secondary);
}

/* Header Action Button */
.btn-view-all-cats {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #1e293b;
    padding: 9px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.btn-view-all-cats .arrow-icon {
    transition: transform 0.25s ease;
    color: var(--primary-red);
}

.btn-view-all-cats:hover {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.15);
    transform: translateY(-2px);
}

.btn-view-all-cats:hover .arrow-icon {
    transform: translateX(4px);
    color: #ffffff;
}

/* Modern Category Card Box */
.category-card-box {
    background: #ffffff;
    border: 1.5px solid #edf2f7;
    border-radius: 20px;
    padding: 16px 14px 14px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.category-card-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red) 0%, #ff4b55 100%);
    opacity: 0;
    transform: scaleX(0.3);
    transition: all 0.35s ease;
}

.category-card-box:hover {
    transform: translateY(-8px);
    border-color: rgba(229, 9, 20, 0.35);
    box-shadow: 0 20px 32px -8px rgba(229, 9, 20, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
}

.category-card-box:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

/* Card Top: Icon & Count */
.category-card-top {
    position: relative;
    z-index: 2;
}

.category-icon-bubble {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.3s ease;
}

.category-card-box:hover .category-icon-bubble {
    background: rgba(229, 9, 20, 0.08);
    border-color: rgba(229, 9, 20, 0.2);
    color: var(--primary-red);
    transform: scale(1.08);
}

.category-count-pill {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    background: #f1f5f9;
    color: #64748b;
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
}

.category-card-box:hover .category-count-pill {
    background: #fee2e2;
    color: #dc2626;
}

/* Vehicle Studio Stage */
.category-stage-wrapper {
    position: relative;
    height: 112px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0 6px;
    padding: 4px;
}

.stage-radial-light {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(ellipse at 50% 60%, rgba(241, 245, 249, 0.95) 0%, rgba(248, 250, 252, 0.4) 60%, transparent 100%);
    opacity: 0.85;
    transition: all 0.35s ease;
    pointer-events: none;
}

.category-card-box:hover .stage-radial-light {
    opacity: 1;
    background: radial-gradient(ellipse at 50% 60%, rgba(254, 226, 226, 0.45) 0%, rgba(248, 250, 252, 0.3) 60%, transparent 100%);
    transform: scale(1.08);
}

.category-stage-img {
    max-height: 88px;
    width: auto;
    max-width: 95%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 6px 10px rgba(15, 23, 42, 0.1));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.category-card-box:hover .category-stage-img {
    transform: scale(1.1) translateY(-3px);
    filter: drop-shadow(0 14px 18px rgba(15, 23, 42, 0.18));
}

.stage-ground-shadow {
    position: absolute;
    bottom: 6px;
    left: 12%;
    right: 12%;
    height: 8px;
    background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.22) 0%, rgba(15, 23, 42, 0.05) 50%, transparent 80%);
    border-radius: 50%;
    z-index: 1;
    filter: blur(2.5px);
    transition: all 0.35s ease;
    pointer-events: none;
}

.category-card-box:hover .stage-ground-shadow {
    transform: scaleX(0.9) translateY(2px);
    opacity: 0.7;
    filter: blur(3.5px);
}

/* Card Bottom: Metadata & Action CTA */
.category-card-bottom {
    border-top: 1px solid #f1f5f9;
    position: relative;
    z-index: 2;
}

.category-text-meta {
    text-align: left;
}

.category-title {
    font-size: 15px;
    letter-spacing: -0.2px;
    transition: color 0.2s ease;
}

.category-card-box:hover .category-title {
    color: var(--primary-red) !important;
}

.category-tagline {
    font-size: 11px;
    display: block;
    line-height: 1.25;
}

.category-cta-pill {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-left: 6px;
}

.category-card-box:hover .category-cta-pill {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: #ffffff;
    transform: translateX(2px);
    box-shadow: 0 4px 10px rgba(229, 9, 20, 0.35);
}

/* Featured Vehicles */
.vehicle-card {
    border: 1px solid #edf2f7;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: #ffffff;
}

.vehicle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.07);
}

.vehicle-img-wrapper {
    height: 175px;
    background: #f1f5f9;
    overflow: hidden;
}

.vehicle-img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vehicle-card:hover .vehicle-img {
    transform: scale(1.03);
}

.vehicle-name {
    font-size: 15.5px;
}

.vehicle-price {
    font-size: 1.15rem;
}

/* Calculator Section */
.calc-section-title {
    font-size: 1.55rem;
    line-height: 1.25;
}

.calc-input {
    border-radius: 6px;
    border: 1px solid #2a3243;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 600;
}

.calc-input:focus {
    background-color: #191f2d;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 2px var(--primary-red-glow);
    color: #ffffff;
}

.calc-slider {
    accent-color: var(--primary-red);
    cursor: pointer;
}

.calc-result-card {
    background: #11141d;
    border: 1px solid #202736;
    border-radius: 10px;
}

/* Features & Steps */
.feature-box {
    border: 1px solid #edf2f7;
    border-radius: 10px;
    transition: transform 0.2s ease;
}

.feature-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.feature-icon-badge {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background-color: rgba(229, 9, 20, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-title {
    font-size: 14px;
}

.step-number-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-red);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-title {
    font-size: 14.5px;
}

@media (min-width: 992px) {
    .step-card {
        position: relative;
    }
    .step-card:not(:last-child)::after {
        content: '→';
        position: absolute;
        right: -12%;
        top: 6px;
        font-size: 17px;
        color: #cbd5e1;
        font-weight: bold;
    }
}

/* Trade-In Banner */
.tradein-section {
    background: radial-gradient(circle at 25% 50%, rgba(229, 9, 20, 0.12) 0%, rgba(8, 10, 15, 0.96) 65%), #080a0f;
    color: #ffffff;
}

.tradein-car-img {
    max-height: 260px;
    width: 100%;
    object-fit: cover;
}

/* Testimonials */
.testimonial-card {
    border: 1px solid #edf2f7;
    border-radius: 10px;
}

.testimonial-avatar {
    object-fit: cover;
}

.testimonial-name {
    font-size: 13.5px;
}

.btn-testimonial-nav {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: all 0.2s ease;
}

.btn-testimonial-nav:hover {
    background: var(--primary-red);
    color: #ffffff;
    border-color: var(--primary-red);
}

/* Stats Counter */
.stat-icon-wrap {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-number {
    font-size: 1.6rem;
    line-height: 1;
}

/* FAQ Accordion (+ / - Toggle) */
.custom-accordion .accordion-item {
    border: 1px solid #edf2f7;
    background-color: #ffffff;
    border-radius: 8px !important;
    overflow: hidden;
}

.custom-accordion .accordion-button {
    background-color: #ffffff;
    box-shadow: none;
    font-size: 13.5px;
    position: relative;
    padding: 14px 18px;
}

.custom-accordion .accordion-button::after {
    content: '+';
    background-image: none !important;
    font-size: 18px;
    font-weight: 400;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    transform: none !important;
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    content: '−';
    color: var(--primary-red);
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-red);
    background-color: #ffffff;
}

.custom-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

/* Pre-Footer Red CTA */
.cta-banner-section {
    background-color: #ffffff;
}

.cta-banner-card {
    background: linear-gradient(90deg, #e50914 0%, #b20710 100%);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(229, 9, 20, 0.22);
}

.cta-title {
    font-size: 1.2rem;
    color: #ffffff;
}

.cta-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

/* Brand Logo in Footer (100px) */
/* Brand Logo in Footer (100px) */
.footer-logo-img {
    width: 100px !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.5));
    transition: transform 0.25s ease;
}

.footer-logo-img:hover {
    transform: scale(1.04);
}

/* Site Footer with Atmospheric Automotive Background Image */
.site-footer {
    position: relative;
    background: 
        linear-gradient(180deg, rgba(7, 9, 15, 0.88) 0%, rgba(8, 11, 18, 0.84) 45%, rgba(4, 6, 10, 0.95) 100%),
        url('../images/hero-car.jpg') center center / cover no-repeat;
    background-attachment: fixed;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 24px 48px -12px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(229, 9, 20, 0.8) 50%, transparent 100%);
    pointer-events: none;
}

.footer-heading {
    font-size: 13.5px;
    font-weight: 700;
    text-transform: capitalize;
    color: #ffffff;
    letter-spacing: 0.3px;
}

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

.footer-links a {
    color: #8b99ac;
    text-decoration: none;
    font-size: 12.5px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact li {
    font-size: 12.5px;
    color: #8b99ac;
}

.social-icon-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-icon-circle:hover {
    background-color: var(--primary-red);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.07);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.3rem;
    }
    .hero-slide {
        min-height: 480px;
        padding: 50px 0 70px;
    }
    .filter-divider {
        display: none;
    }
    .filter-container {
        margin-top: -30px;
    }
    .hero-filter-bar {
        padding: 16px 14px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.9rem;
    }
    .hero-btn-group .btn {
        width: 100%;
        justify-content: center;
    }
    .cta-banner-card {
        text-align: center;
    }
}

/* Page Header Banner for Separate Pages */
.page-header {
    background: radial-gradient(circle at 80% 20%, rgba(229, 9, 20, 0.18) 0%, rgba(10, 12, 16, 0.98) 70%), #0b0e14;
    padding: 60px 0 50px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-header-title {
    font-size: 2.4rem;
    letter-spacing: -0.5px;
}

.page-breadcrumb .breadcrumb-item a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-breadcrumb .breadcrumb-item a:hover {
    color: var(--primary-red);
}

.page-breadcrumb .breadcrumb-item.active {
    color: #f8fafc;
}

.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #64748b;
}

/* Category Filter Pills */
.filter-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-pill {
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.filter-pill:hover,
.filter-pill.active {
    background: var(--primary-red);
    color: #ffffff;
    border-color: var(--primary-red);
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.25);
}

.filter-pill .pill-count {
    background: rgba(0, 0, 0, 0.08);
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 20px;
}

.filter-pill.active .pill-count {
    background: rgba(255, 255, 255, 0.25);
}

/* Vehicle Badge */
.vehicle-badge-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Feature & Service Card */
.feature-box {
    border: 1px solid #edf2f7;
    border-radius: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: #ffffff;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(229, 9, 20, 0.3);
}

/* Contact Info Box */
.contact-info-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s ease;
}

.contact-info-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* Dark Card Container */
.card-dark-glass {
    background: rgba(18, 22, 31, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
}

/* ==========================================================
   ULTRA-PREMIUM SITE PRELOADER
   ========================================================== */
.site-preloader {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #07090e;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.55s ease;
    overflow: hidden;
}

.site-preloader.preloader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 45%, rgba(229, 9, 20, 0.16) 0%, rgba(7, 9, 14, 0.94) 60%, #07090e 100%);
    pointer-events: none;
}

.preloader-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    max-width: 360px;
    width: 90%;
}

.preloader-brand-wrapper {
    position: relative;
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.preloader-glow {
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.45) 0%, rgba(229, 9, 20, 0) 70%);
    filter: blur(14px);
    animation: preloaderPulse 2s ease-in-out infinite;
}

.preloader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2.5px solid transparent;
    border-top-color: #e50914;
    border-right-color: rgba(229, 9, 20, 0.4);
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.3);
    animation: preloaderSpin 1.4s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.preloader-ring::before {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    border-bottom-color: rgba(255, 255, 255, 0.7);
    border-left-color: rgba(255, 255, 255, 0.2);
    animation: preloaderSpinReverse 2.2s linear infinite;
}

.preloader-logo-img {
    width: 100px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.8));
    animation: preloaderLogoFloat 2.4s ease-in-out infinite;
}

.brand-title-main {
    display: block;
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 2px;
}

.brand-tagline {
    display: block;
    color: #94a3b8;
    font-size: 9.5px;
    letter-spacing: 2px;
    margin-top: 4px;
    font-weight: 600;
}

.preloader-loading-bar {
    width: 150px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 12px auto 0;
    position: relative;
}

.preloader-progress {
    width: 45%;
    height: 100%;
    background: linear-gradient(90deg, #e50914, #ff4d4d, #ffffff);
    border-radius: 10px;
    position: absolute;
    left: -45%;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.8);
    animation: preloaderSlide 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes preloaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes preloaderSpinReverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(0.9); opacity: 0.5; }
    50% { transform: scale(1.18); opacity: 0.9; }
}

@keyframes preloaderLogoFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-4px) scale(1.03); }
}

@keyframes preloaderSlide {
    0% { left: -50%; width: 30%; }
    50% { width: 60%; }
    100% { left: 100%; width: 30%; }
}

/* ==========================================================
   MOBILE BOTTOM NAVIGATION BAR (Native App-Style)
   ========================================================== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1045;
    background: rgba(10, 13, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.55);
    padding: 6px 8px;
    padding-bottom: max(6px, env(safe-area-inset-bottom, 6px));
}

.mobile-bottom-nav-inner {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #94a3b8;
    padding: 4px 8px;
    min-width: 58px;
    border-radius: 10px;
    transition: all 0.2s ease;
    position: relative;
}

.mobile-nav-item i {
    font-size: 18px;
    margin-bottom: 3px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-nav-item span {
    font-size: 10px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 0.2px;
}

.mobile-nav-item:hover,
.mobile-nav-item:focus {
    color: #ffffff;
}

.mobile-nav-item:active {
    transform: scale(0.92);
}

.mobile-nav-item.active {
    color: #ffffff;
    font-weight: 700;
}

.mobile-nav-item.active i {
    color: var(--primary-red);
    transform: translateY(-2px);
    filter: drop-shadow(0 2px 8px rgba(229, 9, 20, 0.6));
}

.mobile-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(229, 9, 20, 0.8);
}

/* Elevated Call Button in Bottom Nav */
.mobile-nav-item.call-action {
    color: #ffffff;
    padding-top: 0;
}

.mobile-nav-call-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e50914 0%, #b20710 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -18px;
    margin-bottom: 2px;
    box-shadow: 0 6px 18px rgba(229, 9, 20, 0.55), 0 0 0 3px rgba(10, 13, 20, 0.95);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.mobile-nav-call-btn i {
    font-size: 16px;
    margin-bottom: 0;
    color: #ffffff !important;
}

.mobile-nav-item.call-action:hover .mobile-nav-call-btn,
.mobile-nav-item.call-action:active .mobile-nav-call-btn {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 24px rgba(229, 9, 20, 0.7), 0 0 0 3px rgba(10, 13, 20, 0.95);
}

/* ==========================================================
   FLOATING WHATSAPP CHAT BUTTON
   ========================================================== */
.floating-whatsapp-btn {
    position: fixed;
    right: 22px;
    bottom: 24px;
    width: 52px;
    height: 52px;
    background: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
    z-index: 1035;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, box-shadow 0.25s ease;
}

.floating-whatsapp-btn:hover {
    transform: translateY(-3px) scale(1.08);
    background: #20ba5a;
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp-btn .wa-tooltip {
    position: absolute;
    right: 64px;
    background: #0f172a;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateX(10px);
}

.floating-whatsapp-btn:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================
   COMPREHENSIVE MOBILE FRIENDLY & RESPONSIVE SUITE
   ========================================================== */
/* Touch slider improvements for mobile */
.custom-range::-webkit-slider-thumb,
.calc-slider::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
    background: var(--primary-red);
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    border-radius: 50%;
}

.custom-range::-moz-range-thumb,
.calc-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--primary-red);
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    border-radius: 50%;
}

/* Tablet & Mobile Screens (< 992px) */
@media (max-width: 991.98px) {
    /* Offset body padding so bottom bar never obscures content */
    body {
        padding-bottom: 74px !important;
    }

    .floating-whatsapp-btn {
        bottom: 80px;
        right: 16px;
        width: 48px;
        height: 48px;
        font-size: 25px;
    }

    /* Mobile Navbar Dropdown / Drawer */
    .site-navbar {
        padding: 10px 0;
    }

    .site-navbar .navbar-collapse {
        background: rgba(10, 13, 20, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 16px;
        padding: 18px 20px 22px;
        margin-top: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
    }

    .site-navbar .navbar-nav .nav-link {
        padding: 12px 14px;
        font-size: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .site-navbar .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .site-navbar .navbar-nav .nav-link.active::after {
        display: none;
    }

    .site-navbar .navbar-nav .nav-link.active {
        color: var(--primary-red);
        font-weight: 700;
        padding-left: 18px;
        border-left: 3px solid var(--primary-red);
    }

    .site-navbar .d-flex.align-items-center.gap-2 {
        margin-top: 16px;
        flex-direction: column;
        width: 100%;
        gap: 10px !important;
    }

    .site-navbar .btn-primary-red {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }

    /* Hero section adjustments */
    .hero-slide {
        min-height: 420px;
        padding: 40px 0 60px;
        background-position: center center;
    }

    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .filter-container {
        margin-top: -15px;
        margin-bottom: 25px;
    }

    .hero-filter-bar {
        padding: 18px 16px;
        border-radius: 16px;
    }

    .filter-divider {
        display: none;
    }
}

/* Phone Screens (< 576px) */
@media (max-width: 575.98px) {
    .site-navbar {
        padding: 8px 0;
    }

    .brand-logo-img {
        width: 100px !important;
        height: auto !important;
        max-height: none !important;
    }

    .site-footer {
        background-attachment: scroll;
    }

    .hero-slide {
        min-height: 380px;
        padding: 28px 0 45px;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 0.88rem;
        margin-bottom: 1rem !important;
    }

    .hero-btn-group {
        flex-direction: column;
        width: 100%;
        gap: 10px !important;
    }

    .hero-btn-group .btn {
        width: 100%;
        justify-content: center;
        padding: 11px 18px;
        font-size: 13.5px;
    }

    .filter-container {
        margin-top: 10px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-filter-bar {
        padding: 16px 14px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .calc-result-card {
        margin-top: 15px;
        text-align: center;
        padding: 20px 16px !important;
    }

    .page-header {
        padding: 35px 0 30px;
    }

    .page-header-title {
        font-size: 1.75rem;
    }

    .cta-banner-card {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px !important;
        gap: 16px;
    }

    .cta-banner-card .cta-icon-box {
        display: none;
    }

    .cta-banner-card .btn-cta-white {
        width: 100%;
        justify-content: center;
    }

    /* Categories Section Mobile Tuning */
    .categories-section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .categories-header-wrap {
        margin-bottom: 1.25rem !important;
    }

    .categories-action-wrap {
        width: 100%;
    }

    .btn-view-all-cats {
        width: 100%;
        justify-content: center;
        padding: 8px 16px;
        font-size: 12.5px;
    }

    .category-card-box {
        padding: 12px 10px 10px;
        border-radius: 16px;
    }

    .category-stage-wrapper {
        height: 85px;
        margin: 6px 0 4px;
    }

    .category-stage-img {
        max-height: 68px;
    }

    .category-title {
        font-size: 13.5px;
    }

    .category-tagline {
        font-size: 10px;
    }

    .category-icon-bubble {
        width: 26px;
        height: 26px;
        font-size: 11px;
        border-radius: 8px;
    }

    .category-count-pill {
        font-size: 9.5px;
        padding: 2px 7px;
    }

    .category-cta-pill {
        width: 24px;
        height: 24px;
        font-size: 9px;
    }

    /* Prevent auto zoom on iOS Safari */
    .form-control,
    .form-select {
        font-size: 16px !important;
    }
}

/* ==========================================================================
   Element-Based Scroll Animation Engine
   ========================================================================== */

/* Top Scroll Progress Indicator */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff3b3b 0%, #e50914 50%, #ff6b6b 100%);
    z-index: 99999;
    width: 0%;
    transition: width 0.08s ease-out;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.75), 0 0 18px rgba(255, 59, 59, 0.45);
    pointer-events: none;
}

/* Floating Scroll-to-Top Button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 85px;
    right: 22px;
    width: 44px;
    height: 44px;
    background: rgba(14, 18, 27, 0.88);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(0.9);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    outline: none;
}

.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top-btn:hover {
    background: var(--primary-red, #e50914);
    color: #ffffff;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 28px rgba(229, 9, 20, 0.5);
    border-color: rgba(229, 9, 20, 0.7);
}

@media (max-width: 991.98px) {
    .scroll-to-top-btn {
        bottom: 80px;
        right: 18px;
        width: 40px;
        height: 40px;
        font-size: 13px;
    }
}

/* Navbar Scrolled State Enhancement */
.site-navbar.navbar-scrolled {
    background: rgba(7, 9, 14, 0.94) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

/* Base Element Animation Styles */
[data-scroll] {
    opacity: 0;
    transform-origin: center center;
    will-change: transform, opacity;
    transition-property: opacity, transform;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    transition-duration: 0.8s;
    transition-delay: 0s;
}

/* Default state when no value is provided (defaults to fade-up) */
[data-scroll=""],
[data-scroll="fade-up"] {
    opacity: 0;
    transform: translateY(35px);
}

[data-scroll="fade-down"] {
    opacity: 0;
    transform: translateY(-35px);
}

[data-scroll="fade-left"] {
    opacity: 0;
    transform: translateX(40px);
}

[data-scroll="fade-right"] {
    opacity: 0;
    transform: translateX(-40px);
}

[data-scroll="zoom-in"] {
    opacity: 0;
    transform: scale(0.92);
}

[data-scroll="zoom-out"] {
    opacity: 0;
    transform: scale(1.08);
}

[data-scroll="flip-up"] {
    opacity: 0;
    transform: perspective(800px) rotateX(20deg) translateY(30px);
}

/* Revealed State */
[data-scroll].is-revealed {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) scale(1) rotate(0) !important;
}

/* Transition Delays */
[data-scroll-delay="50"]  { transition-delay: 0.05s; }
[data-scroll-delay="100"] { transition-delay: 0.1s; }
[data-scroll-delay="150"] { transition-delay: 0.15s; }
[data-scroll-delay="200"] { transition-delay: 0.2s; }
[data-scroll-delay="250"] { transition-delay: 0.25s; }
[data-scroll-delay="300"] { transition-delay: 0.3s; }
[data-scroll-delay="350"] { transition-delay: 0.35s; }
[data-scroll-delay="400"] { transition-delay: 0.4s; }
[data-scroll-delay="450"] { transition-delay: 0.45s; }
[data-scroll-delay="500"] { transition-delay: 0.5s; }
[data-scroll-delay="600"] { transition-delay: 0.6s; }
[data-scroll-delay="700"] { transition-delay: 0.7s; }
[data-scroll-delay="800"] { transition-delay: 0.8s; }

/* Transition Durations */
[data-scroll-duration="400"]  { transition-duration: 0.4s; }
[data-scroll-duration="500"]  { transition-duration: 0.5s; }
[data-scroll-duration="600"]  { transition-duration: 0.6s; }
[data-scroll-duration="700"]  { transition-duration: 0.7s; }
[data-scroll-duration="800"]  { transition-duration: 0.8s; }
[data-scroll-duration="1000"] { transition-duration: 1.0s; }
[data-scroll-duration="1200"] { transition-duration: 1.2s; }

/* Accessible fallback for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    [data-scroll] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .scroll-progress-bar {
        display: none !important;
    }
}

