/* ==========================================================================
   Germany Career Express - Professional Career Service
   Updated Stylesheet - Modern German Theme
   ========================================================================== */

/* CSS Variables for Theme Management - Germany Theme */
:root {
    /* Germany Theme Colors */
    --primary-color: #dd0000;   /* Germany Red */
    --primary-dark: #b30000;
    --primary-light: #ff4444;
    --secondary-color: #ffce00; /* Germany Gold */
    --secondary-dark: #e6b800;
    --secondary-light: #ffdf80;

    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-400: #bdbdbd;
    --gray-500: #9e9e9e;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    --black: #000000;

    /* Semantic Colors */
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
    --info-color: #2196f3;

    /* Layout & UI */
    --header-height: 70px;
    --border-radius: 16px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;

    /* Typography */
    --font-family: 'Cairo', 'Inter', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-black: 900;

    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;

    /* Spacing */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;
    --spacing-24: 6rem;

    /* Container */
    --container-width: 1200px;
    --container-padding: 1rem;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --white: #121212;
    --gray-50: #1e1e1e;
    --gray-100: #242424;
    --gray-200: #2c2c2c;
    --gray-300: #363636;
    --gray-400: #4a4a4a;
    --gray-500: #5e5e5e;
    --gray-600: #757575;
    --gray-700: #9e9e9e;
    --gray-800: #c2c2c2;
    --gray-900: #e0e0e0;
    --black: #ffffff;
}

/* Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    transition: var(--transition);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: var(--spacing-4);
    color: var(--gray-900);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p { margin-bottom: var(--spacing-4); }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover { color: var(--primary-dark); }

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Section */
.section {
    padding: var(--spacing-20) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-12);
}

.section-title {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-4);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 50px;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons - Touch Optimized */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-3) var(--spacing-6);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    border-radius: 50px;
    transition: var(--transition);
    gap: var(--spacing-2);
    position: relative;
    overflow: hidden;
}

.btn:active { transform: scale(0.96); }

.btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(221, 0, 0, 0.25);
}

.btn:disabled {
    opacity: 0.65;
    pointer-events: none;
}

.btn-primary {
    color: var(--white);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(221, 0, 0, 0.3);
}

.btn-primary:hover {
    color: var(--white);
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    color: var(--gray-900);
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    color: var(--gray-900);
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    color: var(--primary-color);
    background-color: transparent;
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    color: var(--white);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: var(--spacing-4) var(--spacing-8);
    font-size: var(--font-size-lg);
}

.btn-full { width: 100%; }

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
    height: var(--header-height);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

/* Mobile Menu (Drawer Style) */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        background-color: var(--white);
        width: 85%;
        max-width: 350px;
        height: 100vh;
        padding: var(--spacing-8);
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2000;
        display: flex;
        flex-direction: column;
        gap: var(--spacing-8);
        overflow-y: auto;
    }

    .nav-menu.show-menu { right: 0; }

    .nav-list {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-6);
    }

    .nav-link {
        font-size: 1.2rem;
        font-weight: var(--font-weight-semibold);
        color: var(--gray-800);
        padding: var(--spacing-2) 0;
    }

    .nav-actions {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-4);
        margin-top: auto;
    }

    .nav-toggle {
        display: block;
        background: none;
        border: none;
        font-size: var(--font-size-2xl);
        cursor: pointer;
        color: var(--gray-800);
        padding: var(--spacing-2);
    }

    .nav-close-btn {
        position: absolute;
        top: var(--spacing-6);
        right: var(--spacing-6);
        font-size: var(--font-size-2xl);
        cursor: pointer;
        color: var(--gray-800);
        background: none;
        border: none;
    }
}

/* Desktop Navigation */
@media (min-width: 969px) {
    .nav-toggle, .nav-close-btn { display: none; }

    .nav-menu {
        position: static;
        height: auto;
        width: auto;
        background: transparent;
        box-shadow: none;
        display: flex;
        align-items: center;
        gap: var(--spacing-8);
        padding: 0;
        transform: none;
    }

    .nav-list {
        display: flex;
        list-style: none;
        gap: var(--spacing-6);
    }

    .nav-link {
        color: var(--gray-800);
        font-weight: var(--font-weight-semibold);
        position: relative;
        padding: var(--spacing-2) 0;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--primary-color);
        transition: width var(--transition);
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: var(--spacing-4);
    }

    .nav-cta { white-space: nowrap; }
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    background: none;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    padding: var(--spacing-2) var(--spacing-3);
    cursor: pointer;
    transition: var(--transition);
}

.language-btn:hover {
    border-color: var(--primary-color);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 150px;
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-2);
    margin-top: var(--spacing-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown button {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: var(--spacing-2) var(--spacing-3);
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: background-color var(--transition);
}

.language-dropdown button:hover {
    background-color: var(--gray-100);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15,23,42,0.4) 0%, rgba(15,23,42,0.85) 100%);
    z-index: -1;
}

.hero-content {
    color: var(--white);
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: var(--font-size-6xl);
    margin-bottom: var(--spacing-6);
    color: var(--white);
    animation: fadeInUp 1s ease;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--gray-200);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-12);
    animation: fadeInUp 1s ease 0.4s both;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-8);
    animation: fadeInUp 1s ease 0.6s both;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--secondary-color);
}

.stat-label {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--gray-300);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--spacing-8);
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-2);
    animation: bounce 2s infinite;
}

.hero-scroll-indicator span {
    font-size: var(--font-size-sm);
}

.hero-scroll-indicator i {
    font-size: var(--font-size-xl);
}

/* Mobile Background Fix */
@media (max-width: 768px) {
    body {
        background: var(--white) !important;
    }

    .hero {
        background: url("https://i.imgur.com/YOcbzmv.jpeg") no-repeat center center !important;
        background-size: cover !important;
    }

    .hero-video-container video {
        display: none;
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-lg);
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-8);
}

.feature-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: var(--spacing-8);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(221, 0, 0, 0.1);
    color: var(--primary-color);
    font-size: var(--font-size-2xl);
    border-radius: 50%;
    margin: 0 auto var(--spacing-6);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.feature-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-4);
}

.feature-description {
    color: var(--gray-600);
}

/* Pricing Section - Horizontal Scroll on Mobile */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-8);
    margin-bottom: var(--spacing-12);
}

@media (max-width: 768px) {
    .pricing-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: var(--spacing-4);
        padding-bottom: var(--spacing-4);
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .pricing-grid::-webkit-scrollbar {
        display: none;
    }

    .pricing-card {
        min-width: 85vw;
        scroll-snap-align: center;
        flex: 0 0 auto;
    }
}

.pricing-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: var(--spacing-8);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

.pricing-card.featured {
    transform: scale(1.02);
    border: 2px solid var(--secondary-color);
    box-shadow: var(--shadow-md);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: var(--gray-900);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    padding: var(--spacing-1) var(--spacing-4);
    border-radius: 20px;
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--spacing-8);
    padding-bottom: var(--spacing-6);
    border-bottom: 1px solid var(--gray-200);
}

.pricing-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-4);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--spacing-1);
}

.currency {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--gray-600);
}

.amount {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

.period {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
}

.pricing-features {
    margin-bottom: var(--spacing-8);
}

.pricing-features ul {
    list-style: none;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-3);
}

.pricing-features i {
    color: var(--success-color);
}

.pricing-features i.fa-times {
    color: var(--error-color);
}

.pricing-footer {
    text-align: center;
    color: var(--gray-600);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-4);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:not(:last-child) {
    margin-bottom: var(--spacing-4);
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    background: none;
    border: none;
    padding: var(--spacing-6);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: background-color var(--transition);
}

.faq-question:hover {
    background-color: var(--gray-50);
}

.faq-question i {
    transition: transform var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 var(--spacing-6);
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item.active .faq-answer {
    padding: var(--spacing-6);
    max-height: 500px;
}

.faq-answer p {
    margin-bottom: 0;
    color: var(--gray-700);
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.whatsapp-float {
    background-color: #25d366;
    color: white;
}

#mobileDarkModeToggle {
    background-color: var(--white);
    color: var(--gray-900);
    border: none;
}

.float-btn:hover {
    transform: scale(1.1);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--gray-200);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .section {
        padding: var(--spacing-12) 0;
    }

    .section-title {
        font-size: var(--font-size-3xl);
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-base);
    }

    /* Mobile Navigation Fix */
    .nav-list .nav-item:nth-child(4),
    .nav-list .nav-item:nth-child(6) {
        display: inline-flex !important;
    }

    .nav-actions .nav-cta {
        display: inline-flex !important;
        background: var(--primary-color);
        color: #fff !important;
        font-weight: bold;
        padding: 0.6rem 1.2rem;
        border-radius: 50px;
        margin-right: 12px;
    }

    .nav-menu {
        position: static !important;
        display: flex !important;
        justify-content: flex-end;
        align-items: center;
        gap: 0.5rem;
        background: transparent !important;
        height: auto !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .nav-toggle {
        display: none !important;
    }
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .section-title::after {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

[dir="rtl"] .hero-actions,
[dir="rtl"] .hero-stats,
[dir="rtl"] .feature-card,
[dir="rtl"] .pricing-features li {
    text-align: right;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }

/* Mobile Only */
.mobile-only { display: block; }
@media (min-width: 769px) {
    .mobile-only { display: none; }
}
/* =========================================
   AMAZING ABOUT SECTION DESIGN (Red/Ahmer Focus)
   ========================================= */

/* 1. Section Background & Spacing */
#about {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, var(--light-bg) 100%);
    overflow: hidden;
    z-index: 1;
}

/* Decorative Circle in Background (Subtle) */
#about::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(221, 0, 0, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

/* 2. Layout Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Text takes more space */
    gap: 4rem;
    align-items: center;
}

/* 3. Text & Typography */
.about-text h2 {
    font-size: 2.5rem;
    color: var(--dark-bg);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

/* The "Ahmer" Underline for Title */
.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 5px;
    background-color: var(--primary-color); /* RED */
    border-radius: 10px;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* 4. The Feature List (Left Side) - Interactive */
.about-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 12px;
    border-left: 4px solid transparent; /* Ready for hover */
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

/* Hover Effect: Slide & Red Border */
.about-list li:hover {
    transform: translateX(10px);
    border-left: 4px solid var(--primary-color); /* RED BORDER */
    box-shadow: 0 8px 20px rgba(221, 0, 0, 0.1);
}

.about-list li i {
    color: var(--primary-color); /* RED CHECKMARK */
    font-size: 1.3rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.about-list li span {
    font-weight: 600;
    color: var(--text-main);
}

/* 5. The "Who is this for?" Card (Right Side) */
.about-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1); /* Deep Shadow */
    border-top: 8px solid var(--primary-color); /* RED TOP BAR */
    position: relative;
    text-align: center;
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
}

/* Floating Icon Badge on Top Right */
.about-card::before {
    content: '\f0c0'; /* Users Icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: -35px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: var(--primary-color); /* RED BACKGROUND */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(221, 0, 0, 0.4);
    border: 4px solid white;
}

.about-card h3 {
    font-size: 1.8rem;
    color: var(--dark-bg);
    margin-bottom: 1.5rem;
}

.about-card-list {
    text-align: left;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-card-list li {
    position: relative;
    padding-left: 30px;
    font-size: 1.05rem;
    color: var(--text-main);
    font-weight: 500;
}

/* Custom Red Bullets for the Card */
.about-card-list li::before {
    content: '➜';
    position: absolute;
    left: 0;
    color: var(--primary-color); /* RED ARROW */
    font-weight: bold;
}

/* Card Button */
.about-card .btn {
    width: 100%;
    background: var(--dark-bg); /* Contrast with Red */
    color: white;
    font-weight: 800;
}

.about-card .btn:hover {
    background: var(--primary-color); /* Turn Red on Hover */
    box-shadow: 0 10px 20px rgba(221, 0, 0, 0.3);
}

/* =========================================
   RESPONSIVE ADJUSTMENTS (Mobile)
   ========================================= */
@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr; /* Stack vertically */
        gap: 3rem;
    }

    .about-card {
        margin-top: 2rem;
        padding: 2rem 1.5rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-list li:hover {
        transform: none; /* Disable slide on touch screens */
    }
}
/* =========================================
   AMAZING CONTACT SECTION (Red/Ahmer Theme)
   ========================================= */

/* 1. Section Background */
#contact {
    background-color: var(--light-bg);
    position: relative;
    z-index: 1;
    padding-bottom: 6rem;
}

/* Optional: Subtle pattern overlay */
#contact::after {
    content: '';
    position: absolute;
    right: 0; bottom: 0;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(221, 0, 0, 0.03) 0%, transparent 70%);
    z-index: -1;
}

/* 2. The Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns side by side */
    gap: 2.5rem;
    margin-top: 3rem;
}

/* 3. The Contact Card (The Container) */
.contact-card {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy effect */
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* 4. "Ahmer" Red Top Line Effect */
.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--primary-color); /* THE RED COLOR */
    transform: scaleX(0); /* Hidden initially */
    transform-origin: left;
    transition: transform 0.4s ease;
}

/* Hover State for Card */
.contact-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(221, 0, 0, 0.15); /* Red tinted shadow */
}

.contact-card:hover::before {
    transform: scaleX(1); /* Show Red Line */
}

/* 5. The Icons (WhatsApp, Email, Form) */
.contact-card h3 i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #fff0f0; /* Very light red bg */
    color: var(--primary-color); /* RED Icon */
    font-size: 2.5rem;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    transition: all 0.3s ease;
}

/* Icon Hover: Turns Full Red */
.contact-card:hover h3 i {
    background: var(--primary-color);
    color: white;
    transform: rotateY(360deg); /* Cool 3D flip */
}

/* 6. Typography */
.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-bg);
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column; /* Stack icon on top of text */
}

.contact-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* 7. Buttons inside Cards */
.contact-card .btn {
    width: 100%;
    font-weight: 700;
    padding: 1rem;
}

/* Specific styles for the buttons based on context */
.contact-card .btn-primary {
    background: var(--dark-bg); /* Navy initially */
    border: none;
}

.contact-card:hover .btn-primary {
    background: var(--primary-color); /* Turns RED on card hover */
    box-shadow: 0 10px 20px rgba(221, 0, 0, 0.4);
}

.contact-card .btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.contact-card .btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* =========================================
   RESPONSIVE (Mobile)
   ========================================= */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Stack cards vertically */
        gap: 2rem;
    }

    .contact-card {
        padding: 2.5rem 1.5rem;
    }
}
/* =========================================
   AMAZING FOOTER DESIGN (Light Theme + Ahmer Focus)
   ========================================= */

/* 1. Main Footer Container */
.footer {
    background-color: #ffffff; /* White Background to ensure text shows */
    color: var(--text-main);   /* Dark Gray Text */
    padding-top: 5rem;
    margin-top: 6rem;
    position: relative;
    /* The "Ahmer" Red Top Border */
    border-top: 6px solid var(--primary-color);
    box-shadow: 0 -15px 40px rgba(0,0,0,0.03); /* Subtle shadow lifting it up */
}

/* 2. Grid Layout (Ensures it stacks on mobile, fits on desktop) */
.footer-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 968px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1.5fr; /* Wide first column */
        align-items: start;
    }
}

/* 3. Column 1: Brand & Description */
.footer-col h3 {
    color: var(--dark-bg); /* Deep Navy */
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.footer-col p {
    color: var(--text-light); /* Medium Gray - Easy to read */
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 350px;
}

/* 4. Columns 2 & 3: Headings (The "Ahmer" Touch) */
.footer-col h4 {
    color: var(--primary-color); /* RED TEXT for Section Titles */
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

/* Red dot decoration next to title */
.footer-col h4::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color); /* Gold Dot */
    border-radius: 50%;
    margin-left: 8px;
}

/* 5. Lists & Links */
.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li {
    color: var(--dark-bg); /* Dark Text */
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    cursor: default;
}

/* Add a small Red Arrow before items */
.footer-col ul li::before {
    content: '›';
    color: var(--primary-color); /* RED Arrow */
    font-size: 1.5rem;
    line-height: 0;
    margin-right: 8px;
    font-weight: bold;
    margin-top: -4px;
}

/* Hover Effect: Slide Right & Turn Red */
.footer-col ul li:hover {
    color: var(--primary-color);
    transform: translateX(8px);
}

/* 6. Contact Details Specifics */
.footer-col ul li:last-child {
    margin-top: 5px;
}

/* 7. Copyright Bar */
.footer-bottom {
    background-color: #f8fafc; /* Very Light Gray (Not White) */
    border-top: 1px solid #e2e8f0;
    text-align: center;
    padding: 1.5rem;
    color: var(--text-light); /* Gray Text */
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-bottom p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Copyright Year Styling */
.footer-bottom p span {
    color: var(--dark-bg);
    font-weight: bold;
}

/* =========================================
   MOBILE ADJUSTMENTS
   ========================================= */
@media (max-width: 768px) {
    .footer {
        padding-top: 3rem;
        margin-top: 4rem;
        text-align: center;
    }

    .footer-col p {
        margin: 0 auto; /* Center description */
    }

    .footer-col ul li {
        justify-content: center; /* Center list items */
    }

    .footer-col h4::after {
        display: none; /* Hide decorative dot on mobile */
    }
}
/* =========================================
   AMAZING FAQ SECTION (Red/Ahmer Theme)
   ========================================= */

/* 1. Section Layout */
#faq {
    background-color: var(--white); /* Clean White Background */
    position: relative;
}

.faq-grid {
    max-width: 800px; /* Narrower width for better readability */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* 2. The FAQ Card (Collapsed) */
.faq-item {
    background-color: #ffffff;
    border: 1px solid #e2e8f0; /* Light Gray Border */
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

/* Hover Effect: Subtle Lift & Red Shadow */
.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(221, 0, 0, 0.08); /* Red tinted shadow */
    border-color: rgba(221, 0, 0, 0.3);
}

/* 3. The Question (Header) */
.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: transparent;
    border: none;
    text-align: left;
}

/* The Text: Dark Navy (Visible on White) */
.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-bg); /* Dark Color */
    transition: color 0.3s ease;
}

/* The Icon: A Red Plus Sign */
.faq-question::after {
    content: '+';
    font-size: 2rem;
    line-height: 0;
    font-weight: 300;
    color: var(--primary-color); /* RED Icon */
    transition: transform 0.3s ease;
}

/* 4. The Answer (Hidden by default) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1); /* Smooth slide */
    background-color: #fcfcfc; /* Very slight gray for answer area */
}

.faq-answer p {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--text-light); /* Gray Text - NOT WHITE */
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* 5. ACTIVE STATE (When opened via JS) */
/* You need to ensure your JS toggles the class 'active' on .faq-item */

.faq-item.active {
    border-color: var(--primary-color); /* Full Red Border */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.faq-item.active .faq-question h3 {
    color: var(--primary-color); /* Text turns Red */
}

.faq-item.active .faq-question::after {
    content: '−'; /* Changes to Minus */
    transform: rotate(180deg);
    color: var(--dark-bg);
}

.faq-item.active .faq-answer {
    max-height: 1000px; /* Allow expansion */
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* 6. The "Still have questions?" Box (Bottom CTA) */
.faq-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 24px;
    border: 2px dashed rgba(221, 0, 0, 0.2); /* Dashed Red Border */
}

.faq-cta p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-bg); /* Dark Text */
    margin-bottom: 1.5rem;
}

/* WhatsApp Button in FAQ */
.faq-cta .btn-primary {
    background-color: var(--primary-color); /* RED Button */
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(221, 0, 0, 0.2);
}

.faq-cta .btn-primary:hover {
    background-color: var(--dark-bg); /* Turns Navy on hover */
    transform: translateY(-3px);
}

/* =========================================
   MOBILE ADJUSTMENTS
   ========================================= */
@media (max-width: 768px) {
    .faq-question {
        padding: 1.2rem;
    }

    .faq-answer p {
        padding: 0 1.2rem 1.2rem 1.2rem;
    }

    .faq-cta {
        padding: 2rem 1rem;
        border-width: 1px;
    }
}
/* =========================================
   AMAZING FAQ SECTION (Compact & Red/Ahmer Theme)
   ========================================= */

/* 1. Section Background & Layout */
#faq {
    background-color: #ffffff; /* Pure White Background */
    position: relative;
    z-index: 1;
}

/* 2. The Grid - Makes it Compact ("Resumed") */
/* Displays 2 cards per row on desktop to save vertical space */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1000px; /* Limits width for better readability */
    margin: 0 auto;
}

/* 3. The FAQ Card Design */
.faq-item {
    background: #f8fafc; /* Very light gray (almost white) for contrast */
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    /* The "Ahmer" Red Accent Line on the left */
    border-left: 5px solid var(--primary-color);
}

/* 4. Hover Effects - Interactive & Premium */
.faq-item:hover {
    background: #ffffff;
    transform: translateY(-5px); /* Lifts up slightly */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08); /* Soft shadow */
    border-color: rgba(221, 0, 0, 0.2); /* Slight red tint to border */
}

/* 5. Question Text (Dark, Not White) */
.faq-item h3 {
    color: var(--dark-bg); /* Deep Navy */
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* Decorative Red Icon before Question */
.faq-item h3::before {
    content: '?';
    background-color: rgba(221, 0, 0, 0.1); /* Light Red BG */
    color: var(--primary-color); /* RED Text */
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 900;
    flex-shrink: 0; /* Prevents icon squishing */
}

/* 6. Answer Text (Gray, Not White) */
.faq-item p {
    color: var(--text-light); /* Dark Gray */
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* 7. The "Still have questions?" CTA Area */
.faq-cta {
    text-align: center;
    margin-top: 4rem;
    background: #f1f5f9; /* Light container */
    padding: 2rem;
    border-radius: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    border: 1px dashed var(--gray-300);
}

.faq-cta p {
    color: var(--dark-bg); /* Dark Text */
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* WhatsApp Button in FAQ */
.faq-cta .btn-primary {
    background-color: #25D366; /* WhatsApp Green */
    color: white; /* Text inside button is white (okay for buttons) */
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.faq-cta .btn-primary:hover {
    background-color: #1ebc57;
    transform: scale(1.05);
}

/* =========================================
   RESPONSIVE (Mobile)
   ========================================= */
@media (max-width: 768px) {
    /* Switch back to 1 column on phone for readability */
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .faq-item {
        padding: 1.5rem;
    }

    .faq-cta {
        margin-top: 2rem;
        padding: 1.5rem;
    }
}
/* =========================================
   AMAZING TESTIMONIALS DESIGN (Red/Ahmer Focus)
   ========================================= */

/* 1. Section Background - Very Light Gray for contrast */
#testimonials {
    background: linear-gradient(180deg, var(--light-bg) 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* 2. The Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

/* 3. The Card Design */
.testimonial-card {
    background: #ffffff; /* White Background */
    padding: 3rem 2rem 2rem 2rem; /* Extra top padding for the quote icon */
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative; /* Vital for the quote icon positioning */
    transition: all 0.4s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* 4. The "Ahmer" Red Quote Icon */
.testimonial-card::before {
    content: '\201C'; /* Unicode for Opening Quote */
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: serif;
    font-size: 5rem;
    line-height: 1;
    color: var(--primary-color); /* RED */
    background: #ffffff;
    padding: 0 10px;
    height: 40px;
    display: flex;
    align-items: center;
    border-radius: 50%;
}

/* 5. Hover Effect: Lift Up + Red Border Bottom */
.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(221, 0, 0, 0.1); /* Red tinted shadow */
    border-bottom: 5px solid var(--primary-color); /* Red bottom line */
}

/* 6. The Quote Text (Dark for Readability - NO WHITE) */
.testimonial-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--text-main); /* Dark Gray */
    margin-bottom: 2rem;
}

/* 7. Author Name & Title */
.testimonial-name {
    display: block;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--dark-bg); /* Deep Navy */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-top: 15px;
}

/* Decorative line above name */
.testimonial-name::before {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--secondary-color); /* Gold Accent */
    margin: 0 auto 10px auto;
}

/* Highlight the Role/Job in Red on Hover */
.testimonial-card:hover .testimonial-name {
    color: var(--primary-color); /* Turns Red on Hover */
}

/* =========================================
   RESPONSIVE (Mobile)
   ========================================= */
@media (max-width: 968px) {
    .testimonials-grid {
        grid-template-columns: 1fr; /* Stack cards vertically */
        gap: 4rem; /* More space because of the floating quote icon */
    }

    .testimonial-card {
        margin-top: 1rem; /* Space for the quote icon popping out */
    }
}
/* =========================================
   MOBILE HEADER FIXED (النسخة النهائية المصححة)
   ========================================= */
@media (max-width: 968px) {

    /* 1. إعداد حاوية الهيدر - ارتفاع تلقائي */
    .header {
        height: auto !important;
        min-height: 100px; /* مساحة كافية للصفين */
        padding: 10px 0 0 0 !important;
        background: #ffffff;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

    .nav {
        display: block !important; /* إلغاء الفليكس لنتحكم يدوياً */
        position: relative;
        padding: 0 15px !important;
    }

    /* 2. اللوغو - أعلى اليسار */
    .nav-logo {
        display: inline-block !important;
        margin-top: 5px;
        margin-bottom: 10px;
    }

    .nav-logo img {
        height: 35px !important; /* حجم مناسب للهاتف */
        width: auto !important;
    }

    /* 3. الأزرار (اللغة + التسجيل) - أعلى اليمين */
    /* نستخدم position absolute لنخرجهم من التدفق ونضعهم في الزاوية */
    .nav-menu .nav-actions {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        position: absolute !important;
        top: 10px; /* محاذاة مع اللوغو */
        right: 15px;
        gap: 8px !important;
        margin: 0 !important;
        width: auto !important;
        background: transparent !important;
    }

    /* 4. إصلاح الزر الضخم (S'inscrire) - أهم جزء */
    /* نجبره يكون بحجم النص فقط */
    .nav-actions .nav-cta {
        width: auto !important;       /* إلغاء العرض الكامل */
        display: inline-flex !important;
        padding: 6px 15px !important; /* حواف صغيرة */
        font-size: 13px !important;   /* خط صغير */
        height: auto !important;
        border-radius: 50px !important;
        margin: 0 !important;
        line-height: 1.2 !important;
        background-color: var(--primary-color) !important;
        color: #ffffff !important;
        box-shadow: none !important;
        transform: none !important;
    }

    /* زر اللغة */
    .language-btn {
        padding: 4px 10px !important;
        font-size: 12px !important;
        height: auto !important;
        border: 1px solid #ddd !important;
    }

    /* 5. قائمة الروابط - الصف الثاني (أفقي) */
    .nav-menu {
        position: static !important;
        display: block !important;
        width: 100% !important;
        height: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .nav-list {
        display: flex !important;
        flex-direction: row !important; /* صف أفقي */
        overflow-x: auto !important;    /* تفعيل السحب */
        -webkit-overflow-scrolling: touch;
        white-space: nowrap !important; /* منع نزول السطر */
        gap: 0 !important;
        padding: 0 !important;
        margin-top: 5px !important;
        border-top: 1px solid #f1f5f9; /* خط فاصل خفيف */
        width: 100% !important;

        /* إخفاء شريط التمرير */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .nav-list::-webkit-scrollbar { display: none; }

    /* تنسيق الروابط */
    .nav-link {
        display: block;
        padding: 12px 15px !important;
        font-size: 14px !important;
        color: var(--text-main) !important;
        font-weight: 600 !important;
        border-bottom: 2px solid transparent;
    }

    .nav-link.active {
        color: var(--primary-color) !important;
        border-bottom: 2px solid var(--primary-color) !important;
        background: rgba(221, 0, 0, 0.02);
    }

    /* إخفاء أي تأثيرات إضافية */
    .nav-link::after { display: none !important; }
    .nav-toggle { display: none !important; }
}
/* =========================================
   FINAL MOBILE HEADER (Clean Buttons Row)
   ========================================= */
@media (max-width: 968px) {

    /* 1. إعداد الهيدر ليكون صغيراً ونظيفاً */
    .header {
        height: 60px !important;
        padding: 0 !important;
        background: #ffffff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

    .nav {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        height: 100%;
        padding: 0 10px; /* مسافة جانبية صغيرة */
    }

    /* 2. تصغير اللوغو ليتناسب مع السطر الواحد */
    .nav-logo {
        margin: 0;
        flex-shrink: 0; /* يمنع اللوغو من الانكماش */
        margin-right: auto; /* يدفع الأزرار لليمين */
    }

    .nav-logo img {
        height: 28px; /* حجم مناسب للموبايل */
        width: auto;
    }

    /* 3. حاوية الأزرار (تجمع القائمة والإجراءات) */
    .nav-menu {
        position: static !important;
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
        background: transparent !important;
        padding: 0 !important;
        width: auto !important;
        height: auto !important;
        box-shadow: none !important;
    }

    /* 4. تنظيف القائمة (حذف الشريط الأبيض والسكرول) */
    .nav-list {
        display: flex !important;
        flex-direction: row !important;
        gap: 5px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        overflow: visible !important;
        width: auto !important;
    }

    /* 5. إخفاء جميع الروابط أولاً */
    .nav-item {
        display: none !important;
    }

    /* 6. إظهار فقط Tarifs (رقم 5) و Contact (رقم 8) */
    /* ملاحظة: الترتيب يعتمد على HTML الخاص بك */
    .nav-item:nth-child(5),
    .nav-item:nth-child(8) {
        display: block !important;
    }

    /* 7. تحويل روابط Tarifs و Contact إلى أزرار مثل S'inscrire */
    .nav-link {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        background-color: var(--primary-color) !important; /* لون أحمر */
        color: #ffffff !important; /* نص أبيض */
        font-size: 0.7rem !important; /* خط صغير ليناسب المساحة */
        font-weight: 700 !important;
        padding: 5px 10px !important;
        border-radius: 50px !important; /* شكل دائري */
        border: none !important;
        white-space: nowrap;
        height: 30px; /* ارتفاع موحد */
    }

    /* إزالة تأثيرات الخطوط السابقة */
    .nav-link::after { display: none !important; }

    /* 8. تنسيق أزرار اللغة والتسجيل لتكون بجانبهم */
    .nav-actions {
        position: static !important;
        display: flex !important;
        align-items: center;
        gap: 5px !important;
        margin-left: 0 !important;
    }

    /* تنسيق زر S'inscrire ليكون متطابقاً */
    .nav-cta {
        font-size: 0.7rem !important;
        padding: 5px 10px !important;
        height: 30px;
        border-radius: 50px !important;
        display: inline-flex !important;
        align-items: center;
    }

    /* زر اللغة */
    .language-btn {
        padding: 0 5px !important;
        font-size: 0.75rem !important;
        border: none !important;
        height: 30px;
    }

    /* إخفاء أي عناصر زائدة */
    .nav-toggle, .hero-video-container video { display: none !important; }
}
/* =========================================
   FINAL COMPACT HEADER (No Extra White Space)
   ========================================= */
@media (max-width: 968px) {

    /* 1. إخفاء القائمة نهائياً */
    .nav-list, .nav-toggle {
        display: none !important;
    }

    /* 2. تقليص ارتفاع الهيدر (الخطوة الأهم) */
    .header {
        height: 60px !important; /* ارتفاع ثابت وصغير */
        min-height: 0 !important; /* إلغاء أي حد أدنى للارتفاع */
        padding: 0 15px !important; /* مسافة جانبية فقط */
        display: flex !important;
        align-items: center !important;
        background: #ffffff !important;
    }

    /* 3. تنسيق الحاوية الداخلية لملء الارتفاع الجديد */
    .nav {
        width: 100% !important;
        height: 100% !important; /* تملأ الـ 60px */
        display: flex !important;
        justify-content: space-between !important; /* تباعد بين اللوغو والأزرار */
        align-items: center !important; /* توسيط عمودي */
        padding: 0 !important;
        margin: 0 !important;
    }

    /* 4. ضبط حجم اللوغو */
    .nav-logo {
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
    }

    .nav-logo img {
        height: 28px !important; /* حجم مناسب للهيدر الصغير */
        width: auto !important;
    }

    /* 5. ضبط مجموعة الأزرار في اليمين */
    .nav-menu {
        display: flex !important;
        align-items: center !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        position: static !important;
    }

    .nav-actions {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin: 0 !important;
    }

    /* 6. إخفاء الفيديو في الخلفية للموبايل (اختياري لتحسين الشكل) */
    .hero-video-container video {
        display: none !important;
    }
}
/* =========================================
   FIX HERO TEXT OVERLAP (Mobile)
   ========================================= */
@media (max-width: 968px) {
    .hero {
        /* 1. نجعل المحتوى يبدأ من الأعلى وليس من الوسط لتجنب القص */
        align-items: flex-start !important;

        /* 2. نضيف مساحة علوية كبيرة (أكبر من ارتفاع الهيدر) لينزل النص للأسفل */
        padding-top: 110px !important;
    }

    .hero-content {
        /* 3. ضمان عدم وجود هوامش سلبية */
        margin-top: 10px !important;
    }
}
/* =========================================
   HERO 3D REDESIGN (Ahmer + Dark Text)
   ========================================= */

/* 1. Hero Container text alignment */
.hero-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
}

/* 2. The 3D Title */
.hero-title {
    font-size: 3rem; /* Big text */
    font-weight: 900; /* Extra Bold */
    color: var(--dark-bg); /* Dark Navy (Not White) */
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    /* 3D Text Effect */
    text-shadow:
            1px 1px 0px #ccc,
            2px 2px 0px #ccc,
            3px 3px 0px #bbb;
}

/* The word "CAREER" in Red 3D */
.hero-title .highlight {
    color: var(--primary-color); /* RED */
    display: inline-block;
    /* Red 3D Shadow */
    text-shadow:
            1px 1px 0px #b30000,
            2px 2px 0px #b30000,
            3px 3px 0px rgba(0,0,0,0.2);
}

/* 3. The Subtitle (Summarized) */
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-main); /* Dark Gray (Clear on White) */
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle strong {
    color: var(--primary-color); /* Red emphasis */
    font-weight: 800;
}

/* 4. 3D Buttons (Tactile Feel) */
.btn-3d {
    transition: all 0.1s;
    position: relative;
    top: 0;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

/* Red Button 3D */
.btn-primary.btn-3d {
    background-color: var(--primary-color);
    color: white;
    /* The 3D Layer underneath */
    box-shadow: 0 6px 0 #990000, 0 10px 10px rgba(0,0,0,0.2);
}

/* Click Effect (Press down) */
.btn-primary.btn-3d:active {
    top: 6px; /* Move down */
    box-shadow: 0 0 0 #990000, inset 0 0 5px rgba(0,0,0,0.4);
}

/* Secondary Button 3D (WhatsApp) */
.btn-secondary.btn-3d {
    background-color: var(--dark-bg);
    color: #0af420;
    box-shadow: 0 6px 0 #0a0f1d, 0 10px 10px rgba(0,0,0,0.2);
}

.btn-secondary.btn-3d:active {
    top: 6px;
    box-shadow: 0 0 0 #0a0f1d, inset 0 0 5px rgba(0,0,0,0.4);
}

/* 5. 3D Floating Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.stat.3d-card {
           background: #ffffff;
           padding: 15px 25px;
           border-radius: 16px;
           border: 2px solid var(--gray-200);
           text-align: center;
           /* Floating 3D Shadow */
           box-shadow: 0 10px 20px rgba(0,0,0,0.08), 0 6px 0 var(--gray-300);
           transition: transform 0.3s ease;
       }

.stat.3d-card:hover {
           transform: translateY(-5px);
       }

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color); /* Red Numbers */
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem; /* Smaller for phone */
    }

    .hero-actions {
        flex-direction: column;
        gap: 1.5rem; /* Space for the 3D shadow */
    }

    .btn-large {
        width: 100%;
        max-width: 280px;
    }
}
/* =========================================
   RESPONSIVE HERO BACKGROUND (Desktop & Mobile Images)
   ========================================= */

/* 1. Disable the old video background */
.hero-video-container {
    display: none !important;
}

/* 2. Default Background (Desktop - Landscape Image) */
.hero {
    background-image: url('https://i.imgur.com/2onduxl.jpeg'); /* <<< ضع رابط صورة الكمبيوتر هنا */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax effect for desktop */
    position: relative;
    z-index: 1;
}

/* 3. The Cinematic Dark Overlay (Applied to both) */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            180deg,
            rgba(15, 23, 42, 0.4) 0%,   /* Light dark at top */
            rgba(15, 23, 42, 0.6) 50%,  /* Medium dark in middle */
            rgba(15, 23, 42, 0.95) 100% /* Solid dark at bottom for stats */
    );
    z-index: -1;
}

/* 4. Mobile Specific Background (Portrait Image) */
@media (max-width: 768px) { /* هذا يعني: للشاشات الأصغر من 768px (الهواتف والأجهزة اللوحية العمودية) */
    .hero {
        background-image: url('https://i.imgur.com/GXbL2QT.jpeg') !important; /* <<< ضع رابط صورة الهاتف هنا */
        background-attachment: scroll !important; /* 'scroll' is better for mobile performance */
        background-position: center center !important; /* Focus the center of the mobile image */
    }
}

/* 5. Hide Video on Mobile too (if it somehow reappears) */
@media (max-width: 968px) {
    .hero-video-container video {
        display: none !important;
    }
}
/* =========================================
   PREMIUM PRICING: DARK & GOLD THEME
   ========================================= */

/* 1. Section Background */
#pricing {
    background-color: #f8fafc; /* Clean light background for contrast */
    padding-bottom: 4rem;
    position: relative;
}

/* 2. The Grid Container (Desktop: Grid, Mobile: Flex Scroll) */
.pricing-grid {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: stretch;
    padding: 20px 10px;
    position: relative;
}

/* 3. Card Design (Dark & Gold) */
.pricing-card {
    background: #111827; /* Deep Dark Blue/Black */
    color: #ffffff;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #374151; /* Subtle border */
    display: flex;
    flex-direction: column;
    /* Desktop Width */
    flex: 1;
    min-width: 300px;
    max-width: 350px;
}

/* Hover Effect on Desktop */
.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: #FFCE00; /* Gold Border on Hover */
}

/* 4. "Most Popular" Card (Center) */
.pricing-card-popular {
    background: linear-gradient(145deg, #1f2937 0%, #111827 100%);
    border: 2px solid #FFCE00; /* Gold Border */
    box-shadow: 0 0 20px rgba(255, 206, 0, 0.15); /* Gold Glow */
    transform: scale(1.05);
    z-index: 2;
}

/* The "Most Popular" Badge */
.pricing-badge {
    background-color: #FFCE00; /* Gold Background */
    color: #000000; /* Black Text */
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 5px 15px;
    border-radius: 20px;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

/* 5. Typography & Content */
.pricing-header h3 {
    color: #FFCE00; /* Gold Title */
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.pricing-price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.currency {
    font-size: 1.5rem;
    color: #9ca3af; /* Light Gray */
    margin-right: 5px;
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
}

.period {
    color: #6b7280;
    font-size: 0.9rem;
    margin-left: 5px;
}

/* Features List */
.pricing-features ul {
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #e5e7eb; /* Off-white text */
}

.pricing-features li i {
    color: #FFCE00; /* Gold Checkmarks */
    margin-right: 10px;
    font-size: 1.1rem;
    min-width: 20px;
}

/* Buttons */
.pricing-footer .btn {
    width: 100%;
    padding: 12px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
}

.pricing-card .btn-outline {
    border: 2px solid #FFCE00;
    color: #FFCE00;
    background: transparent;
}

.pricing-card .btn-outline:hover {
    background: #FFCE00;
    color: #000;
}

.pricing-card-popular .btn-primary {
    background: #DD0000; /* German Red for the main button */
    color: white;
    border: none;
    box-shadow: 0 5px 15px rgba(221, 0, 0, 0.3);
}

.pricing-card-popular .btn-primary:hover {
    background: #b30000;
    transform: translateY(-2px);
}

/* =========================================
   MOBILE OPTIMIZATION (Horizontal Swipe + Arrows)
   ========================================= */
@media (max-width: 768px) {

    /* 1. The Scroll Container */
    .pricing-grid {
        display: flex;
        overflow-x: auto; /* Enable Horizontal Scroll */
        scroll-snap-type: x mandatory; /* Snap to card */
        justify-content: flex-start; /* Align start */
        padding: 20px 5%; /* Side padding */
        gap: 20px;
        -webkit-overflow-scrolling: touch; /* Smooth scroll iOS */

        /* Hide scrollbar */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .pricing-grid::-webkit-scrollbar {
        display: none;
    }

    /* 2. Sizing the Cards for Mobile */
    .pricing-card {
        min-width: 85vw; /* Show 85% of card so user sees next one */
        scroll-snap-align: center; /* Snap to center */
        flex: 0 0 85vw;
        margin-bottom: 10px;
        /* Remove hover transform on mobile */
        transform: none !important;
    }

    .pricing-card-popular {
        transform: scale(1) !important; /* Reset scale */
        border: 2px solid #FFCE00;
    }

    /* 3. The Arrows (Sahm) Styles - Injected by JS */
    .pricing-arrows {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 10px;
        margin-bottom: 30px;
    }

    .arrow-btn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: #ffffff;
        border: 2px solid #FFCE00; /* Gold Border */
        color: #111827;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        transition: all 0.2s;
    }

    .arrow-btn:active {
        background: #FFCE00;
        transform: scale(0.9);
    }
}
/* =========================================
   MOBILE PRICING NAVIGATION ARROWS
   ========================================= */
.pricing-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(221, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.pricing-nav-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.pricing-nav-left {
    left: 10px;
}

.pricing-nav-right {
    right: 10px;
}

/* Active card styling */
.pricing-card.active-card {
    opacity: 1 !important;
    transform: scale(1) !important;
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(221, 0, 0, 0.2);
}

/* Hide arrows on desktop */
@media (min-width: 769px) {
    .pricing-nav-btn {
        display: none;
    }
}
/* =========================================
   AMAZING ABOUT SECTION (Compact & Mobile Optimized)
   ========================================= */

/* 1. Section Setup (Reduced Padding for Compactness) */
#about {
    background: #ffffff;
    padding: 3rem 0; /* Smaller vertical padding */
    position: relative;
    overflow: hidden;
}

/* 2. Layout Grid (Desktop: Side-by-Side) */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Text left, Card right */
    gap: 3rem;
    align-items: start;
}

/* 3. The Main Text (Clean & Readable) */
.about-text h2 {
    font-size: 2rem;
    color: #111827; /* Dark Navy */
    margin-bottom: 1rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

/* Red Underline */
.about-text h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #DD0000; /* German Red */
    margin-top: 5px;
    border-radius: 2px;
}

.about-text p {
    font-size: 1rem;
    color: #4b5563; /* Gray text */
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: justify; /* Clean edges */
}

/* 4. THE FEATURE LIST - TRANSFORMS TO GRID */
.about-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Columns by default */
    gap: 15px;
    margin-top: 1rem;
}

.about-list li {
    background: #f9fafb; /* Very light gray */
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column; /* Icon on top */
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.about-list li:hover {
    border-color: #DD0000;
    background: #fff5f5; /* Light red tint */
    transform: translateY(-3px);
}

.about-list i {
    color: #DD0000; /* Red Icon */
    font-size: 1.5rem;
    margin-bottom: 8px;
    background: rgba(221, 0, 0, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.about-list span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
}

/* 5. THE "WHO IS THIS FOR" CARD (Compact Badge Style) */
.about-card {
    background: #111827; /* Dark Theme for Contrast */
    color: white;
    padding: 2rem;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid #374151;
}

/* Gold Top Border */
.about-card::before {
    content: '';
    position: absolute;
    top: 0; left: 20px; right: 20px;
    height: 4px;
    background: #FFCE00; /* German Gold */
    border-radius: 0 0 4px 4px;
}

.about-card h3 {
    color: #FFCE00; /* Gold Title */
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.about-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.about-card-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #e5e7eb; /* Off-white */
    line-height: 1.4;
}

.about-card-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FFCE00; /* Gold Check */
    font-weight: bold;
}

.about-card .btn {
    width: 100%;
    background: #DD0000;
    border: none;
    font-weight: 700;
    padding: 12px;
    border-radius: 50px;
    color: white;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* =========================================
   MOBILE OPTIMIZATION ("Very Small" & Resume Style)
   ========================================= */
@media (max-width: 768px) {

    #about {
        padding: 2rem 1rem; /* Tight padding */
    }

    /* Stack the Grid */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Hide the long first paragraph text to make it "Resume" style (Optional - remove display:none if you want text) */
    /* .about-text p:first-of-type {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    } */

    /* Make the Text Header Smaller */
    .about-text h2 {
        font-size: 1.6rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .about-text h2::after {
        margin: 5px auto 0 auto; /* Center the underline */
    }

    /* The Magic: 2x2 Grid for Features on Mobile */
    .about-list {
        grid-template-columns: 1fr 1fr; /* Side by side */
        gap: 10px;
    }

    .about-list li {
        padding: 10px 5px;
    }

    .about-list i {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .about-list span {
        font-size: 0.75rem; /* Small readable text */
    }

    /* Compact the Card */
    .about-card {
        padding: 1.5rem;
        margin-top: 0;
    }

    .about-card h3 {
        font-size: 1.2rem;
    }

    .about-card-list li {
        font-size: 0.9rem;
    }
}
/* =========================================
   AMAZING ABOUT SECTION (Compact & Mobile Optimized)
   ========================================= */

/* 1. Section Background & Spacing */
#about {
    background: #ffffff;
    padding: 3rem 0; /* Reduced padding for compactness */
    position: relative;
    overflow: hidden;
}

/* 2. The Layout Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr; /* Text takes more space on Desktop */
    gap: 3rem;
    align-items: start; /* Align top */
}

/* 3. Typography (Clean & Professional) */
.about-text h2 {
    font-size: 1.8rem;
    color: #111827; /* Dark Navy/Black */
    margin-bottom: 1rem;
    font-weight: 800;
    position: relative;
    padding-left: 15px;
}

/* The German Red Line Accent */
.about-text h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    height: 80%;
    width: 5px;
    background-color: #DD0000; /* German Red */
    border-radius: 10px;
}

.about-text p {
    font-size: 0.95rem; /* Slightly smaller for compact feel */
    line-height: 1.6;
    color: #4b5563; /* Dark Gray */
    margin-bottom: 1rem;
    text-align: justify; /* Looks cleaner */
}

/* 4. The Feature List (Compact Grid) */
/* 🔥 TRICK: Grid layout makes it smaller vertically */
.about-list {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 Columns even on some tablets */
    gap: 10px;
    margin-top: 1.5rem;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem; /* Compact font */
    font-weight: 600;
    color: #1f2937;
    background: #f3f4f6;
    padding: 10px;
    border-radius: 8px;
    transition: transform 0.2s;
}

.about-list li i {
    color: #DD0000; /* Red Checkmarks */
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* 5. The "Who is this for?" Card (The "Amazing" Part) */
.about-card {
    background: #111827; /* Dark Background */
    color: white;
    padding: 2rem;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border: 1px solid #374151;
    overflow: hidden;
}

/* Gold Accent Gradient */
.about-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 6px;
    background: linear-gradient(90deg, #DD0000, #FFCE00, #000); /* German Flag Gradient */
}

.about-card h3 {
    color: #FFCE00; /* Gold Title */
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-card h3::before {
    content: '🎯'; /* Target Icon */
    font-size: 1.2rem;
}

.about-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.about-card-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #e5e7eb; /* Off-white */
    line-height: 1.4;
}

/* Custom Bullets */
.about-card-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FFCE00; /* Gold Check */
    font-weight: bold;
}

/* Button inside Card */
.about-card .btn {
    width: 100%;
    background: #DD0000;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(221, 0, 0, 0.4);
}

/* =========================================
   MOBILE OPTIMIZATION ("Small & Good")
   ========================================= */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr; /* Stack them */
        gap: 2rem;
    }

    /* 🔥 KEY TO BEING "SMALL": 2 Columns for features on Mobile */
    .about-list {
        grid-template-columns: 1fr 1fr;
    }

    .about-list li {
        font-size: 0.75rem; /* Smaller text */
        padding: 8px;
        align-items: center;
    }

    .about-text p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    /* Make the card pop on mobile */
    .about-card {
        padding: 1.5rem;
        margin-top: 0;
        transform: translateY(-10px); /* Pull it up slightly */
        border: 2px solid #FFCE00; /* Gold border on mobile for attention */
    }

    .about-card h3 {
        font-size: 1.2rem;
        justify-content: center;
    }
}

/* Very Small Phones */
@media (max-width: 380px) {
    .about-list {
        grid-template-columns: 1fr; /* Back to 1 column if screen is tiny */
    }
}
/* =========================================
   PREMIUM FOOTER (Dark & Gold Theme)
   ========================================= */

/* 1. Main Footer Background */
.footer {
    background-color: #111827; /* Deep Dark Navy/Black */
    color: #d1d5db; /* Light Gray Text */
    padding-top: 4rem;
    padding-bottom: 2rem;
    position: relative;
    /* German Flag Top Border */
    border-top: 5px solid #DD0000;
    font-size: 0.95rem;
}

/* 2. The Grid Layout */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr; /* Desktop Layout */
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

/* 3. Column 1: Brand & Description */
.footer-col h3 {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    background: -webkit-linear-gradient(0deg, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-col p {
    color: #9ca3af; /* Muted Gray */
    line-height: 1.6;
    max-width: 300px;
}

/* 4. Columns 2 & 3: Headings */
.footer-col h4 {
    color: #FFCE00; /* GOLD Color for Headings */
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

/* Small Red Underline for Headings */
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 30px;
    height: 2px;
    background-color: #DD0000;
}

/* 5. Links & List Items */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.footer-col ul li a,
.footer-col ul li span {
    color: #d1d5db;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Icons (Phone, Email, Location) */
.footer-col ul li i {
    color: #DD0000; /* Red Icons */
    width: 25px; /* Fixed width for alignment */
    font-size: 1.1rem;
    margin-right: 5px;
}

/* 6. Hover Effects (Gold Interaction) */
.footer-col ul li a:hover {
    color: #FFCE00; /* Turn Gold on Hover */
    transform: translateX(5px); /* Slide Right */
}

/* 7. Copyright Area */
.footer-bottom {
    border-top: 1px solid #374151; /* Dark Border */
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: #6b7280;
}

/* =========================================
   MOBILE OPTIMIZATION ("Small & Clean")
   ========================================= */
@media (max-width: 768px) {

    .footer {
        padding-top: 3rem;
        text-align: center; /* Center everything on phone */
    }

    .footer-grid {
        grid-template-columns: 1fr; /* Stack columns */
        gap: 2.5rem;
    }

    /* Center the underlines for headings */
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Center the list items */
    .footer-col ul li {
        justify-content: center;
        margin-bottom: 1rem;
    }

    .footer-col p {
        margin: 0 auto; /* Center description paragraph */
    }

    /* Make links slightly larger for touch */
    .footer-col ul li a {
        padding: 5px 0;
        display: block;
    }

    /* Fix for specific "ServicesAccueil" text overlapping if any */
    .footer-col ul {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
}
/* =========================================
   PREMIUM CONTACT SECTION (Big Icons Fixed)
   ========================================= */

/* 1. Section Background */
#contact {
    background-color: #ffffff;
    padding: 4rem 0;
    position: relative;
}

/* 2. Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns Desktop */
    gap: 2.5rem;
    margin-top: 3rem;
}

/* 3. The Contact Card */
.contact-card {
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: 24px; /* More rounded */
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f3f4f6;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05); /* Soft premium shadow */

    /* Flex to center everything vertically */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hover Effect: Lift Up */
.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(221, 0, 0, 0.15); /* Red Glow */
    border-color: rgba(221, 0, 0, 0.2);
}

/* 4. 🔥 THE BIG ICONS (Fixed) */
.contact-card h3 i {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    /* Make it a Big Circle */
    width: 100px;
    height: 100px;

    /* Colors */
    background-color: #fff1f1; /* Very Light Red Background */
    color: #DD0000; /* Deep German Red Icon */

    border-radius: 50%;
    font-size: 3.5rem; /* HUGE Icon Size */
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy effect */
    box-shadow: 0 10px 20px rgba(221, 0, 0, 0.1);
}

/* Specific Color for WhatsApp Icon */
.contact-card h3 .fa-whatsapp {
    background-color: #e9fcf0; /* Light Green Bg */
    color: #25D366; /* WhatsApp Green */
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.1);
}

/* Hover Animation for Icons */
.contact-card:hover h3 i {
    transform: scale(1.1) rotate(10deg);
    background-color: #DD0000; /* Icon turns solid Red */
    color: #ffffff; /* Icon turns White */
}

.contact-card:hover h3 .fa-whatsapp {
    background-color: #25D366;
    color: #ffffff;
}

/* 5. Typography */
.contact-card h3 span {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5rem;
}

.contact-card p {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 280px; /* Keeps text nice and readable */
}

/* 6. Buttons */
.contact-card .btn {
    width: 100%;
    padding: 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: 0.3s;
}

.contact-card .btn-primary {
    background-color: #111827; /* Dark */
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.contact-card .btn-primary:hover {
    background-color: #DD0000; /* Red on hover */
    transform: translateY(-3px);
}

.contact-card .btn-outline {
    border: 2px solid #111827;
    color: #111827;
    background: transparent;
}

.contact-card .btn-outline:hover {
    background: #111827;
    color: white;
}

/* =========================================
   MOBILE OPTIMIZATION (Big & Clear)
   ========================================= */
@media (max-width: 768px) {

    .contact-grid {
        grid-template-columns: 1fr; /* Stack cards */
        gap: 2rem;
    }

    .contact-card {
        padding: 2.5rem 1.5rem; /* Keep ample padding */
    }

    /* Ensure Icons stay BIG on mobile */
    .contact-card h3 i {
        width: 90px;
        height: 90px;
        font-size: 3rem;
    }

    .contact-card h3 span {
        font-size: 1.4rem;
    }

    .contact-card p {
        font-size: 0.95rem;
    }

    .contact-card .btn {
        font-size: 0.9rem;
        padding: 12px;
    }
}
/* =========================================
   MOBILE FOOTER FIX (Compact Grid Layout)
   ========================================= */
@media (max-width: 768px) {

    /* 1. Tighten the Section Spacing */
    .footer {
        padding-top: 2rem;
        padding-bottom: 1.5rem;
        text-align: center;
    }

    .footer-grid {
        gap: 1.5rem; /* Reduce gap between sections */
        margin-bottom: 1.5rem;
    }

    /* 2. Style the Headings (Small & Gold) */
    .footer-col h4 {
        font-size: 0.9rem;
        color: #FFCE00; /* Gold */
        margin-bottom: 10px;
        text-transform: uppercase;
        letter-spacing: 1px;
        display: inline-block;
        border-bottom: 1px solid #DD0000; /* Thin Red Line */
        padding-bottom: 3px;
    }

    /* Hide the old decorative dot/line if it exists */
    .footer-col h4::after { display: none; }

    /* 3. 🔥 TRANSFORM LINKS INTO A 2x2 GRID */
    /* This targets the first list (Home, Services, WhatsApp, Email) */
    .footer-col:nth-child(2) ul {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2 buttons per row */
        gap: 10px;
        padding: 0 15px;
    }

    .footer-col ul li {
        margin: 0 !important; /* Reset margins */
        display: flex;
        justify-content: center;
    }

    /* Remove the Red Arrow (>) causing clutter */
    .footer-col ul li::before {
        display: none !important;
    }

    /* 4. Style the Links as Buttons */
    .footer-col ul li a {
        display: flex;
        align-items: center;
        justify-content: center; /* Center content */
        gap: 8px;
        width: 100%;
        padding: 10px 5px;
        background-color: rgba(255,255,255,0.05); /* Dark glass effect */
        border: 1px solid #374151;
        border-radius: 8px;
        color: #e5e7eb;
        font-size: 0.8rem;
        text-decoration: none;
    }

    /* Fix Icons inside the buttons */
    .footer-col ul li a i {
        font-size: 1rem;
        color: #DD0000; /* Red Icon */
        margin: 0; /* Remove extra margins */
    }

    /* 5. FIX THE CONTACT SECTION (Bottom Part) */
    /* This targets the last list (Address, Phone, Email) */
    .footer-col:last-child ul {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 0 10px;
    }

    .footer-col:last-child ul li {
        background: none;
        border: none;
        padding: 0;
        font-size: 0.8rem;
        color: #9ca3af;
        text-align: center;
        /* Allow text to wrap nicely */
        white-space: normal;
        line-height: 1.4;
    }

    /* Make contact icons smaller and inline */
    .footer-col:last-child ul li i {
        display: none; /* Hide icons for contact info on mobile to save space */
    }

    /* Description Text */
    .footer-col p {
        font-size: 0.8rem;
        padding: 0 20px;
        color: #6b7280;
    }
}

