:root {
    --primary-color: #ff6b35;
    --secondary-color: #f7931e;
    --accent-color: #FFF4C9;
    --light-color: #FFF4C9;
}
.navbar-custom {
    background-color: #999662;
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--light-color) !important;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;

}

header {
    background: #999662;
    color: #222;
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

nav.container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

header.scrolled {
    background: #999662 !important;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #222;
}

.logo-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #4b3f2a; 
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #a8c09a;
    background: none;
}

.hero {
    background-image: url('../assets/nosotros.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 300px; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 0;
    padding-top: 70px; 
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.about {
    padding: 100px 0;
    background: #f8f5e4;
}

.about h2 {
    font-size: 2.5rem;
    color: #2d4a3e;
    margin-bottom: 2rem;
    text-align: center;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    color: #555;
}

.about-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.values {
    padding: 100px 0;
    background: white;
}

.values h2 {
    font-size: 2.5rem;
    color: #2d4a3e;
    margin-bottom: 3rem;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: #f8f5e4;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: #a8c09a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
    transition: background 0.3s ease;
}

.value-card:hover .value-icon {
    background: #2d4a3e;
}

.value-card h3 {
    color: #2d4a3e;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.value-card p {
    color: #666;
}

.social-responsibility {
    padding: 100px 0;
    background: #2d4a3e;
    color: white;
}

.social-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.social-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #a8c09a;
}

.social-text h3 {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.social-text p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.social-image {
    background: #a8c09a;
    height: 300px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}
.social-image video {
    width: 100%;
    height: 100%;
    max-width: 420px;
    border-radius: 10px;
    object-fit:scale-down
   
}
.social-image:hover {
    transform: scale(1.05);
}

.contact {
    padding: 100px 0;
    background: #d2691e;
    color: white;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.contact > p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .about-content,
    .social-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .about h2,
    .values h2,
    .social-text h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .about-image,
    .social-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .value-card {
        padding: 1.5rem;
    }
    
    .about,
    .values,
    .social-responsibility,
    .contact {
        padding: 60px 0;
    }
}

.hero_nosotros_img {
    width: 120px;      
    height: auto;
    border-radius: 12px; 
    display: block;
    margin: 16px auto; 
}

.bg-custom-footer {
    background-color: #CE6516 !important;
}

