body {
    background: #f9f9f9;
}
/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
}

.btn.btn-dark {
    color: var(--bs-white);
    border: none;
}

.btn.btn-dark:hover {
    color: var(--bs-primary);
    background: var(--bs-light);
}

/*** Navbar Start ***/

.nav-bar {
    background: var(--bs-white);
}

.sticky-top {
    transition: 1s;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 !important;
}

.navbar-brand img {
    height: 75px !important;
    width: auto !important;
    transition: 0.5s;
}

.navbar-brand img:hover {
    transform: scale(0.9);
}

.sticky-top .navbar-brand img {
    height: 50px;
}

.navbar-brand h1 {
    font-size: 30px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
    color: var(--bs-dark);
    transition: 0.5s;
}

.navbar-brand h1:hover {
    color: var(--bs-primary);
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    letter-spacing: 1px;
    color: var(--bs-dark);
    font-size: 17px;
    font-weight: 500;
    outline: none;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--bs-dark);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    margin-top: 8px !important;
    background: var(--bs-light);
    transition: .5s;
    opacity: 1;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        margin-top: 8px !important;
        transition: .5s;
        opacity: 0;
    }
}

@media (max-width: 991px) {
    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 8px 15px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .sticky-top .navbar-light .navbar-nav .nav-link {
        padding: 12px 0;
    }

    .navbar-brand h1 {
        font-size: 26px;
    }

    .navbar-brand img {
        height: 45px;
    }
}

/* Flag Icon */
.flag-icon {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

/*** Navbar End ***/

    /* Help Center Start */
    .faq-section {
    padding: 60px 0;
    }

    .faq-title {
    text-align: center;
    margin-bottom: 50px;
    }

    .faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s, transform 0.3s;
    }

    .faq-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    }

    .faq-item.active {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    .faq-question {
    padding: 18px 24px;
    cursor: pointer;
    background: #007bff;
    color: #fff;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
    border-radius: 12px 12px 0 0;
    }

    .faq-item.active .faq-question {
    background: #0056b3; /* สีเข้มขึ้นเมื่อ active */
    }

    .faq-answer {
    padding: 20px 24px;
    display: none;
    background: #f1f1f1;
    color: #333;
    font-size: 15px;
    }

    .faq-item.active .faq-answer {
    display: block;
    }

    .faq-item.active .faq-question i {
    transform: rotate(180deg);
    transition: transform 0.3s;
    }

    /* เพิ่มเอฟเฟกต์การกด */
    .faq-question:active {
    transform: scale(0.98);
    }
    /* Help Center End */


    /*** Footer Start ***/
    .footer {
        background: var(--bs-dark);
    }

    .footer .footer-item {
        display: flex;
        flex-direction: column;
    }

    .footer .footer-item a {
        line-height: 35px;
        color: var(--bs-body);
        transition: 0.5s;
    }

    .footer .footer-item p {
        line-height: 35px;
    }

    .footer .footer-item a:hover {
        color: var(--bs-primary);
    }

    .footer .footer-item .footer-btn a,
    .footer .footer-item .footer-btn a i {
        transition: 0.5s;
    }

    .footer .footer-item .footer-btn a:hover {
        background: var(--bs-white);
    }

    .footer .footer-item .footer-btn a:hover i {
        color: var(--bs-primary);
    }

    .footer .footer-item .opening-date {
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .footer .footer-item .opening-date .opening-clock {
        display: flex;
        align-items: center;
        line-height: 35px;
    }

    /* Footer End */

    /*** copyright Start ***/
    .copyright {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        background: var(--bs-dark);
    }
    /*** copyright end ***/

    /* Help Center Form */
    .help-form-section {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 40px;
    margin-bottom: 3rem;
    }

    .help-form-section h3 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #007bff;
    text-align: center;
    }

    .help-form {
    display: flex;
    flex-direction: column;
    }

    .help-form label {
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
    }

    .help-form input[type="text"],
    .help-form input[type="email"],
    .help-form input[type="number"],
    .help-form textarea {
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-size: 14px;
    }

    .help-form input[type="text"]:focus,
    .help-form input[type="email"]:focus,
    .help-form input[type="number"]:focus,
    .help-form textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.2);
    outline: none;
    }

    .help-form textarea {
    min-height: 120px;
    resize: vertical;
    }

    .help-form button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.3s, transform 0.2s;
    }

    .help-form button:hover {
    background: #0056b3;
    }

    .help-form button:active {
    transform: scale(0.98);
    }