.my-container {
    max-width: 980px;
    margin-inline: auto;
}

.aboutus-content {
    padding-block: 40px;
    overflow: hidden;
    margin-top: 0px;
}

.content-1 {
    width: 20%;
    display: flex;
    align-items: start;
    justify-content: center;
}

.content-1-reverse {
    display: flex;
    align-items: start;
    justify-content: center;
    width: 3%;
}

.content-1 h3 {
    font-size: 40px;
    font-family: 'josefin', sans-serif;
    transform: rotate(-90deg);
    font-weight: 700;
    text-transform: uppercase;
    transform-origin: 74% 110%;
    letter-spacing: 2px;
    white-space: nowrap;
}

.content-1-reverse h3 {
    font-size: 40px;
    font-family: 'josefin', sans-serif;
    transform: rotate(90deg);
    font-weight: 700;
    text-transform: uppercase;
    transform-origin: 35% 200%;
    letter-spacing: 2px;
    white-space: nowrap;
}

.content-1 h3::before {
    content: '';
    border-top: 1px var(--text-yellow) solid;
    height: 1px;
    width: 170px;
    display: block;
    float: left;
    left: -190px;
    top: 22px;
    position: absolute;
}

.content-1-reverse h3::after {
    content: '';
    border-top: 1px var(--text-yellow) solid;
    height: 1px;
    width: 220px;
    display: block;
    float: left;
    right: -240px;
    top: 22px;
    position: absolute;
}

.content-2 h4 {
    font-size: 40px;
    font-family: 'josefin', sans-serif;
    letter-spacing: 0;
    color: var(--text-black-color-4);
}

.content-2 h3 {
    font-size: 40px;
    font-family: 'josefin', sans-serif;
    font-weight: 800;
    color: var(--text-yellow);
    margin-bottom: 40px;
}

.content-2 p {
    font-size: 15px;
    font-family: 'nunito', sans-serif;
    color: var(--text-black-color-2);
    text-align: justify;
}

.content-3 h2 {
    font-size: 50px;
    font-family: 'josefin', sans-serif;
    font-weight: 800;
    text-transform: capitalize;
    line-height: 1.2;
    color: var(--text-black-color-4);
    margin-bottom: 60px;
}

.content-item {
    border-right: 1px #f0d073 solid;
    height: 160px;
    padding: 10px;
}

.content-3 .content-item:last-child {
    border-right: 0;
}

.content-item h3 {
    font-size: 48px;
    color: var(--text-yellow);
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.content-3 p {
    margin-top: 20px;
    color: var(--text-black-color-4);
    text-align: center;
    font-family: 'roboto', sans-serif;
}

.content-4 {
    padding-top: 40px;
}

.content-4 .content-img img {
    width: 100%;
    height: 100%;
}

.content-4 .content-item p {
    text-align: justify;
    color: var(--text-black-color-2);
}

.content-4 .content-item {
    border-right: 0;
    height: 100%;
}

.ourcustomer {
    padding-block: 40px;
    overflow: hidden;
}

.ourcustomer h2,
.ourteam h2 {
    font-size: 50px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: capitalize;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-black-color-4);
}

.customer-item {
    border-bottom: 1px #d4d4d4 solid;
}

.customer-item .btn {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 16px;
    font-weight: 700;
    font-family: 'poppins', sans-serif;
    line-height: 1.2;
    padding-block: 15px;
}

.customer-item .btn.collapsed i {
    transform: rotate(0deg);
    transition: transform 0.3s ease-in-out;
}

.customer-item .btn:not(.collapsed) {
    color: var(--text-yellow);
}

.customer-item .btn:not(.collapsed) i {
    transition: transform 0.3s ease-in-out;
    transform: rotate(180deg);
    color: var(--text-yellow);
}

.customer-item .card-body {
    border: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 12px;
    padding: 30px 0;
}

.customer-item .card-body .card-img {
    display: flex;
    justify-content: center;
    padding-right: 12px;
    max-width: 150px;
    max-height: 60px;
    margin-bottom: 15px;
}

.customer-item .card img {
    height: auto;
    object-fit: contain;
    width: fit-content;
}

.mycontainer-1 {
    max-width: 1640px;
    margin-inline: auto;
}

.ourteam {
    padding-block: 40px;
    overflow: hidden;
}

.ourteam-item {
    position: relative;
    margin-bottom: 24px;
}

.ourteam-item-img {
    border-radius: 14px;
    overflow: hidden;
}

.ourteam-item-img img {
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
    width: 100%;
}

.ourteam-item:hover .ourteam-item-img img {
    transform: scale(1.2);
}

.ourteam-content {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    flex-wrap: nowrap;
    flex-direction: column;
    padding: 10px 20px;
    background-color: rgba(237, 181, 42, 0.72);
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    cursor: pointer;
}

.ourteam-item:hover .ourteam-content {
    opacity: 1;
}

.ourteam-content h3,.modal-body .member-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    transform: translateX(-20px);
    transition: transform 0.3s ease-in-out;
}

.ourteam-item:hover .ourteam-content h3,
.ourteam-item:hover .ourteam-content h4,
.ourteam-item:hover .ourteam-content p {
    transform: translateX(0);
}

.ourteam-content h4,.modal-body .member-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
    margin-top: 5px;
    transform: translateX(-20px);
    transition: transform 0.3s ease-in-out;
}

.ourteam-content p,.modal-body .member-content p {
    font-size: 14px;
    color: var(--text-white);
    margin-top: 20px;
    text-align: center;
    font-family: 'nunito', sans-serif;
    transform: translateX(-20px);
    transition: transform 0.3s ease-in-out;
}

.modal-dialog {
    max-width: 100vw;
    height: 100vh;
    margin: 0;
}

.modal-content {
    height: 100%;
    background-color: var(--text-yellow);
}

.modal-header {
    border-bottom: 0;
} 

.modal-header .btn-closes {
    margin-inline: auto;
    border: 1px solid var(--text-white);
    border-radius: 50%;
    color: var(--text-white);
    width: 50px;
    height: 50px;
    padding: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    transition: transform 0.2s ease-in-out;
}

.modal-header .btn-closes i {
    color: var(--text-white);
    font-size: 24px;
}

.modal-header .btn-closes:hover  {
    transform: rotate(90deg);
}

.modal-body {
    background-color: var(--text-yellow);
}

.modal-body .member-img {
    width: 380px;
    height: 380px;
}

.modal-body .member-img img {
    width: 100%;
    height: 100%;
}

.modal-body .member-content p {
    text-align: justify;
} 

@media (max-width: 992px) {
    .my-container,.mycontainer-1 {
        max-width: 100%;
        padding-inline: 10px;
    }

    .content-1 {
        width: 15%;
    }

    .content-2 {
        padding-inline: 10px;
    }

    .content-1 h3 {
        font-size: 32px;
    }

    .content-1 h3::before {
        top: 16px;
    }

    .content-1-reverse h3 {
        font-size: 22px;        
    }   
    
    .content-1-reverse h3::after {
        top: 8px;
        right: -70px;
        width: 60px;
    }
}

@media (max-width: 767.98px) {
    .content-1, .content-1-reverse {
        display: none !important;
    }

    .content-item {
        border-right: 0;
    }
}

@media (max-width: 575px) {
    .content-2 h4 {
        font-size: 28px;
    }

    .content-2 h3 {
        font-size: 34px;
        margin-bottom: 18px;
    }

    .content-item {
        height: 120px;
    }

    .content-3 h2,.ourcustomer h2, .ourteam h2 {
        font-size: 38px;
        margin-bottom: 30px;
    }

    .content-item h3 {
        font-size: 36px;
    }

    .content-3 p {
        font-size: 16px;
    }

    .customer-item .card-body {
        justify-content: center;
    }

    .modal-dialog {
        height: 100%;
    }

    .modal-header .btn-closes {
        width: 30px;
        height: 30px;
    }

    .modal-header .btn-closes i {
        font-size: 18px;
    }

    .modal-body .member-img {
        width: 300px;
        height: 300px;
    }

    .member-content {
        width: 100%;
    }
}
