/* HERO SECTION */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  overflow: hidden;
}

/* Vidéo full screen */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Overlay sombre */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 1200px;
  animation: fadeIn 1.5s ease-in-out;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 25px;
    color: #f8f9fa;
}

.hero p {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero .highlight {
  color: #ffae00;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
}



 .blockchain-section {
            display: flex;
            justify-content: center; /* centre le contenu globalement */
            align-items: center;
            padding: 60px 8%;
            background-color: #fff;
            color: #222;
            gap: 40px; /* espace équilibré entre texte et image */
        }

        /* Contenu texte */
        .content {
            flex: 1;
            max-width: 600px;
            margin-left: 5%; /* pousse le texte un peu vers la droite */
        }

        h1 {
            font-size: 28px;
            line-height: 1.3;
            margin-bottom: 16px;
            color: #111;
        }

        .description {
            font-size: 16px;
            color: #555;
            margin-bottom: 25px;
        }

        /* Features */
        .features {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
        }

        .feature {
            flex: 1;
            min-width: 200px;
        }

        .feature h3 {
            font-size: 18px;
            color: #111;
            margin-bottom: 6px;
        }

        .feature p {
            font-size: 15px;
            color: #333;
        }

        /* Image */
        .image-container {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .image-container img {
            width: 100%;
            max-width: 500px;
            border-radius: 12px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
            transition: transform 0.4s ease;
        }

        .image-container img:hover {
            transform: scale(1.05);
        }

        /* Styles pour les animations */
        .hidden-left, .hidden-right {
            opacity: 0;
            transition: opacity 0.6s ease-out, transform 0.8s ease-out;
        }

        .hidden-left {
            transform: translateX(-50px);
        }

        .hidden-right {
            transform: translateX(50px);
        }

        .show {
            opacity: 1;
            transform: translateX(0);
        }

        /* Responsive Design */
        @media screen and (max-width: 992px) {
            .blockchain-section {
                flex-direction: column;
                text-align: center;
                padding: 40px 5%;
                gap: 30px;
            }

            .content {
                margin-left: 0; /* remet au centre sur mobile */
            }

            .features {
                justify-content: center;
            }

            .image-container img {
                max-width: 300px;
            }
        }

        @media screen and (max-width: 600px) {
            h1 {
                font-size: 22px;
            }

            .description {
                font-size: 14px;
            }

            .feature h3 {
                font-size: 16px;
            }

            .feature p {
                font-size: 13px;
            }
        }

    /* ----------------------
       EVENTS SECTION
    ------------------------ */
    .events {
      padding: 80px 20px;
      text-align: center;
      background: #f8f9fa;
    }

    .small-title {
      font-size: 14px;
      color: #666;
      margin-bottom: 10px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .events h2 {
      font-size: 2rem;
      font-weight: 700;
      margin-bottom: 15px;
    }

    .subtitle {
      color: #555;
      max-width: 650px;
      margin: 0 auto 40px;
    }

    /* Cards container */
    .cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      max-width: 1100px;
      margin: 0 auto 40px;
    }

    /* Card styling */
    .card {
      background: #fff;
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 6px 15px rgba(0,0,0,0.08);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .card.show {
      opacity: 1;
      transform: translateY(0);
    }

    .card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      border-radius: 10px;
      margin-bottom: 15px;
    }

    .card h3 {
      font-size: 1.2rem;
      margin-bottom: 12px;
      color: #222;
    }

    .card p {
      color: #555;
      font-size: 0.95rem;
      line-height: 1.5;
    }

    /* Effet au survol */
    .card:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 20px rgba(0,0,0,0.15);
    }

   /* .more-btn {
      display: inline-block;
      padding: 12px 30px;
      font-size: 1rem;
      border-radius: 6px;
      margin-top: 20px;
    }
*/
    /* ----------------------
       ANIMATIONS
    ------------------------ */
    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* ----------------------
       RESPONSIVE DESIGN
    ------------------------ */
    @media screen and (max-width: 768px) {
      .hero h1 {
        font-size: 2.2rem;
      }

      .hero p {
        font-size: 1rem;
      }

      /*.btn-group {
        flex-direction: column;
        align-items: center;
      }
      
      .btn-primary, .btn-secondary {
        width: 200px;
      }*/
      
      .events {
        padding: 60px 20px;
      }
      
      .events h2 {
        font-size: 1.8rem;
      }
    }

.charity-frame {
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(240,240,240,0.9) 100%), 
              url('https://images.unsplash.com/photo-1509099836639-18ba1795216d') no-repeat center center/cover;
  color: #222;
  text-align: center;
  padding: 80px 20px;
  border-radius: 15px;
  max-width: 1200px;
  margin: 50px auto;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border: 1px solid #e0e0e0;
}

.charity-content {
  /* SUPPRIMER LE FOND SOMBRE */
  padding: 40px 20px;
  border-radius: 12px;
}

/* Animation logo */
.charity-logo {
  max-width: 150px;
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,0.2));
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

.charity-frame h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #222;
  text-shadow: none; /* Supprimer l'ombre sur le texte */
}

.charity-frame p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #444;
  text-shadow: none; /* Supprimer l'ombre sur le texte */
}

.charity-btn {
  display: inline-block;
  background: #00a86b;
  color: white;
  text-decoration: none;
  padding: 12px 25px;
  font-size: 1rem;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,168,107,0.3);
}

.charity-btn:hover {
  background: #007a50;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,168,107,0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .charity-frame {
    padding: 60px 15px;
    margin: 30px 15px;
  }

  .charity-logo {
    max-width: 120px;
  }

  .charity-frame h1 {
    font-size: 2rem;
  }

  .charity-frame p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .charity-frame {
    padding: 40px 10px;
  }

  .charity-logo {
    max-width: 100px;
  }

  .charity-frame h1 {
    font-size: 1.6rem;
  }

  .charity-frame p {
    font-size: 0.95rem;
  }

  .charity-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}