/* --- Section Héro --- */
.about-hero {
  position: relative;
  height: 70vh;
  background: url('../img/about-hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  animation: fadeInUp 1s ease;
}

.about-hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 50, 100, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  animation: fadeInUp 1s ease;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.btn-hero {
  display: inline-block;
  background: #00b4d8;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-hero:hover {
  background: #0096c7;
  transform: scale(1.05);
}

/* --- Section Cartes --- */
.about-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 60px auto;
  gap: 30px;
}

.about-cards .card {
  background: #fff;
  width: 320px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}
.about-cards .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-text {
  padding: 20px;
  
}
.card-text h3 {
  color: #023e8a;
  margin-bottom: 10px;
}
.card-text p {
  color: #555;
}
/* Rend les cards entières cliquables */
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card:hover {
  transform: translateY(-8px);
  transition: 0.3s ease;
}

/* --- Section Contact --- */
.contact-section {
  background: linear-gradient(135deg, #e0f7fa, #f0fcff);
  text-align: center;
  padding: 60px 20px;
}
.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #023e8a;
}
.contact-section p {
  color: #555;
  margin-bottom: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  justify-items: center;
}
.contact-item {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.contact-item:hover {
  transform: scale(1.05);
}
.contact-item i {
  font-size: 2rem;
  color: #0077b6;
  margin-bottom: 10px;
}
.contact-item a {
  color: #0077b6;
  text-decoration: none;
  font-weight: 500;
}
.contact-item a:hover {
  text-decoration: underline;
}

/* --- Animation --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}


















/* HERO */
.team-hero {
  position: relative;
  height: 50vh;
  background: url('../images/team_bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.team-hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
}

/* TEAM SECTION */
.team-section {
  margin: 60px auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* Team Member Layout */
.team-member {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 20px;
}

.team-member.reverse {
  flex-direction: row-reverse;
}

.member-photo {
  width: 330px;
  height: 330px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 26px rgba(0,0,0,0.18);
}

.member-info {
  max-width: 600px;
}

.member-info h2 {
  margin: 0;
  font-size: 28px;
  font-weight: bold;
}

.member-info h4 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #ff7b00;
}

.member-info p {
  font-size: 16px;
  line-height: 1.6;
}

/* Animation apparitions */
.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .team-member, .team-member.reverse {
      flex-direction: column;
      text-align: center;
  }

  .member-photo {
      width: 250px;
      height: 250px;
  }
}
.page-section {
  margin: 60px auto;
  text-align: center;
  
}

.content-wrapper {
  display: flex;
  align-items: center;
  gap: 30px; /* espace entre texte et image */
  margin-top: 40px;
}

.text-block {
  flex: 1; /* prend toute la place disponible */
  text-align: left;
  
  
}

.page-img {
  width: 60%;      /* adapte la taille de l'image */
  border-radius: 10px; /* optionnel : rend l'image plus jolie */
  
}















body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: #f8f9fc;
}

.mission-section {
    padding: 40px 20px;
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 20px;
    color: #050505;
    font-weight: 700;
    text-align: center;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.slides {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    display: none;
    position: relative;
}

.slide.active {
    display: block;
    animation: fade 0.8s ease-in-out;
}

@keyframes fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.text-box {
    padding: 30px;
    text-align: left;
    background: #ffffff;
}

.text-box h2 {
    margin: 0 0 10px;
    color: #0b2d5f;
    font-size: 1.8rem;
}

.text-box p {
    line-height: 1.6;
    color: #333;
}

/* Boutons */
.btns{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    font-size: 28px;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 50%;
    transition: 0.2s;
}

.btns:hover {
    background: white;
}

.prev { left: 10px; }
.next { right: 10px; }

/* Points */
.dots {
    text-align: center;
    padding: 12px 0;
}

.dot {
    height: 12px;
    width: 12px;
    background: #bbb;
    border-radius: 50%;
    display: inline-block;
    margin: 0 6px;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: #1a3d7c;
}

















.page-hero {
  position: relative;
  height: 60vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.page-hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
}

.page-hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
}

.page-section {
  margin: 60px auto;
  text-align: center;
}

.page-img1 {
  width: 100%;
  max-width: 900px;
  margin-top: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  height: 300px;
}

/* Backgrounds personnalisées */
.team-bg { background-image: url('../images/impact.jpeg'); }
.infra-bg { background-image: url('../images/Books!.jpeg'); }

/* Rend les cards entières cliquables */
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card:hover {
  transform: translateY(-8px);
  transition: 0.3s ease;
}
a {
    text-decoration: none;
}

.image-grid {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.image-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Effet hover — petit zoom + ombre */
.image-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
