@font-face {
    font-family: "Tournedos";
    src: url("/fonts/Tournedos_Lite_DEMO.eot?") format("eot"), url("/fonts/Tournedos_Lite_DEMO.woff") format("woff"),
        url("/fonts/Tournedos_Lite_DEMO.ttf") format("truetype"),
        url("/fonts/Tournedos_Lite_DEMO.svg#TournedosLiteDEMO-Regular") format("svg");
    font-weight: normal;
    font-style: normal;
}

:root {
    --c-primary: #3e3e3c;
    --c-secondary: #11612e;
    --c-bkg: #0e9c51;
    --c-green: #1ca24d;
    --c-yellow: #ffbe1d;
    --c-whitish: #faf8f8;
    --c-gray: #9b9a97;
    --c-gray-line: #e6e6e5;

    --radius: 12px;
    --radius-sm: 8px;
    --radius-xs: 4px;
    --f-noto: "Noto Sans", sans-serif;
    --f-montserrat: "Montserrat", sans-serif;
    --f-looped: "Noto Sans Thai Looped", sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--f-noto);
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--c-primary);
}

a {
    text-decoration: none;
    color: inherit;
}
img {
    vertical-align: middle;
    border-style: none;
}

.link {
}
.text-center {
    text-align: center;
}

.caption-container {
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    line-height: 26px;
    color: #747775;
    font-family: "Tournedos";
}
.caption-container img {
    display: block;
    margin: 12px auto 0;
}

.radius-right-left {
    border-radius: 0 40px;
}
.radius-left-right {
    border-radius: 40px 0;
}
/********************************
********  Homepage About  *******
*********************************/
.about-hp-section {
    background: var(--c-whitish);
    position: relative;
}

.about-hp-section .caption-container {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -75%);
    top: 0;
}
.about-hp-section .caption-container img {
    transform: translate(-50%, 10px);
}

.about-hp-section .container {
}
.about-hp-section .info-1 {
    display: flex;
    gap: 20px;
    padding: 80px 0 60px;
}
.about-hp-section .info-1 > div:first-child,
.about-hp-section .info-1 > div:nth-child(2) {
    flex: 1;
}
.about-hp-section .info-1 h1,
.about-hp-section .info-2 h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 32px;
    margin-top: 50px;
}
.about-hp-section .info-1 p {
    font-weight: 400;
    line-height: 24px;
    margin-top: 24px;
    margin-bottom: 24px;
}
.about-hp-section .info-1 p strong,
.about-hp-section .info-1 p b {
    font-family: var(--f-montserrat);
    font-weight: 700;
    color: #1d1d1d;
}

.about-hp-section .info-1 .img-container {
    display: flex;
    gap: 20px;
}
.about-hp-section .info-1 .img-container > div:first-child {
    margin-top: 20%;
}
.about-hp-section .info-1 .img-container img {
    width: 100%;
}

.about-hp-section .info-2 {
    display: flex;
    gap: 20px;
    padding: 60px 0 109px;
}
.about-hp-section .info-2 > div:last-child {
    flex: 1;
}
.about-hp-section .info-2 .img-container {
    flex: 1.5;
    display: flex;
    gap: 20px;
}
.about-hp-section .info-2 .img-container > div {
    flex: 1;
}
.about-hp-section .info-2 .img-container > div:first-child {
    flex: 1.5;
}
.about-hp-section .info-2 .img-container img {
    margin-bottom: 20px;
    width: 100%;
}
.about-hp-section .info-2 .img-container img:last-child {
    margin-bottom: 0;
}
.about-hp-section .info-2 .img-container .img-1 {
    margin-top: 20px;
}

.about-hp-section .info-2 h1 {
    margin-top: 0;
}
.about-hp-section .info-2 p {
    font-weight: 400;
    line-height: 24px;
    margin-top: 24px;
    margin-bottom: 24px;
}
.about-hp-section .info-2 a {
    color: var(--c-bkg);
    text-decoration: underline;
}
.about-hp-section .info-2 .btn {
    margin: 32px 0 16px;
    color: inherit;
}

@media (max-width: 768px) {
    .about-hp-section .container {
        max-width: 100%;
    }
    .about-hp-section .caption-container {
        position: relative;
        transform: none;
        left: auto;
        top: 16px;
    }
    .about-hp-section .info-1 {
        flex-direction: column-reverse;
        padding: 0 0 32px;
    }
    .about-hp-section .info-1 p {
        margin-top: 0;
    }
    .about-hp-section .info-1 .img-container {
        gap: 8px;
    }
    .about-hp-section .info-1 .img-container > div {
        flex: 1;
    }
    .about-hp-section .info-1 .img-container > div:first-child {
        margin-top: 18px;
        flex: 1.3;
    }
    .about-hp-section .info-1 .img-container > div img {
        width: 100%;
    }
    .about-hp-section .info-2 {
        flex-direction: column;
        padding: 32px 0 24px;
        gap: 20px;
    }
    .about-hp-section .info-2 .img-container {
        gap: 8px;
    }
    .about-hp-section .info-2 .img-container > div {
        flex: 1;
    }
    .about-hp-section .info-2 .img-container > div:first-child {
        flex: 1.3;
    }
    .about-hp-section .info-2 .img-container img {
        margin-bottom: 8px;
        width: 100%;
    }
    .about-hp-section .info-2 .img-container img.img-3 {
        width: 80%;
    }
    .about-hp-section .info-2 p {
        margin-top: 6px;
    }
    .about-hp-section .info-2 .btn {
        width: fit-content;
        margin: 48px auto 8px;
    }
}

/********************************
********  Calculate About  ******
*********************************/
/* .calculate-page .container-fluid {
    padding-left: 47px;
    padding-right: 47px;
} */

.calculate-page .calculate-body {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.calculate-page .calculate-body > div {
    width: 50%;
}

.text-container {
}
.text-container h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 52px;
}
.text-container .title {
    font-size: 36px;
    font-weight: 400;
    line-height: 36px;
}
.text-container p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

@media (max-width: 768px) {
    .calculate-page .calculate-body {
        display: block;
    }
    .calculate-page .calculate-body > div {
        width: 100%;
    }
}

/********************************
******  Response Success  *******
*********************************/
.response-success-container {
    margin: 131px 0 216px;
}
.response-success-container .container {
    display: flex;
    justify-content: center;
    gap: 40px;
}
.response-success-container .container > div {
    flex: 1;
}
.response-success-container .container .img {
    text-align: right;
}
.response-success-container .container .img img {
    max-width: 100%;
}
.response-success-container .btn {
    width: fit-content;
}

@media (max-width: 768px) {
    .response-success-container {
        margin: 30px 0;
    }
    .response-success-container .container {
        flex-direction: column;
        gap: 8px;
    }
    .response-success-container .container .img {
        text-align: center;
    }
    .response-success-container .container .img img {
        width: 50%;
    }

    .response-success-container .container .text-container {
        text-align: center;
    }
    .response-success-container .container .text-container h1 {
        font-size: 32px;
        font-weight: 700;
        line-height: 32px;
    }
    .response-success-container .container .text-container .title {
        font-size: 22px;
        line-height: 22px;
    }

    .response-success-container .btn {
        margin: auto;
    }
}

/********************************
********  Response Fail  ********
*********************************/
.response-fail-container {
    margin: 80px 0 76px;
    text-align: center;
}
.response-fail-container .title {
    font-size: 32px;
    font-weight: 400;
    line-height: 36px;
    max-width: 497px;
    margin: auto;
}
.response-fail-container .caption-container {
    margin: 62px 0 13px;
}
.response-fail-container .input {
    max-width: 424px;
    margin: auto;
}
.response-fail-container .note {
    font-family: var(--f-montserrat);
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    color: var(--c-bkg);
    margin-top: 14px;
}
.response-fail-container .whatsapp {
    position: fixed;
    top: 50%;
    right: 18px;
    z-index: 3;
}

@media (max-width: 768px) {
    .response-fail-container {
        margin: 30px 0;
    }
    .response-fail-container .container .img img {
        width: 50%;
    }
    .response-fail-container .container .text-container h1 {
        font-size: 32px;
        font-weight: 700;
        line-height: 32px;
    }
    .response-fail-container .container .text-container .title {
        font-size: 22px;
        line-height: 22px;
    }
    .response-fail-container .caption-container {
        margin-top: 35px;
    }
}

/********************************
******  Article Read More  ******
*********************************/

@media (max-width: 768px) {
    .article-text {
        position: relative;
    }
    .article-text > div:first-child {
        max-height: 150px;
        overflow: hidden;
        position: relative;
        transition: all 0.5s;
    }
    .article-text > div:first-child:after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50%;
        background: rgb(255, 255, 255);
        background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0, rgba(255, 255, 255, 0) 99%);
        transition: all 0.5s;
    }
    .article-text.active > div:first-child {
        max-height: 2000px;
    }
    .article-text.active > div:first-child:after {
        background: transparent;
    }
    .article-text .btn {
        color: var(--c-primary);
        border: 1px solid var(--c-gray-line);
        margin: 10px auto 0;
    }
    .article-text.active .btn img {
        transform: rotate(180deg);
    }
}

/********************************
********  General Style  ********
*********************************/
.h1-title {
    font-family: var(--f-noto);
    font-size: 48px;
    font-weight: 700;
    line-height: 52px;
    margin: 30px 0 50px;
}

@media (max-width: 991px) {
    .h1-title {
        margin: 16px 0 24px;
        font-size: 32px;
        line-height: 32px;
    }
}

.desktop-hidden {
    display: none !important;
}
.mobile-visible-f,
.mobile-visible {
    display: none !important;
}
.tablet-visible {
    display: none !important;
}
@media (max-width: 991px) {
    .tablet-visible {
        display: block !important;
    }
    .tablet-hidden {
        display: none !important;
    }
}
@media (max-width: 768px) {
    .desktop-visible {
        display: none !important;
    }
    .mobile-visible {
        display: block !important;
    }
    .mobile-visible-f {
        display: flex !important;
    }
}
