/* RESET CSS */
body, h1, h2, p, ul, li, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* GLOBAL STYLES */
body {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f4f4f4;
}

a {
    text-decoration: none;
    color: #004080;
}

/* Barre de navigation */
.navbar {
  z-index: 1030;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Légère ombre */
}

section {
    scroll-margin-top: 30px; /* Décalage pour ancrage automatique */
}

/* Liens actifs et hover */
.navbar-nav .nav-link.active {
  color: #007bff;
}

.navbar-nav .nav-link:hover {
  color: #0056b3;
}









/* Header-Accueil */
header {
    background: url('../img/DataAF.png') no-repeat center center / cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Page anglaise */
body.en header {
    background: url('../img/DataPAL.png') no-repeat center center / cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Page filipino */
body.fil header {
    background: url('../img/PSA\ 2020.jpg') no-repeat center center / cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

header .overlay{
  z-index: 1; /* Pour garantir que le contenu reste visible */
  background: rgba(0, 0, 0, 0.5); /* Ajoute une transparence pour rendre le texte lisible */
  padding: 20px;
  border-radius: 10px;
}









/* Presentation Section */
#presentation {
    background-color: #f4f4f4;
}
.member-img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ddd;
    transition: transform 0.3s ease;
}

/* Academic Qualifications Section */
#academic-qualifications {
    background: #f9f9f9;
    padding: 80px 20px;
    text-align: center;
}

#academic-qualifications h2 {
    font-size: 2.5rem;
    color: #004080;
    margin-bottom: 20px;
}

#academic-qualifications p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #555;
}

/* Pour que les cartes aient toutes la même hauteur */
#academic-qualifications .card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Permet au contenu de chaque carte de prendre tout l'espace disponible */
#academic-qualifications .card-body {
    flex-grow: 1;
    text-align: left; /* Aligner tout le texte à gauche sauf card-title et card-text */
}

/* Effet au survol */
#academic-qualifications .card:hover {
    transform: translateY(-10px);
}

/* Styles pour card-title et card-text, ils ne seront pas affectés */
#academic-qualifications .card-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
    text-align: center; /* Centrer le titre */
}

#academic-qualifications .card-text {
    font-size: 1rem;
    color: #666;
    text-align: center; /* Centrer le texte */
    margin-bottom: 15px; /* Espacement sous le texte */
}

/* Styles pour l'image dans les cartes, si nécessaire */
#academic-qualifications .card-img-top {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}









/* Professional Experiences Section */
#experiences {
    padding: 80px 20px;
    text-align: center;
}

#experiences h2 {
    font-size: 2.5rem;
    color: #004080;
    margin-bottom: 20px;
}

/* Alignement des cartes avec flexbox pour une hauteur uniforme */
#experiences .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#experiences .col-md-6 {
    display: flex;
    justify-content: center;
}

#experiences .card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#experiences .card-body {
    flex-grow: 1;
}










/* Achievements Section */
#achievements {
    background: #f9f9f9;
    padding: 80px 20px;
    text-align: center;
}

#achievements h2 {
    font-size: 2.5rem;
    color: #004080;
    margin-bottom: 20px;
}

#achievements p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #555;
}

#achievements .card {
    margin: 1.0rem; /* Ajoute un espacement entre les cartes */
    min-height: 300px; /* Vous pouvez ajuster cette hauteur selon vos besoins */
    display: flex;
    flex-direction: column;
    height: 100%;
}

#achievements .card-body {
    flex-grow: 1; /* Fait en sorte que cette section prenne tout l'espace restant */
}

#achievements .logo-agence {
    width: 25px; /* Ajuste la taille selon tes besoins */
    height: auto;
    text-align: center;
}










/* Footer */
footer {
    background-color: #212529;
    color: #fff;
    padding: 20px;
}
footer .footer-logo {
    width: 80px;
    display: block;
    margin: 0 auto;
}
