/* ===== VARIABLES Y ESTILOS BASE ===== */
:root {/* Nueva paleta de colores amarillos/naranjas */
  --primary-color: #FFA500; /* Naranja estándar */
  --secondary-color: #FF8C00; /* Naranja oscuro */
  --accent-color: #FFD700; /* Amarillo oro */
  --light-color: #FFF8E1; /* Amarillo muy claro */
  --dark-color: #333333; /* Negro suave */
  --text-color: #2E2E2E; /* Casi negro para texto */
  --text-light: #666666; /* Gris medio */
  --white: #FFFFFF;
  --gray-light: #FFF9E6; /* Fondo amarillo muy claro *//* Transiciones */
    /* Transiciones */
    --transition: all 0.3s ease;
}
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
  }
  
  h1, h2, h3, h4 {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    color: var(--dark-color);
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  ul {
    list-style: none;
  }
  
  .contenedor {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
  }
  
  .btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 5px;
    transition: var(--transition);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
  }
  
  .btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .section-title {
    color: var(--primary-color);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
  }
  
  .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
  }
  
  .title-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    margin-bottom: 10px;
  }
  
  /* ===== HEADER Y NAVEGACIÓN ===== */
header {
  position: relative;
  overflow: hidden;
    display: flex;
    flex-direction: column;
    
}

.header-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
}

.header-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
}

/* Asegúrate que el contenido tenga z-index mayor para aparecer sobre el fondo */
/* ===== HEADER - BARRA DE NAVEGACIÓN ===== */

.menu-container-header{
    background-color: white;
    padding: 15px 0;
    width: 100%;
    position: fixed;
    z-index: 99999999999999;
}
.menu-container{
  font-family: 'Open Sans', sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 20px;
}




/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    font-family: 'Montserrat', sans-serif;
}

.logo-text span {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray);
    letter-spacing: 0.5px;
}

/* Navigation - Estilo Desktop */
.nav-menu > ul {
    display: flex;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu > ul > li > a {
    padding: 12px 18px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.nav-menu > ul > li > a:hover {
    color: var(--primary-color);
    background-color: rgba(200, 16, 46, 0.05);
}

/* Estilos para móvil */
@media (max-width: 996px) {
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #dbdbdb;
        padding: 10px 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        clip-path: circle(0px at 90% -10%);
        -webkit-clip-path: circle(0px at 90% -10%);
        transition: clip-path 0.5s ease;
        pointer-events: none;
    }
    
    .nav-menu.open {
        clip-path: circle(1500px at 90% -10%);
        -webkit-clip-path: circle(1500px at 90% -10%);
        pointer-events: all;
    }
    
    .nav-menu > ul {
        flex-direction: column;
        gap: 0;
    }
    
    .nav-menu > ul > li {
        width: 100%;
    }
    
    .nav-menu > ul > li > a {
        padding: 15px 20px;
        color: #2d2926;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        text-align: left;
        box-sizing: border-box;
    }
    
    .nav-menu > ul > li > a:hover {
        color: #fff;
        background-color: #920000;
    }
}


  /* ===== HERO SECTION ===== */
  .hero {
    flex: 1;
    display: flex;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    color: #ffffff;
    position: relative;
    z-index: 2;
    
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding:1rem 20px 0;
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
    width: 90%;
  }
  
  .hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
  }
  
  .cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
  }
  
  .cta-button:hover {
    transform: translateY(-3px);
    box-shadow:  0 5px 15px var(--primary-color);
    background-color: var(--primary-color);
  }
  
  .wave-divider {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 1;
    height: 100px;
  }
  
  .wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
  }
  
  /* ===== SECCIÓN PERFIL DEL EGRESADO ===== */
  
  .perfil-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
  }
  
  .perfil-gallery-container {
    flex: 0 0 40%;
    min-width: 45%;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  }
  
  .perfil-gallery-slider {
    width: 100%;
    height: 350px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
  }
  
  .gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  
  .gallery-slide.active {
    opacity: 1;
  }
  
  .gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: fill;
  }
  
  .gallery-controls {
    position: absolute;
    bottom: 1rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 10;
  }
  
  .gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    z-index: 20;
  }
  
  .gallery-nav:hover {
    background-color: var(--primary-color);
    color: var(--white);
  }
  
  .gallery-prev {
    left: 15px;
  }
  
  .gallery-next {
    right: 15px;
  }
  
  .gallery-dots {
    display: flex;
    gap: 8px;
    padding: 5px 10px;
    border-radius: 20px;
  }
  
  .gallery-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid white;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .gallery-dots span.active {
    background-color: var(--white);
    transform: scale(1.1);
  }
  
  .perfil-text-container {
    flex: 1;
  }
  
  .perfil-highlights {
    background-color: #f5f5f5;
    padding: 15px 25px;
    border-radius: 8px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .perfil-highlights h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 8px;
  }
  
  .perfil-highlights h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
  }
  
  .competencies-list {
    flex-grow: 1;
  }
  
  .competencies-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-color);
    transition: var(--transition);
  }
  
  .competencies-list li:hover {
    transform: translateX(5px);
  }
  
  .competencies-list li i {
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
    font-size: 1rem;
  }
  
  .perfil-description-full {
    margin-top: 20px;
    line-height: 1.7;
    text-align: justify;
  }
  
  .perfil-description-full p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #555;
  }
  
  .extra-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
    margin: 0;
    will-change: max-height, opacity, margin;
  }
  
  .extra-content.expanded {
    max-height: 1000px;
    opacity: 1;
    margin: 1rem 0;
  }
  
  .read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    margin-top: 0.5rem;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: var(--transition);
    font-size: 1rem;
  }
  
  .read-more-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
  }
  
  .chevron-icon {
    transition: transform 0.1s ease;
  }
  
  .read-more-btn.expanded .chevron-icon {
    transform: rotate(180deg);
  }
  
  /* ===== SECCIÓN NUESTRO TRABAJO ===== */
  .perfil-section{
        background-color: white;
    padding: 30px 0;
  }
    .trabajo-section{
      background-color: #f9faf8;
          padding: 30px 0;
    }
  .evento-section{
    background-color: white;
        padding: 30px 0;
  }
  .trabajo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
  }
  
  .trabajo-card {
    position: relative;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
  }
  
  .trabajo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  }
  
  .trabajo-card .card-icon {
    padding: 1.5rem;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
    opacity: 1;
    transition: var(--transition);
  }
  
  .trabajo-card:hover .card-icon {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  }
  
  .card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    z-index: 0;
  }
  
  .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
  }
  
  .card-content {

    padding: 25px;
    position: relative;
    z-index: 1;
  }
  
  .card-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
  }
  
  .card-content p {
    color: #6b6b66;
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  /* ===== SECCIÓN EVENTOS ===== */
  .evento-section {
    padding: 80px 0 40px;
    position: relative;
  }
  
  .evento-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
  }
  
  .evento-proyectos-container {
    flex: 1;
  }
  
  .proyectos-card {
    background-color: #f5f5f5;
    border-radius: 12px;
    height: 100%;
    padding: 20px 35px;
  }
  
  .evento-subtitle {
    font-size: 1.5rem;
    color: #2c3e50;
    position: relative;
    padding: 0px 1rem 5px 1rem;
  }
  
  .evento-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
  }
  
  .evento-proyectos {
    margin: 25px 0 0;
    padding-left: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
  }
  
  .evento-proyectos li {
    padding: 5px 15px 5px 40px;
    color: #2c3e50;
    border-radius: 6px;
    position: relative;
    bottom: 1rem;
    transition: var(--transition);
    font-weight: 500;
  }
  
  .evento-proyectos li:hover {
    transform: translateX(5px);
  }
  
  .evento-proyectos li i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 0.9rem;
  }
  
  .evento-gallery {
    margin: auto 0px;
    flex: 1.5;
    min-width: 30%;
    height: 350px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  }
  
  .evento-slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
  }
  
  .evento-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  
  .evento-slide.active {
    opacity: 1;
  }
  
  .evento-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .evento-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    z-index: 20;
  }
  
  .evento-nav:hover {
    background-color: var(--primary-color);
    color: var(--white);
  }
  
  .evento-prev {
    left: 15px;
  }
  
  .evento-next {
    right: 15px;
  }
  
  .evento-controls {
    position: absolute;
    bottom: 1rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
  }
  
  .evento-dots {
    display: flex;
    gap: 8px;
    padding: 5px 10px;
    border-radius: 20px;
  }
  
  .evento-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid white;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .evento-dots span.active {
    background-color: var(--white);
    transform: scale(1.1);
  }
  
  .evento-description {
    border-radius: 12px;
    margin-top: 40px;
  }
  
  .evento-description p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
    text-align: justify;
  }
  
  .evento-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    margin-top: 15px;
    transition: var(--transition);
  }
  
  .evento-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
  }
  
  .evento-link:hover {
    color: var(--accent-color);
  }
  
  .evento-link:hover i {
    transform: translateX(5px);
  }
  
  /* ===== SECCIÓN TESTIMONIOS ===== */
  .section-header-testimonios{
   text-align: center;

  }
  .testimonios-section {
    padding: 20px 0;
    width: 100%;
    position: relative;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.3) 0%, rgba(26, 26, 26, 0.8) 100%), 
                url(/imgnuevas/escuela/escuela3.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }
  
  .section-title-testimonios {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
  }
  
  .section-title-testimonios:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--white), var(--primary-color));
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
  }
  
  .section-subtitle {
    color: #ffffff;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
  }
  
  .testimonios-slider {
    margin: auto;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
    padding: 0 60px;
  }
  
  .testimonios-track {
    display: flex;
    transition: transform .5s ease;
  }
  
  .testimonio-card {
    min-width: 100%;
    padding: 0 15px;
    transition: var(--transition);
  }
  
  .testimonio-card:not(.active) {
    opacity: 0.6;
    filter: blur(1px);
    transform: scale(0.9);
  }
  
  .testimonio-content {
    display: flex;
    flex-direction: row-reverse;
    border-radius: 13px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    height: 100%;
    position: relative;
    overflow: hidden;
  }
  
  .testimonio-year {
    position: absolute;
    z-index: 9999999;
    outline: 2px solid var(--primary-color);
    top: 20px;
    right: 20px;
    background-color: var(--light-color);
    color: var(--dark-color);
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
  }
  
  .testimonio-text {
    height: auto;
    background-color: #fff;
    border-radius: 12px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    position: relative;
    margin: auto;
    padding: 20px;
  }
  
  .testimonio-author {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 80%;
  }
  
  .author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--light-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  }
  
  .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .author-info h4 {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-size: 1.5rem;

  }
  
  .author-info p {
    color: #add8e6;
    font-size: 1rem;
  }
  
  .slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
    z-index: 10;
  }
  
  .slider-nav:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
  }
  
  .slider-prev {
    left: 1rem;
  }
  
  .slider-next {
    right: 1rem;
  }
  
  .slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 40px;
  }
  
  .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 8px;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .dot.active {
    outline: 1px solid #ffffff;
    background-color: var(--primary-color);
    transform: scale(1.2);
  }
  
  /* ===== FOOTER ===== */
  
  .footer-section {
    background-color: #333;
    color: var(--light-color);
    padding: 60px 0 20px;
    position: relative;
  }
  .footer-social-link:hover{
    transform: translateY(-3px);
  }
  .footer-social-link:nth-child(1):hover{ color: white; background-color: #1877F2;}
  .footer-social-link:nth-child(2):hover{ color: white; background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);}
  .footer-social-link:nth-child(3):hover{ color: white; background: #FF0000;}
  
  .footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .footer-column {
    margin-bottom: 30px;
  }
  
  .footer-title {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
  }
  
  .footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
  }
  
  .footer-contact-info {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
  }
  
  .footer-social-link {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
  }
  
  .footer-social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
  }
  
  .footer-contact-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 3px;
  }
  
  .footer-map-container {
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .footer-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
  }
  

  
  /* ===== BOTÓN IR ARRIBA ===== */
  .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
  }
  
  .back-to-top.active {
    opacity: 1;
    visibility: visible;
  }
  
  .back-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
  }
  #Testimonios{
    scroll-margin-top: 100px;
}
.hamburger{
    display: none;
}
  
  /* ===== MEDIA QUERIES ===== */
  @media (max-width: 992px) {
    .section-header-testimonios{
        margin-bottom: 2rem;
     
       }
    .hero-content{
        padding:0 ;
        width: 100%;
    }
    .perfil-gallery-slider,
    .evento-slider {
      height: 250px;
    }
    
    .perfil-gallery-container {
      width: 100%;
    }
  
    #PDE {
      flex-direction: column;
    }
    
    .section-title {
      font-size: 2rem;
    }
    
    .perfil-content, .evento-content {
      flex-direction: column-reverse;
    }
  }
  /* ===== ICONO SWIPE HORIZONTAL PARA MÓVIL ===== */

  
  @media (max-width: 996px) {
    .card-content{
      height: auto;
      padding-bottom: 25px;
    }
    .trabajo-grid {
      display: flex;
      gap: 30px;
      flex-wrap: wrap;
      align-items: center;
    }
    
    header,.testimonios-section {
      background-attachment:local;
      height: 100vh;
    }
    .gallery-nav:hover {
        background-color:var(--white) ;
        color: var(--primary-color);
      }
      .evento-nav:hover{
        background-color:var(--white) ;
        color: var(--primary-color);
      }
     .hero{
      padding: 0 2px;
     }
    .hero h1 {
      font-size: 2.5rem;
    }
    
    .hero-subtitle {
      font-size: 1.2rem;
    }
    
    .cta-button {
      padding: 12px 25px;
      font-size: 0.9rem;
    }
    
    .wave-divider svg {
      display: none;
      height: 60px;
    }
    
    #perfil-egresado,
    #nuestro-trabajo,
    #microevento,
    #Testimonios,
    #footer {
      scroll-margin-top: 5rem;
    }
    #Testimonios{
        height: auto;
    }
    .proyectos-card{
        padding: 15px 25px;
    }
    
    .contenedor {
      width: 100%;
      padding: 0 1.5rem;
    }
    
    .section-title {
      font-size: 1.8rem;
    }
    
    .evento-content {
      gap: 30px;
      margin-bottom: 30px;
    }
    
    .evento-section {
      padding: 50px 0 30px;
    }
    
/* Menú móvil */
    .hamburger {
      display: block;
      position: relative;
      z-index: 1001;
      background: var(--primary-color) ;
      border: none;
      border-radius: 4px;
      width: 44px;
      height: 44px;
    }
  
    .hamburger span {
      display: block;
      width: 25px;
      height: 3px;
      
      background: white;
      margin: 5px auto;
      transition: var(--dark-color);
    }
    
    .hamburger.active span:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
      opacity: 0;
      transform: translateX(-20px);
    }
    
    .hamburger.active span:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-links {
      position: fixed;
      top: 4.9rem;
      right: -100%;
      width: 100%;
      background-color: var(--white);
      flex-direction: column;
      padding: 2rem 20px 20px;
      z-index: 998;
      transition: var(--transition);
    }
        
    .nav-links.active {
      right: 0;
    }
    
    .nav-links a {
      margin: 10px 0;
      padding: 12px 20px;
      width: 100%;
      text-align: left;
    }
    
    .contact-btn {
      margin: 15px 0 0 !important;
      display: block;
      text-align: center;
      width: 100%;
    }
    
    .menu-overlay {
      position: fixed;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 997;
      opacity: 0;
      visibility: hidden;
      transition: var(--transition);
    }
  
    .menu-overlay.active {
      opacity: 1;
      visibility: visible;
    }
  
    body.menu-open {
      overflow-y: scroll;
      overflow-x: hidden;
      height: 100vh;
    }
    
    /* Testimonios */
    .testimonios-slider {
        padding: 0 20px !important; /* Reducir el padding lateral */
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    
    .testimonios-track {
        width: 100% !important;
    }
    
    .testimonio-card {
        height: 100%;
        min-width: 100% !important;
        padding: 0 5px !important; /* Reducir el padding interno */
    }
    
    .testimonio-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important; /* Ajustar el padding */
        flex-direction: column-reverse !important;
    }
    
    .testimonio-text {
        height: auto;
        width: 85% !important;
        margin-bottom: 0 !important;
    }
    
    .testimonio-author {
            width: 100% !important;
            padding:0 10px ;
            display: flex;
            flex-direction: column;
            align-items: center;
          
    }
    
    .slider-nav {
        display: none !important; /* Ocultar flechas de navegación en móvil */
    }
    
    .slider-dots {
        margin-top: 20px !important;
    }
}
  
  @media (max-width: 576px) {

    #menu a {
      width: 100%;
      margin: 5px 4px;
      font-size: 0.9rem;
    }
    
    .hero h1 {
      font-size: 2rem;
    }
    
    .section-title {
      font-size: 1.6rem;
    }
    
    .gallery-container, .evento-slider {
      height: 250px;
    }
    
    .testimonios-track {
      touch-action: pan-y;
    }
    
    .testimonio-card {
      width: 100%;
      padding-right: 20px;
      user-select: none;
      -webkit-user-drag: none;
    }
  }
