/* ==== CONFIGURATION GÉNÉRALE ==== */


body {
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

/* ==== SECTION HERO ==== */
.apropos-hero {
  background: linear-gradient(rgba(13, 71, 161, 0.8), rgba(13, 71, 161, 0.8)),
    url("images/im3.jpeg") center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 100px 20px;

}

.apropos-hero h1 {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: 700;
}

.apropos-hero p {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 30px;
}

.apropos-hero button {
    background-color: #ffcc00;
    color: #0d47a1;
    border: none;
    padding: 12px 30px;
    font-size: 1em;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.apropos-hero button:hover {
    background-color: #0d47a1;
    color: white;
    border: 1px solid #ffcc00;
}

/* ==== SECTION BOÎTES ==== */
.apropos-boxes {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 60px 10%;
    gap: 30px;
    background: white;
}

.box {
    flex: 1 1 300px;
    background-color: #e3f2fd;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
}

.box:hover {
    transform: translateY(-5px);
    background-color: #bbdefb;
}

.box h3 {
    color: rgba(20, 67, 251, 0.89);
    font-size: 1.6em;
    margin-bottom: 15px;
    text-align: center;
}

.box p {
    font-size: 1em;
    text-align: justify;
    color: #333;
}

/* ==== SECTION GALLERY ==== */
.gallery {
  text-align: center;
  padding: 60px 20px;
  background-color: #f1f1f1;
}

.gallery h2 {
  font-size: 2em;
  color: #0d47a1;
  margin-bottom: 10px;
}

.gallery p {
  margin-bottom: 40px;
  color: #555;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 0 10%;
}

.gallery-container img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  transition: 0.3s ease;
}

.gallery-container img:hover {
  transform: scale(1.05);
}



/* === Hero Section === */


/* === Mission & Vision === */
.mission-vision {
    background: #ffffff;
    padding: 80px 10%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}



.mission-vision h3 {
    color: #007bff;
    margin-bottom: 15px;
}

/* === Valeurs === */
.valeurs {
    text-align: center;
    padding: 80px 10%;
    background: #f0f5ff;
}
.valeurs h2 {
    color: #007bff;
    margin-bottom: 40px;
}
.valeurs .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}
.valeurs .valeur {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}
.valeurs .valeur:hover {
    transform: translateY(-5px);
}
.valeurs h4 {
    color: #007bff;
    margin-bottom: 10px;
}

/* === Équipe === */
.equipe {
    text-align: center;
    background: #ffffff;
    padding: 80px 10%;
}
.equipe h2 {
    color: #007bff;
    margin-bottom: 40px;
}
.team {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}
.member {
    background: #f9fafc;
    border-radius: 20px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    width: 260px;
    transition: transform 0.3s;
}
.member:hover {
    transform: translateY(-6px);
}
.member img {
    width: 100%;
    border-radius: 20px 20px 0 0;
    height: 220px;
    object-fit: cover;
}
.member h4 {
    color: #007bff;
    margin-top: 10px;
}
.member p {
    color: #444;
    margin-bottom: 20px;
}

/* === Footer === */


/* === Responsive === */
@media (max-width: 768px) {
    .presentation {
        flex-direction: column;
    }
    .mission-vision .card, .member {
        width: 100%;
    }
    .hero h1 {
        font-size: 2.3rem;
    }
}
