/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #8b5cf6;
    --primary-hover: #7c3aed;
    --secondary: #06b6d4;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --card-bg: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --gradient-main: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --glass: rgba(30, 41, 59, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Header & Nav */
header {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a:hover {
    color: var(--secondary);
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background: var(--secondary);
    color: white;
}

.offer-box h2 {
    color: var(--secondary);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

/* Footer Language Selector */
.footer-languages {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.lang-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
    cursor: pointer;
}

.lang-link:hover {
    color: white;
}

.lang-flag {
    font-size: 1.2rem;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 4rem 4rem;
    background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.2), transparent 40%),
        radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.1), transparent 40%);
    text-align: left;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    color: var(--secondary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    max-width: 600px;
}

.hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--primary);
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.badge-text {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.offer-box {
    background: linear-gradient(45deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
    border-left: 4px solid var(--secondary);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0 10px 10px 0;
}

.offer-box h2 {
    color: var(--secondary);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.offer-box p {
    margin-bottom: 0 !important;
    font-size: 1rem !important;
    color: var(--text-main) !important;
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    background: var(--darker-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Blog/Download Teaser */
.downloads {
    padding: 5rem 2rem;
}

.download-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--glass);
    border-radius: 30px;
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.download-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.download-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    width: 300px;
}

.download-item h4 {
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 2rem;
    background: var(--darker-bg);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

footer {
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Stats Section */
.stats-section {
    padding: 4rem 2rem;
    background: var(--darker-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Quality Section */
.quality-section {
    padding: 6rem 2rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.quality-content {
    flex: 1;
    min-width: 300px;
}

.quality-image {
    flex: 1;
    min-width: 300px;
}

.quality-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}

/* Gallery Section */
.gallery-section {
    padding: 6rem 2rem;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Clients/Map Section */
.clients-section {
    padding: 6rem 2rem;
    background: url('../assets/world_map.png') no-repeat center center;
    background-size: cover;
    position: relative;
    text-align: center;
}

.clients-overlay {
    background: rgba(15, 23, 42, 0.85);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.clients-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000;
}

.side-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 250px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(15px);
    z-index: 10000;
    padding: 6rem 2rem 2rem;
    transition: right 0.3s ease-in-out;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.side-menu.active {
    right: 0;
}

.side-menu a {
    font-size: 1.2rem;
    color: var(--text-main);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
}

.side-menu a:hover {
    color: var(--secondary);
    padding-left: 10px;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 992px) {

    .nav-links,
    .nav-container>.btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        gap: 3rem;
    }

    .hero-content {
        margin-bottom: 0;
        align-items: center;
        display: flex;
        flex-direction: column;
        max-width: 100%;
    }

    .hero-btns {
        justify-content: center;
    }

    .offer-box {
        text-align: left;
        width: 100%;
    }

    .stats-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .quality-section,
    .content-section,
    .clients-section {
        padding: 4rem 1.5rem !important;
        /* Force reduce padding */
    }

    .quality-section {
        flex-direction: column-reverse;
        /* Text on top */
        gap: 2rem;
        text-align: center;
    }

    .quality-content .section-title {
        text-align: center !important;
    }

    .quality-content ul {
        text-align: left;
        display: inline-block;
    }

    .tuto-section {
        padding-top: 6rem;
    }

    .step-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 1rem;
    }
}