* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #0d0d0d;
  color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  padding: 0;
}

.main-header {
  padding: 30px 20px;
  text-align: center;
  background-color: #1a1a1a;
  border-bottom: 2px solid #00ffe0;
}

.main-header h1 {
  font-size: 2.5em;
  font-weight: bold;
}

.logo-highlight {
  color: #00ffe0;
  text-shadow: 0 0 10px #00ffe0;
}

.logo-secondary {
  color: #ffffff;
  opacity: 0.8;
}

.video-section {
  width: 100%;
  overflow: hidden;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content {
  padding: 30px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
  font-size: 1.1em;
}

  /* Section background */
  .action-buttons {
    padding: 16px;
    background-color: #101010;
  }

  /* Scrollable row of buttons */
  .button-scroll {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  /* Individual button styles */
  .action-btn {
    flex: 0 0 auto;
    min-width: 100px;
    max-width: 110px;
    height: 90px;
    background: linear-gradient(145deg, #00ffe0, #00575d);
    color: #ffffff;
    font-weight: 600;
    padding: 10px 6px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 255, 224, 0.15);
  }

  /* Icon inside button */
  .action-btn i {
    font-size: 1.2rem;
    margin-bottom: 4px;
    color: #ffffff;
  }

  /* Button text */
  .action-btn span {
    font-size: 0.75rem;
  }

  /* Hover effect */
  .action-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 16px rgba(0, 255, 224, 0.35);
  }

  /* Responsive (optionnel) — 4 en ligne sans scroll si assez d’espace */
  @media (max-width: 480px) {
    .action-btn {
      min-width: 80px;
      height: 85px;
      padding: 8px 4px;
    }

    .action-btn i {
      font-size: 1.1rem;
    }

    .action-btn span {
      font-size: 0.7rem;
    }
  }


.chart-section {
  padding: 30px 20px;
  background-color: #1a1a1a;
}

.chart-section canvas {
  max-width: 100%;
  height: auto;
}
.carousel-section {
  padding: 30px 20px;
  background-color: #121212;
}

.triangle-slide {
  position: relative;
  width: 100%;
  height: 200px;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 0 15px #00ffe0aa;
  border: 2px solid #00ffe0e0;
  border-radius: 10px;
}

.triangle-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9);
  transition: filter 0.3s ease;
}

.triangle-slide:hover {
  transform: scale(1.05);
}

.triangle-slide:hover img {
  filter: brightness(1);
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .triangle-slide {
    height: 150px;
  }
}


/* Bottom navigation bar */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #121212;
  border-top: 2px solid #00ffe0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 10px #00ffe055;
}

.nav-item {
  color: #999;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-item span:first-child {
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 3px;
}

.nav-item:hover,
.nav-item.active {
  color: #00ffe0;
}

.nav-label {
  font-size: 0.75rem;
  user-select: none;
}

/* To avoid content hidden behind nav */
body {
  padding-bottom: 70px; /* slightly bigger than nav height */
}

.announcements {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  color: #eee;
}

.announcements h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 25px;
  color: #00ffe0;
  text-shadow: 0 0 6px #00ffe0aa;
}

.announcement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 20px;
}

.announcement {
  background-color: #1a1a1a;
  border: 2px solid #00ffe0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 12px #00ffe055;
  transition: transform 0.3s ease;
}

.announcement:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px #00ffe0cc;
}

.announcement .icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  color: #00ffe0;
  text-align: center;
}

.announcement h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  text-align: center;
}

.announcement p {
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
  color: #ccc;
}

/* Gender specific colors */
.announcement.boy {
  border-color: #00bcd4;
  box-shadow: 0 0 12px #00bcd455;
}

.announcement.boy .icon {
  color: #00bcd4;
}

.announcement.girl {
  border-color: #e91e63;
  box-shadow: 0 0 12px #e91e6355;
}

.announcement.girl .icon {
  color: #e91e63;
}

