/*********************
START: ABOUT
*********************/
.about--content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.about--content>div {
    width: 25%;
}

.about--content>div>h2 {
    font-weight: 400;    
	font-family: var(--font-family-Poppins);
}

.about--content>div>h3 {
    font-weight: 500;
    font-family: var(--font-family-Poppins);
}


.services--box h2, 
.team--content h4, 
ul.services--content li.tab--content > div h5{
	font-family: var(--font-family-Poppins);
	font-weight: 500;
	
}

.about--content>picture {
    width: 70%;
}

.about--content>picture>img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius10);
}

.about--text {
    font-family: var(--font-family-Outfit);
    margin-block-start: 4rem;
    width: 70%;
    padding-inline-start: 5rem;
}

.about--text p {
    line-height: var(--line-height160);
    margin-block-end: 5rem;
}

.about--text a {
    color: var(--primary-color-1);
}

/*********************
END: ABOUT
*********************/
/*********************
START: SERVICES
*********************/
/* services--head */
.services--head{
    display: flex;
    justify-content: space-between;
}

.services--head ul{
    width: 70%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.services--head ul li{
    position: relative;
    width: 48%;
    list-style: decimal;
    color: var(--text-color);
    margin-block-end: 1rem;
    cursor: pointer;
}

.services--head ul li.tab--btn p{
    color: var(--text-color);
    font-family: var(--font-family-Outfit);
    font-weight: 500;
}

.services--head ul li.tab--btn.active{
    color: var(--baseDark-color);
    font-weight: 600;
}

.services--head ul li.tab--btn.active p{
    color: var(--baseDark-color);
    width: max-content;
    font-weight: 600;
    border-bottom: 1px solid var(--baseDark-color);
}

/* services--content */
ul.services--content{
    margin-block-start: 5rem;
}

ul.services--content li.tab--content{
    animation: fading 2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

ul.services--content li.tab--content picture{
    width: 40%;
    display: block;
	margin-block: 2rem;
}

ul.services--content li.tab--content picture img{
    border-radius: var(--border-radius10);
    width: 100%;
    height: auto;
}

ul.services--content li.tab--content > div{
    width: 50%;
}

ul.services--content li.tab--content > div h5{
    font-style: italic;
}

ul.services--content li.tab--content > div > div{
    display: flex;
    justify-content: space-between;
    margin-block-start: 3rem;
}

ul.services--content li.tab--content > div > div > p{
    width: 90%;
    line-height: var(--line-height160);
}

@keyframes fading {
    0%{
        opacity: 0;
    }

    100%{
        opacity: 1;
    }
}

/*********************
END: SERVICES
*********************/

/*********************
START: TEAM
*********************/
.team--content {
    padding-block-start: 3.5rem;
    border-top: 1px solid rgba(126, 139, 150, 0.5);
}

.team--content h4 {
    display: block;
    width: max-content;
    margin-inline-start: auto;
}

.team--content ul {
    width: 80%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.team--content ul li {
    margin: 8px;
    flex-basis: calc(33.33% - 16px);
    font-family: var(--font-family-Outfit);

}

.team--content ul li img {
    width: 100%;
    height: auto;
    margin-block-start: 3.5rem;
    border-radius: var(--border-radius10);
	aspect-ratio: 4 / 4;
    object-fit: cover;
    object-position: top;
}

.team--content ul li p {
    margin-block: 0.75rem 0.5rem;
}

.team--content ul li span {
    font-weight: 400;
}

/*********************
END: TEAM
*********************/
@media screen and (min-width: 1440px) {

    .about--content>div>h2,
    .services--box h2,
    .team--content h4, 
    ul.services--content li.tab--content > div h5 {
        font-size: var(--text-6xl);
    }

    .about--content>div>h3 {
        font-size: var(--text-7xl);
    }

    .about--text p,
    .about--text a,
    .team--content ul li p {
        font-size: var(--text-2xl);
    }

    .team--content ul li span, 
    ul.services--content li.tab--content > div > div > p {
        font-size: var(--text-xl)
    }
}

@media screen and (min-width: 1320px) and (max-width: 1439px) {

    .about--content>div>h2,
    .services--box h2,
    .team--content h4, 
    ul.services--content li.tab--content > div h5 {
        font-size: var(--text-5xl);
    }

    .about--content>div>h3 {
        font-size: var(--text-6xl);
    }

    .about--text p,
    .about--text a,
    .team--content ul li p {
        font-size: var(--text-xl);
    }

    .team--content ul li span,
    ul.services--content li.tab--content > div > div > p {
        font-size: var(--text-lg)
    }
}

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

    .about--content>div>h2,
    .services--box h2,
    .team--content h4, 
    ul.services--content li.tab--content > div h5{
        font-size: var(--text-4xl);
    }

    .about--content>div>h3 {
        font-size: var(--text-5xl);
    }

    .about--text {
        padding-inline-start: 3rem;
    }

    .about--text p,
    .about--text a,
    .team--content ul li p {
        font-size: var(--text-xl);
    }

    .team--content ul li span, 
    ul.services--content li.tab--content > div > div > p{
        font-size: var(--text-lg)
    }
}

@media screen and (max-width: 1200px) {
    ul.services--content li.tab--content > div {
        width: 55%;
    }
}

@media screen and (max-width: 992px) {
    .about--text {
        width: 100%;
        padding-inline-start: 0;
    }

    .about--text p,
    .about--text a,
    .team--content ul li p {
        font-size: var(--text-lg);
    }

    .team--content ul li span, 
    ul.services--content li.tab--content > div > div > p {
        font-size: var(--text-base)
    }

    .team--content ul {
        width: 90%;
    }
}

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

    .about--content>div>h2,
    .services--box h2,
    .team--content h4, 
    ul.services--content li.tab--content > div h5{
        font-size: var(--text-3xl);
    }

    .about--content>div>h3 {
        font-size: var(--text-4xl);
    }

    .about--content {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .about--content>picture {
        margin-block-start: 1rem;
        width: 100%;
    }

    .about--text {
        margin-block-start: 2rem;
    }

    .about--text p {
        margin-block-end: 2rem;
    }

    .services--head{
        flex-direction: column;
    }

    .services--head ul{
        width: 100%;
        margin-block-start: 2rem;
        padding-inline: 2rem;
    }

    ul.services--content {
        margin-block-start: 2rem;
    }

    ul.services--content li.tab--content{
        flex-direction: column;
    }

    ul.services--content li.tab--content > div{
        width: 100%;
        margin-block-start: 2rem;
    }

    ul.services--content li.tab--content picture{
        width: 60%;
    }

    .team--content ul {
        width: 100%;
    }

    .team--content ul li img {
        margin-block-start: 2rem;
    }
}

@media screen and (max-width: 576px) {
    .services--head ul{
        flex-direction: column;
        align-items: flex-start;
    }
	
	.services--head ul li{
		width: 100%;
	}

    ul.services--content li.tab--content picture{
        width: 80%;
    }

    .team--content ul li img {
        margin-block-start: 1rem;
    }
}

@media screen and (max-width: 425px) {
    .about--content>div>h3 {
        font-size: var(--text-3xl);
    }

    .about--text p,
    .about--text a,
    .team--content ul li p {
        font-size: var(--text-base);
    }

    ul.services--content li.tab--content picture{
        width: 90%;
    }

    ul.services--content li.tab--content span{
        display: none;
    }

    ul.services--content li.tab--content > div > div > p{
        width: 100%;
    }

    .team--content ul li {
        flex-basis: calc(50% - 16px);
    }

    .team--content ul li span {
        font-size: var(--text-sm)
    }
}

@media screen and (max-width: 375px) {
    ul.services--content li.tab--content picture{
        width: 100%;
    }
}