@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Heebo", sans-serif;
    --primary-bg-color: #25272d;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
}

.who-we-are h3 {
    color: var(--white-color);
}

.who-we-are p {
    font-size: 18px;
    color: var(--cream-color);
}

.who-we-are {
    background-color: var(--cream-color);
    padding: 100px;
    padding-top: 50px;
    padding-bottom: 50px;
    overflow: hidden;
}

.container {
    margin: 0 auto;
    padding: 0;
    /* padding: 20px; */
}

.who-we-are .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-block: 4.5rem;
    overflow: visible;
    position: relative;
}

.mar-left {
    margin-left: -45px;
    z-index: 999;
}

.mar-right {
    margin-right: -45px;
    z-index: 0;
}

.who-we-are .row .img,
.who-we-are .row img {
    height: 375px;
    width: 100%;
}

.who-we-are .row .content {
    display: flex;
    padding-inline: 1rem;
    flex-direction: column;
    gap: 1rem;
    /* margin-top: 1rem; */
    text-align: justify;
    padding: 50px 30px;
    background-color: var(--dark-rose-color);
}

.section-head {
    margin-bottom: 60px;
}

.section-head p {
    font-size: 18px;
    color: var(--dark-red-color);
    text-align: -webkit-center;
}


.section-head h4 {
    position: relative;
    padding: 0;
    color: var(--dark-rose-color);
    line-height: 1;
    letter-spacing: 0.3px;
    font-size: 34px;
    font-weight: 700;
    text-align: center;
    text-transform: none;
    margin-bottom: 30px;
}

.section-head h4:before {
    content: '';
    width: 60px;
    height: 3px;
    background: var(--dark-rose-color);
    position: absolute;
    left: 0px;
    bottom: -10px;
    right: 0;
    margin: 0 auto;
}

.section-head h4 span {
    font-weight: 700;
    padding-bottom: 5px;
    color: var(--dark-red-color)
}

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

    .who-we-are .row {
        grid-template-columns: 1fr;
    }

    .who-we-are .row:nth-child(2n) img {
        order: 1;
    }



    .who-we-are .row:nth-child(2n) .content {
        order: 2;

    }

    .who-we-are .row .content {
        text-align: left;
    }

    .container {
        max-width: 90%;
    }
}


@media screen and (max-width: 1000px) {
    .who-we-are {

        padding: 30px;

    }
}

.sqare-box-left {
    background-color: var(--light-rose-color);
    width: 164.38px;
    /* Equivalent to 100px assuming 16px base font size */
    height: 64px;
    /* Equivalent to 50px */
    position: absolute;
    bottom: 1.6875em;
    /* 27px converted */
    left: -2.625em;
    /* -42px converted */
}

.sqare-box-right {
    background-color: var(--light-rose-color);
    width: 164.38px;
    height: 64px;
    position: absolute;
    bottom: -1.3125em;
    right: -5.625em;
}

.sqare-box-left {
    background-color: var(--light-rose-color);
    width: 164.38px;
    height: 64px;
    position: absolute;
    bottom: -2.3125em;
    left: -4.625em;
}

.who-we-are .row ul {
    list-style: square;
    color: var(--cream-color);
    padding: 10px;
    padding-left: 15px;
}

@media (max-width: 1285px) {

    .why-choose-us-flex-div {
        width: 350px;
    }
}

@media (max-width: 960px) {
    .why-choose-us-flex-div {
        width: 90%;
    }
}

@media (max-width: 747px) {
    .why-choose-us {
        padding: 50px 20px;
    }
}



@media (max-width: 770px) {


    .mar-right {
        margin-right: 0;
    }

    .sqare-box-left {

        bottom: -2.3125em;
        left: -2.625em;
    }

    .sqare-box-right {

        bottom: -1.6875em;

    }

    .mar-left {
        margin-left: 0;
    }

    .who-we-are .row {
        gap: 0;
        margin: 75px 0px;
    }

    .who-we-are .row img {
        width: 100%;
        height: 100%;
    }

    .who-we-are .row .img,
    .who-we-are .row img {
        height: 100%;
        width: 100%;
    }
}

@media (max-width: 440px) {
    .who-we-are .row .content {
        padding: 50px 10px;

    }

    .who-we-are .container {
        max-width: 100%;

    }
}