@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: #39ff14;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    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;
}

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

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: 1.5rem;
    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: 3rem;
    margin-bottom: 10px;
    color: #39ff14;
}

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

.section h2 {
    font-size: 2.5rem;
    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: 1.8rem;
    margin-bottom: 15px;
}

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

.service-card {
    background-color: var(--surface-color);
    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: #ffffff;
}

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


.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: var(--primary-color);
    border-color: var(--primary-color);
}



/* New Footer */
footer.new-footer {
    background-color: #212121;
    color: #ffffff;
    padding: 10px 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: 1.5rem;
    margin-bottom: 10px;
}

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

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

/* Future Section */
#future {
    position: relative;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('img/esfera-azul.png');
    background-size: cover;
    background-position: center;
    color: white;
}

.future-text {
    position: relative;
    z-index: 1;
    text-align: right;
    width: 100%;
}

.future-text ul {
    list-style: none;
    padding: 0;
}

.future-text li {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #39ff14;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Simple hiding for mobile, can be improved with JS */
    }

    .hero h1 {
        font-size: 2.2rem;
    }

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

#future h2 {
    color: #39ff14;
}

.new-footer .footer-column ul {
    list-style: none;
    padding: 0;
}

.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 */
}
