:root {
    --vert: #4caf50;
    --blanc: #ffffff;
    --noir: #000000;
    --jaune: #fbc02d;
    --gris: #f9fafb;
    --ombre: rgba(0, 0, 0, 0.08);
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
    background-color: linear-gradient(to bottom right, #28a745, #f1c40f); /*var(--gris);*/
    color: var(--noir);
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
  }
  
  /* === HEADER === */
  header {
    background: linear-gradient(to right, var(--blanc) 30%, var(--vert) 70%);
    box-shadow: 0 4px 10px var(--ombre);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    position: relative;
  }
  
  /* === LOGO === */
  .logo {
    display: flex;
    align-items: center;
    z-index: 1010;
  }
  
  .logo img {
    height: 50px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1010;
  }
  
  .logo:hover img {
    transform: scale(1.05);
  }
  
  /* === NAVIGATION === */
  .nav {
    display: flex;
  }
  
  .menu {
    display: flex;
    gap: 2rem;
    list-style: none;
  }
  
  .menu a {
    text-decoration: none;
    color: var(--blanc);
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
  }
  
  .menu a:hover {
    color: var(--jaune);
  }
  
  .menu a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--jaune);
    transition: width 0.3s;
  }
  
  .menu a:hover::after {
    width: 100%;
  }
  
  /* === MENU ICON === */
  .menu-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1010;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .menu-icon span {
    display: block;
    height: 3px;
    background: var(--jaune); /* ðÂÂ¡ couleur survol des liens */
    border-radius: 3px;
    transition: all 0.3s ease;
  }
  
  
  .menu-icon.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }
  
  .menu-icon.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }
  
  /* === HERO === */
  .hero {
    text-align: center;
    margin: 2rem auto;
    padding: 3rem 1rem;
    background: var(--blanc);
    border-radius: 20px;
    box-shadow: 0 10px 20px var(--ombre);
    animation: fadeUp 0.8s ease;
  }
  
  .hero h1 {
    font-size: 2.5rem;
    color: var(--vert);
  }
  
  .hero p {
    font-size: 1.2rem;
    margin-top: 1rem;
    color: #444;
  }
  
  .hero img {
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 15px var(--ombre);
  }
  
  .caption {
    text-align: center;
    font-size: 0.9rem;
    font-style: italic;
    color: #666;
  }
  
  /* === FOOTER === */
  footer {
    background-color: var(--noir);
    color: var(--blanc);
    padding: 2rem;
    text-align: center;
    margin-top: auto;
  }
  
  /* === RESPONSIVE === */
  @media (max-width: 768px) {
    .nav {
      position: absolute;
      top: 60px;
      left: 0;
      width: 100%;
      flex-direction: column;
      display: none;
      padding: 2rem 0;
      background: linear-gradient(to right, var(--blanc) 30%, var(--vert) 70%);
      box-shadow: 0 4px 8px var(--ombre);
      z-index: 1000;
    }
  
    .nav.show {
      display: flex;
      animation: fadeIn 0.3s ease-in-out;
    }
  
    .menu {
      flex-direction: column;
      align-items: flex-end;
      gap: 1.5rem;
      padding-right: 2rem;
      text-align: right;
    }
  
    .menu a {
      font-size: 1.3rem;
    }
  
    .menu-icon {
      display: flex;
    }
  }
  
  /* === ANIMATIONS === */
  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: scaleY(0.9);
    }
    to {
      opacity: 1;
      transform: scaleY(1);
    }
  }
 



 /* Place le sélecteur à droite du menu sur desktop */
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.lang-switcher {
  margin-left: 1rem;
  display: flex;
  align-items: center;
}

.lang-switcher select {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 4px 8px;
  background-color: #fff;
  font-size: 14px;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    justify-content: space-between;
  }

  .lang-switcher {
    position: absolute;
    top: 10px;
    right: 3rem;
  }
}





  





/* === HERO SECTION EXTRÊMEMENT ÉLÉGANTE === */
.fed-hero {
    background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
    padding: 6rem 1rem 5rem;
    overflow: hidden;
  }
  
  .fed-hero-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
  }
  
  .fed-hero-text h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.3;
    color: #1b5e20; /* vert foncé élégant */
    margin-bottom: 1rem;
  }
  
  .fed-hero-text p {
    font-size: 1.2rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 2rem;
  }
  
  .fed-hero-btn {
    display: inline-block;
    padding: 0.8rem 1.7rem;
    background-color: #fbc02d;
    color: #1b1b1b;
    font-weight: 600;
    border-radius: 9999px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
  }
  
  .fed-hero-btn:hover {
    background-color: #ffca28;
    transform: translateY(-3px);
  }
  
  .fed-hero-image img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    transition: transform 0.5s ease;
  }
  
  .fed-hero-image img:hover {
    transform: scale(1.03);
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .fed-hero-text h1 {
      font-size: 2rem;
    }
  
    .fed-hero-text p {
      font-size: 1.1rem;
    }
  
    .fed-hero-container {
      text-align: center;
    }
  
    .fed-hero-image img {
      width: 85%;
      margin: 0 auto;
    }
  
  }
  

  .fed-footer {
    background-color: #1b5e20;
    color: var(--blanc);
    padding: 3rem 1.5rem 1rem;
    font-size: 0.95rem;
  }
  
  .fed-footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    align-items: flex-start;
  }
  
  .fed-footer-section {
    flex: 1 1 220px;
  }
  
  .fed-footer-section h3,
  .fed-footer-section h4 {
    font-size: 1.2rem;
    color: var(--jaune);
    margin-bottom: 1rem;
  }
  
  .fed-footer-section p,
  .fed-footer-section a {
    color: #ddd;
    text-decoration: none;
    line-height: 1.6;
  }
  
  .fed-footer-section a:hover {
    text-decoration: underline;
  }
  
  .footer-links {
    list-style: none;
    padding: 0;
  }
  
  .footer-links li {
    margin-bottom: 0.5rem;
  }
  
  .footer-socials {
    display: flex;
    gap: 1rem;
  }
  
  .footer-socials a {
    color: var(--blanc);
    font-size: 1.2rem;
    transition: color 0.3s ease;
  }
  
  .footer-socials a:hover {
    color: var(--jaune);
  }
  
  .fed-footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #ccc;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
  }
  
  @media (max-width: 768px) {
    .fed-footer-container {
      flex-direction: column;
      gap: 2rem;
      text-align: center;
      align-items: center;
    }
  
    .fed-footer-section {
      width: 100%;
      max-width: 400px;
    }
  
    .fed-footer-section h3,
    .fed-footer-section h4 {
      text-align: center;
    }
  
    .fed-footer-section p,
    .fed-footer-section a,
    .footer-links li {
      text-align: center;
    }
  
    .footer-socials {
      justify-content: center;
      flex-wrap: wrap;
    }
  
    .fed-footer-bottom {
      font-size: 0.8rem;
      padding-top: 1rem;
      text-align: center;
    }
  }

  


  .fed-cards {
    max-width: 1200px;
    margin: auto;
    padding: 4rem 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
  }
  
  .fed-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
  }
  
  .fed-card:hover {
    transform: translateY(-5px);
  }
  
  .fed-card-media img,
  .fed-card-media video {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #eee;
  }
  
  .fed-card-body {
    padding: 1.5rem;
  }
  
  .fed-card-date {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 0.5rem;
  }
  
  .fed-card-body h3 {
    font-size: 1.3rem;
    color: var(--vert);
    margin-bottom: 0.8rem;
  }
  
  .fed-card-body p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
  }

  





  :root {
    --vert: #1b5e20;
    --jaune: #fbc02d;
    --blanc: #ffffff;
    --noir: #1a1a1a;
  }
  
  /* === ÉQUIPE FED === */
  .fed-equipe {
    background-color: #f4fdf6;
    padding: 4rem 1rem;
    text-align: center;
  }
  
  .fed-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--vert);
    margin-bottom: 2.5rem;
  }
  
  .fed-filtres {
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .filtre-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 999px;
    background-color: #eee;
    color: #333;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: 500;
  }
  
  .filtre-btn.active,
  .filtre-btn:hover {
    background-color: var(--jaune);
    color: #000;
  }
  
  /* === Grille équipe === */
  .fed-equipe-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1100px;
    margin: auto;
  }
  
  .fed-equipe-card {
    flex: 0 0 280px;
    max-width: 280px;
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    position: relative;
  }
  
  .fed-equipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  }
  
  .fed-equipe-card img {
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: cover;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
  }
  
  .fed-equipe-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--noir);
    margin: 0.3rem 0;
  }
  
  .fed-role {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--vert);
    margin-bottom: 0.3rem;
  }
  
  .fed-date {
    font-size: 0.85rem;
    color: #888;
  }
  
  .badge {
    background-color: var(--jaune);
    color: var(--noir);
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    position: absolute;
    top: 12px;
    right: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }
  
  /* === POPUP BIO === */
  .popup-bio-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
  }
  
  .popup-bio-content {
    background: #fff;
    max-width: 600px;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    text-align: left;
  }
  
  .fermer-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
  }
  
  .fermer-btn:hover {
    color: #000;
  }


  @media (max-width: 768px) {
    .fed-equipe-grid {
      flex-direction: column;
      align-items: center;
      gap: 1.2rem;
    }
  
    .fed-equipe-card {
      width: 85%;
      max-width: 320px;
      padding: 1rem 0.8rem;
      margin-bottom: 0.5rem;
    }
  
    .fed-equipe-card img {
      max-width: 150px;
      margin-bottom: 0.5rem;
    }
  
    .fed-equipe-info h4 {
      font-size: 1rem;
    }
  
    .fed-role {
      font-size: 0.9rem;
    }
  
    .fed-date {
      font-size: 0.75rem;
    }
  
    .popup-bio-content {
      width: 90%;
      padding: 1.2rem;
      font-size: 0.95rem;
    }
  
    .popup-bio-content h3 {
      font-size: 1.2rem;
    }
  
    .fermer-btn {
      font-size: 1.8rem;
      top: 8px;
      right: 10px;
    }
  }

  








  .fed-section {
    padding: 4rem 1.5rem;
    background-color: #fefefe;
    color: var(--noir);
  }
  
  .fed-section.alt {
    background: linear-gradient(to right, #ffffff, #f4fdf6);
  }
  
  .fed-section-inner {
    max-width: 1100px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
  }
  
  .fed-section-inner.reverse {
    flex-direction: row-reverse;
  }
  
  .fed-text-block {
    flex: 1 1 45%;
  }
  
  .fed-section-title {
    font-size: 2rem;
    color: var(--vert);
    font-weight: 800;
    margin-bottom: 1rem;
  }
  
  .fed-section-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
  }
  
  .fed-media {
    flex: 1 1 50%;
  }
  
  .fed-media img,
  .fed-media video {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    object-fit: cover;
  }
  .fed-media img,
  .fed-media video {
    transition: transform 0.3s ease;
  }
  
  .fed-media img:hover,
  .fed-media video:hover {
    transform: scale(1.02);
  }
  


  @media (max-width: 768px) {
    .fed-section-inner {
      flex-direction: column !important;
    }
  
    .fed-text-block{
      width: 100%;
    }
    .fed-media {
      width: 85%;
    }
  
    .fed-section-title {
      font-size: 1.5rem;
      text-align: center;
    }
  
    .fed-section-text {
      font-size: 1rem;
      text-align: justify;
    }

    .fed-media img,
.fed-media video {
  transition: transform 0.3s ease;
}

.fed-media img:hover,
.fed-media video:hover {
  transform: scale(1.02);
}

  }
  







  
  /* === RESPONSIVE === 
  @media (max-width: 768px) {
    .fed-equipe-grid {
      flex-direction: column;
      align-items: center;
    }
  
    .fed-equipe-card {
      max-width: 90%;
    }
  
    .popup-bio-content {
      width: 90%;
      padding: 1.2rem;
      font-size: 0.95rem;
    }
  
    .popup-bio-content h3 {
      font-size: 1.2rem;
    }
  
    .fermer-btn {
      font-size: 1.8rem;
      top: 8px;
      right: 10px;
    }
  }*/
 
  



  .hero-banner {
    position: relative;
    
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: white;
    text-align: center;
    
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
  }
  
  .hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 80, 100, 0.4); /* filtre bleu-vert transparent */
    backdrop-filter: blur(2px);
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
  }
  
  .hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  }
  
  .hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }  





  /* style-programmes.css */

.progfed-section {
  padding: 4rem 1.5rem;
  background: linear-gradient(to bottom right, #ffffff, #f1fdf6);
  font-family: 'Segoe UI', sans-serif;
}

.progfed-wrapper {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}



.progfed-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a5d1a;
  margin-bottom: 1rem;
}

.progfed-subtitle {
  font-size: 1.15rem;
  color: #444;
  max-width: 700px;
  margin: 0 auto;
}

.progfed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.progfed-card {
  background-color: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: all 0.3s ease;
}

.progfed-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.progfed-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #216e39;
  margin-bottom: 0.8rem;
}

.progfed-card-text {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .progfed-title {
    font-size: 2rem;
  }

  .progfed-subtitle {
    font-size: 1rem;
  }

  .progfed-card {
    padding: 1.5rem;
  }
}






.realfed-hero {
  background: linear-gradient(to right, #ffffff, #e8fce9);
  padding: 4rem 1.5rem;
  text-align: center;
}

.realfed-title {
  font-size: 2.7rem;
  font-weight: 800;
  color: #1b5e20;
}

.realfed-subtitle {
  font-size: 1.15rem;
  color: #444;
  max-width: 700px;
  margin: 1rem auto 0;
}

.realfed-counters {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 3rem 1.5rem;
  background-color: #f9f9f9;
}

.realfed-counter {
  text-align: center;
}

.realfed-counter .count {
  font-size: 2.5rem;
  color: #1a5d1a;
  font-weight: bold;
}

.realfed-counter p {
  font-size: 1rem;
  color: #444;
}

.realfed-section {
  padding: 4rem 1.5rem;
  background-color: #ffffff;
}

.realfed-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.realfed-block.reverse {
  flex-direction: row-reverse;
}

.realfed-text {
  flex: 1 1 45%;
}

.realfed-text h3 {
  font-size: 1.5rem;
  color: #1b5e20;
  margin-bottom: 0.5rem;
}

.realfed-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.realfed-date {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #888;
}

.realfed-media {
  flex: 1 1 45%;
  position: relative;
}

.realfed-media img {
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
}

.realfed-caption {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.4rem;
  display: block;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .realfed-block {
    flex-direction: column;
  }

  .realfed-counters {
    flex-direction: column;
    gap: 1.5rem;
  }

  .realfed-title {
    font-size: 2rem;
  }

  .realfed-subtitle {
    font-size: 1rem;
  }
}







.fed-contact-section {
  background: linear-gradient(to bottom right, #f0fff4, #ffffff);
  padding: 4rem 1.5rem;
}

.fed-contact-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
}

.fed-contact-form {
  flex: 1 1 45%;
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.fed-contact-form h2 {
  font-size: 2rem;
  color: #1b5e20;
  margin-bottom: 0.5rem;
}

.fed-contact-form p {
  color: #555;
  margin-bottom: 1.5rem;
}

.fed-form-group {
  margin-bottom: 1.2rem;
}

.fed-form-group input,
.fed-form-group textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.7rem;
  background-color: #f9f9f9;
  transition: 0.3s ease;
  outline: none;
}

.fed-form-group input:focus,
.fed-form-group textarea:focus {
  border-color: #1a5d1a;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(26, 93, 26, 0.1);
}

.fed-contact-form button {
  background-color: #facc15; /* jaune doux */
  color: #1b1b1b;
  font-weight: bold;
  border: none;
  border-radius: 0.7rem;
  padding: 0.9rem 1.5rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.fed-contact-form button:hover {
  background-color: #fcd34d;
}

.fed-contact-map {
  flex: 1 1 45%;
  height: 400px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.fed-contact-map iframe {
  width: 100%;
  height: 100%;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .fed-contact-container {
    flex-direction: column;
  }

  .fed-contact-form, .fed-contact-map {
    flex: 1 1 100%;
  }

  .fed-contact-form h2 {
    font-size: 1.6rem;
  }

  .fed-contact-form button {
    width: 100%;
  }
}







.fed-partners-section {
  padding: 4rem 1rem;
  background: linear-gradient(to bottom right, #f0fdf4, #ffffff);
  text-align: center;
}

.fed-partners-title {
  font-size: 2rem;
  color: #1b5e20;
  margin-bottom: 0.5rem;
}

.fed-partners-subtitle {
  color: #374151;
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-inline: auto;
}

.fed-partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

.fed-partner-card {
  background: white;
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  cursor: pointer;
  width: 100%;
  max-width: 140px;
}

.fed-partner-card:hover {
  transform: scale(1.05);
}

.fed-partner-card img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Popup */
.fed-partner-popup {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.fed-partner-popup.active {
  display: flex;
}

.fed-partner-popup-content {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
}

.fed-partner-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #444;
}

.fed-partner-popup-content a {
  display: inline-block;
  margin-top: 1rem;
  color: #047857;
  font-weight: bold;
  text-decoration: none;
}

@media (max-width: 600px) {
  .fed-partner-card {
    max-width: 100px;
  }

  .fed-partner-popup-content {
    padding: 1.5rem;
  }
}


.lang-switcher {
  display: inline-block;
  margin-left: 15px;
}

.lang-switcher select {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 4px 8px;
  background-color: #fff;
  font-size: 14px;
  cursor: pointer;
}
