/* Importar Montserrat desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
        

html {
  height: auto;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  background-color: white;
  color: #333;
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
  min-height: 100vh;
}



.main-header {
  font-family: 'Lato', sans-serif;
  margin: 0 auto;
}

.top-bar {
  display: flex;
  justify-content: right;
  align-items: center;
  padding: 10px 10px;
  font-size: 14px;
  background-color: #99001f;
  flex-wrap: wrap;
  min-height: auto !important;
  height: 60px;
  max-height: 60px !important; /* evita expansión en móvil */
  overflow: hidden;
  margin: 0 auto;
  gap: 4px;
}
.contact-info {
  height: auto !important;
  min-height: unset !important;
  max-height: none !important;
  display: flex;
  flex-direction: row; 
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  line-height: 1.2;
  gap: 4px;
}


.contact-info span,
.top-bar span,
.top-bar a {
  margin-right: 20px;
  display: inline-flex;
  color: #fff;
  align-items: center;
  text-decoration: none;
}

.contact-info img,
.top-bar img {
  height: 16px;
  width: auto;
  margin-right: 5px;
  max-width: 100%;
  object-fit: contain;
}


.social-icons a {
  margin-left: 5px;
  background-color: white;
  padding: 5px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icons img {
  height: 18px;
  width: 18px;
}


.logo-header {
  height: 100px;
  width: 85px;
  margin-right: 20px;
  border-radius: 50%;
}

.brand-text h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 35px;
  margin: 0;
  color: white;
  font-weight: 700;
}

.brand-text p {
  font-size: 20px;
  margin-top: 5px;
  color: #f0f0f0;
  font-weight: 400;
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
}

/* Navbar */
.navbar {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  background-color: white;
  display: flex;
  align-items: center;
  padding: 0 20px;
  flex-wrap: wrap;
}

.navbar.navbar-fixed {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  width: 100%;
}



/* Menú principal */
.main-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.main-menu-item {
  position: relative;
}

.main-menu-link {
  display: block;
  padding: 15px 20px;
  color: #99001f;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.main-menu-link:hover {
  background-color: white;
}

.main-menu-link.active {
  color: #191970;
  font-weight: 600;
  border-radius: 10px;
}

/* Submenú */
.submenu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #99001f;
  display: none;
  flex-direction: column;
  min-width: 250px;
  z-index: 1000;
  padding: 10px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.main-menu-item:hover .submenu {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.submenu-item {
  padding: auto;
}

.submenu-link {
  padding: 10px 12px;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: block;
}

.submenu-link:hover {
  background-color: white;
  color: #99001f;
}

/* Contenido principal */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  animation: fadeInUp 0.8s ease-out;
}

/* Botón hamburguesa */
.hamburger-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  gap: 4px;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: #99001f;
  transition: all 0.3s ease;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger-btn {
    display: flex;
  }

  .main-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  .main-menu.active {
    display: flex;
  }

  .main-menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
  }

  .main-menu-link::after {
    content: '+';
    font-size: 18px;
    font-weight: bold;
    color: #99001f;
  }

  .main-menu-item.active .main-menu-link::after {
    content: '-';
  }

  .submenu {
    display: none;
    position: static;
    background: #99001f;
    padding: 10px 0;
    margin-left: 20px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
  }


  .submenu.active {
    display: block;
  }

  .submenu-link {
    padding: 12px 16px;
    color: #fff;
    text-decoration: none;
    display: block;
  }

  .main-menu-item:hover .submenu {
    display: none;
  }

  .main-menu-item.active:hover .submenu {
    display: block !important;
  }

  .submenu-link:hover {
    background-color: transparent !important;
    color: #ffd700 !important;
  }



  .navbar {
    justify-content: space-between;
    align-items: center;
    position: relative;
  }
}


/*---------INICIO SECCION MAIN*--------------*/

/* Hero - Banner principal */
.hero {
  background: linear-gradient(135deg, rgba(25, 25, 112, 0.8) 0%, rgba(153, 0, 31, 0.8) 100%), url('img/banner3.png') center/cover no-repeat;
  border-radius: 25px;
  padding: 60px 40px;
  margin-bottom: 40px;
  text-align: center;
  box-shadow: 0 25px 50px rgba(116, 0, 0, 0.212);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h2 {
  font-size: 4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.027);
  letter-spacing: -1px;
}

.hero-content h2 i {
  padding-right: 10px;
}

/*
.hero-content p {
  font-size: 2rem;
  color: #ffffff;
  font-weight: 300;
  margin: 0;
  opacity: 0.95;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.068);
}*/


.btn-convenio {
  background-color: #ffffff;
  color: #99001f;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}



/* Presentación institucional */
.presentation {
  background-color: white;
  margin: 10px;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-left: 6px solid #191970;
}

.presentation h3 {
  font-size: 26px;
  margin-bottom: 15px;
  color: #191970;
  position: relative;
}

.presentation h3::after {
  content: '';
  width: 50px;
  height: 3px;
  background-color: #807380;
  display: block;
  margin-top: 8px;
}

.presentation p {
  color: #555;
  line-height: 1.7;
}

/* Programas de estudio */
.programs {
  background-color: #f9f9fc;
  padding: 50px 20px;
  margin: 20px;
  border-radius: 12px;
  box-shadow: inset 0 0 20px rgba(25,25,112,0.05);
}

.programs h3 {
  text-align: center;
  font-size: 35px;
  color: #191970;
  margin-bottom: 40px;
}

.program-list {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.program-card {
  background-color: white;
  padding: 25px;
  width: 400px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid #807380;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.program-card h4 {
  color: #99001f;
  font-size: 20px;
  margin-bottom: 12px;
}

.program-card a {
  color: #191970;
  text-decoration: none;
  font-size: 20px;
  line-height: 1.5;
}

.program-card a:hover {
  color: #99001f;
}

.program-card p {
  color: #444;
  font-size: 14px;
  line-height: 1.5;
}

.program-card img {
  padding: 10px;
  width: 100%;
  max-height: 200px;
  
}
/* Responsive */
@media (max-width: 768px) {
  .hero {
    margin-top: 10px;
    z-index: 1;
  }

  .hero-content h2 {
    font-size: 26px;
  }

  .hero-content p {
    font-size: 16px;
  }


  .program-list {
    flex-direction: column;
    align-items: center;
  }

  .program-card {
    width: 100%;
    max-width: 320px;
  }
}
/*---------FIN SECCION MAIN*--------------*/

/* Animaciones de carga */
.hero,
.presentation,
.programs,
.team-section {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/*footer*/

.footer {
  background: linear-gradient(135deg, rgba(25, 25, 112, 0.9) 0%, rgba(153, 0, 31, 0.9) 100%);
  color: white;
  padding: 60px 20px;
  font-size: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); /* Distribuye las secciones */
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  text-align: left;
}

.footer-section {
  flex: 1 1 220px;
  margin: 25px;
}

.footer-section h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #ffd700; /* Color del título */
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 2px solid #ffd700; /* Línea de subrayado */
  padding-bottom: 10px;
}

.footer-logo {
  height: 60px;
  margin-bottom: 10px;
  border-radius: 50%;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #ffd700;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  background-color: white;
  color: #99001f;
  border-radius: 50%;
  padding: 5px;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 10px;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.social-icons a:hover {
  background-color: #99001f;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #444;
  padding-top: 15px;
  font-size: 15px;
  color: #ccc;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-section {
    margin: 20px 0;
  }

  .social {
    height: 80px;
  }

  .social-icons {
    justify-content: center;
  }
}


.footer-logo {
  height: 75px;
  margin-bottom: 10px;
  border-radius: 50%;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #ffd700;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  background-color: white;
  color: #99001f;
  border-radius: 50%;
  padding: 5px;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 10px;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.social-icons a:hover {
  background-color: #99001f;
  color: white;
  transform: translateY(-5px); /* Efecto hover sutil */
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #ccc;
  padding-top: 15px;
  font-size: 12px;
  color: #ccc;
  font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr; /* Una sola columna en móviles */
    gap: 20px;
  }

  .footer-section {
    text-align: center;
  }

  .footer-section h3 {
    font-size: 16px;
  }

  .social-icons a {
    font-size: 20px;
    margin-bottom: 10px;
  }
}

 .imagen-container {
      max-width: 800px;   /* límite máximo opcional */
      margin: 0 auto;     /* centra horizontalmente el contenedor */
      padding: 20px;
    }

    .imagen-container img {
      width: 100%;        /* ocupa todo el ancho del contenedor */
      height: auto;       /* mantiene proporción */
      display: block;     /* quita espacio debajo de la imagen */
      border-radius: 10px;
    }

/*para los gruspo*/

    .grupo {
      margin-bottom: 40px;
    }

    .grupo h3 {
      text-align: center;
      margin-bottom: 20px;
    }

    .fila {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 20px;
    }

    .persona {
      width: 250px;
      text-align: center;
      background-color: #fff;
      border-radius: 10px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      padding: 15px;
      cursor: pointer;
      transition: transform 0.2s ease;
    }

    .persona:hover {
      transform: scale(1.03);
    }

    .persona img {
      width: 100%;
      border-radius: 8px;
    }

    .persona p {
      margin-top: 10px;
      font-weight: 500;
    }

    /* Modal */
    .grupo {
      margin-bottom: 40px;
    }

    .grupo h3 {
      text-align: center;
      margin-bottom: 20px;
    }

    .fila {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 20px;
    }

    .persona {
      width: 250px;
      text-align: center;
      background-color: #fff;
      border-radius: 10px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      padding: 15px;
      cursor: pointer;
      transition: transform 0.2s ease;
    }

    .persona:hover {
      transform: scale(1.03);
    }

    .persona img {
      width: 100%;
      border-radius: 8px;
    }

    .persona p {
      margin-top: 10px;
      font-weight: 500;
    }

    /* Modal */
    .modal {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.7);
      justify-content: center;
      align-items: center;
      z-index: 9999;
    }

    .modal-contenido {
      width: 90%;
      max-width: 900px;
      background: white;
      border-radius: 10px;
      overflow: hidden;
      position: relative;
    }

    .modal iframe {
      width: 100%;
      height: 600px;
      border: none;
    }

    .cerrar {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 24px;
      font-weight: bold;
      color: #333;
      cursor: pointer;
    }

    .cerrar:hover {
      color: red;
    }

    /*nuevos*/
    .document-container {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            justify-content: center;
        }
        
        .document-card {
            background: white;
            border-radius: 15px;
            box-shadow: 0 10px 20px rgba(0,0,0,0.08);
            padding: 30px;
            width: 100%;
            max-width: 350px;
            transition: transform 0.3s ease;
        }
        
        .document-card:hover {
            transform: translateY(-5px);
        }
        
        .document-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid #ecf0f1;
        }
        
        .document-meta {
            margin: 20px 0;
            color: #7f8c8d;
        }
        
        .meta-item {
            display: flex;
            margin-bottom: 10px;
            font-size: 1rem;
        }
        
        .meta-label {
            font-weight: 600;
            width: 80px;
        }
        
        .button-container {
            display: flex;
            gap: 15px;
            margin-top: 25px;
            color: #191970;
        }
        
        .btn {
            flex: 1;
            padding: 12px 20px;
            border-radius: 8px;
            font-weight: 600;
            text-transform: uppercase;
            font-size: 0.85rem;
            letter-spacing: 0.5px;
            cursor: pointer;
            border: none;
            transition: all 0.3s ease;
            text-align: center;
            text-decoration: none;
            display: inline-block;
        }
        
        .download-btn {
            background: #191970;
            color: white;
            box-shadow: 0 4px 10px rgba(25, 25, 112, 0.3);
        }

        .ver-convenio {
            background: #99001f;
            color: white;            
            box-shadow: 0 2px 2px rgba(52, 152, 219, 0.3);
        }
        
        .download-btn:hover {
            background: #807380;
            color: #fff;
            box-shadow: 0 6px 15px rgba(68, 68, 67, 0.4);
        }
        
        .preview-btn {
            background: #191970;
            color: white;
        }
        
        .preview-btn:hover {
            background: #807380;
            color: #fff;
        }
        
        @media (max-width: 768px) {
            .document-container {
                flex-direction: column;
                align-items: center;
            }
            
            .document-card {
                max-width: 100%;
            }
        }
      
/* Estilos para la sección del equipo */
.team-section {
    margin: 40px 0;
}

.team-title {
    text-align: center;
    font-size: 35px;
    color: #191970;
    margin-bottom: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.director-general {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 350px;
    margin-bottom: 20px;
}

.team-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .team-row {
        grid-template-columns: 1fr;
    }
}

.team-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.team-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: block;
}

.team-name {
    color: #191970;
    margin: 10px 0;
    font-size: 1.2em;
}

.team-position {
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-link {
    color: #191970;
    font-size: 18px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    color: #cc0026;
    transform: scale(1.2);
}
/* Estilos para menú sticky */
.navbar-fixed, .navbar-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 100%;
}
/* Asegurar que los contenedores no interfieran con sticky */
#menu-container {
    position: relative;
    z-index: 999;
}

#header-container {
    position: relative;
    z-index: 998;
}
/* Sección de Contacto */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 20px;
    margin: 40px 0;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3, .contact-form h3 {
    color: #191970;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-info p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 16px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-item i {
    color: #191970;
    font-size: 20px;
    width: 25px;
}

.contact-item span {
    color: #333;
    font-weight: 500;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-input {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #191970;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    background: #191970;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.btn-submit:hover {
    background: #807380;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .contact-info h3, .contact-form h3 {
        font-size: 24px;
    }
}

/* Estilos para banner de programa de estudio */
.program-banner {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 20px;
  border:2px solid #99001f;box-shadow:0 0 20px rgba(153,0,31,0.3);
  background-size: cover;
  background-position: center;
  margin: 0;
}

.program-title-container {
  position: absolute;
  bottom: 60px;
  left: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.program-title-bg {
  background-color: rgba(0,0,0,0.7);
  padding: 10px 20px;
  border-radius: 5px;
}

.program-title {
  margin: 0;
  color: white;
  font-size: 40px;
  font-weight: 600;
}

.program-quote-container {
  position: absolute;
  bottom: 5px;
  right: 20px;
  background-color: rgba(0,0,0,0.7);
  padding: 10px 20px;
  border-radius: 5px;
}

.program-quote {
  margin: 0;
  color: white;
  font-size: 16px;
  font-weight: 500;
}

/* Responsive para banner de programa */
@media (max-width: 768px) {
  .program-banner {
    height: 250px;
  }
  
  .program-title {
    font-size: 20px;
  }

  .program-title-bg {
    padding: 10px;
  }
  
  .program-title-container {
    bottom: 55px;
    left: 7px;
  }
  
  .program-quote {
    font-size: 12px;
    text-align: center;
  }
  
  .program-quote-container {
    border-radius: 10px;
    bottom: 7px;
    right: 7px;
    left: 7px;
    padding: 3px;
  }
}
/* Efectos hover para elementos del footer */
.footer-section ul li {
  transition: all 0.3s ease;
  border-radius: 5px;
  padding: 5px 10px;
}

.footer-section ul li:hover {
  background-color: #fff;
  transform: translateX(5px);
}

.footer-section ul li:hover a {
  color: #99001f !important;
}
/* Reducir espacio de la sección social en móviles */
@media (max-width: 768px) {
  .footer-section.social {
    margin: 10px 0 5px 0;
  }
}
/* Corregir altura de la sección social en móviles */
@media (max-width: 768px) {
  .footer-section.social {
    flex: none;
    margin: 10px 0 5px 0;
    min-height: auto;
  }
}
.footer-section.about img {
  max-width: 100px;
  margin-bottom: 15px;
}
.footer-section p {
  margin-bottom: 10px;
  line-height: 1.6;
}
.footer-section.links ul {
  padding: 0;
  list-style: none;
}
.footer-section.links ul li {
  margin-bottom: 10px;
}
.footer-section.links ul li a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}
.footer-section.about {
  border-bottom: 2px solid #ffd700; /* Línea de subrayado en color amarillo */
  padding-bottom: 20px; /* Espaciado para el subrayado */
}