:root {
--color-primary-50: #f0f9ff;
--color-primary-100: #e0f2fe;
--color-primary-200: #bae6fd;
--color-primary-300: #7dd3fc;
--color-primary-400: #38bdf8;
--color-primary-500: #0ea5e9;
--color-primary-600: #0284c7;
--color-primary-700: #0369a1;
--color-primary-800: #075985;
--color-primary-900: #0c4a6e;
--color-secondary-50: #f8fafc;
--color-secondary-100: #f1f5f9;
--color-secondary-200: #e2e8f0;
--color-secondary-300: #cbd5e1;
--color-secondary-400: #94a3b8;
--color-secondary-500: #64748b;
--color-secondary-600: #475569;
--color-secondary-700: #334155;
--color-secondary-800: #1e293b;
--color-secondary-900: #0f172a;
}  @import url("https://fonts.googleapis.com/css2?family=Kanit:wght@200;400;600&display=swap"); body {
font-family: 'Kanit', sans-serif;
font-weight: 400;
line-height: 1.6;
background-color: #F4FBFF;
} .font-light {
font-weight: 200;
}
.font-normal {
font-weight: 400;
}
.font-semibold {
font-weight: 600;
} h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'Kanit', sans-serif;
font-weight: 600;
line-height: 1.2;
} .btn {
font-family: 'Kanit', sans-serif;
font-weight: 400;
} input,
textarea,
select {
font-family: 'Kanit', sans-serif;
font-weight: 400;
} @keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes slideUp {
from {
transform: translateY(20px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
@keyframes bounceGentle {
0%,
100% {
transform: translateY(0);
}
50% {
transform: translateY(-5px);
}
} .animate-fade-in {
animation: fadeIn 0.5s ease-in-out;
}
.animate-slide-up {
animation: slideUp 0.5s ease-out;
}
.animate-bounce-gentle {
animation: bounceGentle 2s infinite;
}  .btn {
padding: 0.75rem 1.5rem;
border-radius: 0.5rem;
font-weight: 500;
transition: all 0.3s ease;
display: inline-block;
text-decoration: none;
border: none;
cursor: pointer;
}
.btn-primary {
background-color: #2563eb;
color: white;
}
.btn-primary:hover {
background-color: #1d4ed8;
}
.btn-primary:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}
.btn-secondary {
background-color: #e5e7eb;
color: #1f2937;
}
.btn-secondary:hover {
background-color: #d1d5db;
}
.btn-secondary:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(156, 163, 175, 0.5);
}
.btn-outline {
background-color: transparent;
color: #2563eb;
border: 2px solid #2563eb;
}
.btn-outline:hover {
background-color: #2563eb;
color: white;
} .card {
background-color: white;
border-radius: 0.75rem;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
padding: 1.5rem;
transition: all 0.3s ease;
}
.card:hover {
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.card-hover:hover {
transform: scale(1.05);
} .form-input {
width: 100%;
padding: 0.75rem 1rem;
border: 1px solid #d1d5db;
border-radius: 0.5rem;
transition: all 0.3s ease;
}
.form-input:focus {
outline: none;
border-color: #3b82f6;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.form-input--error {
border-color: #ef4444;
box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
.form-input--success {
border-color: #10b981;
box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}
.form-label {
display: block;
font-size: 0.875rem;
font-weight: 500;
color: #374151;
margin-bottom: 0.5rem;
}
.form-group {
margin-bottom: 1rem;
}
.form-error {
color: #ef4444;
font-size: 0.875rem;
margin-top: 0.25rem;
opacity: 0;
transition: opacity 0.3s ease;
}
.form-error--visible {
opacity: 1;
}
.form-success {
color: #10b981;
font-size: 0.875rem;
margin-top: 0.25rem;
}
.form-success--visible {
opacity: 1;
} .nav-link {
padding: 0.5rem 1rem;
color: #4b5563;
text-decoration: none;
transition: color 0.2s ease;
}
.nav-link:hover {
color: #2563eb;
}
.nav-link-active {
color: #2563eb;
font-weight: 500;
}
.fixed-header {
width: 100%;
transition: all 0.3s ease-in-out;
}
.fixed-header-active {
display: flex;
width: 100%;
position: fixed;
top: 0;
right: 0;
padding: 0.5rem;
background: white;
border-bottom: 3px solid #15bc77;
box-shadow: 2px 0px 10px 0px #00000038;
z-index: 100; transition: all 0.3s ease-in-out; }
.fixed-header-active > ul {
order: 1;
}
.fixed-header-active > .logo-fixed-nav {
display: block;
width: 32px;
order: 0;
margin-right: 1rem;
} .container-custom {
max-width: 80rem;
margin: 0 auto;
padding: 0 1rem;
}
@media (min-width: 640px) {
.container-custom {
padding: 0 1.5rem;
}
}
@media (min-width: 1024px) {
.container-custom {
padding: 0 2rem;
}
} .hamburger-menu {
display: none;
}
.hamburger-button {
display: none;
flex-direction: column;
justify-content: space-around;
width: 30px;
height: 25px;
background: transparent;
border: none;
cursor: pointer;
padding: 0;
z-index: 10;
}
.hamburger-line {
width: 100%;
height: 3px;
background-color: #374151;
border-radius: 2px;
transition: all 0.3s ease;
}
.hamburger-button.active .hamburger-line:nth-child(1) {
transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-button.active .hamburger-line:nth-child(2) {
opacity: 0;
}
.hamburger-button.active .hamburger-line:nth-child(3) {
transform: rotate(-45deg) translate(7px, -6px);
} @media (max-width: 1231px) {
.hamburger-menu {
display: block;
}
.hamburger-button {
display: flex;
}
.nav-menu {
position: fixed;
top: 90px;
right: 0;
width: 100%;
height: calc(100vh - 148px);
background-color: rgb(244 248 255 / var(--tw-bg-opacity, 1));
z-index: 1000;
transform: translateX(100%);
transition: transform 0.3s ease;
overflow-y: auto;
display: flex;
align-items: flex-start;
justify-content: center;
padding-top: 1.5rem;
}
.nav-menu.active {
transform: translateX(0);
}
.nav-menu ul {
flex-direction: column;
gap: 0;
width: 90%;
max-width: 400px;
}
.nav-menu .dropdown {
width: 100%;
}
.nav-menu .dropdown-button {
width: 100%;
justify-content: space-between;
padding: 15px;
background-color: white;
border-radius: 8px;
margin-bottom: 5px;
}
.nav-menu .dropdown-menu {
position: static;
background-color: #4179D4;
border-radius: 8px;
margin-top: 5px;
box-shadow: none;
opacity: 0;
visibility: hidden;
max-height: 0;
overflow: hidden;
transform: translateY(-10px);
transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease;
}
.nav-menu .dropdown-menu--visible {
opacity: 1;
visibility: visible;
max-height: 500px; transform: translateY(0);
margin-bottom: 1rem;
}
.mobile-menu-close {
position: absolute;
top: 20px;
right: 20px;
background: none;
border: none;
color: white;
font-size: 24px;
cursor: pointer;
z-index: 1001;
}
.gird-navbar {
padding-bottom: 0 !important;
}
.text-lmnu {
display: block !important;
}
.header-navbar {
position: sticky !important;
top: 0;
width: 100%;
background-color: white !important;
}
}
@media (max-width: 1231px) and (min-width: 641px) {
.nav-menu {
top: 132px;
right: 0;
width: 450px;
height: 100vh;
transform: translateX(100%);
box-shadow: 0px 10px 10px 0px #00000038;
}
}
.section-padding {
padding: 3rem 0;
}
@media (min-width: 768px) {
.section-padding {
padding: 4rem 0;
}
}
@media (min-width: 1024px) {
.section-padding {
padding: 5rem 0;
}
}  img {
max-width: 100%;
height: auto;
} html {
scroll-behavior: smooth;
}  .focus-visible:focus {
outline: none;
box-shadow: 0 0 0 2px #3b82f6, 0 0 0 4px rgba(59, 130, 246, 0.5);
} .sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
} @media print {
.no-print {
display: none !important;
}
.print-break {
page-break-before: always;
}
} .modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 50;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
}
.modal[aria-hidden="false"] {
opacity: 1;
visibility: visible;
transition: all 0.3s ease;
}
.modal__overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
padding: 1rem;
}
.modal__container {
background-color: white;
border-radius: 0.5rem;
max-width: 500px;
width: 100%;
max-height: 90vh;
overflow-y: auto;
}
.modal__header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1.5rem;
border-bottom: 1px solid #e5e7eb;
}
.modal__close {
background: none;
border: none;
font-size: 1.5rem;
cursor: pointer;
color: #6b7280;
}
.modal__close:hover {
color: #374151;
}
.modal__content {
padding: 1.5rem;
}
.modal__footer {
display: flex;
justify-content: flex-end;
gap: 0.5rem;
padding: 1.5rem;
border-top: 1px solid #e5e7eb;
} .tab-container {
width: 100%;
}
.tab-buttons {
display: flex;
margin-bottom: 1rem;
}
.tab-button {
padding: 0.75rem 1.5rem;
background: none;
border: none;
cursor: pointer;
font-weight: 500;
color: #6b7280;
border-bottom: 2px solid transparent;
transition: all 0.2s ease;
}
.tab-button:hover {
color: #374151;
}
.tab-content {
display: none;
animation: fadeIn 0.3s ease;
}
.tab-button--active {
color: black !important;
font-weight: 600 !important;
}
.tab-content--active {
display: block;
}
.tab-button--active span {
opacity: 1;
}
@media screen and (max-width: 479px) {
.tab-button {
padding: 0.75rem;
font-size: 0.875rem !important;
line-height: 1.25rem !important;
}
}
.link-tab-active {
border-bottom: 1px solid black;
color: black !important;
} .dropdown {
position: relative;
display: inline-block;
}
.dropdown-button {
padding: 0.5rem 1rem;
background-color: white;
border: 1px solid #d1d5db;
border-radius: 0.375rem;
cursor: pointer;
display: flex;
align-items: center;
justify-content: space-between;
min-width: 150px;
transition: border-color 0.2s ease;
}
.dropdown-button:hover {
border-color: #9ca3af;
}
.dropdown-button:focus {
outline: none;
border-color: #4179D4;
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.dropdown-menu {
position: absolute;
top: 100%;
left: 0;
right: 0;
background-color: #4179D4;
border: none;
border-radius: 0.375rem;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
z-index: 50;
opacity: 0;
visibility: hidden;
transform: translateY(-10px);
transition: all 0.2s ease;
padding: 0.5rem 0;
width: 100% !important;
}
.dropdown-menu--visible {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.dropdown-item {
display: block;
padding: 0.75rem;
cursor: pointer;
transition: background-color 0.2s ease;
color: white;
font-size: 0.875rem;
}
.dropdown-item:last-child {
border-bottom: none;
}
.dropdown-item:hover {
background-color: rgba(255, 255, 255, 0.1);
}
.dropdown-item--active {
background-color: rgba(255, 255, 255, 0.2);
color: white;
} .form-group {
margin-bottom: 1rem;
}
.form-input {
width: 100%;
padding: 0.75rem;
border: 1px solid #d1d5db;
border-radius: 0.375rem;
font-size: 1rem;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus {
outline: none;
border-color: #2563eb;
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.form-input--error {
border-color: #ef4444;
}
.form-input--success {
border-color: #10b981;
}
.form-error {
color: #ef4444;
font-size: 0.875rem;
margin-top: 0.25rem;
display: none;
}
.form-error--visible {
display: block;
}
.form-success {
color: #10b981;
font-size: 0.875rem;
margin-top: 0.25rem;
display: none;
}
.form-success--visible {
display: block;
}  .carousel-dot {
width: 0.75rem;
height: 0.75rem;
border-radius: 50%;
background-color: #d1d5db;
margin: 0 0.25rem;
border: none;
cursor: pointer;
transition: background-color 0.2s ease;
}
.carousel-dot:hover {
background-color: #9ca3af;
}
.carousel-dot--active {
background-color: #2563eb;
} .tooltip {
position: absolute;
z-index: 50;
padding: 0.5rem 0.75rem;
font-size: 0.875rem;
color: white;
background-color: #111827;
border-radius: 0.25rem;
opacity: 0;
pointer-events: none;
transition: opacity 0.2s ease;
white-space: nowrap;
}
.tooltip--visible {
opacity: 1;
} .progress-bar {
position: fixed;
top: 0;
left: 0;
height: 0.25rem;
background-color: #2563eb;
z-index: 50;
transition: width 0.3s ease;
width: 0%;
} .skill-progress-bar {
width: 100%;
height: 0.5rem;
background-color: #e5e7eb;
border-radius: 0.25rem;
overflow: hidden;
position: relative;
}
.skill-progress-fill {
height: 100%;
background-color: #2563eb;
border-radius: 0.25rem;
width: 0%;
transition: width 1s ease-in-out;
}
.skill-progress-fill--blue {
background-color: #3b82f6;
}
.skill-progress-fill--green {
background-color: #10b981;
}
.skill-progress-fill--yellow {
background-color: #f59e0b;
}
.skill-progress-fill--red {
background-color: #ef4444;
} .notification {
position: fixed;
top: 1rem;
right: 1rem;
padding: 1rem;
border-radius: 0.5rem;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
z-index: 50;
transform: translateX(100%);
transition: transform 0.3s ease;
}
.notification--visible {
transform: translateX(0);
}
.notification--success {
background-color: #10b981;
color: white;
}
.notification--error {
background-color: #ef4444;
color: white;
}
.notification--info {
background-color: #3b82f6;
color: white;
}
.notification--warning {
background-color: #f59e0b;
color: white;
} .accordion {
width: 100%;
}
.accordion-item {
border: 1px solid #e5e7eb;
border-radius: 0.5rem;
margin-bottom: 0.5rem;
overflow: hidden;
}
.accordion-item:last-child {
margin-bottom: 0;
}
.accordion-trigger {
width: 100%;
padding: 1rem 1.5rem;
background: none;
border: none;
text-align: left;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
font-weight: 500;
color: #374151;
transition: all 0.2s ease;
}
.accordion-trigger:hover {
background-color: #f9fafb;
}
.accordion-trigger:focus {
outline: 2px solid #2563eb;
outline-offset: 2px;
}
.accordion-icon {
font-size: 1.25rem;
font-weight: bold;
color: #6b7280;
transition: transform 0.2s ease;
}
.accordion-item--open .accordion-icon {
transform: rotate(45deg);
color: #2563eb;
}
.accordion-content {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
}
.accordion-body {
padding: 0 1.5rem 1.5rem;
color: #6b7280;
line-height: 1.6;
} .accordion--bordered .accordion-item {
border: 1px solid #e5e7eb;
border-radius: 0.5rem;
}
.accordion--clean .accordion-item {
border: none;
border-bottom: 1px solid #e5e7eb;
border-radius: 0;
}
.accordion--clean .accordion-item:last-child {
border-bottom: none;
} .hero-swiper {
width: 100%;
height: auto;
}
.hero-swiper .swiper-slide {
height: auto;
min-height: 400px;
} .hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
color: #2563eb;
background: rgba(255, 255, 255, 0.8);
width: 40px;
height: 40px;
border-radius: 50%;
transition: all 0.3s ease;
}
.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
background: rgba(255, 255, 255, 1);
transform: scale(1.1);
}
.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
font-size: 18px;
font-weight: bold;
} .swiper-pagination {
position: static !important;
}
.hero-swiper .swiper-pagination-bullet {
background: #d1d5db;
opacity: 0.5;
transition: all 0.3s ease;
}
.hero-swiper .swiper-pagination-bullet-active {
background: #2563eb;
opacity: 1;
transform: scale(1.25);
}
.custom-pagination-wrapper .swiper-pagination {
display: flex;
justify-content: center;
gap: 3px;
}
.custom-pagination-wrapper .swiper-pagination-bullet {
background-color: #fff;
opacity: 0.7;
width: 12px;
height: 12px;
}
.custom-pagination-wrapper .swiper-pagination-bullet-active {
opacity: 1;
}
.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
opacity: 0 !important;
pointer-events: none !important;
visibility: hidden !important;
transition: opacity 0.2s !important;
}
.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after,
.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
font-size: 14px !important;
font-weight: 600 !important;
} .solution-swiper-prev,
.solution-swiper-next {
display: flex !important;
}
@media only screen and (max-width: 339px) {
.keytech-edit-layout {
flex-direction: column !important;
align-items: center !important;
justify-content: center !important;
}
} .btn-see-all:hover {
color: #1769E0 !important;
}
.btn-see-all:hover .group-hover\:bg-\[#1769E0\] {
background-color: #1769E0 !important;
}
.btn-see-all:hover .group-hover\:text-white {
color: white !important;
}
.btn-see-all:hover span {
background-color: #1769E0 !important;
color: white !important;
}
.btn-see-all:hover svg {
color: white !important;
} #video-modal .modal__container {
max-width: 90vw;
max-height: 90vh;
width: 100%;
height: auto;
}
#video-modal .video-container {
background: #000;
border-radius: 8px;
overflow: hidden;
}
#video-modal iframe {
border: none;
}
#video-modal .custom-video-container {
background: #000;
border-radius: 8px;
overflow: hidden;
} @media (max-width: 768px) {
#video-modal .modal__container {
max-width: 95vw;
margin: 10px;
}
#video-modal .video-container {
padding-bottom: 56.25%;
}
} .swiper-button-next:hover,
.swiper-button-prev:hover {
background-color: #1769E0 !important;
color: white !important;
}
.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
color: white !important;
} .roadswiper-button-next:hover,
.roadswiper-button-prev:hover {
background-color: #1769E0 !important;
color: white !important;
}
.roadswiper-button-next:hover svg,
.roadswiper-button-prev:hover svg {
color: white !important;
} .solution-swiper-next:hover svg,
.solution-swiper-prev:hover svg {
color: white !important;
} a:where(:not(.wp-element-button)) {
text-decoration: none !important;
} .dropdown-item {
border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
ul.sub-menu.dropdown-menu li:last-child a {
border-bottom: 0 !important;
} input[type="search"] {
padding-right: 40px; } input[type="search"]::-webkit-search-cancel-button {
position: relative;
right: 10px; } input[type="search"]::-moz-search-clear {
position: relative;
right: 10px;
} form br {
display: none;
}
.cf7-col-btn p {
display: flex;
flex-wrap: wrap;
gap: 1rem;
position: relative;
}
.wpcf7-spinner {
position: absolute;
left: 2vw;
top: 13px;
} iframe {
width: 100%;
height: 100%;
} .pagi-active {
color: #4b5563 !important;
background-color: #2563eb !important;
} @media only screen and (max-width: 369px) {
.layout-2menu-search a:not(:first-child) {
padding-top: 0;
}
}  .mm-editor-content {
font-size: 1rem;
line-height: 1.75;
color: #111827; }
.mm-editor-content p {
margin: 1em 0;
}
.mm-editor-content h1,
.mm-editor-content h2,
.mm-editor-content h3,
.mm-editor-content h4,
.mm-editor-content h5,
.mm-editor-content h6 {
font-weight: 600;
line-height: 1.25;
margin: 1.5em 0 0.75em;
}
.mm-editor-content h1 {
font-size: 2em;
}
.mm-editor-content h2 {
font-size: 1.75em;
}
.mm-editor-content h3 {
font-size: 1.5em;
}
.mm-editor-content h4 {
font-size: 1.25em;
}
.mm-editor-content h5 {
font-size: 1.1em;
}
.mm-editor-content h6 {
font-size: 1em;
} .mm-editor-content ul,
.mm-editor-content ol {
margin: 1em 0 1em 1.5em;
padding: 0;
}
.mm-editor-content ul {
list-style: disc;
}
.mm-editor-content ol {
list-style: decimal;
} .mm-editor-content blockquote {
border-left: 4px solid #e5e7eb;
padding-left: 1em;
margin: 1.5em 0;
color: #555;
font-style: italic;
} .mm-editor-content table {
border-collapse: collapse;
margin: 1.5em 0;
width: 100%;
}
.mm-editor-content th,
.mm-editor-content td {
border: 1px solid #ddd;
padding: 0.5em 0.75em;
}
.mm-editor-content th {
background: #f9fafb;
font-weight: 600;
text-align: left;
} .mm-editor-content img {
max-width: 100%;
height: auto;
} .mm-editor-content a {
color: #2563eb; text-decoration: underline;
}
.mm-editor-content a:hover {
color: #1d4ed8; } .mm-editor-content pre,
.mm-editor-content code {
font-family: monospace, monospace;
background: #f3f4f6;
padding: 0.2em 0.4em;
border-radius: 4px;
}
.mm-editor-content pre {
display: block;
padding: 1em;
overflow-x: auto;
} #wp-admin-bar-wpseo-menu,
#wp-admin-bar-wp-logo {
display: none !important;
}