/* START OF ABOUT PAGE STYLING */

.about-intro {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 94px;
    padding: 50px 20px 70px;
}
.about-intro-badge img {
    width: 116px;
    height: 138px;
    margin-top: 7px;
}
.about-intro-main {
    display: flex;
    align-items: flex-start;
    gap: 66px;
}
.about-intro-text {
    width: 513px;
    color: var(--primary-color);
    padding-top: 3px;
}
.about-intro-text h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 23px;
    margin-bottom: 20px;
}
.about-intro-text p {
    font-size: 15px;
    font-weight: 400;
    line-height: 21px;
    margin-bottom: 15px;
}
.about-intro-text .dark-btn {
    width: 240px;
    max-width: 240px;
    height: 55px;
    margin-top: 17px;
    background: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    line-height: 17px;
    padding: 18px;
}
.about-intro-image {
    position: relative;
    flex-shrink: 0;
    width: 591px;
    height: 387px;
}
.about-intro-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-intro-logo {
    position: absolute;
    top: 26px;
    left: 35px;
    width: 110px;
}

@media screen and (min-width: 1700px) {
    .about-intro {
        position: relative;
        display: block;
        padding: 50px 0 70px;
    }
    .about-intro-badge {
        position: absolute;
        top: 50px;
        left: max(15px, calc((100% - 1228px) / 2 + 13px - 92px - 116px));
    }
    .about-intro-main {
        justify-content: space-between;
        width: 1228px;
        max-width: calc(100% - 30px);
        margin-left: calc((100% - 1228px) / 2 + 13px);
        gap: 0;
    }
}
@media screen and (max-width: 1599px) {
    .about-intro {
        gap: 50px;
    }
    .about-intro-main {
        gap: 40px;
    }
    .about-intro-text {
        width: 430px;
    }
    .about-intro-image {
        width: 460px;
        height: 301px;
    }
}
@media screen and (min-width: 1300px) and (max-width: 1599px) {
    .about-intro {
        gap: calc(60px + (100vw - 1300px) * 0.11);
    }
    .about-intro-main {
        gap: calc(50px + (100vw - 1300px) * 0.053);
    }
    .about-intro-text {
        width: calc(480px + (100vw - 1300px) * 0.11);
    }
    .about-intro-image {
        width: calc(540px + (100vw - 1300px) * 0.17);
        height: auto;
        aspect-ratio: 591 / 387;
    }
}
@media screen and (max-width: 1199px) {
    .about-intro {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    .about-intro-main {
        flex-direction: column;
        align-items: center;
        max-width: 591px;
    }
    .about-intro-text {
        width: 100%;
    }
    .about-intro-image {
        width: 100%;
        height: auto;
        aspect-ratio: 591 / 387;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .about-intro {
        display: grid;
        grid-template-columns: 430px 460px;
        justify-content: center;
        align-items: start;
        column-gap: 40px;
        row-gap: 35px;
        padding-top: 30px;
    }
    .about-intro-main {
        display: contents;
    }
    .about-intro-text {
        width: 100%;
    }
    .about-intro-badge {
        grid-row-start: 1;
        grid-column: span 2;
        width: 50%;
        margin-inline: auto;
        text-align: center;
    }
    .about-intro-image {
        width: 460px;
        height: 301px;
        aspect-ratio: auto;
    }
}
@media screen and (max-width: 992px) {
    .about-intro {
        padding-top: 30px;
        padding-bottom: 40px;
    }
    .about-intro-main {
        gap: 25px;
    }
}
@media screen and (max-width: 767px) {
    .about-intro {
        padding: 25px 15px 40px;
    }
    .about-intro-badge img {
        width: 90px;
        height: auto;
        margin-top: 0;
    }
    .about-intro-text p {
        line-height: 20px;
    }
    .about-intro-text .dark-btn {
        width: 100%;
        max-width: 100%;
    }
    .about-intro-logo {
        top: 4%;
        left: 6%;
        width: 18%;
    }
}

/* END OF ABOUT PAGE STYLING */
/* START OF MEET THE TEAM PAGE */

#meet-team-section {
    position: relative;
}
@media screen and (min-width: 1200px) {
    #meet-team-section .container {
        max-width: 1110px;
    }
}
#meet-team-section .container {
    padding: 0;
}
.meet-the-team-get-in-touch .dark-btn{
    width: 217px;
}
.meet-the-team-get-in-touch {
	padding-bottom: 75px;
    text-align: center;
}
#meet-team-section .meet-team-grid-section {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 40px;
    grid-row-gap: 31px;
    padding-bottom: 34px;
}
#meet-team-section .main-heading{
    font-size: 22px;
    font-weight: 700;
    line-height: 25px;
    text-align: center;
    text-transform: capitalize;
    margin: 29px 0 33px;
}
#meet-team-section .meet-team-grid-section img {
    width: 100%;
    border: 1px solid var(--tertiary-color-v2);
    border-radius: 0px;
}
#meet-team-section .meet-team-grid-section .meet-team-grid-text-content {
    padding-top: 11px;
    padding-bottom: 12px;
    text-align: left;
    padding-left: 3px;
}
#meet-team-section .meet-team-grid-section .meet-team-grid-text-content h4 {
    padding: 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
    line-height: 21px;
    text-transform: capitalize;
    font-family: var(--body-font);
}

#meet-team-section .meet-team-grid-section .meet-team-grid-text-content p {
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
    color: var(--primary-color);
    margin-bottom: 0;
}
@media screen and (max-width: 1199px) and (min-width: 992px) {
    #meet-team-section .meet-team-grid-section {
        grid-template-columns: repeat(5, 1fr);
    }
}
@media screen and (max-width: 1099px) and (min-width: 767px) {
    #meet-team-section .container {
        max-width: 95%;
    }
}
@media screen and (max-width: 992px) {
    #meet-team-section .meet-team-grid-section {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media screen and (max-width: 767px) {
    #meet-team-section .main-heading {
        font-size: 20px;
        margin: 25px 0 25px;
    }
    #meet-team-section .meet-team-grid-section {
        grid-gap: 20px;
        grid-template-columns: repeat(2, 1fr);
    }
    .meet-the-team-get-in-touch{
        padding-bottom: 50px;
    }
    #meet-team-section .container {
        padding: 0 15px;
    }
    #meet-team-section .meet-team-grid-section .meet-team-grid-text-content p,
    #meet-team-section .meet-team-grid-section .meet-team-grid-text-content h4{
        font-size: 15px;
    }
}
@media screen and (max-width: 349px) {
    #meet-team-section .meet-team-grid-section {
        grid-gap: 25px;
        grid-template-columns: 1fr;
    }
}
/* END OF MEET THE TEAM PAGE */