/* Hero Section Styles */
.hero-area {
    position: relative;
    height: 75vh; /* Full-screen height */
    background: url('/images/1.avif') no-repeat center center/cover;
    background-attachment: fixed; /* Parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay Layer Styles */
.background-overlay {
    position: absolute;
    inset: 0; /* Covers the entire container */
    
    
    z-index: 1;
}

/* Text Wrapper Styles */
.text-wrapper {
    position: relative;
    z-index: 2; /* Ensures text is above the overlay */
    text-align: center;
    color: #fff;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    padding: 30px 100px;
    
    margin-right:440px;
  
    margin-top: -10px;
}

/* Primary Title Styles */
.primary-title {
    font-size: 50px;
    font-weight: bold;
    color:white;
    font-family: "Teko,sans-serif";
    margin: 0;
    opacity: 1; /* Initially hidden */
    transform: translateY(-2000px);
    transition: opacity 1s ease, transform 1s ease; /* Transition effects */
}

/* Secondary Title Styles */
.secondary-title {
    font-size: 35px;
    font-family: "Teko,sans-serif";
    color:white;
    font-weight: 600;
    margin-top: 10px;
    opacity: 1; /* Initially hidden */
    transform: translateY(200px);
    transition: opacity 1s ease, transform 1s ease; /* Transition effects */
}

/* Reveal Heading Styles */
.show-title {
    opacity: 1;
    transform: translateY(0); /* Final state */
}

.show-subtitle {
    opacity: 1;
    transform: translateY(0); /* Final state */
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .primary-title {
        font-size: 50px; /* Adjust font size for medium screens */
    }
    
    .secondary-title {
        font-size: 40px; /* Adjust font size for medium screens */
    }
}

@media (max-width: 768px) {
    .hero-area {
        height: 80vh; /* Adjust height for smaller screens */
    }

    .primary-title {
        font-size: 20px; /* Adjust font size for small screens */
    }

    .secondary-title {
        font-size: 20px; /* Adjust font size for small screens */
    }
 
}

@media (max-width: 480px) {
    .hero-area {
        height: 60vh; /* Adjust height for extra small screens */
    }

    .primary-title {
        font-size: 30px; /* Further adjust font size for extra small screens */
    }

    .secondary-title {
        font-size: 25px; /* Further adjust font size for extra small screens */
    }
}

@media (max-width: 826px) {
   /* Text Wrapper Styles */
   .text-wrapper {
    position: relative;
    z-index: 2; /* Ensures text is above the overlay */
    text-align: center;
    color: #fff;
   
    
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    padding: -1px 100px;
    
    margin-right: 0px;
  margin-left: 0px;
    margin-top: -10px;
  }
}
/* Best Trainings Section */
.best-trainings {
  padding: 50px 20px;
  background: #fff;
  color: black;
  text-align: center;    
}

.best-trainings .container {
  max-width: 1200px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header Styling */
.header1 h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  margin-top: -50px;
  
  
}

.header1 p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 20px;
}

/* View All Button */
.view-all-btn {
  background-color: #8f5706;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.view-all-btn:hover {
  background-color: #704205;
  transform: scale(1.1);
}

/* Initial Hidden State for Animation */
.best-trainings .container {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.best-trainings.visible .container {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .header1 h2 {
      font-size: 2rem;
  }

  .header1 p {
      font-size: 0.95rem;
  }

  .view-all-btn {
      font-size: 0.9rem;
      padding: 10px 20px;
  }
}

@media (max-width: 768px) {
  .best-trainings {
      padding: 40px 15px;
  }

  .header1 h2 {
      font-size: 1.8rem;
      margin-top: -89px;
  }

  .header1 p {
      font-size: 0.9rem;
  }

  .view-all-btn {
      font-size: 0.9rem;
      padding: 10px 18px;
  }
}

@media (max-width: 480px) {
  .header1 h2 {
      font-size: 1.5rem;
      margin-top: -89px;
  }

  .header1 p {
      font-size: 0.85rem;
  }

  .view-all-btn {
      font-size: 0.85rem;
      padding: 8px 14px;
  }
}

@media (max-width: 375px) {
  .header1 h2 {
      font-size: 1.3rem;
      margin-top: -89px;
  }

  .header1 p {
      font-size: 0.8rem;
  }

  .view-all-btn {
      font-size: 0.8rem;
      padding: 8px 12px;
  }
}



  
   /* Global Styles */
   body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
  }
  .parallax {
    /* Parallax Background */
    background-image: url('/images/cricket-video.jpg'); /* Replace with your image URL */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh; /* Full screen */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
  }
  
  .content-box {
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    padding: 30px 50px;
    
    
    margin-left: 500px;
  }
  
  .content-box h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 20px;
  }
  
  .content-box p {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  
  .content-box a {
    text-decoration: none;
    background: #8f5706;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
  }
  
  .content-box a:hover {
    background: #8f5706;
  }
  
  /* For responsiveness */
  @media (max-width: 768px) {
    .content-box h2 {
      font-size: 2rem;
    }
    .content-box p {
      font-size: 1rem;
    }
    .content-box{
      background: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    padding: 20px 10px;
    margin-left: 0px;
    }
  }
  
  
  /* General Styles */
  body {
    margin: 0;
    font-family: Arial, sans-serif;
    
    
  }
  
  /* Gallery Section */
  .food-gallery {
    padding: 20px 20px;
    display: flex;
    background-color: white;
    justify-content: center;
    align-items: center;
  }
  
  .grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 90%;
    max-width: 1200px;
    overflow: hidden; /* Ensure images don't overflow during animation */
  }
  
  .grid-item {
    position: relative;
    overflow: hidden;
    opacity: 1; /* Initially hidden */
    transform: translateY(100px); /* Start below the container */
    animation: slideUp 0.8s ease-out forwards; /* Trigger the animation */
  }
  
  .grid-item:nth-child(1) {
    animation-delay: 0.2s;
  }
  .grid-item:nth-child(2) {
    animation-delay: 0.4s;
  }
  .grid-item:nth-child(3) {
    animation-delay: 0.6s;
  }
  .grid-item:nth-child(4) {
    animation-delay: 0.8s;
  }
  
  @keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(500px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
  }
  
  .grid-item img {
    width: 100%;
    height:90%;
    
    transition: transform 0.5s ease, opacity 0.5s ease;
    filter: grayscale(20%);
  }
  
  .grid-item:hover img {
    transform: scale(1.2);
    opacity: 1;
    filter: grayscale(0%);
  }
  
  /* Caption Styles */
  .grid-item.with-caption {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .grid-item.with-caption .caption {
    position: absolute;
    bottom: -40px;
    left: 20px;
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    text-transform: uppercase;
    opacity: 1;
    transform: translateY(20px);
    transition: all 0.4s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  
  .grid-item:hover .caption {
    opacity: 1;
    transform: translateY(100);
    bottom: 140px;
    left:40px
  }
  
  /* Media Queries for Responsiveness */
  @media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
  }
  /* General Styling */
  body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    
    color: #fff;
    overflow-x: auto; /* Allows scrolling if content overflows horizontally */
  }
  
  /* Hide the section initially */
  .plans-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    gap: 20px;
    opacity: 1;
    transform: translateY(50px); /* Start slightly below */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }
  
  /* Apply styles when the section is visible */
  .plans-section.visible {
    opacity: 1;
    transform: translateY(0); /* Animate into view */
  }
  
  /* Plan Card Styling */
  .plan-card {
    background-color: black;
  
    padding: 20px;
    text-align: center;
    width: 250px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 1;
    animation: fadeInUp 0.6s forwards;
  }
  
  .plan-card:nth-child(1) {
    animation-delay: 0.2s;
  }
  
  .plan-card:nth-child(2) {
    animation-delay: 0.4s;
  }
  
  .plan-card:nth-child(3) {
    animation-delay: 0.6s;
  }
  
  .plan-card:nth-child(4) {
    animation-delay: 0.8s;
  }
  
  /* Pricing Section */
  .plan-price {
    font-size: 2.5em;
    font-weight: bold;
    color: white;
    font-family: "Teko,sans-serif";
    margin: 10px 0;
    transform: scale(1);
    transition: transform 0.3s ease, color 0.3s ease;
  }
  
  .plan-card:hover .plan-price {
    transform: scale(1.1); /* Scales the price slightly on hover */
    color: #b7e962; /* Changes the price color on hover */
  }
  
  .plan-discount {
    font-size: 1.2em;
    color: #b7e962;
    margin: 5px 0;
    opacity: 1;
    font-family: "Teko,sans-serif";
    animation: fadeIn 0.5s forwards;
    animation-delay: 0.2s; /* Adds a slight delay */
  }
  
  .plan-original {
    font-size: 1em;
    color: #bbb;
    font-family: "Teko,sans-serif";
  
    
    margin-bottom: 15px;
    opacity: 1;
    animation: fadeIn 0.5s forwards;
    animation-delay: 0.4s;
  }
  
  /* Plan Duration */
  .plan-duration {
    font-size: 15px;
    margin: 10px 0;
    color: white;
    /* font-family: "Teko,sans-serif"; */
    text-transform: uppercase;
    opacity: 1;
    animation: fadeIn 0.5s forwards;
    animation-delay: 0.6s;
  }
  
  /* Features List */
  .plan-features1 {
    list-style-type: none;
    padding: 1;
    font-family: "Teko,sans-serif";
    margin-left: 43px;
    color: white;
  }
  
  .plan-features1 li {
    margin: 8px 0;
    opacity: 1;
    color: white;
    transform: translateX(-20px); /* Start slightly left */
    animation: slideIn 0.5s forwards;
    animation-delay: calc(var(--i, 0) * 0.1s); /* Staggered delay for each list item */
  }
  
  .plan-features1 li:nth-child(1) { --i: 1; }
  .plan-features1 li:nth-child(2) { --i: 2; }
  .plan-features1 li:nth-child(3) { --i: 3; }
  .plan-features1 li:nth-child(4) { --i: 4; }
  .plan-features1 li:nth-child(5) { --i: 5; }
  
  /* Button Styling */
  .plan-btn {
    margin-top: 20px;
    padding: 12px 25px;
    background-color: #b7e962;
    color: #000;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: "Teko,sans-serif";
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 1;
    animation: fadeInUp 0.5s forwards;
    animation-delay: 0.8s;
  }
  
  .plan-btn:hover {
    background-color: #a3d751;
    transform: scale(1.1); /* Scales the button slightly on hover */
    box-shadow: 0 4px 12px rgba(183, 233, 98, 0.5); /* Adds a subtle glow */
  }
  
  /* Animations */
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  
  @keyframes slideIn {
    0% {
      opacity: 0;
      transform: translateX(-20px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
  /* Responsive Styles */
  
  /* For tablets and smaller screens (900px and below) */
  @media (max-width: 900px) {
    .plans-section {
      flex-direction: column; /* Stack the cards vertically */
      align-items: center;
      gap: 30px; /* Add more gap between stacked items */
      padding: 20px;
    }
  
    .plan-card {
      width: 80%; /* Reduce card width to fit smaller screens */
      margin-bottom: 20px;
    }
  
    .plan-price {
      font-size: 2em; /* Slightly reduce font size */
    }
  
    .plan-duration {
      font-size: 1.2em; /* Reduce the font size */
    }
  
    .plan-features1 li {
      font-size: 0.9em; /* Adjust font size for better readability */
    }
  
    .plan-btn {
      font-size: 0.9em; /* Adjust button font size */
      padding: 10px 20px;
    }
  }
  
  /* For mobile devices (600px and below) */
  @media (max-width: 600px) {
    .plans-section {
      padding: 15px;
    }
  
    .plan-card {
      width: 90%; /* Further reduce card width */
    }
  
    .plan-price {
      font-size: 1.8em;
    }
  
    .plan-duration {
      font-size: 1em;
    }
  
    .plan-features1 li {
      font-size: 0.8em;
    }
  
    .plan-btn {
      font-size: 0.8em;
      padding: 8px 16px;
    }
  }
  @media (max-width: 768px) {
  .plan-features1 {
    list-style-type: none;
    padding: 1;
    font-family: "Teko,sans-serif";
    margin-left: 88px;
    color: white;
  }
}
  /* For very small devices (375px and below) */
  @media (max-width: 375px) {
    .plan-card {
      padding: 15px;
    }
    .plan-features1 {
      list-style-type: none;
      padding: 1;
      font-family: "Teko,sans-serif";
      margin-left: 40px;
      color: white;
    }
    .plan-price {
      font-size: 1.5em;
    }
  
    .plan-duration {
      font-size: 0.9em;
    }
  
    .plan-features1 li {
      font-size: 0.75em;
    }
  
    .plan-btn {
      font-size: 0.7em;
      padding: 6px 12px;
    }
  }
  @media(min-width:1819px) and (max-width:2560px){
    .plans-section {
      display: flex;
     
      justify-content: center;
      align-items: center;
      padding: 40px;
      gap: 20px;
      opacity: 1;
      transform: translateY(50px); /* Start slightly below */
      transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }
    
  
    
  }



  

.banner-section {
  position: relative;
  background-image: url('images/fish-with-vegetables-cutlery-black-background.jpg'); /* Replace with your new image URL */
  background-size: cover;
  background-position: top; /* Positioning to emphasize the top part of the image */
  height: 100vh; /* Full height of the viewport */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4); /* Lighter overlay for more subtle effect */
}

.text-area {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #b2905b;
  font-family: "Tangerine", cursive; /* Light text color for better contrast */
}

.hidden {
  opacity: 1;
  transform: translateY(40px); /* Start further down */
  transition: opacity 0.4s ease-out, transform 0.4s ease-out; /* Fast transition */
}

.slide-in-title {
  opacity: 1;
  transform: translateY(0); /* Reset position */
}

.slide-in-tagline {
  opacity: 1;
  transform: translateY(0); /* Reset position */
}


.text-area h1{
  color: #b2905b;
  font-size: 60px;
  font-weight: 700;
  font-family: "Tangerine", cursive;
}
.text-area p{
  font-size: 50px;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  color: white;
}
@media(max-width:480px){
  .text-area p{
    font-size: 35px;
  }
}



.videos-section {
  padding: 40px 20px; /* Adjusted for better spacing on all devices */
  background-color: #f4f4f4;
  text-align: center;
}

.videos-section h2 {
  font-size: 2.5em;
  color: #202124;
  font-weight: 500;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.videos-section h2:hover {
  color: #1a73e8;
}

.videos-row {
  display: flex;
  justify-content: space-between;
  gap: 20px; /* Consistent spacing between cards */
  flex-wrap: wrap;
  margin-bottom: 30px;
  padding: 0;
}

.video-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  width: calc(50% - 10px); /* Dynamically adjust width for spacing */
  height: 350px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeIn 1s ease-in-out;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.video-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.video-card video {
  width: 100%;
  height: 100%; /* Adjust video to fit card height */
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-card:hover video {
  transform: scale(1.05);
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Add a gentle "pop" effect on hover */
.video-card:active {
  transform: scale(1.02);
}

/* Responsive Design for Medium Screens */
@media (max-width: 1024px) {
  .video-card {
    width: calc(50% - 10px); /* Maintain two cards per row */
    height: 300px;
  }

  .videos-row {
    gap: 15px; /* Adjust spacing */
  }
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
  .videos-row {
    flex-direction: column;
    align-items: center;
  }

  .video-card {
    width: 90%; /* Full width on smaller screens */
    margin-bottom: 20px;
    height: 250px; /* Reduced height */
  }

  .video-card video {
    height: 250px; /* Adjust video height for smaller screens */
  }
}

/* Extra Small Screens */
@media (max-width: 480px) {
  .video-card {
    width: 100%; /* Full width for very small screens */
    height: 200px;
  }

  .video-card video {
    height: 201px; /* Adjust video height */
  }

  .videos-section h2 {
    font-size: 1.8em; /* Adjust heading size */
  }
}
@media(min-width:1819px) and (max-width:2560px){
.video-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  width: calc(50% - 10px);
  height: 710px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeIn 1s ease-in-out;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
}
body {
  font-family: Arial, sans-serif;
  background: #f4f4f4;
  margin: 0;
  padding: 0;
}

.events-container {
  text-align: center;
  padding: 50px 20px;
  background: white;
}

.section-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

.event-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.tab-btn {
  background: #d81b60;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
  background: #2d1a6a;
}

.event-section {
  display: none;
  padding: 20px;
}

.event-section.active {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.event-box {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  width: 280px;
  text-align: center;
}

.event-box:hover {
  transform: translateY(-5px);
}

.event-box img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.event-details p {
  margin: 5px 0;
}

.countdown {
  font-size: 18px;
  font-weight: bold;
  color: #d81b60;
  margin-top: 10px;
}

.register-btn, .watch-live-btn, .watch-recorded-btn {
  background: #d81b60;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s ease;
}

.register-btn:hover, .watch-live-btn:hover, .watch-recorded-btn:hover {
  background: #2d1a6a;
}


/* Event Section */
.sports-events {
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;

  
  border-radius: 10px;
}

/* Title */
.sports-events h2 {
  font-size: 30px;
  color: black;
  margin-bottom: 50px;
}

/* Filter Menu */
.event-filter-menu {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
}

.event-filter-menu button {
  padding: 10px 15px;
  border: none;
  background-color: #007bff;
  color: white;
  font-family: "Teko, sans-serif";
  cursor: pointer;
  border-radius: 5px;
  transition: 0.3s ease;
  font-size: 17px;
  font-weight: bold;
}

.event-filter-menu button:hover,
.event-filter-menu button.active {
  background-color: #2a99b8;
  color: black;
}

/* Event Gallery */
.event-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.event-box {
  width: 250px;
  padding: 15px;
  background: white;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease;
  opacity: 1;
  cursor: pointer;
}

.event-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.event-box p {
  font-size: 14px;
  color:black;
  margin-top: 10px;
}

.event-box:hover {
  transform: scale(1.05);
}

.event-box img:hover {
  transform: scale(1.1);
}

/* Hide/Show Animation */
.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.fade-out {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

/* Lightbox Styles */
#image-viewer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#image-viewer img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.close-viewer {
  position: absolute;
  top: 15px;
  right: 20px;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

#prev-image,
#next-image {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 20px;
}

#prev-image {
  left: 20px;
}

#next-image {
  right: 20px;
}

#download-image {
  position: absolute;
  bottom: 15px;
  color: white;
  font-size: 24px;
  cursor: pointer;
  text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .sports-events {
      padding: 15px;
  }
}

@media (max-width: 900px) {
  .event-box {
      width: 100%;
      max-width: 300px;
  }

  .event-filter-menu {
      flex-direction: column;
      gap: 10px;
  }
}

@media (max-width: 600px) {
  .sports-events h2 {
      font-size: 22px;
  }

  .event-filter-menu button {
      font-size: 15px;
      padding: 8px 10px;
  }

  .event-box {
      max-width: 90%;
      margin: 0 auto;
  }
}
html, body {
  overflow-x: hidden;
}
