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

/* Corps */
body {
    font-family: 'Poppins', 'Arial', sans-serif;
    background-color: #ffffff;
    color: #333;
}

/* Header */
header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 30px;
    background: #006475;
    backdrop-filter: blur(0.25px);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Navigation */
.nav-center {
    list-style: none;
    display: flex;
    gap: 40px;
    padding: 0;
}

.nav-center li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
    position: relative;
}

.nav-center li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: #00d9ff;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

.nav-center li a:hover::after {
    transform: scaleX(1);
}

.nav-center li a:hover {
    color: #00d9ff;
    transform: scale(1.1);
}

.nav-center li a.active {
    color: #00d9ff;
}

/* Section Projets */
main {
    padding-top: 130px;
    min-height: calc(100vh - 120px - 60px);
    padding-bottom: 50px;
    display: flex;
    justify-content: center;
}

.projects-section {
    width: 90%;
    max-width: 1200px;
    text-align: center;
}

.projects-section h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #006475;
}

.projects-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.project-card {
    background: #f7f7f7;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
}

.project-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.project-card h2 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #006475;
}

.project-card p {
    font-size: 1rem;
    color: #555555;
}

/* Hover effet */
.project-card:hover {
    transform: translateY(-5px);
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem 0;
    background: #f0f0f0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .projects-container {
        flex-direction: column;
        align-items: center;
    }

    .project-card {
        width: 90%;
    }
}
