.accordion {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion img {
    transition: all 0.3s ease;
}

.accordion.open img {
    transform: rotate(-180deg);
    filter: brightness(0);
}

.panel {
    max-height: 0px;
    overflow: hidden;
    transition: all 1s ease;
}

/*********************
START: HERO
*********************/
.hero {
    padding-block: 120px 100px;
    display: flex;
    align-items: center;
}

.hero--content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 90%;
    margin-inline: auto;
}

/* Left side */
.hero--left {
    width: 55%;
}

/* Right side */
.hero--right ul li {
    display: flex;
    align-items: center;
    padding-block: 1.25rem;
    padding-inline: 1.125rem;
    column-gap: 0.75rem;
}

.hero--right ul li:not(:last-child) {
    border-bottom: 1px solid var(--border-color-1);
}

.hero--right ul li>span {
    color: var(--text-color-1);
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

/*********************
  END: HERO
  *********************/

/*********************
  START: SERVICES
  *********************/
.services {
    margin-block-end: var(--space-section);
}

/* services--Images */
ul.services--Images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

ul.services--Images li {
    position: relative;
}

ul.services--Images li::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.00) 100%);
}

ul.services--Images li img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 450.667 / 500;
}

ul.services--Images li:nth-child(1)::before,
ul.services--Images li:nth-child(1) img {
    border-radius: 10px 0px 0px 10px;
}


ul.services--Images li:nth-child(3)::before,
ul.services--Images li:nth-child(3) img {
    border-radius: 0px 10px 10px 0px;
}

/* services--content */
.services--content {
    width: 90%;
    margin-inline: auto;
    border-radius: var(--border-radius10);
    background: var(--baseLight-color);
    padding: 5rem 6.25rem;
    margin-top: -80px;
    position: relative;
}

.services--content>h2 {
    color: var(--title-color-1);
    text-align: center;
    font-family: var(--font-family-Nunito);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

.services--content>p {
    color: var(--baseDark-color);
    text-align: center;
    font-family: "Nunito Sans";
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin-block: 1.25rem 3.75rem;
}

.services--content ul {
    display: flex;
    column-gap: 96px;
}

.services--content ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.services--content ul li h3 {
    color: var(--title-color-3);
    font-family: var(--font-family-Nunito);
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    margin-block: 0.75rem;
}

.services--content ul li p {
    color: var(--text-color-2);
    text-align: center;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}

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

/*********************
  START: BENEFITS
  *********************/
.benefits {
    margin-block-end: var(--space-section);
}

.benefits--title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 1.5rem;
}

.benefits--title>h2 {
    color: var(--title-color-1);
    font-family: var(--font-family-Nunito);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

.benefits--title>p {
    color: #001B03;
    font-family: var(--font-family-Plus);
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}


.benefits ul {
    display: flex;
    justify-content: space-between;
    margin-block-start: 2rem;
}

.benefits ul li {
    border-radius: var(--border-radius10);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.benefits ul li:not(:nth-child(1)) {
    width: 28.5%;
    border: 1px solid #B1B1B1;
    background: #FFF;
    align-items: flex-start;
}

.benefits ul li:not(:nth-child(1))>div h4 {
    color: var(--title-color-2);
    font-family: var(--font-family-Plus);
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    margin-block-end: 1.25rem;
}

.benefits ul li:not(:nth-child(1))>div p {
    color: var(--text-color-2);
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}

/* first-child */
.benefits ul li:nth-child(1) {
    width: 40%;
    background-color: var(--title-color-2);
}

.benefits ul li:nth-child(1) div>h4 {
    color: var(--baseLight-color);
    font-family: var(--font-family-Plus);
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
}

.benefits ul li:nth-child(1) div>p {
    color: var(--baseLight-color);
    font-family: var(--font-family-Plus);
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    margin-block: 0.75rem 1.5rem;
}

.benefits ul li:nth-child(1)>img {
    margin-inline-start: auto;
    display: block;
}

.benefits ul li:nth-child(2) {
    flex-direction: column-reverse;
    justify-content: flex-end;
}

.benefits ul li:nth-child(2)>img {
    margin-block-end: 3.125rem;
}

.benefits ul li:nth-child(3) {}

.benefits ul li:nth-child(3)>img {
    margin-block-start: 3.125rem;
}

/*********************
  END: BENEFITS
  *********************/

/*********************
  START: WORKS
  *********************/
.works {
    position: relative;
    margin-block-end: var(--space-section);
    padding-block-start: 100px;
}

.works::before {
    position: absolute;
    content: "";
    width: 100%;
    height: calc(100% - 200px);
    top: 0;
    left: 0;
    background-color: var(--title-color-2);
}

/* works--title */
.works--title {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
}

.works--title p {
    color: var(--baseLight-color);
    text-align: center;
    font-family: var(--font-family-Nunito);
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
}

.works--title>div {
    margin-inline: 0.6rem;
}

/* works--content */
.works--content {
    width: 90%;
    margin-inline: auto;
    margin-block-start: 3.75rem;
    position: relative;
    background-color: var(--baseLight-color);
    border-radius: var(--border-radius10);
    padding: 5rem;
    display: flex;
    justify-content: space-between;
}

.works--content .works--text,
.works--content .works--list {
    width: 50%;
}

.works--content .works--text {
    padding-inline-end: 142px;
}

.works--content .works--text h5 {
    color: var(--baseDark-color);
    font-family: var(--font-family-Nunito);
    font-size: 45px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
        margin-block-end: 1.25rem;

}

.works--content .works--text p {
    color: #001B03;
    font-family: var(--font-family-Plus);
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}

.works--content .works--list {
    padding-inline-start: 2.5rem;
    border-left: 1px solid var(--border-color-1);
}

.works--content .works--list ul li:not(:last-child) {
    margin-block-end: 2.5rem;
}

.works--content .works--list ul li .accordion h6 {
    color: #595959;
    font-family: var(--font-family-Nunito);
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    margin-block-end: 0.75rem;
    transition: all 0.3s ease;
}

.works--content .works--list ul li .accordion.open h6 {
    color: var(--baseDark-color);
}


.works--content .works--list ul li .panel p {
    color: #595959;
    font-family: var(--font-family-Nunito);
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    margin-block-end: 1.25rem;
}

.works--content .works--list ul li .panel picture img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 556 / 250;
    border-radius: var(--border-radius10);
}

/*********************
  END: WORKS
*********************/

/*********************
  START: JOIN
*********************/
.join {
    margin-block-end: var(--space-section);
}

.join--content h3 {
    color: var(--title-color-1);
    text-align: center;
    font-family: var(--font-family-Nunito);
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
}

.join--content ul {
    margin-block-start: 2.5rem;
    display: flex;
    justify-content: center;
}

.join--content ul li {
    position: relative;
    border-radius: var(--border-radius10);
    margin: 13px;
    flex-basis: calc(33.33% - 26px);
}

.join--content ul li::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: var(--border-radius10);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.70) 100%);
}

.join--content ul li img {
    width: 100%;
    height: auto;
    aspect-ratio: 380/460;
    object-fit: cover;
    border-radius: var(--border-radius10);
}

.join--content ul li div.info {
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: 2rem;
}

.join--content ul li div.info p {
    color: var(--baseLight-color);
    font-family: var(--font-family-Nunito);
    font-style: italic;
    font-weight: 300;
    line-height: 120%;
}

/*********************
  END: JOIN
*********************/

/*********************
  START: HAIR LOSS
*********************/
.hairLoss {
    margin-block-end: var(--space-section);
}

.hairLoss--title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-block-end: 1.5rem;
}

.hairLoss--title h5 {
    color: var(--title-color-1);
    font-family: var(--font-family-Nunito);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}


.hairLoss--list .swiper {
    width: 100%;
    height: 100%;
}

.hairLoss--list .swiper-slide {
    padding: 1.875rem;
    color: var(--baseLight-color);
    border-radius: var(--border-radius10);
    background: var(--title-color-3);
    min-height: 200px;
}

.hairLoss--list .swiper-slide div {
    display: flex;
    align-items: center;
    column-gap: 6px;
    margin-block-end: 3.125rem;
}

.hairLoss--list .swiper-slide div>span {
    font-weight: 400;
    font-size: var(--text-sm);
    line-height: 130%;
}

.hairLoss--list .swiper-slide p {
    font-weight: 500;
    line-height: 130%;
}

/*********************
  END: HAIR LOSS
*********************/

/*********************
  START: FAQ
*********************/
.faq {
    margin-block-end: var(--space-section);
}

/* 
.faq--title,
.faq--content {
    width: 90%;
    margin-inline: auto;
} */

.faq--title h4 {
    color: var(--title-color-1);
    font-family: var(--font-family-Nunito);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

.faq--title p {
    color: var(--title-color-1);
    font-family: var(--font-family-Nunito);
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    margin-block: 1.25rem 3.75rem;
}

.faq--content ul li {
    padding-block: 1.25rem;
}

.faq--content ul li:not(:last-child) {
    border-bottom: 1px solid var(--border-color-1);
}

.faq--content ul li .accordion p {
    color: var(--title-color-3);
    font-family: var(--font-family-Nunito);
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
}

.faq--content ul li .panel p {
    color: #595959;
    font-family: var(--font-family-Nunito);
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    margin-block-end: 1.25rem;
    padding-inline: 2rem;
    margin-block-start: 2rem;
}

/*********************
  END: FAQ
*********************/


/*********************
  START: MEDIA
*********************/
@media screen and (min-width: 1440px) {
    .works--title p {
        font-size: 28px;
    }

    .hero--right ul li>span {
        font-size: var(--text-xl);
    }

    .services--content>h2,
    .benefits--title>h2,
    .join--content h3,
    .hairLoss--title h5,
    .faq--title h4 {
        font-size: 55px;
    }

    .services--content>p,
    .benefits ul li:nth-child(1) div>p,
    .join--content ul li div.info p,
    .faq--content ul li .panel p,
    .works--content .works--list ul li .panel p {
        font-size: 22px;
    }

    .services--content ul li h3 {
        font-size: var(--text-2xl);
    }

    .benefits--title>p,
    .faq--title p,
    .works--content .works--text p {
        font-size: var(--text-2xl);
    }

    .benefits ul li:nth-child(1) div>h4 {
        font-size: var(--text-3xl);
    }

    .benefits ul li:not(:nth-child(1))>div h4 {
        font-size: var(--text-2xl);
    }

    .hairLoss--list .swiper-slide p {
        font-size: 22px;
    }

    .faq--content ul li .accordion p {
        font-size: 26px;
    }

    .works--content .works--text h5 {
        font-size: 45px;
    }

    .works--content .works--list ul li .accordion h6 {
        font-size: var(--text-3xl);
    }
}

@media screen and (min-width: 1320px) and (max-width: 1439px) {
    .works--title p {
        font-size: var(--text-2xl);
    }

    .hero--right ul li>span {
        font-size: var(--text-xl);
    }

    .services--content>h2,
    .benefits--title>h2,
    .join--content h3,
    .hairLoss--title h5,
    .faq--title h4 {
        font-size: var(--text-5xl);
    }

    .services--content>p,
    .benefits--title>p,
    .join--content ul li div.info p,
    .faq--title p,
    .faq--content ul li .panel p,
    .works--content .works--text p,
    .works--content .works--list ul li .panel p {
        font-size: var(--text-xl);
    }

    .services--content ul li h3 {
        font-size: var(--text-2xl);
    }

    .benefits ul li:nth-child(1) div>h4 {
        font-size: var(--text-2xl);
    }

    .benefits ul li:nth-child(1) div>p {
        font-size: var(--text-lg);
    }

    .benefits ul li:not(:nth-child(1))>div h4 {
        font-size: var(--text-xl);
    }

    .hairLoss--list .swiper-slide p {
        font-size: var(--text-xl);
    }

    .faq--content ul li .accordion p {
        font-size: var(--text-2xl);
    }

    .works--content .works--text {
        padding-inline-end: 100px;
    }

    .works--content .works--text h5 {
        font-size: var(--text-4xl);
    }

    .works--content .works--list ul li .accordion h6 {
        font-size: var(--text-2xl);
    }
}

@media screen and (max-width: 1319px) {
    .works--title p {
        font-size: var(--text-2xl);
    }

    .hero--right ul li>span {
        font-size: var(--text-lg);
    }

    .services--content>h2,
    .join--content h3,
    .hairLoss--title h5,
    .faq--title h4 {
        font-size: var(--text-4xl);
    }

    .services--content>p,
    .benefits--title>p,
    .join--content ul li div.info p,
    .faq--title p,
    .faq--content ul li .panel p,
    .works--content .works--text p,
    .works--content .works--list ul li .panel p {
        font-size: var(--text-xl);
    }

    .services--content {
        padding: 5rem;
    }

    .services--content ul {
        column-gap: 35px;
    }

    .services--content ul li h3 {
        font-size: var(--text-xl);
    }

    .benefits ul li:nth-child(1) div>h4 {
        font-size: var(--text-2xl);
    }

    .benefits ul li:nth-child(1) div>p {
        font-size: var(--text-lg);
    }

    .hairLoss--list .swiper-slide p {
        font-size: var(--text-xl);
    }

    .works--content .works--text {
        padding-inline-end: 60px;
    }

    .works--content .works--text h5 {
        font-size: var(--text-3xl);
    }

    .works--content .works--list ul li .accordion h6 {
        font-size: var(--text-xl);
    }
}

@media screen and (max-width: 1200px) {
    .hero--content {
        width: 95%;
    }

    .works--title p {
        font-size: var(--text-xl);
    }

    .services--content {
        width: 95%;
    }

    .benefits ul li {
        width: 32.5% !important;
        padding: 2rem 1.5rem;
    }

    .benefits ul li:nth-child(1) div>h4 {
        font-size: var(--text-xl);
    }

    .benefits ul li:nth-child(1) div>p {
        font-size: var(--text-base);
    }

    .join--content ul li {
        margin: 8px;
        flex-basis: calc(33.33% - 16px);
    }

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

    .works--content .works--text {
        padding-inline-end: 30px;
    }

    .works--content .works--text h5 {
        font-size: var(--text-3xl);
    }

    .works--content .works--list ul li .accordion h6 {
        font-size: var(--text-xl);
    }
}

@media screen and (max-width: 992px) {
    .hero--content {
        width: 100%;
    }

    .works--title p {
        font-size: var(--text-lg);
    }

    .services--content {
        padding: 3rem;
    }

    .services--content>h2,
    .benefits--title>h2,
    .join--content h3,
    .hairLoss--title h5,
    .faq--title h4 {
        font-size: var(--text-3xl);
    }

    .services--content>p,
    .benefits--title>p,
    .join--content ul li div.info p,
    .faq--title p,
    .faq--content ul li .panel p,
    .works--content .works--text p,
    .works--content .works--list ul li .panel p {
        font-size: var(--text-lg);
    }

    .services--content>p {
        margin-block: 1.25rem 2.75re
    }

    .benefits--title {
        flex-direction: column;
    }

    .join--content ul li div.info {
        left: 1.5rem;
        right: 1.5rem;
        bottom: 1.5rem;
    }

    .works--content {
        flex-direction: column;
        padding: 4rem;
    }

    .works--content .works--text,
    .works--content .works--list {
        width: 100%;
    }

    .works--content .works--text {
        padding-inline-end: 0;
    }

    .works--content .works--list {
        padding-inline-start: 0;
        border-left: 0;
        margin-block-start: 2.5rem;
    }

    .works--content .works--list ul li:not(:last-child) {
        margin-block-end: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .hero--content {
        flex-direction: column;
    }

    .hero--left,
    .hero--right {
        width: 100%;
    }

    .hero--left {
        margin-block-end: 2rem;
    }

    .hero--left h1 br {
        display: none;
    }

    .services--content {
        margin-block-start: -50px;
    }

    .services--content>p,
    .benefits--title>p,
    .join--content ul li div.info p,
    .faq--title p,
    .faq--content ul li .panel p,
    .works--content .works--text p,
    .works--content .works--list ul li .panel p {
        font-size: var(--text-base);
    }

    .services--content>p br {
        display: none;
    }

    .services--content ul {
        flex-direction: column;
        width: 90%;
        margin-inline: auto;
    }

    .services--content ul li:not(:last-child) {
        margin-block-end: 1.5rem;
    }

    .benefits ul {
        flex-wrap: wrap;
    }

    .benefits ul li:nth-child(1) {
        width: 100% !important;
        margin-block-end: 1rem;
    }

    .benefits ul li:not(:nth-child(1)) {
        width: 49% !important;
    }

    .hairLoss--list .swiper-slide p {
        font-size: var(--text-lg);
    }

    .hairLoss--list .swiper-slide {
        padding: 1.5rem;
    }

    .join--content h3 br {
        display: none;
    }

    .join--content ul {
        flex-wrap: wrap;
    }

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

    .join--content ul li div.info {
        position: absolute;
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }

    .works--content {
        padding: 3rem;
    }
}

@media screen and (max-width: 576px) {
    .hero {
        padding-block-end: 80px;
    }

    .services--content {
        padding: 3rem 2rem;
        margin-block-start: -24px;
    }

    .services--content ul {
        width: 95%;
    }

    .services--content ul li h3 {
        font-size: var(--text-lg);
    }

    .benefits ul li:not(:nth-child(1)) {
        width: 100% !important;
    }

    .benefits ul li:nth-child(2) {
        margin-block-end: 1rem;
    }

    .benefits ul li:nth-child(3)>img {
        margin-inline-start: auto;
    }

    .hairLoss--list .swiper-slide {
        padding: 1.25rem;
    }

    .faq--content ul li .panel p {
        padding-inline: 1.5rem;
    }

    .works--content .works--text h5 {
        font-size: var(--text-2xl);
    }

    .works--content .works--list ul li .accordion h6 {
        font-size: var(--text-lg);
    }
}

@media screen and (max-width: 425px) {
    .hero--right ul li>span {
        font-size: var(--text-base);
    }

    .services--content {
        padding: 3rem 1.5rem;
    }

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

    .services--content>h2,
    .benefits--title>h2,
    .join--content h3,
    .hairLoss--title h5,
    .faq--title h4 {
        font-size: var(--text-2xl);
    }

    .benefits ul li:nth-child(1) div>h4 {
        font-size: var(--text-lg);
    }

    .hairLoss--list .swiper-slide {
        padding: 1rem;
    }

    .hairLoss--list .swiper-slide p {
        font-size: var(--text-base);
    }

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

    .faq--content ul li .panel p {
        padding-inline: 1rem;
    }

    .works--content {
        padding: 3rem 2rem;
    }
}

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

    .services--content>h2,
    .benefits--title>h2,
    .join--content h3,
    .hairLoss--title h5,
    .faq--title h4 {
        font-size: var(--text-xl);
    }

    .services--content>p,
    .services--content ul li p,
    .join--content ul li div.info p,
    .faq--content ul li .panel p,
    .works--content .works--list ul li .panel p {
        font-size: var(--text-sm);
    }

    .works--content {
        padding: 2rem 1.5rem;
    }
}

/*********************
  END: MEDIA
*********************/