@import url('https://fonts.googleapis.com/css2?family=Martel+Sans:wght@200;300;400;600;700;800;900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
* {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  box-sizing: border-box;
}
img {
  object-fit: cover;
}
main{
    padding-top: 80px;
}

/*======================Header======================================*/
/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 0.3rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --black-color: hsl(220, 24%, 12%);
  --black-color-light: hsl(220, 24%, 15%);
  --black-color-lighten: hsl(220, 20%, 18%);
  --white-color: #fff;
  --body-color: hsl(220, 100%, 97%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat", sans-serif;
  --normal-font-size: .938rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1rem;
  }
}

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

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
}

ul {
  list-style: none;
  /* Color highlighting when pressed on mobile devices */
  /*-webkit-tap-highlight-color: transparent;*/
}

a {
  text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

/*=============== HEADER ===============*/
.header {
  position: fixed;
  width: 100%;
  background-color: var(--black-color);
  box-shadow: 0 2px 16px hsla(220, 32%, 8%, .3);
  z-index: var(--z-fixed);
}
.Logo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    height: auto;
    background-image: url(../Images/Fond_gris.jpg);
    background-size: cover; /* Ajuster la taille de l'image de fond pour qu'elle couvre toute la section */
    background-position: center; /* Centrer l'image de fond */
    width: 100%;
}

/* Ajustement des images du logo */
.Logo .img {
    width: 130px;
    height: auto;
    margin: 5px;
}

/* Styles pour la div .Hopital */
.Logo .Hopital {
    text-align: center;
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
}

.Hopital h1 {
    font-size: 45px;
    margin: 0;
    font-family: Grand Hotel;
    color: #E7B137;
}

/* Responsive adjustments */
@media (max-width: 911px) {
    .Logo {
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .Logo .img {
        width: 50px;
        height: 50px;
    }

    .Hopital h1 {
        display: none;
    }
    .header{
        background-color: none;
    }
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
}
.nav__list{
    font-family: Grand Hotel !important;
}
.nav__logo,
.nav__burger,
.nav__close {
  color: var(--white-color);
}

.nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  font-weight: var(--font-semi-bold);
  /* Color highlighting when pressed on mobile devices */
  /*-webkit-tap-highlight-color: transparent;*/
}

.nav__logo i {
  font-weight: initial;
  font-size: 1.25rem;
}

.nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
}

.nav__burger,
.nav__close {
  position: absolute;
  width: max-content;
  height: max-content;
  inset: 0;
  margin: auto;
  font-size: 1.25rem;
  cursor: pointer;
  transition: opacity .1s, transform .4s;
}

.nav__close {
  opacity: 0;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1118px) {
  .nav__menu {
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    pointer-events: none;
    opacity: 0;
    transition: top .4s, opacity .3s;
  }
  .nav__menu::-webkit-scrollbar {
    width: 0;
  }
  .nav__list {
    background-color: var(--black-color);
    padding-top: 1rem;
  }
}

.nav__link {
  color: var(--white-color);
  background-color: var(--black-color);
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color .3s;
}

.nav__link:hover {
  background-color: var(--black-color-light);
}

/* Show menu */
.show-menu {
  opacity: 1;
  top: 3.5rem;
  pointer-events: initial;
}

/* Show icon */
.show-icon .nav__burger {
  opacity: 0;
  transform: rotate(90deg);
}
.show-icon .nav__close {
  opacity: 1;
  transform: rotate(90deg);
}

/*=============== DROPDOWN ===============*/
.dropdown__item {
  cursor: pointer;
}

.dropdown__arrow {
  font-size: 1.25rem;
  font-weight: initial;
  transition: transform .4s;
}

.dropdown__link,
.dropdown__sublink {
  padding: 1.25rem 1.25rem 1.25rem 2.5rem;
  color: var(--white-color);
  background-color: var(--black-color-light);
  display: flex;
  align-items: center;
  column-gap: .5rem;
  font-weight: var(--font-semi-bold);
  transition: background-color .3s;
}

.dropdown__link i,
.dropdown__sublink i {
  font-size: 1.25rem;
  font-weight: initial;
}

.dropdown__link:hover,
.dropdown__sublink:hover {
  background-color: var(--black-color);
}

.dropdown__menu,
.dropdown__submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease-out;
}

/* Show dropdown menu & submenu */
.dropdown__item:hover .dropdown__menu,
.dropdown__subitem:hover > .dropdown__submenu {
  max-height: 1000px;
  transition: max-height .4s ease-in;
}

/* Rotate dropdown icon */
.dropdown__item:hover .dropdown__arrow {
  transform: rotate(180deg);
}

/*=============== DROPDOWN SUBMENU ===============*/
.dropdown__add {
  margin-left: auto;
}

.dropdown__sublink {
  background-color: var(--black-color-lighten);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }

  .nav__link {
    padding-inline: 1rem;
  }
}

/* For large devices */
@media screen and (min-width: 1118px) {
  .container {
    margin-inline: auto;
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
    display: flex;
    justify-content: space-between;
  }
  .nav__toggle {
    display: none;
  }
  .nav__list {
    height: 100%;
    display: flex;
    column-gap: 3rem;
  }
  .nav__link {
    height: 100%;
    padding: 0;
    justify-content: initial;
    column-gap: .25rem;
  }
  .nav__link:hover {
    background-color: transparent;
  }

  .dropdown__item,
  .dropdown__subitem {
    position: relative;
  }

  .dropdown__menu,
  .dropdown__submenu {
    max-height: initial;
    overflow: initial;
    position: absolute;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, top .3s;
  }

  .dropdown__link,
  .dropdown__sublink {
    padding-inline: 1rem 3.5rem;
  }

  .dropdown__subitem .dropdown__link {
    padding-inline: 1rem;
  }

  .dropdown__submenu {
    position: absolute;
    left: 100%;
    top: .5rem;
  }

  /* Show dropdown menu */
  .dropdown__item:hover .dropdown__menu {
    opacity: 1;
    pointer-events: initial;
    transition: top .3s;
  }

  /* Show dropdown submenu */
  .dropdown__subitem:hover > .dropdown__submenu {
    opacity: 1;
    top: 0;
    pointer-events: initial;
    transition: top .3s;
  }
}
.hidden {
    display: none;
}

/*=====================End-header==============================*/
/*=====================Footer==================================*/
.container{
	max-width: 1170px;
	margin:auto;
}
.row{
	display: flex;
	flex-wrap: wrap;
}
ul{
	list-style: none;
}
.footer{
	background-color: #24262b;
    padding: 70px 0;
}
.footer-col{
   width: 25%;
   padding: 0 15px;
}
.footer-col h4{
	font-size: 18px;
	color: #ffffff;
	text-transform: capitalize;
	margin-bottom: 35px;
	font-weight: 500;
	position: relative;
}
.footer-col h4::before{
	content: '';
	position: absolute;
	left:0;
	bottom: -10px;
	background-color: #e91e63;
	height: 2px;
	box-sizing: border-box;
	width: 50px;
}
.footer-col ul li:not(:last-child){
	margin-bottom: 10px;
}
.footer-col ul li a{
	font-size: 16px;
	text-transform: capitalize;
	color: #ffffff;
	text-decoration: none;
	font-weight: 300;
	color: #bbbbbb;
	display: block;
	transition: all 0.3s ease;
}
.footer-col ul li a:hover{
	color: #ffffff;
	padding-left: 8px;
}
.footer-col .social-links a{
	display: inline-block;
	height: 40px;
	width: 40px;
	background-color: rgba(255,255,255,0.2);
	margin:0 10px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
	color: #ffffff;
	transition: all 0.5s ease;
}
.footer-col .social-links a:hover{
	color: #24262b;
	background-color: #ffffff;
}
.footer-bottom {
  background-color: #222;
  padding: 15px 0;
  text-align: center;
}
.footer-bottom p {
  margin: 0;
  font-size: 14px;
  color: #bbb;
}

/*responsive*/
@media(max-width: 767px){
  .footer-col{
    width: 50%;
    margin-bottom: 30px;
}
}
@media(max-width: 574px){
  .footer-col{
    width: 100%;
}
}
/*=====================End-footer================================*/
/*====================History====================================*/
#full-history {
  padding-top: 80px;
}
.history {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.history h2 {
  color: #4CAF50;
  text-align: center;
  margin-bottom: 20px;
}

.history-text p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.mission-containers {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mission-containers h1 {
  color: #4CAF50;
  text-align: center;
  margin-bottom: 20px;
}

.mission-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.mission-item {
  flex: 1 1 calc(33.333% - 20px);
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
}

.mission-item img {
  width: 80px;
  height: auto;
  margin-bottom: 20px;
}

.mission-item h3 {
  color: #4CAF50;
  margin-bottom: 10px;
}

.mission-item p {
  color: #666;
  line-height: 1.6;
}

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

  .mission-item {
      flex: 1 1 100%;
  }

  .history, .mission-containers {
      padding: 15px;
      margin: 15px auto;
  }
}

@media (max-width: 480px) {
  .mission-container {
      flex-direction: column;
      align-items: center;
  }

  .mission-item {
      flex: 1 1 100%;
  }

  .history, .mission-containers {
      padding: 10px;
      margin: 10px auto;
  }

  .header {
      padding: 5px;
      font-size: 16px;
  }

  .mission-item img {
      width: 60px;
  }
}
/*====================End-history================================*/
/*====================Organigr================================*/

.containere {
  width: 80%;
  margin: 0 auto;
  padding-top: 100px; /* Assure que le contenu ne soit pas caché sous le header */
}

.main-content {
  padding: 20px 0;
}

h1 {
  color: #4CAF50;
  text-align: center;
  margin-bottom: 20px;
}

.pdf-container {
  width: 100%;
  overflow: hidden;
  padding-top: 56.25%; /* Ratio 16:9 */
  position: relative;
}

.responsive-pdf {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
      width: 90%;
  }

  h1 {
      font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
      width: 95%;
  }

  h1 {
      font-size: 1.25rem;
  }
}

/*====================End-organigr================================*/

/*====================Direct_E================================*/

.profile-wrapper {
  width: 80%;
  margin: 0 auto;
  padding-top: 100px; /* Assure que le contenu ne soit pas caché sous le header */
}

.main-content {
  padding: 20px 0;
}

h1 {
  color: #4CAF50;
  text-align: center;
  margin-bottom: 20px;
}

.profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
}

.profile-img {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin-bottom: 20px;
}

.profile-info h2 {
  margin: 0;
  color: #333;
  margin-bottom: 10px;
}

.profile-info p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .profile-wrapper {
      width: 90%;
  }

  .profile-card {
      padding: 15px;
  }

  .profile-img {
      width: 120px;
      height: 120px;
  }

  .profile-info h2 {
      font-size: 1.5rem;
  }

  .profile-info p {
      font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .profile-wrapper {
      width: 95%;
  }

  h1 {
      font-size: 1.5rem;
  }

  .profile-card {
      padding: 10px;
  }

  .profile-img {
      width: 100px;
      height: 100px;
  }

  .profile-info h2 {
      font-size: 1.25rem;
  }

  .profile-info p {
      font-size: 0.8rem;
  }
}
/*====================End-Direct_E================================*/
/*====================Serv-admin================================*/

/* .services-wrapper {
  width: 80%;
  margin: 0 auto;
  padding-top: 100px;
}

.main-content {
  padding: 20px 0;
}

h1 {
  color: #4CAF50;
  text-align: center;
  margin-bottom: 20px;
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.services .service {
    border: 1px solid #ccc;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
  }

  .services .service:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
    background-color: #f8f9fa;
  }


.service h2 {
  margin: 0;
  color: #333;
  margin-bottom: 10px;
}

.service p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 10px;
} */
 /*=============== GOOGLE FONTS ===============*/
 @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");

 /*=============== VARIABLES CSS ===============*/
 :root {
   /*========== Colors ==========*/
   --first-color: hsl(82, 60%, 28%);
   --title-color: hsl(0, 0%, 15%);
   --text-color: hsl(0, 0%, 35%);
   --body-color: hsl(0, 0%, 95%);
   --container-color: hsl(0, 0%, 100%);

   /*========== Font and typography ==========*/
   --body-font: "Poppins", sans-serif;
   --h2-font-size: 1rem;
   --small-font-size: 0.75rem;
 }

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

  body {
    font-family: var(--body-font);
    background-color: var(--body-color);
    color: var(--text-color);
  }

  img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: cover;  /* Pour bien adapter l'image à la taille du conteneur sans déformation */
    object-position: center;  /* Centrer l'image dans le conteneur */
  }

  /*=============== CARD ===============*/
  .containers {
    display: grid;
    place-items: center;
    margin-inline: 1rem;
    padding-block: 2rem;
  }

  .card__container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .card__article {
    position: relative;
    overflow: hidden;
    background-color: var(--container-color);
    border-radius: 1rem;
    box-shadow: 0 8px 24px hsla(0, 0%, 0%, 0.15);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
  }

  .card__img {
    width: 100%;
    height: 200px;  /* Limite la hauteur de l'image pour qu'elle soit plus harmonieuse dans la carte */
    border-radius: 1rem 1rem 0 0;  /* Garde le coin arrondi en haut */
    object-fit: cover; /* Cela permet à l'image de remplir son conteneur sans déformation */
    object-position: center;  /* Centre l'image dans l'espace */
  }

  .card__data {
    padding: 1rem;
  }

  .card__description {
    display: block;
    font-size: var(--small-font-size);
    margin-bottom: 0.5rem;
  }

  .card__title {
    font-size: var(--h2-font-size);
    font-weight: 500;
    color: var(--title-color);
    margin-bottom: 0.75rem;
  }

  .card__button {
    text-decoration: none;
    font-size: var(--small-font-size);
    font-weight: 500;
    color: var(--first-color);
  }

  .card__button:hover {
    text-decoration: underline;
  }

  .card__article:hover {
    transform: translateY(-5px);
  }

  /* Responsive Breakpoints */
  @media screen and (min-width: 768px) {
    .card__container {
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 1rem;
    }
  }

  @media screen and (min-width: 1120px) {
    .card__container {
      grid-template-columns: repeat(4, 1fr);
      gap: 1rem;
    }
    .card__img {
      height: 150px;  /* Réduit la hauteur sur grands écrans pour éviter une image trop grande */
    }
    .card__data {
      padding: 1.5rem;
    }
  }
/* Style spécifique pour les services administratifs */
.admin-service {
    /* On peut garder l'apparence par défaut des services administratifs */
    background-color: #f0f0f0; /* Exemple de couleur de fond spécifique */
  }

  .admin-service__data {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
  }

  .admin-service .card__description {
    font-size: var(--small-font-size);
    margin-bottom: 0.5rem;
  }

  .admin-service .card__title {
    font-size: var(--h2-font-size);
    font-weight: 500;
    color: var(--title-color);
    margin-bottom: 0.75rem;
  }

  .admin-service .card__button {
    text-decoration: none;
    font-size: var(--small-font-size);
    font-weight: 500;
    color: var(--first-color);
  }

  .admin-service .card__button:hover {
    text-decoration: underline;
  }

  .admin-service:hover {
    transform: translateY(-5px);
  }

  .card__article {
    position: relative;
    overflow: hidden;
    background-color: var(--container-color);
    border-radius: 1rem;
    box-shadow: 0 8px 24px hsla(0, 0%, 0%, 0.15);
    transition: transform 0.3s;
  }

  .card__img {
    width: 100%;
    border-radius: 1rem 1rem 0 0;
  }

  /* Style des autres services (techniques) reste inchangé */


/* Add some basic styling for the modal */
/* Style de la structure principale du modal */
.modal {
    display: none; /* Masquer le modal par défaut */
    position: fixed; /* Rester en place sur l'écran */
    z-index: 1000; /* Être au-dessus de tout le reste */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Permettre le défilement si nécessaire */
    background-color: rgba(0,0,0,0.5); /* Fond sombre et translucide */
}

/* Contenu du modal */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto; /* Centrer le modal sur l'écran */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Largeur du modal */
    max-width: 700px; /* Largeur maximale */
    border-radius: 10px; /* Coins arrondis */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s; /* Effet d'apparition */
}

/* Animation d'apparition */
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* Bouton de fermeture du modal */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Style pour la carte de profil */
.profile-cards {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.profile-imgs {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.profile-infos h2 {
    margin: 10px 0 5px;
    font-size: 24px;
    color: #333;
}

.profile-infos p {
    font-size: 18px;
    color: #555;
}

/* Titre et description du modal */
.modal h2 {
    font-size: 28px;
    color: #444;
    margin-top: 0;
}

.modal p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

/* Liste des services offerts */
#modalServices {
    list-style: none;
    padding: 0;
}

#modalServices li {
    background: #f4f4f4;
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .modal-content {
        width: 90%; /* Réduire la largeur sur les écrans plus petits */
        padding: 15px; /* Réduire le padding */
    }

    .close {
        font-size: 24px; /* Réduire la taille du bouton de fermeture */
    }

    .profile-imgs {
        width: 80px; /* Réduire la taille de l'image de profil */
        height: 80px;
    }

    .profile-infos h2 {
        font-size: 20px; /* Réduire la taille de la police */
    }

    .profile-infos p {
        font-size: 16px; /* Réduire la taille de la police */
    }

    .modal h2 {
        font-size: 24px; /* Réduire la taille de la police */
    }

    .modal p {
        font-size: 14px; /* Réduire la taille de la police */
    }

    #modalServices li {
        padding: 8px; /* Réduire le padding des éléments de liste */
    }
}

/* Responsive */
@media (max-width: 768px) {
  .services-wrapper {
      width: 90%;
  }

  .service {
      width: calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .services-wrapper {
      width: 95%;
  }

  h1 {
      font-size: 1.5rem;
  }

  .service {
      width: 100%;
  }

  .service h2 {
      font-size: 1.25rem;
  }

  .service p {
      font-size: 0.9rem;
  }
}
/*====================End-serv-admin================================*/
/*====================Event================================*/

.event-container {
  width: 80%;
  margin: 0 auto;
  padding-top: 100px; /* Assure que le contenu ne soit pas caché sous le header */
}

.main-content {
  padding: 20px 0;
}

h1 {
  color: #4CAF50;
  text-align: center;
  margin-bottom: 20px;
}

.events {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.event {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: calc(50% - 20px);
  margin-bottom: 20px;
  overflow: hidden;
}

.event-img {
  width: 100%;
  height: 200px; /* Fixe une hauteur pour que toutes les images soient de la même taille */
  object-fit: cover; /* Maintient les proportions des images tout en les ajustant */
}

.event-info {
  padding: 20px;
  text-align: left;
}

.event-info h2 {
  margin: 0;
  color: #333;
  margin-bottom: 10px;
}

.event-info p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .event-container {
      width: 90%;
  }

  .event {
      width: 100%;
  }
}

@media (max-width: 480px) {
  .event-container {
      width: 95%;
  }

  h1 {
      font-size: 1.5rem;
  }

  .event-info {
      padding: 15px;
  }

  .event-info h2 {
      font-size: 1.25rem;
  }

  .event-info p {
      font-size: 0.9rem;
  }
}
/*====================End-event================================*/
/*====================Contact================================*/
/* Styles pour Contactez-nous */
.main-content {
  padding-top: 100px; /* Espace en haut pour éviter que le contenu soit caché sous le header */
  padding-bottom: 20px;
}

.footer-container {
  width: 80%;
  margin: 0 auto;
}

h1 {
  color: #4CAF50;
  text-align: center;
  margin-bottom: 20px;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.contact-details {
  flex: 1 1 45%;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-details h2 {
  margin: 0;
  color: #333;
  margin-bottom: 10px;
}

.contact-details p, .contact-details label {
  color: #666;
  line-height: 1.6;
  margin-bottom: 10px;
}

.contact-details form {
  display: flex;
  flex-direction: column;
}

.contact-details input, .contact-details textarea {
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-details button {
  padding: 10px;
  background-color: #4CAF50;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-details button:hover {
  background-color: #45a049;
}

.map {
  flex: 1 1 45%;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
      width: 90%;
  }

  .contact-info {
      flex-direction: column;
  }

  .contact-details, .map {
      width: 100%;
  }
}

@media (max-width: 480px) {
  .footer-container {
      width: 95%;
  }

  h1 {
      font-size: 1.5rem;
  }

  .contact-details, .map {
      padding: 15px;
  }

  .contact-details h2 {
      font-size: 1.25rem;
  }

  .contact-details p, .contact-details label {
      font-size: 0.9rem;
  }

  .contact-details button {
      font-size: 0.9rem;
      padding: 10px;
  }

  .map iframe {
      height: 300px; /* Adjust the height for smaller screens */
  }
}
/*====================End-contact================================*/
/*====================Aceuil================================*/

.banner {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  background-image: url(../Images/Fond_home.jpg);
}

.content {
  width: 100%;
  position: absolute;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  top: 45%;
  transform: translateY(-50%);
  text-align: center;
}

.banner h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
  color: rgb(156, 24, 156);
}

.banner p {
  font-size: 1.5em;
  margin-bottom: 20px;
  color: #0d0e0d; /* Utilisation de la même couleur pour le texte du paragraphe */
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5); /* Ombre portée plus légère pour le paragraphe */
}

/* Responsive Design */
@media (max-width: 768px) {
  .banner {
      height: 50vh;
  }

  .banner h1 {
      font-size: 2em;
  }

  .banner p {
      font-size: 1em;
  }

  .banner button {
      font-size: 0.8em;
      padding: 8px 15px;
  }
}


/* Styles pour la section Events */
.Events {
  padding: 40px 20px;
}

.swiper-container {
  width: 100%;
  padding-top: 20px;
  padding-bottom: 20px;
}

.card-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 20px;
}

.user-image {
  border-radius: 10px;
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.user-name {
  margin: 0;
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px;
}

.user-profession {
  margin: 0;
  color: #777;
  margin-bottom: 15px;
}

.message-button a {
  color: #fff;
  text-decoration: none;
}

.message-button {
  background-color: #4CAF50;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.message-button:hover {
  background-color: #45a049;
}

/* Styles pour la section History */
#history {
  padding: 40px 20px;
  /* text-align: center; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#history img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  margin: 20px 0;
}

#history p {
  max-width: 800px;
  margin: 0 auto;
  color: #666;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .intro, .Events, #history {
      padding: 20px 10px;
  }

  .swiper-container {
      padding-top: 10px;
      padding-bottom: 10px;
  }

  .card-item {
      padding: 15px;
  }

  .user-image {
      height: 150px;
  }

  .message-button {
      padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .intro, .Events, #history {
      padding: 20px 10px;
  }

  .intro-content h1 {
      font-size: 1.5rem;
  }

  .intro-content p {
      font-size: 1rem;
  }

  .intro-button {
      padding: 8px 16px;
      font-size: 1rem;
  }

  .swiper-container {
      padding-top: 10px;
      padding-bottom: 10px;
  }

  .card-item {
      padding: 15px;
  }

  .user-image {
      height: 150px;
  }

  .message-button {
      padding: 8px 16px;
  }

  #history img {
      max-width: 100%;
  }

  #history p {
      padding: 0 10px;
      font-size: 1rem;
  }
}

/*====================End-acceuil================================*/
