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

.menu-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}


/* Hero Section */
.hero {
    background: #21509e;
    padding: 35px 30px;
    margin-top: 88px;
    color: white;
    text-align: center;
}

.hero h1 {
    font-weight: 900;
    font-size: 20px;
    margin-bottom: 20px;
}

.hero p {
    font-weight: 300;
    font-size: 15px;
}

.cta-button {
    margin-top: 12px;
    display: inline-block;
    padding: 12px 24px;
    background-color: #DC4226;
    color: white;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    margin-left: 20px;
    margin-bottom: 30px;
}

/* Services Section */
.services {
    padding: 40px 30px;
    margin-bottom: -60px;
}

.services h2 {
    color: #dc4226;
    font-size: 26px;
    text-align: center;
    margin-bottom: 10px;
}

.subtitle {
    font-style: italic;
    text-align: center;
    font-size: 14px;
    margin-bottom: 30px;
}

.subtitle2 {
    font-style: italic;
    text-align: center;
    font-size: 14px;
    margin-bottom: 30px;
    padding-top: 10px;
}

.service-card {
    margin-bottom: 30px;
}

.service-card img {
    width: 100%;
    height: 156px;
    object-fit: cover;
    border-radius: 8px;
}

.service-card h3 {
    color: #dc4226;
    font-size: 15px;
    margin: 16px 0;
    font-weight: 600;
}

/* Trust Section */
.trust {
    padding: 80px 20px;
    background-color: rgba(33, 80, 158, 0.08);
    text-align: center;
}

.trust h2 {
    font-size: 2.5rem;
    color: #21509e;
    margin-bottom: 10px;
}

.subtitle2 {
    font-size: 1.1rem;
    margin-bottom: 50px;
    color: #666;
    font-style: italic;
}

.trust-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.trust-item {
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: var(--delay);
    transition: all 0.3s ease;
}

.trust-item h3 {
    font-size: 20px;
    color: #21509e;
    margin-bottom: 10px;
}

.trust-item p {
    font-size: 15px;
    color: #333;
}

/* Animation fade-up */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.solutions {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.solution-card {
    background: #f0f4f8;
    border-radius: 12px;
    padding: 25px;
    margin: 20px;
    width: 450px;
    height: 200px;
    gap: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 0.8s forwards;
    animation-delay: var(--delay);
}

.solution-card h2 {
    color: #21509e;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    margin-bottom: 12px;
}

.solution-card p {
    font-size: 14px;
    line-height: 1.4;
    font-style: italic;
    color: #333;
}

/* Animation keyframes */
@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.trust h2 {
    color: #dc4226;
    text-align: center;
    padding-top: 40px;
}

p {
    text-align: center;
    padding: 10px;
}

.team {
    text-align: center;
    padding: 60px 20px;
}

.team-images {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.team-member {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: scale(1.05);
}

/* TABLETTE : ≥ 600px */
@media (min-width: 600px) {
    .container {
        max-width: 100%;
        padding: 0 40px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .hero p {
        font-size: 18px;
        max-width: 80%;
        margin: 0 auto;
    }

    .cta-button {
        margin-top: 30px;
        font-size: 16px;
        padding: 14px 30px;
        margin-bottom: 30px;
    }

    .services {
        padding: 60px 0;
    }

    .services h2 {
        font-size: 30px;
        margin-bottom: 15px;
        text-align: center;
    }

    .subtitle,
    .subtitle2 {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .service-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .service-card {
        margin-bottom: 0;
    }

    .service-card img {
        height: 180px;
    }

    .service-card h3 {
        font-size: 18px;
        margin: 20px 0 10px;
    }

    .trust-card {
        width: 80%;
        max-width: 600px;
        height: auto;
    }

    .trust-card-top {
        height: 260px;
    }

    .trust-card-bottom {
        height: auto;
        padding: 30px;
    }

    .team {
        text-align: center;
        padding: 60px 20px;
    }

    .team-images {
        display: flex;
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
        margin: 30px 0;
    }

    .team-member {
        width: 150px;
        height: 150px;
        object-fit: cover;
        border-radius: 20px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }

    .team-member:hover {
        transform: scale(1.05);
    }

}

/* DESKTOP : ≥ 1024px */
@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 80px;
    }

    .service-card p {
        text-align: left;
    }

    .menu-btn {
        display: none;
    }

    .hero {
        padding: 100px 0;
        text-align: left;
    }

    .hero .container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero h1 {
        font-size: 42px;
        text-align: center;
    }

    .hero p {
        font-size: 20px;
        text-align: center;
        margin-top: 50px;
    }

    .cta-button {
        font-size: 18px;
        margin-left: 35px;
        margin-bottom: 30px;
    }

    .services {
        margin-left: 35px;
        margin-right: 15px;
    }

    .services h2 {
        font-size: 36px;
        margin-bottom: 20px;
        text-align: center;
    }

    .subtitle {
        text-align: center;
        font-size: 18px;
        margin-bottom: 60px;
    }

    .subtitle2 {
        text-align: center;
        font-size: 18px;
        margin-top: 10px;
    }

    .service-cards {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }

    .service-card img {
        height: 350px;
    }

    .service-card h3 {
        font-size: 20px;
        margin: 24px 0 12px;
        width: 400px;
    }

    .trust h2 {
        text-align: center;
        font-size: 40px;
        margin-bottom: 10px;
    }

    .trust-card {
        flex-direction: row;
        height: 400px;
        width: 100%;
    }

    .trust-card-top {
        width: 450px;
        height: 200px;
        border-top-right-radius: 38px;
        border-bottom-right-radius: 38px;
    }

    .trust-card-bottom {
        width: 450px;
        height: 200px;
        border-top-left-radius: 38px;
        border-bottom-left-radius: 38px;
        display: flex;
        align-items: center;
        padding: 10px;
    }

    .trust-item h3 {
        font-size: 28px;
        color: #21509e;
        margin-bottom: 10px;
    }

    .trust-item p {
        font-size: 24px;
        color: #333;
    }

    .team {
        text-align: center;
        padding: 60px 20px;
    }

    .team-images {
        display: flex;
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
        margin: 30px 0;
    }

    .team-member {
        width: 290px;
        height: 290px;
        object-fit: cover;
        border-radius: 20px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }

    .team-member:hover {
        transform: scale(1.05);
    }


}

/* Large Desktop : ≥ 1440px */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 22px;
    }

    .service-card img {
        height: 220px;
    }

    .trust-card {
        height: 450px;
    }

    .team-squares {
        height: 400px;
        max-width: 320px;
    }

    .square {
        width: 320px;
        height: 320px;
    }
}