/* Font Family */
html {
    scroll-behavior: smooth;
    font-size: 20px;
}

.font-display {
    font-family: 'Noto Sans Thai Looped', sans-serif;
    font-weight: 400 !important;
}

.font-head {
    font-family: 'Noto Sans Thai', sans-serif;
    font-weight: 800 !important;
}

.font-head-tw {
    font-family: 'Noto Sans Thai', sans-serif;
}

.font-display-tw {
    font-family: 'Noto Sans Thai Looped', sans-serif;;
}

.custom-shadow {
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
}

.custom-shadow-b {
    filter: drop-shadow(0px 4px 2px rgba(0, 0, 0, 0.25));
}

.custom-shadow-r {
    filter: drop-shadow(4px 0px 2px rgba(0, 0, 0, 0.25));
}

/* body
{
    font-family: 'Noto Sans Thai Looped', sans-serif !important;
    font-weight: 400 !important;
} */

/* .button{
    font-family: 'Noto Sans Thai Looped', sans-serif !important;
    font-weight: 400 !important;
} */

/* Navbar style */
#navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.navbar-collapse.collapse {
    visibility: visible;
}

.navbar-collapse {
    visibility: visible;
}

.collapse {
    visibility: visible;
}

nav.navbar-collapse.collapse {
    visibility: visible;
}

nav.navbar-collapse {
    visibility: visible;
}

nav.collapse {
    visibility: visible;
}


/* Toast Styles */
.toast {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.error {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.toast.success {
    border-color: #10b981;
    background-color: #f0fdf4;
}

#content.site-content
{
    padding:0px !important;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background-color: var(--pulse-500);
    color: white;
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.button-primary:hover {
    background-color: var(--pulse-600);
    transform: translateY(-1px);
}

.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background-color: transparent;
    color: #374151;
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 600;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    cursor: pointer;
}

.button-secondary:hover {
    border-color: var(--pulse-500);
    color: var(--pulse-500);
}

.triangle-header {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border-color: transparent transparent #A0131F transparent;
    border-style: solid;
    border-width: 7vw 120vw;
    z-index: 10;
}


/* Hide overflow scrollbar */
.hide-scrollbar {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */
}

.hide-scrollbar::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}


@keyframes slide_in_from_b {
    0% { 
        opcaity: 1;
        transform: translateY(100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-in-from-b {
    animation-name: slide_in_from_b;
    animation-duration: 500ms;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
}

.wait-slide-in-b {
    opacity: 0;
}

@keyframes slide_in_from_b_overshoot {
    0% { 
        opcaity: 1;
        transform: translateY(100%);
    }
    60% { 
        opcaity: 1;
        transform: translateY(-10%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-in-from-b-overshoot {
    animation-name: slide_in_from_b_overshoot;
    animation-duration: 500ms;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
}

.wait-slide-in-b-overshoot {
    opacity: 0;
}

@keyframes slide_in_from_l {
    0% { 
        opcaity: 1;
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-in-from-l {
    animation-name: slide_in_from_l;
    animation-duration: 500ms;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
}

.wait-slide-in-l {
    opacity: 0;
    transform: translateX(-100);

}

@keyframes slide_in_from_r {
    0% { 
        opcaity: 1;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-in-from-r {
    animation-name: slide_in_from_r;
    animation-duration: 500ms;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
}

.wait-slide-in-r {
    opacity: 0;
}

@keyframes fade {
    0% {
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

.animate-fade {
    animation-name: fade;
    animation-duration: 250ms;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
}

.wait-fade-in {
    opacity: 0;
}

@keyframes fade-up {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(-30px);
    }
    100%{
        opacity: 1;
        transform: scale(1) translateY(0px);
    }
}

.animate-fade-up {
    animation-name: fade-up;
    animation-duration: 500ms;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
}

.wait-fade-up {
    opacity: 0;
}

@keyframes fade-down {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(30px);
    }
    100%{
        opacity: 1;
        transform: scale(1) translateY(0px);
    }
}

.animate-fade-down {
    animation-name: fade-up;
    animation-duration: 500ms;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
}

.wait-fade-down {
    opacity: 0;
}

/* Custom Animation only for the card in What section */
.wait-card-l {
    opacity: 0;
    transform: translateY(-115%);
}

@keyframes slide-card-l {
    0% {
        opacity: 1;
        transform: translate(0, -115%);
    }
    100%{
        opacity: 1;
        transform: translateX(-80%, -115%);
    }
}

.animate-card-l {
    animation-name: slide-card-l;
    animation-duration: 500ms;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
}


@keyframes slide-card-r {
    0% {
        opacity: 1;
        transform: translate(0, -115%);
    }
    100%{
        opacity: 1;
        transform: translateX(80%, -115%);
    }
}

.animate-card-r {
    animation-name: slide-card-r;
    animation-duration: 500ms;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
}

.wait-card-r {
    opacity: 0;
}

/* Custom animation for who fits section */
@keyframes slide-who-fits {
    0% {
        opacity: 1;
        transform: translateX(-100%);
    }
    50%{
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-who-fits {
    animation-name: slide-who-fits;
    animation-duration: 200ms;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
}

.wait-who-fits {
    opacity: 0;
}

