@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    --primary-color: #212121; /* Verde neón */
    --background-color: #ffffff;
    --surface-color: #797979;
    --text-color: #000000;
    --secondary-text-color: #a0a0a0;
    --green-color_ant: #39ff14;
    --green-color: #6ABA01;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Hide horizontal scrollbar */
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden; /* Hide horizontal scrollbar */
}

.container {
    width: 95%;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 0;
}

/* Header */
header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%; /* Ensure header takes full width */
}

header .nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.hamburger-menu {
    display: none; /* Hidden by default */
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-color);
}

header a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    padding-bottom: 5px; /* Add some space for the underline */
    border-bottom: 2px solid transparent;
}

header a:hover {
    color: #39ff14;
    border-bottom: 2px solid #39ff14;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
}

.logo span {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 700;
}

nav.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('img/hero-background.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 10px;
    color: #39ff14;
}

/* General Section Styling */
.section {
    padding: 30px 0;
    text-align: center;
}

.section h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 40px;
    color: var(--primary-color);
}

/* Legacy Section (Vision/Mission) */
.legacy-content {
    display: flex;
    gap: 40px;
    text-align: left;
}

.vision, .mission {
    background-color: var(--surface-color);
    padding: 30px;
    border-radius: 8px;
    flex: 1;
    border-left: 4px solid var(--green-color);
    color: #ffffff;
}

.legacy-content h3 {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    margin-bottom: 15px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    background-color: #F4F6F6;
    padding: 30px 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column; /* Stack icon and text vertically */
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-color);
    box-shadow: 6px 6px 12px rgba(0,0,0,0.1);
}

.service-card i {
    font-size: clamp(2rem, 4vw, 3rem); /* Icon size */
    margin-bottom: 15px; /* Space between icon and text */
    color: var(--primary-color);
}


.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 6px 6px 12px rgba(0,0,0,0.1);
    background-color: #424242;
    color: var(--green-color);
    border-color: var(--primary-color);
}

.service-card:hover i {
    color: var(--green-color);
}



/* New Footer */
footer.new-footer {
    background-color: #212121;
    color: #ffffff;
    padding: 10px 0;
    width: 100vw; /* Force 100% viewport width */
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

footer.new-footer .footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

footer.new-footer .footer-column {
    flex: 1;
    padding: 0 20px;
}

footer.new-footer .footer-column h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    margin-bottom: 10px;
}

footer.new-footer .copyright {
    text-align: center;
    border-top: 1px solid #ffffff;
    padding-top: 5px;
}

.highlight {
    color: var(--primary-color);
}



/* Responsive Design */
@media (max-width: 768px) {
    body {
        width: 100% !important;
    }

    * {
        max-width: 100%;
        box-sizing: border-box; /* Ensure border-box is applied */
    }

    .hamburger-menu {
        display: block; /* Show hamburger menu on small screens */
    }

    header .nav-links {
        display: none; /* Hide nav links by default */
        flex-direction: column;
        position: absolute;
        top: 60px; /* Adjust based on your header height */
        left: 0;
        width: 100%;
        background-color: #ffffff; /* Same as header background */
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        padding: 10px 0;
        z-index: 999;
    }

    header .nav-links.active {
        display: flex; /* Show nav links when active */
    }

    .nav-links li {
        text-align: center;
        margin: 10px 0;
    }

    .hero h1 {

    }

    .legacy-content {
        flex-direction: column;
    }

    .container {
        padding: 0 10px; /* Add some horizontal padding */
    }
}

    .legacy-content {
        flex-direction: column;
    }
}

@media (max-width: 1200px) and (min-width: 769px) {
    body {
        width: 100% !important;
    }

    * {
        max-width: 100%;
        box-sizing: border-box; /* Ensure border-box is applied */
    }

    /* Estilos para tablets de 12 pulgadas */
    .container {
        padding: 0 20px; /* Add some horizontal padding */
        width: 100%;
    }

    .hero h1 {

    }

    .section h2 {

    }

    .legacy-content {
        flex-direction: column;
        gap: 20px;
    }

    .vision, .mission {
        padding: 20px;
    }

    .services-grid,
    .solucion-ecosistema-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .experiencia-cliente-content {
        flex-direction: column;
        gap: 20px;
    }

    .experiencia-cliente-text,
    .experiencia-cliente-image {
        flex: none;
        width: 100%;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .future-text li {

    }

    footer.new-footer .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    footer.new-footer .footer-column {
        padding: 0 10px;
    }

    footer.new-footer .footer-column ul {
        flex-direction: column;
        gap: 5px;
    }

    footer.new-footer .footer-column ul {
        flex-direction: column;
        gap: 5px;
    }
}



.new-footer .footer-column ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
}

.new-footer .footer-column ul li {
    margin-bottom: 5px;
}

.new-footer .footer-column ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.new-footer .footer-column ul li a:hover {
    color: var(--green-color);
}

.fa-whatsapp {
    font-size: 3em; /* 3 times the size of its parent */
    color: #39ff14; /* Green color */
}

.whatsapp-link {
    color: #39ff14;
    text-decoration: none; /* Remove underline */
}
