.ellipsis-line-1 {
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}
.course-item-one .content .title:has(~ .info) {
    padding-bottom: 5px;
}

/* Instructor Slider Styles - Home 7 Only */
.expert-instructor.home_7 .instructor-slider-nav {
    display: flex !important;
    gap: 10px !important;
    justify-content: flex-end !important;
}

.expert-instructor.home_7 .slider-nav-btn {
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 2px solid #754ffe !important;
    color: #754ffe !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 16px !important;
}

.expert-instructor.home_7 .slider-nav-btn:hover {
    background: #754ffe !important;
    color: #ffffff !important;
    transform: scale(1.1) !important;
}

.expert-instructor.home_7 .slider-nav-btn:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

.expert-instructor.home_7 .slider-nav-btn:disabled:hover {
    background: #ffffff !important;
    color: #754ffe !important;
    transform: scale(1) !important;
}

.expert-instructor.home_7 .instructor-slider-container {
    overflow: hidden !important;
    position: relative !important;
}

.expert-instructor.home_7 .instructor-slider-wrapper {
    display: flex !important;
    gap: 20px !important;
    transition: transform 0.5s ease !important;
}

.expert-instructor.home_7 .instructor-slide {
    flex: 0 0 calc(25% - 15px) !important;
    min-width: calc(25% - 15px) !important;
}

/* Instructor Cards Styles - Home 7 Only */
.expert-instructor.home_7 .modern-instructor-card {
    margin-bottom: 30px !important;
}

.expert-instructor.home_7 .instructor-card-modern {
    position: relative !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    height: 350px !important;
    cursor: pointer !important;
    background: transparent !important;
    border: none !important;
}

.expert-instructor.home_7 .instructor-card-modern:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.expert-instructor.home_7 .instructor-image-container {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    border-radius: 15px !important;
}

.expert-instructor.home_7 .instructor-image-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    transition: transform 0.3s ease !important;
    border-radius: 15px !important;
}

.expert-instructor.home_7
    .instructor-card-modern:hover
    .instructor-image-container
    img {
    transform: scale(1.05) !important;
}

.expert-instructor.home_7 .instructor-overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)) !important;
    padding: 40px 20px 20px !important;
    color: white !important;
    border-radius: 0 0 15px 15px !important;
}

.expert-instructor.home_7 .instructor-info {
    text-align: center !important;
}

.expert-instructor.home_7 .instructor-name {
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-bottom: 0 !important;
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.expert-instructor.home_7 .social-links-hover {
    display: flex !important;
    gap: 10px !important;
    justify-content: center !important;
    opacity: 0 !important;
    transform: translateY(10px) !important;
    transition: all 0.3s ease !important;
    margin-top: 15px !important;
}

.expert-instructor.home_7 .instructor-card-modern:hover .social-links-hover {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.expert-instructor.home_7 .social-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 35px !important;
    height: 35px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    color: white !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
    position: relative !important;
    z-index: 20 !important;
    cursor: pointer !important;
}

.expert-instructor.home_7 .social-link:hover {
    background: rgba(255, 255, 255, 0.4) !important;
    transform: scale(1.1) !important;
    color: white !important;
    text-decoration: none !important;
}

.expert-instructor.home_7 .social-link i {
    font-size: 16px !important;
}

.expert-instructor.home_7 .instructor-link {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100% - 60px) !important;
    z-index: 10 !important;
    text-decoration: none !important;
}

/* Override for existing instructor card styles */
.expert-instructor.home_7 .instructor-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.expert-instructor.home_7 .instructor-card .instructor-card-body {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.expert-instructor.home_7 .instructor-card .instructor-card-body img,
.expert-instructor.home_7 .instructor-image-container img {
    object-fit: cover !important;
    border-radius: 15px !important;
}

/* Responsive adjustments for home 7 */
@media (max-width: 768px) {
    .expert-instructor.home_7 .instructor-card-modern {
        height: 300px !important;
    }

    .expert-instructor.home_7 .instructor-overlay {
        padding: 30px 15px 15px !important;
    }

    .expert-instructor.home_7 .instructor-name {
        font-size: 14px !important;
    }

    .expert-instructor.home_7 .social-link {
        width: 30px !important;
        height: 30px !important;
    }

    .expert-instructor.home_7 .social-link i {
        font-size: 14px !important;
    }

    .expert-instructor.home_7 .slider-nav-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 576px) {
    .expert-instructor.home_7 .instructor-slide {
        flex: 0 0 100% !important;
        min-width: 100% !important;
    }
}

@media (max-width: 480px) {
    .expert-instructor.home_7 .instructor-card-modern {
        height: 280px !important;
    }

    .expert-instructor.home_7 .instructor-overlay {
        padding: 25px 10px 10px !important;
    }

    .expert-instructor.home_7 .instructor-name {
        font-size: 13px !important;
    }

    .expert-instructor.home_7 .social-links-hover {
        gap: 8px !important;
        margin-top: 10px !important;
    }

    .expert-instructor.home_7 .social-link {
        width: 28px !important;
        height: 28px !important;
    }

    .expert-instructor.home_7 .social-link i {
        font-size: 12px !important;
    }

    .expert-instructor.home_7 .slider-nav-btn {
        width: 35px !important;
        height: 35px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 1200px) {
    .expert-instructor.home_7 .instructor-slide {
        flex: 0 0 calc(33.333% - 14px) !important;
        min-width: calc(33.333% - 14px) !important;
    }
}

@media (max-width: 992px) {
    .expert-instructor.home_7 .instructor-slide {
        flex: 0 0 calc(50% - 10px) !important;
        min-width: calc(50% - 10px) !important;
    }

    .expert-instructor.home_7 .instructor-slider-nav {
        justify-content: center !important;
        margin-top: 15px !important;
    }
}

/* Modern Category Cards Styles - Home 7 Only */
.top-categories.home_7 .modern-category-card {
    margin-bottom: 20px !important;
    height: 120px !important;
}

.top-categories.home_7 .category-card-modern {
    position: relative !important;
    background: white !important;
    border: 2px solid #f0f0f0 !important;
    border-radius: 15px !important;
    padding: 20px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    height: 100% !important;
    width: 100% !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

.top-categories.home_7 .category-card-modern:hover {
    border-color: #754ffe !important;
    box-shadow: 0 8px 25px rgba(117, 79, 254, 0.15) !important;
    transform: translateY(-3px) !important;
    text-decoration: none !important;
}

.top-categories.home_7 .category-icon-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 12px !important;
    background: #f8f9fa !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
}

.top-categories.home_7 .category-icon-container i {
    font-size: 24px !important;
    color: #6c757d !important;
    transition: all 0.3s ease !important;
}

.top-categories.home_7 .category-card-modern:hover .category-icon-container {
    background: #754ffe !important;
    transform: scale(1.1) !important;
}

.top-categories.home_7 .category-card-modern:hover .category-icon-container i {
    color: white !important;
}

.top-categories.home_7 .category-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.top-categories.home_7 .category-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
    margin: 0 0 5px 0 !important;
    line-height: 1.3 !important;
    transition: all 0.3s ease !important;
}

.top-categories.home_7 .category-card-modern:hover .category-title {
    color: #754ffe !important;
}

.top-categories.home_7 .category-count {
    font-size: 14px !important;
    color: #6c757d !important;
    margin: 0 !important;
    transition: all 0.3s ease !important;
}

.top-categories.home_7 .category-arrow {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 35px !important;
    height: 35px !important;
    border-radius: 50% !important;
    background: #f8f9fa !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
    opacity: 0 !important;
    transform: translateX(-10px) !important;
}

.top-categories.home_7 .category-arrow i {
    font-size: 16px !important;
    color: #6c757d !important;
    transition: all 0.3s ease !important;
}

.top-categories.home_7 .category-card-modern:hover .category-arrow {
    background: #754ffe !important;
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.top-categories.home_7 .category-card-modern:hover .category-arrow i {
    color: white !important;
}

/* Override existing category styles for home 7 */
.top-categories.home_7 .category-product-body {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    transition: none !important;
}

.top-categories.home_7 .category-product-body:hover {
    background: transparent !important;
    transform: none !important;
}

.top-categories.home_7 .cate-icon {
    display: none !important;
}

.top-categories.home_7 .category-hide-icon {
    display: none !important;
}

/* Responsive adjustments for category cards */
@media (max-width: 768px) {
    .top-categories.home_7 .modern-category-card {
        height: 100px !important;
    }

    .top-categories.home_7 .category-card-modern {
        padding: 15px !important;
    }

    .top-categories.home_7 .category-icon-container {
        width: 45px !important;
        height: 45px !important;
    }

    .top-categories.home_7 .category-icon-container i {
        font-size: 20px !important;
    }

    .top-categories.home_7 .category-title {
        font-size: 15px !important;
    }

    .top-categories.home_7 .category-count {
        font-size: 13px !important;
    }

    .top-categories.home_7 .category-arrow {
        width: 30px !important;
        height: 30px !important;
    }

    .top-categories.home_7 .category-arrow i {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .top-categories.home_7 .modern-category-card {
        height: 90px !important;
    }

    .top-categories.home_7 .category-card-modern {
        padding: 12px !important;
        gap: 12px !important;
    }

    .top-categories.home_7 .category-icon-container {
        width: 40px !important;
        height: 40px !important;
        border-radius: 10px !important;
    }

    .top-categories.home_7 .category-icon-container i {
        font-size: 18px !important;
    }

    .top-categories.home_7 .category-title {
        font-size: 14px !important;
    }

    .top-categories.home_7 .category-count {
        font-size: 12px !important;
    }

    .top-categories.home_7 .category-arrow {
        width: 28px !important;
        height: 28px !important;
    }

    .top-categories.home_7 .category-arrow i {
        font-size: 12px !important;
    }
}

/* Brands Carousel Styles */
.brands-section {
    background: #f8f9fa;
    padding: 60px 0;
    margin-top: 15px;
    overflow: hidden;
}

.brands-section h1 {
    font-family: "Clash Grotesk";
    font-size: 42px;
    font-weight: 500;
    color: var(--color-1);
    margin-bottom: 15px;
    text-align: center;
}

.brands-section p {
    font-size: 16px;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.brands-carousel {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.brands-track {
    display: flex;
    gap: 60px;
    align-items: center;
    will-change: transform;
    transition: none;
}

.brands-track.paused {
    /* Clase para pausar cuando hover */
}

.brand-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    min-width: 150px;
}

.brand-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.brand-item img {
    max-height: 60px;
    max-width: 150px;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Estilos para la descripción debajo del carousel */
.brands-description {
    margin-top: 30px;
}

.brands-description p {
    font-size: 16px;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .brands-section {
        padding: 40px 0;
    }

    .brands-description p {
        font-size: 14px;
    }

    .brands-track {
        gap: 40px;
    }

    .brand-item {
        height: 60px;
        min-width: 120px;
    }

    .brand-item img {
        max-height: 40px;
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .brands-section {
        padding: 30px 0;
    }

    .brands-description {
        margin-top: 20px;
    }

    .brands-description p {
        font-size: 13px;
        padding: 0 15px;
    }

    .brands-track {
        gap: 30px;
    }

    .brand-item {
        height: 50px;
        min-width: 100px;
    }

    .brand-item img {
        max-height: 35px;
        max-width: 100px;
    }
}

/* ===== MEJORAS RESPONSIVE PARA TEXTOS Y BOTONES - SECCIÓN PROMOCIONAL ===== */

/* Estilos base mejorados para textos y botones */
.eStudent .student-body-text {
    padding: 30px 40px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    height: 100% !important;
}

.eStudent h1 {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 15px !important;
}

.eStudent p {
    font-size: 16px !important;
    color: #ffffff !important;
    margin-bottom: 25px !important;
    line-height: 1.4 !important;
}

.eStudent a {
    background: #ffffff !important;
    color: #1e293b !important;
    padding: 12px 40px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
    width: fit-content !important;
    margin-top: auto !important;
    min-width: 140px !important;
    text-align: center !important;
}

.eStudent a:hover {
    background: #754ffe !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(117, 79, 254, 0.3) !important;
    border-color: #ffffff !important;
}

/* ===== RESPONSIVE BREAKPOINTS OPTIMIZADOS ===== */

/* Tablets grandes (992px - 1199px) */
@media (max-width: 1199px) {
    .eStudent .student-body-text {
        padding: 25px 35px !important;
    }

    .eStudent h1 {
        font-size: 26px !important;
        margin-bottom: 12px !important;
    }

    .eStudent p {
        font-size: 15px !important;
        margin-bottom: 20px !important;
    }

    .eStudent a {
        padding: 11px 35px !important;
        font-size: 15px !important;
        min-width: 130px !important;
    }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
    .eStudent .student-body-text {
        padding: 20px 30px !important;
    }

    .eStudent h1 {
        font-size: 24px !important;
        margin-bottom: 10px !important;
        line-height: 1.1 !important;
    }

    .eStudent p {
        font-size: 14px !important;
        margin-bottom: 18px !important;
        line-height: 1.3 !important;
    }

    .eStudent a {
        padding: 10px 30px !important;
        font-size: 14px !important;
        min-width: 120px !important;
    }
}

/* Tablets pequeñas (576px - 767px) */
@media (max-width: 767px) {
    .eStudent .student-body-text {
        padding: 18px 25px !important;
    }

    .eStudent h1 {
        font-size: 22px !important;
        margin-bottom: 8px !important;
        line-height: 1.1 !important;
    }

    .eStudent p {
        font-size: 13px !important;
        margin-bottom: 15px !important;
        line-height: 1.3 !important;
    }

    .eStudent a {
        padding: 9px 28px !important;
        font-size: 13px !important;
        min-width: 110px !important;
    }
}

/* Móviles grandes (480px - 575px) */
@media (max-width: 575px) {
    .eStudent .student-body-text {
        padding: 15px 20px !important;
    }

    .eStudent h1 {
        font-size: 20px !important;
        margin-bottom: 6px !important;
        line-height: 1.1 !important;
    }

    .eStudent p {
        font-size: 12px !important;
        margin-bottom: 12px !important;
        line-height: 1.2 !important;
    }

    .eStudent a {
        padding: 8px 24px !important;
        font-size: 12px !important;
        min-width: 100px !important;
    }
}

/* Móviles medianos (400px - 479px) */
@media (max-width: 479px) {
    .eStudent .student-body-text {
        padding: 12px 15px !important;
    }

    .eStudent h1 {
        font-size: 18px !important;
        margin-bottom: 5px !important;
        line-height: 1.1 !important;
    }

    .eStudent p {
        font-size: 11px !important;
        margin-bottom: 10px !important;
        line-height: 1.2 !important;
    }

    .eStudent a {
        padding: 7px 20px !important;
        font-size: 11px !important;
        min-width: 90px !important;
    }
}

/* Móviles pequeños (hasta 399px) */
@media (max-width: 399px) {
    .eStudent .student-body-text {
        padding: 10px 12px !important;
    }

    .eStudent h1 {
        font-size: 16px !important;
        margin-bottom: 4px !important;
        line-height: 1.1 !important;
    }

    .eStudent p {
        font-size: 10px !important;
        margin-bottom: 8px !important;
        line-height: 1.2 !important;
    }

    .eStudent a {
        padding: 6px 18px !important;
        font-size: 10px !important;
        min-width: 80px !important;
    }
}

/* Móviles muy pequeños (hasta 360px) */
@media (max-width: 360px) {
    .eStudent .student-body-text {
        padding: 8px 10px !important;
    }

    .eStudent h1 {
        font-size: 14px !important;
        margin-bottom: 3px !important;
        line-height: 1.1 !important;
    }

    .eStudent p {
        font-size: 9px !important;
        margin-bottom: 6px !important;
        line-height: 1.2 !important;
    }

    .eStudent a {
        padding: 5px 16px !important;
        font-size: 9px !important;
        min-width: 70px !important;
    }
}

/* Instituto Técnico Section Styles */
.instituto-tecnico-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.instituto-tecnico-card {
    background-image: url("../image/image_1.png");
    background-size: cover;
    border-radius: 15px;
    position: relative;
    min-height: 180px;
}

.instituto-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    color: white;
}

.instituto-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.instituto-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 400;
}

.instituto-btn {
    text-decoration: none;
    background-color: #fff;
    color: #1e293b;
    padding: 13px 39px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 0;
    transition: 0.5s;
    border: 1px solid transparent;
}

.instituto-btn:hover {
    background: #754ffe;
    color: #fff;
    border-color: #fff;
    text-decoration: none;
}

.instituto-image {
    position: relative;
    z-index: 2;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 180px;
}

.instituto-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: brightness(1.1);
}

/* ===== RESPONSIVE MEJORADO PARA INSTITUTO TÉCNICO ===== */

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
    .instituto-tecnico-section {
        padding: 50px 0;
    }

    .instituto-content {
        padding: 35px 30px;
        text-align: center;
    }

    .instituto-content h2 {
        font-size: 32px;
        margin-bottom: 18px;
    }

    .instituto-content p {
        font-size: 17px;
        margin-bottom: 28px;
    }

    .instituto-btn {
        padding: 12px 35px;
        font-size: 15px;
    }

    /* Ocultar imagen de fondo en tablets */
    .instituto-tecnico-card {
        background-image: none !important;
        background: linear-gradient(
            135deg,
            #754ffe 0%,
            #5a3fd8 100%
        ) !important;
        min-height: auto;
    }
}

/* Tablets pequeñas (576px - 767px) */
@media (max-width: 767px) {
    .instituto-tecnico-section {
        padding: 40px 0;
    }

    .instituto-content {
        padding: 30px 25px;
        text-align: center;
    }

    .instituto-content h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .instituto-content p {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .instituto-btn {
        padding: 11px 32px;
        font-size: 14px;
    }

    /* Fondo degradado en lugar de imagen */
    .instituto-tecnico-card {
        background-image: none !important;
        background: linear-gradient(
            135deg,
            #754ffe 0%,
            #5a3fd8 100%
        ) !important;
        min-height: auto;
    }
}

/* Móviles grandes (480px - 575px) */
@media (max-width: 575px) {
    .instituto-content {
        padding: 25px 20px;
    }

    .instituto-content h2 {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .instituto-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .instituto-btn {
        padding: 10px 28px;
        font-size: 13px;
    }

    /* Fondo degradado optimizado para móviles */
    .instituto-tecnico-card {
        background-image: none !important;
        background: linear-gradient(
            135deg,
            #754ffe 0%,
            #5a3fd8 100%
        ) !important;
        border-radius: 12px;
    }
}

/* Móviles medianos (400px - 479px) */
@media (max-width: 479px) {
    .instituto-tecnico-section {
        padding: 30px 0;
    }

    .instituto-content {
        padding: 20px 15px;
    }

    .instituto-content h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .instituto-content p {
        font-size: 13px;
        margin-bottom: 18px;
        line-height: 1.4;
    }

    .instituto-btn {
        padding: 9px 25px;
        font-size: 12px;
    }

    .instituto-tecnico-card {
        background-image: none !important;
        background: linear-gradient(
            135deg,
            #754ffe 0%,
            #5a3fd8 100%
        ) !important;
        border-radius: 10px;
    }
}

/* Móviles pequeños (hasta 399px) */
@media (max-width: 399px) {
    .instituto-content {
        padding: 18px 12px;
    }

    .instituto-content h2 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .instituto-content p {
        font-size: 12px;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .instituto-btn {
        padding: 8px 22px;
        font-size: 11px;
    }

    .instituto-tecnico-card {
        background-image: none !important;
        background: linear-gradient(
            135deg,
            #754ffe 0%,
            #5a3fd8 100%
        ) !important;
        border-radius: 8px;
    }
}

/* Modern Banner Section Styles */
.modern-banner-section {
    position: relative !important;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%) !important;
    padding: 80px 0 60px !important;
    overflow: hidden !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
}

.banner-background {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.geometric-shapes {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
}

.shape {
    position: absolute !important;
    border-radius: 50% !important;
    opacity: 0.1 !important;
    animation: float 6s ease-in-out infinite !important;
}

.shape-1 {
    width: 80px !important;
    height: 80px !important;
    background: linear-gradient(45deg, #754ffe, #9d4edd) !important;
    top: 10% !important;
    left: 5% !important;
    animation-delay: 0s !important;
}

.shape-2 {
    width: 60px !important;
    height: 60px !important;
    background: linear-gradient(45deg, #ff6b6b, #ffa726) !important;
    top: 20% !important;
    right: 10% !important;
    animation-delay: 1s !important;
}

.shape-3 {
    width: 100px !important;
    height: 100px !important;
    background: linear-gradient(45deg, #4ecdc4, #44a08d) !important;
    bottom: 20% !important;
    left: 8% !important;
    animation-delay: 2s !important;
}

.shape-4 {
    width: 70px !important;
    height: 70px !important;
    background: linear-gradient(45deg, #f093fb, #f5576c) !important;
    top: 60% !important;
    right: 15% !important;
    animation-delay: 3s !important;
}

.shape-5 {
    width: 50px !important;
    height: 50px !important;
    background: linear-gradient(45deg, #4facfe, #00f2fe) !important;
    top: 30% !important;
    left: 20% !important;
    animation-delay: 4s !important;
}

.shape-6 {
    width: 90px !important;
    height: 90px !important;
    background: linear-gradient(45deg, #43e97b, #38f9d7) !important;
    bottom: 10% !important;
    right: 5% !important;
    animation-delay: 5s !important;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.banner-content {
    position: relative !important;
    z-index: 2 !important;
    padding: 20px 0 !important;
}

.banner-badge {
    display: inline-block !important;
    background: transparent !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    border: 1px solid #000000 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    margin-bottom: 20px !important;
    transition: all 0.3s ease !important;
}

.badge-text {
    color: #754fff !important;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(117, 79, 254, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(117, 79, 254, 0.5);
    }
    100% {
        box-shadow: 0 4px 15px rgba(117, 79, 254, 0.3);
    }
}

.banner-title h1 {
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    color: #2d3748 !important;
    margin-bottom: 20px !important;
    line-height: 1.2 !important;
}

.highlight-text {
    background: linear-gradient(45deg, #754ffe, #9d4edd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.banner-subtitle {
    font-size: 1.2rem;
    color: #718096;
    margin-bottom: 30px;
    line-height: 1.6;
}

.modern-search {
    margin-bottom: 30px;
}

.search-container {
    display: flex;
    background: white;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.search-container:focus-within {
    border-color: #754ffe;
    box-shadow: 0 10px 30px rgba(117, 79, 254, 0.2);
}

.search-input {
    flex: 1;
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    outline: none;
    background: transparent;
}

.search-input::placeholder {
    color: #a0aec0;
}

.search-btn {
    background: linear-gradient(45deg, #754ffe, #9d4edd);
    color: white;
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.banner-features {
    margin-top: 20px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #4a5568;
    font-weight: 500;
}

.feature-item i {
    color: #48bb78;
    font-size: 16px;
}

.banner-image-container {
    position: relative;
    z-index: 2;
}

.main-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-banner-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.main-banner-image:hover {
    transform: scale(1.02);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    animation: floatCard 4s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    left: -15%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 20%;
    right: 5%;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.card-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.card-1 .card-icon {
    background: linear-gradient(45deg, #754ffe, #9d4edd);
}

.card-2 .card-icon {
    background: linear-gradient(45deg, #48bb78, #38a169);
}

.card-3 .card-icon {
    background: linear-gradient(45deg, #ed8936, #dd6b20);
}

.card-text {
    display: flex;
    flex-direction: column;
}

.card-number {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    line-height: 1;
}

.card-label {
    font-size: 12px;
    color: #718096;
    font-weight: 500;
}

.modern-feature-cards {
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.feature-card .card-content {
    display: flex;
    flex-direction: column;
    padding: 0;
    align-items: flex-start;
    justify-content: flex-start;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #754ffe;
}

.card-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(45deg, #754ffe, #9d4edd);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover .card-icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(117, 79, 254, 0.3);
}

.feature-card h6 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.feature-card p {
    color: #718096;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-banner-section {
        padding: 60px 0 40px;
        min-height: auto;
    }

    .banner-title h1 {
        font-size: 2.5rem;
    }

    .banner-subtitle {
        font-size: 1rem;
    }

    .search-container {
        flex-direction: column;
        border-radius: 15px;
    }

    .search-input {
        padding: 12px 20px;
    }

    .search-btn {
        padding: 12px 20px;
        border-radius: 0 0 15px 15px;
    }

    .floating-card {
        display: none;
    }

    .feature-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .card-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .banner-title h1 {
        font-size: 2rem;
    }

    .banner-badge {
        font-size: 12px;
        padding: 5px 14px;
        border-radius: 18px;
    }

    .feature-list {
        gap: 8px;
    }

    .feature-item {
        font-size: 14px;
    }

    .feature-card {
        padding: 15px;
    }

    .feature-card h6 {
        font-size: 16px;
    }

    .card-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* ITVC Courses Page Styles */
.itvc-header {
    background: linear-gradient(135deg, #754ffe 0%, #9d4edd 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.itvc-header::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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.itvc-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.itvc-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.itvc-stats {
    position: relative;
    z-index: 2;
}

.stat-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 16px;
    backdrop-filter: blur(10px);
    display: inline-block;
}

.stat-item strong {
    font-size: 24px;
    color: #fff;
}

/* Responsive adjustments for ITVC header */
@media (max-width: 768px) {
    .itvc-title {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .itvc-subtitle {
        font-size: 18px;
        margin-bottom: 25px;
    }

    .stat-item {
        padding: 8px 20px;
        font-size: 14px;
    }

    .stat-item strong {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .itvc-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .itvc-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .stat-item {
        padding: 6px 15px;
        font-size: 13px;
    }

    .stat-item strong {
        font-size: 18px;
    }
}
