/* General */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f4f4;
}

h2 {
  text-align: center;
  color: #222;
  margin-top: 40px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #004b91;
  z-index: 999;
  transition: all 0.3s ease;
}

header.shrink .logo {
  height: 60px !important;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  flex-wrap: wrap;
}

.logo {
  height: 80px;
}

/* Navigation */
nav {
  display: flex;
  gap: 15px;
  align-items: center;
  transition: max-height 0.3s ease;
}

nav a {
  text-decoration: none;
  font-weight: bold;
  color: white;
  transition: 0.2s;
}

nav a:hover {
  color: #f7d200;
}

/* Social Icons */
.social-links {
  list-style: none;
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
}


#teams {
  background: #fff;
  padding: 40px 20px;
  text-align: center;
}

#teams h2 {
  color: #004b91;
  margin-bottom: 30px;
}

.team-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.team-row {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: nowrap;
}

.center-row {
  justify-content: center;
}

.team-card {
  width: 200px;
  height: 220px;
  background: #f0f9ff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: scale(1.05);
  background: #d9f0ff;
}

.team-card img {
  height: 100px;
  object-fit: contain;
  margin-bottom: 10px;
}

.team-card p {
  font-size: 16px;
  font-weight: bold;
  color: #004b91;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .team-row {
    flex-wrap: wrap;
    gap: 20px;
  }

  .team-card {
    width: 45%;
    height: auto;
  }
}



.team-card:hover {
  transform: scale(1.05);
  background: #e0f3ff;
}



.social-links li a {
  color: white !important;
  font-size: 26px;
  transition: transform 0.2s, color 0.2s;
}

.social-links li a:hover {
  transform: scale(1.2);
  color: #f7d200 !important;
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  cursor: pointer;
}

/* Mobile nav */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    flex-direction: column;
    overflow: hidden;
    max-height: 0;
    width: 100%;
    background: #004b91;
    text-align: center;
  }

  nav.mobile-active {
    max-height: 500px;
  }

  nav a {
    padding: 12px 0;
    border-top: 1px solid #035fb9;
    display: block;
  }

  .top-bar {
    flex-direction: column;
    align-items: center;
  }

  .social-links {
    justify-content: center;
    margin-top: 10px;
  }
}

/* Banner Slider */
.banner-slider {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
  margin-top: 120px;
  background: #000;
  max-height: 600px;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  width: 100%;
  height: auto;
  display: none;
  object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
  transition: opacity 1s ease-in-out;
  opacity: 0;
}

.slide.active {
  display: block;
  opacity: 1;
  position: relative;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  color: white;
  background: rgba(0,0,0,0.5);
  padding: 8px 14px;
  cursor: pointer;
  z-index: 10;
  user-select: none;
  border-radius: 50%;
}

.arrow.left {
  left: 10px;
}

.arrow.right {
  right: 10px;
}

/* Match Cards */
.match-cards {
  padding: 20px;
 
}

.match-card {
  background: #e0ecf8;
  border: 1px solid #ccc;
  padding: 15px;
  margin: 10px auto;
  width: 90%;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
}
.match-cards-section h2 {
  text-align: center;
  color: white;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;  /* Adjust spacing below the heading */
  margin-top: 0;        /* Optional: if too much top space */
  line-height: 1.4;     /* Optional: controls heading height */
}


.match-card {
    color: white;
}

.match-card .details p {
    color: white;
}

.view-score-btn a {
    display: inline-block;
    padding: 6px 14px;
    background-color: orange;
    color: white;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
}

.view-score-btn a:hover {
    background-color: darkorange;
}

@media (max-width: 768px) {
  .match-card {
    min-width: 90vw;
  }
}

/* Teams */
.team-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 20px;
  background: white;
}

.team-logos img {
  height: 80px;
}

/* Videos */
.video-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px;
  background: #fff;
}

.video-box {
  text-align: center;
  width: 320px;
}

.video-title {
  margin: 5px 0;
  font-weight: bold;
}

.video-date {
  color: gray;
  font-size: 13px;
}

/* Sponsors */
.sponsor-logos {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  background: #fff;
  padding: 20px;
}

.sponsor-logos img {
  height: 60px;
}

/* News */
#news {
  background: #fff;
  padding: 40px 20px;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.news-header h2 {
  font-size: 26px;
  color: #004b91;
  margin: 0;
}

.see-more-link {
  font-size: 14px;
  font-weight: bold;
  color: #004b91;
  text-decoration: none;
}

.news-carousel-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.news-carousel {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
  width: max-content;
}

.news-card {
  min-width: 320px;
  max-width: 320px;
  height: 320px;
  border-radius: 12px;
  background: #f9f9f9;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 15px #004b91;
  border: 2px solid #004b91;
}

.news-card a {
  color: inherit;
  text-decoration: none;
  display: block;
  height: 100%;
}

.news-img-container {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.news-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover img {
  transform: scale(1.05);
}

.news-img-container .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  transition: background 0.3s ease;
}

.news-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-info h4 {
  font-size: 18px;
  color: #004b91;
  margin: 0;
}

.news-date {
  font-size: 13px;
  color: #777;
  margin-top: 6px;
}

.arrow.news-left,
.arrow.news-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  background: rgba(0,0,0,0.3);
  color: white;
  padding: 6px 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}

.arrow.news-left { left: 10px; }
.arrow.news-right { right: 10px; }

@media (max-width: 768px) {
  .news-card {
    min-width: 90vw;
  }

  .news-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .see-more-link {
    position: static;
    align-self: flex-end;
    margin-top: 8px;
  }
}





.match-cards-section {
  padding: 40px 20px;
  background-color: #001f3f; /* Dark APL navy */
  color: white;
}

.match-carousel-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.match-slider {
  display: flex;
  transition: transform 0.4s ease-in-out;
  gap: 20px;
}

.match-card {
  background: #ffffff12;
  border: 1px solid #ffffff33;
  border-radius: 14px;
  padding: 20px;
  min-width: 320px;
  max-width: 320px;
  color: white;
  text-align: center;
  text-decoration: none;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  flex-shrink: 0;
  transition: transform 0.3s ease;
  height: 330px;
}

.match-card:hover {
  transform: translateY(-6px);
}

.match-status {
  background: crimson;
  color: white;
  padding: 5px 10px;
  font-size: 13px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 10px;
}

.match-status.UPCOMING {
  background: #f7d200;
  color: #000;
}

.match-status.LIVE {
  animation: glow 1s infinite alternate;
  box-shadow: 0 0 12px #00ff00;
  border: 2px solid #00ff00;
}

@keyframes glow {
  from { box-shadow: 0 0 10px #00ff00; }
  to { box-shadow: 0 0 20px #00ff00, 0 0 30px #00ff00; }
}

.teams {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 10px 0;
}

.team img {
  width: 75px;
  height: 75px;
  object-fit: contain;
}

.team p {
  font-size: 15px;
  margin-top: 5px;
  font-weight: 500;
}

.vs {
  font-size: 20px;
  font-weight: bold;
  margin: 0 10px;
}

.details {
  margin-top: 15px;
}

.details-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
}

.details p {
  margin: 4px 0;
}

.arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  font-size: 32px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  padding: 8px 14px;
  cursor: pointer;
  z-index: 5;
  transition: background 0.3s;
}

.arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.match-left { left: 0; }
.match-right { right: 0; }

@media (max-width: 768px) {
  .match-card {
    min-width: 90vw;
  }

  .team img {
    width: 65px;
    height: 65px;
  }

  .vs {
    margin: 0 6px;
  }
}


#sponsors {
  background: #f0f8ff;
  padding: 40px 20px;
  text-align: center;
}

#sponsors h2 {
  color: #004b91;
  margin-bottom: 30px;
}

.sponsor-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.sponsor-category {
  width: 200px;
  background: #ffffff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.sponsor-category:hover {
  transform: scale(1.05);
}

.sponsor-category h4 {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}

.sponsor-category img {
  width: 100%;
  max-height: 80px;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
  .sponsor-category {
    width: 45%;
  }
}




/* Footer */
footer {
  background: #004b91;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 14px;
  margin-top: 40px;
}
