:root {
    --backgrond-color: #fff;
    --second-background-color: #a3a9ba;
    --primary-color: #3b61db;
    --secondary-color: #042a6d;
    --third-color: #011861;
    --dark-colr: #000;
    --third-background-color: #c3cde7;
    --hightlight-color: #fce36b;
    }

  

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family:'Alan sans', sans-serif;
   text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
}


html, body {
    margin: 0;
    padding: 0;
    width: 100%;
  }



nav {
    background-color: var(--dark-colr);
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
}

nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav li {
    height: 50px;
}



nav a {
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: var(--primary-color);
}
nav svg{
    fill: var(--primary-color);
}

nav a:hover {
    color: var(--backgrond-color);
}

.main-li a {
    color: var(--primary-color) !important;
  }

nav p {
    font-weight: 800;
    font-size: 1.2rem;
}

nav li:first-child {
    margin-right: auto;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: var(--dark-colr);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.sidebar li {
    width: 100%;

}

.sidebar a {
    width: 100%;
}

.menu-button{
    display: none;
}

@media(max-width: 780px){
    .hideonMobile{
        display: none;
    }

    .menu-button{
        display: flex;
    }
}





/* ===== HEADER ===== */
.header {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 7.7rem;
  }
  
  .title {
    font-weight: 800;
    font-size: 3.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #0a1a64;
    justify-content: center;
    position: relative;
  }
  
  .highlight {
    position: relative;
    display: inline-block;
    z-index: 1;
  }
  
  .highlight::before {
    content: "";
    position: absolute;
    bottom: 0.1em;
    left: 0;
    width: 100%;
    height: 0.6em;
    background-color: var(--hightlight-color);
    transform: skew(-10deg);
    z-index: -1;
  }
  
  .heart-icon {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .heart-icon svg {
    width: 100%;
    height: 100%;
  }


    /* ===== CONTAINER ===== */
    .container {
        display: flex;
        justify-content: space-between;
        gap: 2rem;
        padding: 2rem;
        max-width: 100%;
        width: 100%;
        flex-wrap: wrap;
        padding-left: 12rem;
        padding-right: 12rem;
      }
      
      /* ===== LEFT ===== */
      .left {
        flex: 1 1 35%;
        text-align: center;
        padding: 1rem;
      }
      
      .logo-box {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 140px;
      }

      .logo-box img {
        height: 15rem;
        width: 15rem;
        border: #000 solid;
        margin-top: 4rem;
      }
      
      .hands-cross {
        width: 100px;
        height: 100px;
      }
      
      .left h2 {
        font-weight: 800;
        font-size: 1.8rem;
        margin-top: 1rem;
        line-height: 1.3;
        padding-top: 5rem;
      }
      
      .subtitle {
        margin-top: 0.5rem;
        font-size: 0.9rem;
      }
      

       /* ===== RIGHT ===== */
  .right {
    flex: 1 1 60%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .description {
    border: 2px solid var(--dark-colr);
    padding: 1.2rem;
    font-weight: 700;
    font-size: 0.7rem;
    line-height: 1.3;
    text-align: justify;
  }
  
  .buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .btn {
    font-weight: 800;
    padding: 0.8rem 1.6rem;
    text-decoration: none;
    border: 3px solid #0a1a64;
    text-align: center;
    font-size: 1rem;
  }
  
  .btn.donation {
    background-color: #0a1a64;
    color: white;
    border: none;
  }
  
  .btn.contact {
    color: #0a1a64;
    background: white;
  }
  
  .insta img {
    width: 36px;
    height: 36px;
  }



  @media (max-width: 800px) {
    .container {
      flex-direction: column;
      align-items: center;
      padding-bottom: 2rem;
      margin-bottom: 4rem;
      padding-left: 2rem;
      padding-right: 2rem;
    }

    .logo-box img {
        height: 140px;
        width: 140px;
        border: #000 solid;       
        margin-top: 0rem;
      }

    .header{
        margin-top: 3rem;
        margin-bottom: 1.5rem;
    }
  
    .left, .right {
      width: 100%;
    }
  
    .title {
      font-size: 2.3rem;
    }
    .left h2 {
        font-weight: 800;
        font-size: 1.6rem;
        margin-top: 1rem;
        line-height: 1.3;
        padding-top: 0rem;
    }
      .subtitle {
        margin-top: 0.5rem;
        font-size: 0.9rem;
      }
  }
  

/* ===== chiffre ===== */

.chiffre {
    min-height: 100vh; 
    background-image: url('assert/generated-image 2.jpeg');
    background-size: cover; 
    background-repeat: no-repeat;
    background-position: center center; 
    width: 100%;
    padding: 0rem 0; 
  }


.header-chiffre {
    text-align: center;
    margin-bottom: 4rem;
    margin-top: 4rem;
  }
  
  .title-chiffre {
    font-weight: 800;
    font-size: 3.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #0a1a64;
    justify-content: center;
    position: relative;
    padding-top: 4rem;
  }
  
  .highlight-chiffre {
    position: relative;
    display: inline-block;
    z-index: 1;
  }
  
  .highlight-chiffre::before {
    content: "";
    position: absolute;
    bottom: 0.1em;
    left: 0;
    width: 100%;
    height: 0.6em;
    background-color: var(--hightlight-color);
    transform: skew(-10deg);
    z-index: -1;
  }



.stats-section {
    display: flex;
    justify-content: center;
    gap: 5rem;
    padding: 5rem 0;
    flex-wrap: wrap;
  }
  
  .stat-card {
    background-color: #00154f;
    color: white;
    width: 23rem;
    padding: 40px 20px;
    text-align: center;
    border: 3px solid white;
    box-sizing: border-box;
  }
  
  .icon {
    font-size: 60px;
    display: block;
    margin-bottom: 20px;
  }
  
  .number {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
  }
  
  .label {
    font-size: 1rem;
    text-transform: uppercase;
    margin: 5px 0 0;
    letter-spacing: 0.5px;
    font-weight: 300;
  }
  
  .value {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 5px;
  }

 
 
  .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .icon svg {
    width: 9rem; 
    height: 12rem; 
    fill: var(--backgrond-color); 
  }
  /* ✅ Media Query at 500px */
  @media (max-width: 800px) {
    .header-chiffre {
        text-align: center;
        margin-bottom: 0.7rem;
        margin-top: 0.7rem;
        padding-top: 0;
      }
    .stats-section {
      flex-direction: column;
      align-items: center;
      padding: 40px;
      gap: 1.5rem;
    }
  
    .stat-card {
      width: 80%;
      padding: 30px 15px;
    }
  
    .icon {
      font-size: 50px;
    }
  
    .number {
      font-size: 2rem;
    }
  
    .label, .value {
      font-size: 0.9rem;
    }
    
    .title-chiffre{
        font-size: 2.3rem;
    }
    .icon svg {
        width: 4rem; 
        height: 4rem; 
        fill: var(--backgrond-color); 
      }
  }




  /* -------- section info -------- */

  .info {
    min-height: 100vh;
    background-color: #00154f;
    text-align: center;
 
}
  


  .header-info {
    text-align: center;
    margin-bottom: 4rem;
 
  }
  
  .title-info {
    font-weight: 800;
    font-size: 3.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--backgrond-color);
    justify-content: center;
    position: relative;
    padding-top: 4rem;
  }
  
  .highlight-info {
    position: relative;
    display: inline-block;
    z-index: 1;
  }
  
  .highlight-info::before {
    content: "";
    position: absolute;
    bottom: 0.1em;
    left: 0;
    width: 100%;
    height: 0.6em;
    background-color: var(--hightlight-color);
    transform: skew(-10deg);
    z-index: -1;
  }


  /* === Conteneur des cartes === */
  .cards-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
    padding-bottom: 7rem;
  }
  
  /* === Carte === */
  .card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    width: 80%;
    padding: 30px 20px 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
  }
  
  /* === Photo circulaire === */
  .photo {
    width: 120px;
    height: 120px;
    background: linear-gradient(to bottom, #cce0ff, #cce0ff);
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 3px solid white;
    padding-top: 0.155rem;
  }
  
  /* === Rôle et nom === */
  .role {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 5px 0;
    color: #ffffff;
  }
  
  .nom {
    font-weight: 500;
    color: #d1d1d1;
    margin-bottom: 20px;
  }
  
  /* === Description === */
  .description {
    background-color: white;
    color: #000;
    border-radius: 10px;
    padding: 20px;
    line-height: 1.6;
    font-size: 1.5rem;
    text-align: left;
    font-weight: 400;
  }


.cards-container img  {
    width: 110px;
    height: 110px;
    border-radius: 50%;
  }


  @media (max-width: 800px) {
    .header-info {
        text-align: center;
        margin-bottom: 4rem;
        padding-top: 0;
        font-size: 2.3rem;
      }

    .title-info {
        font-size: 2.3rem;
    }

    .description {
        font-size: 1rem;

      }
    .cards-container{
        padding-bottom: 3rem;
    }
    
  }






/* horizontale scroll bar*/



.hsb {
    background-color: var(--backgrond-color);
    padding-bottom: 50px; 
    padding-top: 2rem;
}

.header-hsb {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 4rem;
  }
  
.title-hsb {
    font-weight: 800;
    font-size: 3.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #0a1a64;
    justify-content: center;
    position: relative;
  }
  
.highlight-hsb {
    position: relative;
    display: inline-block;
    z-index: 1;
  }
  
.highlight-hsb::before {
    content: "";
    position: absolute;
    bottom: 0.1em;
    left: 0;
    width: 100%;
    height: 0.6em;
    background-color: var(--hightlight-color);
    transform: skew(-10deg);
    z-index: -1;
  }







.news-section {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-header {
    text-align: center;
    margin-bottom: 30px;
}

.news-title {
    font-size: 2rem;
    color: #333;
}

.news-highlight {
    color: #001B66;
    font-weight: bold;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.carousel-nav {
    background: none;
    border: none;
    font-size: 40px;
    cursor: pointer;
    color: #001B66;
    transition: transform 0.2s;
    z-index: 10;
}

.carousel-nav:hover {
    transform: scale(1.2);
}

.carousel-cards {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden; 
    scroll-behavior: smooth;
    padding-bottom: 10px;
    max-width: 80%;
    height: auto;  
    scrollbar-width: none; 
}


.carousel-cards::-webkit-scrollbar {
    display: none;
}

.news-card {
    flex: 0 0 auto;
    width: 260px;
    border: 4px solid #001B66;
    padding: 15px;
    border-radius: 6px;
    background: white;
    transition: transform 0.3s, background 0.3s;
    height: auto;    /* allow natural height */
    overflow: visible;
}


.news-card.active {
    background: #001B66;
    color: white;
    transform: translateY(-5px); 
}


.card-image img {
    width: 100%;
    height: 150px;

    border-radius: 12px;
    margin-bottom: 20px;
}



.card-text{
    display: inline-flex;
    flex-direction: column;
}

.card-text .text-line {
    background: #001B66;
    border-radius: 20px;
    margin-bottom: 10px;
    padding: 0.5rem;
    color: var(--backgrond-color);
    font-weight: bold;
    font-size: 0.8rem;
}

.card-text .text-line.short {
    color: var(--backgrond-color);
    font-weight: normal;
    padding: 0.5rem;

}

.news-card.active .text-line {
    background: white;
    color: #00154f;
}

@media (max-width: 800px) {
    .hsb {
      padding: 20px 10px;
    }
  
    .title-hsb {
      font-size: 2.5rem;
    }
  
    .carousel-container {
      gap: 10px;
    }

    .carousel-nav {
      display: none;
    }
  
    .carousel-cards {
      max-width: 100%;
      padding-bottom: 15px;
    }
  
    .news-card {
      width: 210px;      
      padding: 10px;
    }
  
    .card-image img {
      height: 120px;     
    }
  
    .card-text .text-line {
      font-size: 0.75rem;
      padding: 0.4rem;
    }
  
    .card-text .text-line.short {
      font-size: 0.75rem;
    }

    .news-card.active {
      transform: translateY(-3px); 
    }
  }




/* --------------------------------------members---------------------------------------------- */


  .mem {
    min-height: 100vh;
    background-image: url(assert/mem-back\ .jpeg);
    background-size: cover;
    background-position: center center;
    width: 100%;
    padding: 0rem 0; 
    padding-bottom: 4rem;
}
  

.header-mem {
    text-align: center;
    margin-bottom: 4rem;

  }
  
  .title-mem {
    font-weight: 800;
    font-size: 3.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--backgrond-color);
    justify-content: center;
    position: relative;
    padding-top: 4rem;
  }
  
  .highlight-mem {
    position: relative;
    display: inline-block;
    z-index: 1;
  }
  
  .highlight-mem::before {
    content: "";
    position: absolute;
    bottom: 0.1em;
    left: 0;
    width: 100%;
    height: 0.6em;
    background-color: var(--hightlight-color);
    transform: skew(-10deg);
    z-index: -1;
  }


  
  
  


/* Main Form Panel */
.form-container {
  background-color: #001A64;
  border: 4px solid white;
  border-radius: 10px;
  padding: 40px;
  width: 85%;
  max-width: 1000px;
  margin: 40px auto;
}

/* Form Grid */
.info-form {
  display: flex;
  flex-direction: column;
  gap: 26px;
  color: white;
  font-family: Arial, sans-serif;
  font-size: 22px;
}

.row {
  display: grid;
  grid-template-columns: 160px 1fr 160px 1fr;
  align-items: center;
  gap: 20px;
}

.row label {
  font-weight: bold;
  text-align: right;
}

label {
  font-weight: bold;
  text-align: right;
}

.row input,
textarea {
  border: none;
  padding: 0 18px;
  font-size: 18px;
  height: 35px;
}

.textarea-row {
  grid-template-columns: 160px 1fr;
}

.textarea-row textarea {
  height: 200px;
  resize: none;
  padding: 18px;
}

/* Submit Button */
.submit-row {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.submit-btn {
  background-color: white;
  color: #001A64;
  font-size: 20px;
  font-weight: bold;
  padding: 12px 40px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.2s ease;
}

.submit-btn:hover {
  background-color: #e5e5e5;
}

.radio-group{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 1.5rem;
  gap: 10px
  ;
}

/* RESPONSIVE (max 800px) */
@media screen and (max-width: 800px) {

  .form-container {
    width: 95%;
    padding: 20px;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .row label {
    text-align: left;
    font-size: 18px;
  }

  .row input,
  textarea,
  input[type="date"] {
    width: 100%;
    font-size: 16px;
    height: 42px;
  }

  .textarea-row {
    grid-template-columns: 1fr;
  }

  .textarea-row textarea {
    height: 160px;
  }

  .submit-btn {
    width: 100%;
    font-size: 18px;
    padding: 14px;
  }

  .radio-group{
    display: flex;
    flex-direction: column;

    align-items: flex-start;
    gap: 15px;
  }

  .radio-group label {
    font-weight: normal;
    font-size: 18px;
  }
}




/* ================= CONTACT SECTION ================= */
.contact-section {
  background-color: #00154f;
  color: white;
  padding: 4rem 12rem;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
  max-width: 100%;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* LEFT FORM */
.contact-form {
  flex: 1 1 50%;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.contact-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 1rem;
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  text-align: left;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 10px;
  width: 100%;
}

.contact-form textarea {
  resize: none;
  height: 140px;
}

.form-row {
  display: flex;
  gap: 1.5rem;
}

.input-group {
  flex: 1;
  justify-content: flex-start;
}

.btn-submit {
  background-color: var(--hightlight-color);
  color: #00154f;
  border: none;
  font-weight: bold;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-submit:hover {
  background-color: #fcd94d;
}

/* RIGHT INFO */
.contact-info {
  flex: 1 1 35%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
}

.contact-info h2 {
  font-size: 1.8rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: white;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.info-item img {
  width: 28px;
  height: 28px;
}

.info-item a {
  color: white;
  font-weight: 600;
  text-decoration: none;
}

.info-item a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-section {
    background-color: #00154f;
    color: white;
    padding: 4rem 2rem;
  }
  .contact-container {
    flex-direction: column;
    align-items: center;
    text-align: center;

  }

  .contact-form,
  .contact-info {
    width: 100%;
  }

  .form-row {
    flex-direction: column;
  }

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

  .btn-submit {
    width: 100%;
  }
}









/* ================= FOOTER ================= */
.footer {
  background-color: #000f3d; /* Deep navy for contrast */
  color: white;
  padding: 1.5rem 2rem;
  text-align: center;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-text {
  font-size: 1.1rem;
  font-weight: 500;
}

.highlight-footer {
  color: var(--hightlight-color, #fcd94d);
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: 0.3s;
}

.footer-links a:hover {
  color: var(--hightlight-color, #fcd94d);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-text {
    font-size: 1rem;
  }

  .footer-links a {
    font-size: 0.95rem;
  }
}

  
