/* ============================================================
   MALINDA AUTO CARE — style.css
   HeavenCode Systems | Developed by Nilan Fernando | 2026
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Rajdhani:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ─── CSS Variables ───────────────────────────────────────── */
:root {
    --navy: #0a1628;
    --blue: #0d3b7a;
    --mid-blue: #1565c0;
    --light-blue: #42a5f5;
    --sky: #90caf9;
    --ice: #e3f2fd;
    --white: #ffffff;
    --black: #050d1a;
    --grey: #8fa3b8;
    --card-bg: rgba(13, 59, 122, 0.18);
    --glass: rgba(255, 255, 255, 0.06);
    --glow: 0 0 40px rgba(66, 165, 245, 0.35);
    --transition: 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset & Base ────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--navy);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* ─── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--mid-blue);
    border-radius: 3px;
}

/* ─── Loader ──────────────────────────────────────────────── */
#loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-logo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid var(--light-blue);
    padding: 10px;
    animation: spinIn 1.2s ease forwards;
}

.loader-bar {
    width: 220px;
    height: 3px;
    background: var(--glass);
    border-radius: 2px;
    overflow: hidden;
}

.loader-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--light-blue), var(--sky));
    animation: fillBar 1.8s ease forwards;
}

.loader-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 4px;
    color: var(--sky);
    animation: fadeIn 1s 0.5s both;
}

@keyframes spinIn {
    from {
        transform: rotate(-180deg) scale(0);
        opacity: 0;
    }

    to {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
}

@keyframes fillBar {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Opening Soon Screen ─────────────────────────────────── */
#opening-soon-screen {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

#opening-soon-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.os-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(13, 59, 122, 0.25) 0%, transparent 70%);
    animation: osPulse 8s ease-in-out infinite alternate;
}

@keyframes osPulse {
    from { transform: scale(1); opacity: 0.5; }
    to { transform: scale(1.2); opacity: 0.8; }
}

.os-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.os-logo-wrap {
    margin-bottom: 30px;
    animation: osLogoIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.os-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid var(--light-blue);
    padding: 12px;
    filter: drop-shadow(0 0 20px rgba(66, 165, 245, 0.3));
}

@keyframes osLogoIn {
    from { opacity: 0; transform: scale(0.8) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.os-badge {
    font-size: 0.75rem;
    letter-spacing: 5px;
    color: var(--light-blue);
    text-transform: uppercase;
    margin-bottom: 15px;
    animation: fadeIn 0.8s 0.4s both;
}

.os-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4rem, 12vw, 6.5rem);
    line-height: 0.9;
    color: var(--white);
    margin-bottom: 25px;
    animation: fadeIn 0.8s 0.6s both;
}

.os-title span {
    background: linear-gradient(90deg, var(--light-blue), var(--sky));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.os-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--grey);
    line-height: 1.8;
    margin-bottom: 40px;
    animation: fadeIn 0.8s 0.8s both;
}

.os-actions {
    animation: fadeIn 0.8s 1s both;
}

.btn-os-outline {
    background: transparent;
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-os-outline:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.os-footer {
    margin-top: 60px;
    animation: fadeIn 0.8s 1.2s both;
}

.os-footer p {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 12px;
}

.os-social {
    font-size: 0.85rem;
    color: var(--sky);
}

.os-social span {
    cursor: pointer;
    transition: color 0.3s;
}

.os-social span:hover {
    color: var(--white);
}

/* ─── Navigation ──────────────────────────────────────────── */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 5%;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
    background: rgba(10, 22, 40, 0.94);
    backdrop-filter: blur(14px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-brand img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--light-blue);
    object-fit: cover;
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
}

.nav-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.25rem;
    letter-spacing: 2px;
    color: var(--white);
    line-height: 1;
}

.nav-subtitle {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--light-blue);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--sky);
    position: relative;
    padding-bottom: 4px;
    transition: color var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--light-blue);
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--mid-blue), var(--light-blue));
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 700 !important;
    letter-spacing: 1px;
    transition: box-shadow var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
    box-shadow: var(--glow);
    transform: translateY(-2px);
}

.nav-cta::after {
    display: none !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--light-blue);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(20px);
    padding: 24px 5%;
    flex-direction: column;
    gap: 20px;
    border-bottom: 1px solid rgba(66, 165, 245, 0.2);
    animation: slideDown 0.3s ease;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--sky);
    padding: 8px 0;
    border-bottom: 1px solid rgba(66, 165, 245, 0.1);
    transition: color var(--transition);
}

.mobile-menu a:hover {
    color: var(--white);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Hero Section ────────────────────────────────────────── */
#hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('mac1.jpg');
    background-size: cover;
    background-position: center 50%;
    background-repeat: no-repeat;
    animation: heroBlink 1s steps(1) infinite;
}

@keyframes heroBlink {

    0%,
    75% {
        background-image: url('mac1.jpg');
    }

    76%,
    80% {
        background-image: url('mac2.jpg');
    }

    81%,
    90% {
        background-image: url('mac1.jpg');
    }

    91%,
    95% {
        background-image: url('mac2.jpg');
    }

    96%,
    100% {
        background-image: url('mac1.jpg');
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(5, 13, 26, 0.75) 0%,
            rgba(10, 22, 40, 0.55) 40%,
            rgba(5, 13, 26, 0.80) 100%);
}

/* Animated grid lines */
.hero-grid {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(66, 165, 245, 0.1), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(21, 101, 192, 0.08), transparent 40%);
    filter: blur(60px);
    animation: bgFlow 25s ease-in-out infinite alternate;
}

@keyframes bgFlow {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(5%, 5%) scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 5%;
    padding-top: 120px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(66, 165, 245, 0.15);
    border: 1px solid rgba(66, 165, 245, 0.4);
    border-radius: 30px;
    padding: 6px 18px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--sky);
    margin-bottom: 24px;
    position: relative;
    top: -40px;
    animation: fadeIn 0.8s 0.2s both;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--light-blue);
    box-shadow: 0 0 10px var(--light-blue);
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 6.5rem);
    line-height: 0.95;
    letter-spacing: 3px;
    color: var(--white);
    margin-bottom: 12px;
    animation: fadeIn 0.8s 0.4s both;
}

.hero-title span {
    display: block;
    background: linear-gradient(90deg, var(--light-blue), var(--sky));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.1rem, 3vw, 1.7rem);
    letter-spacing: 6px;
    color: var(--sky);
    margin-bottom: 28px;
    animation: fadeIn 0.8s 0.6s both;
}

.hero-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: var(--grey);
    max-width: 540px;
    margin: 0 auto 44px;
    line-height: 1.75;
    animation: fadeIn 0.8s 0.8s both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    animation: fadeIn 0.8s 1s both;
}

.btn-primary {
    background: linear-gradient(135deg, var(--mid-blue), var(--light-blue));
    color: var(--white);
    padding: 16px 38px;
    border-radius: 50px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: box-shadow var(--transition), transform var(--transition);
}

.btn-primary:hover {
    box-shadow: var(--glow);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--sky);
    padding: 15px 38px;
    border-radius: 50px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid rgba(66, 165, 245, 0.5);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.btn-outline:hover {
    background: rgba(66, 165, 245, 0.1);
    border-color: var(--light-blue);
    transform: translateY(-3px);
}

/* Hero stats */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(66, 165, 245, 0.15);
    animation: fadeIn 0.8s 1.2s both;
}

.hero-stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    color: var(--light-blue);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--grey);
    text-transform: uppercase;
    margin-top: 4px;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeIn 1s 1.5s both;
    cursor: pointer;
}

.hero-scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--light-blue), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

.hero-scroll span {
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--grey);
    text-transform: uppercase;
}

@keyframes scrollLine {

    0%,
    100% {
        opacity: 1;
        transform: scaleY(1) translateY(0);
    }

    50% {
        opacity: 0.4;
        transform: scaleY(0.6) translateY(8px);
    }
}

@keyframes heroZoom {
    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1);
    }
}

/* ─── Section Commons ─────────────────────────────────────── */
section {
    padding: 100px 5%;
    position: relative;
    overflow: hidden;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: var(--light-blue);
    text-transform: uppercase;
    margin-bottom: 12px;
    position: relative;
    padding-left: 28px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 2px;
    background: var(--light-blue);
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: 2px;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 16px;
}

.section-title span {
    color: var(--light-blue);
}

.section-desc {
    font-family: 'Inter', sans-serif;
    color: var(--grey);
    font-size: 1rem;
    max-width: 580px;
    line-height: 1.8;
    margin-bottom: 56px;
}

.section-header {
    text-align: center;
}

.section-header .section-desc {
    margin: 0 auto 56px;
}

/* ─── Services Section ────────────────────────────────────── */
#services {
    background: var(--black);
    position: relative;
    overflow: hidden;
}

#services::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 59, 122, 0.3), transparent 70%);
    top: -200px;
    right: -200px;
    pointer-events: none;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 24px 20px;
    backdrop-filter: blur(8px);
    flex: 1 1 150px;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: default;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(66, 165, 245, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: transform var(--transition);
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(66, 165, 245, 0.3));
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 0;
}

.service-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--grey);
    line-height: 1.75;
    margin-bottom: 20px;
}

.service-arrow {
    color: var(--light-blue);
    font-size: 1.3rem;
    display: inline-block;
    transition: transform var(--transition);
}

.service-card:hover .service-arrow {
    transform: translateX(6px);
}

/* ─── Why Us ──────────────────────────────────────────────── */
#why-us {
    background: var(--navy);
    position: relative;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.why-visual {
    position: relative;
}

.why-img-wrap {
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid rgba(66, 165, 245, 0.2);
    position: relative;
}

.why-img-wrap img {
    width: 100%;
    object-fit: cover;
    height: 480px;
    filter: brightness(0.85) saturate(1.1);
    transition: transform 0.6s ease;
}

.why-img-wrap:hover img {
    transform: scale(1.04);
}

.why-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--mid-blue), var(--light-blue));
    border-radius: 20px;
    padding: 24px 28px;
    text-align: center;
    box-shadow: var(--glow);
}

.why-badge-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--white);
    line-height: 1;
}

.why-badge-label {
    font-size: 0.72rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.why-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: var(--glass);
    border: 1px solid rgba(66, 165, 245, 0.1);
    border-radius: 14px;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.why-feature:hover {
    background: rgba(66, 165, 245, 0.08);
    border-color: rgba(66, 165, 245, 0.3);
    transform: translateX(6px);
}

.why-feature-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--blue), var(--mid-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.why-feature-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 4px;
}

.why-feature-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: var(--grey);
    line-height: 1.6;
}

/* ─── Car Brands ──────────────────────────────────────────── */
#brands {
    background: var(--black);
    padding: 60px 5%;
    overflow: hidden;
}

.brands-track-wrapper {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.brands-track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.brands-track:hover {
    animation-play-state: paused;
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px 48px;
    border-right: 1px solid rgba(66, 165, 245, 0.1);
    opacity: 0.5;
    filter: grayscale(1);
    transition: opacity var(--transition), filter var(--transition), transform var(--transition);
    cursor: default;
    min-width: 160px;
}

.brand-item:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.06);
}

.brand-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 3px;
    color: var(--sky);
}

.brand-icon {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-icon img {
    height: 100%;
    width: auto;
    max-width: 80px;
    object-fit: contain;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ─── Testimonials ────────────────────────────────────────── */
#testimonials {
    background: var(--navy);
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 32px 28px;
    backdrop-filter: blur(8px);
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(66, 165, 245, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--mid-blue);
    line-height: 0.8;
    margin-bottom: 16px;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--grey);
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mid-blue), var(--light-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    color: var(--white);
    border: 2px solid rgba(66, 165, 245, 0.3);
}

.testimonial-name {
    font-weight: 700;
    color: var(--white);
    font-size: 0.95rem;
}

.testimonial-vehicle {
    font-size: 0.78rem;
    color: var(--light-blue);
    letter-spacing: 1px;
}

.testimonial-stars {
    color: #ffc107;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

/* ─── Contact Section ─────────────────────────────────────── */
#contact {
    background: var(--black);
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 59, 122, 0.25), transparent 70%);
    bottom: -150px;
    left: -150px;
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 24px;
    background: var(--glass);
    border: 1px solid rgba(66, 165, 245, 0.1);
    border-radius: 16px;
    transition: border-color var(--transition), transform var(--transition);
}

.contact-item:hover {
    border-color: rgba(66, 165, 245, 0.3);
    transform: translateX(5px);
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--blue), var(--mid-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.contact-item-label {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--light-blue);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.contact-item-value {
    font-weight: 600;
    color: var(--white);
    font-size: 1rem;
}

.contact-item-value a {
    color: var(--white);
    transition: color var(--transition);
}

.contact-item-value a:hover {
    color: var(--light-blue);
}

/* Map placeholder */
.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 280px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(66, 165, 245, 0.2);
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    min-height: 280px;
    border: none;
    filter: invert(1) hue-rotate(180deg) saturate(0.8);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 800;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
    animation: floatIn 0.6s 2s both;
}

.whatsapp-float:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.wa-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 3px solid rgba(37, 211, 102, 0.4);
    animation: waPulse 2s ease-in-out infinite;
}

@keyframes waPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* ─── Footer ──────────────────────────────────────────────── */
footer {
    background: var(--black);
    border-top: 1px solid rgba(66, 165, 245, 0.1);
    padding: 60px 5% 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto 48px;
}

.footer-brand-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--white);
    margin: 16px 0 6px;
}

.footer-brand-sub {
    font-size: 0.72rem;
    letter-spacing: 3px;
    color: var(--light-blue);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-brand-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: var(--grey);
    line-height: 1.75;
    margin-bottom: 20px;
}

.footer-logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--mid-blue);
    object-fit: cover;
}

.footer-col h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.05rem;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(66, 165, 245, 0.15);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--grey);
    transition: color var(--transition), padding-left var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a:hover {
    color: var(--light-blue);
    padding-left: 6px;
}

.footer-col ul li a::before {
    content: '›';
    color: var(--mid-blue);
    font-size: 1rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 28px;
    border-top: 1px solid rgba(66, 165, 245, 0.08);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.footer-bottom p {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: var(--grey);
}

.footer-powered {
    font-size: 0.78rem;
    color: var(--grey);
    letter-spacing: 1px;
}

.footer-powered span {
    color: var(--light-blue);
    font-weight: 600;
}

/* ─── Scroll Reveal Animations ────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-img-wrap img {
        height: 360px;
    }

    .why-badge {
        right: 20px;
        bottom: -16px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    section {
        padding: 70px 5%;
    }

    #hero {
        min-height: 100svh;
        align-items: flex-end;
        padding-bottom: 40px;
    }

    .hero-bg {
        background-position: center center;
        background-size: cover;
        transform: none;
        animation: heroBlink 1s steps(1) infinite;
    }

    .hero-content {
        padding-top: 90px;
        padding-bottom: 20px;
    }

    .hero-stats {
        gap: 24px;
        justify-content: center;
    }

    .why-feature {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .services-grid {
        justify-content: center;
    }

    .service-card {
        flex: 1 1 120px;
        max-width: 160px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    #hero {
        min-height: 100svh;
    }

    .hero-bg {
        position: absolute;
        inset: 0;
        background-size: 140% auto;
        background-position: center 16%;
        background-color: #050d1a;
        transform: none;
        animation: heroBlink 1s steps(1) infinite;
    }

    .hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg,
                rgba(5, 13, 26, 0.55) 0%,
                rgba(10, 22, 40, 0.30) 50%,
                rgba(5, 13, 26, 0.70) 100%);
    }

    .hero-grid {
        position: absolute;
        inset: 0;
    }

    .hero-content {
        padding-top: 120px;
        padding-bottom: 20px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }
}