/* --- Variables & Theme --- */
:root {
    --bg-color: #ffffff;
    --bg-alt: #f8fafc;
    --text-color: #1f2937;
    --text-muted: #64748b;
    --primary: #cffb5e;
    /* Lime Green */
    --primary-hover: #b8e34d;
    --accent: #cffb5e;
    /* Lime Green for CTA */
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --nav-bg: rgba(255, 255, 255, 0.95);
    --badge-green: #cffb5e;
    /* Lime Green */

    /* Footer Specific */
    --footer-bg: #0f172a;
    /* Always dark for footer */
    --footer-text: #cbd5e1;
    --footer-title: #ffffff;
}

[data-theme="dark"] {
    --bg-color: #0f172a;
    --bg-alt: #1e293b;
    --text-color: #f1f5f9;
    --text-muted: #94a3b8;
    --primary: #cffb5e;
    /* Lime Green */
    --primary-hover: #b8e34d;
    --accent: #cffb5e;
    /* Lime Green for CTA */
    --card-bg: #1e293b;
    --border-color: #334155;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --nav-bg: rgba(15, 23, 42, 0.95);
    /* Footer stays dark in dark mode */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s, color 0.3s;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

/* --- FAQ Section Styles --- */
.faq-section {
    background-color: var(--bg-alt);
    padding: 80px 20px;
    transition: background-color 0.3s ease;
}

.faq-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.faq-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

/* FAQ Item Container */
.faq-item {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.faq-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Question Header (Clickable) */
.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card-bg);
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question span {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.05rem;
    padding-right: 15px;
    flex: 1;
}

/* Plus/Minus Icon */
.faq-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--bg-alt);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    transform-origin: center center;
    line-height: 0;
}

/* Answer Content (Hidden by default) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--card-bg);
}

.faq-answer p,
.faq-answer ul {
    padding: 0 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.faq-answer p:first-child {
    padding-top: 10px;
}

.faq-answer p:last-child,
.faq-answer ul:last-child {
    padding-bottom: 20px;
}

/* Active State (When Open) */
.faq-item.active {
    border-color: var(--primary);
}

.faq-item.active .faq-question {
    background: rgba(2, 132, 199, 0.05);
}

.faq-item.active .faq-question span {
    color: var(--primary);
}

.faq-item.active .faq-icon {
    background: var(--primary);
    color: #ffffff;
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 800px;
}

/* List Styling inside Answer */
.faq-list {
    list-style: none;
    padding-left: 0;
    margin: 12px 0;
}

.faq-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.faq-list li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.3rem;
    line-height: 1.4rem;
    transition: color 0.3s ease;
}

/* Note/Info Box */
.faq-note {
    background-color: var(--bg-alt);
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 12px 24px 0;
    border-left: 4px solid var(--primary);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.faq-note i {
    color: var(--primary);
    margin-right: 8px;
    transition: color 0.3s ease;
}

/* --- Floating WhatsApp --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-float .tooltip {
    visibility: hidden;
    width: 140px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    top: 15px;
    right: 110%;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
}

.whatsapp-float:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px transparent;
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 transparent;
    }
}

/* --- Floating Call Button --- */
.call-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: bounceIn 1s ease-out;
}

.call-float:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 30px rgba(2, 132, 199, 0.6);
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
}

.call-float i {
    animation: shake 2s ease-in-out infinite;
    transform-origin: center;
}

/* Pulse Ring Animation */
.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid #0284c7;
    border-radius: 50%;
    animation: pulseRing 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    opacity: 0;
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Phone Shake Animation */
@keyframes shake {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30%, 50% {
        transform: rotate(-10deg);
    }
    20%, 40%, 60% {
        transform: rotate(10deg);
    }
    70% {
        transform: rotate(0deg);
    }
}

/* Bounce In Animation */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(100px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

/* Call Tooltip */
.call-tooltip {
    visibility: hidden;
    width: 120px;
    background: linear-gradient(135deg, #1f2937 0%, #0f172a 100%);
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 8px 12px;
    position: absolute;
    top: 50%;
    left: 110%;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.call-tooltip::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-right-color: #1f2937;
}

.call-float:hover .call-tooltip {
    visibility: visible;
    opacity: 1;
    left: 115%;
}

/* Dark Mode Support */
[data-theme="dark"] .call-float {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.4);
}

[data-theme="dark"] .call-float:hover {
    box-shadow: 0 6px 30px rgba(56, 189, 248, 0.6);
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
}

[data-theme="dark"] .pulse-ring {
    border-color: #38bdf8;
}

[data-theme="dark"] .call-tooltip {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
}

[data-theme="dark"] .call-tooltip::before {
    border-right-color: #334155;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.3s ease,
        background 0.4s ease,
        border-color 0.3s ease;
}

.header.navbar-hidden {
    transform: translateY(-100%);
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Frosted-glass navbar while over the hero */
.header.transparent {
    background: rgba(255, 255, 255, 0.342);
    backdrop-filter: blur(10px);
    border-bottom-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .header.transparent {
    background: rgba(15, 23, 42, 0.78);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 1rem 1.5rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover,
.nav-links a.active {
    /* color: var(--primary); */
    color: #02be02;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

/* ========== DROPDOWN NAVIGATION ========== */
.nav-dropdown-item {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex !important;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.nav-dropdown-toggle i {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}

/* Dropdown Menu - Desktop */
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99999;
}

/* Invisible bridge to maintain hover */
.nav-dropdown-item::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 15px;
}

/* Show dropdown on hover - Desktop */
.nav-dropdown-item:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-item:hover .nav-dropdown-toggle i {
    transform: rotate(180deg);
}

/* Dropdown menu items */
.nav-dropdown-menu li {
    margin: 0;
    padding: 0;
}

.nav-dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

/* Remove underline effect from dropdown links */
.nav-dropdown-menu li a::after {
    display: none !important;
}

.nav-dropdown-menu li a:hover {
    background: rgba(207, 251, 94, 0.08);
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 22px;
}

/* Dark mode dropdown */
[data-theme="dark"] .nav-dropdown-menu {
    background: var(--card-bg);
    border-color: var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-color);
    cursor: pointer;
}

/* Burger Icon */
.burger {
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 26px;
    height: 20px;
}

.burger .line1,
.burger .line2,
.burger .line3 {
    width: 100%;
    height: 2.5px;
    background: var(--text-color);
    border-radius: 3px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.burger.active .line1 {
    transform: translateY(7.5px) rotate(45deg);
}

.burger.active .line2 {
    opacity: 0;
    transform: scaleX(0);
}

.burger.active .line3 {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Menu Backdrop */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 997;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    backdrop-filter: blur(3px);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    height: 100vh;
    max-height: 100vh;
    background: url('assets/hero-img-1.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    padding-top: 70px;
    padding-bottom: 30px;
    overflow: hidden;
}

.hero-overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.644) 50%, transparent);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.hero-row {
    width: 100%;
    padding-bottom: 30px;
}

/* Hero Content (Left Side) */
.hero-content-wrapper {
    padding-bottom: 0;
}

.hero-title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    line-height: 1.15;
}

.badge-pill {
    background-color: var(--badge-green);
    color: #1f2937;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, background-color 0.3s;
}

.badge-pill i {
    font-size: 0.95rem;
}

.badge-pill:hover {
    transform: translateY(-3px);
    background-color: var(--primary-hover);
}

/* Hero Form (Right Side) */
.hero-form-wrapper {
    margin-bottom: 0;
}

.hero-form-card {
    background: #ffffff;
    padding: 25px 25px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.hero-form-card h3 {
    color: var(--primary);
    text-align: center;
    font-size: 1.35rem;
    font-weight: 600;
}

.hero-form-card p {
    text-align: center;
    color: #666;
    font-size: 0.88rem;
}

/* Bootstrap Form Overrides for Hero Form */
.hero-form .form-control,
.hero-form .form-select {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #fff;
    color: #333;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.hero-form .form-control:focus,
.hero-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(207, 251, 94, 0.15);
}

.hero-form .btn-submit {
    background: var(--accent);
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: background 0.3s, transform 0.2s;
    color: #1f2937;
}

.hero-form .btn-submit:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* --- General Sections --- */
.section-padding {
    padding: 80px 20px;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.text-center {
    text-align: center;
}

.bg-alt {
    background-color: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
}

.sub-heading {
    display: block;
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 12px;
}

.content-text {
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 680px;
    margin: 0 auto;
}

/* --- About Cards --- */
.about-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 50px;
}

.about-card {
    flex: 1 1 280px;
    max-width: calc(33.333% - 18px);
    background: var(--card-bg);
    padding: 32px 26px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.13);
}

.about-card .icon-box {
    margin: 0 auto 18px;
}

.about-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.about-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* CTA Button */
.about-cta {
    text-align: center;
    margin-top: 48px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #1f2937;
    text-decoration: none;
    border: none;
    padding: 15px 36px;
    border-radius: 50px;
    font-family: inherit;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(207, 251, 94, 0.38);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(207, 251, 94, 0.5);
    background: var(--primary-hover);
}

/* --- Services & Brands Grids --- */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card,
.location-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: transform 0.3s, background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.service-card:hover,
.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-card h3,
.location-card h3 {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.service-card p,
.location-card p {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(207, 251, 94, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

/* Service Section - Responsive Image Styles */
.service-image-box {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
}

.service-img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

/* Modern Service Card Styles */
.service-card-modern {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(207, 251, 94, 0.2);
    border-color: var(--primary);
}

/* Dark mode hover effect */
[data-theme="dark"] .service-card-modern:hover {
    box-shadow: 0 12px 35px rgba(207, 251, 94, 0.25);
}

/* Service Card Image Container - Fixed Dimensions */
.service-card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-modern:hover .service-card-image img {
    transform: scale(1.1);
}

/* Service Card Content */
.service-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    transition: background-color 0.3s ease;
}

.service-card-content h5 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.service-card-modern:hover .service-card-content h5 {
    color: var(--primary);
}

.service-card-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    transition: color 0.3s ease;
}

/* Dark Mode Specific Adjustments */
[data-theme="dark"] .service-card-modern {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .service-card-image {
    background: rgba(30, 41, 59, 0.8);
}

[data-theme="dark"] .service-card-content {
    background: var(--card-bg);
}

/* Service Card Loading Animation */
.service-card-modern.reveal {
    opacity: 0;
    transform: translateY(20px);
}

.service-card-modern.reveal.active {
    opacity: 1;
    transform: translateY(0);
    animation: slideInUp 0.6s ease-out forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Brands Carousel (Infinite Scroll) --- */
.brands-carousel-wrapper {
    overflow: hidden;
    margin-top: 50px;
    padding: 20px 0 30px;
}

.brands-carousel-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: brandScroll 30s linear infinite;
}

.brands-carousel-track:hover {
    animation-play-state: paused;
}

@keyframes brandScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.brand-item {
    flex-shrink: 0;
    width: 280px;
    padding: 30px 25px;
    background: var(--card-bg);
    border-radius: 16px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(207, 251, 94, 0.2);
    border-color: var(--primary);
}

.brand-img {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.brand-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.brand-item:hover .brand-img img {
    transform: scale(1.05);
}

.brand-name {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    transition: color 0.3s ease;
}

.brand-models {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
    transition: color 0.3s ease;
}

/* Dark Mode Adjustments */
[data-theme="dark"] .brand-item {
    background: var(--card-bg);
}

[data-theme="dark"] .brand-item:hover {
    box-shadow: 0 8px 25px rgba(207, 251, 94, 0.3);
}

[data-theme="dark"] .brand-img img {
    opacity: 0.92;
}

[data-theme="dark"] .brand-item:hover .brand-img img {
    opacity: 1;
}

/* --- Products Grid --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--card-bg);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s, border-color 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.13);
}

/* Image area — gradient placeholders, swap <img> inside when ready */
.product-img {
    height: 180px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card:nth-child(1) .product-img {
    /* background: linear-gradient(135deg, #0369a1, #38bdf8); */
}

.product-card:nth-child(2) .product-img {
    /* background: linear-gradient(135deg, #0e7490, #22d3ee); */
}

.product-card:nth-child(3) .product-img {
    /* background: linear-gradient(135deg, #1d4ed8, #60a5fa); */
}

.product-card:nth-child(4) .product-img {
    /* background: linear-gradient(135deg, #6d28d9, #a78bfa); */
}

.product-img i {
    font-size: 2.8rem;
    color: rgba(255, 255, 255, 0.92);
}

/* Tag badge inside image area */
.product-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 20px;
}

/* Text block below image */
.product-info {
    padding: 22px;
}

.product-info h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.product-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    transition: color 0.3s ease;
}

.product-info hr {
    border-color: var(--border-color);
    transition: border-color 0.3s ease;
}

.product-info span {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

/* --- Product Hover Card Styles --- */
.product-hover-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 450px;
}

.product-hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.product-hover-card:hover .product-image {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.85) 60%, transparent 100%);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 30px 25px;
    display: flex;
    align-items: flex-end;
    min-height: 100%;
}

.product-hover-card:hover .product-overlay {
    transform: translateY(0);
}

.product-details {
    width: 100%;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
}

.product-hover-card:hover .product-details {
    opacity: 1;
    transform: translateY(0);
}

.product-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fbbf24;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-title i {
    font-size: 22px;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.product-features li {
    font-size: 14px;
    line-height: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e5e7eb;
}

.product-features i {
    color: #10b981;
    font-size: 14px;
    flex-shrink: 0;
}

.product-ideal-for {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #f3f4f6;
}

.product-ideal-for i {
    font-size: 20px;
    color: #3b82f6;
}

.product-ideal-for strong {
    color: white;
    font-weight: 600;
}

/* --- Testimonials (infinite marquee) --- */
.testimonial-track-wrapper {
    overflow: hidden;
    margin-top: 50px;
    padding: 12px 0 24px;
}

.testimonial-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.testimonial-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    flex-shrink: 0;
    width: 320px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.testimonial-stars {
    color: #facc15;
    font-size: 0.88rem;
    letter-spacing: 3px;
}

.testimonial-text {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    flex: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonial-author h4 {
    font-size: 0.92rem;
    margin-bottom: 2px;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Ad Section Styles --- */
.ad-section {
    padding: 60px 20px;
    background-color: var(--bg-color);
    transition: background-color 0.3s ease;
}

.ad-section .card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ad-section h2 {
    color: var(--text-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.ad-section h4 {
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.ad-section p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    transition: color 0.3s ease;
}

.ad-section b {
    color: var(--text-color);
    transition: color 0.3s ease;
}

/* Search Tag Styles */
.search-tag {
    background-color: rgba(207, 251, 94, 0.15);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.95rem;
    color: var(--text-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.search-tag:hover {
    background-color: rgba(207, 251, 94, 0.25);
    transform: translateY(-2px);
}

.search-tag i {
    color: var(--primary);
    transition: color 0.3s ease;
}

/* Highlight Card */
.ad-highlight-card {
    background-color: rgba(207, 251, 94, 0.08);
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.ad-highlight-card:hover {
    background-color: rgba(207, 251, 94, 0.12);
    box-shadow: 0 4px 15px rgba(207, 251, 94, 0.2);
}

.ad-highlight-card h4 {
    color: var(--primary);
    font-weight: 700;
}

.ad-highlight-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Search Header */
.search-header {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

/* Dark Mode Specific */
[data-theme="dark"] .search-tag {
    background-color: rgba(207, 251, 94, 0.15);
}

[data-theme="dark"] .search-tag:hover {
    background-color: rgba(207, 251, 94, 0.25);
}

[data-theme="dark"] .ad-highlight-card {
    background-color: rgba(207, 251, 94, 0.1);
    border-color: var(--primary);
}

[data-theme="dark"] .ad-highlight-card:hover {
    background-color: rgba(207, 251, 94, 0.15);
    box-shadow: 0 4px 15px rgba(207, 251, 94, 0.3);
}

/* --- Contact Section --- */
.contact-section {
    transition: background-color 0.3s ease;
}

/* Left Side: Image with Overlay */
.contact-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 520px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

.contact-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.541) 0%, rgba(0, 0, 0, 0.24) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

.contact-overlay-content {
    color: white;
}

.contact-overlay-content i {
    font-size: 3.5rem;
    margin-bottom: 16px;
    opacity: 0.9;
}

.contact-overlay-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-overlay-content p {
    font-size: 1rem;
    opacity: 0.95;
}

/* Right Side: Modern Contact Form */
.modern-contact-form-wrapper {
    display: flex;
    align-items: stretch;
    height: 100%;
}

.modern-contact-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    width: 100%;
    display: flex;
    flex-direction: column;
}

.modern-contact-card h3 {
    color: var(--text-color);
    font-size: 1.65rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.modern-contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.modern-contact-form .row {
    margin-bottom: 0;
}

.modern-contact-form .col-md-6,
.modern-contact-form .col-12 {
    margin-bottom: 12px;
}

.modern-contact-form .col-12:last-child {
    margin-bottom: 0;
}

.modern-contact-form .form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.modern-contact-form .form-control,
.modern-contact-form .form-select {
    padding: 11px 14px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.modern-contact-form .form-control:focus,
.modern-contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(207, 251, 94, 0.1);
    background: var(--card-bg);
    outline: none;
}

.modern-contact-form .form-control::placeholder,
.modern-contact-form .form-select::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.modern-contact-form textarea.form-control {
    resize: vertical;
    min-height: 80px !important;
    height: 90px !important;
}

.btn-contact-submit {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(207, 251, 94, 0.3);
    color: #1f2937;
    cursor: pointer;
}

.btn-contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(207, 251, 94, 0.4);
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
}

.btn-contact-submit:active {
    transform: translateY(0);
}

/* Contact Info Footer */
.contact-info-footer {
    border-top: 2px solid var(--border-color) !important;
    margin-top: auto;
    padding-top: 20px !important;
}

.contact-info-footer i {
    display: block;
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.contact-info-footer .fw-semibold {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 3px;
    font-size: 0.85rem;
}

.contact-info-footer .text-muted {
    color: var(--text-muted) !important;
    font-size: 0.8rem;
}

/* Dark Mode Contact Adjustments */
[data-theme="dark"] .contact-image-wrapper {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .modern-contact-card {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .modern-contact-form .form-control,
[data-theme="dark"] .modern-contact-form .form-select {
    border-color: var(--border-color);
    background: var(--bg-alt);
}

[data-theme="dark"] .modern-contact-form .form-control:focus,
[data-theme="dark"] .modern-contact-form .form-select:focus {
    border-color: var(--primary);
    background: var(--card-bg);
}

/* --- MODERN ATTRACTIVE FOOTER --- */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 70px 0 30px;
    font-size: 0.95rem;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h3 {
    color: var(--footer-title);
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
}

.footer-logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.footer-logo span {
    color: var(--primary);
}

.footer-about {
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-socials a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--footer-text);
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.contact-list li i {
    color: var(--primary);
    margin-top: 5px;
}

.footer-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 40px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-links a {
    color: var(--footer-text);
    margin-left: 20px;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* --- Popup Modal Styles --- */
.popup-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.popup-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.popup-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 0;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-close-btn {
    position: absolute;
    right: 15px;
    top: 15px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    color: #333;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 1;
}

.popup-close-btn:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

.popup-form-card {
    padding: 40px 30px 30px 30px;
}

.popup-form-card h3 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.popup-form-card p {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.popup-form input,
.popup-form select,
.popup-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    background: #fff;
    color: #333;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.popup-form textarea {
    resize: vertical;
    min-height: 80px;
}

.popup-form input:focus,
.popup-form select:focus,
.popup-form textarea:focus {
    border-color: var(--primary);
}

.popup-form .btn.primary {
    background: var(--accent);
    color: #1f2937;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.popup-form .btn.primary:hover {
    background: var(--primary-hover);
}

/* --- Stats Bar Section --- */
.stats-bar-section {
    padding: 0;
    margin: -40px 0 0 0;
    position: relative;
    z-index: 10;
}

.stats-bar {
    background: linear-gradient(135deg, rgba(207, 251, 94, 0.95) 0%, rgba(184, 227, 77, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

/* Animated Background Effect */
.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Stat Item */
.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.stat-item:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(5) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stat Icon Wrapper */
.stat-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(31, 41, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #1f2937;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.stat-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(31, 41, 55, 0.3);
    animation: pulse-border 2s ease-in-out infinite;
}

@keyframes pulse-border {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

.stat-item:hover .stat-icon-wrapper {
    transform: scale(1.1) rotate(10deg);
    background: rgba(31, 41, 55, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.stat-icon-wrapper i {
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Stat Content */
.stat-content {
    flex: 1;
    color: #1f2937;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Stat Divider */
.stat-divider {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(31, 41, 55, 0.4), transparent);
    flex-shrink: 0;
}

/* Dark Mode Support */
[data-theme="dark"] .stats-bar {
    background: linear-gradient(135deg, rgba(207, 251, 94, 0.25) 0%, rgba(184, 227, 77, 0.25) 100%);
    border: 1px solid rgba(207, 251, 94, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .stats-bar::before {
    background: linear-gradient(90deg, transparent, rgba(207, 251, 94, 0.1), transparent);
}

[data-theme="dark"] .stat-icon-wrapper {
    background: rgba(207, 251, 94, 0.2);
    box-shadow: 0 8px 20px rgba(207, 251, 94, 0.3);
    color: #cffb5e;
}

[data-theme="dark"] .stat-icon-wrapper::after {
    border-color: rgba(207, 251, 94, 0.4);
}

[data-theme="dark"] .stat-item:hover .stat-icon-wrapper {
    background: rgba(207, 251, 94, 0.3);
    box-shadow: 0 12px 30px rgba(207, 251, 94, 0.4);
}

[data-theme="dark"] .stat-content {
    color: #f1f5f9;
}

[data-theme="dark"] .stat-divider {
    background: linear-gradient(to bottom, transparent, rgba(207, 251, 94, 0.3), transparent);
}

/* --- Mobile --- */
@media (max-width: 900px) {

    /* Burger visible on mobile */
    .burger {
        display: flex;
    }

    /* Slide-down mobile menu */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: var(--nav-bg);
        backdrop-filter: blur(12px);
        padding: 6px 0;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.13);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-14px);
        transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.32s ease,
            visibility 0.32s ease;
        z-index: 999;
    }

    .nav-links.menu-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 15px 24px;
        font-size: 1.05rem;
        border-left: 3px solid transparent;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a.active {
        background: rgba(207, 251, 94, 0.07);
        border-left-color: var(--primary);
    }

    /* ========== MOBILE DROPDOWN ========== */
    .nav-dropdown-item {
        position: relative;
    }

    .nav-dropdown-item::after {
        display: none;
    }

    .nav-dropdown-toggle {
        display: flex !important;
        justify-content: space-between;
        width: 100%;
    }

    .nav-dropdown-toggle i {
        margin-left: auto;
        font-size: 0.75rem;
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        min-width: 100%;
        max-height: 0;
        overflow: hidden;
        background: rgba(207, 251, 94, 0.05);
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        transition: max-height 0.35s ease;
    }

    /* Disable hover on mobile */
    .nav-dropdown-item:hover .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 0;
    }

    /* Open state for mobile click */
    .nav-dropdown-item.open .nav-dropdown-menu {
        max-height: 500px;
    }

    .nav-dropdown-item.open .nav-dropdown-toggle i {
        transform: rotate(180deg);
    }

    .nav-dropdown-menu li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-dropdown-menu li:last-child {
        border-bottom: none;
    }

    .nav-dropdown-menu li a {
        padding: 12px 20px 12px 40px;
        font-size: 0.95rem;
    }

    .nav-dropdown-menu li a:hover {
        padding-left: 44px;
    }

    /* Hero */
    .hero-section {
        height: auto;
        max-height: none;
        min-height: 100vh;
        padding-top: 90px;
        padding-bottom: 30px;
    }

    .hero-section .container {
        align-items: center;
    }

    .hero-row {
        flex-direction: column-reverse;
        padding-bottom: 20px;
    }

    .hero-content-wrapper {
        text-align: center;
        padding-bottom: 0;
        margin-top: 20px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 18px;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero-form-card {
        padding: 25px 20px;
    }

    .hero-form-card h3 {
        font-size: 1.25rem;
    }

    /* Stats Bar - Tablet */
    .stats-bar-section {
        margin: -30px 0 0 0;
    }

    .stats-bar {
        flex-direction: column;
        padding: 35px 30px;
        gap: 25px;
        border-radius: 16px;
    }

    .stat-item {
        width: 100%;
        justify-content: center;
        padding: 15px 0;
    }

    .stat-divider {
        width: 80%;
        height: 2px;
        background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
    }

    [data-theme="dark"] .stat-divider {
        background: linear-gradient(to right, transparent, rgba(56, 189, 248, 0.3), transparent);
    }

    .stat-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .stat-number {
        font-size: 1.9rem;
    }

    .stat-label {
        font-size: 0.88rem;
    }

    /* Grids — tablet */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-card {
        max-width: calc(50% - 14px);
    }

    /* Product Hover Cards - Tablet */
    .product-hover-card {
        height: 400px;
    }

    .product-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    }

    .product-details {
        opacity: 1;
        transform: translateY(0);
    }

    .product-title {
        font-size: 18px;
    }

    .product-features li {
        font-size: 13px;
    }

    /* Contact — stack at tablet */
    .contact-image-wrapper {
        min-height: 450px;
        margin-bottom: 30px;
    }

    .modern-contact-form-wrapper {
        margin-top: 0;
    }

    .modern-contact-card {
        padding: 35px 30px;
    }

    .modern-contact-card h3 {
        font-size: 1.6rem;
    }

    .modern-contact-form textarea.form-control {
        min-height: 100px !important;
        height: 100px !important;
    }

    /* Spacing */
    .section-padding {
        padding: 60px 20px;
    }

    .footer {
        padding: 60px 16px 24px;
    }

    /* Footer */
    .footer-row {
        flex-direction: column;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }

    .footer-bottom-links {
        margin-top: 10px;
    }

    .footer-bottom-links a {
        margin: 0 10px;
    }
}

/* Popup Mobile Styles */
@media (max-width: 600px) {
    .popup-modal-content {
        max-width: 95%;
        width: 95%;
    }

    .popup-form-card {
        padding: 35px 20px 25px 20px;
    }

    .popup-form-card h3 {
        font-size: 1.3rem;
    }

    .popup-close-btn {
        width: 32px;
        height: 32px;
        font-size: 24px;
        right: 10px;
        top: 10px;
    }
}

/* --- Small Mobile --- */
@media (max-width: 600px) {

    /* Grids — single column */
    .services-grid,
    .products-grid,
    .locations-grid {
        grid-template-columns: 1fr;
    }

    .product-img {
        height: 160px;
    }

    /* Typography */
    .section-header h2 {
        font-size: 1.7rem;
    }

    .hero-title {
        font-size: 1.7rem;
        margin-bottom: 15px;
    }

    /* Spacing */
    .section-padding {
        padding: 45px 16px;
    }

    .footer {
        padding: 45px 16px 20px;
    }

    .footer-col {
        min-width: 0;
    }

    /* Cards */
    .service-card,
    .location-card {
        padding: 15px;
    }

    /* Service images responsive */
    .service-image-box {
        max-width: 160px;
    }

    .service-img {
        max-height: 160px;
    }

    /* Modern Service Cards - Tablet */
    .service-card-image {
        height: 220px;
    }

    .service-card-content {
        padding: 20px;
    }

    .service-card-content h5 {
        font-size: 1.1rem;
    }

    .service-card-content p {
        font-size: 0.88rem;
    }

    /* Hero tweaks */
    .badge-pill {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .hero-form-card {
        padding: 20px 18px;
    }

    .hero-form-card h3 {
        font-size: 1.2rem;
    }

    .hero-form-card p {
        font-size: 0.82rem;
    }

    .hero-form .form-control,
    .hero-form .form-select {
        padding: 9px 12px;
        font-size: 0.88rem;
    }

    .hero-form .btn-submit {
        padding: 11px;
        font-size: 1rem;
    }

    /* About & Brands */
    .about-card {
        max-width: 100%;
        padding: 24px 20px;
    }

    .brand-item {
        width: 240px;
        padding: 25px 20px;
    }

    .brand-img {
        height: 120px;
    }

    .brand-name {
        font-size: 1.1rem;
    }

    .brand-models {
        font-size: 0.85rem;
    }

    /* FAQ */
    .faq-section {
        padding: 50px 16px;
    }

    .faq-title {
        font-size: 1.7rem;
    }

    .faq-subtitle {
        font-size: 0.95rem;
    }

    .faq-question {
        padding: 16px 18px;
    }

    .faq-question span {
        font-size: 0.95rem;
    }

    .faq-icon {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 0.85rem;
    }

    .faq-answer p,
    .faq-answer ul {
        padding: 0 18px;
        font-size: 0.9rem;
    }

    .faq-note {
        margin: 12px 18px 0;
        font-size: 0.85rem;
    }

    /* Ad Section */
    .ad-section {
        padding: 50px 16px;
    }

    .ad-section h2 {
        font-size: 1.6rem;
    }

    .ad-section .card {
        padding: 20px !important;
    }

    .search-tag {
        padding: 6px 12px;
        font-size: 0.88rem;
    }

    .search-header {
        font-size: 1.1rem;
    }

    /* Contact — mobile adjustments */
    .contact-image-wrapper {
        min-height: 350px;
        margin-bottom: 25px;
    }

    .contact-overlay {
        padding: 30px 20px;
    }

    .contact-overlay-content i {
        font-size: 3rem;
        margin-bottom: 15px;
    }

    .contact-overlay-content h3 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .contact-overlay-content p {
        font-size: 0.9rem;
    }

    .modern-contact-card {
        padding: 30px 20px;
    }

    .modern-contact-card h3 {
        font-size: 1.35rem;
        margin-bottom: 12px;
    }

    .modern-contact-form .form-control,
    .modern-contact-form .form-select {
        padding: 11px 14px;
        font-size: 0.9rem;
    }

    .modern-contact-form textarea.form-control {
        min-height: 90px !important;
        height: 90px !important;
    }

    .btn-contact-submit {
        padding: 13px 20px;
        font-size: 1rem;
    }

    .contact-info-footer {
        margin-top: 25px !important;
        padding-top: 25px !important;
    }

    .contact-info-footer i {
        font-size: 1.2rem;
    }

    .contact-info-footer .fw-semibold {
        font-size: 0.9rem;
    }

    .contact-info-footer .text-muted {
        font-size: 0.8rem;
    }

    /* Testimonials — narrower cards on small screens */
    .testimonial-card {
        width: 270px;
        padding: 22px;
    }

    /* WhatsApp float — slightly smaller */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }

    /* Call float — slightly smaller on mobile */
    .call-float {
        width: 55px;
        height: 55px;
        font-size: 24px;
        bottom: 20px;
        left: 20px;
    }

    .call-tooltip {
        font-size: 12px;
        padding: 6px 10px;
        width: 100px;
    }

    .call-float:hover {
        transform: scale(1.05) rotate(10deg);
    }

    /* Hide tooltips on very small screens */
    .call-tooltip,
    .whatsapp-float .tooltip {
        display: none;
    }

    /* Stats Bar - Mobile */
    .stats-bar-section {
        margin: -20px 0 0 0;
        padding: 0 10px;
    }

    .stats-bar {
        padding: 30px 20px;
        gap: 20px;
        border-radius: 12px;
    }

    .stat-item {
        padding: 12px 0;
        gap: 15px;
    }

    .stat-icon-wrapper {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.82rem;
        letter-spacing: 0.5px;
    }

    .stat-divider {
        width: 70%;
    }

    /* Modern Service Cards - Mobile */
    .service-card-image {
        height: 200px;
    }

    .service-card-content {
        padding: 18px;
    }

    .service-card-content h5 {
        font-size: 1.05rem;
        margin-bottom: 10px;
    }

    .service-card-content p {
        font-size: 0.86rem;
        line-height: 1.5;
    }

    .service-card-modern:hover {
        transform: translateY(-4px);
    }

    /* Product Hover Cards - Mobile */
    .product-hover-card {
        height: 380px;
    }

    .product-overlay {
        padding: 20px 18px;
    }

    .product-title {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .product-features {
        margin-bottom: 12px;
    }

    .product-features li {
        font-size: 13px;
        line-height: 1.6;
    }

    .product-ideal-for {
        font-size: 13px;
        padding-top: 10px;
    }

    /* Disable hover effect on mobile */
    .product-hover-card:hover {
        transform: none;
    }

    .product-hover-card:hover .product-image {
        transform: none;
    }
}