/* Global Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: "Inter", sans-serif;
    color: #34383b;
    line-height: 1.5;
  }
  
  /* Estilo global para enlaces */
  a {
    text-decoration: none; /* Elimina el subrayado */
    color: inherit; /* Usa el color del texto del contenedor padre */
  }
  
  /* Navbar Styles */
  .navbar {
    background-color: #ffffff;
    border-color: #cccccc;
    border-width: 1px;
    box-shadow:
      0 4px 6px -1px rgba(0, 0, 0, 0.1),
      0 2px 4px -2px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
  }
  
  .navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1480px;
    margin: 0 auto;
    padding: 16px 24px;
    width: 100%;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }
  
  .logo-container {
    display: flex;
    align-items: center;
  }
  
  .logo-image {
    height: 80px;
    margin-right: 12px;
    max-width: 100%;
  }
  
  .logo-text {
    color: #34383b;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    user-select: none;
  }
  
  .nav-menu {
    display: flex;
    color: #34383b;
    font-weight: 500;
    justify-content: flex-end;
    list-style: none;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-item {
    text-transform: uppercase;
    margin-right: 34px;
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
  }
  
  .nav-item:hover {
    color: oklch(0.2 0.5 0.5);
  }
  
  .nav-item.active {
    color: oklch(0.2 0.5 0.5);
    font-weight: 700;
  }
  
  .nav-item.contact {
    margin-left: 136px;
    margin-right: 0;
  }

  /* Estilo para el submenú */
  .nav-item.dropdown {
    position: relative;
  }

  .nav-item .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1000;
    width: 290%;
  }

  .nav-item .dropdown-menu li {
    padding: 10px 20px;
    max-height: 40px;
  }

  .nav-item .dropdown-menu li a {
    text-decoration: none;
    color: #333;
    display: block;
  }

  .nav-item .dropdown-menu li a:hover {
    background-color: #blue;
  }

  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
  }

  /* Estilo específico para los enlaces del menú */
  .nav-menu a {
    text-decoration: none; /* Elimina el subrayado */
    color: #000; /* Cambia el color del texto a negro */
    font-weight: 500; /* Ajusta el grosor del texto */
  }

  .nav-menu a:hover {
    color: #000; /* Mantén el color negro al pasar el mouse */
    text-decoration: none; /* Asegúrate de que no aparezca subrayado */
  }

  .nav-item.active a {
    color: #a00000; /* Color rojo oscuro para el elemento activo */
    font-weight: bold; /* Resalta el elemento activo */
  }

  /* Estilo para los elementos de la lista */
  .dropdown-menu li {
    padding: 10px 15px; /* Espaciado interno */
    cursor: pointer; /* Cambia el cursor para indicar que es clicable */
    transition: background-color 0.3s ease; /* Transición suave */
  }

  .dropdown-menu li a:hover {
    background-color: #a00000; /* Fondo rojo oscuro al pasar el mouse */
   border-radius: 10px;
   color: white;
    /*color: #a00000;  Cambia el texto a blanco para mejor contraste */
  }
  
  /* Main Content Styles */
  .main-content {
    display: flex;
    margin-top: 80px;
    min-height: 800px;
    position: relative;
    color: #34383b;
  }
  
  .hero-background {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-position: 50% 50%;
    background-size: cover;
  }
  
  .hero-image {
    width: 100%;
    height: 800px;
    object-fit: cover;
    filter: blur(4px);
  }
  
  .hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #000000;
    opacity: 0.5;
  }
  
  .content-container {
    display: flex;
    margin: auto;
    max-width: 1280px;
    width: 100%;
    z-index: 10;
  }
  
  /* Welcome Section Styles */
  .welcome-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    text-align: center;
    width: 50%;
  }
  
  .welcome-logo {
    width: 256px;
    margin-bottom: 16px;
    border-radius: 9999px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  }
  
  .welcome-title {
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    line-height: 40px;
    margin-bottom: 8px;
    text-transform: uppercase;
  }
  
  .welcome-text {
    color: #ffffff;
    font-size: 20px;
    line-height: 28px;
    margin-top: 8px;
  }
  
  .primary-button {
    background-color: oklch(0.2 0.5 0.5);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    padding: 12px 24px;
    margin-top: 32px;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  }
  
  .primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.25);
  }
  
  /* News Section Styles */
  .news-section {
    border-top: 5px solid ;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 32px;
    padding: 24px 32px;
    width: 50%;
  }
  
  .news-badge {
    background-color: oklch(0.2 0.5 0.5);
    border-radius: 8px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    margin: 8px 0;
    padding: 0 8px;
    width: 100%;
    text-align: center;
    
  }
  
  .news-video {
    width: 100%;
    border-radius: 8px;
    object-fit: contain;
  }
  
  .news-date {
    color: #102c54;
    font-size: 14px;
    line-height: 20px;
    padding: 8px 0;
    text-align: left;
  }
  
  .news-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 32px;
    padding-bottom: 16px;
    text-align: left;
  }
  
  .news-divider {
    border-bottom: 2px solid #cccccc;
    margin-bottom: 16px;
  }
  
  .news-action {
    display: flex;
    justify-content: flex-end;
    width: 100%;
  }
  
  .secondary-button {
    color: oklch(0.2 0.5 0.5);
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .secondary-button:hover {
    text-decoration: underline;
  }
  
  /* Footer Styles */
  .footer {
    background-color: #102c54;
    color: #ffffff;
    padding: 48px 0;
  }
  
  .footer-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    max-width: 1152px;
    margin: 0 auto;
    width: 100%;
  }
  
  .footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-logo {
    width: 128px;
    height: 128px;
    margin-bottom: 16px;
    object-fit: contain;
  }
  
  .footer-tagline {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
  }
  
  .footer-social-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-heading {
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 16px;
  }
  
  .social-icons {
    display: flex;
  }
  
  .social-link {
    margin-right: 24px;
    color: #ffffff;
  }
  
  .social-icon {
    width: 24px;
    height: 24px;
    font-size: 24px;
    vertical-align: -3px;
  }
  
  .footer-contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .contact-list {
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    list-style: none;
  }
  
  .contact-item {
    font-weight: 700;
    margin-bottom: 8px;
  }
  
  .email-link {
    color: #b6b6af;
    text-decoration: none;
  }
  
  .email-link:hover {
    text-decoration: underline;
  }
  
  .copyright {
    border-top: 1px solid #ffffff;
    margin-top: 32px;
    padding-top: 16px;
    text-align: center;
    font-size: 14px;
    line-height: 20px;
  }
  
  /* Responsive Styles */
  @media (max-width: 1024px) {
    .content-container {
      flex-direction: column;
      align-items: center;
    }
  
    .welcome-section,
    .news-section {
      width: 90%;
      margin: 16px;
    }
  
    .footer-container {
      grid-template-columns: 1fr;
      text-align: center;
    }
  
    .nav-menu {
      display: none;
    }
  }
  
  .staff-card {
    align-items: center;
    background-color: rgb(255, 255, 255);
    border-radius: 8px;
    box-shadow:
    rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
    rgba(0, 0, 0, 0.1) 0px 4px 6px -4px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /*padding: 32px;*/
    width: 80%;
    /*float: left;*/
    text-align: left;
        
  }

  
      .staff-photo {
        border-radius: 5%;
        box-shadow:
          rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
          rgba(0, 0, 0, 0.1) 0px 4px 6px -4px;
        margin-bottom: 4px;
        object-fit: cover;
        width: 100%;
        height:100%;
      }

      .staff-name {
        color: oklch(0.2 0.5 0.5);
        font-size: 20px;
        font-weight: 600;
        line-height: 25px;
        margin-bottom: 8px;
        text-align: center;
      }
      /* Section Spacing */
      .section-utp,
      .section-convivencia,
      .section-inspectores {
        margin-top: 5%;
      }
      .section-heading{

        text-align: center;
      }
      .staff-grid{
        flex-direction: row;
      }
      .staff-card{
        flex: 1;
      }

      /* Responsividad */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
    .staff-grid{
        display: flex;
        flex-direction: column;
        gap: 20px;
      }
  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: #ffffff;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-menu.active {
    display: flex;
  }
  .nav-container {
      flex-direction: column;
    }
  
    .nav-item {
      margin: 8px 12px;
    }
  
    .nav-item.contact {
      margin-left: 12px;
    }
  
    .hero-title {
      font-size: 36px;
      line-height: 40px;
    }

  .staff-card {
        align-items: center;
        background-color: rgb(255, 255, 255);
        border-radius: 8px;
        box-shadow:
          rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
          rgba(0, 0, 0, 0.1) 0px 4px 6px -4px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        padding: 10px;
        width: 100%;
        float: left; 

      }
  .staff-photo {
        border-radius: 4%;
        box-shadow:
          rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
          rgba(0, 0, 0, 0.1) 0px 4px 6px -4px;
        margin-bottom: 2px;
        margin-top: 30px;
        object-fit: cover;
        width: 100%;
        height:100%;
      }
  .staff-name {
        color: oklch(0.2 0.5 0.5);
        font-size: 26px;
        font-weight: 600;
        line-height: 36px;
        margin-bottom: 8px;
        text-align: center;
      }    
}

.download-button {
    display: inline-block;
    text-decoration: none;
    width: 100%;
    margin-top: 24px;
    padding: 8px 16px;
    background-color: oklch(0.2 0.5 0.5);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .download-button:hover {
    background-color: oklch(0.15 0.5 0.5);
  }
  .section-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 40px;
    color: oklch(0.2 0.5 0.5);
    /*margin-bottom: 24px;*/
    text-align: center;
  }