* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

/* VIDEO BACKGROUND - AQUÍ DEBES PONER TU VIDEO */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(25, 35, 45, 0.8) 0%,
        rgba(0, 212, 255, 0.1) 50%,
        rgba(25, 35, 45, 0.8) 100%
    );
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    padding: 2rem 0;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2.5rem;
    text-align: justify;
}

.about-button {
    margin-top: 1rem;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: translateY(-5px);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
}

/* Placeholder for image */
.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 2rem;
}

.image-placeholder p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.image-placeholder code {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem;
    border-radius: 5px;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 1rem;
}

/* Who We Are Section */
.who-we-are-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
}

.who-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.who-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.who-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.who-image:hover {
    transform: translateY(-5px);
}

.who-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
}

.who-text {
    padding: 2rem 0;
}

.who-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.who-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.who-description:last-child {
    margin-bottom: 0;
}
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 160px;
}

.btn-primary {
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #19232d;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #2c3e50;
    border: 2px solid #2c3e50;
}

.btn-outline:hover {
    background: #2c3e50;
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(25, 35, 45, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .nav-container {
        padding: 0 1rem;
    }

    /* About Section Mobile */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-title {
        font-size: 2rem;
    }

    .about-description {
        font-size: 1rem;
    }

    .about-section {
        padding: 60px 0;
    }

    /* Who We Are Section Mobile */
    .who-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .who-image {
        order: 1;
    }

    .who-text {
        order: 2;
    }

    .who-title {
        font-size: 2rem;
    }

    .who-description {
        font-size: 1rem;
    }

    .who-we-are-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .about-title {
        font-size: 1.8rem;
    }

    .about-container {
        padding: 0 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
    animation-delay: 0.2s;
}

.hero-subtitle {
    animation-delay: 0.4s;
}

.hero-buttons {
    animation-delay: 0.6s;
}

/* About section animations */
.about-text {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.about-text.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-image {
    opacity: 0;
    transform: translateX(50px) scale(0.8);
    transition: all 1s ease;
}

.about-image.animate {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Who We Are section animations */
.who-image {
    opacity: 0;
    transform: translateX(-50px) scale(0.8);
    transition: all 1s ease;
}

.who-image.animate {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.who-text {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.who-text.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Additional animation effects */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Sección Nuestros Servicios */
.servicios-section {
    background: linear-gradient(135deg, #a2d240 0%, #7cb342 100%);
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.servicios-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.servicios-header {
    text-align: center;
    margin-bottom: 60px;
}

.servicios-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.servicios-header p {
    font-size: 1.2rem;
    color: #34495e;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.servicios-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.servicios-row {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.servicio-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
    flex: 1;
    max-width: 500px;
    position: relative;
    z-index: 2;
}

.servicio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.servicio-card.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.servicio-content {
    padding: 25px;
}

.servicio-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

.servicio-content p {
    font-size: 1rem;
    color: #5d6d7e;
    line-height: 1.6;
    margin-bottom: 0;
}

.servicio-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #f8f9fa;
}

.servicio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.servicio-card:hover .servicio-image img {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .servicios-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .servicio-card {
        max-width: 100%;
    }
    
    .servicios-header h2 {
        font-size: 2.5rem;
    }
    
    .servicios-header p {
        font-size: 1.1rem;
    }
    
    .servicio-content {
        padding: 20px;
    }
    
    .servicio-content h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .servicios-section {
        padding: 60px 0;
    }
    
    .servicios-container {
        padding: 0 15px;
    }
    
    .servicios-header h2 {
        font-size: 2rem;
    }
    
    .servicios-header p {
        font-size: 1rem;
    }
    
    .servicio-image {
        height: 180px;
    }
}

/* Footer */
.footer-section {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 60px 0 20px;
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

/* Columna 1: ET Ingenieros */
.footer-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #ecf0f1;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #34495e;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #a2d240;
    transform: translateY(-2px);
}

.social-link i {
    font-size: 1.1rem;
}

/* Columna 2: Servicios */
.footer-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-phone {
    font-size: 1rem;
    color: #ecf0f1;
    margin: 0;
}

.contact-email {
    font-size: 1rem;
    color: #ecf0f1;
    margin: 0;
}

/* Columna 3: Clientes */
.footer-cta {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #ecf0f1;
}

.footer-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-input {
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    background-color: #ffffff;
    color: #2c3e50;
    font-size: 1rem;
    outline: none;
    transition: box-shadow 0.3s ease;
}

.footer-input:focus {
    box-shadow: 0 0 0 2px #a2d240;
}

.footer-input::placeholder {
    color: #7f8c8d;
}

.footer-button {
    padding: 12px 20px;
    background-color: #a2d240;
    color: #2c3e50;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
}

.footer-button:hover {
    background-color: #7cb342;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(162, 210, 64, 0.3);
}

/* Copyright */
.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
}

.footer-copyright {
    font-size: 0.9rem;
    color: #bdc3c7;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section {
        padding: 40px 0 20px;
    }
    
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-title {
        font-size: 1.5rem;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .footer-content {
        gap: 25px;
    }
    
    .footer-title {
        font-size: 1.3rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .footer-input,
    .footer-button {
        font-size: 0.9rem;
    }
}