* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
}


/*==============
    BANNER
================*/

.banner {
    width: 100%;
}

.banner img {
    width: 100%;
}

/* =====================
     ABOUT SECTION
  ===================== */
.about-section {
    padding: 80px 5%;
}

.about-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.about-text {
    flex: 1;
    min-width: 0;
}

.title-group {
    position: relative;
    margin-bottom: 40px;
}

.title-group h2 {
    font-size: clamp(40px, 6vw, 70px);
    line-height: 0.9;
    font-weight: 700;
    color: #00598b;
    position: relative;
    z-index: 2;
}

.title-group span {
    display: block;
    color: #1293e7;
    padding-left: clamp(3rem, 7vw, 6rem);
}

.title-line {
    width: 130px;
    height: 40px;
    background: #1188da;
    position: absolute;
    left: -50px;
    top: calc(clamp(40px, 6vw, 70px) * 1.05);
    z-index: 1;
}

.about-text p {
    font-size: clamp(15px, 1.5vw, 20px);
    line-height: 1.6;
    text-align: justify;
    color: #000;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 20px;
}

.about-images {
    flex: 1;
    min-width: 0;
    position: relative;
    aspect-ratio: 1 / 1.2;
    max-height: 650px;
}

.blue-card {
    width: 68%;
    height: 83%;
    background: linear-gradient(180deg, #1293e7, #1bb7ff);
    border-radius: 40px;
    position: absolute;
    top: 6%;
    left: 22%;
}

.image {
    position: absolute;
    overflow: hidden;
    border-radius: 35px;
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-1 {
    width: 50%;
    height: 58%;
    top: 14%;
    left: 0;
}

.image-2 {
    width: 57%;
    height: 58%;
    bottom: 20%;
    right: -8%;
}

.rect {
    position: absolute;
    background: #1188da;
}

.rect-1 {
    width: 21%;
    height: 5%;
    left: -7%;
    bottom: 11%;
}

.rect-2 {
    width: 28%;
    height: 4%;
    right: -9%;
    bottom: 25%;
}

/* =========================
   TITULOS
========================= */
.vision-section {
    padding: 35px 5% 0;
    overflow: hidden;
}

.container-vision {
    max-width: 1200px;
    margin: auto;

    position: relative;

    min-height: 850px;
}

.vision-card,
.mision-card {
    position: absolute;
}

.vision-card {
    top: 0;
    left: 0;
}

.mision-card {
    top: 180px;
    right: 0;
}

.vision-card img,
.mision-card img {
    width: 520px;
    display: block;
}

.card-text {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
}

.card-text h2 {
    font-size: 65px;
    color: #1ba2ef;
    font-weight: 700;

    position: absolute;
}

.vision-card h2 {
    top: -10px;
    left: 120px;
}

.mision-card h2 {
    top: -92px;
    left: 140px;
}

.card-text p {
    position: absolute;
    width: 300px;
    color: white;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500;
}

.vision-card p {
    top: 99px;
    left: 47px;
    text-align: justify;
}

.mision-card p {
    top: 40px;
    left: 141px;
    text-align: justify;
}

.girl {
    position: absolute;

    bottom: 0;
    left: 120px;
}

.girl img {
    width: 380px;
    display: block;
}


@media (max-width: 1200px) {
    .banner img {
        height: 300px;
        object-fit: cover;
    }
}
@media(max-width:992px) {

    .about-container {
        flex-direction: column;
    }

    .about-images {
        width: 100%;
        height: 700px;
    }

    .title-group h2 {
        font-size: 55px;
    }

    .container-vision {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 60px;

        min-height: auto;
    }

    .vision-card,
    .mision-card {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        padding-bottom: 5rem;
    }

    .girl {
        position: relative;
        left: auto;
    }

    .about-container {
        flex-direction: column;
        gap: 40px;
    }

    .about-text {
        width: 100%;
        text-align: left;
    }

    .about-text p {
        max-width: 100%;
    }

    .about-images {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        aspect-ratio: 1 / 0.9;
        max-height: 440px;
    }

    .title-group {
        text-align: center;
    }

    .title-line {
        display: none;
    }
    .title-group span{
        padding-left: 0;
    }
}

@media (max-width: 600px) {
    .about-section {
        padding: 50px 5%;
    }

    .about-container {
        gap: 30px;
    }

    .title-line {
        left: -15px;
        width: 100px;
        height: 30px;
    }

    .about-images {
        max-width: 340px;
        aspect-ratio: 1 / 0.95;
        max-height: 320px;
    }

    .rect-1 {
        left: 0;
    }

    .rect-2 {
        right: 0;
    }

    .image-2 {
        right: 0;
    }
    .about-images{
        display: none;
    }
}

@media(max-width:576px) {

    .about-images {
        height: 550px;
    }

    .blue-card {
        width: 220px;
        height: 340px;
        left: 50%;
        transform: translateX(-50%);
    }

    .image-1 {
        width: 180px;
        height: 250px;
        left: 10px;
    }

    .image-2 {
        width: 200px;
        height: 250px;
        right: 10px;
    }

    .title-group h2 {
        font-size: 42px;
    }

    .about-text p {
        font-size: 16px;
    }

    .vision-card img,
    .mision-card img {
        width: 100%;
        height: 300px;
    }

    .card-text h2 {
        font-size: 42px;
    }
    .vision-card p {
        top: 95px;
        left: 25px;
    }

    .girl img {
        width: 220px;
    }
    .mision-card p{
        left: 114px;
    }
}

@media (max-width: 495px) {
    .vision-card p{
        font-size: 15px;
        padding: 10px;
        top: 117px;
        left: 25px;
    }
    .mision-card p{
        font-size: 15px;
        top: 49px;
        left: 56px;
    }
}

@media (max-width: 427px) {
    .vision-card p{
        padding: 0;
        max-width: 210px;
        font-size: 13px;
        top: 124px;
    }
    .mision-card p {
        font-size: 13px;
        padding: 10px;
    }
}

@media (max-width: 380px) {
    .about-images {
        max-width: 100%;
    }
}