/* Estilos generales */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f4f4;
    overflow-x: hidden;
}
.header-container {
    height: 3cm;
    background-color: #0A101C; 
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 10cm;
    width: 100vw; 
    overflow: hidden;
    margin: 0; 
}
#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 5%;
    color: #ffffff;
    box-sizing: border-box; 
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1s ease-in-out, slideIn 1s ease-in-out;
}
.hero-subtitle {
    font-size: 1.5rem;
    max-width: 800px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1s ease-in-out 0.5s, slideIn 1s ease-in-out 0.5s;
    animation-fill-mode: both;
}

/* About Us Section */
.about-us-container {
    width: 100vw; 
    min-height: auto;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background-color: #1B1B4D;
    padding: 2rem;
    flex-wrap: wrap;
    box-sizing: border-box; 
}

.about-us-box {
    border: 2px solid #38E6FF;
    padding: 2rem;
    box-shadow: 0 0 10px #38E6FF,
                0 0 20px #38E6FF inset,
                0 0 30px #38E6FF inset;
    height: auto;
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #1B1B4D;
    box-sizing: border-box; 
}

.about-us-logo {
    margin-bottom: 1.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.about-us-logo img {
    max-width: 150px;
    height: auto;
}

.about-us-box h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 500;
    text-align: center;
    margin: 0;
    color: #FCFFFD;
    font-family: "Segoe UI", sans-serif;
}
.about-us-content {
    flex: 1;
    max-width: 600px;
    padding: 1rem;
    box-sizing: border-box; 
}

.about-us p {
    font-size: clamp(1rem, 2vw, 1.5rem);
    line-height: 1.6;
    margin: 0;
    text-align: center;
    color: #FCFFFD;
    font-family: "Segoe UI", sans-serif;
}

/* Nuestros Productos y Servicios */
.section-common {
    padding: 60px 0; 
    position: relative;
    color: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    justify-content: center;
    width: 100vw; 
    box-sizing: border-box; 
}

.products-section {
    background-image: url('../images/imagenfondomorado2.png');
}

.services-section {
    background-image: url('../images/imagenfondomorado1.png');
}

.content-container {
    max-width: 100%; 
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 0 20px; 
    box-sizing: border-box; 
}

.text-content {
    flex: 1;
    max-width: 600px;
}

.image-content {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-content img {
    max-width: 100%;
    height: auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 20px;
    text-align: center;
}

.nuestros_productos,
.nuestros_servicios {
    color: white;
    text-shadow: 
        0px 0px 10px #DA58C5,
        0px 0px 20px #DA58C5,
        0px 0px 40px #DA58C5,
        0px 0px 80px #DA58C5;
}

.text-content p {
    font-size: 20px;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.cta-button {
    padding: 13px 30px;
    background-color: transparent;
    border: 3px solid white;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
    margin: 0 auto;
    width: fit-content;
    text-decoration: none;
}

.cta-button:hover {
    background-color: white;
    color: #DA58C5;
}

/* Que Hace Unico a FAW */
.unicosfaw {
    text-align: center;
    padding: 2rem 0; 
    max-width: 100%;
    margin: 0;
    width: 100vw; 
    background-color: #0a1638;
    color: #fff;
    box-sizing: border-box; 
}


.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem auto; 
    padding: 0 2rem; 
    max-width: 1200px; 
    box-sizing: border-box; 
}

/* Unificación de clases duplicadas para feature */
.feature {
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box; 
}

.feature:hover {
    transform: translateY(-10px);
}

.feature img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.feature h2 {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-top: 1rem;
}

.cta {
    margin-top: 3rem;
    padding: 0 2rem; 
    box-sizing: border-box; 
}

.cta a {
    color: #D09901;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.cta a:hover {
    color: #ffbb00;
    text-decoration: underline;
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box; 
}

.header-nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.header-nav li {
    margin: 0 1rem;
}

.header-nav a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header-nav a:hover {
    color: #DA58C5;
}

.unicosfaw h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 
        0px 0px 10px #D09901,
        0px 0px 20px #D09901,
        0px 0px 40px #D09901,
        0px 0px 80px #D09901;
    padding: 0 1rem; 
}

.unicosfaw p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem; 
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); }
    to { transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .content-container {
        flex-direction: column;
    }

    .text-content {
        max-width: 100%;
    }

    .image-content {
        order: -1; 
    }

    .about-us-container {
        padding: 1rem;
        gap: 1rem;
    }

    .about-us-box {
        margin: 0 auto;
        padding: 1.5rem;
    }

    .about-us-content {
        width: 100%;
        padding: 1rem;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .about-us-container {
        padding: 0.5rem;
    }

    .about-us-box {
        padding: 1rem;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature img {
        width: 60px;
        height: 60px;
    }
}