/* About Us Page Styles */
.aboutusarea {
    background-color: var(--color4);
    padding: 70px 0;
}

.aboutcontent h2 {
    font-size: 32px;
    line-height: 49px;
    font-weight: 500;
    margin: 0 0 19px;
}

.aboutcontent p {
    font-size: 18px;
    line-height: 28px;
    font-weight: 300;
    margin: 0 0 30px;
}

.aboutimgs img {
    width: 100%;
    height: auto;
}

.specialists {
    background-color: var(--color8);
    padding: 50px 0;
}

.specialistsheader h2 {
    text-align: center;
    font-size: 42px;
    line-height: 52px;
    font-weight: 500;
    color: var(--color6);
    margin: 0 0 10px;
}

.specialistsheader p {
    text-align: center;
    font-size: 18px;
    line-height: 30px;
    font-weight: 300;
    color: var(--color6);
    width: 40%;
    margin: 30px auto;
    display: block;
}

.teamlistaimg {
    position: relative;
}

.teamlistaimg img {
    object-fit: contain;
    border: 2px solid var(--color2);
    border-radius: 7px;
    padding: 10px 10px 0px 10px;
}

.teamlistaboutus {
    margin: 45px 0 0;
}

.aboutteamcontent h2 {
    color: var(--color6);
    font-size: 24px;
    line-height: 36px;
    font-weight: 400;
}

.aboutteamcontent h3 {
    color: var(--color6);
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
}

.aboutteamcontent p {
    color: var(--color6);
    margin: 15px 0 0;
    font-size: 18px;
    line-height: 24px;
    font-weight: 300;
}

.teamdatalist {
    margin: 0 0 40px;
}

.moreteambtns button svg {
    transition: all 0.5s ease;
}

.moreteambtns button.show svg {
    transform: rotate(180deg);
}

.moreteambtns button {
    background-color: transparent;
    font-weight: 600;
    border: none;
    font-size: 16px;
    line-height: 24px;
    color: var(--color2);
    border-radius: 5px;
    transition: all 0.5s ease;
}

.moreteambtns {
    margin: 60px 0 90px 0;
    display: flex;
    justify-content: center;
}

.teamsliders {
    position: relative;
    margin: 40px 0 0;
}

.teamsliders .slick-slide {
    padding: 0 20px;
}

.slide-item {
    outline: none;
}

.teamsliderdata {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 36px;
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 400px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.teamsliderdata::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="dental" patternUnits="userSpaceOnUse" width="40" height="40"><circle cx="20" cy="20" r="2" fill="%23ffffff" opacity="0.03"/><path d="M10,10 Q20,5 30,10 Q20,15 10,10" fill="%23ffffff" opacity="0.02"/></pattern></defs><rect width="200" height="200" fill="url(%23dental)"/></svg>') repeat;
    pointer-events: none;
}

.teamsliderimg {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.teamsliderimg img {
    width: 100%;
    height: 100%;
    border-radius: 36px;
    object-fit: cover;
    object-position: center;
}

.teamslidercontent {
    text-align: left;
    margin: 15px 0 40px 0;
    padding: 0;
}

.teamslidercontent h2 {
    color: white;
    font-size: 34px;
    line-height: 38px;
    font-weight: 400;
    margin: 0 0 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.teamslidercontent h3 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 24px;
    font-weight: 400;
    line-height: 37px;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.teamsliders .about-custom-arrow {
    position: absolute;
    top: 40%;
    z-index: 10;
    font-size: 45px;
    cursor: pointer;
    color: white;
    transform: translateY(-50%);
    /* background: rgba(255, 255, 255, 0.1); */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.teamsliders .about-custom-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.teamsliders .about-custom-arrow.about-custom-arrow-left {
    left: -50px;
}

.teamsliders .about-custom-arrow.about-custom-arrow-right {
    right: -50px;
}

/* Responsive for Extra Small (xs) - <576px */
@media (max-width: 575px) {
    .aboutusarea {
        padding: 50px 0;
    }

    .aboutcontent h2 {
        font-size: 24px;
        line-height: 30px;
        text-align: center;
    }

    .aboutcontent p {
        font-size: 14px;
        margin: 0 0 30px;
        text-align: center;
    }

    .specialistsheader p {
        width: 80%;
        line-height: 28px;
        font-size: 18px;
    }

    .teamlistaimg {
        width: 320px;
        display: flex;
        justify-content: center;
    }

    .teamlistaimg img {
        margin-bottom: 25px;
    }

    .aboutteamcontent h2 {
        font-size: 20px;
        text-align: center;
        line-height: 20px;
    }

    .aboutteamcontent h3,
    .aboutteamcontent p {
        font-size: 14px;
        text-align: center;
        line-height: 27px;
    }

    .specialistsheader h2 {
        line-height: 30px;
        font-size: 24px;
    }

    .teamsliderdata {
        padding: 0;
        margin-bottom: 20px;
        height: 280px;
    }

    .teamsliderimg {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .teamsliderimg img {
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
    }

    /* Slider arrows below for extra small screens */
    .teamsliders {
        padding-bottom: 20px;
    }

    .teamsliders .about-custom-arrow {
        top: auto;
        bottom: -18px;
        transform: none;
        font-size: 28px;
        width: 45px;
        height: 45px;
    }

    .teamsliders .about-custom-arrow:hover {
        transform: scale(1.1);
    }

    .teamsliders .about-custom-arrow.about-custom-arrow-left {
        left: 35%;
        right: auto;
    }

    .teamsliders .about-custom-arrow.about-custom-arrow-right {
        right: 35%;
        left: auto;
    }

    .teamslidercontent h2 {
        font-size: 20px;
    }

    .teamslidercontent h3 {
        font-size: 16px;
    }
}

/* Responsive for Small (sm) - ≥576px to <768px */
@media (min-width: 576px) and (max-width: 767px) {
    .aboutusarea {
        padding: 60px 0;
    }

    .aboutcontent h2 {
        font-size: 26px;
        line-height: 30px;
        text-align: center;
    }

    .aboutcontent p {
        font-size: 15px;
        text-align: center;
    }

    .specialistsheader p {
        width: 70%;
        line-height: 28px;
        font-size: 18px;
    }

    .teamlistaimg {
        display: flex;
        justify-content: center;
    }

    .teamlistaimg img {
        margin-bottom: 25px;
    }

    .aboutteamcontent h2 {
        text-align: center;
    }

    .aboutteamcontent h3,
    .aboutteamcontent p {
        text-align: center;
        line-height: 27px;
    }

    .specialistsheader h2 {
        line-height: 30px;
        font-size: 24px;
    }

    /* Slider arrows below for small screens */
    .teamsliders {
        padding-bottom: 20px;
    }

    .teamsliders .about-custom-arrow {
        top: auto;
        bottom: -18px;
        transform: none;
        font-size: 30px;
        width: 45px;
        height: 45px;
    }

    .teamsliders .about-custom-arrow:hover {
        transform: scale(1.1);
    }

    .teamsliders .about-custom-arrow.about-custom-arrow-left {
        left: 35%;
        right: auto;
    }

    .teamsliders .about-custom-arrow.about-custom-arrow-right {
        right: 35%;
        left: auto;
    }

    .teamsliderdata {
        height: 320px;
    }

    .teamsliderimg {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .teamsliderimg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Responsive for Medium (md) - ≥768px to <992px */
@media (min-width: 768px) and (max-width: 991px) {
    .aboutusarea {
        padding: 70px 0;
    }

    .aboutcontent h2 {
        font-size: 28px;
        text-align: center;
    }

    .aboutcontent p {
        font-size: 16px;
        text-align: center;
    }

    .specialistsheader p {
        width: 60%;
        line-height: 28px;
        font-size: 18px;
    }

    .teamlistaimg img {
        margin-bottom: 25px;
    }

    .aboutteamcontent h2 {
        text-align: center;
        line-height: 20px;
    }

    .aboutteamcontent h3,
    .aboutteamcontent p {
        text-align: center;
        line-height: 27px;
    }

    .specialistsheader h2 {
        line-height: 30px;
        font-size: 24px;
    }

    /* Slider arrows outside for medium screens */
    .teamsliders {
        margin: 40px 60px 0;
    }

    .teamsliders .about-custom-arrow.about-custom-arrow-left {
        left: -55px;
    }

    .teamsliders .about-custom-arrow.about-custom-arrow-right {
        right: -55px;
    }
}

/* Responsive for Large (lg) - ≥992px to <1200px */
@media (min-width: 992px) and (max-width: 1199px) {
    .aboutusarea {
        padding: 80px 0;
    }

    .aboutcontent h2 {
        font-size: 32px;
    }

    .aboutcontent p {
        font-size: 18px;
    }
}

/* Responsive for Extra Large (xl) - ≥1200px */
@media (min-width: 1200px) {
    .aboutusarea {
        padding: 90px 0;
    }

    .aboutcontent h2 {
        font-size: 34px;
    }

    .aboutcontent p {
        font-size: 20px;
    }
}