/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Montserrat:wght@400;500;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Roboto', sans-serif;
    margin: 0;
    background: #ffffff;
    color: #2d3748;
    line-height: 1.7;
}

:root {
    --eco-primary: #10b981;
    --eco-secondary: #059669;
    --eco-dark: #047857;
    --eco-light: #d1fae5;
    --eco-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Navbar */
.navbar-brand.logo-brand {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--eco-primary) !important;
    text-decoration: none;
}

.nav-link {
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--eco-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.dropdown-menu-modern {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 0.75rem;
}

.dropdown-item:hover {
    background: var(--eco-light);
    color: var(--eco-dark);
    transform: translateX(5px);
}

/* Quienes Somos Section */
#quienes-somos {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f7fafc 100%);
}

#quienes-somos h1 {
    font-family: 'Montserrat', sans-serif;
    color: var(--eco-dark);
    font-weight: 800;
    font-size: 3rem;
    margin-bottom: 3rem;
    animation: fadeInDown 0.8s ease;
    position: relative;
    display: inline-block;
}

#quienes-somos h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--eco-gradient);
    border-radius: 2px;
}

#quienes-somos .text-center {
    display: block;
}

#quienes-somos .col-lg-6 p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    text-align: justify;
    animation: fadeInLeft 0.8s ease;
}

#quienes-somos .col-lg-6:first-child {
    padding-right: 2rem;
}

/* Images Grid */
.images .row {
    gap: 1rem;
}

.images img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
    animation: fadeInRight 0.8s ease;
}

.images .col-6:first-child img {
    animation-delay: 0.2s;
}

.images .col-6:last-child img {
    animation-delay: 0.4s;
}

.images img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.2);
}

.object-fit-cover {
    object-fit: cover;
}

/* Values Section (Optional Enhancement) */
.valores-section {
    padding: 4rem 0;
    background: var(--eco-light);
    margin-top: 3rem;
}

.valor-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.valor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.15);
}

.valor-icon {
    width: 70px;
    height: 70px;
    background: var(--eco-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

/* Footer */
footer {
    background: #1a202c;
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3,
.footer-links h3,
.footer-social h3,
.footer-newsletter h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-info p,
.footer-links a,
.footer-social a {
    color: #a0aec0;
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.footer-links ul,
.list-unstyled {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a:hover,
.footer-social a:hover {
    color: var(--eco-primary);
    padding-left: 5px;
}

.footer-social a {
    display: block;
    margin-bottom: 0.5rem;
}

.footer-newsletter .form-control {
    border-radius: 50px 0 0 50px;
    border: none;
    padding: 0.75rem 1.25rem;
}

.footer-newsletter .btn {
    border-radius: 0 50px 50px 0;
    background: var(--eco-gradient);
    border: none;
    padding: 0.75rem 1.5rem;
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #a0aec0;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    #quienes-somos .col-lg-6:first-child {
        padding-right: 1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    #quienes-somos {
        padding: 3rem 0;
    }
    
    #quienes-somos h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    #quienes-somos .col-lg-6 p {
        font-size: 1rem;
        text-align: left;
    }
    
    .images .row {
        margin-top: 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    #quienes-somos h1 {
        font-size: 1.75rem;
    }
}
