@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100..900&display=swap');

:root {
    --full-size: 1920px;
    --full-minisize: 1200px;
    --fit-height: 1080px;
    --bg_santa_main: #C00000;
    --santa_main: #4D3809;
    --santa_2main: #21AB99;
}


body {
    display: flex;
    max-width: 1920px;
    margin: 0px;
    font-family: "Noto Sans Thai", serif;
    background-color: rgb(255 255 255);
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
    align-items: center;
}

button {
    font-family: "Noto Sans Thai", serif;
}

#banner {
    position: relative;
    width: var(--full-size);
    height: 400px;
    overflow: hidden;
}

.banner-background img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    filter: brightness(0.7);
}


.context_banner {
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}

.context_banner h1 {
    font-size: 48px;
    font-weight: bold;
    margin: 0;
}

.context_banner p {
    font-size: 22px;
    margin-top: 10px;
}

#section1 {
    width: var(--full-size);
    height: 500px;
    position: relative;
    background-color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner_wrapper {
    position: absolute;
    bottom: 0;
    width: var(--full-size);
    height: 500px;
    z-index: 0;
    pointer-events: none;
}

.banner_sec1 {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.con_link {
    display: flex;
    justify-content: flex-start;
    width: var(--full-minisize);
}
.con_link a {
    text-decoration: none;
}

.text_con_link {
    color: #BABABA;
    font-weight: 600;
}

.text_con_link_active {
    color: var(--bg_santa_main);
    font-weight: 600;
}

.header_sec1 {
    color: #000;
    font-weight: bold;
    font-size: 38px;
}

.header_sec1 span {
    color: var(--bg_santa_main);
    font-weight: bold;
}

.row_sec1 {
    width: var(--full-minisize);
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 1rem;
    align-items: center;
}

.col1_sec1 {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.col1_sec1 p {
    color: #000;
    font-size: 16px;
    text-align: start;
}

.col1_sec1 span {
    color: var(--bg_santa_main);
    font-size: 26px;
    font-weight: 600;
}

.col1_sec1 br {
    margin: 20px;
}

.col2_sec1 {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#section2 {
    width: var(--full-minisize);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;

}

.header_sec2 {
    color: #000;
    font-weight: bold;
    font-size: 32px;
    text-align: center;
}

.header_sec2 span {
    color: var(--bg_santa_main);
}

.row_sec2 {
    width: var(--full-minisize);
    display: flex;
    justify-content: space-evenly;
}

.con_sec2_1 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon_row_sec2 {
    width: 150px;
}

.line_sec2 {
    background-color: #BABABA;
    width: 90%;
    height: 2px;
}

.row_sec2_1 {
    margin: 20px 0px;
    width: var(--full-minisize);
    display: flex;
    justify-content: center;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
}

.compare-table th,
.compare-table td {
    border: 1px solid #ddd;
    padding: 15px;
    font-size: 16px;
    vertical-align: top;
}

.compare-table th {
    background-color: #f8f8f8;
    font-weight: bold;
    text-align: center;
}

.compare-table td {
    text-align: center;
    color: #5f5f5f;
    font-weight: 600;
}

.compare-table td.head_row {
    font-weight: bold;
    color: #000;
    background-color: #f9f9f9;
    text-align: left;
    width: 25%;
}

.compare-table .highlight-column {
    color: var(--bg_santa_main);
}

.compare-table img {
    width: 30px;
    height: 30px;
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

#section3 {
    width: var(--full-minisize);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.header_sec3 {
    color: #000;
    font-weight: bold;
    font-size: 32px;
    text-align: center;
}

.header_sec3 span {
    color: var(--bg_santa_main);
}

.header_sec3_1 {
    color: #000;
    font-weight: bold;
    font-size: 26px;
    text-align: start;
}

.header_sec3_1 span {
    color: var(--bg_santa_main);
}

.row_sec3 {
    width: var(--full-minisize);
    gap: 1rem;
    height: 300px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.col1_sec3 {
    width: 35%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.col1_sec3 img {
    width: 100%;
}

.col2_sec3 {
    width: 65%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.col2_sec3 p {
    width: 90%;
}

.col2_sec3_button {
    display: flex;
    flex-direction: row;
    gap: 1rem;

}

.button_readmore_col2_sec3 {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 10px;
    background-color: #C00000;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
    width: 160px;
    height: 40px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.button_readmore_col2_sec3 span {
    text-align: center;
}

.button_readmore_col2_sec3:hover {
    background-color: #a00000;
}

.button_readmore {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 25px;
    background-color: #C00000;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
    width: 190px;
    display: flex;
    justify-content: center;
}

.button_readmore:hover {
    background-color: #a00000;
}

#section4 {
    background-color: #EDEDED;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.row_sec4 {
    width: var(--full-minisize);
    display: flex;
    justify-content: space-evenly;
    background-color: #fff;
    border-radius: 20px;
    align-items: center;
    margin: 20px 0px;
}

.row_sec4_1 {
    display: flex;
    border-radius: 20px;
    align-items: center;
    margin: 20px 0px;
    justify-content: center;
}

.button_readmore_sec4 {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 16px;
    background-color: var(--santa_2main);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
    width: 320px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: #ffffff00;
    font-family: "Noto Sans Thai", serif;
    cursor: pointer;
}

.button_readmore_sec4:hover {
    background-color: #a00000;
}

.text_sec4 {
    color: var(--santa_2main);
    font-size: 20px;
    font-weight: 600;
}

.form-container {
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.custom-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 20px;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    font-family: "Noto Sans Thai", sans-serif;
}

.custom-form h3 {
    font-size: 20px;
    color: #c40000;
    font-weight: bold;
    margin-bottom: 20px;
}

.custom-form label {
    display: block;
    margin-top: 15px;
    font-weight: 500;
    font-size: 15px;
}

.custom-form label span {
    color: #c40000;
}


.custom-form input[type="text"],
.custom-form input[type="email"],
.custom-form textarea,
.custom-form input[type="date"] {
    width: 90%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin-top: 5px;
    font-size: 14px;
    cursor: pointer;
}

.custom-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin-top: 5px;
    font-size: 14px;
    cursor: pointer;
}

.custom-form textarea {
    height: 80px;
    resize: none;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.row-2,
.row-3 {
    display: flex;
    gap: 1rem;
    margin-top: 15px;
}

.row-3>div {
    flex: 1;
}

.contact-header {
    margin-top: 30px;
    font-size: 16px;
    font-weight: bold;
    color: #00a39d;
}

.submit-button {
    background-color: #c40000;
    color: #fff;
    font-weight: bold;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    margin-top: 25px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
}

.submit-button:hover {
    background-color: #a00000;
}

#section5 {
    width: var(--full-minisize);
    margin: 40px 0px;
}


@media (min-width:1101px) and (max-width: 1919px) {

    #banner,
    #section1,
    #section2,
    #section3,
    .banner_wrapper,
    #section4,
    #section5 {
        width: 100%;
    }

    #banner {
        height: auto;
    }

    .row_sec1,
    .row_sec3,
    .row_sec4 {
        width: 90%;
    }

    .con_link {
        width: 90%;
    }
}

@media (max-width:1100px) {

    #section1,
    #section2,
    #section3,
    .banner_wrapper,
    #section4,
    #section5 {
        width: 100%;
    }

    #section1 {
        height: 480px;
    }

    .context_banner h1 {
        font-size: 20px;
    }

    .context_banner p {
        font-size: 14px;
    }

    #banner {
        width: 100%;
        height: auto;
    }


    .context_banner {
        top: 65%;
    }

    .banner-background img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .con_link {
        width: 90%;
    }

    .con_link p {
        font-size: 14px;
    }

    .header_sec1 {
        width: 90%;
        font-size: 19px;
    }

    .row_sec1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .col1_sec1 {
        width: 90%;
    }

    .col1_sec1 p {
        font-size: 14px;
    }

    .col1_sec1 span {
        font-size: 17px;
    }

    .header_sec2 {
        font-size: 19px;
    }

    .row_sec2 {
        width: 90%;
    }

    .icon_row_sec2 {
        width: 80px;
    }

    .row_sec2_1 {
        width: 100%;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
        width: 90%;
    }

    .accordion-container {
        width: 90%;
        max-width: 500px;
        margin: auto;
    }

    .program-item {
        border: 1px solid #ccc;
        border-radius: 8px;
        margin-bottom: 15px;
        overflow: hidden;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
        background-color: #fff;
    }

    .program-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #f7f7f7;
        padding: 15px 20px;
        cursor: pointer;
    }

    .program-header h2 {
        font-size: 16px;
        margin: 0;
        color: #000;
        font-weight: bold;
    }

    .toggle-icon {
        font-size: 20px;
        transition: transform 0.3s ease;
        font-weight: bold;
    }

    .program-item.active .toggle-icon {
        transform: rotate(45deg);
    }

    .program-details {
        display: none;
        padding: 15px;
    }

    .program-item.active .program-details {
        display: block;
    }

    /* กล่อง 2 คอลัมน์ */
    .two-column {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .box {
        flex: 1;
        min-width: 45%;
        background: #f9f9f9;
        border-radius: 8px;
        padding: 15px;
        box-sizing: border-box;
        border: 1px solid #ddd;
    }

    .box-title {
        font-weight: bold;
        margin-bottom: 10px;
        color: #000;

    }

    .box-title.red {
        color: #c40000;
    }

    .box-content {
        font-size: 14px;
        color: #333;
        display: flex;
        justify-content: center;
    }

    .header_sec3 {
        font-size: 20px;
    }

    .row_sec3 {
        width: 90%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .col1_sec3 {
        width: 100%;
        height: 200px;
    }

    .col2_sec3 {
        width: 100%;
        align-items: center;
        margin-bottom: 30px;
    }

    .header_sec3_1 {
        font-size: 20px;
    }

    .col2_sec3_button {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        align-items: center;
        justify-content: center;
        width: 95%;
    }

    .button_readmore_col2_sec3 {
        width: 170px;
        height: 40px;
        font-size: 11px;
        padding: 10px 10px;
    }

    .button_readmore {
        font-size: 14px;
        padding: 10px 10px;
    }

    .row_sec4 {
        display: flex;
        width: 90%;
        flex-direction: column;
        align-items: center;
        height: 140px;
        justify-content: center;
    }

    .text_sec4 {
        font-size: 16px;
    }

    .button_readmore_sec4 {
        width: 250px;
        height: 40px;
        font-size: 14px;
        padding: 10px 10px;
    }

    .form-container {
        width: 90%;
    }

    .custom-form {
        padding: 20px;
    }

    .row-2,
    .row-3 {
        display: flex;
        gap: 0rem;
        margin-top: 15px;
        flex-direction: column;
    }

    .submit-button {
        font-size: 12px;
    }

    .custom-form label {
        font-size: 13px;
    }

    .custom-form h3 {
        font-size: 18px;
    }

    .col2_sec1 {
        width: 90%;
    }

    .col2_sec1 img {
        width: 100%;
    }

    .checkbox-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    padding: 10px 15px;
    border-radius: 5px;
    margin-top: 15px;
}