@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@300;400;500;600&family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&family=Roboto:wght@100;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

:root {
    --c-tertiary: #666464;
    --c-black: #333333;
    --c-white: #FFFFFF;
    --c-purple: #4B49AC;
    --c-blue: #0C2B4B;
    --c-red: #e94609;
    --c-light: #F8F9FD;
    --c-gray: #666464;

    --font-weight-primary: 400;
    --font-weight-secondary: 400;
}

.c-primary {
    color: var(--c-primary);
}

.c-secondary {
    color: var(--c-secondary);
}

.c-tertiary {
    color: var(--c-tertiary);
}

.c-gray {
    color: var(--c-gray);
}

.c-bg-primary,
.btn-primary,
.btn-primary.disabled,
.btn-primary:disabled {
    background-color: var(--btn-primary) !important;
    border: 0px solid;
}

.c-bg-primary:hover,
.btn-primary:hover {
    color: var(--c-white);
    background: var(--btn-secondary);
    border: 0px solid var(--btn-secondary);
    opacity: 0.6;
}

.c-bg-secondary,
.btn-secondary {
    background-color: var(--btn-secondary);
    border: 0px solid;
}

.c-bg-secondary:hover,
.btn-secondary:hover {
    color: var(--c-white);
    background: var(--btn-secondary);
    border: 0px solid var(--btn-secondary);
    opacity: 0.6;
}

/*Btn
________________________________*/
.btn {
    display: inline-block;
    font-weight: var(--font-weight-secondary);
    line-height: 1.5;
    color: var(--c-white);
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    padding: 0.5rem 1.75rem;
    font-size: 1rem;
    border-radius: 10px;
    transition: .5s !important;
}

.btn-check:checked+.btn,
:not(.btn-check)+.btn:active,
.btn:first-child:active,
.btn.active,
.btn.show {
    color: var(--c-white);
    background-color: var(--btn-primary);
    border-color: var(--btn-primary);
}

.btn-check:focus+.btn-primary,
.btn-primary:focus {
    color: var(--c-white);
    background-color: var(--btn-secondary);
    border-color: var(--btn-secondary);
    box-shadow: 0 0 0 0.25rem var(--btn-secondary);
}

.btn-outline-primary {
    color: var(--c-white);
    border-color: var(--c-primary);
}

.btn-outline-primary:hover {
    color: var(--c-white);
    background-color: var(--c-primary);
    border-color: var(--c-primary);
}

.btn-top {
    background-color: var(--btn-primary);
}

.btn-top:hover {
    color: var(--c-white);
    background-color: var(--c-tertiary);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

body {
    margin: 0;
    font-family: 'Prompt', sans-serif;
    font-size: var(--font-p);
    font-weight: var(--font-weight-primary);
    line-height: var(--bs-body-line-height);
    color: var(--c-back);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    background-color: #f8f8f8;
}

a {
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    text-decoration: none;
}

.section {
    padding-top: 80px;
    padding-bottom: 50px;
}

@media (max-width: 991.98px) {
    .section {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .g-5,
    .gy-5 {
        --bs-gutter-y: 0rem;
    }

    .g-5,
    .gx-5 {
        --bs-gutter-x: 0rem;
    }
}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24
}

/* responsive */
@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: 0.5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: 0.5s;
        opacity: 1;
    }
}

@media (max-width: 1024px) {
    .about-2 {
        border-radius: 15px;
    }

    .about-2-img {
        display: flex;
        object-fit: cover;
    }
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 30px;
    }

    .navbar .navbar-nav {
        margin-top: 20px;
        border-top: 1px solid #eeeeee;
    }

    #clients .multiple-slide {
        width: 100px !important;
        height: 100px !important;
    }

    #clients.swiper-horizontal>.swiper-pagination-bullets,
    .swiper-pagination-bullets.swiper-pagination-horizontal,
    .swiper-pagination-custom,
    .swiper-pagination-fraction {
        display: none;
    }

    #clients .swiper {
        width: 100%;
        height: 150px;
    }

    .link-page li a {
        font-size: var(--font-h5);
    }

    .link-page {
        display: none;
    }
}

@media (max-width: 768px) {
    .card-nth-child:nth-child(4) {
        display: block !important;
    }
}

@media (max-width: 425px) {
    .navbar .logo {
        max-width: 230px;
    }

    .logo-footer {
        max-width: 300px;
    }
}

/*ovarlay*/
.parallax {
    background-attachment: fixed !important;
}

.overlay-color {
    opacity: 0.6;
    background-color: Black;
}

.page-hero {
    position: relative;
    z-index: 0;
    padding: 100px 0;
}

.overlay-photo-image-bg,
.overlay-shape-image-bg,
.overlay-pattern-image-bg,
.overlay-gradient-color,
.overlay-color {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
    display: block;
    transition: all 0.5s ease-in-out 0s;
}

.overlay-photo-image-bg {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    opacity: 0.05;
}

.inner-page-hero .hero-text-area.centerd {
    text-align: center;
}

.inner-page-hero .hero-text-area .hero-title {
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.inner-page-hero .hero-text-area {
    display: block;
    color: var(--c-white);
}

.inner-page-hero .hero-text-area h1 {
    color: var(--c-primary);
    font-size: 24px;
}

.page-hero .hero-text-area .hero-title {
    display: inline-block;
    position: relative;
    z-index: 0;
}

.page-hero .hero-text-area p {
    font-weight: 300;
}

.inner-page-hero {
    height: 310px;
    min-height: 310px;
    opacity: 1;
}

/*** Body ***/
.navbar.sticky-top {
    top: -100px;
    transition: 0.5s;
}

.navbar .navbar-brand {
    height: 70px;
}

.navbar .logo {
    max-height: 70px;
    max-width: 300px;
}

.section-header {
    color: var(--c-primary);
    font-size: 28px;
}

.navbar .navbar-nav .nav-link {
    padding: 24px 18px;
    font-size: 0.9rem;
    color: var(--c-black);
    font-weight: 600;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover {
    background: var(--btn-primary);
    color: var(--c-white);
}

.navbar .navbar-nav .nav-link.active {
    border-bottom: 5px solid var(--btn-secondary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .btn:hover {
    color: #ffffff !important;
    background: var(--primary) !important;
}

/*** Header ***/
.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--secondary);
}

.navbar .btn-outline-secondary.dropdown-toggle.show {
    color: unset !important;
    background-color: unset !important;
}

.navbar .dropdown-menu {
    min-width: 55px !important;
}

/* 
---------------------------------------------
about
--------------------------------------------- 
*/

.about-info {
    color: var(--c-gray);
}

.about-info strong {
    color: var(--c-black);
}

.about-2 {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    background-color: #fff;
}

.section-breadcrumb {
    background: var(--c-primary);
    padding: 5px;
}

.breadcrumb-item a {
    color: white;
}

.breadcrumb-item a:hover {
    color: #c2c2c2;
}

.breadcrumb-item.active {
    color: #c5c5c5;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: white;
}

/* 
---------------------------------------------
service
--------------------------------------------- 
*/

.img-border-radius {
    border-radius: 10px;
    object-fit: cover;
}

.card-service .card-blog {
    position: relative;
}

.card-service .service-title {
    position: absolute;
    color: white;
    bottom: 0;
    padding: 20px;
    width: 100%;
    height: unset;
    top: unset;
    font-size: 28px;
    text-shadow: 1px 1px #000000;
}

.service-hover:hover {
    opacity: 1;
    transition: all 0.5s;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.241) 18%, rgba(0, 0, 0, 0.098) 22%, rgba(0, 0, 0, 0.096) 100%);
}

/* 
---------------------------------------------
blogs
--------------------------------------------- 
*/

.card-nth-child:nth-child(4) {
    display: none;
}

.card-shadow {
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.card-blog {
    background: #ffffff;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.card-blog hr {
    color: #212529;
}

.card-blog img {
    -webkit-transition: all 0.9s ease;
    -moz-transition: all 0.9s ease;
    -o-transition: all 0.9s ease;
    -ms-transition: all 0.9s ease;
    transition: all 0.9s ease;
}

.card-blog:hover img {
    opacity: 0.7;
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
}

.card-blog:hover {
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.4);
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}

.card-text {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #212529;
}

.card-title {
    color: #212529 !important;
    font-weight: 400;
    font-size: 20px;
}

.card-publish {
    color: #1a67ae;
    font-size: 12px;
}

/*====================
Pagination css 
======================*/

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.pagination .page-link {
    font-size: var(--font-h5);
    background: transparent;
    color: var(--c-black);
    font-weight: 500;
    margin: 0 10px;
    border-radius: 8px !important;
    width: 40px;
    height: 40px;
    line-height: 28px;
    text-align: center;
    transition: all 0.5s ease-in-out;
    border: solid 1px #e94609;
}

.pagination .page-link:hover,
.pagination .page-item.active .page-link {
    background: var(--c-secondary);
    border: solid 1px var(--c-secondary);
    color: var(--c-white);
}

/*---------------------------------------------
contact
--------------------------------------------- 
*/
.icon-contact {
    padding: 5px;
    border: solid 2px var(--c-black);
    border-radius: 50%;
    font-size: 18px;
    margin-top: -4px;
    margin-right: 10px;
}

.contact-wrap {
    background-color: var(--c-white);
    border-radius: var(--border-radius);
    box-shadow: 0px 21px 41px -13px rgba(0, 0, 0, 0.18);
}

.read-started {
    color: var(--color-white);
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 15px;
    font-size: 16px;
    z-index: 1;
}

.read-started::before {
    content: "";
    position: absolute;
    width: 90px;
    height: 3px;
    background: #e94609;
    bottom: 0;
    left: 0;
    z-index: -1;
}

small.is-invalid {
    color: red;
}

/*---------------------------------------------
footer
--------------------------------------------- 
*/

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 60px;
    z-index: 99;
    padding: 8px 10px;
    font-size: 10px;
    line-height: 19px;
}

.back-to-top img {
    width: 16px;
    transform: rotate(270deg);
}

.social ul.right-icons {
    float: right;
    padding: 10px 0px 0px;
}

.social ul.right-icons li {
    margin-right: 15px;
    width: 23px;
    display: inline-block;
    text-align: center;
}

.social ul.icons {
    padding: 10px 0px 0px;
}

.social ul.icons li {
    margin-right: 15px;
    width: 23px;
    display: inline-block;
    text-align: center;
}

.social ol,
.social ul,
.social dl {
    margin-top: 0;
    margin-bottom: 0;
}

.icon-social {
    width: 20px;
}

footer {
    color: var(--c-black);
    padding-top: 50px;
    padding-bottom: 60px;
    border-top: var(--c-secondary) solid 4px;
}

.sub-footer {
    border-top: var(--c-primary) solid 2px;
}

.logo-footer {
    /* margin: 15px 0 15px 0; */
    max-height: 70px;
}

.link-page {
    display: inline-flex;
    list-style-type: none;
}

.link-page li a {
    font-size: 0.9rem;
    font-weight: 400;
    margin-left: 30px;
    color: var(--c-white);
}

.material-symbols-outlined.point {
    font-size: 20px;
    transform: rotate(136deg);
}

.addressFooter:not(.addressFooter:nth-child(1)) {
    margin-top: 20px;
}

.spinner-bg {
    z-index: 9999;
    width: 100vw;
    height: 100vh;
    background: #f8f8f8;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    display: flex;
    flex-direction: row;
    width: 90px;
    height: 120px;
}

.spinner>.square {
    width: 17px;
    height: 80px;
    margin: auto auto;
    border-radius: 4px;
}

.square-1 {
    animation: square-anim 1000ms cubic-bezier(0.445, 0.05, 0.55, 0.95) 0s infinite;
}

.square-2 {
    animation: square-anim 1000ms cubic-bezier(0.445, 0.05, 0.55, 0.95) 200ms infinite;
}

.square-3 {
    animation: square-anim 1000ms cubic-bezier(0.445, 0.05, 0.55, 0.95) 400ms infinite;
}

@keyframes square-anim {
    0% {
        height: 80px;
        background-color: var(--c-primary);
    }

    20% {
        height: 80px;
    }

    40% {
        height: 120px;
        background-color: rgb(111, 200, 240);
    }

    80% {
        height: 80px;
    }

    100% {
        height: 80px;
        background-color: var(--c-primary);
    }
}