.emoji {
    font-size: 40px;
}

.static-hero-s5 .hero-content .slide-title h2 span {
    padding: 0;
}

.courses-icon {
    display: flex;
    align-items: center;
    justify-items: center;

}

.navbar-header {
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-header {
    margin-left: 40px;
}

.wpo-courses-section-s5 .wpo-courses-wrap .grid.s1 .wpo-courses-item .wpo-courses-text .courses-icon,
.wpo-courses-section-s5 .wpo-courses-wrap .grid.s2 .wpo-courses-item .wpo-courses-text .courses-icon,
.wpo-courses-section-s5 .wpo-courses-wrap .grid.s3 .wpo-courses-item .wpo-courses-text .courses-icon,
.wpo-courses-section-s5 .wpo-courses-wrap .grid.s4 .wpo-courses-item .wpo-courses-text .courses-icon,
.wpo-courses-section-s5 .wpo-courses-wrap .grid.s5 .wpo-courses-item .wpo-courses-text .courses-icon,
.wpo-courses-section-s5 .wpo-courses-wrap .grid.s6 .wpo-courses-item .wpo-courses-text .courses-icon {
    background: #EEE;
}

.logo {
    font-family: "Baloo 2", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 700;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo .owl {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.logo span {
    margin: 0 2px;
    /* adjust gap size */
}

.logo .braces,
.logo .dot {
    color: #2196f3;
}

/* pink braces */
.logo .code {
    color: #28a745;
}

/* green */
.logo .my {
    color: #ff9800;
}

/* orange */
.logo .skills {
    color: #673ab7;
}

/* 🔥 MOBILE FONT SIZE FIX */
@media (max-width: 576px) {

    .logo .code,
    .logo .my,
    .logo .skills,
    .logo .dot {
        font-size: 24px;
        /* adjust size here */
        line-height: 1.1;
    }
}

@media (min-width: 992px) and (max-width: 1300px) {

    .logo .code,
    .logo .my,
    .logo .skills,
    .logo .dot {
        font-size: 24px;
        /* adjust size here */
        line-height: 1.1;
    }
}

/* Desktop version is visible by default */
.owl-desktop {
    display: inline-block !important;
}

/* Mobile version hidden by default */
.owl-mobile {
    display: none !important;
}

/* 🔥 Show mobile version on small screens */
@media (max-width: 576px) {
    .owl-desktop {
        display: none !important;
    }

    .owl-mobile {
        display: inline-block !important;
    }
}


.wpo-site-footer .widget-title {
    margin-bottom: 0px;
}

.subscribe-form {
    display: flex;
    align-items: center;
    justify-content: center;
}

.subscribe-form a {
    color: #000;
    display: inline-block;
    font-weight: 500;
    padding: 15px 35px;
    border: 0;
    text-transform: capitalize;
    -webkit-backface-visibility: hidden;
    z-index: 1;
    position: relative;
    font-size: 18px;
    background: #FFF;
    font-family: "Urbanist";
    border-radius: 30px;
    font-weight: 600;
}

.wpo-about-section .wpo-about-wrap .wpo-about-img-wrap .wpo-about-img-right .exprience h3 {
    font-size: 22px;
}

.wpo-blog-section .wpo-blog-item .wpo-blog-content ul li:first-child:before {
    display: none;
}

.blog-sidebar .tag-widget ul li a.active {
    background: #4540E1;
    color: #fff;
}

.object-fit-cover {
    object-fit: cover !important;
}


.back-to-top {
    display: block;
    position: fixed;
    right: 20px;
    bottom: 30px;
    z-index: 999;
    width: 45px;
    height: 45px;
    background: #2196f3;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 45px;
    font-size: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.back-to-top:hover {
    background: #5eb6fd;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

.payment-select input:disabled+label {
    color: #b3b3b3 !important;
    /* สีเทาอ่อน */
    cursor: not-allowed;
    opacity: 0.6;
}

.payment-select li:has(input:disabled) {
    opacity: 0.6;
}



















/* กล่อง step ทั้งหมด */
/* .wizard-step {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
} */

.wizard-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.wizard-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 18px;
}

/* แต่ละคำถาม */
.question-block {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 22px;
    margin-bottom: 24px;
}

.question-header h4 {
    margin: 0 0 4px;
    font-size: 18px;
}

.question-description {
    margin: 0 0 16px;
    color: #6b7280;
    font-size: 15px;
}

/* การ์ดตัวเลือก */
.option-card {
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 14px 16px;
    display: flex;
    gap: 10px;
    cursor: pointer;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.option-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.1);
}

/* active state */
.option-card-active {
    border-color: #2563eb;
    background: #eff6ff;
}

/* ซ่อน radio จริง ใช้แค่สำหรับฟอร์ม */
.option-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.option-title {
    font-weight: 600;
}

.option-subtitle {
    font-size: 15px;
    color: #4b5563;
}

.option-text {
    font-size: 14px;
    color: #6b7280;
    text-align: center;
    display: inline-block;
}

/* mobile */
@media (max-width: 576px) {
    .wizard-step {
        padding: 0 10px;
    }

    .question-block {
        padding: 16px 14px;
    }
}

.wizard-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    width: 100%;
}

.wizard-card-footer .left,
.wizard-card-footer .right {
    flex: 1;
}

.wizard-card-footer .left button {
    float: left;
}

.wizard-card-footer .right button {
    float: right;
}

/* NEXT button */
.next-btn,
.back-btn {
    background: #2196f3 !important;
    color: #fff !important;
}

.next-btn:before,
.back-btn:before {
    color: #2196f3 !important;
}

.finish-btn:before {
    color: #24933d !important;
    content: "\e64c";
}

.theme-btn-s2.back-btn {
    padding-right: 30px !important;
    padding-left: 70px;
}

.back-btn:before {
    right: auto;
    left: 5px;
    content: "\e629";
}


.next-btn:hover,
.back-btn:hover {
    background: #1e88e5 !important;
}

.next-btn:after,
.back-btn:after {
    background: #1e88e5 !important;
}

.finish-btn:after{
    background: #24933d !important;
}

/* FINISH button */
.finish-btn {
    background: #28a745;
    color: #ffffff !important;
}

.finish-btn:hover {
    background: #28a745 !important;
}

/* Mobile responsiveness */
/* @media (max-width: 480px) {
    .wizard-btn {
        width: 100%;
        justify-content: center;
        font-size: 0.95rem;
        padding: 12px;
    }
} */




/* Layout หลัก */
.form-group {
    margin-bottom: 18px;
}

.form-group.horizontal {
    display: flex;
    align-items: center;
    gap: 16px;
}

.form-group.vertical {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    /* smaller spacing looks better vertically */
}

.form-label {
    width: 150px;
    font-size: 15px;
    font-weight: 500;
    color: #444;
    flex-shrink: 0;
}

.form-check-label.small {
    font-size: 0.875em;
}

.form-check {
    display: flex !important;
}

.required {
    color: #e53935;
}

/* กล่องกรอก */
.input-control,
.textarea-control {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid #d6d6d6;
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-control.is-invalid {
    border-color: #dc3545 ;
}

.input-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 .25rem rgba(220, 53, 69, .25);
}

.textarea-control {
    width: 100%;
}

.input-control:focus,
.textarea-control:focus {
    border-color: #899197;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.15);
    outline: none;
}

/* Responsive */
@media (max-width: 600px) {
    .form-group.horizontal {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-label {
        width: 100%;
        margin-bottom: 8px;
    }

    .input-control {
        width: 100%;
    }
}

/* .weekdays .nav-tabs {
    border-bottom: 1px solid #dee2e6;
} */

.weekdays .nav-link {
    color: #625F71;
}

.weekdays .nav-tabs .nav-link {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.weekdays .tab-content {
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    border-radius: 10px;
}

.weekdays .btn-primary {
    background: #1e88e5;
}

.weekdays .btn-outline-secondary:hover {
    background: #2196f3;
    border: 1px solid #2196f3;
}

.text-muted {
    color: #6b7280 !important;
}

.option-card-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    /* Make entire card unclickable */
}

.option-card-disabled .option-title,
.option-card-disabled .option-subtitle,
.option-card-disabled .option-text {
    color: #999 !important;
    /* softer contrast */
}