:root {
    --fa-icon: "\f00c";
    --bg-color: #FFF;
}

body {
    font-family: "Google Sans", sans-serif;
    color: #222;
    min-height: 100vh;
    transition: background-color 0.4s, color 0.4s;
}

a {
    text-decoration: none;
    /* color: #0c7fb4; */
}

html {
    scroll-behavior: smooth;
}

.h2 {
    color: #0e83c2;
    margin-top: 20px;
    font-size: 2.035rem;
    font-weight: 800;
    line-height: 1.02;
}

.h3 {
    color: #121212;
    font-weight: 800;
    margin: 0;
    padding: 2px;
    margin-top: 15px;
    font-size: 1.635rem;
    line-height: 1.02;
}

.h5 {
    color: #055580;
}

p {
    text-indent: 50px;
}

#menuNavbar .navbar-nav .nav-link {
    color: #FFF;
    padding: 16px 20px;
    transition: all 0.5s;
}

#menuNavbar .navbar-nav .nav-link:hover,
#menuNavbar .navbar-nav .nav-link.active {
    background-color: #FFF;
    color: #1C71C7;
}

.bg-color {
    background-color: var(--bg-color);
}

ul.custom-fa-list {
    list-style: none;
    /* remove default bullets */
    padding-left: 1.4em;
    /* space for icon */
}

ul.custom-fa-list li {
    position: relative;
}

ul.custom-fa-list li:before {
    content: var(--fa-icon);
    /* ← unicode of fa-circle-check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    /* very important for solid style */
    position: absolute;
    left: -1.4em;
    color: #2ecc71;
    /* your color */
    /* Optional fine-tuning */
    font-size: 1.1em;
    line-height: inherit;
}

footer,
.seo-h3 {
    background-color: #F5F5F5;
    color: #2c2b2b;
}

footer .text-header {
    font-size: 1.558rem;
    font-weight: 900;
    padding: 3px;
    margin-bottom: 5px;
}

footer a {
    color: #333;
    text-decoration: none;
}

footer a:hover {
    color: #000;
}

/* Social Icon ======================================= */
footer .social-footer {
    padding: 40px 20px;
    background: #0f0f0f;
    text-align: center;
}

footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    /* space between icons */
    flex-wrap: wrap;
}

footer .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    font-size: 16px;
    /* icon size inside circle */
    color: white;
    background: #333;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer .social-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    color: #FFF;
}

/* Brand colors on hover */
footer .social-link.facebook:hover {
    background: #1877f2;
}

footer .social-link.youtube:hover {
    background: #ff0000;
}

footer .social-link.instagram:hover {
    background: #e1306c;
}

footer .social-link.tiktok:hover {
    background: #000;
}

.seo-h1,
.seo-h3 {
    padding: 2px 0;
    font-size: 0.812rem;
    text-align: center;
}

.seo-h1 a {
    color: #C1C1C1;
    line-height: 1;
}

.seo-h3 a {
    color: #C1C1C1;
    line-height: 1;
}

.hand {
    cursor: pointer;
}

/* Price */
.price-items {
    transition: 0.35s ease-in-out;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
    border: 1px solid #F0F0F0 !important;
}

.price-items:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.display_price {
    font-weight: 900 !important;
}

.red {
    color: red;
}

.ribbon-danger {
    padding: 4px 7px;
    background-color: #FF5733;
    color: #FFFFFF;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    display: inline-block;
    margin: 3px;
}

.currency-sign {
    font-size: 0.955rem;
    display: inline-block;
    padding: 0 1px;
    font-weight: 400;
}

.img-wmax {
    max-width: 80px;
}

.video-thumb {
    position: relative;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.5);
    /* opacity 50% */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    backdrop-filter: blur(2px);
    /* เพิ่มความสวยงามเล็กน้อย (optional) */
}

.play-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    /* opacity ~90-100% */
    transform: translate(-50%, -50%) scale(1.12);
}

.play-icon {
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid white;
    margin-left: 3px;
    /* ปรับตำแหน่งให้ดูสมดุล */
}

/* เมื่อ hover ทั้ง .video-thumb ก็ให้ปุ่มชัดขึ้นด้วย */
.video-thumb:hover .play-btn {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

/* contact */
.contact-box {
    background: linear-gradient(110deg, #E9F3F5 60%, #CFE3EC 60%);
    padding: 20px;
    font-size: 1.735rem;
    line-height: 1;
    letter-spacing: 2px;
}

.contact-box .info {
    font-size: 1.425rem;
    color: #58595a;
}

/* From Uiverse.io by doniaskima */
.btn-57,
.btn-57 *,
.btn-57 :after,
.btn-57 :before,
.btn-57:after,
.btn-57:before {
    border: 0 solid;
    box-sizing: border-box;
}

.btn-57 {
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: button;
    background-color: #000;
    background-image: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.35rem;
    margin: 0;
    -webkit-mask-image: -webkit-radial-gradient(#000, #fff);
    padding: 0;
    display: inline-block;
}

.btn-57:disabled {
    cursor: default;
}

.btn-57:-moz-focusring {
    outline: auto;
}

.btn-57 [hidden] {
    display: none;
}

.btn-57 {
    background: #FFF;
    border: 3px solid;
    border-radius: 999px;
    box-sizing: border-box;
    color: #000;
    display: inline-block;
    font-weight: 700;
    -webkit-mask-image: none;
    padding: 20px 60px;
    position: relative;
}

.btn-57:before {
    background: #fff;
    border-radius: 999px;
    content: "";
    inset: 0;
    position: absolute;
    transform: translate(10px, 10px);
    transition: transform 0.2s;
    z-index: -1;
}

.btn-57:hover:before {
    transform: translate(0);
}