/*Estilos específicos para la página de inicio */

/* Sección Quiénes Somos */
#quienes-somos {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

#quienes-somos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #002244, #105daa);
}

.quienes-somos-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 0 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.qs-image {
    flex: 0 0 45%;
    position: relative;
}

.qs-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid #160279;
    z-index: 1;
    transition: all 0.3s ease;
}

.qs-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.qs-image:hover::after {
    transform: translate(10px, 10px);
}

.qs-image img:hover {
    transform: scale(1.02);
    filter: brightness(1.05);
}

.slide img {
    width: 100vw;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    margin: 0;
    padding: 0;
    display: block;
}

/* 2. .video-container h2 and .contacto-header h2 before #armonizacion h2 */
.video-container h2 {
    color: #150055;
    font-size: 2em;
    text-align: center;
    margin-bottom: 25px;
}

.contacto-header h2 {
    font-size: 2.5em;
    color: #024;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.qs-text {
    color: #2c3e50; /* Color oscuro para el texto */
}

.qs-text p {
    color: #2c3e50; /* Color oscuro para el párrafo */
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
}

.qs-text.show {
    opacity: 1;
    transform: translateY(0);
}

.qs-text h2 {
    font-size: 2.5em;
    color: #002244;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 600;
}

.qs-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: #160279;
}

.qs-text strong {
    color: #105daa;
    font-weight: 600;
}

.qs-text em {
    font-style: normal;
    color: #002244;
    font-weight: 500;
    background: linear-gradient(120deg, rgba(16, 93, 170, 0.2) 0%, rgba(16, 93, 170, 0.2) 100%);
    padding: 0 5px;
}

/* Animación de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sección Armonización */
#armonizacion {
    background: linear-gradient(135deg, #ffffff, #e6f0ff);
    padding: 60px 20px;
    text-align: center;
    border-radius: 20px;
    margin: 40px auto;
    max-width: 1000px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1.2s ease-in-out;
}

#armonizacion h2 {
    font-size: 36px;
    color: #160279;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#armonizacion p {
    font-size: 20px;
    color: #333333;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

/* Estilos para el slider */
.slider-container {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 600px;
    width: 100vw;
}

.slide {
    flex: 0 0 100vw;
    position: relative;
    overflow: hidden;
}

.slide img {
    width: 100vw;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    margin: 0;
    padding: 0;
    display: block;
}

.slide:hover img {
    transform: scale(1.02);
    filter: brightness(1.05);
}

/* Estilos de los botones de navegación */
.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #002244;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-button.prev {
    left: 20px;
}

.slider-button.next {
    right: 20px;
}

.slider-button:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

/* Estilos para los dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* Video container */
.video-container {
    background: rgb(255, 255, 255);
    border-radius: 15px;
    padding: 30px;
    margin: 40px auto;
    max-width: 1200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-container h2 {
    color: #150055;
    font-size: 2em;
    text-align: center;
    margin-bottom: 25px;
}

.video-container iframe {
    width: 100%;
    max-width: 1100px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    aspect-ratio: 16/9;
    height: auto;
}

/* Sección de Contacto */
#contacto {
    background: linear-gradient(135deg, #011856, #160279);
    padding: 80px 0;
    position: relative;
}

#contacto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #160279, #160279);
}

.contacto-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
}

.contacto-header {
    text-align: center;
    margin-bottom: 40px;
}

.contacto-header h2 {
    font-size: 2.5em;
    color: #002244;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.contacto-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, #002244, #160279);
}

.contacto-header p {
    font-size: 1.2em;
    color: #2c3e50;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contacto-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.contacto-item {
    flex: 1;
    min-width: 250px;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contacto-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #002244, #105daa);
    transition: transform 0.3s ease;
    transform: scaleX(0);
    transform-origin: left;
}

.contacto-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contacto-item:hover::before {
    transform: scaleX(1);
}

.contacto-item a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 5px 0;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
}

.contacto-item .email-link {
    background-color: #f5f5f5;
}

.contacto-item .gmail-link {
    background-color: #ea4335;
    color: white;
}

.contacto-item .email-link:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

.contacto-item .gmail-link:hover {
    background-color: #d93025;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(234, 67, 53, 0.2);
}

.contacto-item > i {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.contacto-item > i.fa-envelope {
    color: #EA4335;
}

.contacto-item > i.fa-whatsapp {
    color: #25D366;
}

.contacto-item > i.fa-map-marker-alt {
    color: #4285F4;
}

.contacto-item h3 {
    color: #002244;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.contacto-item p {
    color: #666;
    margin: 10px 0;
    font-size: 0.9em;
}

/* 4. .whatsapp-mobile i, .whatsapp-web i before .contacto-item a i */
.whatsapp-mobile i,
.whatsapp-web i {
    font-size: 1.2em;
}

.contacto-item a i {
    font-size: 1.2em;
    width: 24px;
    text-align: center;
}

.contacto-item .email-link i,
.contacto-item .gmail-link i,
.contacto-item .whatsapp-mobile i,
.contacto-item .whatsapp-web i {
    font-size: 1.2em;
    width: 24px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    #quienes-somos {
        padding: 60px 0;
    }

    .quienes-somos-container {
        flex-direction: column;
        padding: 20px;
        gap: 40px;
    }

    .qs-image {
        flex: 0 0 100%;
        margin: 0 auto;
        max-width: 500px;
    }

    .qs-text {
        flex: 0 0 100%;
        text-align: center;
    }

    .qs-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .qs-text p {
        text-align: left;
    }

    .slider-wrapper {
        height: 300px;
    }

    .slide img {
        width: 100vw;
    }

    .slider-button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .slider-button.prev {
        left: 10px;
    }

    .slider-button.next {
        right: 10px;
    }

    .video-container {
        padding: 20px;
    }

    #contacto {
        padding: 60px 0;
    }

    .contacto-container {
        padding: 30px 20px;
    }

    .contacto-info {
        flex-direction: column;
        gap: 20px;
    }

    .contacto-item {
        min-width: auto;
    }
}

.whatsapp-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 10px 0;
}

.whatsapp-number {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.number-label {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 2px;
}

.whatsapp-mobile, .whatsapp-web {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95em;
}

.whatsapp-mobile {
    background-color: #25D366;
    color: white;
}

.whatsapp-web {
    background-color: #128C7E;
    color: white;
}

.whatsapp-mobile:hover {
    background-color: #22c35e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.2);
}

.whatsapp-web:hover {
    background-color: #0e7265;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(18, 140, 126, 0.2);
}

.whatsapp-mobile i, .whatsapp-web i {
    font-size: 1.2em;
}

@media (max-width: 768px) {
    .whatsapp-container {
        width: 100%;
    }
    
    .whatsapp-mobile, .whatsapp-web {
        justify-content: center;
    }
}

.footer-line {
    width: 2px;
    min-height: 180px;
    background: linear-gradient(to bottom, #ffffff, #ffffff, #ffeecc);
    margin: 0 40px;
    border-radius: 2px;
    align-self: center;
} 

/* Sección Filosofía */
#filosofia {
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

#filosofia::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #e6b800, #ffd700);
}

#filosofia .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

#filosofia h2 {
    font-size: 2.5em;
    color: #e6b800;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    font-weight: 600;
    letter-spacing: 1px;
}

#filosofia h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #e6b800, #ffd700);
}

#filosofia p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #ffffff;
    margin-bottom: 25px;
    text-align: justify;
}

#filosofia ul {
    list-style: none;
    padding-left: 0;
    margin: 25px 0;
}

#filosofia li {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #e6b800;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#filosofia li::before {
    content: '▶';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #e6b800;
    font-size: 0.8em;
    opacity: 0;
    transition: all 0.3s ease;
}

#filosofia li:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(230, 184, 0, 0.2);
}

#filosofia li:hover::before {
    opacity: 1;
    left: 15px;
}

#filosofia strong {
    color: #e6b800;
    font-weight: 600;
}

/* Animaciones para la sección filosofía */
.filosofia-fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.filosofia-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.filosofia-slide-in {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease-out;
}

.filosofia-slide-in.visible {
    opacity: 1;
    transform: translateX(0);
}

.filosofia-scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.7s ease-out;
}

.filosofia-scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Efecto de brillo para los elementos */
#filosofia li {
    position: relative;
}

#filosofia li::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(230, 184, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

#filosofia li:hover::after {
    left: 100%;
}

/* Responsive para filosofía */
@media (max-width: 768px) {
    #filosofia {
        padding: 60px 0;
    }
    
    #filosofia h2 {
        font-size: 2em;
    }
    
    #filosofia p {
        font-size: 1em;
    }
    
    #filosofia li {
        padding: 15px;
        margin-bottom: 10px;
    }
}
