:root {
    --color-primary-gfca-green-dark: #1C4863;
    --color-secondary-gfca-green-dark: #113247;
    --color-white: #ffffff;

    --border-radius-section-lg: 20rem;
    --border-radius-section-md: 15rem;
    --border-radius-section-sm: 0rem;
    --border-radius-section-xs: 0rem;

    --fixed-screen-container: 1080px;

    --color-btn-bg-green-teal: #00bcd4;
    --color-btn-txt-white: #ffffff;
    --color-btn-bg-green-teal--hover: #00a9c0;
    --color-btn-txt-white--hover: #ffffffd0;
    --color-btn-bg-green-teal-light: #e9f7fa;
    --color-btn-bg-green-teal-light--hover: #daeff4;

    --border-radius-btn-gfca: 4px;
    --padding-btn-gfca: 8px 16px;

    --padding-x-screen: 1.4rem;

    --cover-image-second-page-size: 170px;
}

body {
    font-family: "Noto Sans Thai", sans-serif;
    font-weight: 400;
}

.container-screen-width {
    max-width: var(--fixed-screen-container);
}

@media screen and (max-width: 576px) {
    .container-screen-width {
        padding: 0 var(--padding-x-screen);
    }
}

.form-select-footer-contact,
.form-control-footer-contact {
    color: #ffffff !important;
    background: rgb(0 0 0 / 22%);
    backdrop-filter: blur(8px);
    border: 1px solid #00000017;
}

.form-control-footer-contact:focus,
.form-select-footer-contact:focus {
    color: #ffffff;
    background-color: #1e3b4e;
    border-color: #ffffff;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgb(255 255 255 / 22%);
}

.form-control-footer-contact::placeholder {
    color: #ffffff !important;
}

.btn-primary-gfca {
    background: var(--color-btn-bg-green-teal);
    color: var(--color-btn-txt-white);
    border-color: var(--color-btn-bg-green-teal);
    border-radius: var(--border-radius-btn-gfca);
}
.btn-primary-gfca:hover, .btn-primary-gfca:focus, .btn-primary-gfca:focus-visible, .btn-primary-gfca:active {
    background: var(--color-btn-bg-green-teal--hover);
    color: var(--color-btn-txt-white--hover);
    border-color: var(--color-btn-bg-green-teal--hover);
}

.text-title-page {
    position: fixed;
    left: 0;
    right: 0;
    top: 6rem;
    margin: 0 auto;
    font-size: 2.4rem;
    font-weight: 300;
    color: #ffffffC7;
    transition: all 0.2s ease;
    text-transform: capitalize !important;
    max-width: 1080px;
    z-index: 1;
    padding: 0 1rem;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr auto;
}

   .text-title-section {
        font-size: 2.4rem;
        font-weight: 500;
        color: #234e6a;
        margin-top: 3rem;
    }

    .no-scroll {
        overflow: hidden;
    }

/*----------------------------------------- START :  hamburger menu */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  transition: all 0.3s ease;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background: #f8fcff;;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 991px) {
    .hamburger {
        display: flex;
    }
}

/* ----------------------------------------- START : pagination  */

.active>.page-link-gfca, .page-link-gfca.active {
    color: var(--color-btn-txt-white);
    background-color:  var(--color-btn-bg-green-teal);
    border-color:  var(--color-btn-bg-green-teal);
    z-index: 0;
}

.active>.page-link-gfca:hover{
    color: #ffffffe0;
}

.page-link-gfca {
    color: #4e4e4e;
    background-color: #f8fcff;
}
.page-link-gfca:hover {
    color: #4e4e4e;
    box-shadow: var(--color-btn-bg-green-teal); 
}
.page-link-gfca:focus {
    color: #ffffffe0;
    box-shadow: var(--color-btn-bg-green-teal); 
}
.page-item:last-child .page-link-gfca, .page-item:first-child .page-link-gfca {
    background-color: #ffffff;
    color: #4e4e4e;
}

/* ----------------------------------------- END : END : Header  */

.gfca-header {
    position: fixed;
    z-index: 4;
    width: 100%;
    /* background: #000000; */
    /* background: linear-gradient(180deg, rgba(0, 0, 0, 0.27) 0%, rgb(0 0 0 / 0%) 83%); */
    /* background: #0000002e; */
    /* backdrop-filter: blur(8px); */
    transition: all .3s ease;
    min-height: 6rem;
    padding: 1rem 0 1rem 0;
}
.gfca-header::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 140px;
    top: 0;
    transition: all .3s ease;
    background: linear-gradient(180deg, rgb(13 102 130) 0%, rgb(13 102 130 / 76%), rgb(13 102 130 / 0%) 80%);
    /* background: linear-gradient(180deg, rgb(13 102 130) 0%, rgb(13 102 130), rgb(13 102 130 / 11%) 83%); */
    z-index: -1;
}

.gfca-header::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 140px;

    left: 50%;
    top: 0;
    transform: translate(-50%, 0%);
    backdrop-filter: blur(32px) brightness(0.75);
    -webkit-backdrop-filter: blur(32px) brightness(0.75);
    mask-image: linear-gradient(to bottom, transparent 0%, black 50%, black 100%);
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 50%, black 100%);

    /* background: linear-gradient(180deg, rgb(13 102 130) 0%, rgb(13 102 130), rgb(13 102 130 / 11%) 83%); */
    z-index: -1;
}





.gfca-header .logo-company {
    max-width: 130px;
    margin-left: 0rem;
    transition: all .3s ease;



}

.gfca-header.sticky-header-active {
    /* padding: 1rem; */
    /* backdrop-filter: blur(12px); */
    /* background: linear-gradient(180deg, rgb(13 102 130) 0%, rgb(13 102 130), rgb(13 102 130 / 11%) 83%); */
    /* transition: all .3s ease; */
    & .gfca-navbar {
        /* background: var(--color-primary-gfca-green-dark); */
    }

    & .logo-company {
        max-width: 130px;
        /* margin-left: .6rem; */
    }
}

.gfca-header.sticky-header-active::after {
    /* content: "";
    position: absolute;
    width: 100%;
    height: 170%;
    left: 50%;
    top: 0;
    transform: translate(-50%, 0%);
    backdrop-filter: blur(32px) brightness(0.75);
    -webkit-backdrop-filter: blur(32px) brightness(0.75);
    mask-image: linear-gradient(to bottom, transparent 0%, black 50%, black 100%);
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 50%, black 100%);
    z-index: -1; */
}

@media screen and (max-width: 576px) {
    .gfca-header.sticky-header-active {
         padding: 1rem 0;
    }
}


.gfca-navbar {
    /* background-color: #00000000; */
    /* padding: 0.8rem 0; */
    transition: all .3s ease-in;
    /* border-radius: 12px; */
}

.gfca-navbar .nav-link {
    color: #ffffffe2;
    font-size: 0.85rem;
    position: relative;
    text-transform: uppercase;
}

.gfca-navbar .nav-link.active,
.gfca-navbar .nav-link:hover {
    color: #d9c38a;
}

.gfca-navbar .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 1px;
    width: 100%;
    height: 2px;
    background: #d9c38a;
}

/* Mobile */
@media (max-width: 991px) {
    .navbar-nav-menu {
        padding-top: 1rem;
        display: grid;
        grid-template-rows: repeat();
    }

    .gfca-navbar .nav-link.active::after {
        height: 0;
        background: #ffffff;
    }
    .navbar-nav-menu .nav-item-menu {
        border-bottom: solid 1px #dadada;
            min-height: 3rem;
    display: flex;
    align-items: center;
    }
}

.btn-lang {
    color: #fff;
    font-size: 14px;
    display: flex;
    gap: 6px;
}

.btn-lang:hover,
.btn-lang:focus-visible,
.btn-lang:focus,
.btn-lang:active {
    color: #d9c38a !important;
        /* color: #ffffff !important; */
    border-color: #d9c38a !important;
}

.modal-header-language {
    padding: 1rem 1.4rem;
    border-color: #ffffff;
}

.modal-footer-language {
    padding: .4rem 1.4rem;
    border-color: #ffffff;
}

.modal-content-language {
    border-radius: 1rem;
}

.language-list .list-group-item {
    cursor: pointer;
    display: grid;
    grid-template-columns: 1fr 22px;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    transition: all .1s ease-in-out;
}

.language-list .list-group-item .check {
    width: 22px;
    height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border-radius: 2rem;
    color: #ffffff;
    font-size: 12px;
}

.language-list .list-group-item.active {
    background-color: #f7f7f7;
    border-color: #ffffff;
    color: #212529;
}

.language-list .list-group-item.active .check {
    background-color: #0071FC;
    color: #ffffff;
}

/* ----------------------------------------- END : END : Header  */

/* ----------------------------------------- START : Page New & Event */

.item-article-content {
    margin-bottom: 3rem;
    padding: 0 1rem;

    .group-card-image {
        aspect-ratio: 16 / 9;
        object-fit: cover;
        overflow: hidden;
        border-radius: var(--border-radius-btn-gfca);
        box-shadow: #00000054 0px 7px 12px -9px;
        background: #d6d6d6;
        pointer-events: none;

        &>img {
            border-radius: 2px;
        }
    }

    .group-text-content {
        min-height: 3rem;

        .text-title {
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            text-overflow: ellipsis;
            -webkit-box-orient: vertical;
            margin: 1rem 0 .6rem 0;

            .hyperlink-readmore {
                text-decoration: none;
                color: inherit;
            }
        }

        .text-description {
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            text-overflow: ellipsis;
            -webkit-box-orient: vertical;
            margin-bottom: .4rem;
        }

        .group-date-article {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;

            .item-date {
                display: flex;
                align-items: center;
                gap: .6rem;
                font-size: 12px;
                color: #828282;

                & i {
                    font-size: 12px;
                    color: #1c4863;
                }
            }

            .item-view {
                display: flex;
                align-items: center;
                gap: .6rem;
                font-size: 12px;
                color: #828282;

                & i {
                    font-size: 12px;
                    color: #1c4863;
                }
            }
        }

        .block-btn-readmore {
            .btn-light-readmore {
                display: inline-block;
                text-decoration: none;
                padding: var(--padding-btn-gfca);
                border-radius: var(--border-radius-btn-gfca);
                color: var(--color-btn-bg-green-teal);
                background-color: var(--color-btn-bg-green-teal-light);
                transition: all .1s ease-in-out;
                box-shadow: #0000001a 0 2px 3px -1px;

            }

            .btn-light-readmore:hover {
                color: var(--color-btn-bg-green-teal--hover);
                background-color: var(--color-btn-bg-green-teal-light--hover);
            }
        }
    }
}

/* ----------------------------------------- END : Page New & Event */

/* ----------------------------------------- START : Event Detail */


.item-article-content-detail {
    margin-bottom: 3rem;
    padding: 0 1rem;

    .group-card-image {
        aspect-ratio: 16 / 9;
        object-fit: cover;
        overflow: hidden;
        border-radius: var(--border-radius-btn-gfca);
        box-shadow: #00000054 0px 7px 12px -9px;
        background: #d6d6d6;
        pointer-events: none;
        max-width: 900px;
        position: relative;
        left: 0;
        right: 0;
        margin: 2rem auto 2rem;

        &>img {
            border-radius: 2px;
        }
    }

    .group-text-content {
        min-height: 3rem;

        .text-title {
            font-size: 1.8rem;
            font-weight: 600;
            line-height: 1.2;
            margin: .4rem 0 0.4rem 0;

            .hyperlink-readmore {
                text-decoration: none;
                color: inherit;
            }
        }

        .group-date-article {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;

            .item-date {
                display: flex;
                align-items: center;
                gap: .6rem;
                font-size: 12px;
                color: #828282;

                & i {
                    font-size: 12px;
                    color: #1c4863;
                }
            }

            .item-view {
                display: flex;
                align-items: center;
                gap: .6rem;
                font-size: 12px;
                color: #828282;

                & i {
                    font-size: 12px;
                    color: #1c4863;
                }
            }
        }

        .block-btn-readmore {
            .btn-light-readmore {
                display: inline-block;
                text-decoration: none;
                padding: var(--padding-btn-gfca);
                border-radius: var(--border-radius-btn-gfca);
                color: var(--color-btn-bg-green-teal);
                background-color: var(--color-btn-bg-green-teal-light);
                transition: all .1s ease-in-out;
                box-shadow: #0000001a 0 2px 3px -1px;

            }

            .btn-light-readmore:hover {
                color: var(--color-btn-bg-green-teal--hover);
                background-color: var(--color-btn-bg-green-teal-light--hover);
            }
        }
    }

    .text-description {
        margin: 1rem 0;
    }
}

/* ----------------------------------------- END : Event Detail */

/* ----------------------------------------- START : Coming Soon */

.coming-soon-content {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 400px;

    & .text-comimg-soon {
        font-size: 3rem;
        color: #9f9f9f;
    }
}

/* ----------------------------------------- END : Coming Soon */


/* ----------------------------------------- START : Thank you page */

.page-thankyou-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    flex-direction: column;
    text-align: center;
    row-gap: 1rem;
    & .image-thankyou {
        max-width: 280px;
        & img {
            pointer-events: none;
        }
    }
    & .text-thankyou {
        font-size: 2.8rem;
        color: #4b4b4b;
    }
}

@media screen and (max-width: 576px) {
    .page-thankyou-content {
        & .image-thankyou {
            max-width: 200px;
        }
        & .text-thankyou {
            font-size: 1.8rem;
        }
    }
}

/* ----------------------------------------- END : Thank you page */