﻿




img, .card-wrap, .card-wrapper, .video-wrapper, .mbr-figure iframe, .google-map iframe, .slide-content, .plan, .card, .item-wrapper {
    border-radius: 2rem !important;
}






/*#sec-top-page {
    display: flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    align-items: flex-end;
    min-height: 100vh;
    padding-top: 3rem;
    padding-bottom: 3rem;
} 


.top-overlay {
    opacity: 0.5;
    background-color: rgb(0, 0, 0);
    bottom: 0;
    left: 0;
    opacity: 0.5;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
    pointer-events: none;
}


.top-title {
    text-align: left;
    color: #ffc091;
    font-size: 5rem;
    line-height: 1;
}*/


#module {
    height: 80vh;
}

    #module .swiper {
        width: 100%;
        height: 100%;
    }

        #module .swiper .swiper-slide {
            text-align: center;
            display: flex;
            justify-content: flex-start;
            align-items: flex-end;
            border-radius: 0px !important;
        }

            #module .swiper .swiper-slide .content {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                gap: 1rem;
                margin-bottom: 4rem;
                color: #ffbf34;
                position: relative;
                z-index: 2;
                max-width: 100%;
            }



@media (width > 700px) {
    #module .swiper .swiper-slide .content {
        gap: 2rem;
        margin-left:2em;
    }
}



#module .swiper .swiper-slide .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4) !important;
    z-index: 1;
}


#module .swiper .swiper-slide .content .title {
    font-size: 34px;
    text-transform: none;
    width: 625px;
    max-width: 100%;
    text-align: start;
    margin-left: 1rem;
}

@media (width > 700px) {
    #module .swiper .swiper-slide .content .title {
        font-size: 58px;
    }
}

#module .swiper .swiper-slide .content .description {
    font-size: 18px;
    line-height: 1.4;
    margin-left: 1rem;
    text-align: start;
}

#module .swiper .swiper-slide .content a {
    background-color: var(--swiper-theme-color);
    padding: 11px 20px;
    font-size: 12px;
    background: #fff;
    color: #05141f;
    min-width: 80px;
    font-weight: 600;
    text-decoration: none;
}

@media (width > 700px) {
    #module .swiper .swiper-slide .content a {
        padding: 21px 40px;
        font-size: 14px;
    }
}

#module .swiper .swiper-slide .content a:hover {
    text-decoration: underline;
}

#module .swiper .swiper-slide .img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

    #module .swiper .swiper-slide .img .pixel-transition {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(4, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }


        #module .swiper .swiper-slide .img .pixel-transition div {
            background-color: rgb(255, 255, 255);
        }

            #module .swiper .swiper-slide .img .pixel-transition div:nth-child(1) {
                animation: fade 350ms forwards;
            }

            #module .swiper .swiper-slide .img .pixel-transition div:nth-child(6) {
                animation: fade 350ms 100ms forwards;
            }

            #module .swiper .swiper-slide .img .pixel-transition div:nth-child(11) {
                animation: fade 350ms 150ms forwards;
            }

            #module .swiper .swiper-slide .img .pixel-transition div:nth-child(16) {
                animation: fade 350ms forwards;
            }

            #module .swiper .swiper-slide .img .pixel-transition div:nth-child(2) {
                animation: fade 350ms 250ms forwards;
            }

            #module .swiper .swiper-slide .img .pixel-transition div:nth-child(7) {
                animation: fade 350ms 200ms forwards;
            }

            #module .swiper .swiper-slide .img .pixel-transition div:nth-child(12) {
                animation: fade 350ms 280ms forwards;
            }

            #module .swiper .swiper-slide .img .pixel-transition div:nth-child(17) {
                animation: fade 350ms 200ms forwards;
            }

            #module .swiper .swiper-slide .img .pixel-transition div:nth-child(3) {
                animation: fade 350ms 300ms forwards;
            }

            #module .swiper .swiper-slide .img .pixel-transition div:nth-child(8) {
                animation: fade 350ms 400ms forwards;
            }

            #module .swiper .swiper-slide .img .pixel-transition div:nth-child(13) {
                animation: fade 350ms 450ms forwards;
            }

            #module .swiper .swiper-slide .img .pixel-transition div:nth-child(18) {
                animation: fade 350ms 300ms forwards;
            }

            #module .swiper .swiper-slide .img .pixel-transition div:nth-child(4) {
                animation: fade 350ms 550ms forwards;
            }

            #module .swiper .swiper-slide .img .pixel-transition div:nth-child(9) {
                animation: fade 350ms 530ms forwards;
            }

            #module .swiper .swiper-slide .img .pixel-transition div:nth-child(14) {
                animation: fade 350ms 600ms forwards;
            }

            #module .swiper .swiper-slide .img .pixel-transition div:nth-child(19) {
                animation: fade 350ms 560ms forwards;
            }

            #module .swiper .swiper-slide .img .pixel-transition div:nth-child(5) {
                animation: fade 350ms 700ms forwards;
            }

            #module .swiper .swiper-slide .img .pixel-transition div:nth-child(10) {
                animation: fade 350ms 800ms forwards;
            }

            #module .swiper .swiper-slide .img .pixel-transition div:nth-child(15) {
                animation: fade 350ms 850ms forwards;
            }

            #module .swiper .swiper-slide .img .pixel-transition div:nth-child(20) {
                animation: fade 350ms 700ms forwards;
            }

    #module .swiper .swiper-slide .img img {
        display: block;
        width: 100%;
        height: 100%;
        -o-object-fit: cover;
        object-fit: cover;
        -o-object-position: center;
        object-position: top;
        border-radius: 0px !important;
    }

#module .swiper .swiper-button-next,
#module .swiper .swiper-button-prev {
    overflow: hidden;
    border-radius: 40px;
    width: 40px;
    height: 40px;
    opacity: 0.5;
}

@media (width > 700px) {
    #module .swiper .swiper-button-next,
    #module .swiper .swiper-button-prev {
        border-radius: 84px;
        width: 84px;
        height: 84px;
    }
}

#module .swiper .swiper-button-next::before,
#module .swiper .swiper-button-prev::before {
    content: "";
    background: #05141f;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#module .swiper .swiper-button-next svg,
#module .swiper .swiper-button-prev svg {
    position: relative;
    display: block;
    width: 20px;
}

@media (width > 700px) {
    #module .swiper .swiper-button-next svg,
    #module .swiper .swiper-button-prev svg {
        width: 30px;
    }
}

#module .swiper .swiper-button-next:hover,
#module .swiper .swiper-button-prev:hover {
    opacity: 1;
}

#module .swiper .swiper-button-next::after,
#module .swiper .swiper-button-prev::after {
    display: none;
}

#module .swiper .swiper-button-next {
    right: 2rem;
}

#module .swiper .swiper-button-prev {
    left: 2rem;
}

#module .swiper .swiper-pagination {
    bottom: 1.5rem;
}

    #module .swiper .swiper-pagination .swiper-pagination-bullet {
        border-radius: 0;
        width: 35px;
        height: 4px;
        margin: 0 5px;
        background-color: #fff;
    }

@media (width > 700px) {
    #module .swiper .swiper-pagination .swiper-pagination-bullet {
        width: 45px;
    }
}

#module .swiper .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #fff;
}

@keyframes fade {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}




.desc {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.4rem;
    line-height: 1.3;
} 

    .about-us .title {
        font-size: 1.8rem;
        font-weight: 800;
    }

.about-us-message .btnAbout {
    width: 300px;
    height: 50px;
    color: #fff;
    border: solid 1px transparent;
    border-radius: 0.8em;
    background-color: #E0AF4C;
    background-origin: border-box;
    background-clip: content-box, border-box;
    padding: 1px;
    font-size: larger !important;
}

/*Committee*/
#sec-committee {
    padding-top: 5rem;
    padding-bottom: 5rem;
    /*background-color: transparent;*/
    background: url('/image/background-green.jpg') right;
}


    #sec-committee h1, #sec-committee p {
        font-weight: 600;
        padding: 5px 0px;
        color: #ffbf34;
    }

    #sec-committee h5 {
        color: white;
    }

.carousel-item .active {
    display: flex;
}




#secWhoWeAre {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: #ffffff;
}

    #secWhoWeAre .container {
        padding: 3em;
        box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
        transition: all 0.3s cubic-bezier(.25,.8,.25,1);
        border-radius: 2em;
    }



/*Swing Action*/
#sec-swing-action {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: transparent;
    background: url('/image/background.jpg') right;
}

    #sec-swing-action .container-fluid {
        overflow: hidden;
    }


    #sec-swing-action .grid-container {
        grid-row-gap: 2rem;
    }

    #sec-swing-action .grid-container-3 {
        gap: 0 2rem;
    }

    #sec-swing-action .grid-container {
        display: grid;
        transform: translate3d(-3rem, 0, 0);
        width: 115vw;
        grid-column-gap: 1rem;
    }


    #sec-swing-action .grid-container-3 {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-auto-columns: 1fr;
        grid-auto-flow: column;
    }


    #sec-swing-action .grid-item {
        display: flex;
        justify-content: center;
        align-items: center;
    }

        #sec-swing-action .grid-item img {
            min-width: 30vw;
            max-width: 100%;
            max-height: 100%;
            object-fit: cover;
        }


    #sec-swing-action .btnJoinEnquiry {
        font-size: 1.2rem;
        line-height: 1.5;
        width: 200px;
        height: 50px;
        color: #fff;
        border: solid 1px transparent;
        border-radius: 0.8em;
        /* background-image: linear-gradient(#E0AF4C, #E0AF4C), linear-gradient(0deg, rgba(173, 119, 44, 1) 0%, rgba(245, 160, 60, 1) 20.85%, rgba(249, 193, 75, 1) 32.96%, rgba(244, 234, 184, 1) 45.23%, rgba(245, 160, 60, 1) 67.78%, rgba(173, 119, 44, 1) 84.88%, rgba(250, 195, 90, 1) 99.63%); */
        background-color: #E0AF4C;
        background-origin: border-box;
        background-clip: content-box, border-box;
        padding: 0px;
    }



#sec-sponsors {
    padding-top: 6rem;
    padding-bottom: 6rem;
    background-color: #ffffff;
}


#sect-news {
    padding-top: 6rem;
    padding-bottom: 6rem;
    background-image: url(/image/background-green2.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

    #sect-news .item-wrapper {
        position: relative;
        border-radius: 4px;
        height: 100%;
        display: flex;
        flex-flow: column nowrap;
    }

    /* #sect-news img,
    #sect-news .item-img {
        width: 100%;
        height: 100%;
        height: 400px;
        object-fit: cover;
    }*/

    #sect-news img {
        border-radius: 1rem !important;
    }


    #sect-news .item-title {
        color: #232323;
        height: 60px;
    }



    /*#sect-news p {
        font-style: normal;
        line-height: 1.7;
    }*/

    #sect-news .divbtn {
        margin-left: -0.6rem;
        margin-right: -0.6rem;
    }

    #sect-news .btn:not(.btn-form) {
        border-radius: 100px;
    }




    #sect-news .news-card .dvimg {
        position: relative;
        min-width: 400px;
        height: 400px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    #sect-news .news-card .dvNews {
        position: absolute;
        bottom: 0;
        text-align: left;
        padding: 0.5em;
        color: white;
    }


.full-screen {
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    align-items: center;
    min-height: 100vh;
    padding-top: 3rem;
    padding-bottom: 3rem;
}


#sec-banner {
    background-image: url('/image/home-banner.jpeg');
    overflow: hidden;
}


@media (max-width: 991.98px) {

    #module .swiper .swiper-slide .content .title {
        font-size: 28px;
    }


    #sec-swing-action .card-wrapper {
        padding: 0px !important;
    }


    .sect-news-mobile {
        padding: 2em;
    }

        .sect-news-mobile .section-title {
            font-size: 28px;
            font-weight: bold;
            margin-bottom: 10px;
        }


    .view-all {
        display: inline-block;
        padding: 8px 18px;
        background: #E0AF4C;
        border-radius: 25px;
        color: white;
        text-decoration: none;
        font-weight: bold;
        margin-bottom: 20px;
    }

    .swiper {
        padding-bottom: 50px;
    }

    .swiper-slide {
        /*background: white;*/
        border-radius: 12px;
        overflow: hidden;
        color: #000;
    }

        .swiper-slide img {
            width: 100%;
            object-fit: cover;
        }

    .card-content {
        padding: 10px;
    }



    .date {
        font-size: 13px;
        color: #555;
    }

    /* Customize navigation & pagination */
    .swiper-button-next,
    .swiper-button-prev {
        color: white;
    }

    .swiper-pagination-bullet {
        background: white;
        opacity: 0.6;
    }

    .swiper-pagination-bullet-active {
        background: gold;
        opacity: 1;
    }
}





/* Phones */
@media (max-width: 575.98px) {

    #sec-toppage .my-title {
        font-size: calc(2.4rem + (5 - 2.4) * ((100vw - 20rem) / (48 - 20)));
        line-height: calc(1.1 * (2.4rem + (5 - 2.4) * ((100vw - 20rem) / (48 - 20))));
    }


    .about-us .title {
        font-size: 1.5rem; 
    }

    .desc {
        font-size: 1rem;
    }

    .section-title {
        font-size: 28px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .title {
        font-size: 28px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    #sec-swing-action .grid-item img {
        min-width: 50vw;
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
    }
}

/* Tablets (iPad portrait) */
@media (min-width: 576px) and (max-width: 767.98px) {

    #sec-toppage .my-title {
        font-size: calc(2.4rem + (5 - 2.4) * ((100vw - 20rem) / (48 - 20)));
        line-height: calc(1.1 * (2.4rem + (5 - 2.4) * ((100vw - 20rem) / (48 - 20))));
    }

    .about-us .title {
        font-size: 1.5rem;
    }

    .desc {
        font-size: 1rem;
    }

    #sec-swing-action .grid-item img {
        min-width: 40vw;
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
    }
}

/* iPad Landscape & Small Laptops */
@media (min-width: 768px) and (max-width: 991.98px) {
    #sec-swing-action .grid-item img {
        min-width: 35vw;
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
    }
}


/* Desktop */
@media (min-width: 992px) {


    #sec-toppage .my-title {
        font-size: calc(2.4rem + (5 - 2.4) * ((100vw - 62rem) / (87 - 62)));
        line-height: calc(1.1 * (2.4rem + (5 - 2.4) * ((100vw - 62rem) / (87 - 62))));
    }
}

/*.about-us .about-us-message {
    max-width: 500px;
}*/

/*.about-us img {
    max-width: 800px;
}*/

.sect-news-pc {
}

.section-title {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
}


#sec-swing-action .card-wrapper {
    padding: 2em 6em;
}


#sect-news .news-card {
    border-radius: 12px;
    overflow: hidden;
    /*background: #fff;*/
    color: black;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#sect-news .carousel-indicators [data-bs-target] {
    background-color: white;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

#sect-news .carousel-indicators .active {
    background-color: #ffcc00;
}

#sect-news .view-all-btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 30px;
    padding: 0.5rem 1rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 1rem;
}

/* Hover effect */
    #sect-news .view-all-btn:hover {
        background-color: white;
        color: #006837; /* your theme green or any accent color */
        transform: scale(1.05);
    }

/* Click (active) effect */
    #sect-news .view-all-btn:active {
        transform: scale(0.95);
        opacity: 0.9;
    }
 


@media (min-width: 1800px) {

    .about-us .about-us-message {
        max-width: 500px;
    }

    .about-us img {
        max-width: 800px;
    }

    #secWhoWeAre .text-wrapper {
        padding-top: 5em;
    }


    #secWhoWeAre .dvWhoWeAreImg {
        padding: 1em;
    }

    #sec-swing-action .card-wrapper {
        padding: 2em 8em;
    }


    .dvNews .news-title {
        font-size: 1.3em;
        font-weight: 800;
    }

    .dvNews .news-date {
        font-weight: 800;
        color: #E0AF4C;
    }
}




/*FAQ */
.faq-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
}

.faq-subtitle {
    font-size: 16px;
    color: #555;
    max-width: 800px;
    line-height: 1.5;
}

.benefits-link {
    margin-top: 40px;
    text-align: right;
}



    .benefits-link a, .about-us-link a {
        color: #0a5c36;
        font-weight: bold;
        text-decoration: none;
        text-transform: uppercase;
        font-size: 14px;
        letter-spacing: 1px;
    }

        .benefits-link a:hover, .about-us-link a:hover {
            text-decoration: underline;
        }




.faq-container {
    max-width: 800px;
    margin: 40px auto;
    font-family: Arial, sans-serif;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

    .faq-question::after {
        content: "+";
        position: absolute;
        right: 0;
        top: 0;
        font-size: 1.2rem;
        transition: transform 0.3s;
    }

.faq-item.active .faq-question::after {
    content: "–";
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    font-size: 0.95rem;
    color: #444;
    padding-right: 10px;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* adjust based on content */
    opacity: 1;
    margin-top: 10px;
}


@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-title {
        font-size: 28px;
    }
}
