/* General Body Styles */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    color: #333;
    background-color: #f4f4f4;
}

/* Header */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 15px; /* Adjusted horizontal padding */
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo img {
    height: 40px;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* Main Content */
main {
    padding: 2rem;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
}

.hero-content h1 {
    font-size: 2.5rem;
    color: #1e2f51;
    margin-bottom: 0.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: #555;
}

.hero-image img {
    width: 100%;
    border-radius: 8px;
}

/* Servicios Section */
.servicios-section {
    margin-bottom: 3rem;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.servicio-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.servicio-card h3 {
    color: #8bbd3f;
    font-size: 1.5rem;
    margin-top: 0;
}

.servicio-card ul {
    list-style: none;
    padding: 0;
}

.servicio-card li {
    margin-bottom: 0.5rem;
}

/* Mission Section */
.mission-section {
    text-align: center;
    padding: 3rem 1rem;
    background-color: #1e2f51;
    color: #fff;
    border-radius: 8px;
    margin-bottom: 3rem;
}

.mission-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #8bbd3f;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #7aa832;
}

/* Footer */
footer {
    background-color: #fff;
    padding: 3rem 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* más flexible */
    gap: 3rem;
    margin-bottom: 2rem;
}


.footer-column h4 {
    margin-bottom: 1rem;
    color: #1e2f51;
}

.footer-column p, .footer-column a {
    margin: 0.5rem 0;
    text-decoration: none;
    color: #555;
}

.social-media {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-media img {
    height: 32px;
}

.copyright {
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 1rem;
    color: #777;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    main {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }

    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }

    nav.active {
        display: flex;
        background-color: #fff;
        border-top: 1px solid #eee;
        padding: 1rem 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    nav a {
        text-align: center;
        padding: 0.5rem 0;
    }

    .hamburger {
        display: block;
    }
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .hero-image img {
        max-width: 90%;
        margin: 0 auto;
    }
    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .servicio-card {
        padding: 1.2rem;
    }
    footer {
        padding: 2rem 1rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-media {
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}