/* ========== VARIABLES & BASE ========== */
:root {
    /* Colors based on mockup */
    --bg-dark: #131c31;
    /* Deep background */
    --bg-card: #151e32;
    /* Card background */
    --bg-section: #101726;
    /* Lighter section background */
    --text-main: #f0f0f0;
    /* Main white text */
    --text-muted: #9aa4b8;
    /* Muted text */
    --accent-orange: #f2a900;
    /* Primary orange CTA */
    --accent-orange-hover: #e09b00;
    --accent-yellow: #f2c94c;
    /* Icon yellow */
    --accent-blue: #56ccf2;
    /* Icon blue */

    /* Typography */
    --font-main: 'Montserrat', sans-serif;

    /* Layout */
    --max-width: 1200px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========== UTILITIES ========== */
.text-accent {
    color: var(--accent-orange);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn--lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn--primary {
    background-color: var(--accent-orange);
    color: #000;
}

.btn--primary:hover {
    background-color: var(--accent-orange-hover);
    transform: translateY(-2px);
}

.btn--outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn--outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn__arrow {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn:hover .btn__arrow {
    transform: translateX(4px);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 3rem;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    background-color: rgba(10, 15, 27, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.navbar__logo-icon {
    color: var(--accent-orange);
    font-size: 1.2rem;
}

.navbar__links {
    display: flex;
    gap: 2.5rem;
}

.navbar__links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.navbar__links a:hover {
    color: var(--accent-orange);
}

.navbar__burger {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.navbar__burger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    text-align: center;
    overflow: hidden;
}

/* Add a subtle dotted pattern to background */
.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    z-index: -1;
}

.hero__content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(242, 169, 0, 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent-orange);
    margin-bottom: 2rem;
    text-transform: uppercase;
    background-color: rgba(242, 169, 0, 0.05);
}

.hero__title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 650px;
}

.hero__actions {
    display: flex;
    gap: 1rem;
}

/* ========== NOS SPÉCIALISATIONS ========== */
.specializations {
    padding: 6rem 0;
    background-color: var(--bg-section);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.card__icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Icon Colors */
.card__icon--orange {
    background-color: rgba(242, 169, 0, 0.1);
    color: var(--accent-orange);
}

.card__icon--blue {
    background-color: rgba(86, 204, 242, 0.1);
    color: var(--accent-blue);
}

.card__icon--yellow {
    background-color: rgba(242, 201, 76, 0.1);
    color: var(--accent-yellow);
}

.card__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card__text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ========== TRUST BAND ========== */
.trust {
    padding: 3rem 0;
    background-color: #0d1320;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.trust__label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.trust__logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    opacity: 0.5;
}

.trust__logo {
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ========== ABOUT ========== */
.about {
    padding: 8rem 0;
    background-color: var(--bg-dark);
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.about__image img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
    transition: var(--transition);
}

/* Gradient overlay for image */
.about__image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 15, 27, 0.8), transparent);
}

.about__title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.about__title em {
    font-style: normal;
}

.about__text {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about__stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Special stat box overlaying the image */
.stat:first-child {
    position: absolute;
    bottom: 2rem;
    right: -2rem;
    background-color: var(--accent-orange);
    color: #000;
    padding: 2rem;
    border-radius: 12px;
    min-width: 200px;
    z-index: 10;
}

.stat:first-child .stat__label {
    color: rgba(0, 0, 0, 0.8);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat__number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-orange);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat:first-child .stat__number {
    color: #000;
}

.stat__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* ========== FOOTER ========== */
.footer {
    background-color: #0f1728;
    padding: 5rem 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer__brand {
    max-width: 300px;
}

.footer__brand .navbar__logo {
    margin-bottom: 1.5rem;
}

.footer__brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer__col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent-orange);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.footer__col ul li {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.footer__col ul li i {
    margin-top: 4px;
    color: var(--accent-orange);
}

.footer__map {
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0.7;
    height: 80px;
}

.footer__map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer__socials {
    display: flex;
    gap: 1rem;
}

.footer__socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: var(--transition);
}

.footer__socials a:hover {
    background-color: var(--accent-orange);
    color: #000;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    text-align: center;
}

.footer__bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero__title {
        font-size: 3.5rem;
    }

    .about__inner {
        gap: 2rem;
    }

    .about__title {
        font-size: 2.5rem;
    }

    .stat:first-child {
        right: -1rem;
        padding: 1.5rem;
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .navbar__links,
    .navbar__cta {
        display: none;
    }

    .navbar__burger {
        display: flex;
    }

    /* Mobile Menu Open State - Add simplicity for demo */
    .navbar__links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-dark);
        padding: 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero__title {
        font-size: 2.8rem;
    }

    .hero__subtitle {
        font-size: 1.1rem;
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .trust__logos {
        justify-content: center;
    }

    .about {
        padding: 4rem 0;
    }

    .about__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about__image img {
        aspect-ratio: 16/9;
        height: auto;
    }

    .stat:first-child {
        position: relative;
        bottom: 0;
        right: 0;
        margin: -4rem auto 2rem auto;
        width: 90%;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .about__stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        text-align: center;
    }

    .footer__inner {
        grid-template-columns: 1fr;
    }
}