body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  color: #002855;
}

.logo {
  width: 250px;
  cursor: pointer;
}

img {
  width: 100%;
  object-fit: contain;
}

.main-header {
  .top-bar {
    background: #002855;
    color: #ffffff;
    padding: 10px 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
  }
  .icon-top {
    font-size: 14px;
    margin: 0;
    padding: 0 10px;
  }
  .social-links {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .social-icon {
    cursor: pointer;
    width: 20px;
    height: 20px;
  }
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10%;
    .nav-links {
      list-style: none;
      display: flex;
      gap: 20px;
      li {
        padding: 10px 5px;
        cursor: pointer;
      }
      li:hover {
        padding: 7px 5px;
        border-bottom: solid 3px #fbc02d;
      }
      a {
        text-decoration: none;
        color: #002855;
        font-weight: bold;
      }
    }
  }
}

.hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("Assets/nueva_america_fondo2.png");
  background-size: cover;
  height: 80vh;
  display: flex;
  align-items: center;
  padding: 0 10%;
  color: #ffffff;

  .hero-content {
    max-width: 600px;
    h1 {
      font-size: 3rem;
      margin: 10px 0;
    }
    .hero-btns {
      display: flex;
      align-items: center;
      justify-content: start;
      gap: 15px;
    }
    .btn-primary {
      cursor: pointer;
      font-family: "Montserrat", sans-serif;
      border: none;
      background: #9e0000;
      padding: 12px 25px;
      border-radius: 5px;
      text-decoration: none;
      color: #ffffff;
      font-weight: bold;
    }
    .btn-secondary {
      cursor: pointer;
      font-family: "Montserrat", sans-serif;
      border: solid 2px #ffffff;
      background: rgba(0, 0, 0, 0);
      padding: 11px 24px;
      border-radius: 5px;
      text-decoration: none;
      color: #ffffff;
      font-weight: bold;
    }
  }
}

.stats-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: white;
  padding: 30px;
  margin: -75px 10% 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  position: relative;
  height: 100px;
  z-index: 10;
}
.stat-item-content {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 20px;
}
.icon{
    font-size: 50px;
}
.stat-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
    strong {
        font-size: 30px;
    }
    p{
        margin: 0;
    }
}

.academic-offer {
  padding: 80px 10%;
  text-align: center;
  .cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
  }
  .card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }
    padding-bottom: 20px;
    .text-card {
      padding: 0 10px;
    }
  }
}

.btn-cta-nav {
  background: #9e0000;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
}

.section-tag {
    color: #9e0000;
    font-weight: 600;
}

.title {
    margin: 0;
}

.benefits {
  padding: 60px 10%;
  text-align: center;
  background-color: #f9fcff;
  .benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
  }
  .benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    .icon-circle {
      background: #002855;
      color: #ffffff;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    h3 {
      font-size: 1rem;
      margin: 0;
    }
    p {
      font-size: 0.85rem;
      color: #555;
      margin: 5px 0 0;
    }
  }
}

.news-gallery {
  padding: 60px 10%;
  .container-split {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
  }
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 20px 0;
    img {
      width: 100%;
      border-radius: 8px;
    }
  }
  .news-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    img {
      width: 100px;
      height: 70px;
      object-fit: cover;
      border-radius: 5px;
    }
    h4 {
      margin: 0;
      font-size: 0.95rem;
    }
    .date {
      font-size: 0.8rem;
      color: #555;
    }
  }
}

.cta-banner {
  background: #002855;
  margin: 40px 10%;
  border-radius: 15px;
  padding: 40px;
  color: #ffffff;
  .cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
  }
  .btn-whatsapp {
    background: #fbc02d;
    color: #002855;
    padding: 12px 25px;
    min-width: 100px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-right: 15px;
  }
  .btn-info {
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
  }
}

.aliados{
  display: flex;
  align-items: center;
  justify-content: space-around;

  .fun {
    width: 320px;
  }
  
  .alc {
    width: 350px;
  }

  .icbf{
    width: 120px;
  }
}

.main-footer {
  background: #002147;
  color: #ffffff;
  padding: 60px 10% 20px;
  font-size: 0.9rem;
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }
  a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.8;
    &:hover {
      opacity: 1;
    }
  }
  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
  }
}


@media (max-width: 1024px) {
  .stats-container {
    height: auto;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: -50px;
    padding: 20px;
  }

  .news-gallery {
    .container-split {
      grid-template-columns: 1fr;
      gap: 30px;
    }
  }
}

@media (max-width: 768px) {

  .main-header {
    .top-bar {
      flex-direction: column;
      gap: 8px;
      text-align: center;
      padding: 10px 5%;
      
      .info-links {
        display: flex;
        flex-direction: column;
        gap: 5px;
      }
    }

    .navbar {
      flex-direction: column;
      gap: 15px;
      padding: 15px 5%;

      .nav-links {
        padding: 0;
        margin: 0;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
      }
    }
  }


  .hero {
    height: auto;
    padding: 60px 5%;
    text-align: center;

    .hero-content {
      h1 {
        font-size: 2rem;
      }
      .hero-btns {
        justify-content: center;
      }
    }
  }


  .stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 30px 5% 0;
    
    .stat-item-content {
      justify-content: center;
    }
  }

  .academic-offer {
    padding: 40px 5%;
    
    .cards-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }
  }

  .aliados {
    flex-direction: column;
    gap: 30px;
    padding: 40px 0;

    .fun, .alc {
      width: 60%;
      max-width: 250px;
    }

    .icbf {
      width: 20%;
      max-width: 250px;
    }
  }

  .cta-banner {
    margin: 30px 5%;
    padding: 25px;

    .cta-content {
      flex-direction: column;
      text-align: center;
      gap: 20px;
    }
    
    .btn-whatsapp {
      margin-right: 0;
      display: inline-block;
      width: 100%;
      box-sizing: border-box;
    }
  }

  .main-footer {
    padding: 40px 5% 20px;

    .footer-grid {
      grid-template-columns: 1fr;
      gap: 30px;
      text-align: center;
    }

    .footer-links ul {
      padding: 0;
    }

    .footer-map iframe {
      width: 100%;
    }

    .footer-bottom {
      flex-direction: column;
      gap: 15px;
      text-align: center;
    }
  }
}

@media (max-width: 480px) {
  .stats-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .news-gallery .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}