/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  background: #fff;
  color: #222;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Navbar */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

/* Top Contact Bar */
.top-bar {
  background: #161616;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 7px;
  padding-top: 14px;
}

.top-bar .left span {
  margin-right: 15px;
}

.top-bar i {
  color: rgb(231, 231, 231);
  margin-right: 6px;
  opacity: 1;
}

.top-bar .right i {
  margin-left: 12px;
  cursor: pointer;
}

.top-bar .right i:hover {
  color: white;
  opacity: 0.7;
}

/*social media top right navbar*/

.fa {
  margin: 5px 2px;
  border: #ddd solid 1px;
  border-radius: 8px;
  padding: 12px;
  font-size: 40px;
  width: 50px;
  text-align: center;
  text-decoration: none;
}

.fa:hover {
  opacity: 0.7;
}

.fa-youtube {
  background: #bb0000;
  color: white;
}

.fa-instagram {
  background: linear-gradient(60deg, rgb(171, 123, 1), rgb(29, 5, 25), purple);
  color: white;
}

.fa-facebook {
  background: #0060a5;
  color: white;
}

.fa-google {
  background: #dd4b39;
  color: white;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: white;
  border-bottom: 1px solid #eee;
  position: relative;
  height: 80px;
  z-index: 1;
}

.navbar .logo img {
  height: 60px;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.navbar ul li {
  position: relative;
}

.navbar ul li a {
  text-decoration: none;
  color: #222;
  font-weight: bold;
  font-size: 15px;
}

.navbar ul li a.active {
  color: #rgb(0, 0, 129);
  border-bottom: 2px solid rgb(0, 0, 129);
  padding-bottom: 2px;
  position: relative;
}

/* Dropdown */
.navbar ul li ul {
  display: none;
  position: absolute;
  top: 30px;
  left: 0;
  background: white;
  list-style: none;
  padding: 10px 0;
  border: 1px solid #ddd;
  min-width: 150px;
  z-index: 1000;
}

.navbar ul li:hover ul {
  display: block;
}

.navbar ul li ul li {
  padding: 8px 15px;
}

.navbar ul li ul li a {
  font-weight: normal;
  color: #333;
}

/* Register Button */
.register-btn {
  background: srgb(0, 0, 218);
  color: #000;
  border: 1px solid #333;
  padding: 10px 18px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s;
}
.register-btn-div1 {
  padding-right: 15rem;
  padding-bottom: 0.2rem;
}
.hero .register-btn {
  background-color: #0060a5;
}

.register-btn:hover {
  background: rgb(78, 78, 82);
}

.register-btn-div2 .register-btn {
  background-color: pink;
}
.register-btn-div2 .register-btn:hover {
  background-color: rgb(179, 136, 143);
}
/*register button two*/

/* Hamburger */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

.moto {
  font-size: auto;
}

/* Mobile Styles */

/* Hero */
.hero {
  position: relative;
  height: 60vh;

  background: url("./images/indexbackground.png") no-repeat center center/cover;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;

  text-align: center;
}

.home-register-button {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.hero h1 {
  font-size: 6rem;
  background: linear-gradient(
    90deg,
    rgb(24, 6, 84),
    rgb(13, 10, 196),
    rgb(30, 14, 177)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* Promo Section */
.promos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
}
.promo-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-top: 2rem;
  padding-left: 3rem;
  padding-right: 1rem;
  padding-bottom: 1rem;
}
.promo-card img {
  width: 100%;
  display: block;
}

/* .toptenvideo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
  width: 100%;
  height: auto;
} */

.toptenvideo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background: #f9f9f9;
  width: 100%;
  height: 100%;
}

.video-title {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.topten-mov {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.video-container {
  padding-top: 1rem;
  padding-bottom: 1rem;
  height: 600px;
  width: 100%;
  padding-right: 3rem;
  padding-left: 3rem;
}

/*footer styling*/
/* Custom Footer Styles */
.custom-footer {
  background: #232323;
  color: #fff;
  font-family: Arial, sans-serif;
  padding: 2rem 1rem 1rem 1rem;
  font-size: 1rem;
  border-top: 4px solid #111;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.footer-social {
  padding-left: 20px;
}
.footer-social a {
  color: #fff;
  margin-right: 1.2rem;
  font-size: 2rem;
  transition: color 0.2s;
}
.footer-social a:hover {
  color: #1d00f5;
}
.footer-contact {
  font-size: 1.1rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-logo img {
  height: 60px;
  padding-right: 20px;
}
.footer-middle {
  margin-bottom: 1rem;
}
.footer-copyright {
  margin-bottom: 0.5rem;
}
.footer-copyright a {
  color: #fff;
  text-decoration: underline;
  margin: 0 0.5rem;
  font-size: 0.95rem;
}
.footer-legal {
  color: #bbb;
  font-size: 0.85rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid #444;
  padding-top: 0.5rem;
}
.footer-flags img {
  margin-right: 0.3rem;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}
.footer-links a {
  color: #fff;
  margin-left: 1.2rem;
  font-size: 0.95rem;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 1px;
}
.footer-links a:hover {
  color: blue;
}
@media (max-width: 700px) {
  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-logo {
    margin-top: 1rem;
  }
  .footer-links {
    margin-top: 1rem;
  }
}

/*social media*/

.footer-social .fa {
  padding: 5px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
}

/* Add a hover effect if you want */
.fa:hover {
  opacity: 0.7;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

/*middle component*/
.announcement {
  background-color: #030303;
  color: #f3f1f1;
  padding: 4px 0;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  border-bottom: 2px solid rgb(194, 194, 194);
  border-top: 2px solid rgb(194, 194, 194);
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.announcement marquee {
  font-size: 1.5rem;
  font-weight: bold;
}

.about-jba-paragraph {
  color: #333;
  padding-top: 2rem;
}

.coaches {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;

  background: #ffffff;
  gap: 2rem;
  padding-left: 10rem;
  padding-right: 10rem;
  font-size: 2rem;
  border: #bebebe solid 6px;
}

.coach-photo {
  width: 80%;
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin-bottom: 25px;
}

.coaches-photo-container {
  text-align: center;
  padding: 10px 20px;
  font-size: 0.8rem;
}

.dropbtn {
  background-color: #4caf50;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
  z-index: 20;
  position: absolute;
}

.dropdown:hover .dropbtn {
  background-color: #3e8e41;
}

/*
popup
*/

.popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* The actual popup */
.popup .popuptext {
  visibility: hidden;
  width: 50vw;
  height: 30vh;
  background-color: #ede7e7;
  color: #060606;
  text-align: center;
  border-radius: 6px;
  padding: 8px 0;
  position: fixed;
  z-index: 1;
  top: 30%;
  left: 25%;
  border: #000 solid 2px;
}

/* Popup arrow */
.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 10px;
  border-style: solid;
  border-color: #ffffff transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/*social media in topnav style cont...(in need of cleenup!!!)*/

/*commissioner-message section*/
.commissioner-photo {
  object-fit: cover;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  border: 3px solid #68686a; /* Brighter, more modern border */
  border-radius: 18px; /* Smoother corners */
  padding: 1px; /* Adds space between image and border */
  background: #68686a;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.commissioner-photo img {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 18px;

  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13);
  background: #f5f7fa;
  display: block;
}

.commissioner-photo:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}
.commissioner-photo:active {
  transform: scale(0.95);
  transition: transform 0.1s ease;
}

.commissioner-message {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;

  background: #f9f9f9;
  gap: 2rem;
  padding-left: 10rem;
  padding-right: 10rem;
}

.commissioner-message-text {
  padding-top: 1rem;
  font-size: 1.2rem;

  color: #333;
}

.commissioner-photo-mobile {
}

.commissioner-photo-mobile img {
  display: none;
  background: 68686a;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13);
  width: 100%;
  max-width: 220px;
  height: auto;
  border: #444 solid 3px;
}

.spacer {
  display: none;
}
@media (max-width: 1350px) {
  .commissioner-message {
    flex-direction: column;
    padding-left: 2rem;
    padding-right: 2rem;
    text-align: center;
  }

  .spacer {
    display: block;
  }
  .commissioner-photo-mobile img {
    display: block;
  }
  .commissioner-photo {
    display: none;
  }
  .commissioner-photo img {
    display: none;
  }

  .boys-button-style {
    background-color: #1d00f5;
  }
  .girls-button-style {
    background-color: pink;
  }

  .register-btn-div1 {
    padding-right: 1rem;
    padding-bottom: 0.2rem;
  }
  .moto {
    font-size: 20vw;
  }

  .navbar ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: white;
    border-top: 1px solid #ddd;
    display: none;
  }

  .navbar ul li {
    text-align: center;
    padding: 12px 0;
  }

  .navbar ul li ul {
    position: static;
    border: none;
    box-shadow: none;
  }

  .navbar ul li:hover ul {
    display: none;
  }

  .navbar ul li.active-dropdown ul {
    display: block;
  }

  .hamburger {
    display: block;
  }

  .top-bar .left {
    display: flex;
    flex-direction: column;
  }

  .dropdown:hover .dropdown-content {
    position: relative;
  }
  .register-btn {
    font-size: 1rem;
    position: relative;
    padding: 5px 9px;
  }
}
