
.banner-cursos {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.banner-cursos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.641), rgba(0, 0, 0, 0.4)),
              url('../recursos/cienciashumanasbanner.avif') center/cover;
  z-index: 1;
}


.figuras-geometricas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.figura {
  position: absolute;
  opacity: 0.8;
}

.figura.circulo {
  width: 50px;
  height: 50px;
  border: 3px solid #ff6b6b;
  border-radius: 50%;
}

.figura.triangulo {
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 50px solid #ffd93d;
}

.figura.rombo {
  width: 40px;
  height: 40px;
  border: 3px solid #ffb347;
  transform: rotate(45deg);
}

.figura.cuadrado {
  width: 35px;
  height: 35px;
  border: 3px solid #95e1d3;
}

/* Posiciones */
.figura:nth-child(1) { top: 15%; left: 22%; }
.figura:nth-child(2) { top: 25%; left: 8%; }
.figura:nth-child(3) { top: 20%; left: 18%; }
.figura:nth-child(4) { top: 40%; right: 25%; }
.figura:nth-child(5) { bottom: 25%; right: 15%; }
.figura:nth-child(6) { bottom: 30%; right: 20%; }
.figura:nth-child(7) { bottom: 15%; left: 15%; }
.figura:nth-child(8) { top: 50%; left: 5%; }


.titulo-banner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  color: #fff;
  font-size: 5rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
  text-align: center;
}


@keyframes flotar {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

@keyframes girar {
  0%, 100% { transform: rotate(45deg); }
  50% { transform: rotate(225deg); }
}

.figura:nth-child(odd) {
  animation: flotar 4s ease-in-out infinite;
}

.figura.rombo {
  animation: girar 6s ease-in-out infinite;
}

    .hero-section {
        display: flex;
        min-height: 100vh;
        background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    }

    .content-container {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 60px 80px;
        max-width: 700px;
    }

    .hero-title {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 30px;
        line-height: 1.2;
    }

    

    .hero-description {
        font-size: 1.125rem;
        color: #4b5563;
        margin-bottom: 40px;
        line-height: 1.7;
    }

    .features-list {
        list-style: none;
        margin-bottom: 50px;
    }

    .feature-item {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 20px;
        font-size: 1.125rem;
        color: #1f2937;
    }

 
    .check-icon::after {
        content: '✓';
        color: white;
        font-weight: bold;
        font-size: 16px;
    }



    .cta-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    }

    .image-container {
        flex: 1;
        position: relative;
        overflow: hidden;
        
    }

    .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .image-container img{
        width: 100%;
    }

    @media (max-width: 1024px) {
        .hero-section {
            flex-direction: column;
        }

        .content-container {
            padding: 40px 40px;
            max-width: 100%;
        }

        .hero-title {
            font-size: 2.5rem;
        }

        .image-container {
            min-height: 400px;
        }
    }

    @media (max-width: 768px) {
        .content-container {
            padding: 30px 20px;
        }

        .hero-title {
            font-size: 2rem;
        }

        .hero-description {
            font-size: 1rem;
        }

        .feature-item {
            font-size: 1rem;
        }

        .cta-button {
            width: 100%;
            text-align: center;
        }
    }

/* Responsive */
@media (max-width: 768px) {
  .banner-cursos {
    height: 300px;
  }

  .titulo-banner {
    font-size: 3rem;
  }

  .figura {
    transform: scale(0.7);
  }
}

@media (max-width: 480px) {
  .banner-cursos {
    height: 250px;
  }

  .titulo-banner {
    font-size: 2.2rem;
    letter-spacing: 1px;
  }

  .figura {
    transform: scale(0.5);
  }
}
/* Solo para la vista Ciencias Humanas */
#ciencias-humanas .hero-title .highlight {
    color: #d12ae1; /* color nuevo */
}

#ciencias-humanas .check-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #d12ae1 0%, #d12ae1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#ciencias-humanas .cta-button {
    background: linear-gradient(135deg, #d12ae1 0%, #d12ae1 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    align-self: flex-start;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(209, 42, 225, 0.3);
}

/* Solo para la vista Derecho */
#derecho .hero-title .highlight {
    color: #fe8a00; /* color de Derecho */
}

#derecho .check-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #fe8a00 0%, #fe8a00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#derecho .cta-button {
    background: linear-gradient(135deg, #fe8a00 0%, #fe8a00 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    align-self: flex-start;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 127, 251, 0.3);
}

/* Solo para la vista Ciencias Empresariales */
#ciencias-empresariales .hero-title .highlight {
    color: #007ffb; /* color de Ciencias Empresariales */
}

#ciencias-empresariales .check-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #007ffb 0%, #007ffb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#ciencias-empresariales .cta-button {
    background: linear-gradient(135deg, #007ffb 0%, #007ffb 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    align-self: flex-start;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 127, 251, 0.3);
}


/* Solo para la vista Arquitectura */
#arquitectura .hero-title .highlight {
    color: #d1b699; /* color de Arquitectura */
}

#arquitectura .check-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #d1b699 0%, #d1b699 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#arquitectura .cta-button {
    background: linear-gradient(135deg, #d1b699 0%, #d1b699 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    align-self: flex-start;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(209, 182, 153, 0.3);
}

/* Solo para la vista Tecnología */
#tecnologia .hero-title .highlight {
    color: #019f6e; /* color de Tecnología */
}

#tecnologia .check-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #019f6e 0%, #019f6e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#tecnologia .cta-button {
    background: linear-gradient(135deg, #019f6e 0%, #019f6e 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    align-self: flex-start;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(1, 159, 110, 0.3);
}

/* Solo para la vista Idiomas */
#idiomas .hero-title .highlight {
    color: #7c3aed; /* color de Idiomas */
}

#idiomas .check-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #7c3aed 0%, #7c3aed 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#idiomas .cta-button {
    background: linear-gradient(135deg, #7c3aed 0%, #7c3aed 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    align-self: flex-start;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}


 #ciencias-empresariales .banner-cursos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.641), rgba(0, 0, 0, 0.4)),
              url('../recursos/empresarialbanner.avif') center/cover;
  z-index: 1;
}
#derecho  .banner-cursos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.641), rgba(0, 0, 0, 0.4)),
              url('../recursos/derechobanner.avif') center/cover;
  z-index: 1;
}
#derecho  .banner-cursos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.641), rgba(0, 0, 0, 0.4)),
              url('../recursos/derechobanner.avif') center/cover;
  z-index: 1;
}
#arquitectura  .banner-cursos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.641), rgba(0, 0, 0, 0.4)),
              url('../recursos/arquitecturabanner.avif') center/cover;
  z-index: 1;
}
#tecnologia  .banner-cursos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.641), rgba(0, 0, 0, 0.4)),
              url('../recursos/ingenieriabanner.avif') center/cover;
  z-index: 1;
}
#idiomas .banner-cursos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.641), rgba(0, 0, 0, 0.4)),
              url('../recursos/empresarialbanner.avif') center/cover;
  z-index: 1;
}
/* ========== RESPONSIVE PARA TABLET ========== */
@media (max-width: 1024px) {
    /* Banner */
    .banner-cursos {
        height: 350px;
    }

    .titulo-banner {
        font-size: 4rem;
        letter-spacing: 2px;
    }

    .figura {
        transform: scale(0.85);
    }

    /* Hero Section */
    .hero-section {
        flex-direction: column;
        min-height: auto;
    }

    .content-container {
        padding: 50px 60px;
        max-width: 100%;
    }

    .hero-title {
        font-size: 3rem;
        margin-bottom: 25px;
    }

    .hero-description {
        font-size: 1.0625rem;
        margin-bottom: 35px;
    }

    .features-list {
        margin-bottom: 40px;
    }

    .feature-item {
        font-size: 1.0625rem;
        margin-bottom: 18px;
    }

    .image-container {
        min-height: 450px;
        max-height: 500px;
    }

    .cta-button {
        padding: 16px 35px;
        font-size: 1.0625rem;
    }
}

/* ========== RESPONSIVE PARA TABLET PEQUEÑA ========== */
@media (max-width: 768px) {
    /* Banner */
    .banner-cursos {
        height: 300px;
    }

    .titulo-banner {
        font-size: 3rem;
        letter-spacing: 1.5px;
    }

    .figura {
        transform: scale(0.7);
    }

    /* Hero Section */
    .content-container {
        padding: 40px 30px;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
        line-height: 1.6;
    }

    .features-list {
        margin-bottom: 35px;
    }

    .feature-item {
        font-size: 1rem;
        margin-bottom: 16px;
        gap: 12px;
    }

    .check-icon {
        width: 28px !important;
        height: 28px !important;
    }

    .check-icon::after {
        font-size: 14px;
    }

    .image-container {
        min-height: 400px;
        max-height: 450px;
    }

    .cta-button {
        width: 100%;
        text-align: center;
        padding: 16px 30px;
        font-size: 1rem;
    }
}

/* ========== RESPONSIVE PARA MÓVILES ========== */
@media (max-width: 480px) {
    /* Banner */
    .banner-cursos {
        height: 250px;
    }

    .titulo-banner {
        font-size: 2.2rem;
        letter-spacing: 1px;
        padding: 0 20px;
    }

    .figura {
        transform: scale(0.5);
    }

    /* Ajustar posiciones de figuras en móvil */
    .figura:nth-child(1) { top: 10%; left: 15%; }
    .figura:nth-child(2) { top: 20%; left: 5%; }
    .figura:nth-child(3) { top: 15%; left: 12%; }
    .figura:nth-child(4) { top: 35%; right: 18%; }
    .figura:nth-child(5) { bottom: 20%; right: 10%; }
    .figura:nth-child(6) { bottom: 25%; right: 15%; }
    .figura:nth-child(7) { bottom: 12%; left: 10%; }

    /* Hero Section */
    .content-container {
        padding: 30px 20px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 18px;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 0.9375rem;
        margin-bottom: 25px;
        line-height: 1.6;
    }

    .features-list {
        margin-bottom: 30px;
    }

    .feature-item {
        font-size: 0.9375rem;
        margin-bottom: 14px;
        gap: 10px;
    }

    .check-icon {
        width: 26px !important;
        height: 26px !important;
    }

    .check-icon::after {
        font-size: 13px;
    }

    .image-container {
        min-height: 350px;
        max-height: 400px;
    }

    .cta-button {
        width: 100%;
        text-align: center;
        padding: 14px 25px;
        font-size: 0.9375rem;
    }
}

/* ========== RESPONSIVE PARA MÓVILES PEQUEÑOS ========== */
@media (max-width: 375px) {
    .banner-cursos {
        height: 220px;
    }

    .titulo-banner {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 0.875rem;
    }

    .feature-item {
        font-size: 0.875rem;
    }

    .image-container {
        min-height: 300px;
    }
}