#header[data-transparent="true"] {
    position: relative;
    z-index: 1;
}

#welcome_wrapper {
    margin-top: -80px;
    z-index: 0;
}
/* Estilos para corregir el tamaño de la imagen del logo en el slider welcome */
#image-logo {
    width: auto !important;
    height: auto !important;
    max-width: 450px !important;
    max-height: 150px !important;
    object-fit: contain !important;
    display: inline-block !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 9999 !important;
    margin: 0 auto !important;
}
@media (max-width: 480px) {
    #welcome_wrapper {
      
    }
    /* Estilos para corregir el tamaño de la imagen del logo en el slider welcome */
    #image-logo {
        width: 100% !important;
        height: auto !important;
       
    }
}



/* Asegurarse que el contenedor del logo sea visible */
#slide-81-layer-10 {
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    min-width: 350px !important;
    min-height: 150px !important;
    text-align: center !important;
    background-color: transparent !important;
    margin: 0 auto !important;
    animation-delay: 0.5s !important;
}

.fullscreenbanner .tp-parallax-wrap {
    visibility: visible !important;
    opacity: 1 !important;
}

#header.header-sticky #logo #logo-default {
    max-height: 80px;
}

#header #logo #logo-dark {
    max-height: 70px;
    padding-top: 10px;
    /* Efecto de brillo y sombra */
    filter: drop-shadow(0 0 8px rgba(80, 142, 198, 0.6));
    animation: logo-glow 3s infinite alternate;
    transition: all 0.3s ease;
}

/* Animación de brillo suave */
@keyframes logo-glow {
    0% {
        filter: drop-shadow(0 0 5px rgba(80, 142, 198, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 12px rgba(80, 142, 198, 0.8)) brightness(1.05);
    }
    100% {
        filter: drop-shadow(0 0 5px rgba(80, 142, 198, 0.6));
    }
}

/* Efecto hover */
#header #logo a:hover #logo-dark {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(80, 142, 198, 0.9)) brightness(1.1);
}

/* Actualizar el z-index del botón de WhatsApp */
.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 65px;
    height: 65px;
    background-color: #25d366 !important;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: white !important;
    font-size: 32px;
    text-decoration: none;
    transition: transform 0.3s ease;
    cursor: pointer;
    animation: whatsapp-heartbeat 2s ease-in-out infinite;
}

/* Nueva animación de pulsación tipo latido cardíaco */
@keyframes whatsapp-heartbeat {
    0% { transform: scale(1); }
    10% { transform: scale(1.1); }
    20% { transform: scale(1); }
    30% { transform: scale(1.1); }
    40% { transform: scale(1); }
    100% { transform: scale(1); }
}

/* Mantener el efecto de sombra pulsante */
.whatsapp-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    z-index: -1;
    animation: whatsapp-shadow-pulse 2s infinite;
}

@keyframes whatsapp-shadow-pulse {
    0% {
        opacity: 0.7;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        opacity: 0;
        transform: scale(1.5);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        opacity: 0;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Efecto hover */
.whatsapp-icon:hover {
    transform: scale(1.15);
    animation: none;
}

.whatsapp-icon:hover::before {
    animation: none;
}

/* Mejoras al menú de navegación principal */
#mainMenu nav > ul > li > a {
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 10px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

/* Efecto hover para los elementos del menú */
#mainMenu nav > ul > li > a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: linear-gradient(90deg, #508ec6, #016cb2);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

#mainMenu nav > ul > li > a:hover:after {
    width: 70%;
}

#mainMenu nav > ul > li:hover > a {
    color: #508ec6 !important;
    text-shadow: 0 0 8px rgba(80, 142, 198, 0.4);
}

/* Efecto para el elemento activo del menú */
#mainMenu nav > ul > li.current > a,
#mainMenu nav > ul > li.hover-active > a {
    color: #016cb2 !important;
}

#mainMenu nav > ul > li.current > a:after,
#mainMenu nav > ul > li.hover-active > a:after {
    width: 70%;
    background: linear-gradient(90deg, #508ec6, #016cb2);
}

/* Mejora del contenedor principal del menú */
.header-inner {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Estilos para el menú desplegable */
#mainMenu nav > ul > li .dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-top: 3px solid #016cb2;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

#mainMenu nav > ul > li:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
}

/* Estilos para los elementos dentro del menú desplegable */
#mainMenu nav > ul > li .dropdown-menu > li > a {
    padding: 10px 15px;
    font-weight: 400;
    font-size: 13px;
    transition: all 0.2s ease;
    position: relative;
}

#mainMenu nav > ul > li .dropdown-menu > li > a:hover {
    background-color: rgba(80, 142, 198, 0.1);
    color: #508ec6;
    padding-left: 18px;
}

/* Mejora para el interruptor de menú responsive */
#mainMenu-trigger a {
    border-radius: 4px;
    transition: all 0.3s ease;
}

#mainMenu-trigger a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#mainMenu-trigger a.open {
    background-color: rgba(1, 108, 178, 0.2);
}

/* Botón actual del menú con animación */
#mainMenu nav > ul > li.current > a {
    position: relative;
    overflow: hidden;
}

#mainMenu nav > ul > li.current > a:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(1, 108, 178, 0) 0%, 
        rgba(1, 108, 178, 0.2) 50%, 
        rgba(1, 108, 178, 0) 100%);
    animation: menu-shine 3s infinite;
}

@keyframes menu-shine {
    0% {
        left: -100%;
    }
    20%, 100% {
        left: 100%;
    }
}
/* Estilos mejorados para la sección About */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

/* Elementos decorativos de fondo */
.about-section:before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, rgba(1, 108, 178, 0.1), rgba(0, 33, 78, 0.1));
    border-radius: 50%;
    top: -100px;
    left: -100px;
    z-index: 0;
}

.about-section:after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: linear-gradient(45deg, rgba(0, 33, 78, 0.1), rgba(1, 108, 178, 0.1));
    border-radius: 50%;
    bottom: -80px;
    right: -80px;
    z-index: 0;
}

.about-section .container {
    position: relative;
    z-index: 1;
}

.about-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

/* Decoraciones geométricas de las tarjetas */
.about-card:before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, rgba(1, 108, 178, 0.05), rgba(0, 33, 78, 0.05));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: -75px;
    right: -75px;
    z-index: 0;
}

.about-card:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, rgba(0, 33, 78, 0.05), rgba(1, 108, 178, 0.05));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    bottom: -50px;
    left: -50px;
    z-index: 0;
}

.about-card-content {
    position: relative;
    z-index: 1;
}

.about-card.mision {
    border-top: 5px solid #016cb2;
}

.about-card.vision {
    border-top: 5px solid #003d7a;
}

.about-card.objetivo {
    border-top: 5px solid #508ec6;
}

.about-card h3 {
    color: #016cb2;
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 26px;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.about-card h3:after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, #508ec6, #016cb2);
    bottom: 0;
    left: 0;
    border-radius: 3px;
}

.about-card p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    position: relative;
    z-index: 1;
}

.about-icon {
    font-size: 50px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.mision .about-icon {
    color: #016cb2;
    background: rgba(1, 108, 178, 0.1);
}

.vision .about-icon {
    color: #003d7a;
    background: rgba(0, 33, 78, 0.1);
}

.objetivo .about-icon {
    color: #508ec6;
    background: rgba(80, 142, 198, 0.1);
}

/* Animación para los elementos about */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-title {
    animation: fadeInUp 0.8s ease forwards;
    position: relative;
}

.about-title:before {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #508ec6, #016cb2);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.about-description {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.about-card {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.about-card.mision {
    animation-delay: 0.3s;
}

.about-card.vision {
    animation-delay: 0.5s;
}

.about-card.objetivo {
    animation-delay: 0.7s;
}

/* Decoración con puntos */
.dot-decoration {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(1, 108, 178, 0.5);
    z-index: 0;
}

.dot-1 {
    top: 100px;
    left: 50px;
    animation: float 6s ease-in-out infinite;
}

.dot-2 {
    top: 200px;
    right: 80px;
    background: rgba(0, 33, 78, 0.5);
    animation: float 8s ease-in-out infinite 1s;
}

.dot-3 {
    bottom: 120px;
    left: 20%;
    background: rgba(50, 142, 198, 0.5);
    animation: float 7s ease-in-out infinite 2s;
}

.dot-4 {
    bottom: 80px;
    right: 30%;
    animation: float 9s ease-in-out infinite 3s;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-20px) translateX(10px);
    }
    100% {
        transform: translateY(0) translateX(0);
    }
}

@media (max-width: 991.98px) {
    .about-section {
        padding: 60px 0;
    }
    
    .about-card {
        margin-bottom: 30px;
    }
    
    .about-card h3 {
        font-size: 22px;
    }
}

@media (max-width: 767.98px) {
    .about-section {
        padding: 40px 0;
    }
    
    .about-title {
        font-size: 28px !important;
    }
    
    .about-description {
        font-size: 16px !important;
    }
}
/* Estilos mejorados para la sección de servicios con la paleta de colores de la marca */
.services-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 61, 122, 0.05) 0%, rgba(80, 142, 198, 0.1) 100%);
    position: relative;
    overflow: hidden;
    color: #333333;
}

/* Elementos decorativos de fondo */
.services-section:before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(1, 108, 178, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    top: -200px;
    left: -200px;
    z-index: 0;
}

.services-section:after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 33, 78, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    bottom: -150px;
    right: -150px;
    z-index: 0;
}

.services-title {
    color: #003d7a;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
    display: inline-block;
}

.services-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #508ec6, #016cb2);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.services-subtitle {
    color: #555555;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 50px;
}

.service-box {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-box:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #508ec6, #016cb2);
    z-index: 1;
}

.service-box:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    background-color: #ffffff;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 36px;
    position: relative;
    transition: all 0.3s ease;
}

.service-1 .service-icon {
    color: #016cb2;
    background: rgba(1, 108, 178, 0.1);
}

.service-2 .service-icon {
    color: #003d7a;
    background: rgba(0, 33, 78, 0.1);
}

.service-3 .service-icon {
    color: #508ec6;
    background: rgba(80, 142, 198, 0.1);
}

.service-4 .service-icon {
    color: #016cb2;
    background: rgba(1, 108, 178, 0.1);
}

.service-5 .service-icon {
    color: #003d7a;
    background: rgba(0, 33, 78, 0.1);
}

.service-6 .service-icon {
    color: #508ec6;
    background: rgba(80, 142, 198, 0.1);
}

.service-7 .service-icon {
    color: #016cb2;
    background: rgba(1, 108, 178, 0.1);
}

.service-box:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-box h3 {
    color: #016cb2;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.service-box h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #508ec6, #016cb2);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.service-box p {
    color: #555555;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Animaciones para los servicios */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-title,
.services-subtitle,
.service-box {
    animation: fadeInUp 0.8s ease forwards;
}

.services-subtitle {
    animation-delay: 0.2s;
}

.service-1 {
    animation-delay: 0.3s;
}

.service-2 {
    animation-delay: 0.4s;
}

.service-3 {
    animation-delay: 0.5s;
}

.service-4 {
    animation-delay: 0.6s;
}

.service-5 {
    animation-delay: 0.7s;
}

.service-6 {
    animation-delay: 0.8s;
}

.service-7 {
    animation-delay: 0.9s;
}

/* Ajustes responsive */
@media (max-width: 991.98px) {
    .services-section {
        padding: 80px 0;
    }
    
    .services-title {
        font-size: 32px;
    }
    
    .service-box {
        padding: 30px 20px;
    }
}

@media (max-width: 767.98px) {
    .services-section {
        padding: 60px 0;
    }
    
    .services-title {
        font-size: 28px;
    }
    
    .services-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .service-box h3 {
        font-size: 20px;
    }
}
/* Estilos para la sección de video */
.video-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(31, 63, 115, 0.03) 0%, rgba(84, 84, 84, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

/* Elementos decorativos de fondo */
.video-section:before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(1, 108, 178, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    top: -200px;
    left: -200px;
    z-index: 0;
}

.video-section:after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 33, 78, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    bottom: -150px;
    right: -150px;
    z-index: 0;
}

.video-section .container {
    position: relative;
    z-index: 1;
}

.video-content {
    padding-right: 30px;
}

.video-title {
    color: #003d7a;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
}

.separator {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #508ec6, #016cb2);
    margin-bottom: 25px;
    border-radius: 2px;
}

.video-description {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.video-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: #666;
    font-style: italic;
}

.video-container {
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.video-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* Animaciones */
[data-animate="fadeInUp"] {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

[data-animate="fadeInRight"] {
    animation: fadeInRight 0.8s ease forwards;
    opacity: 0;
}

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

[data-animate-delay="200"] {
    animation-delay: 0.2s;
}

[data-animate-delay="400"] {
    animation-delay: 0.4s;
}

/* Ajustes responsive */
@media (max-width: 991.98px) {
    .video-section {
        padding: 70px 0;
    }
    
    .video-title {
        font-size: 30px;
    }
    
    .video-content {
        padding-right: 0;
        text-align: center;
    }
    
    .separator {
        margin: 0 auto 25px;
    }
}

@media (max-width: 767.98px) {
    .video-section {
        padding: 50px 0;
    }
    
    .video-title {
        font-size: 26px;
    }
    
    .video-description {
        font-size: 16px;
    }
    
    .video-container {
        margin-top: 30px;
    }
}
/* Estilos para la sección de aliados/partners */
.partners-section {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

/* Elementos decorativos de fondo */
.partners-section:before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(1, 108, 178, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    top: -150px;
    left: -150px;
    z-index: 0;
}

.partners-section:after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 33, 78, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    bottom: -100px;
    right: -100px;
    z-index: 0;
}

.partners-title {
    color: #016cb2;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.separator {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #508ec6, #016cb2);
    margin-bottom: 25px;
    border-radius: 2px;
}

.partners-subtitle {
    color: #555;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* Nuevo diseño profesional para la sección de aliados */
.partner-logos-container {
    padding: 40px 0;
    overflow: hidden;
}

.partner-logos {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.partner-logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.partner-logo-item {
    width: 200px;
    height: 120px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.partner-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(1, 108, 178, 0.15);
}

.partner-logo {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo-item:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
}

/* Estilos responsivos */
@media (max-width: 991.98px) {
    .partner-logo-row {
        gap: 20px;
    }
    
    .partner-logo-item {
        width: 180px;
        height: 100px;
    }
}

@media (max-width: 767.98px) {
    .partner-logo-row {
    gap: 15px;
}

    .partner-logo-item {
        width: 150px;
        height: 90px;
        padding: 10px;
    }
    
    .partner-logo {
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .partner-logo-item {
        width: 130px;
        height: 80px;
    }
    
    .partner-logos {
        gap: 20px;
    }
}

/* Ajuste para el título y subtítulo de la sección */
.partners-title {
    font-size: 36px;
    font-weight: 700;
    color: #016cb2;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.partners-subtitle {
    font-size: 18px;
    color: #6d6c6c;
    max-width: 700px;
    margin: 0 auto 40px;
}

.separator.mx-auto {
    height: 4px;
    width: 80px;
    background: linear-gradient(90deg, #508ec6, #003d7a);
    margin: 0 auto 25px;
    border-radius: 2px;
}

/* Estilos para la sección de contacto */
.contact-section {
    position: relative;
    background: linear-gradient(135deg, #016cb2 0%, #508ec6 100%);
    color: #ffffff;
    overflow: hidden;
    z-index: 1;
}

.contact-wave-top {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.contact-wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.contact-content {
    padding: 150px 0 100px;
    position: relative;
    z-index: 2;
}

.contact-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.contact-separator {
    width: 80px;
    height: 4px;
    background: #ffffff;
    margin-bottom: 25px;
    border-radius: 2px;
}

.contact-description {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.9;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Estilos para las características */
.contact-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-feature {
    display: flex;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-feature:hover {
    background: #ffffff;
}

.feature-icon {
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #003d7a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
}

.feature-text {
    flex: 1;
}

.feature-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 600;
    color: #00214e;
}

.feature-text p {
    font-size: 14px;
    margin-bottom: 0;
    opacity: 0.8;
    color: #6d6c6c;
}

/* Estilos para la tarjeta de contacto */
.contact-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
    color: #333;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.contact-card-header {
    background: rgba(223, 229, 238, 0.3);
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-card-header h3 {
    color: #00214e;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-card-header p {
    color: #6d6c6c;
    font-size: 16px;
    margin-bottom: 0;
}

.whatsapp-big-icon {
    width: 80px;
    height: 80px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    color: white;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.contact-card-body {
    padding: 30px;
    text-align: center;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: white;
    font-size: 18px;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.whatsapp-button i {
    font-size: 24px;
    margin-right: 10px;
}

.whatsapp-button:hover {
    background: #1da851;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: white !important;
}

.pulse-button {
    position: relative;
}

.pulse-button:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    z-index: -1;
    background: #016cb2;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }
    70% {
        opacity: 0;
        transform: scale(1.5);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

.contact-info {
    border-top: 1px solid #eee;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    color: #6d6c6c;
    font-size: 15px;
}

.contact-info-item i {
    color: #016cb2;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.contact-card-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(1, 108, 178, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    bottom: -100px;
    right: -100px;
    border-radius: 50%;
}

/* Animaciones */
[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="fade-right"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

[data-aos="fade-left"] {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="fade-left"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 991.98px) {
    .contact-content {
        padding: 100px 0 80px;
    }
    
    .contact-title {
        font-size: 36px;
    }
    
    .contact-action-container {
        margin-top: 50px;
    }
}

@media (max-width: 767.98px) {
    .contact-content {
        padding: 80px 0 60px;
    }
    
    .contact-title {
        font-size: 30px;
        text-align: center;
    }
    
    .contact-separator {
        margin-left: auto;
        margin-right: auto;
    }
    
    .contact-description {
        text-align: center;
        font-size: 16px;
    }
    
    .contact-feature {
        padding: 12px;
    }
    
    .feature-text h4 {
        font-size: 16px;
    }
    
    .contact-card-header h3 {
        font-size: 22px;
    }
}

/* Estilos para el nuevo footer creativo */
.creative-footer {
    position: relative;
    background: linear-gradient(135deg, #00214e 0%, #003d7a 100%);
    color: #ffffff;
    overflow: hidden;
}

.footer-wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.footer-content {
    padding: 80px 0 50px;
    position: relative;
}

.footer-logo {
    max-height: 70px;
    margin-bottom: 20px;
    display: inline-block;
    filter: drop-shadow(0 0 8px rgba(80, 142, 198, 0.4));
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 0 12px rgba(80, 142, 198, 0.7));
}

.footer-tagline {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 300px;
}

.footer-email {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    font-size: 15px;
}

.footer-email i {
    background: rgba(255, 255, 255, 0.1);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-email:hover {
    color: #508ec6;
    text-decoration: none;
}

.footer-email:hover i {
    background: #508ec6;
    color: #fff;
}

.footer-heading {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #508ec6, #016cb2);
    border-radius: 3px;
}

.footer-social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    transition: all 0.4s ease;
}

.social-link:hover {
    background: #016cb2;
    color: #ffffff;
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 5px 15px rgba(1, 108, 178, 0.4);
}

.footer-address {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    margin-top: 15px;
}

.footer-address i {
    color: #508ec6;
    margin-right: 10px;
    font-size: 18px;
}

.footer-newsletter {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.footer-cta-button i {
    margin-right: 8px;
    font-size: 20px;
}

.footer-cta-button:hover {
    background: #1da851;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    color: white;
    text-decoration: none;
}

.footer-bottom {
    background: rgba(0, 33, 78, 0.5);
    padding: 20px 0;
    position: relative;
}

.copyright-text {
    font-size: 14px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-legal-links a:hover {
    color: #508ec6;
}

.link-separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 991.98px) {
    .footer-content {
        padding: 60px 0 40px;
    }
    
    .footer-newsletter {
        margin-top: 20px;
    }
}

@media (max-width: 767.98px) {
    .footer-content {
        padding: 50px 0 30px;
        text-align: center;
    }
    
    .footer-heading:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-tagline {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-social-links {
        justify-content: center;
    }
    
    .footer-address {
        justify-content: center;
    }
    
    .footer-legal-links {
        justify-content: center;
        margin-top: 15px;
    }
    
    .copyright-text {
        text-align: center;
    }
}

/* BOTÓN SCROLL TOP */
#scrollTop {
    background-color: #016cb2;
}

#scrollTop:hover {
    background-color: #508ec6;
}

/* Arreglar los colores del botón de WhatsApp en hover */
.whatsapp-button,
.whatsapp-button:hover,
.whatsapp-button:focus,
.whatsapp-button:active,
.whatsapp-button:visited {
    color: #ffffff !important;
}

/* Corregir colores de iconos de redes sociales */
.social-link,
.social-link:hover,
.social-link:focus,
.social-link:active,
.social-link:visited {
    color: #ffffff !important;
}

/* Corregir colores del correo electrónico */
.footer-email,
.footer-email:hover,
.footer-email:focus,
.footer-email:active,
.footer-email:visited {
    color: #ffffff !important;
}

/* Garantizar color blanco para títulos del footer */
.footer-heading {
    color: #ffffff !important;
}

/* Mantener color blanco en botón de contacto del footer */
.footer-cta-button,
.footer-cta-button:hover,
.footer-cta-button:focus,
.footer-cta-button:active,
.footer-cta-button:visited {
    color: #ffffff !important;
}

/* Enlaces legales del footer */
.footer-legal-links a,
.footer-legal-links a:hover,
.footer-legal-links a:focus,
.footer-legal-links a:active,
.footer-legal-links a:visited {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Animación fade-in para el logo del navbar */
#logo {
    opacity: 0;
    animation: logoFadeIn 1.5s ease forwards;
    animation-delay: 0.8s; /* Retraso para sincronizar con los otros elementos */
}

/* Logo en el slide */
#slide-81-layer-10 {
    animation-delay: 0.5s !important;
}

/* Texto descriptivo en el slide */
#slide-81-layer-2 {
    animation-delay: 0.8s !important;
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Asegurar que el menú tenga la misma duración pero comience un poco después */
#mainMenu .container {
    animation-duration: 1.2s !important;
    animation-delay: 1s !important;
}

/* Mantener este estado hasta que la animación comience */
#logo, #mainMenu .container {
    will-change: opacity, transform;
    backface-visibility: hidden;
}

/* Ajustar la duración de las animaciones del slider */
.tp-caption[data-frames*='"delay":490'] {
    animation-duration: 1.5s !important;
}

.tp-caption[data-frames*='"delay":800'] {
    animation-duration: 1.5s !important;
}

/* Restaurar el efecto de pulsación para el botón de WhatsApp flotante */
.whatsapp-icon {
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-icon:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: transparent;
    opacity: 0.6;
    z-index: -1;
    transform: scale(1);
    animation: whatsapp-ripple 1.5s infinite;
}

@keyframes whatsapp-ripple {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.whatsapp-icon:hover {
    animation: none;
}

.partner-logos-slider {
    width: 100%;
    padding: 40px 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.logos-row {
    position: relative;
    width: 100%;
    height: 150px;
    margin: 20px 0;
    overflow: hidden;
}

.logos-track {
    display: flex;
    position: absolute;
    width: fit-content;
    animation: scroll 30s linear infinite;
}

.logos-row.reverse .logos-track {
    animation-direction: reverse;
}

.partner-logo-item {
    width: 200px;
    height: 120px;
    padding: 20px;
    margin: 0 30px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.partner-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(1, 108, 178, 0.15);
}

.partner-logo {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo-item:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pausar la animación al hacer hover */
.logos-row:hover .logos-track {
    animation-play-state: paused;
}

/* Estilos responsivos */
@media (max-width: 991.98px) {
    .partner-logo-item {
        width: 180px;
        height: 100px;
        margin: 0 20px;
    }
    
    .partner-logo {
        max-height: 60px;
    }
}

@media (max-width: 767.98px) {
    .partner-logo-item {
        width: 150px;
        height: 90px;
        margin: 0 15px;
    }
    
    .logos-row {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .partner-logo-item {
        width: 130px;
        height: 80px;
        margin: 0 10px;
    }
    
    .logos-row {
        height: 100px;
    }
}

.service-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background: linear-gradient(90deg, #508ec6, #016cb2);
    color: #ffffff !important;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(1, 108, 178, 0.2);
}

.service-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(1, 108, 178, 0.3);
    background: linear-gradient(90deg, #016cb2, #508ec6);
    color: #ffffff;
}

.service-box {
    padding-bottom: 30px;
    text-align: center;
}

/* Estilos para la página de detalles del servicio */
.service-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.service-detail-header {
    text-align: center;
    margin-bottom: 3rem;
}

.service-detail-header i {
    font-size: 4rem;
    color: #016cb2;
    margin-bottom: 1.5rem;
}

.service-detail-header h1 {
    font-size: 2.5rem;
    color: #00214e;
    margin-bottom: 1rem;
}

.service-detail-header p {
    font-size: 1.2rem;
    color: #6d6c6c;
    max-width: 800px;
    margin: 0 auto;
}

.service-features {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.service-features h2 {
    color: #00214e;
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-features ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.service-features li {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    color: #6d6c6c;
    font-size: 1.1rem;
    position: relative;
    padding-left: 2.5rem;
}

.service-features li:before {
    content: "✓";
    color: #016cb2;
    position: absolute;
    left: 1rem;
    font-weight: bold;
}

.service-cta {
    text-align: center;
    margin-top: 2rem;
}

.service-not-found {
    text-align: center;
    padding: 4rem 2rem;
}

.service-not-found h1 {
    color: #00214e;
    margin-bottom: 1rem;
}

.service-not-found p {
    color: #6d6c6c;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .service-detail-header i {
        font-size: 3rem;
    }
    
    .service-detail-header h1 {
        font-size: 2rem;
    }
    
    .service-detail-header p {
        font-size: 1rem;
    }
    
    .service-features li {
        font-size: 1rem;
        padding: 1rem;
        padding-left: 2rem;
    }
}

/* Estilos para la página de Términos y Condiciones */
.terms-container {
    max-width: 1140px;
    margin: 120px auto 60px;
    padding: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.terms-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #2ed8a3, #2970ff);
}

.terms-container h2 {
    color: #2970ff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.terms-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #2ed8a3, #2970ff);
}

.terms-container h3 {
    color: #333;
    font-size: 22px;
    font-weight: 600;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.terms-container p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 16px;
}

.terms-container a {
    color: #2970ff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.terms-container a:hover {
    color: #2ed8a3;
    text-decoration: underline;
}

.terms-container strong {
    font-weight: 600;
    color: #444;
}

/* Animación para mejorar la experiencia */
.animate__fadeIn {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate__fadeIn {
    animation-name: fadeIn;
}

/* Estilos responsivos para términos y condiciones */
@media (max-width: 991px) {
    .terms-container {
        margin: 100px 20px 40px;
        padding: 30px;
    }
    
    .terms-container h2 {
        font-size: 28px;
    }
    
    .terms-container h3 {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .terms-container {
        margin: 80px 15px 30px;
        padding: 20px;
    }
    
    .terms-container h2 {
        font-size: 24px;
    }
    
    .terms-container h3 {
        font-size: 18px;
    }
    
    .terms-container p {
        font-size: 15px;
    }
}

/* Estilos mejorados para el portfolio */
.portfolio-section {
    margin: 40px 0;
    padding: 30px 20px;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.portfolio-section:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #016cb2 0%, #508ec6 100%);
}

.portfolio-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #016cb2;
    position: relative;
}

.portfolio-section h2:after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #016cb2 0%, #508ec6 100%);
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    border-radius: 2px;
}

.portfolio-description {
    text-align: center;
    max-width: 900px;
    margin: 20px auto 40px;
    font-size: 18px;
    color: #555;
    line-height: 1.7;
}

.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.portfolio-item {
    position: relative;
    cursor: pointer;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.laptop-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    perspective: 1000px;
}

.laptop-screen {
    position: relative;
    width: 100%;
    height: 240px;
    background: #2c2c2c;
    border-radius: 12px 12px 2px 2px;
    padding: 8px;
    box-shadow: 
        0 0 0 2px #1a1a1a,
        0 10px 30px rgba(0,0,0,0.3);
    transform-style: preserve-3d;
    transition: all 0.4s ease;
    overflow: hidden;
}

.laptop-base {
    width: 105%;
    height: 20px;
    background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 50%, #1a1a1a 100%);
    border-radius: 0 0 12px 12px;
    margin: -2px auto 0;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.laptop-base::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #555;
    border-radius: 1px;
}

.laptop-base::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    border-radius: 0 0 12px 12px;
}

.portfolio-item:hover {
    transform: translateY(-15px);
}

.portfolio-item:hover .laptop-screen {
    transform: rotateX(-5deg) rotateY(2deg);
    box-shadow: 
        0 0 0 2px #1a1a1a,
        0 20px 40px rgba(0,0,0,0.4);
}

.portfolio-item-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
    transition: all 0.5s ease;
    border-radius: 6px;
}

.portfolio-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.8);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.portfolio-overlay p {
    margin: 0 0 25px 0;
    font-size: 16px;
    line-height: 1.5;
    color: #ffffff;
    opacity: 0.95;
    max-width: 280px;
}

.view-site-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #016cb2 !important;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    min-width: 140px;
}

.view-site-button i {
    margin-left: 8px;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.view-site-button:hover {
    background: #016cb2;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.view-site-button:hover i {
    transform: translateX(3px);
}

/* Información adicional del proyecto */
.portfolio-info {
    background: #ffffff;
    padding: 25px 20px;
    text-align: center;
    border-top: 1px solid #eee;
}

.portfolio-info h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 600;
    color: #016cb2;
}

.portfolio-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* Animaciones mejoradas */
@keyframes portfolioFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-item {
    animation: portfolioFadeIn 0.6s ease forwards;
    opacity: 0;
}

.portfolio-item:nth-child(1) { animation-delay: 0.1s; }
.portfolio-item:nth-child(2) { animation-delay: 0.2s; }
.portfolio-item:nth-child(3) { animation-delay: 0.3s; }
.portfolio-item:nth-child(4) { animation-delay: 0.4s; }
.portfolio-item:nth-child(5) { animation-delay: 0.5s; }
.portfolio-item:nth-child(6) { animation-delay: 0.6s; }
.portfolio-item:nth-child(7) { animation-delay: 0.7s; }
.portfolio-item:nth-child(8) { animation-delay: 0.8s; }

/* Responsive Design Mejorado para Laptops */
@media (max-width: 1200px) {
    .portfolio-gallery {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
    }
    
    .laptop-container {
        max-width: 350px;
    }
}

@media (max-width: 991px) {
    .portfolio-section {
        padding: 30px 15px;
    }
    
    .portfolio-section h2 {
        font-size: 32px;
    }
    
    .portfolio-description {
        font-size: 16px;
        margin: 20px auto 30px;
    }
    
    .portfolio-gallery {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 25px;
    }
    
    .laptop-container {
        max-width: 320px;
    }
    
    .laptop-screen {
        height: 200px;
    }
}

@media (max-width: 767px) {
    .portfolio-section {
        padding: 25px 10px;
    }
    
    .portfolio-section h2 {
        font-size: 28px;
    }
    
    .portfolio-description {
        font-size: 15px;
        margin: 15px auto 25px;
    }
    
    .portfolio-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .laptop-container {
        max-width: 100%;
    }
    
    .laptop-screen {
        height: 180px;
        padding: 6px;
    }
    
    .laptop-base {
        height: 16px;
    }
    
    .laptop-base::before {
        width: 25px;
        height: 1.5px;
        top: 3px;
    }
    
    .portfolio-overlay h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .portfolio-overlay p {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .view-site-button {
        font-size: 13px;
        padding: 8px 16px;
    }
}

@media (max-width: 576px) {
    .portfolio-section {
        margin: 25px 0;
        padding: 20px 5px;
    }
    
    .portfolio-section h2 {
        font-size: 24px;
    }
    
    .portfolio-description {
        margin: 10px auto 20px;
        font-size: 14px;
        padding: 0 10px;
    }
    
    .portfolio-gallery {
        gap: 15px;
        padding: 0 5px;
    }
    
    .laptop-screen {
        height: 160px;
        padding: 5px;
    }
    
    .laptop-base {
        height: 14px;
    }
    
    .laptop-base::before {
        width: 20px;
        height: 1px;
        top: 2px;
    }
    
    .portfolio-overlay {
        padding: 15px 10px;
    }
    
    .portfolio-overlay h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .portfolio-overlay p {
        font-size: 12px;
        margin-bottom: 12px;
        line-height: 1.4;
    }
    
    .view-site-button {
        font-size: 12px;
        padding: 6px 14px;
        min-width: 120px;
    }
    
    /* Efecto hover reducido en móvil */
    .portfolio-item:hover {
        transform: translateY(-8px);
    }
    
    .portfolio-item:hover .laptop-screen {
        transform: rotateX(-2deg) rotateY(1deg);
    }
}