<style>
    html {
      overflow-x: hidden;
    }
    body {
      font-family: 'Orbitron', sans-serif;
      background-color: #0a0a0a;
      color: white;
      overflow-x: hidden;
    }
    h1, h2, h3 {
      font-family: 'Bebas Neue', sans-serif;
    }
    .schedule-table {
      border-collapse: collapse;
      width: 100%;
    }
    .schedule-table th, .schedule-table td {
      border: 1px solid rgba(255, 255, 255, 0.1);
      padding: 0.75rem;
      text-align: center;
      transition: background 0.3s;
    }
    .schedule-table th {
      background-color: rgba(127, 94, 255, 0.2);
    }
    .schedule-table td {
      background-color: rgba(255, 255, 255, 0.03);
    }
    .tick {
      color: #00ff99;
      font-size: 1.5rem;
      font-weight: bold;
      animation: pulseTick 1.2s ease-in-out infinite alternate;
    }
    @keyframes pulseTick {
      0% { transform: scale(1); text-shadow: 0 0 5px #00ff99; }
      100% { transform: scale(1.2); text-shadow: 0 0 12px #00ff99, 0 0 20px #00ff99; }
    }
    .rest-day {
      background-color: rgba(255, 255, 255, 0.05);
      font-style: italic;
      color: #facc15;
      animation: fadeRest 3s ease-in-out infinite alternate;
    }
    @keyframes fadeRest {
      0% { opacity: 0.8; }
      100% { opacity: 1; }
    }
    .divider {
      height: 1px;
      background: linear-gradient(to right, transparent, #555, transparent);
      margin: 3rem 0;
    }
    .event-card {
      background-color: rgba(255, 255, 255, 0.05);
      border-radius: 1rem;
      padding: 1.5rem;
      border: 1px solid rgba(255, 255, 255, 0.1);
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .event-card:hover {
      transform: scale(1.03);
      box-shadow: 0 0 18px rgba(127, 94, 255, 0.4);
    }
    .coming-soon {
      color: #f87171;
      animation: glowSoon 1.5s ease-in-out infinite alternate;
    }
    @keyframes glowSoon {
      0% { text-shadow: 0 0 4px #f87171; }
      100% { text-shadow: 0 0 10px #f87171, 0 0 20px #f87171; }
    }
    .group:hover .group-hover\:block {
      display: block;
    }
    @keyframes fade-in {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .animate-fade-in {
      animation: fade-in 1s ease-out;
    }
    /* Mobile menu improvements */
#mobileMenu {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}


/* Mobile menu overlay adjustments */
.mobile-menu-overlay {
  position: fixed;
  top: 60px; /* Push below navbar */
  left: 0;
  width: 100%;
  max-height: 80vh; /* Instead of full screen */
  background: rgba(0, 0, 0, 0.7); /* Transparent look */
  z-index: 9999;
  overflow-y: auto;
  padding: 20px 0;
  border-radius: 0 0 12px 12px; /* Rounded bottom for nicer look */
}

    
    /* Navigation button improvements for mobile */
    @media (max-width: 640px) {
      .nav-buttons-container {
        flex-direction: column;
        align-items: stretch;
      }
      
      .nav-button {
        width: 100%;
        max-width: 280px;
        margin: 0 auto 16px auto;
      }
    }
    /* Boxing Theme Animations */
@keyframes pulse-slow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}
.animate-pulse-slow {
  animation: pulse-slow 5s infinite;
}

/* Boxing Glow Effects */
.glow-red {
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.8), 0 0 20px rgba(255, 50, 50, 0.7);
}
.glow-gold {
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6), inset 0 0 10px rgba(255, 255, 0, 0.3);
}

/* Boxing Ring Glow */
.ring-glow {
  background: radial-gradient(circle at center, rgba(255,255,255,0.15) 0%, transparent 70%);
  mix-blend-mode: overlay;
}

/* Button & Icon Tweaks */
.combat-icon i {
  transition: all 0.3s ease;
}
.combat-icon:hover i {
  filter: brightness(1.3) drop-shadow(0 0 10px currentColor);
}

/* Section transitions */
.hero-section {
  background: radial-gradient(circle at center, rgba(255, 0, 0, 0.1) 0%, rgba(0, 0, 0, 1) 90%);
  position: relative;
  overflow: hidden;
}

 /* ====== DIRECTOR & CHIEF ADVISOR CARDS ====== */
.official-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(6px);
  max-width: 280px;
}

.official-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 0, 0.4);
}

.official-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #facc15;
  margin: 0 auto;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.official-card:hover .official-img {
  transform: scale(1.1);
  border-color: #ff0000;
}
/* === Expandable Officials Section (like Instructor Style) === */
.official-wrapper {
  max-width: 900px;
  margin: 0 auto;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
  overflow: hidden;
  padding: 0 1rem;
}

.official-card-expand {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 2rem;
  gap: 1.5rem;
  transition: all 0.5s ease;
  max-width: 800px;
  margin: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

@media (min-width: 768px) {
  .official-card-expand {
    flex-direction: row;
    justify-content: center;
    text-align: left;
  }
}

.official-card-expand img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #facc15;
  transition: all 0.4s ease;
}

.official-card-expand:hover img {
  transform: scale(1.05);
}

.official-details {
  display: none;
  opacity: 0;
  max-height: 0;
  transition: opacity 0.6s ease, max-height 0.6s ease;
}

.official-card-expand.expanded .official-details {
  display: block;
  opacity: 1;
  max-height: 500px;
}

/* Smooth side expansion */
.official-card-expand.expanded {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.25);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .official-card-expand {
    flex-direction: column;
    text-align: center;
  }

  .official-card-expand img {
    width: 130px;
    height: 130px;
  }
}




/* ====== OFFICIALS GRID ====== */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* ====== FLIP CARD STYLING ====== */
.flip-card {
  background: transparent;
  width: 100%;
  height: 340px;
  perspective: 1000px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  backface-visibility: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(255, 255, 0, 0.2);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.flip-front {
  z-index: 2;
}

.flip-back {
  transform: rotateY(180deg);
}

/* Keep cards fixed height when flipping */
.flip-card,
.flip-inner,
.flip-front,
.flip-back {
  height: 340px;
}

/* ====== TEXT INSIDE CARDS ====== */
.flip-front h3, .flip-back h3 {
  margin-top: 1rem;
}

.flip-back p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #f5f5f5;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .official-img {
    width: 140px;
    height: 140px;
  }

  .flip-card,
  .flip-inner,
  .flip-front,
  .flip-back {
    height: 300px;
  }
}

/* ====== OPTIONAL 3D EFFECT (subtle) ====== */
.flip-card:hover .flip-inner {
  box-shadow: 0 0 25px rgba(255, 255, 0, 0.4);
}


  </style>