/* Reset y estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #0056b3;
    text-decoration: none;
    display: flex;
    align-items: center;
}

    .logo i {
        margin-right: 10px;
        font-size: 28px;
    }

    .logo span {
        color: #ff6b00;
    }

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

    nav ul li {
        margin-left: 20px;
    }

        nav ul li a {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            transition: color 0.3s;
            font-size: 15px;
        }

            nav ul li a:hover {
                color: #0056b3;
            }

.btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: #0056b3;
    color: white;
    border: 2px solid #0056b3;
}

    .btn-primary:hover {
        background-color: #003d7a;
        border-color: #003d7a;
    }

.btn-secondary {
    background-color: #ff6b00;
    color: white;
    border: 2px solid #ff6b00;
}

    .btn-secondary:hover {
        background-color: #cc5500;
        border-color: #cc5500;
    }

.btn-outline {
    background-color: transparent;
    color: #0056b3;
    border: 2px solid #0056b3;
}

    .btn-outline:hover {
        background-color: #0056b3;
        color: white;
    }

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1467232004584-a241de8bcf5d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 60px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Servicios */
.services {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

    .section-title h2 {
        font-size: 36px;
        color: #0056b3;
        margin-bottom: 15px;
        position: relative;
        display: inline-block;
    }

        .section-title h2:after {
            content: '';
            position: absolute;
            width: 60px;
            height: 3px;
            background-color: #ff6b00;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        }

    .section-title p {
        color: #666;
        max-width: 700px;
        margin: 0 auto;
        font-size: 17px;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(0, 86, 179, 0.1);
    }

.service-icon {
    font-size: 50px;
    color: #0056b3;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #333;
}

/* Nosotros */
.about {
    padding: 80px 0;
    background-color: #f1f7fe;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    color: #0056b3;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
    font-size: 16px;
}

.about-image {
    position: relative;
}

    .about-image img {
        width: 100%;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s;
    }

    .about-image:hover img {
        transform: scale(1.02);
    }

/* Clientes */
.clients {
    padding: 80px 0;
    background-color: white;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
}

.client-logo {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s, opacity 0.3s;
    max-width: 100%;
    height: auto;
    max-height: 80px;
    width: auto;
}

    .client-logo:hover {
        filter: grayscale(0);
        opacity: 1;
    }

/* Contacto */
.contact {
    padding: 80px 0;
    background-color: #f1f7fe;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #0056b3;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: #ff6b00;
    width: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s;
    font-size: 15px;
}

    .contact-form input:focus,
    .contact-form textarea:focus {
        border-color: #0056b3;
        outline: none;
    }

.contact-form button {
    background-color: #0056b3;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
    font-size: 16px;
}

    .contact-form button:hover {
        background-color: #003d7a;
    }

/* Footer */
footer {
    background-color: #222;
    color: white;
    padding: 50px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ff6b00;
}

.footer-column ul {
    list-style: none;
}

    .footer-column ul li {
        margin-bottom: 10px;
    }

        .footer-column ul li a {
            color: #ccc;
            text-decoration: none;
            transition: color 0.3s;
            font-size: 14px;
        }

            .footer-column ul li a:hover {
                color: white;
            }

.social-links {
    display: flex;
    gap: 15px;
}

    .social-links a {
        color: white;
        font-size: 20px;
        transition: color 0.3s;
    }

        .social-links a:hover {
            color: #ff6b00;
        }

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 14px;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 18px;
    }

    nav ul li {
        margin-left: 15px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        padding: 15px 0;
    }

    nav {
        width: 100%;
        margin-top: 15px;
    }

        nav ul {
            flex-wrap: wrap;
            justify-content: center;
        }

            nav ul li {
                margin: 5px 10px;
            }

    .hero {
        height: auto;
        padding: 100px 0;
    }

        .hero h1 {
            font-size: 36px;
        }

        .hero p {
            font-size: 17px;
        }

    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

        .hero-buttons .btn {
            width: 100%;
            max-width: 250px;
        }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 30px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .service-card {
        padding: 20px;
    }
}

