:root {
    --primary-blue: #1e40af;
    --accent-blue: #3b82f6;
    --light-blue: #60a5fa;
    --dark-bg: #0f172a;
    --card-bg: #1e293b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #1f2937;
    line-height: 1.6;
}

/* Header */
header {
    background: var(--dark-bg);
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

/* Logo Styles - À gauche */
.logo {
    display: flex;
    align-items: center;
    justify-self: start;
}

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

/* Nom de la société - Au centre */
.company-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 3px;
    text-align: center;
    justify-self: center;
}

/* Navigation - À droite */
nav {
    display: flex;
    gap: 2.5rem;
    justify-self: end;
}

nav a {
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

nav a:hover {
    color: var(--light-blue);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1e3a8a 100%);
    color: white;
    padding: 6rem 2rem 5rem;
    text-align: center;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #e5e7eb;
    font-weight: 300;
    line-height: 1.6;
}

.hero-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.2);
    color: var(--light-blue);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #e5e7eb;
}

.feature-check {
    color: #10b981;
    font-weight: bold;
    font-size: 1.3rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.cta-primary {
    background: var(--accent-blue);
    color: white;
}

.cta-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-secondary:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Trust Section */
.trust-section {
    background: #f9fafb;
    padding: 3rem 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.trust-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.trust-text {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.7;
}

.trust-text strong {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Section Container */
.section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
}

/* Services Grid - Flexbox */
.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.service-card {
    flex: 1 1 calc(33.333% - 2rem);
    min-width: 300px;
    max-width: 400px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-bg);
    margin-bottom: 1rem;
}

.service-card p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Stats Section */
.stats-section {
    background: #f9fafb;
    padding: 5rem 2rem;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 3rem;
}

.stat-item {
    text-align: center;
    flex: 1 1 200px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-blue);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Why Choose Section */
.features-section {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
}

.feature-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-bg);
    margin-bottom: 0.8rem;
}

.feature-content p {
    color: #6b7280;
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    background: var(--dark-bg);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-section p {
    font-size: 1.1rem;
    color: #e5e7eb;
    margin-bottom: 1rem;
}

.contact-info {
    margin: 2.5rem 0;
    font-size: 1.1rem;
}

.contact-info p {
    margin: 0.5rem 0;
}

.contact-button {
    display: inline-block;
    background: white;
    color: var(--primary-blue);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    margin-top: 1rem;
}

.contact-button:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #0a0f1e;
    color: #9ca3af;
    padding: 2.5rem 2rem;
    text-align: center;
}

footer p {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .service-card {
        flex: 1 1 calc(50% - 2rem);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-features {
        gap: 1.5rem;
    }

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

    .cta-button {
        width: 100%;
        max-width: 300px;
    }

    nav {
        display: none;
    }
    
    .header-content {
        grid-template-columns: auto 1fr;
        gap: 1rem;
    }
    
    .company-name {
        font-size: 1.3rem;
        justify-self: center;
    }

    .services-container {
        flex-direction: column;
    }

    .service-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .stats-container {
        flex-direction: column;
        gap: 2rem;
    }

    .logo-img {
        height: 40px;
    }

    .trust-text {
        font-size: 1rem;
    }
}