/* Purple & Black Theme for Elite Cars - Custom Redesign */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary: #9d36d4;
    --primary-alt: #6b21a8;
    --bg-dark: #0a0a0a;
    --bg-slate: #1e1b4b;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-purple: rgba(157, 54, 212, 0.1);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Outfit', sans-serif !important;
    background-color: var(--bg-dark) !important;
    color: var(--text-main) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    color: #ffffff !important;
}

p,
span,
a,
li,
label,
.xs-font,
.font-small {
    color: var(--text-main) !important;
}

.footer a,
.footer p,
.footer .social-links a {
    color: var(--text-main) !important;
}

.blog-title,
.blog-footer,
.blog-footer a {
    color: #ffffff !important;
}

.text-muted,
.subtitle {
    color: var(--text-muted) !important;
}

.text-dark {
    color: #ffffff !important;
}

/* Navbar & Scroll Behavior */
.navbar {
    background: rgba(10, 10, 10, 0.4) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(157, 54, 212, 0.1) !important;
    padding: 1.2rem 0 !important;
    transition: var(--transition);
}

.navbar.affix {
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(157, 54, 212, 0.3) !important;
    padding: 0.6rem 0 !important;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    transition: var(--transition);
}

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

/* Hero Section Overlay */
.header .overlay {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.7), rgba(107, 33, 168, 0.3)) !important;
}

.carousel-title {
    font-weight: 800 !important;
    color: #ffffff !important;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 0 50px rgba(157, 54, 212, 0.4) !important;
    letter-spacing: -2px !important;
    text-transform: uppercase;
}

.carousel-subtitle {
    color: #ffffff !important;
    font-weight: 600 !important;
    letter-spacing: 6px !important;
    opacity: 1 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Sections */
.section {
    background-color: var(--bg-dark) !important;
}

.section-title {
    color: #fff !important;
}

.section-title::after {
    background-color: var(--primary) !important;
}

/* Cards & Glassmorphism */
.card {
    background: var(--glass) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(157, 54, 212, 0.2) !important;
    border-radius: 20px !important;
    transition: var(--transition) !important;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary) !important;
    background: var(--glass-purple) !important;
    box-shadow: 0 15px 40px rgba(157, 54, 212, 0.2) !important;
}

.card .title {
    color: #fff !important;
    font-weight: 700 !important;
}

/* Metrics & Widgets */
.widget {
    background: rgba(157, 54, 212, 0.05) !important;
    border: 1px solid rgba(157, 54, 212, 0.1) !important;
    border-radius: 16px !important;
}

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

.icon-wrapper {
    background-color: var(--primary) !important;
    color: #fff !important;
}

/* Contact & Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-alt)) !important;
    border: none !important;
    box-shadow: 0 10px 20px rgba(157, 54, 212, 0.3);
    border-radius: 12px !important;
    font-weight: 700 !important;
    padding: 0.8rem 2rem !important;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(157, 54, 212, 0.5);
}

.form-control {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(157, 54, 212, 0.2) !important;
    color: #fff !important;
    border-radius: 12px !important;
}

.form-control:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 10px rgba(157, 54, 212, 0.2) !important;
}

/* Info Bar */
.infos {
    background: rgba(10, 10, 10, 0.6) !important;
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(157, 54, 212, 0.1);
}

/* Strategic Process Styling */
.process-step {
    padding: 2rem;
    border-left: 2px solid var(--primary);
    margin-left: 20px;
    position: relative;
}

.process-step::before {
    content: '';
    position: absolute;
    left: -11px;
    top: 2rem;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary);
}

/* Footer */
footer {
    border-top: 1px solid rgba(157, 54, 212, 0.2) !important;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF !important;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: #128c7e;
    color: #FFF !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 767.98px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float svg {
        width: 25px;
        height: 25px;
    }
}