.container {
    max-width: 100%;
    margin: 50px auto;
    text-align: left;
    padding: 20px;
}

.header-text {
    font-size: 34px;
    font-weight: bold;
    margin: 10px 0;
    text-align: left;
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 120px;
}

/* IMAGEN PRINCIPAL */
.left-section img {
    width: 100%;
    max-width: 600px;
}

/* SECCIÓN DERECHA */
.right-section {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* IMÁGENES EN GRID */
.image-grid {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.image-grid img {
    width: 100%;
    max-width: 280px;
    margin-right: 60px;
}

.text-section {
    text-align: left;
    margin-top: 70px;
}

.text-section p {
    font-size: 16px;
    line-height: 1.6;
}

/* BOTÓN */
.button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: black;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
}

/* ============================= */
/* SECCIÓN DE SERVICIOS */
/* ============================= */

.services-container {
    max-width: 95%;
    margin: 90px 10px;
    text-align: left;
    padding: 20px;
    margin-top: 20px;
	align-content: center;

}

.subtitle {
    text-transform: uppercase;
    font-size: 14px;
    color: #777;
}

.title {
    font-size: 36px;
    font-weight: bold;
    margin: 10px 0;
    background-color: #c52825;
    padding: 20px;
    color: #fff;
}

.description {
    font-size: 16px;
    color: #666;
}

.view-all {
    display: inline-block;
    margin-top: 10px;
    color: black;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

/* ============================= */
/* GRID DE SERVICIOS */
/* ============================= */
.services-grid {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.service-card {
    background-color: #f8f9fc;
    padding: 20px;
    border-radius: 10px;
    width: 30%;
    text-align: left;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    background-color: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.service-card h2 {
    font-size: 20px;
    font-weight: bold;
    color: #c52825;
}

.service-card hr {
    margin: 10px 0;
    border: none;
    border-top: 1px solid #ccc;
}

.service-card p {
    font-size: 14px;
    color: #555;
}

.arrow {
    display: inline-block;
    margin-top: 15px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

/* ============================= */
/* SOBRE NOSOTROS */
/* ============================= */

.aboutus-container {
    max-width: 1100px;
    margin: 50px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 20px;
    background-color: #fff;
    color: black;
}

.aboutus-left {
    max-width: 400px;
}

.aboutus-subtitle {
    text-transform: uppercase;
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.aboutus-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.aboutus-button {
    display: inline-block;
    background-color: black;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

.aboutus-right {
    max-width: 600px;
}

.aboutus-description {
    font-size: 16px;
    color: #333;
    margin-bottom: 30px;
}

.aboutus-stats {
    display: flex;
    justify-content: space-between;
}

.aboutus-stat-item {
    text-align: left;
    max-width: 250px;
}

.aboutus-stat-number {
    font-size: 48px;
    font-weight: bold;
    margin: 0;
}

.aboutus-stat-label {
    font-size: 14px;
}

/* ============================= */
/* RESPONSIVE DESIGN */
/* ============================= */

@media (max-width: 1024px) {
    .content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .right-section {
        max-width: 100%;
        text-align: center;
        align-items: center;
    }

    .image-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .image-grid img {
        max-width: 100%;
        margin-right: 0;
    }

    .text-section {
        margin-top: 40px;
        text-align: center;
    }

    .services-grid {
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        width: 100%;
        margin-bottom: 20px;
    }

    .aboutus-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .aboutus-left, .aboutus-right {
        max-width: 100%;
    }

    .aboutus-stats {
        flex-direction: column;
        align-items: center;
    }

    .aboutus-stat-item {
        max-width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .header-text {
        font-size: 28px;
    }

    .text-section p {
        font-size: 14px;
    }

    .services-container {
        max-width: 95%;
        padding: 10px;
    }

    .services-grid {
        flex-direction: column;
    }

    .service-card {
        width: 100%;
        margin-bottom: 15px;
    }

    .aboutus-title {
        font-size: 28px;
    }

    .aboutus-subtitle {
        font-size: 12px;
    }

    .aboutus-description {
        font-size: 14px;
    }

    .aboutus-button {
        font-size: 14px;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .header-text {
        font-size: 24px;
    }

    .text-section p {
        font-size: 14px;
    }

    .services-container {
        max-width: 100%;
        padding: 10px;
    }

    .services-grid {
        flex-direction: column;
    }

    .service-card {
        width: 100%;
        margin-bottom: 15px;
    }

    .aboutus-title {
        font-size: 24px;
    }

    .aboutus-subtitle {
        font-size: 12px;
    }

    .aboutus-description {
        font-size: 14px;
    }

    .aboutus-button {
        font-size: 14px;
        padding: 8px 16px;
    }
}
