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;
      }
    }
  }
}
.page-hero {
  position: relative;
  background: url("Assets/Quienes_somos_fondo.png") center/cover no-repeat;
  height: 45vh;
  display: flex;
  align-items: center;
  padding: 0 10%;
  color: #ffffff;

  .hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
      to right,
      rgba(#002855, 0.9),
      rgba(#002855, 0.4)
    );
    z-index: 1;
  }

  .page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;

    .subtitle {
      color: #ffcc00;
      font-size: 0.9rem;
      font-weight: bold;
      letter-spacing: 2px;
    }
    h1 {
      font-size: 3.5rem;
      margin: 10px 0;
      line-height: 1.2;
    }
    p {
      font-size: 1.1rem;
      opacity: 0.9;
    }
  }
}

.section-tag-center {
  display: block;
  text-align: center;
  color: #ffcc00;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 1.5px;
}
.title-center {
  text-align: center;
  color: #002855;
  font-size: 2.2rem;
  margin: 10px 0 40px 0;
}

.history-section {
  padding: 80px 10%;
  background: #ffffff;

  .container-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
  }
  .history-text {
    p {
      color: #555;
      line-height: 1.7;
      margin-bottom: 20px;
      font-size: 1.05rem;
    }
  }
  .history-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }
}

.mision-vision-section {
  padding: 60px 10%;
  background: #f8f9fa;

  .mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .mv-card {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border-top: 4px solid #002855;
    transition: transform 0.3s ease;

    &:hover {
      transform: translateY(-5px);
    }
    .icon-header {
      font-size: 2rem;
      color: #002855;
      margin-bottom: 15px;
    }
    h2 {
      color: #002855;
      margin: 0 0 15px 0;
      font-size: 1.8rem;
    }
    p {
      color: #555;
      line-height: 1.6;
      margin: 0;
    }
  }
}

.objectives-section {
  padding: 80px 10%;
  background: #ffffff;

  .objectives-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .objective-item {
    display: flex;
    gap: 20px;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    align-items: flex-start;

    .number {
      font-size: 1.8rem;
      font-weight: bold;
      color: #ffcc00;
      line-height: 1;
    }
    p {
      margin: 0;
      color: #002855;
      font-weight: 500;
      line-height: 1.5;
    }
  }
}

.values-section {
  padding: 80px 10% 100px 10%;
  background: #f8f9fa;

  .values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
  }
  .value-box {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);

    h3 {
      color: #002855;
      margin: 0 0 12px 0;
      font-size: 1.3rem;
    }
    p {
      color: #555;
      font-size: 0.9rem;
      line-height: 1.6;
      margin: 0;
    }
  }
}

.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: 992px) {
  .history-section .container-split,
  .mision-vision-section .mv-grid,
  .objectives-section .objectives-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .values-section .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .values-section .values-grid {
    grid-template-columns: 1fr;
  }
}

@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);
  }
}