:root {
    --site-ink: #172033;
    --site-muted: #667085;
    --site-brand: #566bff;
    --site-brand-dark: #3f53e4;
    --site-accent: #08bf78;
    --site-line: #e5eaf2;
    --site-surface: #ffffff;
    --site-canvas: #ffffff;
    --site-radius: 18px;
    --site-shadow: 0 14px 40px rgba(27, 45, 82, .09);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--site-canvas) !important;
    color: var(--site-ink);
    font-family: "Noto Sans Thai", sans-serif !important;
    font-size: 15px;
    line-height: 1.75;
}

a {
    color: var(--site-brand);
    transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

a:hover,
a:focus {
    color: var(--site-brand-dark);
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
}

h1, h2, h3, h4, h5, h6,
.size30, .size25, .size20 {
    color: var(--site-ink);
    font-family: "Noto Sans Thai", sans-serif !important;
    font-weight: 700;
    line-height: 1.35;
}

.text-muted,
.text-gray {
    color: var(--site-muted);
}

#computer .navbar {
    min-height: 76px;
    border: 0;
    border-bottom: 1px solid rgba(229, 234, 242, .9);
    border-radius: 0;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 6px 24px rgba(27, 45, 82, .06);
}

#computer .navbar-brand {
    display: flex;
    height: 76px;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
    color: var(--site-ink) !important;
    font-size: 22px;
    font-weight: 800;
}

#computer .navbar-brand img {
    max-height: 52px;
    width: auto;
}

#computer .navbar-nav > li > a {
    padding-top: 27px;
    padding-bottom: 27px;
    color: #475467;
    font-size: 14px;
    font-weight: 600;
}

#computer .navbar-default .navbar-nav > .active > a,
#computer .navbar-default .navbar-nav > .active > a:focus,
#computer .navbar-default .navbar-nav > .active > a:hover,
#computer .navbar-nav > li > a:hover,
#computer .nav .open > a,
#computer .nav .open > a:focus,
#computer .nav .open > a:hover {
    background: transparent;
    color: var(--site-brand);
}

#computer .dropdown-menu {
    min-width: 220px;
    padding: 8px;
    border: 1px solid var(--site-line);
    border-radius: 14px;
    box-shadow: var(--site-shadow);
}

#computer .dropdown-menu > li > a {
    padding: 10px 14px;
    border-radius: 9px;
    color: var(--site-ink);
}

#computer .dropdown-menu > li > a:hover {
    background: #f0f4ff;
    color: var(--site-brand);
}

#phone .navbar-default {
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 6px 24px rgba(27, 45, 82, .08);
}

#phone .navbar-brand {
    color: var(--site-ink) !important;
    font-weight: 800;
}

#phone .navbar-toggle {
    border-color: var(--site-line);
    border-radius: 10px;
}

#phone .navbar-toggle .icon-bar {
    background: var(--site-ink);
}

#phone .navbar-nav > li > a {
    color: #475467;
    font-weight: 600;
}

.btn,
button,
input[type="submit"] {
    border-radius: 10px;
    font-weight: 600;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
    transform: translateY(-1px);
}

.btn-main,
.btn-main2 {
    border: 1px solid var(--site-brand);
    background: var(--site-brand);
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(36, 87, 214, .2);
}

.btn-main:hover,
.btn-main2:hover,
.btn-main:focus,
.btn-main2:focus {
    border-color: var(--site-brand-dark);
    background: var(--site-brand-dark);
    box-shadow: 0 9px 20px rgba(36, 87, 214, .26);
}

.btn-default {
    border-color: var(--site-line);
    background: #fff;
    color: var(--site-ink);
}

.panel,
.thumbnail,
.well {
    overflow: hidden;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    background: var(--site-surface);
    box-shadow: var(--site-shadow);
}

.panel-heading {
    border-color: var(--site-line);
    background: #fff;
}

.panel-body {
    padding: 22px;
}

.panel img,
.thumbnail img {
    border-radius: 12px;
}

.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="file"],
select,
textarea {
    min-height: 44px;
    border: 1px solid #d8deea;
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
    color: var(--site-ink);
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: #8eabf5;
    box-shadow: 0 0 0 3px rgba(36, 87, 214, .12);
    outline: 0;
}

table {
    border-color: var(--site-line);
}

.table > thead > tr > th {
    border-bottom: 1px solid var(--site-line);
    background: #f7f9fc;
    color: #475467;
    font-weight: 700;
}

.table > tbody > tr > td,
.table > thead > tr > th {
    padding: 12px;
    vertical-align: middle;
}

.pagination > li > a,
.pagination > li > span {
    border-color: var(--site-line);
    color: var(--site-brand);
}

.pagination > .active > a,
.pagination > .active > span {
    border-color: var(--site-brand);
    background: var(--site-brand);
}

.modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(17, 24, 39, .2);
}

.modal-header {
    border-bottom-color: var(--site-line);
    background: #f8faff;
}

.swiper-container {
    overflow: hidden;
    border-radius: 22px;
    box-shadow: var(--site-shadow);
}

.home-page > div[style*="95a5ff21"] {
    padding: 32px 0 48px;
    background:
        radial-gradient(circle at 12% 12%, rgba(86, 107, 255, .12), transparent 35%),
        linear-gradient(135deg, #f1f2ff 0%, #f6f7ff 55%, #f0f4ff 100%) !important;
}

.home-page > div[style*="95a5ff21"] > .container {
    padding-bottom: 0 !important;
}

.home-page > div[style*="95a5ff21"] > .container > .row {
    display: flex;
    align-items: center;
}

.home-page > div[style*="95a5ff21"] .visible-lg.visible-md {
    display: none !important;
}

.home-page > div[style*="95a5ff21"] .col-md-6:first-child {
    padding: 34px;
    border: 1px solid rgba(229, 234, 242, .9);
    border-radius: 22px;
    background: rgba(255, 255, 255, .93);
    box-shadow: var(--site-shadow);
}

.home-page > div[style*="95a5ff21"] .col-md-6:first-child h1,
.home-page > div[style*="95a5ff21"] .col-md-6:first-child h2 {
    margin-top: 0;
    color: var(--site-ink);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800;
    line-height: 1.28;
}

.home-page > div[style*="95a5ff21"] .col-md-6:nth-child(2) {
    padding-left: 26px;
}

.home-page > div[style*="95a5ff21"] .swiper-container {
    min-height: 300px;
    background: #e9eef8;
}

.home-page > div[style*="95a5ff21"] .swiper-slide img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.home-page .container.between20,
.home-page .container.between30 {
    padding-top: 32px;
    padding-bottom: 32px;
}

.home-page .size30 {
    margin-bottom: 8px;
    font-size: 30px;
    font-weight: 800;
}

.home-features {
    padding: 46px 0 54px;
    background: #fff;
}

.home-feature-item {
    padding: 18px 12px;
    text-align: center;
}

.home-feature-icon {
    display: grid;
    width: 76px;
    height: 76px;
    margin: 0 auto 14px;
    place-items: center;
    border-radius: 24px;
    background: #eef2ff;
    color: var(--site-brand);
    font-size: 34px;
}

.home-feature-item strong {
    display: block;
    color: var(--site-ink);
    font-size: 14px;
}

.Footer {
    margin-top: 64px;
    padding-top: 48px;
    padding-bottom: 32px;
    background: #1b1b1b;
    color: #d7dfef;
}

.Footer,
.Footer a,
.Footer p,
.Footer li {
    color: #d7dfef;
}

.Footer a:hover {
    color: #fff;
}

@media (min-width: 1200px) {
    body {
        padding-top: 76px !important;
    }
}

@media (max-width: 1199px) {
    body {
        padding-top: 60px !important;
    }
}

/* Service detail page */
.service-detail-shell {
    padding: 40px 0 24px;
    background:
        radial-gradient(ellipse at 88% 0, rgba(86, 107, 255, .08), transparent 34%),
        #f7f8fc;
}

.service-detail-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.service-detail-sidebar {
    position: sticky;
    top: 96px;
    padding: 0 22px 0 15px;
}

.service-detail-sidebar > .panel {
    margin-bottom: 10px;
    border: 1px solid var(--site-line) !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: none !important;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.service-detail-page .service-detail-sidebar > .panel.no-radius {
    border-radius: 18px !important;
}

.service-detail-sidebar > .panel:hover {
    transform: translateX(3px);
    box-shadow: 0 8px 22px rgba(27, 45, 82, .08) !important;
}

.service-detail-sidebar > .panel a {
    display: block;
    color: var(--site-ink);
    font-size: 15px;
    font-weight: 600;
}

.service-detail-sidebar > .panel.bg1 {
    border-color: var(--site-brand) !important;
    background: var(--site-brand) !important;
    box-shadow: 0 8px 20px rgba(86, 107, 255, .2) !important;
}

.service-detail-sidebar > .panel.bg1 a {
    color: #fff;
}

.service-detail-content {
    padding: 0 15px;
}

.service-detail-heading {
    margin-bottom: 22px;
    padding: 30px 34px 25px;
    border: 1px solid #e4e8fa;
    border-radius: 20px;
    background: linear-gradient(125deg, #fff 8%, #f0f2ff 100%);
    box-shadow: 0 12px 32px rgba(27, 45, 82, .06);
}

.service-detail-eyebrow {
    margin-bottom: 8px;
    color: var(--site-brand);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
}

.service-detail-title {
    margin: 0;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.4;
}

.service-detail-lead {
    margin: 8px 0 0;
    color: var(--site-muted);
    font-size: 15px;
}

.service-detail-main {
    overflow: hidden;
    padding: 26px;
    border: 1px solid var(--site-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(27, 45, 82, .05);
}

.service-detail-cover {
    width: 100%;
    max-height: 560px;
    margin: 0 auto 24px;
    border-radius: 22px !important;
    object-fit: contain;
    background: #f5f6fa;
}

.service-detail-review {
    color: #344054;
    font-size: 16px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.service-detail-review img,
.service-gallery-item img {
    height: auto;
    max-width: 100%;
    border-radius: 12px;
}

.service-detail-review h2,
.service-detail-review h3,
.service-detail-review h4 {
    margin-top: 26px;
}

.service-detail-content .paddingtop15 {
    padding-top: 18px;
}

.service-gallery-item {
    overflow: hidden;
    border: 1px solid var(--site-line);
    border-radius: 20px;
    background: #fff;
}

.service-gallery-item img {
    display: block;
    width: 100%;
}

.service-gallery-item video,
.service-gallery-item iframe {
    display: block;
    width: 100%;
    border: 0;
}

.service-detail-action-row {
    margin: 22px 0;
}

.service-detail-action-row .btn {
    min-height: 52px;
    padding: 14px 20px;
    font-size: 16px;
}

.service-contact-card {
    border: 1px solid var(--site-line) !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 28px rgba(27, 45, 82, .06) !important;
}

.service-contact-card > .panel-body {
    background: #fff !important;
}

.service-contact-card .border1-bottom {
    padding-bottom: 12px;
    border-color: var(--site-line);
}

.service-detail-page .breadcrumb {
    margin-top: 28px;
    padding: 12px 16px;
    border: 1px solid var(--site-line);
    border-radius: 12px;
    background: #fff;
}

@media (max-width: 767px) {
    body {
        font-size: 14px;
    }

    .container {
        padding-right: 18px;
        padding-left: 18px;
    }

    .panel-body {
        padding: 16px;
    }

    .Footer {
        margin-top: 40px;
        padding-top: 32px;
    }

    .service-detail-shell {
        padding: 22px 0 12px;
    }

    .service-detail-layout {
        display: block;
    }

    .service-detail-content {
        padding: 0;
    }

    .service-detail-heading {
        margin-bottom: 14px;
        padding: 22px 20px;
        border-radius: 16px;
    }

    .service-detail-main {
        padding: 16px;
        border-radius: 14px;
    }

    .service-detail-review {
        font-size: 15px;
    }

    .home-page > div[style*="95a5ff21"] {
        padding: 20px 0 28px;
    }

    .home-page > div[style*="95a5ff21"] > .container > .row {
        display: block;
    }

    .home-page > div[style*="95a5ff21"] .col-md-6:first-child {
        margin-bottom: 20px;
        padding: 22px;
    }

    .home-page > div[style*="95a5ff21"] .col-md-6:nth-child(2) {
        padding-right: 15px;
        padding-left: 15px;
    }

    .home-page > div[style*="95a5ff21"] .swiper-container {
        min-height: 220px;
    }
}
