/* Variables globales para facilitar ajustes */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --max-width: 1200px;
    --spacing: 2rem;
  }
  
/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
  
body {
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}
  
  a {
    text-decoration: none;
    color: black;
    transition: all 0.3s ease;
}


/* Navbar moderno */
#navbar {
    position: fixed;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0.5rem 0;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: black;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #ffc700;
    border-radius: 50%;
    bottom: 5px;
    right: -8px;
}

.navbar-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.navbar-links li a {
    color: #212529;
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
}

.navbar-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #ffc700;
    left: 0;
    bottom: 0;
    transition: all 0.3s ease;
}

.navbar-links li a:hover::after,
.navbar-links li a.active::after {
    width: 100%;
}

.navbar-links li a.active {
    color: black;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #212529;
}
  
  /* Header */
  .header-bg {
    background: linear-gradient(135deg, #fc5252 0%, #b8a500 100%);
    color: white;
    padding: 8rem 0 5rem;
    margin-bottom: 2rem;
  }
  
  .header-content {
    text-align: center;
    padding: 0 1rem;
  }
  
  .header-content h1 {
    font-size: 2.5rem;
    margin: 0;
    letter-spacing: 1px;
    font-weight: 700;
  }
  
  /* Contenido principal */
  .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--spacing);
  }
  
  .sub-contains {
    margin-bottom: 4rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .sub-contains h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: black;
    position: relative;
    padding-bottom: 1rem;
  }
  
  .sub-contains h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #ffc700;
  }
  
  .sub-contains p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
  
  .highlight {
    color: black;
    font-weight: 600;
  }
  
  /* Secciones de Misión y Visión */
  .contains {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
  }
  
  .mission, .vision {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
  }
  
  .mission:hover, .vision:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }
  
  .mission h2, .vision h2 {
    color: black;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    position: relative;
    padding-bottom: 0.75rem;
  }
  
  .mission h2::after, .vision h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #ffc700;
  }
  
  /* Compromiso */
  .commitment {
    background-color: var(--secondary-color);
    color: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 4rem;
  }
  
  .commitment h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  .commitment ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    list-style: none;
  }
  
  .commitment li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .commitment li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
  }
  
  .commitment .highlight {
    color: var(--accent-color);
  }
  
  /* Mensaje */
  .sem-mesagge {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
  }
  
  .sem-mesagge h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
  }
  
  .sem-mesagge p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
  }
  
  .final-message {
    font-size: 1.25rem !important;
    margin-top: 2rem;
  }
  
  /* Footer */
  .footer {
    background-color: #222;
    padding: 4rem 0 2rem;
  }
  
  .container-footer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  .row-footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
  }
  
  .footer-col {
    margin-bottom: 2rem;
  }
  
  .footer-col h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
  }
  
  .footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #ffc700;
  }
  
  .footer-col ul {
    list-style: none;
  }
  
  .footer-col ul li {
    margin-bottom: 0.75rem;
  }
  
  .footer-col ul li a {
    color: #f0f0f0;
    text-decoration: none;
    transition: var(--transition);
  }
  
  .footer-col ul li a:hover {
    padding-left: 0.5rem;
  }
  
  .social-links {
    display: flex;
    gap: 1rem;
  }
  
  .social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
  }
  
  .social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
  }
  
  /* Responsive hamburger menu */
  .hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--secondary-color);
  }
  
  .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 900;
  }
  
  /* Media queries para responsividad */
  @media (max-width: 992px) {
    .contains {
      grid-template-columns: 1fr;
    }
    
    .header-content h1 {
      font-size: 2.5rem;
    }
  }
  
  @media (max-width: 992px) {
    .row-footerl {
      width: calc(50% - 30px);
    }
  }
  
  @media (max-width: 900px) {
      .navbar-container {
        padding: 5px;
    }
    
    .hamburger {
        display: block;
    }
    
    .navbar-links {
        position: fixed;
        top: 70px;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background-color: white;
        flex-direction: column;
        gap: 0;
        padding: 5rem 2rem 2rem;
        z-index: 1000;
        transition: 0.3s ease;
    }
    
    .navbar-links.active {
        right: 0;
    }
    
    .navbar-links li {
        width: 100%;
    }
    
    .navbar-links li a {
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
    }
    
    .overlay.active {
      display: block;
    }
    
    .header-content h1 {
      font-size: 2rem;
    }
    
    .sub-contains h1 {
      font-size: 2rem;
    }
  }
  
  @media (max-width: 576px) {
    .navbar-container {
      padding: 5px;
    }
    
    .container {
      padding: 1rem;
    }
    

    
    .sub-contains p, .mission p, .vision p, .sem-mesagge p {
      font-size: 1rem;
    }
    
    .commitment ul {
      grid-template-columns: 1fr;
    }
  }
  
  /* Animaciones suaves */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .sub-contains, .mission, .vision, .commitment, .sem-mesagge {
    animation: fadeIn 0.8s ease-out forwards;
  }
  
  .mission {
    animation-delay: 0.2s;
  }
  
  .vision {
    animation-delay: 0.4s;
  }
  
  .commitment {
    animation-delay: 0.6s;
  }
  
  .sem-mesagge {
    animation-delay: 0.8s;
  }