*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body
{
    font-family: 'Montserrat', 'san-serif';
}
#header
{
    width: 100%;
    height: 40px;
    background-color: rgb(255, 187, 0);
    z-index: 1000;
}

/* left-header */
#header #left-header
{
    float: left;
}
#header #left-header a
{
    text-decoration: none;
    color: rgb(1, 1, 105);
    font-size: 13px;
    margin-left: 40px;
    line-height: 40px;
    font-weight: 500;
    transition: 0.3s ease-in-out;
    display: inline-block;
}
#header #left-header a:hover
{
    transform: scale(1.02);
}
#header #left-header p
{
    display: inline;
}
#header #left-header ion-icon
{
    display: inline-block;
    margin-bottom: -3px;
}


/* center-header */
#header #center-header
{
    float: left;
    width: 250px;
    height: 40px;
    margin-left: 150px;
    line-height: 40px;
}

#header #center-header ion-icon
{
    float: left;
    color: #e5e5e5;
    background-color: rgb(1, 1, 105);
    margin-left: 10px;
    padding: 2%;
    border-radius: 50%;
    margin-top: 7px;
}




/* right-header */
#header #right-header
{
    float: right;
    background-color: rgb(1, 1, 105);
    width: 150px;
    height: 40px;
    margin-right: 30px;
    text-align: center;
}
#header #right-header a
{
    text-decoration: none;
    font-size: 15px;
    color: #e5e5e5;
    line-height: 40px;
    font-weight: 600;
}
#header #right-header ion-icon
{
    margin-bottom: -5px;
    margin-right: 7px;
    font-size: 20px;
}


/* menu */
#entete
{
    width: 100%;
    height: 70px;
    background-color: #ffffff;
    border-bottom: solid 2px rgb(1, 1, 105);
}
#logo-ceducc img
{
    float: left;
    width: 150px;
    margin-left: 13px;
    margin-top: 13px;
    line-height: 70px;
}
#menu
{
    float: right;
}
#menu #menu-button-close
{
    display: none;
}
.menu-items
{
    float: right;
    margin-right: 50px;
    list-style: none;
    padding: 0;
    display: flex;
}
#menu .menu-items li
{
    position: relative;
    margin: 0;
}
#menu .menu-items a
{
    display: block;
    padding: 0 20px;
    color: rgb(1, 1, 105);
    text-decoration: none;
    line-height: 70px;
    font-weight: 500;
    font-size: 17px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

#menu .menu-items a::after {
    content: '';
    position: absolute;
    left: 10px;
    bottom: 20px;
    width: 0;
    height: 2px;
    background: rgb(1, 1, 105);
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
}
#menu .menu-items a:hover::after {
    width: calc(100% - 20px);
}

#menu .menu-items .dropdowm-menu
{
    display: none;
    position: absolute;
    top: 100%;
    left: -50px;
    background-color: rgb(1, 1, 105);
    border-radius: 20px;
    list-style: none;
    padding: 10px;
    width: 300px;
    z-index: 1000;
}
#menu .menu-items .dropdowm-menu a
{
    padding: 0px 5px;
    color: rgb(255, 187, 0);
    font-size: 17px;
    transition: 0.5s;
    line-height: 50px !important;
}
#menu .menu-items .dropdowm-menu a:hover
{
    background-color: #e5e5e5;
    transform: scale(1.15);
    color: rgb(1, 1, 105);
    border-radius: 20px;
}
/* Retire souligner sou hover pou lyen ki nan dropdowm-menu */
#menu .menu-items .dropdowm-menu a::after {
    display: none !important;
}
#menu .menu-items .dropdowm-menu a:hover::after {
    display: none !important;
}
#menu .menu-items .dropdowm:hover .dropdowm-menu
{
    display: block;
}
#menu #menu-button
{
    float: right;
    width: 200px;
    line-height: 40px;
    margin-right: 70px;
    font-weight: 500;
    margin-top: 15px;
}
#menu #menu-button a
{
    text-decoration: none;
    background-color: rgb(1, 1, 105);
    color: #e5e5e5;
    padding: 0px 5%;
    border-radius: 5px;
    font-size: 15px;
    transition: 0.3s ease-in-out;
    display: inline-block;
}
#menu #menu-button a:hover
{
    transform: scale(1.02);
}
#menu ion-icon
{
    margin-bottom: -4px;
}

/* Banner apropos */
#banner
{
    width: 100%;
    height: 600px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    padding: 15% 5%;
}
#banner .banner-apropos-items
{
    float: right;
    width: 25%;
}
#banner .banner-apropos-items h2
{
   color: rgb(255, 187, 0);
   font-size: 50px;
   font-family: 'Montserrat';
   font-weight: bolder;
   text-transform: uppercase;
}
#banner .banner-apropos-items p
{
   color: rgb(255, 187, 0);
   font-size: 20px;
   font-family: 'Montserrat';
   font-weight: bolder;
   text-transform: uppercase;
   margin: 15px 0px;
   float: left;
}
#banner .banner-apropos-items a {
    position: relative;
    padding: 12px 20px;
    font-size: 20px;
    font-weight: 600;
    color: white;
    background: rgb(1, 1, 105);
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    z-index: 0;
    transition: color 0.4s ease;
    text-transform: capitalize;
    float: left;
    border-radius: 5px;
}
#banner .banner-apropos-items a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;       /* ← départ à gauche */
    width: 0%;     /* départ vide */
    height: 100%;
    background-color: white;
    transition: width 0.4s ease; /* on anime la largeur */
    z-index: -1;
}

/* hover – remplir jusqu’à la droite */
#banner .banner-apropos-items a:hover::before {
    width: 100%;
}

/* texte change de couleur */
#banner .banner-apropos-items a:hover {
    color: rgb(1, 1, 105);
}


/* section */

#section_container
{
    float: none;
    margin: 0 auto;
    width: 70%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0px 100px;
    margin-top: -40px;
    align-items: center;
    justify-items: center;
    margin-bottom: 40px;
}
#section_container .paragraphe
{
    background-color: #007bff;
    padding: 0px 20px 5%;
    text-align: center;
}
#section_container .paragraphe:nth-child(3n+1) {
    background-color: #007bff; /* Premye koulè */
}
#section_container .paragraphe:nth-child(3n+2) {
    background-color: #28a745; /* Dezyèm koulè */
}
#section_container .paragraphe:nth-child(3n) {
    background-color: #ff6702; /* Twazyèm koulè */
}
#section_container .paragraphe:nth-child(1) h2 
{ 
    color: #e5e5e5;
}
#section_container .paragraphe:nth-child(2) h2 
{ 
    color: #e5e5e5;
}
#section_container .paragraphe:nth-child(3) h2 
{ 
    color: #e5e5e5; 
}

#section_container .paragraphe:nth-child(1) p 
{ 
    color: rgb(1, 1, 105); 
}
#section_container .paragraphe:nth-child(2) p 
{ 
    color: rgb(1, 1, 105); 
}
#section_container .paragraphe:nth-child(3) p 
{ 
    color: rgb(1, 1, 105); 
}

#section_container .paragraphe:nth-child(1) a 
{ 
    color:  #e5e5e5; 
}
#section_container .paragraphe:nth-child(2) a 
{ 
    color:  #e5e5e5; 
}
#section_container .paragraphe:nth-child(3) a 
{ 
    color:  #e5e5e5; 
}


#section_container .paragraphe img
{
    float: left;
    width: 100%;
    border-radius: 20px;
}

#section_container .paragraphe h2
{
    float: left;
    width: 100%;
    font-size: 20px;
    text-align: center;
    text-transform: capitalize;
    margin: 10px 0px;
}
#section_container .paragraphe a
{
    display:  inline-block;
    color: #ffffff;
    font-size: 15px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    width: fit-content;
    text-align: center;
    font-weight: 500;
}
#section_container .paragraphe a::after {
    content: '';
    position: absolute;
    left: 0px;
    bottom: 0px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    width: 0;
    transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
}
#section_container .paragraphe a:hover::after {
    width: calc(100% - 20px);
}
#section_container .paragraphe a ion-icon 
{
    display: inline-block;
    margin-bottom: -4px !important;
    font-size: 17px;
} 
#section_container .paragraphe p
{
    font-size: 20px;
    font-weight: 500;
    width: 100%;
} 
#section_container .paragraphe h2
{
    font-size: 25px;
    font-weight: 300;
    font-weight: 700;
}
#section_container .paragraphe ion-icon
{
    margin-bottom: -5px;
    font-size: 30px;
}
/* section page */
#les_articles {
    max-width: 100%;
    margin: 0 auto 40px auto;
    padding: 0 10%;
}
.articles-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
    padding: 0 5%;
}
.articles-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 10px 2px 7px #1a237e11;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease-in-out, transform 0.2s ease-in-out;
}
.articles-card:hover {
    box-shadow: 0 8px 32px #ff670233;
    transform: translateY(-4px) scale(1.02);
}
.articles-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}
.articles-img {
    height: 170px;
    background: #eee center/cover no-repeat;
    width: 100%;
    position: relative;
}
.articles-cat-badge {
    position: absolute;
    top: 20px;
    left: -60px;
    width: 200px;
    height: 40px;
    background: linear-gradient(135deg, #ff6702, #ff8533);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    line-height: 40px;
    transform: rotate(-45deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 10;
    white-space: nowrap;
    text-overflow: ellipsis;
    pointer-events: none;
    padding: 0px 5%;
}
.articles-card-content {
    padding: 18px 16px 12px 16px;
}
.articles-card-content h4 {
    margin: 0 0 8px 0;
    font-size: 1.15rem;
    color: rgb(1, 1, 105);
    margin-bottom: 15px;
}
.articles-card-content p {
    font-size: 15px;
    color: #444;
    margin: 15px 0px;
}
.articles-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 30px 0 10px 0;
}
.articles-page-btn {
    padding: 7px 16px;
    border-radius: 16px;
    background: #e5e5e5;
    color: #1a237e;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}
.articles-page-btn.active,
.articles-page-btn:hover {
    background: #ff6702;
    color: #fff;
}
/* Design pou paj detay seksyon an */
.article_banner {
    width: 100vw;
    min-width: 100vw;
    margin-left: calc(-50vw + 50%);
    left: 0;
    right: 0;
    height: 600px;
    background: #eee center/cover no-repeat;
    position: relative;
    border-radius: 0;
    display: flex;
    align-items: flex-end;
    box-sizing: border-box;
    overflow-x: hidden;
}
.article_banner .overlay {
    width: 100%;
    padding: 10px 30px 20px 30px;
    box-sizing: border-box;
}
.article_banner h2 {
    color: #fff;
    font-size: 2.1rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.article-detail-description 
{
    font-size: 17px;
    color: black;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    white-space: pre-line;
    font-weight: 600;
    text-align: justify;
}
.article-detail-description p
{
    font-size: 17px;
    color: rgb(1, 1, 105);
}
/* apropos */

/* historiciter */
#historiciter
{
    float: left;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    padding: 100px 10%;
    margin-top: 100px;
    background-color: #e5e5e5;
}
#historiciter img
{
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}
  
#historiciter img:hover
{
    transform: scale(1.02);
}
#historiciter h2
{
    color: rgb(1, 1, 105);
    font-size: 25px;
    margin-bottom: 15px;
}
#historiciter p
{
    font-size: 15px; 
    color: rgb(1, 1, 105);
    line-height: 1.5;
    font-weight: 600;
}
#historiciter #les-h1
{
    margin-top: 20px;
}
#historiciter #les-h1 h1
{
    font-size: 20px;
    font-weight: 600;
    color: #28a745;
    margin-bottom: 10px;
    text-transform: capitalize;
}
#historiciter #les-h1 ion-icon
{
    color: rgb(1, 1, 105);
    margin-bottom: -3px;
    margin-right: 10px;
}

.image-container 
{
  margin-left: 20px;
  position: relative; 
  width: 300px; 
  height: 300px; 
} 
 
.image-container img { 
  top: 0; 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
} 
 
/* Imaj anba a */ 
.back-image { 
  left: 0; 
  z-index: 1; 
  border: 2px solid rgb(1, 1, 105);
} 
 
/* Imaj anwo a, dekale sou bò dwat */ 
.top-image { 
    height: auto;
    position: absolute;
    left: 150px; 
    top: 30px !important; 
    z-index: 2;
    border: 2px solid rgb(1, 1, 105);
}
.btn-fill {
    position: relative;
    display: inline-block;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    color: rgb(1, 1, 105);
    background: transparent;
    border: 1px solid rgb(1, 1, 105);
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    z-index: 0;
    transition: color 0.4s ease;
    margin-top: 15px;
    text-transform: capitalize;
}

/* couche de remplissage */
.btn-fill::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0%;
    background-color: rgb(1, 1, 105);
    transition: height 0.4s ease;
    z-index: -1;
}

/* hover */
.btn-fill:hover::before {
    height: 100%;
}

.btn-fill:hover {
    color: white;
}


/* apropos page apropos */

#apropos_page_apropos_intro
{
    float: left;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 50px 10%;
    margin: 100px 0px 0px 0px;
}
#apropos_page_apropos_intro h2
{
   text-transform: initial !important;
   color: #28a745;
}
#apropos_page_apropos_intro p
{
   text-transform: initial;
   color: rgb(1, 1, 105);
   font-weight: 600;
   margin-bottom: 15px;
}
#apropos_page_apropos_intro a
{
   text-transform: initial;
   color: #e5e5e5;
   background-color: #28a745;
   font-weight: 600;
   padding: 5px;
   border-radius: 5px;
   text-decoration: none;
}

#apropos_page_apropos 
{
    float: left;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0px 10%;
    margin-bottom: 100px;
}
#apropos_page_apropos .partenaire_item 
{
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgb(1, 1, 105);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding-bottom: 5%;
}
#apropos_page_apropos .partenaire_item a 
{
    float: left;
    display: block;
    font-size: 18px;
    color: #28a745;
    margin: 0;
    /* text-align: center; */
    text-transform: uppercase;
    margin: 20px 0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    padding: 0px 10px;
}
#apropos_page_apropos .partenaire_item p
{
    float: left;
    width: 100%;
    color: #e5e5e5;
    margin: 0;
    text-transform: unset;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 0px 10px;
    line-height: 1.5;
}
#apropos_page_apropos .partenaire_item img
{
    width: 100%;
    border-radius: 10px;
}
#apropos_page_apropos .partenaire_item .voir-activite
{
    float: left !important;
    text-align: left;
    font-size: 15px;
}

/* Ajoute soulignement animé au survol pou .voir-activite dans #apropos_page_apropos */
#apropos_page_apropos .partenaire_item .voir-activite {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: #28a745;
    transition: color 0.2s;
    width: fit-content;
}
#apropos_page_apropos .partenaire_item .voir-activite::after {
    content: '';
    position: absolute;
    left: 10px;
    right: 0;
    bottom: 0;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    width: 0;
    transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
}
#apropos_page_apropos .partenaire_item .voir-activite:hover::after {
    width: 100%;
}




/* page benevolat */
/* info_benevolat */
#conditionbenevolat
{
    float: left;
    width: 100%;
    padding: 5%;
    margin-top: 30px;
    margin-bottom: 80px;
}
#conditionbenevolat h1
{
    color: rgb(1, 1, 105);
    margin-bottom: 20px;
    font-size: 30px;
}
#conditionbenevolat p
{
    font-size: 20px;
    color: rgb(0, 0, 0);
    font-weight: 400;
    line-height: 1.5;
}
.benevolat-item 
{
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 10px 0;
  padding: 10px 5%;
}
.benevolat-item  p
{
  margin: 10px 0;
  font-size: 20px;
  font-weight: 400;
  color: rgb(1, 1, 105);
}
.benevolat-item  h1
{
  color: #28a745;
}
.benevolat-image img 
{
  max-width: 250px;
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}
.benevolat-text {
  flex: 1;
}
@media (max-width: 768px) {
  .benevolat-item { flex-direction: column; }
  .benevolat-image img { max-width: 100%; }
}
.bouton_benevolat 
{
    position: relative;
    display: inline-block;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    color: rgb(1, 1, 105);
    background: transparent;
    border: 1px solid rgb(1, 1, 105);
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    z-index: 0;
    transition: color 0.4s ease;
    margin-top: 15px;
    text-transform: capitalize;
}

/* couche de remplissage */
.bouton_benevolat::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0%;
    background-color: rgb(1, 1, 105);
    transition: height 0.4s ease;
    z-index: -1;
}

/* hover */
.bouton_benevolat:hover::before {
    height: 100%;
}

.bouton_benevolat:hover {
    color: white;
}

#infos_benevolat
{    
    float: left;
    width: 100%;
    padding: 10%;
    margin-top: 30px;
    margin-bottom: 80px;
}
#infos_benevolat h2
{
    color: rgb(1, 1, 105);
    margin-bottom: 20px;
    font-size: 30px;
}
#infos_benevolat #charCount
{
    margin-bottom: 10px;
}
/* Formulaire */
#formulaire_benevolat
{
    width: 65%;
    margin: 100px auto;
    background-color: rgba(229, 229, 229, 0.2);
    padding: 5%;
    border-radius: 20px;
}
.error
{
    width: 100%;
    background-color: rgb(255, 32, 32);
    padding: 10px;
    color: white;
    border-radius: 10px;
    text-align: center;
    margin: 20px 0;
}
.success
{
    width: 100%;
    background-color: #28a745;
    padding: 10px;
    color: white;
    border-radius: 10px;
    text-align: center;
    margin: 20px 0;
}
#formulaire_benevolat h2
{
    text-align: center;
    margin-bottom: 20px;
    color: rgb(1, 1, 105);
    font-size: 30px;
}
#formulaire_benevolat h1
{
    margin-bottom: 15px;
    color: rgb(1, 1, 105);
    font-size: 30px;
    margin-top: 50px;
}
/* Kontenè prensipal fòmilè a */
/* Style jeneral form lan */
#formulaire_benevolat form 
{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Yon ranje ak 2 kolòn */
.form-row 
{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* Grup chak chan */
.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 6px;
  color: rgb(1, 1, 105);
  margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea
{
  padding: 12px 14px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #28a745;
  box-sizing: border-box;
  transition: border 0.3s, box-shadow 0.3s;
  margin-bottom: 15px;
  color: #28a745;
  text-transform: capitalize;
}
.form-group input::placeholder {
  color: #28a745;
  font-style: italic;
}

.form-group textarea::placeholder {
  color: #28a745;
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #28a745;
  box-shadow: 0 0 5px rgba(1, 1, 105 ,0.3);
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-group button[type="submit"] {
  width: fit-content;
  padding: 14px 30px;
  background-color: rgb(1, 1, 105);
  color: white;
  font-weight: bold;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  transition: 0.3s;
}

.form-group button[type="submit"]:hover {
  background-color: rgb(9, 9, 148);
  transform: scale(1.04);
}

#charCount {
  font-size: 13px;
  margin-top: 4px;
  display: block;
  color: #888;
}

/*  Equipe index */
.h2equipe
{
    float: left;
    width: 100%;
    text-align: center;
    font-size: 25px;
    color: rgb(1, 1, 105);
    margin-bottom: 10px;
    margin-top: 100px;
}
#equipe2
{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: rgb(1, 1, 105);
    padding: 5%;
}
.slider-wrapper2
{
    overflow: hidden;
    width: 800px;
    margin: 0 70px 55px;
}
.card-list .card-item
{
    color: #ffffff;
    width: 700px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    backdrop-filter: blur(30px);
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.card-list .card-item .user-image
{
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin-bottom: 40px;
    border: 3px solid #ffffff;
    padding: 4px;
}
.card-list .card-item .user-post
{
    font-size: 1.15rem;
    color: #e3e3e3;
    font-weight: 500;
    margin: 14px 0 40px;
    text-transform: capitalize;
}
.card-list .card-item .user-name
{
    font-size: 17px;
    color: #e3e3e3;
    font-weight: 800;
    text-transform: capitalize;
}
.card-list .card-item .button-visiter{
    position: relative;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: transparent;
    border: 1px solid white;
    cursor: pointer;
    overflow: hidden;
    transition: color 0.4s ease;
    text-decoration: none;
}

/* couche de remplissage */
.card-list .card-item .button-visiter::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color:white;
    z-index: -1;
    transition: width 0.4s ease;
}

/* hover */
.card-list .card-item .button-visiter:hover::before {
    width: 100%;
}

.card-list .card-item .button-visiter:hover {
    color: rgb(1, 1, 105);
}

.slider-wrapper2 .swiper-pagination-bullet
{
    background: #fff;
    width: 10px;
    height: 10px;
}
.slider-wrapper2 .swiper-slide-button
{
    color: #fff;
    margin-top: -50px;
    transition: 0.2 ease;
}
.slider-wrapper2 .swiper-slide-button:hover
{
    color: #4de4dc;
}
.voir-plusequipe 
{
    background-color: rgb(1, 1, 105);
    padding: 30px;
    color: white;
}
.voir-plusequipe a
{
    color: rgb(1, 1, 105);
    padding: 10px 15px;
    text-decoration: none;
    background-color: white;
    font-weight: 500;
    border-radius: 5px;
    border: 1px solid transparent;
    transition: 0.3 ease;
}
.voir-plusequipe a:hover
{
    background: transparent;
    border: 1px solid white;
    color: white;
}

.voir-plusequipe ion-icon
{
    margin-bottom: -3px;
    margin-left: 7px;
}
/* benevolat index */
#benevolat
{
    float: left;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    padding: 50px 5%; 
    margin-top: 100px;
    background-color: white;
}
#benevolatItem 
{
    float: left;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 0px 10%;
}
#benevolatItem > div {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 85px;
}
#benevolatItem img {
    width: 100%;
    border-radius: 5px;
}
#benevolatItem h2
{
   text-align: left;
   font-size: 15px;
   color: rgb(1, 1, 105);
   padding: 10px;

}
#benevolatItem p
{
    color: rgb(0, 0, 0);
    font-weight: 500;
    padding: 10px;
} 
#benevolatItem a
{
    color: #ff6702;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    padding: 10px;
    position: relative;
    overflow: hidden;
}
#benevolatItem a::after {
    content: '';
    position: absolute;
    left: 10px;
    bottom: 10px;
    height: 2px;
    background: #ff6702;
    border-radius: 2px;
    width: 0;
    transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
}
#benevolatItem a:hover::after {
    width: calc(100% - 20px);
}
.benevolatIdem3 
{
float: left;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 5px;
}
#recent_post_h2
{
    float: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}
#benevolatIdem3 h2
{
    color: #ff6702;
    border: 1px solid #ff6702;
    font-size: 13px;
    padding: 5px;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.benevolatIdem3 img 
{
  max-width: 30%;
  border-radius: 5px;
  margin: 15px;
}
.benevolatIdem3 h2
{
    font-size: 13px !important;
    margin: 0px;
}
.benevolatIdem3 a
{
    font-size: 15px ;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    color: #ff6702;
    position: relative;
    overflow: hidden;
}
.benevolatIdem3 a::after {
    content: '';
    position: absolute;
    left: 1px;
    right: 10px;
    bottom: 0px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    width: 0;
    transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
}
.benevolatIdem3 a:hover::after {
    width: calc(100% - 2px);
}

/* Page equipe */

.equipe-banner-overlay {
    text-align: center;
    color: #fff;
    width: 100%;
    padding: 10px 10px;
}
.equipe-banner-overlay h1 {
    font-size: 1px;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.equipe-banner-overlay p {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
#equipe-page {
    float: left;
    width: 100%;
    margin: 60px auto 40px auto;
    padding: 0 20px;
    margin-bottom: 100px;
}
.equipe-title {
    text-align: center;
    color: #1a237e;
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 800;
    letter-spacing: 1px;
}
.equipe-grid {
    float: left;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.equipe-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: box-shadow 0.2s;
}
.equipe-card-link:hover .equipe-card {
    box-shadow: 0 8px 32px rgba(40,167,69,0.18);
    transform: translateY(-8px) scale(1.04);
}
.equipe-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 30px 20px 20px 20px;
    text-align: center;
    background-color:rgb(229, 229, 229, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}
.equipe-photo {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #28a745;
    margin-bottom: 18px;
}
.equipe-name {
    font-size: 1.2rem;
    color: #1a237e;
    font-weight: 700;
    margin-bottom: 6px;
    text-transform: uppercase;
}
.equipe-role {
    color: #28a745;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: capitalize;
}
.equipe-desc {
    color: #444;
    font-size: 0.98rem;
    margin-bottom: 0;
    min-height: 24px;
}
@media (max-width: 600px) {
    #equipe-banner { height: 120px; }
    .equipe-banner-overlay h1 { font-size: 1.3rem; }
    .equipe-banner-overlay p { font-size: 0.9rem; }
    .equipe-title { font-size: 1.5rem; }
    .equipe-card { padding: 18px 8px; }
    .equipe-photo { width: 80px; height: 80px; }
}


.equipe-banner-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.equipe-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    margin-bottom: 18px;
    object-fit: cover;
}
.equipe-banner-overlay h2 {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}
.equipe-banner-overlay h3 {
    font-weight: 600;
    font-size: 25px;
    color: white;
    text-transform: capitalize;
}

#membre-content {
    max-width: 650px;
    margin: 40px auto;
    padding: 35px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 18px rgba(26,35,126,0.10);
}
#membre-content h2 {
    color: rgb(1, 1, 105);
    font-size: 1.35rem;
    margin-bottom: 15px;
}
#membre-content p {
    font-size: 1.13rem;
    line-height: 1.8;
    color: #222;
}

.equipe-banner-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.equipe-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    margin-bottom: 18px;
    object-fit: cover;
}
.equipe-banner-overlay h1 {
    font-size: 2.3rem;
    font-weight: 800;
    color: #fff;
}
.equipe-banner-overlay h3 {
    font-weight: 500;
    font-size: 20px;
    color: white;
    text-transform: capitalize;
}
.equipe-banner-overlay p {
    font-weight: 600;
    font-size: 25px;
    color: white;
    text-transform: capitalize;
}

#membre-content {
    max-width: 650px;
    margin: 40px auto;
    padding: 35px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 18px rgba(26,35,126,0.10);
}
#membre-content h2 {
    color: rgb(1, 1, 105);
    font-size: 1.35rem;
    margin-bottom: 15px;
}
#membre-content p {
    font-size: 1.13rem;
    line-height: 1.8;
    color: #222;
}




/* Projet */
.hidden {
    display: none !important;
}

#projet_img {
width: 100%;
margin: 80px auto 40px auto;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
padding: 0px 15%;
}
#projet_img img.gallery-img {
width: 100%;
border-radius: 10px;
cursor: pointer;
transition: transform 0.5s ease;
}
#projet_img img.gallery-img:hover {
transform: scale(1.05);
}
#modal {
display: none;
position: fixed;
z-index: 1000;
left: 0; top: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.8);
align-items: center;
justify-content: center;
}
#modal img#modalImg {
max-width: 100%;
max-height: 90vh;
border-radius: 8px;
box-shadow: 0 0 15px #000;
user-select: none;
}
#modalClose {
position: fixed;
top: 20px;
right: 150px;
font-size: 60px;
color: white;
cursor: pointer;
font-weight: bold;
user-select: none;
z-index: 1010;
}
#modalPrev, #modalNext {
position: fixed;
top: 50%;
transform: translateY(-50%);
font-size: 40px;
color: rgb(255, 255, 255);
cursor: pointer;
user-select: none;
padding: 0 15px;
font-weight: bold;
border-radius: 50%;
z-index: 1010;
line-height: 1;
}
#modalPrev {
left: 250px;
}
#modalNext {
right: 250px;
}
  /* Fade + scale animasyon pou modal image */
#modalImg {
opacity: 0;
transform: scale(0.60);
transition: opacity 0.8s ease, transform 0.8s ease;
}

#modalImg.active {
    opacity: 1;
    transform: scale(1);
}




body {
    overflow-x: hidden;
}

.section-link-bar {
    padding: 7px 18px;
    border-radius: 16px;
    background: #e5e5e5;
    color: rgb(1, 1, 105);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, color 0.2s;
}

.section-link-bar:hover {
    background: #dcdcdc;
}

.section-link-bar.active {
    background: #ff6702;
    color: white;
}

#searchForm {
    max-width: 600px;
    margin: 0 auto 50px auto;
    display: flex;
    gap: 10px;
    margin-top: 100px;
}

#searchForm input[type="text"] {
    flex: 1;
    padding: 10px 14px;
    border-radius: 20px;
    border: 1px solid #e5e5e5;
    font-size: 16px;
}

#searchForm input[type="text"]:focus {
    outline: none;
    border: 1px solid #e5e5e5;
    box-shadow: none;
}

#searchForm button {
    background: #ff6702;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 10px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

#searchForm button:hover {
    background: rgb(1, 1, 105);
}

.section-list-bar a {
    text-transform: capitalize;
    color: rgb(1, 1, 105);
    background: rgb(231, 231, 231);
    transition: 0.3s ease-in-out;
}

.section-list-bar a:hover,
.section-list-bar a:focus {
    background-color: rgb(1, 1, 105);
    color: white;
}

#les_articles {
    max-width: 100%;
    margin: 0 auto 40px auto;
    padding: 0 10%;
}

.articles-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
    padding: 0 5%;
}

.articles-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 10px 2px 7px #1a237e11;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.articles-card:hover {
    box-shadow: 0 8px 32px #ff670233;
    transform: translateY(-4px) scale(1.02);
}

.articles-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.articles-img {
    height: 170px;
    background: #eee center/cover no-repeat;
    width: 100%;
    position: relative;
}

.articles-card-content {
    padding: 18px 16px 12px 16px;
}

.articles-card-content h4 {
    margin: 0 0 8px 0;
    font-size: 1.15rem;
    color: rgb(1, 1, 105);
    margin-bottom: 15px;
}

.articles-card-content p {
    font-size: 17px;
    color: #444;
    margin: 15px 0px;
}

.articles-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 30px 0 10px 0;
}

.articles-page-btn {
    padding: 7px 16px;
    border-radius: 16px;
    background: #e5e5e5;
    color: rgb(1, 1, 105);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}

.articles-page-btn.active,
.articles-page-btn:hover {
    background: #ff6702;
    color: #fff;
}

/* Design pou paj detay seksyon an */
.article_banner {
    width: 100vw;
    min-width: 100vw;
    margin-left: calc(-50vw + 50%);
    left: 0;
    right: 0;
    height: 600px;
    background: #eee center/cover no-repeat;
    position: relative;
    border-radius: 0;
    display: flex;
    align-items: flex-end;
    box-sizing: border-box;
    overflow-x: hidden;
}

.article_banner .overlay {
    width: 100%;
    padding: 10px 30px 20px 30px;
    box-sizing: border-box;
}

.article_banner h2 {
    color: #fff;
    font-size: 2.1rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.article_banner h3
{
    color: #fff;
    width: 100%;
    margin-top: 10px;
}

.article-detail-content 
{
    max-width: 100%;
    background: #fff;
    border-radius: 16px;
    padding: 0 3%;
}

.article-detail-description {
    font-size: 17px;
    color: rgb(0, 0, 0);
    line-height: 1.5;
    margin: 0;
    font-weight: 600;
}

















/* partenair */
#partenaire_intro
{
    float: left;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 50px 10%;
    margin: 100px 0px 0px 0px;
}
#partenaire_intro h2
{
   text-transform: initial !important;
   color: #28a745;
   margin-bottom: 15px;
   width: 90%;
}
#partenaire_intro p
{
   text-transform: initial;
   color: rgb(1, 1, 105);
   font-weight: 600;
   margin-bottom: 15px;
}
#partenaire_intro a {
    position: relative;
    padding: 3px 10px;
    font-size: 20px;
    font-weight: 600;
    color: white;
    background: rgb(1, 1, 105);
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    z-index: 0;
    transition: color 0.4s ease;
    text-transform: capitalize;
    float: left;
    border-radius: 5px;
}
#partenaire_intro a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;       /* ← départ à gauche */
    width: 0%;     /* départ vide */
    height: 100%;
    background-color: #28a745;
    transition: width 0.4s ease; /* on anime la largeur */
    z-index: -1;
}

/* hover – remplir jusqu’à la droite */
#partenaire_intro a:hover::before {
    width: 100%;
}

/* texte change de couleur */
#partenaire_intro a:hover {
    color: white;
}
/* #partenaire_intro a
{
   text-transform: initial;
   color: white;
   background-color: #28a745;
   font-weight: 600;
   padding: 5px;
   border-radius: 5px;
   text-decoration: none;
   transition: 0.3s ease-in-out;
   display: inline-block;
}
#partenaire_intro a:hover
{
   transform: scale(1.04);
} */

#partenaire 
{
    float: left;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 0px 10%;
}
#partenaire .partenaire_item 
{
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #e5e5e5;
    border-radius: 10px;
    padding: 20px 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
#partenaire .partenaire_item a 
{
    width: 100%;
    display: inline-block;
    font-size: 18px;
    color: #28a745;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    margin: 20px 0;
    text-underline-offset: 4px;
    font-size: 20px;
    font-weight: 700;
    transition: 0.3s ease-in-out;
}
#partenaire .partenaire_item a:hover
{
    transform: scale(1.04);
}
#partenaire .partenaire_item p
{
    float: left;
    width: 100%;
    color: #e5e5e5;
    margin: 0;
    text-align: center;
    text-transform: unset;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}
#partenaire .partenaire_item img
{
    width: 200px;
}

/* page partenaire */
#equipe-banner a
{
    color: white;
    font-size: 15px;
    text-decoration: none;
    background-color: rgb(1, 1, 105);
    padding: 10px;
    margin-top: 10px;
    margin: 10px auto 10px auto;
    border-radius: 10px;
    transition: 0.3s ease-in-out;
    display: inline-block;
    text-transform: capitalize;
}
#equipe-banner a:hover
{
    transform: scale(1.04);
    background-color: rgb(16, 16, 145);
}
#page_partenaire 
{
    float: left;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    padding: 0px 5%;
    width: 100%;
    margin: 100px 0px;
}
#page_partenaire .partenaire_item 
{
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #e5e5e5;
    border-radius: 10px;
    padding: 20px 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
#page_partenaire .partenaire_item a 
{
    width: 100%;
    display: inline-block;
    font-size: 18px;
    color: #28a745;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    margin: 20px 0;
    text-underline-offset: 4px;
    font-size: 20px;
    font-weight: 700;
    transition: 0.3s ease-in-out;
}


#page_partenaire .partenaire_item img
{
    width: 200px;
    align-items: center;
}

#page_partenaire .partenaire_item a 
{
    background: none;
    color: inherit;
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    text-align: inherit;
    text-transform: inherit;
    box-shadow: none;
    transition: 0.3s ease-in-out;
    width: 100%;
    display: block;
}


#page_partenaire .partenaire_item 
{
    cursor: pointer;
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
}


#page_partenaire .partenaire_item:hover {
    box-shadow: 0 8px 32px rgba(40,167,69,0.18);
    transform: translateY(-8px) scale(1.01);
}

/* SLIDE */
.slider-container {
    width: 100%;
    min-height: 220px;
    margin: 60px auto 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.slider-container h2 {
    color: rgb(1, 1, 105);
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.slider-wrapper {
    position: relative;
    width: 420px;
    max-width: 95vw;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(26,35,126,0.10);
    padding: 18px 0;
}
.slider-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(.77,0,.18,1);
    gap: 28px;
    align-items: stretch;
}
 #partenaire-content
 {
    max-width: 650px;
    margin: 40px auto;
    padding: 35px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 18px rgba(26,35,126,0.10);
}
#partenaire-content h2
{
    color: rgb(1, 1, 105);
    font-size: 1.35rem;
    margin-bottom: 15px;
}
#partenaire-content p
{
    font-size: 1.13rem;
    line-height: 1.8;
    color: #222;
}
.slide {
    min-width: 180px;
    max-width: 180px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(26,35,126,0.08);
    text-align: center;
    flex-shrink: 0;
    padding: 18px 8px 14px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
}
.slide:hover {
    box-shadow: 0 8px 24px #ffb30044;
    transform: translateY(-6px) scale(1.04);
    z-index: 2;
}
.slide img {
  width: 150px;
    margin-bottom: 10px;
    transition: border 0.2s;
}
.slide p {
    margin-top: 8px;
    font-weight: 700;
    color: rgb(1, 1, 105);
    font-size: 1.07rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.slide a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ffb300 60%, #ffe082 100%);
    color: rgb(1, 1, 105);
    border: none;
    padding: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.7rem;
    z-index: 10;
    box-shadow: 0 4px 16px #ffb30033, 0 2px 6px rgba(0,0,0,0.10);
    opacity: 0.93;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, color 0.2s, box-shadow 0.2s, transform 0.18s;
    outline: none;
    border: 2px solid #fff;
}
.slider-btn.prev {
    left: 3px;
}
.slider-btn.next {
    right: 3px;
}
.slider-btn:hover, .slider-btn:focus {
    background: rgb (1, 1, 105);
    box-shadow: 0 8px 24px #1a237e33, 0 2px 6px rgba(0,0,0,0.13);
    transform: scale(1.08) translateY(-50%);
}









/* Articles */
#articles
{
    float: left;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 50px 5%; 
    grid-template-columns: 60% 32%;
    margin-top: 100px;
    background-color: white;
}
#articles_items1 
{
    float: left;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 0px 10%;
}
#articles_items1 > div {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 85px;
}
#articles_items1 img {
    width: 100%;
    border-radius: 5px;
}
#articles_items1 h2
{
   text-align: left;
   font-size: 15px;
   color: rgb(1, 1, 105);
   padding: 10px;

}
#articles_items1 p
{
    color: rgb(0, 0, 0);
    font-weight: 500;
    padding: 10px;
} 
#articles_items1 a
{
    color: #ff6702;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    padding: 10px;
    position: relative;
    overflow: hidden;
}
#articles_items1 a::after {
    content: '';
    position: absolute;
    left: 10px;
    bottom: 10px;
    height: 2px;
    background: #ff6702;
    border-radius: 2px;
    width: 0;
    transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
}
#articles_items1 a:hover::after {
    width: calc(100% - 20px);
}


#articles_items2 h1
{
    color: #ff6702;
    border: 1px solid #ff6702;
    font-size: 13px;
    padding: 5px;
    margin-bottom: 15px;
    text-transform: uppercase;
}
#articles_items2_users {
    float: right;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#articles_items2_users img {
    display: block;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid rgb(1, 1, 105);
}
#articles_items2 h2
{
    color: rgb(1, 1, 105);
    font-size: 15px;
    text-transform: uppercase;
    margin: 15px 0px;
}
#articles_items2 p
{
    color: black;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}

#articles_items2 #reseau
{
    float: left;
    width: 100%;
    margin-left: 70%;
}
#articles_items2 #reseau ion-icon
{
    float: left;
    margin: 3px;
    font-size: 17px;
    color: black;
    border: 1px solid black;
    padding: 2px;
    margin-bottom: 30px;
}

.article_banner {
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: -40px;
}

.article_banner .overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
}

.article_banner h2
{
    margin: 0;
    font-size: 32px;
    background-color: black;
    padding: 10px;
}

.article_banner h3
{
    float: left;
    margin: 5px;
    width: 100%;
    font-size: 25px;
    color: white;
    font-weight: 600;
}
#articles_bar
{
    float: left;
    width: 100%;
    height: 1px;
    background-color: #003d99;
    margin: 100px 0px;
}

#articles2
{
    float: left;
    width: 100%;
    padding-top: 5%;
    margin-bottom: 50px;
}
#articles2 h2
{
    float: left;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

#articles_items3 
{
    float: left;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0px 10%;
}
#articles_items3 > div 
{
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 85px;
}
#articles_items3 img {
    width: 100%;
    border-radius: 5px;
}
#articles_items3 h2
{
   text-align: left;
   font-size: 15px;
   color: rgb(1, 1, 105);
   padding: 10px;

}
#articles_items3 p
{
    color: rgb(0, 0, 0);
    font-weight: 500;
    padding: 10px;
} 
#articles_items3 a
{
    color: #ff6702;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    padding: 10px;
    position: relative;
    overflow: hidden;
}
#articles_items3 a::after {
    content: '';
    position: absolute;
    left: 10px;
    bottom: 5px;
    height: 2px;
    background: #ff6702;
    border-radius: 2px;
    width: 0;
    transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
}
#articles_items3 a:hover::after {
    width: calc(100% - 20px);
}
#article_container a
{
    float: left;
    font-size: 20px;
    color: black;
    text-decoration: none;
    width: 100%;
    margin-bottom: 20px;
    color: rgb(1, 1, 105);
    font-weight: 600;
    text-transform: initial;
}

#les_articles 
{
    max-width: 100%;
    margin: 0 auto 40px auto;
    padding: 0 2%;
}

#searchForm {
    max-width: 600px;
    margin: 0 auto 50px auto;
    display: flex;
    gap: 10px;
    margin-top: 100px;
}
#searchForm input[type="text"] {
    flex: 1;
    padding: 10px 14px;
    border-radius: 20px;
    border: 1px solid #e5e5e5;
    font-size: 16px;
}
#searchForm input[type="text"]:focus {
    outline: none;
    border: 1px solid #e5e5e5;
    box-shadow: none;
}
#searchForm button {
    background: #ff6702;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 10px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}
#searchForm button:hover {
    background: rgb(1, 1, 105);
}
.articles-categories-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}
.cat-btn {
    padding: 7px 18px;
    border-radius: 18px;
    background: #e5e5e5;
    color: rgb(1, 1, 105);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
    text-transform: capitalize;
}
.cat-btn.active
{
    background-color:  #ff6702;
    color: #e5e5e5;
}
.cat-btn:hover {
    background: rgb(1, 1, 105);
    color: #e5e5e5;
}
.articles-cat-title {
    color: #ff6702;
    margin-top: 30px;
    margin-bottom: 12px;
    font-size: 1.25rem;
    text-transform: capitalize;
}
.articles-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 30px;
    width: 100%;
}
.articles-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 10px 2px 7px #1a237e11;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease-in-out, transform 0.2s ease-in-out;
}
.articles-card:hover {
    box-shadow: 0 8px 32px #ff670233;
    transform: translateY(-4px) scale(1.02);
}
.articles-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}
.articles-img {
    height: 170px;
    background: #eee center/cover no-repeat;
    width: 100%;
    position: relative;
}
.articles-cat-badge {
    position: absolute;
    top: 20px;
    left: -60px; /* chanje right pou left */
    width: 200px;
    height: 40px;
    background: linear-gradient(135deg, #ff6702, #ff8533);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    line-height: 40px;
    transform: rotate(-45deg); /* sens opoze pou panche sou bò gòch */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 10;
    white-space: nowrap;
    text-overflow: ellipsis;
    pointer-events: none;
    padding: 0px 5%;
}

.articles-card-content {
    padding: 18px 16px 12px 16px;
}
.articles-card-content h4 {
    margin: 0 0 8px 0;
    font-size: 1.15rem;
    color: rgb(1, 1, 105);
    margin-bottom: 15px;
}
.articles-card-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}
.articles-card-content p {
    font-size: 15px;
    color: #444;
    margin-bottom: 0;
    margin: 15px 0px;
}
.articles-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 30px 0 10px 0;
}
.articles-page-btn {
    padding: 7px 16px;
    border-radius: 16px;
    background: #e5e5e5;
    color: rgb(1, 1, 105);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}
.articles-page-btn.active,
.articles-page-btn:hover {
    background: #ff6702;
    color: white;
}
@media (max-width: 700px) {
    #les_articles { padding: 0 1vw; }
    .articles-list { grid-template-columns: 1fr; }
}

/* recent_post */
.recent_post_items 
{
float: left;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 5px;
}
#recent_post_h2
{
    float: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}
#recent_post_h2 h2
{
    color: #ff6702;
    border: 1px solid #ff6702;
    font-size: 13px;
    padding: 5px;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.recent_post_items img 
{
  max-width: 30%;
  border-radius: 5px;
  margin: 15px;
}
.recent_post_items h2
{
    font-size: 13px !important;
    margin: 0px;
}
.recent_post_items a
{
    font-size: 15px ;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    color: #ff6702;
    position: relative;
    overflow: hidden;
}
.recent_post_items a::after {
    content: '';
    position: absolute;
    left: 1px;
    right: 10px;
    bottom: 0px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    width: 0;
    transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
}
.recent_post_items a:hover::after {
    width: calc(100% - 2px);
}

.paragraphe 
{
  flex: 1;
}


#reseau2
{
    float: left;
    width: 100%;
}
#reseau2 h2
{
    color: #ff6702;
    border: 1px solid #ff6702;
    font-size: 13px;
    padding: 5px;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-align: center;
}
#reseau2 a {
    display: block;
    width: 150px;
    padding: 10px;
    border-radius: 25px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.4s;
    margin-top: 15px;
}
#reseau2 a.facebook {
    background: #003d99;
    float: left;
}
#reseau2 a.twitter {
    background: #1782c5;
    float: left;
    
}
#reseau2 a.instagram {
    background: #dd0d9b;
    float: right;
}
#reseau2 a.email {
    background: #d40202;
    float: right;
    font-weight: bold;
}
#reseau2 a:hover {
    filter: brightness(0.92);
}
#reseau2 ion-icon {
    font-size: 20px;
    vertical-align: middle;
    margin-right: 5px;
}

/* Floating Share Button */
#share-btn {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 9999;
    background: #ff6702;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
#share-btn:hover {
    background: rgb(1, 1, 105);
    transform: scale(1.08);
}
#share-btn ion-icon {
    font-size: 28px;
    margin: 0;
}






/* Articles page items */
/* articles_item */
#article_container
{
    width: 100%;
}
#article_container .paragraphe
{
    float: left;
    width: 100%;
    padding: 5% 10%;
}
#article_container .paragraphe h4
{
    font-size: 15px;
    margin-bottom: 15px;
    font-weight: 500;
    line-height: 1.5;
}
#article_container .paragraphe ion-icon
{
    font-size: 25px;
    margin-bottom: -5px;
    margin-right: 1px;
}
#article_container .paragraphe p
{
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 20px;
}
#articles_reseau
{
    float: left;
    width: 100%;
    padding: 0px 10%;
}
#articles_reseau a
{
    float: left;
    margin-top: 20px;
    margin-right: 5px;
    font-size: 25px;
    padding: 5px;
    color: white;
    transition: 0.3s ease-in-out;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px; 
    padding: 0;
    font-size: 22px;
}
#articles_reseau a ion-icon {
    font-size: 22px;
    margin: 0;
}

#articles_reseau a:hover
{
    transform: scale(1.04);
}
#articles_reseau a.facebook {
    background: #003d99;
}
#articles_reseau a.twitter {
    background: #1782c5;
    
}
#articles_reseau a.instagram {
    background: #dd0d9b;
}
#articles_reseau a.email {
    background: #d40202;
    font-weight: bold;
}




#articles_meme_categorie 
{
    float: left;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0px 10%;
    margin-bottom: 100px;
}
#articles_categories .articles_categories_h2
{
    margin-bottom: 50px;
    text-align: center;
    float: left;
    margin-left:37%;
}

#articles_meme_categorie .articles_items {
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
    padding-bottom: 10px;
}
#articles_meme_categorie img
{
    float: left;
    width: 100%;
}
#articles_meme_categorie h2
{
    float: left;
    color: rgb(1, 1, 105);
    font-size: 15px;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}
#articles_meme_categorie p
{
    float: left;
    color: black;
    font-size: 15px;
    padding: 10px;
    margin-bottom: 10px;
}

#articles_meme_categorie a
{
    float: left;
    font-size: 15px ;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    color: #ff6702;
    position: relative;
    overflow: hidden;
    padding-left: 10px;
}
#articles_meme_categorie a::after
{
    content: '';
    position: absolute;
    left: 1px;
    right: 10px;
    bottom: 0px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    width: 0;
    transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
}
#articles_meme_categorie a:hover::after
{
    width: calc(100% - 2px);
}







/* Connexion admin */

#contact
{
    float: left;
    width: 40%;
    margin-left: 30%;
    margin-bottom: 100px;
    margin-top: 100px;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 30px 5%;
    
}
#contact .alert
{
    width: 100%;
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: bold;
    background-color: rgb(245, 85, 85);
    padding: 10px;
    border-radius: 17px;
}
#contact input
{
    float: left;
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid rgb(6, 114, 6);
    border-radius: 10px;
}
#contact input:focus
{
    outline: none;
    border: 2px solid rgb(6, 114, 6);
}
#contact input::placeholder
{
    font-size: 15px;
    color: rgb(6, 114, 6);
}
#contact textarea
{
    float: left;
    width: 100%;
    padding: 10px;
    border: 1px solid rgb(6, 114, 6);
    border-radius: 10px;
    height: 150px;
}
#contact textarea::placeholder
{
    font-size: 16px;
    color: rgb(6, 114, 6);
}
#contact textarea:focus
{
    outline: none !important;
    border: 2px solid rgb(6, 114, 6);
}
#contact button
{
    float: left;
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border-radius: 10px;
    background-color: rgb(6, 114, 6);
    transition: background-color 0.3s ease-in-out;
    color: white;
    border: none;
}
#contact button:hover
{
    background-color: rgb(255, 255, 255);
    color: rgb(6, 114, 6);
    border: 1px solid rgb(6, 114, 6);
}
#contact h2
{
    color: rgb(6, 114, 6);
    margin-bottom: 15px;
}
#contact label
{
    float: left;
    color: rgb(6, 114, 6);
    font-size: 20px;
}
#container_compte .btn-danger
{
    float: left;
    color: rgb(204, 5, 5);
}

#container_compte .modal-container
{
width:100%;
height: 100vh;
position: absolute;
z-index: 1000;
background: rgba(0,0,0,0.1);
top:0px;
left: 0px;
display: flex;
}
#container_compte .modal-form
{
width: 40%;
margin: auto;
min-height: 100px;
background: white;
border:1px solid rgba(0,0,0,0.1);
border-radius: 10px;
padding: 30px;
position: relative;
}
#container_compte .close-modal
{
position: absolute;
right: 20px;
top: 0px;
font-size: 20px;
color: red;
text-decoration: none;
}
.modal-container input
{
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
}
.modal-container span{
    cursor: pointer;
}









/* page contact */

#baner_contact
{
    width: 100%;
    height: 600px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../image/bg.jpg);
    background-size: cover;
    background-position: bottom;
    background-blend-mode: multiply;
    text-align: center;
    color: white;
    padding: 10%;
    position: relative;
  z-index: 1;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}
#baner_contact h2
{
    margin-bottom: 15px;
    font-size: 30px;
    margin-top: 80px;
    text-transform: uppercase;
}
#baner_contact p
{
    margin-bottom: 15px;
    font-size: 25px;
}

#contact_info
{
    float: left;
    width: 100%;
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 0px 10%;
    margin-top: -150px;
    position: relative;
    z-index: 2;
}
#contact_info #info_suplementaire
{
    float: left;
    background-color: #e5e5e5;
    padding: 50px;
    border-bottom-left-radius: 25px;
    border-top-left-radius: 3px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}
#contact_info #info_suplementaire h2
{
    color: rgb(1, 1, 105);
    margin-bottom: 30px;
}
#contact_info #info_suplementaire_ionicon1 a
{
    display: block;
    margin-bottom: 35px;
    text-decoration: none;
    color: black;
    transition: 0.3s ease-in-out;
}
#contact_info #info_suplementaire_ionicon1 a:hover
{
    transform: scale(1.04);
}
#contact_info #info_suplementaire_ionicon1 ion-icon
{
    float: left;
   font-size: 10px;
   margin-right: 20px;
   height: 30px;
   width: 30px;
   background-color: rgb(1, 1, 105);
   color: white;
   padding: 8px;
   border-radius: 50%;
}

#contact_info #contact_info_bar
{
    width: 100%;
    height: 1px;
    background-color: rgb(85, 82, 82);
    margin-bottom: 20px;
}
#contact_info #contact_info_reseau h3
{
    color: rgb(1, 1, 105);
}

#contact_info #contact_info_reseau ion-icon
{
    margin-top: 15px;
    float: left;
   font-size: 15px;
   margin-right: 5px;
   height: 15px;
   width: 15px;
   background-color: rgb(1, 1, 105);
   color: white;
   padding: 8px;
   border-radius: 50%;
   transition: 0.3s ease-in-out;
}
#contact_info #contact_info_reseau ion-icon:hover
{
    transform: scale(1.07);
}
#contact_info #contact_form
{
   float: left;
    background-color: white;
    padding: 50px;
    border-bottom-right-radius: 25px;
    border-top-right-radius: 3px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}
#contact_info #contact_form input
{
    float: left;
    width: 15%;
    padding: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
    border: none;
    background-color: #e5e5e5;
    border-radius: 10px !important;
} 

#contact_info #contact_form form {
    width: 100%;
}

#contact_info #contact_form .row-double {
    display: flex;
    gap: 16px;
    width: 100%;
    margin-bottom: 0;
}

#contact_info #contact_form .row-double > div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#contact_info #contact_form label {
    display: block;
    margin-bottom: 10px;
    margin-top: 15px;
    font-size: 16px;
    color: rgb(1, 1, 105);
    font-weight: 600;
    letter-spacing: 0.5px;
}

#contact_info #contact_form input,
#contact_info #contact_form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    background-color: #e5e5e5;
    border-radius: 10px !important;
    font-size: 15px;
    font-family: inherit;
    box-sizing: border-box;
    display: block;
}
#contact_info #contact_form form ::placeholder
{
    color: rgb(1, 1, 105);
    font-weight: 500;
}

#contact_info #contact_form textarea {
    min-height: 100px;
    resize: vertical;
}

#contact_info #contact_form input:focus,
#contact_info #contact_form textarea:focus {
    outline: none;
    border: none;
    box-shadow: none;
    color: rgb(1, 1, 105);
    font-weight: 500;
}
#contact_info #contact_form button
{
    background-color: rgb(1, 1, 105);
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    font-size: 16px;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    display: inline-block;
}
#contact_info #contact_form button:hover
{
    transform: scale(1.05);
}
 #map_container
    {
      float: left;
      padding: 20px;
      margin-top: 100px;
      margin-bottom: -190px;
      width: 100%;
      padding: 50px 0px;
    }
    iframe {
      width: 100%;
      height: 450px;
      border: none;
    }











#pied #newsletter
{
    float: left;
    width: 90%;
    grid-column: 1 / -1; /* Okipe tout 4 kolòn yo */
    background-color: rgb(1, 1, 105);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 50px 5%;
    margin-top: -200px;
    border-radius: 2px;
    text-transform: uppercase;
}


#newsletter {
    margin-left: auto;
    margin-right: auto;
    display: block;
}
#pied #newsletter #form
{
    float: left;
    margin-left: 10%;    
}
#newsletter input
{
    float: left;
    width: 40%;
    margin-right: 10%;
    padding: 2%;
    text-align: center;
    background-color: #e5e5e5;
    border: 1px solid #28a745;
    font-size: 15px;
}
#pied #newsletter input::placeholder
{
    color: #28a745;
    font-weight: 500;
}
#pied #newsletter input:focus
{
    border: #28a745;
    outline: none;
    color: #28a745;
}
#pied #newsletter button
{
    width: 90%;
    margin-top: 20px;
    border: 1px solid #e5e5e5;
    padding: 3% 2%;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #e5e5e5;
    transition: 0.3s ease-in-out;
    display: inline-block;
}
#pied #newsletter button:hover
{
    transform: scale(1.04);
}

/* pied */
#pied
{
    float: left;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 5% 5%;
    gap: 50px;
    margin-top: 150px;
}
#pied h2
{
    color: white;
    margin-bottom: 30px;
}
#pied a
{
    display:  block;
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    width: fit-content;
    margin-bottom: 15px;
}
#pied a::after {
    content: '';
    position: absolute;
    left: 15px;
    bottom: 0px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    width: 0;
    transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
}
#pied a:hover::after {
    width: calc(100% - 20px);
}

#pied .ion-icon ion-icon
{
    margin-bottom: -4px;
}
#pied ul
{
    float: left;
    width: 100%;
    list-style: none;
    margin: 0px;
    padding: 0px;
}
#pied li
{
    float: left;
    height: 40px;
    padding: 8px;
    background-color: rgba(255, 255, 255, 0.87);
    border-radius: 5px;
    margin-right: 20px;
    margin-top: 20px;
}
#pied p
{
    color: white;
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.5;
}
#pied ul ion-icon
{
    color: rgb(1, 1, 105);
}
#pied .email ion-icon
{
    margin-bottom: -7px;
}
#contact_pied ion-icon
{
   font-size: 25px;
   margin-bottom: -6px;
   transition: transform 0.5s ease-in-out; 
}
#contact_pied ion-icon:hover
{
    transform: scale(1.2);
}
#pied .ion-icon
{
    text-transform: uppercase;
}

#page_partenaire .partenaire_item {
    cursor: pointer;
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}


#page_partenaire .partenaire_item:hover {
    box-shadow: 0 8px 32px rgba(40,167,69,0.18);
    transform: translateY(-8px) scale(1.02);
}

/* Fè tout blòk clickable si ou itilize <a class="partenaire_item">...</a> */

#partenaire .partenaire_item,
#page_partenaire .partenaire_item {
    text-decoration: none;
    color: inherit;
}





/* admin */
#header_admin
{
    float: left;
    width: 100%;
    height: 100px;
    background-color: #e5e5e5;
    border-bottom: 2px solid rgb(1, 1, 105);
}
#header_admin img
{
    float: left;
    width: 250px;
    padding: 30px;
}
#logo-ceducc-admin
{
    float: left;
    width: 200px;
}
#header_admin h1
{
    float: right;
    margin-right: 20px;
    line-height: 100px;
    color: rgb(1, 1, 105);
}
#details_container
{
    float: left;
    width: 15%;
    height: 85vh;
    background-color: #e5e5e5;
    padding:0px 25px 0px 25px;
    overflow-y: auto;
}
#details_container ul
{
    margin-top: 60px;
}
#details_container li
{
    list-style: none;
    margin-bottom: 20px;
}
#details_container li a
{
    text-decoration: none;
    color: rgb(1, 1, 105);
    font-size: 20px;
    text-transform: capitalize;
    font-weight: 500;
}
/* articles */
.container
{
    float: left;
    width: 80%;
    margin: 30px auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-left: 20px;
}
.container a
{
    float: left;
    text-transform: capitalize;
    text-decoration: none;
    color: white;
    background-color: rgb(1, 1, 105);
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 10px;
}
/* Table */
.table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 0 8px rgba(0,0,0,0.06);
}
.table td.description {
    max-width: 300px; /* largeur max */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* ajoute "..." à la fin */
}
/* En-têtes */
.table th {
    background-color: rgb(1, 1, 105);
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
}

/* Lignes paires (zébrure) */
.table-striped tr:nth-child(even) {
    background-color: #e5e5e5;
}

/* Lignes impaires */
.table-striped tr:nth-child(odd) {
    background-color: #fff;
}

/* Cellules */
.table td {
    padding: 12px 15px;
    vertical-align: middle;
}
.label
{
    float: left;
    margin-bottom: 10px !important;
    text-transform: capitalize;
    font-weight: 600;
}

/* Images dans le tableau */
.table img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* Boutons communs */
.btn {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 5px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    cursor: pointer;
    user-select: none;
    margin-right: 8px;
}

/* Bouton Modifier */
.btn-primary {
    background-color: rgb(1, 1, 105) !important;
    border: none;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Bouton Supprimer */
.btn-danger {
    background-color: #a30808 !important;
    border: none;
}

.btn-danger:hover {
    background-color: #d41010;
}

/* articles section */
/* --- Arrière-plan modal --- */
.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    animation: fadeIn 0.3s ease;
}

/* --- Animation apparition --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Contenu modal --- */
.modal-form {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    width: 95%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    animation: slideIn 0.3s ease;
}

/* --- Animation du contenu --- */
@keyframes slideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* --- Bouton fermer --- */
.close-modal {
    font-size: 20px;
    font-weight: bold;
    color: #444;
    cursor: pointer;
    float: right;
    transition: 0.2s;
    margin-top: -20px;
    margin-bottom: 10px;
}
.close-modal:hover {
    color: red;
}

/* --- Styles des inputs --- */
.modal-form .form-control, 
.modal-form select, 
.modal-form textarea {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    transition: border 0.2s ease;
}
.modal-form textarea
{
    min-height: 90px; 
    resize: vertical;
}
td .no-bg {
    background: none !important;
    padding: 0 !important;
    border: none !important;
}
.modal-form .form-control:focus, 
.modal-form select:focus, 
.modal-form textarea:focus {
    border-color: #007BFF;
    outline: none;
}
.modal-form ::placeholder
{
    color: #000 !important;
}

/* --- Boutons --- */
.modal-form .btn {
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: 0.2s;
}
.modal-form label
{
    float: left;
    font-size: 15px;
    margin-bottom: 5px;
}

.btn-primary {
    background: #007BFF;
    color: white;
}
.btn-primary:hover {
    background: #0056b3;
}

.btn-danger {
    background: #dc3545;
    color: white;
}
.btn-danger:hover {
    background: #a71d2a;
}

/* --- Table des articles --- */
.table img {
    max-width: 70px;
    border-radius: 6px;
}
/* --- Auteur Sidebar --- */
#auteurApropos {
    width: 100%;
    padding: 40px 10%;
    margin: 40px 0;
}

.auteur-sidebar {
    background: #f5f5f5;
    border-left: 4px solid #ff6702;
    border-radius: 8px;
    padding: 20px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.auteur-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgb(1, 1, 105);
    margin-bottom: 15px;
    flex-shrink: 0;
}

.auteur-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auteur-sidebar h5 {
    color: rgb(1, 1, 105);
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-transform: capitalize;
}

.auteur-sidebar p {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
    margin: 0 0 15px 0;
    font-style: italic;
}

.auteur-links {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    color: white;
    transition: transform 0.2s, filter 0.2s;
}

.link-btn.email {
    background: #d40202;
}

.link-btn.facebook {
    background: #003d99;
}

.link-btn.instagram {
    background: #dd0d9b;
}

.link-btn.twitter {
    background: #1782c5;
}

.link-btn:hover {
    transform: scale(1.1);
    filter: brightness(0.9);
}

.link-btn ion-icon {
    font-size: 18px;
}

.voir-articles {
    display: inline-block;
    padding: 8px 14px;
    background: rgb(1, 1, 105);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.3s, transform 0.2s;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.voir-articles:hover {
    background: #ff6702;
    transform: translateY(-2px);
}