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

.aboutus__content {
    display: flex;
    flex-direction: column;
    max-width: 1700px;
    width: 100%;
    padding: 3rem 3rem 6rem;
    gap: 2rem;
    align-items: space-between;
}

.aboutus__text {
    display: flex;
    gap: 5rem;
}

.aboutus__text-header {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex: 1.1;
}

.aboutus__text-stats {
    display: flex;
    justify-content: flex-end;
    flex: 1;
}

.aboutus__tiles-left {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.aboutus__tiles {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    padding-top: 5rem;
}

.aboutus__tiles-tile {
    display: flex;
    flex: 1;
    gap: 2rem;
    padding: 1.3rem 1.3rem 1.3rem 1.8rem;
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='24' ry='24' stroke='%2377819780' stroke-width='1' stroke-dasharray='6.07%2c6.07' stroke-dashoffset='0' stroke-linecap='butt'/%3e%3c/svg%3e");
}

.aboutus__tiles-tile img {
    width: 100%;
    height: 100%;
    min-width: 0;
    flex: 1.1;
    border-radius: 1rem;
    object-fit: contain;
}

.aboutus__tiles-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 1rem;
}

.aboutus__tile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-width: 0;
    border-radius: 16px;
}

@media only screen and (max-width: 1300px) {

    .aboutus__content {
        padding: 3rem 2rem 5rem;
    }

    .aboutus__text {
        gap: 3rem;
    }

    .aboutus__text-header {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        flex: 1;
    }
}

@media only screen and (max-width: 1190px) {
    .aboutus__text {
        flex-direction: column;
        gap: 2rem;
        max-width: 700px;
        align-self: center;
    }

    .aboutus__text-header {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        text-align: center !important;
        flex: 1;
    }

    .aboutus__text-header .fs48Size {
        font-size: 30px;
    }

    .aboutus__text-stats {
        display: flex;
        justify-content: center;
        flex: 1;
    }

    .aboutus__tiles-right {
        display: none;
    }

    .aboutus__tiles {
        grid-template-columns: 1fr;
    }

    .aboutus__tiles-left {
        max-width: 800px;
        justify-self: center;
    }
}

@media only screen and (max-width: 700px) {
    .aboutus__content {
        padding: 3rem 1.1rem 5rem;
    }

    .aboutus__text .about-hospital__stats p {
        font-size: 12px;
    }

    .aboutus__text .about-hospital__stats .fs56Size {
        font-size: 36px;
    }

    .about-hospital__stats {
        gap: 0.4rem;
    }

    .aboutus__text-header p {
        line-height: 190%;
    }

    .aboutus__tiles {
        padding-top: 1rem;
    }

    .aboutus__tiles-tile {
        padding: 0.6rem 0.6rem 2rem 0.6rem;
        flex-direction: column-reverse;
        text-align: center !important;
        gap: 1.4rem;
    }

    .aboutus__tiles-tile p {
        line-height: 160%;
    }


}

.pillars {
    display: flex;
    background-color: #09284C;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;

}

.pillars__content {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 4rem;
    gap: 4rem;
    color: #ffffff;
}

.pillars__tile {
    display: flex;
    flex: 1;
    width: 100%;
    background-color: #ffffff;
    border-radius: 20px;
    gap: 7rem;
    max-width: 1900px;
    padding: 4rem;
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='24' ry='24' stroke='%2377819780' stroke-width='1' stroke-dasharray='6.07%2c6.07' stroke-dashoffset='0' stroke-linecap='butt'/%3e%3c/svg%3e");
}

.pillars__tile img {
    width: 100%;
    height: 100%;
    min-width: 0;
    flex: 0.75;
    border-radius: 1rem;
    object-fit: contain;
}

.pillars__tile-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: left;
    gap: 1.5rem;
}

.pillars__tile-content ul {
    margin-top: 1rem;
}

.pillars__tile-content li {
    margin-left: 2rem;
    text-align: left;
}

.pillars__transparent {
    background-color: transparent;
    background-image: none;
    align-items: center;
    padding: 0 0 0 3rem;
}

.pillars__tile-consultant {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    gap: 5rem;
}

.pillars__tile-consultant-img {
    width: 100%;
    height: 100%;
    min-width: 0;
    flex: 1;
    object-fit: cover;
    max-width: 332px;
}

.pillars__tile-consultant-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2rem;
}

.pillars__tile-consultant .appear {
    display: none;
}

@media only screen and (max-width: 1400px) {
    .pillars__tile {
        gap: 5rem;
    }

    .pillars__tile-consultant {
        gap: 3rem;
    }

    .pillars__transparent {
        padding: 0 0 0 1.5rem;
    }
}

@media only screen and (max-width: 1190px) {
    .pillars__tile {
        max-width: 600px;
        flex-direction: column-reverse;
        /* text-align: center; */
        gap: 2rem;
    }

    .pillars__tile:nth-child(2n) {
        flex-direction: column;
    }

    .pillars__transparent {
        flex-direction: column;
    }

    .pillars__transparent:nth-child(2n) {
        flex-direction: column-reverse;
    }

    .pillars__tile-consultant {
        flex-direction: column-reverse;
        gap: 2rem;
    }

    .pillars__tile-consultant .appear {
        display: flex;
    }

    .pillars__tile-consultant .disappear {
        display: none;
    }

    .pillars__transparent {
        text-align: center !important;
    }
}

@media only screen and (max-width: 700px) {
    .pillars__content {
        padding: 3rem 1rem;
        gap: 1.5rem;
    }

    .pillars__content .fsSpace {
        font-size: 30px;
        text-align: center !important;
    }
    
    .pillars__tile {
        padding: 0.7rem 0.7rem 1.5rem;
    }

    .pillars__tile-content ul {
        padding-left: 0;
    }
}