/* About Banner Styles */
.about-banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 5.5rem 0 4rem;
    text-align: center;
    position: relative;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.about-banner>* {
    position: relative;
    z-index: 2;
}

.about-banner-container {
    padding: 0 2rem;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.about-banner .about-banner-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 2rem !important;
    color: #2f9d91 !important;
    /* verde azulado */
    text-align: center !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.about-banner-card {
    position: relative;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
    overflow: hidden; /* Prevent pseudo-elements from causing overflow */
}

/* sombra izquierda - ajustada para evitar overflow */
.about-banner-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50px; /* Reducido de -150px a -50px */
    width: 200px; /* Reducido de 300px a 200px */
    height: 200px; /* Reducido de 300px a 200px */
    background: radial-gradient(circle, rgba(0, 163, 164, 0.25) 0%, transparent 70%);
    z-index: -1;
}

/* sombra inferior derecha - ajustada para evitar overflow */
.about-banner-card::after {
    content: "";
    position: absolute;
    bottom: -50px; /* Reducido de -150px a -50px */
    right: -50px; /* Reducido de -150px a -50px */
    width: 200px; /* Reducido de 300px a 200px */
    height: 200px; /* Reducido de 300px a 200px */
    background: radial-gradient(circle, rgba(0, 163, 164, 0.25) 0%, transparent 70%);
    z-index: -1;
}

.about-banner-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a1f44;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.about-banner-heading .highlight {
    color: #2a76d2;
}

.about-banner-description {
    color: #666666;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.about-banner-cta-btn {
    display: inline-block;
    background: #f47c2c;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none !important;
    transition: background 0.3s ease;
    font-size: 1rem;
}

.about-banner-cta-btn:hover,
.about-banner-cta-btn:focus {
    background: #d96516;
    outline: none;
    color: #fff;
    text-decoration: none;
}

.about-banner-logo {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: auto;
    opacity: 0.8;
}

/* Responsive Design */

/* Tablet */
@media (max-width: 1024px) {
    .about-banner {
        padding: 5rem 0 3rem;
    }

    .about-banner-container {
        padding: 0 1.5rem;
    }

    .about-banner .about-banner-title {
        margin-bottom: 1.5rem !important;
    }

    .about-banner-card {
        max-width: 100%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .about-banner {
        padding: 7rem 0 3rem;
    }

    .about-banner-container {
        padding: 0 1rem;
    }

    .about-banner .about-banner-title {
        margin-bottom: 1.25rem !important;
    }

    .about-banner-cta-btn {
        font-size: 0.9rem;
        padding: 0.65rem 1.25rem;
    }

    .about-banner-logo {
        width: 35px;
    }
}

/* Small Mobile */
@media (max-width: 575px) {
    .about-banner {
        padding: 5rem 0 3rem;
    }

    .about-banner-container {
        padding: 0 0.75rem;
    }

    .about-banner .about-banner-title {
        margin-bottom: 1rem !important;
    }

    .about-banner-description {
        font-size: 0.9rem;
    }

    .about-banner-cta-btn {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }

    .about-banner-logo {
        width: 32px;
        bottom: 0.75rem;
        right: 0.75rem;
    }
}