/* Estilos específicos para nosotros.html */

.hero-nosotros {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    background-image: url('../img/Agrícola Cordillera Ltda/Agricola Cordillera 1.webp');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-nosotros::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Dark overlay */
}

.hero-nosotros .container {
    position: relative;
    z-index: 2;
}

.hero-nosotros h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
}

.hero-nosotros .hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
}

/* New About Us Section */
.about-us-new {
    padding: 80px 0;
    background-color: var(--white);
}

.about-us-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-us-image-new {
    position: relative;
    padding: 0;
    height: 450px; /* Set a fixed height to make it elongated */
    border-radius: 8px; /* Apply border-radius to the container */
    box-shadow: 0 6px 15px rgba(0,0,0,0.08); /* Apply box-shadow to the container */
    overflow: hidden; /* Hide overflowing parts of the image */
}

.about-us-image-new .main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
    box-shadow: none;
}

.about-us-image-new .overlay-image {
    position: absolute;
    bottom: -20px; /* Adjust position as needed */
    right: -20px; /* Adjust position as needed */
    width: 60%; /* Adjust size as needed */
    height: 60%; /* Adjust size as needed */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    border: 4px solid var(--white); /* Add a white border for separation */
}

.about-us-content-new {
    text-align: left;
}

.about-us-content-new .subtitle {
    color: var(--secondary-color);
    font-size: 0.9em;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.about-us-content-new h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.8em;
    color: var(--dark-grey);
    margin-bottom: 15px;
    line-height: 1.1;
}

.about-us-content-new .description {
    color: #666666;
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 30px;
}

.progress-item {
    margin-bottom: 20px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: var(--dark-grey);
    margin-bottom: 5px;
}

.progress-bar {
    background-color: var(--light-grey);
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    background-color: var(--primary-color);
    height: 100%;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: var(--white);
    font-size: 0.8em;
    font-weight: 700;
    padding-right: 5px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background-color: var(--light-grey);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.feature-item i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 1.2em;
    color: var(--dark-grey);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.9em;
    color: #666;
    line-height: 1.6;
}

/* CTA Bottom Section */
.cta-bottom {
    background-color: var(--dark-grey);
    padding: 80px 0;
    color: var(--white);
    background-image: url('../img/Pedro Alberto Mansilla Fabbri/Mansilla 1.webp'); /* Example image */
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.cta-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dark overlay */
    z-index: 1;
}

.cta-content-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cta-text-bottom {
    flex: 1;
    text-align: left;
}

.cta-text-bottom h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.8em;
    line-height: 1.2;
    margin-bottom: 15px;
}

.cta-text-bottom .description {
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #ccc;
}

.cta-image-bottom {
    flex: 0.8;
    text-align: right;
}

.cta-image-bottom img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

/* Responsive adjustments for nosotros.html */
@media (max-width: 992px) {
    .about-us-grid-new {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-us-content-new h2,
    .about-us-content-new .subtitle,
    .about-us-content-new .description {
        margin-left: auto;
        margin-right: auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-content-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cta-image-bottom {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-nosotros {
        padding: 80px 0;
    }

    .hero-nosotros h1 {
        font-size: 2.5em;
    }

    .hero-nosotros .hero-description {
        font-size: 1em;
    }

    .about-us-new {
        padding: 60px 0;
    }

    .about-us-content-new h2 {
        font-size: 2.2em;
    }

    .cta-bottom {
        padding: 60px 0;
    }

    .cta-text-bottom h2 {
        font-size: 2.2em;
    }
}

@media (max-width: 480px) {
    .hero-nosotros h1 {
        font-size: 2em;
    }

    .about-us-content-new h2 {
        font-size: 1.8em;
    }

    .cta-text-bottom h2 {
        font-size: 1.8em;
    }
}
