/* CSS Variables - Default (Gold/Slate) */
:root {
    --primary: #0f172a;
    --secondary: #1e293b;
    --accent: #f59e0b;
    /* Amber/Gold */
    --accent-hover: #d97706;
    --text-light: #f8fafc;
    --text-gray: #94a3b8;
    --white: #ffffff;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
    --glow: 0 0 20px rgba(245, 158, 11, 0.3);
}

/* Theme: Emerald */
body[data-theme="emerald"] {
    --primary: #022c22;
    --secondary: #064e3b;
    --accent: #10b981;
    --accent-hover: #059669;
    --glow: 0 0 20px rgba(16, 185, 129, 0.3);
}

/* Theme: Crimson */
body[data-theme="crimson"] {
    --primary: #450a0a;
    --secondary: #7f1d1d;
    --accent: #ef4444;
    --accent-hover: #dc2626;
    --glow: 0 0 20px rgba(239, 68, 68, 0.3);
}

/* Theme: Indigo */
body[data-theme="indigo"] {
    --primary: #1e1b4b;
    --secondary: #312e81;
    --accent: #818cf8;
    --accent-hover: #6366f1;
    --glow: 0 0 20px rgba(129, 140, 248, 0.3);
}

/* Theme: Ocean */
body[data-theme="ocean"] {
    --primary: #082f49;
    --secondary: #0c4a6e;
    --accent: #38bdf8;
    --accent-hover: #0ea5e9;
    --glow: 0 0 20px rgba(56, 189, 248, 0.3);
}

/* Theme: Rose */
body[data-theme="rose"] {
    --primary: #4c0519;
    --secondary: #831843;
    --accent: #fb7185;
    --accent-hover: #f43f5e;
    --glow: 0 0 20px rgba(251, 113, 133, 0.3);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--primary);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.highlight {
    color: var(--accent);
}

.text-gradient {
    background: linear-gradient(to right, var(--accent), #fcd34d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section {
    padding: 80px 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
    box-shadow: var(--glow);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    transform: scale(1.05);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-gray);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

.btn-nav {
    background: var(--accent);
    color: var(--primary) !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700 !important;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* Offset fixed nav */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, rgba(15, 23, 42, 0.8) 50%, rgba(15, 23, 42, 0.4) 100%);
}


.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin-left: 5%;
    /* Slight left align within container */
}

.badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero p {
    color: var(--text-gray);
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 480px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

/* Stats Bar */
.stats-bar {
    background: var(--secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 20px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent);
    font-weight: 800;
}

.stat-item p {
    color: var(--text-gray);
    font-weight: 500;
}

/* Featured Section */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.car-slider-wrapper {
    position: relative;
    padding: 20px 0;
}

.car-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 30px;
    padding-bottom: 20px;
}

.car-grid::-webkit-scrollbar {
    display: none;
}

.car-card {
    flex: 0 0 calc(33.333% - 20px);
    scroll-snap-align: start;
    background: var(--secondary);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

@media (max-width: 992px) {
    .car-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 576px) {
    .car-card {
        flex: 0 0 100%;
    }
}

.car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--accent);
}

.car-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #000;
    /* Darker bg for image */
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    transition: 0.8s;
}

.car-card:hover .car-image::after {
    left: 125%;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.car-card:hover .car-image img {
    transform: scale(1.1);
}

.tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
}

.tag-blue {
    background: #3b82f6;
    color: white;
}

.car-details {
    padding: 25px;
}

.car-details h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.price {
    color: var(--accent);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.specs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
}

.specs li {
    font-size: 0.9rem;
    color: var(--text-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.specs li i {
    color: var(--white);
    font-size: 1rem;
}

.btn-card {
    display: block;
    width: 100%;
    text-align: center;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-card:hover {
    background: var(--accent);
    color: var(--primary);
}

/* Why Us Section */
.why-us {
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

.why-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.benefits {
    margin-top: 30px;
}

.benefits li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.benefits li i {
    color: var(--accent);
    font-size: 1.3rem;
}

.why-image {
    display: flex;
}

.image-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.icon-stack {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.currency-label {
    position: absolute;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    z-index: 1;
}

.big-icon {
    font-size: 8rem;
    color: var(--accent);
    margin: 0;
}

/* Promo Section */
.promo {
    padding: 50px 0;
}

.promo-box {
    background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%);
    border-radius: 30px;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.3);
    position: relative;
    overflow: hidden;
}

.promo-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48ZyBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0wIDQwaDQwVjBIOHYzMmgzMnY4SDB6IiBzdHlsZT0ib3BhY2l0eTowLjE7ZmlsbDojZmZmIi8+PC9nPjwvc3ZnPg==');
    opacity: 0.1;
    animation: slide 20s linear infinite;
}

.promo-text {
    position: relative;
    z-index: 1;
}

.promo-text h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.promo-countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.countdown-item {
    background: var(--primary);
    color: var(--accent);
    padding: 10px;
    border-radius: 12px;
    min-width: 70px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.countdown-item span {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
}

.countdown-item label {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.8;
}

.promo-text p {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Footer */
footer {
    background: #020617;
    /* Even dark slate */
    padding-top: 80px;
    padding-bottom: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-info p {
    color: var(--text-gray);
    margin-top: 20px;
    max-width: 300px;
}

.socials {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.socials a:hover {
    background: var(--accent);
    color: var(--primary);
}

.footer-contact h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-contact p {
    color: var(--text-gray);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--accent);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Animations */
@keyframes slide {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(20px, 20px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Mobile menu needed */
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .promo-box {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 40px 20px;
        border-radius: 20px;
    }

    .promo-countdown {
        gap: 8px;
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
    }

    .countdown-item {
        min-width: 65px;
        padding: 8px 5px;
    }

    .countdown-item span {
        font-size: 1.2rem;
    }

    .countdown-item label {
        font-size: 0.6rem;
    }

    .footer-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Menu (Simple toggle via JS needed) */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--secondary);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }
}

/* Map Section */
.location {
    padding-bottom: 0;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
    filter: grayscale(20%) contrast(1.1);
    transition: var(--transition);
}

.map-container:hover {
    filter: grayscale(0%);
    border-color: var(--accent);
}

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-wa:hover {
    transform: scale(1.1);
    background: #20BA5A;
}

.floating-wa .tooltip {
    position: absolute;
    right: 70px;
    background: white;
    color: #333;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.floating-wa:hover .tooltip {
    opacity: 1;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .floating-wa {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
}

/* Theme Switcher */
.theme-switcher {
    position: fixed;
    top: 100px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 6px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.theme-btn {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.theme-btn:hover {
    transform: scale(1.2);
    border-color: #fff;
}

.theme-btn.active {
    border-color: #fff;
    box-shadow: 0 0 15px currentColor;
}

.theme-btn[data-theme="default"] {
    background: #f59e0b;
    color: #f59e0b;
}

.theme-btn[data-theme="emerald"] {
    background: #10b981;
    color: #10b981;
}

.theme-btn[data-theme="crimson"] {
    background: #ef4444;
    color: #ef4444;
}

.theme-btn[data-theme="indigo"] {
    background: #818cf8;
    color: #818cf8;
}

.theme-btn[data-theme="ocean"] {
    background: #38bdf8;
    color: #38bdf8;
}

.theme-btn[data-theme="rose"] {
    background: #fb7185;
    color: #fb7185;
}

.theme-btn::after {
    content: attr(data-name);
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #333;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    white-space: nowrap;
}

.theme-btn:hover::after {
    opacity: 1;
    right: 24px;
}


.promo-box .btn {
    position: relative;
    z-index: 2;
    min-width: 250px;
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Styles for Modal Detail */
.btn-outline {
    background: transparent;
    color: var(--text-gray);
    border: 1px solid var(--text-gray);
    margin-top: 10px;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--secondary);
    margin: 5% auto;
    padding: 0;
    border: 1px solid var(--accent);
    width: 90%;
    max-width: 1000px;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(245, 158, 11, 0.2);
    position: relative;
    animation: modalSlide 0.4s ease;
}

@keyframes modalSlide {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    color: var(--text-gray);
    float: right;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 10px;
    cursor: pointer;
    z-index: 10;
}

.close-modal:hover {
    color: var(--accent);
}

.modal-body {
    display: flex;
    flex-wrap: wrap;
}

.modal-gallery {
    flex: 1 1 500px;
    padding: 20px;
    background: #000;
    border-radius: 20px 0 0 20px;
}

.main-image img {
    width: 100%;
    height: 350px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 10px;
}

.thumbs {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.thumbs img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
}

.thumbs img.active,
.thumbs img:hover {
    opacity: 1;
    border-color: var(--accent);
}

.modal-info {
    flex: 1 1 400px;
    padding: 40px;
}

.modal-info h2 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.modal-specs {
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
}

.modal-specs h3 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.modal-specs ul li {
    margin-bottom: 8px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
    color: var(--text-gray);
}

/* Refined Modal Layout to fill space */
.modal-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* This pushes the button to the bottom */
    min-height: 450px;
    /* Ensures a consistent height */
}

.modal-info .btn-primary {
    width: 100%;
    justify-content: center;
    margin-top: 20px;
    padding: 15px;
    font-size: 1.1rem;
}

.modal-specs {
    flex-grow: 1;
    /* Makes the specs container take up available space */
    margin-bottom: 0;
}

/* Adjust mobile view for modal */
@media (max-width: 992px) {
    .modal-gallery {
        border-radius: 20px 20px 0 0;
    }

    .modal-info {
        padding: 30px;
        min-height: auto;
    }
}

/* Fix Image Proportion in Modal */
.modal-gallery {
    padding: 0;
    /* Remove padding to let image fill edge to edge */
    background: #000;
    display: flex;
    flex-direction: column;
}

.main-image {
    width: 100%;
    height: 100%;
    min-height: 450px;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    /* This makes it fill the container */
    border-radius: 20px 0 0 0;
    margin-bottom: 0;
}

.thumbs {
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 0 0 0 20px;
}

.modal-content {
    overflow: hidden;
    /* Ensure image border-radius works */
}

/* Partners Slider */
.partners {
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
}

.partners::before,
.partners::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partners::before {
    left: 0;
    background: linear-gradient(to right, var(--primary), transparent);
}

.partners::after {
    right: 0;
    background: linear-gradient(to left, var(--primary), transparent);
}

.partner-track {
    display: flex;
    gap: 80px;
    align-items: center;
    width: max-content;
    animation: scroll-track 40s linear infinite;
}

.partner-item {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-gray);
    opacity: 0.5;
    transition: var(--transition);
    white-space: nowrap;
}

.partner-item:hover {
    opacity: 1;
    color: var(--accent);
}

@keyframes scroll-track {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--secondary);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.user-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-meta h4 {
    font-size: 1rem;
    color: var(--white);
}

.user-meta span {
    font-size: 0.8rem;
    color: var(--accent);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--secondary);
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.faq-item.active {
    border-color: var(--accent);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
    max-height: 200px;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

.slider-btn:hover {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: var(--white);
    color: var(--primary);
}

