/* Polices et couleurs */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

header {
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 5rem 1rem;
}

.header-content {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 10px;
}

.header-content h1 {
    font-size: 2.5rem;
    margin: 0;
}

.header-content p {
    font-size: 1.2rem;
}

.introduction {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.intro-content {
    flex: 1;
}

.profile-pic {
    flex: 0 0 200px;
    margin-right: 2rem;
    border-radius: 10px;
}

.philosophy {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.philosophy p {
    font-style: italic;
    font-size: 1.2rem;
    color: #555;
}

section {
    margin-bottom: 2rem;
}

h2 {
    color: #2c3e50;
    border-bottom: 2px solid #2c3e50;
    padding-bottom: 0.5rem;
}

.course-grid, .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.course-card, .project-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.course-card:hover, .project-card:hover {
    transform: translateY(-5px);
}

.course-card img, .project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-card h3, .project-card h3 {
    padding: 1rem;
    margin: 0;
    background-color: #2c3e50;
    color: white;
}

.course-card p, .project-card p {
    padding: 1rem;
    margin: 0;
}

.button {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.5rem;
    background-color: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #1a252f;
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #2c3e50;
    color: white;
}
