body {
  font-family: "Anta", sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

main {
  /* background: linear-gradient(135deg, #0093d3, #003d73); */
  min-height: 100vh;
  background-image: url(https://dev.futbolsinfronteras.tv/img/[freepicdownloader.com]-boy-kicking-soccer-ball-large.jpg);
  background-size: cover;
  /*background-position: bottom;*/
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
}

.navbar {
  background-color: transparent !important;
  box-shadow: none !important;
  z-index: 9999;
  position: absolute;
}

/* Make the navbar collapse box behave like a dropdown */
#navbarNav {
  max-width: 500px;
  width: 100%;
  margin-left: auto;
  margin-right: 0;
  background-image: url(https://dev.futbolsinfronteras.tv/img/footer-bg.png);
  padding: 20px;
  border-radius: 12px;
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform-origin: top right;
}

/* Hidden state (collapse start) */
.collapse:not(.show) {
  display: block !important;
  transform: scaleY(0);
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Visible state (collapse shown) */
.collapse.show {
  transform: scaleY(1);
  opacity: 1;
  height: auto;
  pointer-events: auto;
}

.navbar-collapse {
  max-width: 500px;
  width: 100%;
  margin-left: auto;
  background-image: url(https://dev.futbolsinfronteras.tv/img/footer-bg.pngs);
  padding: 20px;
  border-radius: 12px;
}

.navbar-nav .nav-link {
  transition: background-color 0.7s ease, color 0.4s ease;
  padding: 10px;
}

.navbar-nav .nav-link:hover {
  background-color: #ffd700;
  color: black !important;
  border-radius: 8px;
}

/* Keep toggler on top right */
.navbar-toggler {
  z-index: 1051;
}

/* Avoid logo/toggler from moving */
.container-fluid {
  flex-wrap: nowrap;
}

.logo {
  width: 180px;
}

.text-section {
  display: flex;
  flex-direction: column;
  margin-left: 50px;
}

.hero-section {
  width: 100vw;
  margin: 0;
  padding: 0;
  /* margin-top: 60px; */
}

.text-section p {
  font-size: 20px;
  font-weight: 500;
  color: white;
}

.hero-text {
  font-size: 38px;
  font-weight: bold;
  color: white;
  margin-bottom: 30px;
  line-height: 60px;
}

.read-more {
  background-color: #ffa500;
  color: white;
  border: none;
  border-radius: 10px;
  width: 220px;
  padding: 10px 15px;
  font-weight: bold;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.read-more::after {
  content: "\f1e3";
  /* Football icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.5s ease, transform 0.3s ease;
}

.read-more:hover::after {
  opacity: 1;
  transform: translateX(10px);
}

.read-more:hover {
  background-color: #ffa500;
  transform: scale(0.9);
}

.image-container img {
  width: 100%;
  /* max-width: 600px; */
}

@media (max-width: 1100px) {
  .hero-text {
    font-size: 30px;
    margin-bottom: 30px;
    line-height: 50px;
  }

  .text-section p {
    font-size: 15px;
  }

  .read-more {
    width: 140px;
    font-size: 10px;
    padding: 15px 10px;
    gap: 5px;
  }

  .read-more:hover::after {
    transform: translateX(6px);
  }
}

@media (max-width: 768px) {
  .hero-text {
    font-size: 25px;
  }

  .text-section p {
    font-size: 14px;
  }

  .hero-section {
    text-align: center;
  }

  .row {
    flex-direction: column;
    align-items: center;
  }

  .hero-section {
    margin-top: 30px;
  }

  .text-section {
    margin-left: 0px;
    display: flex;
    align-items: center;
  }

  .logo-container {
    position: relative;
  }

  .logo {
    width: 160px;
  }
}

@media (max-width: 425px) {
  .logo {
    width: 130px;
  }

  .logo-container {
    padding: 20px 12px;
  }

  main {
    justify-content: flex-start;
    min-height: 90vh;
  }

  .hero-text {
    font-size: 22px;
    line-height: 30px;
  }

  .text-section p {
    font-size: 13px;
  }
}

/* .contact-us {
    background-color: black;
    color: white;
  }
  .contact-row > div {
    display: flex;
    align-items: flex-start; 
    height: 100%;
    justify-content: start;
  }

  .contact-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }

  .contact-box h6 {
    min-height: 24px;
    margin-bottom: 6px;
  } */
/* .social-icons i { */

.footer-section {
  background-color: black;
  padding: 2rem 0;
  font-size: 0.95rem;
  color: white !important;
}

.footer-links a,
.footer-bottom a {
  color: white;
  text-decoration: none;
  margin: 0 0.5rem;
}

.footer-links a:hover,
.footer-bottom a:hover {
  text-decoration: underline;
}

.footer-text a,
.footer-text {
  font-size: 16px;
}

.social-icons a {
  color: white;
  font-size: 1.2rem;
  margin: 0 0.4rem;
}

.footer-bottom {
  border-top: 1px solid #ddd;
  padding-top: 1rem;
  margin-top: 1rem;
  font-size: 0.85rem;
}

.social-icons a {
  color: white;
  font-size: 1.2rem;
  margin: 0 0.4rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

/* Add the glassy circle on hover */
.social-icons a:hover {
  color: white;
  /* default, overridden below */
}

.social-icons a:hover::before {
  content: "";
  position: absolute;
  inset: -6px;
  /* makes the circle slightly larger */
  /* border-radius: 50%; */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.367);
  z-index: -1;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

/* Brand-specific colors for icon + glass bg */
.social-icons a:hover .fa-facebook-f {
  color: #1877f2;
}

.social-icons a:hover .fa-tiktok {
  color: #000000;
}

.social-icons a:hover .fa-instagram {
  color: #e1306c;
}

.social-icons a:hover .fa-youtube {
  color: #ff0000;
}

.social-icons a:hover .fa-linkedin-in {
  color: #0077b5;
}

@media (max-width: 1200px) {

  .footer-text a,
  .footer-text {
    font-size: 14px;
  }
}

@media (max-width: 1000px) {

  .footer-text a,
  .footer-text {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .footer-row {
    flex-direction: row;
  }
}