﻿/* Reset Styles */

* {
    margin: 0;
    padding: 0;
    font-family: 'Inter', "Noto Color Emoji";
    font-weight: 800;
}

#logo-top {
    padding: 0 !important;
}

.menu-a {
    display: flex;
    align-items: center;
    /* gap: 20px;            
    height: 60px;          ความสูงของแถบเมนู ปรับเองได้ */
}

    .menu-a a {
        display: flex;
        align-items: center;
        height: 100%;
    }


/* Global Styles */
.for-read {
    font-family: Roboto !important;
}

body {
    font-family: 'Inter', "Noto Color Emoji";
    font-weight: 800;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0 !important;
    background: #2f2f2f;
    /*box-sizing: border-box;*/ /* มีอยู่แล้วใน * selector */
}

h2 {
    margin-bottom: 50px !important;
}

h5 {
    font-family: 'Inter', "Noto Color Emoji";
    font-weight: 800;
}

p {
    font-family: 'Inter', "Noto Color Emoji";
}

/* Fonts */

@font-face {
    font-family: 'Monoton';
    src: url('../App_Themes/fonts/Monoton/Monoton-Regular.ttf') format('truetype');
    unicode-range: U+0000-00FF; /* Latin characters */
}



/* Inter Extra Bold loaded via Google Fonts CDN */

@font-face {
    font-family: 'Roboto';
    src: url('../App_Themes/fonts/Roboto/Roboto-Medium.ttf') format('truetype');
    unicode-range: U+0000-00FF; /* Latin characters */
}


@font-face {
    font-family: 'ThaiFont';
    /*src: url('ThaiFont.woff2') format('woff2');*/
    unicode-range: U+0E00-0E7F; /* Thai characters */
}

.neon-text {
    font-family: 'Inter', "Noto Color Emoji";
    font-weight: 800;
}

.default-text {
    font-family: 'Inter';
    font-weight: unset;
}

/* Header */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    font-size: 2em;
    color: #39ff14;
    text-shadow: 0 0 10px #39ff14;
}

    .logo span {
        color: #ff00ff;
        text-shadow: 0 0 10px #ff00ff;
    }

.nav a {
    color: #fff;
    margin-left: 30px;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s ease;
}

    .nav a:hover {
        color: #39ff14;
        text-shadow: 0 0 10px #39ff14;
    }

/* Menu */
.menu {
    background-color: #231F20; /* #111; */
    padding: 0 50px 0;
    position: sticky;
    top: 0;
    z-index: 9999;
}

    .menu a {
        color: white;
        padding: 14px 20px;
        text-decoration: none;
        text-transform: uppercase;
        margin: 0 auto;
        font-size: 24px;
        position: relative;
        transition: color 0.3s ease, box-shadow 0.3s ease, text-shadow 0.3s ease;
        text-shadow: 0 0 6px rgba(57, 255, 20, 0.4), 0 0 12px rgba(57, 255, 20, 0.8), 0 0 18px rgba(57, 255, 20, 0.6);
    }

        .menu a::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -5px;
            width: 100%;
            height: 2px;
            background-color: white;
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.3s ease;
        }

        .menu a:hover {
            color: rgba(57, 255, 20, 1);
            text-shadow: 0 0 12px rgba(57, 255, 20, 0.4), 0 0 24px rgba(57, 255, 20, 0.8), 0 0 36px rgba(57, 255, 20, 0.6);
        }

.menu-a {
    display: flex;
}

.menu-b {
    display: none; /* ซ่อนในหน้าจอปกติ */
}

/* สไตล์สำหรับมือถือ */
@media (max-width: 768px) {
    .menu-a {
        display: none !important; /* ซ่อนเมนูหลัก */
    }

    .menu-b {
        display: block !important; /* แสดงเมนู-b */
        position: relative;
        background-color: #231F20;
        padding: 2px 10px;
    }

        .menu-b .menu-icon {
            display: block;
            font-size: 32px;
            font-weight: bold;
            color: white;
            cursor: pointer;
            text-align: left;
            color: rgba(57, 255, 20, 0.8);
            text-shadow: 0 0 16px rgba(57, 255, 20, 0.8);
            transition: color 0.3s ease, text-shadow 0.3s ease;
            padding: 0 0 3px;
        }

        .menu-b .menu-links {
            display: none;
            flex-direction: column;
            background-color: #231F20;
            position: absolute;
            top: 50px;
            right: 0;
            width: 100%;
            z-index: 9998;
        }

            .menu-b .menu-links div {
                width: 100%;
            }

            .menu-b .menu-links a {
                display: block;
                color: white;
                padding: 10px;
                text-decoration: none;
                line-height: 24px;
                text-align: center;
                border-top: 1px solid #444;
                color: rgba(57, 255, 20, 0.8);
                text-shadow: 0 0 16px rgba(57, 255, 20, 0.8);
                transition: color 0.3s ease, text-shadow 0.3s ease;
            }

                .menu-b .menu-links a:hover {
                    text-shadow: 0 0 12px rgba(57, 255, 20, 0.4), 0 0 24px rgba(57, 255, 20, 0.8), 0 0 36px rgba(57, 255, 20, 0.6);
                }
            /* สไตล์เมื่อเมนูถูกเปิด */
            .menu-b .menu-links.active {
                display: flex;
            }
}

.xmenu a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu-a {
    display: flex;
}

.menu-b {
    display: none;
}

/* About Us */
#about-us {
    padding: 0 0 50px;
}

    #about-us.text-desc p {
        font-family: 'Roboto' !important;
        font-size: 1.2em;
        color: #fff;
        line-height: 1.6;
        margin-bottom: 20px;
        text-align: justify;
        padding: 0 15%;
        text-shadow: 0 0 20px rgba(57,255,20,0.8);
        transition: width 0.5s ease;
    }

    #about-us .m-div p, #about-us .m-div h3 {
        text-align: center;
    }



@media (max-width: 768px) {
    #about-us.text-desc p {
        padding: 0 10%;
    }
}

/* Event Description */

.event-description {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 50px;
    background: linear-gradient(135deg, #2f2f2f 0%, #555555 100%);
}

    .event-description .section-title {
        font-size: 3em !important;
    }

    .event-description .event-details p {
        padding: 10px 20px;
    }

.event-date, .event-location {
    font-size: 1.2em;
    margin-bottom: 10px;
}
/*
    .event-description .event-details {
        padding: 0 !important; 
    }
*/
/* Event Image */

.event-image {
    flex: 1;
    text-align: center;
    max-width: 420px;
    margin-right: 20px;
}

    .event-image img {
        width: 100%;
        height: auto;
        border: 5px solid #39ff14;
        box-shadow: 0 0 20px #39ff14;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .event-image img:hover {
            transform: scale(1.05);
            box-shadow: 0 0 30px #39ff14, 0 0 60px #39ff14;
        }

/* Event Details */

.event-details {
    flex: 2;
    padding: 20px;
}

.event-details-text {
    color: #fff;
}

.event-title {
    margin-top: 5px;
    font-size: 2.5vw;
    color: rgba(255, 0, 127, 1);
    transition: color 0.3s ease, text-shadow 0.3s ease;
    font-family: 'Monoton', "Noto Color Emoji";
    font-weight: 100;
    text-shadow: 0 0 10px rgba(255, 0, 127, 0.8), 0 0 20px rgba(255, 0, 127, 1), 0 0 30px rgba(255, 0, 127, 0.9);
}

.event-date,
.event-location {
    font-size: 1.2em;
    margin-bottom: 10px;
}

    .event-date i,
    .event-location i {
        margin-right: 10px;
        color: #39ff14;
    }

.event-info {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.event-actions .btn {
    display: inline-block;
    padding: 15px 30px;
    margin-right: 20px;
    font-size: 1em;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Inter', "Noto Color Emoji";
}

.event-actions .btn-neon, .event-actions .btn-neon2 {
    margin: 0 5px; /* ความแตกต่าง: โค้ดแรกกำหนด margin ที่นี่ */
}

/* Buttons */

.btn-neon {
    font-family: 'Inter', "Noto Color Emoji";
    padding: 10px 20px;
    opacity: 1;
    display: inline-block;
    margin-top: 10px;
    background-color: #777;
    color: #fff;
    text-transform: uppercase;
    font-size: 1em;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
}

    .btn-neon:hover,
    .event-item:hover .btn-neon,
    .btn-neon {
        box-shadow: 0 0 15px rgba(255, 0, 127, 0.6), 0 0 30px rgba(255, 0, 127, 0.4), 0 0 45px rgba(255, 0, 127, 0.2);
        background: #ff007f;
        opacity: 1;
        transform: translateX(0%) translateY(0);
    }

        .btn-neon::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: 8px;
            box-shadow: 0 0 15px rgba(255, 0, 127, 0.6), 0 0 30px rgba(255, 0, 127, 0.4), 0 0 45px rgba(255, 0, 127, 0.2);
            transition: opacity 0.3s ease;
            opacity: 0;
        }

        .btn-neon:hover::before {
            opacity: 1;
        }

.btn-neon2 {
    font-family: 'Inter', "Noto Color Emoji";
    padding: 10px 20px;
    opacity: 1;
    display: inline-block;
    margin-top: 10px;
    background-color: #777;
    color: #fff;
    text-transform: uppercase;
    font-size: 1em;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
}

    .btn-neon2:hover {
        box-shadow: 0 0 10px rgba(57, 255, 20, 0.5), 0 0 20px rgba(57, 255, 20, 0.8), 0 0 30px rgba(57, 255, 20, 0.6);
        color: #2f2f2f;
        background: rgba(57, 255, 20, 1);
        opacity: 1;
        transform: translateX(0%) translateY(0);
    }

.btn-neon3 {
    font-family: 'Inter', "Noto Color Emoji";
    padding: 10px 20px;
    opacity: 1;
    display: inline-block;
    margin-top: 10px;
    text-transform: uppercase;
    font-size: 1em;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
    box-shadow: 0 0 5px rgba(57, 255, 20, 0.6), 0 0 10px rgba(57, 255, 20, 0.4), 0 0 15px rgba(57, 255, 20, 0.2);
    background: rgba(57, 255, 20, 1);
    color: #2f2f2f;
    transform: translateX(0%) translateY(0);
}

    .btn-neon3:hover {
        box-shadow: 0 0 15px rgba(57, 255, 20, 0.6), 0 0 30px rgba(57, 255, 20, 0.4), 0 0 45px rgba(57, 255, 20, 0.2);
        background: rgba(57, 255, 20, 1);
        color: #2f2f2f;
        opacity: 1;
        transform: translateX(0%) translateY(0);
    }

.neon-btn:hover {
    box-shadow: 0 0 20px #39ff14, 0 0 30px #39ff14;
}

.outline-btn {
    background: transparent;
    color: #fff;
    border: 2px solid #ff00ff;
    box-shadow: 0 0 10px #ff00ff;
}

    .outline-btn:hover {
        background: #ff00ff;
        color: #000;
        box-shadow: 0 0 20px #ff00ff, 0 0 30px #ff00ff;
    }

/* Event Grid and Items */

.event-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 350px));
    grid-auto-rows: minmax(100px, auto);
    gap: 20px;
    justify-content: center;
}

.event-item {
    text-align: center;
    padding: 0 0 25px;
    background-color: #231F20;
    border-radius: 8px;
    position: relative;
    opacity: 1;
    margin-bottom: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 284px;
    overflow: hidden;
}

    .event-item:hover {
        cursor: pointer;
        transform: translateY(-10px);
        box-shadow: 0 8px 20px rgba(0, 191, 255, 0.5), 0 0 15px rgba(0, 191, 255, 0.5);
        z-index: 9997;
        transition: transform 0.5s ease, box-shadow 0.3s ease;
        transform: scale(1.01);
    }

    .event-item h3 {
        margin-top: 0;
    }

    .event-item h5 {
        margin-top: 5px;
        /*font-size: 2.5vw;*/
        font-size: 36px;
        min-height: 120px;
        color: #fff;
        text-shadow: 0 0 16px rgba(57, 255, 20, 0.8);
        transition: color 0.3s ease, text-shadow 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .event-item:hover h5 {
        color: #39ff14;
        text-shadow: 0 0 8px rgba(57, 255, 20, 0.8), 0 0 16px rgba(57, 255, 20, 0.6), 0 0 24px rgba(57, 255, 20, 0.4);
    }

    .event-item i {
        margin-right: 8px;
        color: #fff;
        text-shadow: 0 0 8px rgba(255, 0, 127, 0.4), 0 0 30px rgba(255, 0, 127, 0.4), 0 0 45px rgba(255, 0, 127, 0.2);
    }

    .event-item:hover i {
        color: #ff007f;
        text-shadow: 0 0 16px rgba(255, 0, 127, 0.8), 0 0 30px rgba(255, 0, 127, 0.4), 0 0 45px rgba(255, 0, 127, 0.2);
    }

    .event-item p {
        margin: 5px 0;
        font-size: 1em;
        color: #fff;
        text-shadow: 0 0 16px rgba(255, 0, 127, 0.8);
    }

    .event-item:hover p {
        color: #ff007f;
        text-shadow: 0 0 15px rgba(255, 0, 127, 0.6), 0 0 30px rgba(255, 0, 127, 0.4), 0 0 45px rgba(255, 0, 127, 0.2);
    }

    .event-item::before {
        content: '';
        position: absolute;
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        border-radius: 12px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .event-item:hover::before {
        opacity: 1;
    }

    .event-item:hover .btn-neon {
        box-shadow: 0 0 15px rgba(255, 0, 127, 0.6), 0 0 30px rgba(255, 0, 127, 0.4), 0 0 45px rgba(255, 0, 127, 0.2);
        transition: opacity 0.3s ease;
        background: #ff007f;
    }

#related {
    margin-top: 20px;
}

    #related .event-item {
        width: 100% !important;
    }

    #related .owl-stage-outer {
        padding-top: 30px;
    }

/* Responsive Images */

.img-responsive {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.event-item:hover .img-responsive {
    transform: scale(1.05) rotate(0.0001deg);
    transition: transform 0.5s ease 0s;
}

/* Events Section */

.events,
.events-title {
    padding: 20px 50px 30px;
    text-align: center;
    background: #2f2f2f;
}

.events {
    padding-top: 0;
}

.related-events {
    padding: 50px;
    text-align: center;
    background: linear-gradient(135deg, #2f2f2f 0%, #555555 100%);
}

/* Filter Buttons */

.filter-buttons {
    text-align: center;
    padding: 20px 0;
    background: #2f2f2f;
}

    .filter-buttons button {
        padding: 10px 20px;
        background-color: #777;
        color: white;
        border: none;
        cursor: pointer;
        margin: 0 10px;
        font-size: 1em;
        border-radius: 5px;
        text-transform: uppercase;
        transition: box-shadow 0.3s ease, text-shadow 0.3s ease;
    }

        .filter-buttons button:hover, .filter-buttons button.active {
            box-shadow: 0 0 15px rgba(0, 191, 255, 0.8), 0 0 30px rgba(0, 191, 255, 0.6), 0 0 45px rgba(0, 191, 255, 0.4);
            text-shadow: 0 0 8px rgba(0, 191, 255, 0.8), 0 0 16px rgba(0, 191, 255, 0.6), 0 0 24px rgba(0, 191, 255, 0.4);
            color: #fff;
            background-color: #00bfff;
        }

/* Footer */

.footer {
    text-align: center;
    padding: 20px;
    background-color: #231F20;
    color: white;
}

    .footer p {
        margin-bottom: 10px;
        margin: 10px 0;
        font-size: 1.1em;
    }

    .footer a {
        color: #ffffff;
        margin: 0 10px;
        text-decoration: none;
    }

        .footer a:hover {
            text-decoration: underline;
        }

/* Social Icons */

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

    .social-icons a {
        color: #fff;
        margin: 0 10px;
        font-size: 1.5em;
        transition: color 0.3s ease, text-shadow 0.3s ease;
        display: inline-block;
    }

        .social-icons a:hover {
            color: #39ff14;
            text-shadow: 0 0 10px #39ff14;
        }

    .social-icons img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        transition: transform 0.3s ease;
    }

        .social-icons img:hover {
            transform: scale(1.2);
        }

/* Hero Banner */

#HeroBanner {
}

.hero-banner {
    position: relative;
    width: 100%;
}

    .hero-banner .item {
        position: relative;
        text-align: center;
    }

    .hero-banner h1 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        font-size: 3em;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    }

    .hero-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Isotope Hidden */

.isotope-hidden {
    opacity: 0;
    transform: scale(0.5);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animations */

@keyframes discoLight {
    0% {
        background-color: #ff0057;
        box-shadow: 0 0 30px #ff0057, 0 0 60px #ff0057, 0 0 100px #ff0057;
    }

    25% {
        background-color: #ffcc00;
        box-shadow: 0 0 30px #ffcc00, 0 0 60px #ffcc00, 0 0 100px #ffcc00;
    }

    50% {
        background-color: #00ff88;
        box-shadow: 0 0 30px #00ff88, 0 0 60px #00ff88, 0 0 100px #00ff88;
    }

    75% {
        background-color: #00aaff;
        box-shadow: 0 0 30px #00aaff, 0 0 60px #00aaff, 0 0 100px #00aaff;
    }

    100% {
        background-color: #ff0057;
        box-shadow: 0 0 30px #ff0057, 0 0 60px #ff0057, 0 0 100px #ff0057;
    }
}

@keyframes discoTextShadow {
    0% {
        color: #ff0057;
        text-shadow: 0 0 30px #000, 0 0 60px #000, 0 0 100px #000;
    }

    25% {
        color: #ffcc00;
        text-shadow: 0 0 30px #000, 0 0 60px #000, 0 0 100px #000;
    }

    50% {
        color: #00ff88;
        text-shadow: 0 0 30px #000, 0 0 60px #000, 0 0 100px #000;
    }

    75% {
        color: #00aaff;
        text-shadow: 0 0 30px #000, 0 0 60px #000, 0 0 100px #000;
    }

    100% {
        color: #ff0057;
        text-shadow: 0 0 30px #000, 0 0 60px #000, 0 0 100px #000;
    }
}

/* Highlights and Section Titles */

.hilight {
    animation: discoTextShadow 1s infinite;
    font-family: 'Monoton', "Noto Color Emoji";
    font-weight: unset;
    display: none;
}

.section-title {
    font-family: 'Inter', "Noto Color Emoji";
    font-weight: 800;
    font-size: 3em;
    color: #fff;
    text-align: center;
    position: relative;
    padding: 40px 0 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5), 0 0 20px rgba(57, 255, 20, 0.8), 0 0 30px rgba(57, 255, 20, 0.6);
    transition: text-shadow 0.5s ease;
    display: inline;
}

    .section-title::before {
        content: '';
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: -10px;
        width: 100px;
        height: 4px;
        background-color: rgba(57, 255, 20, 1);
        box-shadow: 0 0 20px rgba(57, 255, 20, 0.8);
        transition: width 0.5s ease;
    }

    .section-title:hover::before {
        width: 100%;
    }

    .section-title:hover {
        color: rgba(57, 255, 20, 1);
        text-shadow: 0 0 10px rgba(57, 255, 20, 0.8), 0 0 20px rgba(57, 255, 20, 1), 0 0 30px rgba(57, 255, 20, 0.9);
    }

/* Owl Carousel */

.owl-dot {
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px #231F20;
    solid !important;
    background-color: #231F20;
    !important;
}

    .owl-dot.active {
        background-color: #ffcc00 !important;
    }

    .owl-dot:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

.owl-dots {
    text-align: center;
    position: absolute;
    bottom: 15px;
    width: 100%;
}

.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

    .owl-nav .owl-next {
        position: absolute;
        right: 10px;
    }

    .owl-nav .owl-prev {
        position: absolute;
        left: 10px;
    }

    .owl-nav .owl-prev,
    .owl-nav .owl-next {
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        border: none;
        padding: 10px 20px;
        cursor: pointer;
    }

    .owl-nav button:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

.owl-prev,
.owl-next {
    display: block;
    z-index: 9999;
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    font-size: 96px !important;
    width: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Media Queries */

/* For large screens */

@media (min-width: 1101px) {
    .event-item {
        width: calc(33.33% - 20px) !important;
    }
}

/* For medium screens */

@media (max-width: 1100px) and (min-width: 768px) {
    .event-item {
        width: calc(33.33% - 30px) !important;
    }
}

/* For small screens */

@media (max-width: 1024px) {
    .event-grid {
        grid-template-columns: repeat(2, minmax(0, 350px));
    }

    .event-description {
        flex-direction: column;
    }

    .event-image,
    .event-details {
        flex: unset;
        width: 100%;
    }

    .event-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .event-grid {
        grid-template-columns: 1fr;
    }

    .event-item {
        width: calc(100% - 0px) !important;
    }

    .logo {
        font-size: 1.5em;
    }

    .nav a {
        font-size: 0.9em;
        margin-left: 15px;
    }

    .event-title {
        font-size: 2em;
    }

    .event-actions .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .filter-buttons button {
        clear: both !important;
        float: none !important;
        display: block !important;
        margin: 10px auto !important;
    }

    .menu-a {
        display: none !important;
    }

    .menu-b {
        display: block !important;
    }

        .menu-b div {
            display: block;
            clear: both;
            float: none;
            width: 100%;
            text-align: center;
            margin: 0;
        }

    .btn-neon3 {
        display: block !important;
        margin: 0 auto 15px !important;
        text-align: center;
    }
}

@media (max-width: 767px) {
    #calendar .fc-daygrid-day a {
        margin: 0 !important;
    }

    .fc-scrollgrid tr,
    .fc-scrollgrid td,
    .neon-border {
        font-size: 1em !important;
    }

    div.fc-view-harness {
        height: 380px !important;
    }

    #calendar th a {
        font-size: 10px !important;
    }

    .fc-toolbar-chunk {
        padding: 0 !important;
        width: 100%;
    }

    .fc-today-button {
        float: right !important;
    }

    .event-actions .btn-neon, .event-actions .btn-neon2 {
        margin: 0 auto 15px !important;
        display: block;
        text-align: center;
    }
}


/* X-Social Icon */
.x-social-icons a {
    display: block;
    margin: 5px 0;
    color: #fff;
    text-shadow: 0 0 16px rgba(57, 255, 20, 0.8);
    transition: color 0.3s ease, text-shadow 0.3s ease;
    font-size: 24px; /* กำหนดขนาดของไอคอน */
}

    .x-social-icons a:hover {
        color: #39ff14;
        text-shadow: 0 0 8px rgba(57, 255, 20, 0.8), 0 0 16px rgba(57, 255, 20, 0.6), 0 0 24px rgba(57, 255, 20, 0.4);
    }

.x-social-icons {
    position: fixed;
    /*top: 50%;*/
    bottom: 0;
    right: 0;
    transform: translateY(-50%);
    background-color: #000; /* พื้นหลังสีขาวโปร่งแสง */
    padding: 10px;
    border-radius: 10px 0 0 10px; /* มุมโค้งด้านซ้าย */
    z-index: 1000; /* เพื่อให้อยู่เหนือองค์ประกอบอื่น */
}

    .x-social-icons p {
        margin: 0;
        padding: 0;
        font-size: 14px;
        text-align: center;
    }

    .x-social-icons a {
        display: block;
        margin: 5px 0;
    }

    .x-social-icons img {
        width: 30px;
        height: 30px;
    }

@media (max-width: 600px) {
    .x-social-icons p {
        display: none;
    }
}

/* About Page */

/* Styling for the management section */
.management-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 0 0 50px;
}

/* Card styling for each executive */
.executive-card {
    text-align: center;
    max-width: 250px;
    max-height: 250px;
    padding: 20px;
    border-radius: 12px;
    /*
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
            */
}

    .executive-card img {
        width: 100%; /* ทำให้ความกว้างเต็มพื้นที่ */
        object-fit: cover; /* ครอปรูปให้อยู่ในสัดส่วนที่กำหนด */
        border-radius: 12px; /* สามารถใช้ border-radius ปรับความโค้ง */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    /* Executive name and title */
    .executive-card h3 {
        font-family: 'Inter', sans-serif, "Noto Color Emoji";
        margin-top: 15px;
        font-size: 1.5em;
        color: #333;
    }

    .executive-card p {
        font-size: 1em;
        color: #777;
        margin-top: 5px;
    }

    /* Hover effect */
    .executive-card:hover {
        /*
            transform: translateY(-10px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
                */
    }

        .executive-card:hover div {
            transform: scale(1.1); /* ขยายเล็กน้อยเมื่อ hover */
            box-shadow: 0 0 7px rgba(57,255,20,0.4), 0 0 15px rgba(57,255,20,8), 0 0 20px rgba(57,255,20,0.6);
        }

    .executive-card #ceo1 {
        width: 250px; /* กำหนดความกว้างของการ์ด */
        height: 250px; /* กำหนดความสูงให้เท่ากับความกว้างเพื่อให้เป็นจตุรัส */
        background-image: url('/App_Themes/img/ceo.jpg');
        background-size: cover; /* ครอปภาพให้อยู่ในขนาดที่กำหนด */
        background-position: center; /* ครอปตรงกลางภาพ */
        background-repeat: no-repeat; /* ไม่ให้ภาพซ้ำ */
        border-radius: 125px; /* ปรับความโค้งของขอบถ้าต้องการ */
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
    }

.m-div {
    width: 100%;
}

.executive-card {
    display: block;
    margin: 20px auto;
}

.text-desc h3 {
    font-size: 1.5em;
    text-align: center;
    color: rgba(57,255,20,1);
    text-shadow: 0 0 10px rgba(57,255,20,0.8), 0 0 20px rgba(57,255,20,1), 0 0 30px rgba(57,255,20,0.9);
}

.text-desc p.ex-name {
    text-align: center;
    font-style: italic;
}

/* Gallery */

.section-gallery {
    max-width: 1200px;
    display: block;
    overflow: hidden;
    margin: 0 auto;
}


.gallery {
    position: relative;
    margin: 0 auto;
}

.gallery-sizer,
.gallery-item {
    width: calc(33.333% - 10px); /* ปรับตามต้องการ */
}

.gallery-item {
    margin-bottom: 10px;
}


    .gallery-item img {
        width: 100%;
        height: auto;
        display: block;
        opacity: 0.8;
        cursor: pointer;
    }

        .gallery-item img:hover {
            /*box-shadow: 0 0 20px rgba(57,255,20,0.8);
                transform: scale(1.1);
            */
            opacity: 1;
        }


div.mfp-figure xfigure {
    display: block;
}

div.mfp-figure x.mfp-img {
    margin: 0 auto;
    display: block;
}

/* Contact */

/* Contact Us Section */
.contact-us {
    padding: 50px;
    text-align: center;
    background: linear-gradient(135deg, #2f2f2f 0%, #555555 100%);
}

form {
    padding: 30px 0;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        font-size: 1.2em;
        margin-bottom: 10px;
        color: #fff;
        text-shadow: 0 0 10px rgba(57, 255, 20, 0.5), 0 0 20px rgba(57, 255, 20, 0.8), 0 0 30px rgba(57, 255, 20, 0.6);
    }

    .form-group span.error {
        display: block;
        font-size: 1.2em;
        margin-bottom: 10px;
        color: #ff007f;
        text-shadow: 0 0 15px rgba(255, 0, 127, 0.6), 0 0 30px rgba(255, 0, 127, 0.4), 0 0 45px rgba(255, 0, 127, 0.2);
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 15px;
        background: #2f2f2f;
        border: 2px solid #39ff14;
        color: #fff;
        font-size: 1em;
        border-radius: 5px;
        outline: none;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #aaa;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            box-shadow: 0 0 10px rgba(57,255,20,0.5), 0 0 20px rgba(57,255,20,0.8), 0 0 30px rgba(57,255,20,0.6);
        }

    .form-group textarea {
        height: 150px;
        resize: vertical;
    }



/* paging home */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

    .pagination a {
        color: white;
        padding: 14px 20px;
        text-decoration: none;
        text-transform: uppercase;
        margin: 0 auto;
        font-size: 18px;
        position: relative;
        transition: color 0.3s ease, box-shadow 0.3s ease, text-shadow 0.3s ease;
        text-shadow: 0 0 6px rgba(57, 255, 20, 0.4), 0 0 12px rgba(57, 255, 20, 0.8), 0 0 18px rgba(57, 255, 20, 0.6);
        border: 2px solid #39ff14;
        border-radius: 30px;
    }


        .pagination a.active, .pagination a:hover {
            color: rgba(57, 255, 20, 1);
            box-shadow: 0 0 12px rgba(57, 255, 20, 0.6), 0 0 24px rgba(57, 255, 20, 0.95), 0 0 36px rgba(57, 255, 20, 0.8);
            background: #39ff14;
            color: #fff;
        }
