.footer-nav-list .text p {
    font-size: 20px;
    color: black;
    font-family: var(--font_teko);
    text-transform: uppercase;
    line-height: 1;
}

.line-top {
    border-top: 1px solid var(--border);
}

.tools-area {
    margin-top: 80px;
    background-color: #fff4fa
}

.dark .tools-area {
    background-color: #1b1b1b
}

.tools-area-inner {
    padding-top: 160px;
    display: flex;
    gap: 40px 60px;
    justify-content: space-between
}

@media only screen and (max-width: 1919px) {
    .tools-area-inner {
        padding-top: 120px
    }
}

@media only screen and (max-width: 1199px) {
    .tools-area-inner {
        padding-top: 101px
    }
}

@media only screen and (max-width: 767px) {
    .tools-area-inner {
        flex-direction: column
    }
}

.tools-area .section-content {
    max-width: 557px
}

.tools-area .section-content .text {
    max-width: 100%
}

.tools-area .section-content .text-wrapper {
    font-family: var(--font_plusjakartasans);
    margin-top: 30px
}

@media only screen and (max-width: 767px) {
    .tools-area .section-content .text-wrapper {
        margin-inline-start: 0;
        margin-top: 25px
    }
}

.tools-area .section-content .tools-list {
    margin-top: 120px;
    margin-inline-start: 110px
}

@media only screen and (max-width: 1399px) {
    .tools-area .section-content .tools-list {
        margin-top: 50px
    }
}

@media only screen and (max-width: 767px) {
    .tools-area .section-content .tools-list {
        margin-inline-start: 0;
        margin-top: 34px
    }
}

.tools-area .section-content .tools-list ul {
    display: flex;
    gap: 10px
}

.tools-area .section-content .tools-list ul li {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    text-transform: uppercase;
    display: inline-block;
    border: 1px solid currentColor;
    padding: 6px 18px;
    border-radius: 20px
}

.tools-area .section-thumb {
    margin-top: -61px
}

@media only screen and (max-width: 1199px) {
    .tools-area .section-thumb {
        margin-top: 0
    }
}

.tools-area .shape-image {
    display: inline-block;
    height: 0;
    transform: translate(-100%, -40px)
}

.dir-rtl .tools-area .shape-image {
    transform: translate(100%, -40px)
}

.team-details-area-inner {
    padding-top: 100px
}

@media only screen and (max-width: 1919px) {
    .team-details-area-inner {
        padding-top: 100px
    }
}

@media only screen and (max-width: 1199px) {
    .team-details-area-inner {
        padding-top: 80px
    }
}

@media only screen and (max-width: 991px) {
    .team-details-area-inner {
        padding-top: 80px
    }
}

.team-details-area .team-thumb {
    display: inline-block;
    position: relative;
    padding-top: 60px;

    z-index: 1;
    max-width: 605px
}

@media only screen and (max-width: 767px) {
    .team-details-area .team-thumb {
        padding-inline-start: 130px
    }
}

@media(max-width: 575px) {
    .team-details-area .team-thumb {
        padding-inline-start: 0px;
        padding-top: 0
    }
}

.dir-rtl .team-details-area .team-thumb .main-image {
    transform: rotateY(180deg)
}

.team-details-area .team-thumb .shape-1 {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    z-index: -1;
    width: 62%
}

.dir-rtl .team-details-area .team-thumb .shape-1 {
    transform: rotateY(180deg)
}

@media(max-width: 575px) {
    .team-details-area .team-thumb .shape-1 {
        display: none
    }
}

.team-details-area .content-last {
    padding-top: 60px
}

@media only screen and (max-width: 991px) {
    .team-details-area .content-last {
        padding-top: 0
    }
}

.team-details-area .section-content {
    display: grid;
    gap: 40px 60px;
    grid-template-columns: auto 1fr
}

@media only screen and (max-width: 1199px) {
    .team-details-area .section-content {
        grid-template-columns: 500px 1fr
    }
}

@media only screen and (max-width: 991px) {
    .team-details-area .section-content {
        grid-template-columns: 1fr
    }
}

.team-details-area .section-content .section-subtitle {
    font-size: 18px;
    line-height: 1;
    display: block;
    font-family: var(--font_plusjakartasans);

}

.team-details-area .section-content .subtitle-wrapper {
    margin-top: 26px
}

.team-details-area .section-content .text-wrapper {
    margin-top: 36px;
    margin-bottom: 8px
}

.team-details-area .section-content .text-wrapper .text:not(:first-child) {
    margin-top: 15px
}

.team-details-area .section-content .meta-wrapper {
    margin-top: 40px
}

.team-details-area .section-content .meta-wrapper .title {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 22px;
    display: inline-block
}

.team-details-area .section-content .portfolio-list {
    display: flex;
    gap: 10px
}

.team-details-area .section-content .portfolio-list a {
    font-size: 14px;
    padding: 7px 14px;
    border: 1px solid var(--border);
    border-radius: 30px;
    display: inline-block
}

.team-details-area .section-content .social-links {
    display: flex;
    gap: 20px
}

.team-details-area .section-content .social-links a {
    color: var(--secondary)
}

.team-details-area .section-content .social-links a:hover {
    color: var(--primary)
}

.section-title {
    text-transform: capitalize;
    font-family: var(--font_canelatrial);
}

.tools-area-inner .section-content .meta-wrapper {
    margin-top: 40px;
}

.tools-area-inner .section-content .meta-wrapper .title {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 22px;
    display: inline-block;
}

.tools-area-inner .section-content .social-links {
    display: flex;
    gap: 20px;
}

.team-details-area .text-wrapper p.text {
    font-family: var(--font_plusjakartasans);
    font-size: 16px;


}

.team-details-area .team-thumb img {
    border-radius: 5px;
}

.title-wrapper {
    display: flex;
    align-items: center;
    text-transform: capitalize;
    font-family: var(--font_canelatrial);
    gap: 10px;
    /* ระยะห่างระหว่างรูปกับข้อความ */

}

.title-wrapper img {
    display: block;
    /* ป้องกันช่องว่างด้านล่างของรูป */
}

.section-thumb {
    margin-inline-end: calc((100vw - var(--container-max-widths))/-2 - 10px);
}

.section-thumb img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.section-content .text-wrapper {
    font-family: var(--font_plusjakartasans);
    margin-top: 30px;
}


.about-area .section-content .text {
    max-width: 100% !important;
    font-family: var(--font_plusjakartasans);
    font-size: 16px;
    line-height: 1.6;
}

.about-area .section-content .title-wrapper {
    margin-top: 18px;
}

.about-area .section-title {
    text-transform: capitalize !important;
}

.text-wrapper p {
    display: block;
    margin-bottom: 15px; /* เว้นด้านล่างแต่ละบรรทัด */
    line-height: 1.3;
    font-size: 16px;
}

h1.section-title {
  font-family: var(--font_canelatrial);
}