* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.about-section {
    max-width: 1500px;
    margin: 10 auto;
    background-color: #2d4f95;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1800px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* ===== IMAGEN ===== */
.image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.image-container img {
    width: 110%;
    height: auto;
    max-height: 1800px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.3s ease;
    filter: brightness(0.90);
}

.image-container:hover img {
    transform: scale(1.03);
    filter: brightness(1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 53, 93, 0.8), transparent);
    color: white;
    padding: 30px 20px 20px;
}

.image-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.content-container {
    padding: 5px;
}


.section-title {
    font-size: 0.95rem;
    letter-spacing: 0.px;
    text-transform: uppercase;
    font-weight: 600;
}

.about-section .section-title {
    font-size: 1.7rem;
    color: #ffffff;
}

.section-description {
    font-size: 1.1rem;
    color: #ffffff;
    line-height: 1.4;
    margin: 30px 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 5px 15px #2d4f95;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #d01341, #a50f34);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 2rem;
    color: #2c80b9;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #d01341;
    margin-bottom: 5px;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: #555;
    font-weight: 500;
}

.highlight {
    color: #2c80b9;
    font-weight: 600;
}

.btn-container {
    margin-top: 30px;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(to right, #d01341, #1a5f9e);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(44, 128, 185, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(44, 128, 185, 0.4);
}

@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .image-container img {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .stats-container {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1rem;

    }

    .about-section {
        padding: 50px 20px;
    }
}


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

/* Tablets (≤992px) */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 20px;
    }

    .image-container img {
        max-height: 500px;
    }

    .image-overlay {
        text-align: center;
        padding: 30px 20px;
    }

    .image-overlay h3 {
        font-size: 1.8rem;
    }

    .image-overlay p {
        font-size: 1rem;
    }
}

/* Móviles grandes (≤768px) */
@media (max-width: 768px) {
    .image-container {
        border-radius: 12px;
    }

    .image-container img {
        max-height: 400px;
    }

    .image-overlay {
        background: linear-gradient(to top, rgba(26, 53, 93, 0.85), transparent 60%);
        text-align: center;
    }

    .image-overlay h3 {
        font-size: 1.6rem;
    }

    .image-overlay p {
        font-size: 0.95rem;
    }
}

/* Móviles pequeños (≤480px) */
@media (max-width: 480px) {
    .about-container {
        padding: 30px 10px;
        gap: 30px;
    }

    .image-container img {
        max-height: 320px;
        object-position: top;
    }

    .image-overlay {
        padding: 20px 15px;
        background: linear-gradient(to top, rgba(26, 53, 93, 0.9), transparent 50%);
    }

    .image-overlay h3 {
        font-size: 1.4rem;
    }

    .image-overlay p {
        font-size: 0.9rem;
    }
}