/* ========================================
   CARS TEST - Premium Car Maintenance Center
   Design System & Global Styles
   ======================================== */

/* == CSS Custom Properties == */
:root {
    /* Light Mode (Default) — أبيض + أحمر فاتح + ذهبي */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-tertiary: #FFF5F5;
    --bg-card: #FFFFFF;
    --bg-card-hover: #FFF0F0;
    --text-primary: #1A1A2E;
    --text-secondary: #4A4A5A;
    --text-muted: #8892A4;
    --royal-blue: #E63946;
    --royal-blue-light: #EF5350;
    --royal-blue-dark: #C62828;
    --accent-gold: #C9A84C;
    --accent-gold-light: #E0C76A;
    --border-color: rgba(230, 57, 70, 0.12);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.12);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-blur: blur(20px);
    --header-bg: rgba(255, 255, 255, 0.9);
    --header-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
    --gradient-primary: linear-gradient(135deg, #E63946 0%, #C62828 100%);
    --gradient-accent: linear-gradient(135deg, #C9A84C 0%, #E0C76A 100%);
    --gradient-hero-overlay: linear-gradient(180deg, rgba(26, 26, 46, 0.6) 0%, rgba(230, 57, 70, 0.75) 100%);
    --float-btn-shadow: 0 4px 20px rgba(230, 57, 70, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s ease;
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --font-ar: 'Tajawal', sans-serif;
    --font-en: 'Inter', sans-serif;
}

/* Dark Mode — أسود + أحمر + ذهبي */
[data-theme="dark"] {
    --bg-primary: #0D1117;
    --bg-secondary: #161B22;
    --bg-tertiary: #1C1C2E;
    --bg-card: #161B22;
    --bg-card-hover: #1C2333;
    --text-primary: #F0F6FC;
    --text-secondary: #B1BAC4;
    --text-muted: #6E7681;
    --border-color: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.5);
    --glass-bg: rgba(22, 27, 34, 0.8);
    --glass-border: rgba(255, 255, 255, 0.06);
    --header-bg: rgba(13, 17, 23, 0.9);
    --header-shadow: 0 1px 20px rgba(0, 0, 0, 0.3);
    --gradient-hero-overlay: linear-gradient(180deg, rgba(13, 17, 23, 0.8) 0%, rgba(198, 40, 40, 0.7) 100%);
    --float-btn-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* == Reset & Base == */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-ar);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color var(--transition), color var(--transition);
}

[lang="en"] body,
[lang="en"] {
    font-family: var(--font-en);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

/* == Section Headers == */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: var(--gradient-accent);
    color: var(--royal-blue-dark);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* == Buttons == */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    border-color: var(--royal-blue);
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(230, 57, 70, 0.4);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-3px);
}

/* ======================================
   HEADER / NAVIGATION
   ====================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--header-shadow);
    transition: all var(--transition);
    height: 72px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--royal-blue);
    z-index: 1001;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

/* Nav */
.nav-list {
    display: flex;
    gap: 4px;
}

.nav-link {
    display: block;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--royal-blue);
    background: rgba(230, 57, 70, 0.06);
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
    background: rgba(230, 57, 70, 0.2);
    color: var(--accent-gold);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.toggle-btn:hover {
    background: var(--royal-blue);
    color: #fff;
    border-color: var(--royal-blue);
    transform: scale(1.05);
}

.lang-toggle {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.hamburger {
    top: 50%;
    transform: translate(-50%, -50%);
}

.hamburger::before {
    content: '';
    top: -7px;
    left: 0;
    transform: none;
}

.hamburger::after {
    content: '';
    top: 7px;
    left: 0;
    transform: none;
}

.menu-toggle.active .hamburger {
    background: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* ======================================
   HERO SECTION
   ====================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.5s ease, transform 8s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero-overlay);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(201, 168, 76, 0.4);
    border-radius: 50%;
    animation: floatParticle 15s infinite;
}

@keyframes floatParticle {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 120px 0 80px;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--accent-gold);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title-accent {
    display: block;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
    line-height: 1.8;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 13px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease infinite;
}

@keyframes scrollWheel {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(16px);
        opacity: 0;
    }
}

/* ======================================
   BRAND LOGOS SLIDER
   ====================================== */
.brands-slider {
    padding: 32px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
}

.brands-slider::before,
.brands-slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.brands-slider::before {
    right: 0;
    background: linear-gradient(to left, var(--bg-secondary) 0%, transparent 100%);
}

.brands-slider::after {
    left: 0;
    background: linear-gradient(to right, var(--bg-secondary) 0%, transparent 100%);
}

[dir="rtl"] .brands-slider::before {
    right: auto;
    left: 0;
    background: linear-gradient(to right, var(--bg-secondary) 0%, transparent 100%);
}

[dir="rtl"] .brands-slider::after {
    left: auto;
    right: 0;
    background: linear-gradient(to left, var(--bg-secondary) 0%, transparent 100%);
}

.brands-track {
    display: flex;
    gap: 60px;
    animation: scrollBrands 30s linear infinite;
    width: max-content;
}

[dir="rtl"] .brands-track {
    animation: scrollBrandsRTL 30s linear infinite;
}

.brand-logo {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: opacity var(--transition);
    filter: grayscale(100%);
}

.brand-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.brand-logo img {
    max-height: 50px;
    max-width: 70px;
    object-fit: contain;
}

[data-theme="dark"] .brand-logo {
    filter: grayscale(100%) brightness(1.5);
}

[data-theme="dark"] .brand-logo:hover {
    filter: grayscale(0%) brightness(1.2);
}

@keyframes scrollBrands {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollBrandsRTL {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

/* ======================================
   CAR CATEGORIES
   ====================================== */
.categories-section {
    background: var(--bg-primary);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.category-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    transition: transform var(--transition);
    box-shadow: var(--shadow-md);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.category-card-bg {
    position: absolute;
    inset: 0;
}

.category-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.category-card:hover .category-card-bg img {
    transform: scale(1.08);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(13, 17, 23, 0.95) 0%, rgba(13, 17, 23, 0.3) 60%, transparent 100%);
}

.category-card-content {
    position: relative;
    z-index: 2;
    padding: 32px;
    color: #fff;
}

.category-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid rgba(201, 168, 76, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.category-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.category-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 12px;
}

.category-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.category-brands span {
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.category-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.category-link:hover {
    gap: 8px;
    color: var(--accent-gold-light);
}

/* ======================================
   SERVICES SECTION
   ====================================== */
.services-section {
    background: var(--bg-tertiary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 0;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.service-card:hover .service-img img {
    transform: scale(1.08);
}

.service-card .service-icon-wrap,
.service-card h3,
.service-card p,
.service-card .service-features {
    padding-left: 28px;
    padding-right: 28px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--royal-blue);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon-wrap {
    width: 72px;
    height: 72px;
    margin: 20px auto 16px;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    transition: transform var(--transition);
    box-shadow: 0 8px 24px rgba(230, 57, 70, 0.2);
}

.service-card:hover .service-icon-wrap {
    transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding-bottom: 24px;
}

.service-features span {
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(230, 57, 70, 0.06);
    color: var(--royal-blue);
    font-size: 0.78rem;
    font-weight: 600;
}

[data-theme="dark"] .service-features span {
    background: rgba(201, 168, 76, 0.1);
    color: var(--accent-gold);
}

/* ======================================
   WHY US SECTION
   ====================================== */
.why-us-section {
    background: var(--bg-primary);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 36px 24px;
    text-align: center;
    transition: all var(--transition);
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.why-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: var(--radius-full);
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--royal-blue-dark);
}

.why-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.why-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Counters */
.counters-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 48px 32px;
    text-align: center;
}

.counter-item {
    color: #fff;
}

.counter-number {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--accent-gold);
    margin-bottom: 4px;
    font-family: var(--font-en);
}

.counter-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

/* ======================================
   ARTICLES SECTION
   ====================================== */
.articles-section {
    background: var(--bg-tertiary);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.article-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.article-card:hover .article-img img {
    transform: scale(1.08);
}

.article-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gradient-accent);
    color: var(--royal-blue-dark);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

[dir="ltr"] .article-badge {
    right: auto;
    left: 16px;
}

.article-content {
    padding: 24px;
}

.article-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    line-height: 1.5;
}

.article-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.article-link {
    color: var(--royal-blue);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--transition-fast);
}

.article-link:hover {
    gap: 8px;
    color: var(--accent-gold);
}

[data-theme="dark"] .article-link {
    color: var(--accent-gold);
}

/* ======================================
   CONTACT SECTION
   ====================================== */
.contact-section {
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-form-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--royal-blue);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.btn-submit {
    grid-column: 1 / -1;
    justify-content: center;
}

/* Contact Info */
.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.info-card:hover {
    border-color: var(--royal-blue);
    box-shadow: var(--shadow-sm);
}

.info-card i {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.info-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.info-card p,
.info-card a {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.info-card a:hover {
    color: var(--royal-blue);
}

.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

/* ======================================
   FOOTER
   ====================================== */
.footer {
    background: var(--royal-blue-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.footer-logo i {
    font-size: 1.4rem;
    color: var(--accent-gold);
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--accent-gold);
    color: var(--royal-blue-dark);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-services h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-services a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--accent-gold);
    padding-right: 6px;
}

[dir="ltr"] .footer-links a:hover,
[dir="ltr"] .footer-services a:hover {
    padding-right: 0;
    padding-left: 6px;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ======================================
   FLOATING BUTTONS
   ====================================== */
.floating-actions {
    position: fixed;
    bottom: 24px;
    left: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

[dir="ltr"] .floating-actions {
    left: auto;
    right: 24px;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    transition: all var(--transition);
    box-shadow: var(--float-btn-shadow);
}

.float-btn:hover {
    transform: scale(1.1) translateY(-4px);
}

.whatsapp-btn {
    background: #25D366;
}

.whatsapp-btn:hover {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
}

.call-btn {
    background: var(--royal-blue);
}

.call-btn:hover {
    box-shadow: 0 6px 24px rgba(230, 57, 70, 0.4);
}

/* Pulse animation */
.float-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid currentColor;
    animation: pulse 2s ease infinite;
    opacity: 0;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* ======================================
   SCROLL TO TOP
   ====================================== */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 998;
    box-shadow: var(--shadow-md);
}

[dir="ltr"] .scroll-top {
    right: auto;
    left: 24px;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ======================================
   SCROLL ANIMATIONS
   ====================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid items */
.animate-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.animate-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

.animate-on-scroll:nth-child(4) {
    transition-delay: 0.3s;
}

.animate-on-scroll:nth-child(5) {
    transition-delay: 0.4s;
}

/* ======================================
   RESPONSIVE DESIGN
   ====================================== */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .counters-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .articles-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    /* Mobile Nav */
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 1000;
    }

    [dir="ltr"] .nav {
        right: auto;
        left: 0;
    }

    .nav.active {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-list {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 14px 32px;
    }

    /* Hero */
    .hero-content {
        padding: 100px 16px 60px;
    }

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

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* Categories */
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: 300px;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Why Us */
    .why-us-grid {
        grid-template-columns: 1fr 1fr;
    }

    .counters-row {
        grid-template-columns: 1fr 1fr;
        padding: 32px 20px;
    }

    /* Articles */
    .articles-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-info-cards {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Floating */
    .floating-actions {
        bottom: 16px;
        left: 16px;
    }

    [dir="ltr"] .floating-actions {
        left: auto;
        right: 16px;
    }

    .scroll-top {
        bottom: 16px;
        right: 16px;
    }

    [dir="ltr"] .scroll-top {
        right: auto;
        left: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

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

    .hero-desc {
        font-size: 0.95rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .counters-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-form-wrap {
        padding: 24px 16px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* ======================================
   FAQ SECTION
   ====================================== */
.faq-section {
    background: var(--bg-primary);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item:hover {
    border-color: var(--royal-blue);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: inherit;
}

.faq-question i {
    color: var(--royal-blue);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

[data-theme="dark"] .faq-question i {
    color: var(--accent-gold);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ======================================
   SEO CONTENT SECTION
   ====================================== */
.seo-section {
    background: var(--bg-tertiary);
}

.seo-content-wrap {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
}

.seo-content-wrap h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--royal-blue);
    margin-bottom: 20px;
    line-height: 1.4;
}

[data-theme="dark"] .seo-content-wrap h2 {
    color: var(--accent-gold);
}

.seo-content-wrap p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 16px;
}

.seo-content-wrap p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .seo-content-wrap {
        padding: 28px 20px;
    }
}

/* Category fallback backgrounds */
.category-card[data-category="german"] .category-card-bg {
    background: linear-gradient(135deg, #C62828 0%, #1A1A2E 100%);
}

.category-card[data-category="luxury"] .category-card-bg {
    background: linear-gradient(135deg, #8B6914 0%, #1A1A2E 100%);
}

.category-card[data-category="european"] .category-card-bg {
    background: linear-gradient(135deg, #880E4F 0%, #1A1A2E 100%);
}

.category-card[data-category="asian"] .category-card-bg {
    background: linear-gradient(135deg, #E63946 0%, #1A1A2E 100%);
}

/* Article image fallback */
.article-img {
    background: var(--gradient-primary);
}

/* ======================================
   ARTICLES TOGGLE (Show More / Less)
   ====================================== */
.article-hidden {
    display: none;
}

.articles-grid.expanded .article-hidden {
    display: block;
}

.articles-toggle-wrap {
    text-align: center;
    margin-top: 40px;
}

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    border: 2px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-outline-dark:hover {
    border-color: var(--royal-blue);
    color: var(--royal-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.btn-outline-dark i {
    transition: transform 0.3s ease;
}

.btn-outline-dark.expanded i {
    transform: rotate(180deg);
}

[data-theme="dark"] .btn-outline-dark:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* ======================================
   SEO TAGS CLOUD SECTION
   ====================================== */
.tags-section {
    background: var(--bg-secondary);
    padding: 80px 0;
}

.seo-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 1000px;
    margin: 0 auto;
}

.seo-tag {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.seo-tag:hover {
    background: var(--royal-blue);
    color: #fff;
    border-color: var(--royal-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.25);
}

[data-theme="dark"] .seo-tag:hover {
    background: var(--accent-gold);
    color: var(--royal-blue-dark);
    border-color: var(--accent-gold);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.25);
}

@media (max-width: 480px) {
    .seo-tag {
        font-size: 0.78rem;
        padding: 6px 14px;
    }
}