/* Google Fonts - Poppins */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'kanit';
}

.cover-about-us {
    display: flex;
}

.cover-about-us .img-about {
    width: 50%;
    /* ครึ่งหน้าจอสำหรับ PC */
    height: auto;
}

@media (max-width: 768px) {
    .cover-about-us .img-about {
        width: 100%;
        /* เต็มหน้าจอสำหรับมือถือ */
    }
    .cover-about-us {
        display: block;
    }
}


/* Main container for the video card slider */

.video-card-slider {
    position: relative;
    width: 100%;
    max-width: 300px;
    /* Adjust the width as needed */
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-card-slider:hover {
    transform: scale(1.05);
}


/* Play icon styling */

.play-icon {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Image styling */

.video-card-slider img {
    width: 100%;
    display: block;
}

.video-card-slider .text-start p {
    margin: 0;
    color: #ae8f6f;
    font-size: 25px;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
}

p {
    font-weight: 300;
}

.icon-small {
    width: 20px;
}


/* section about */


/* Container holding both sections */

.container-about {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 20px;
}


/* Image section styling */

.image-section img {
    width: 100%;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    right: 155px;
}


/* Text section styling */

.about-us h2 {
    font-size: 1.5rem;
    align-items: center;
    gap: 10px;
}

.about-us h2::after {
    content: '';
    width: 18%;
    height: 3px;
    background-color: #a06e41;
    display: block;
    margin-left: 84px;
    margin-top: 21px;
    margin-bottom: 20px;
}

.about-us h4 {
    margin: 10px 0;
    color: #a06e41;
}

.about-us p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

.text-section {
    max-width: 602px;
    background-color: white;
    padding: 20px;
    right: 423px;
    top: 95%;
    position: absolute;
    box-shadow: 0 0px 8px rgb(0 0 0 / 35%);
}


/* Responsive Design */

@media (max-width: 768px) {
    .container-about {
        flex-direction: column;
        align-items: stretch;
    }
    .image-section img {
        max-width: 100%;
        position: relative;
        right: 0;
    }
    .text-section {
        width: 100%;
        padding: 20px;
        position: relative;
        right: 50%;
        left: 0;
        top: 17%;
    }
}


/* END section about */


/* section register */

.btn-regis-tour {
    color: #fff;
    background: linear-gradient(103deg, rgba(176, 124, 77, 1) 0%, rgba(195, 156, 116, 1) 100%);
    border-color: #ac7d51;
    height: 31px;
    font-size: 14px;
    border-radius: 26px;
    display: inline-block;
    text-align: center;
    line-height: 19px;
    font-weight: 300;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section-register {
    background-color: #f2f2f2;
}

.text-register {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    /* Ensures full height for proper vertical alignment */
}

.text-register h2::after {
    content: '';
    width: 18%;
    height: 3px;
    background-color: #a06e41;
    display: block;
    margin-left: 84px;
    margin-top: 21px;
    margin-bottom: 20px;
}

.text-register h3 {
    font-size: 30px;
    margin-bottom: 15px;
    margin-top: 20px;
    color: #bd9166;
    font-weight: 300;
}

.text-register p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}


/* section register */


/* section logo */

.section-logo {
    background-color: #fff;
    height: fit-content;
}

.image-assis {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
}

.image-assis h5 {
    color: #ab835a;
}

.image-logo-assis {
    width: 70px;
    /* Adjust the width as per your needs */
    margin-bottom: 10px;
    /* Add some space between the image and text */
}


/* section logo */


/*section activity*/

section.section-activity {
    height: 802px;
    background: linear-gradient(103deg, rgba(176, 124, 77, 1) 0%, rgba(195, 156, 116, 1) 100%);
}

.btn-login {
    color: #fff;
    background-color: #ac7d51;
    border-color: #ac7d51;
    height: 31px;
    font-size: 13px;
    border-radius: 26px;
    width: 104px;
}

.btn-reg {
    color: #fff;
    background-color: #4f0400;
    border-color: #4f0400;
    height: 31px;
    font-size: 13px;
    border-radius: 26px;
    width: 104px;
}

.btn-readmore {
    color: #fff;
    background-color: #9d6532;
    border-color: #9d6532;
    height: 31px;
    font-size: 13px;
    border-radius: 26px;
}


/*end section activity*/


/*section gallery*/

section.section-gallery {
    height: fit-content;
    background: #fff;
}

.sponsor-logo {
    width: 100px;
    height: 50px;
}


/* .sponsor-logo img {
    width: 100%;
    object-fit: cover;
} */


/*section gallery*/

.section-video {
    height: 700px;
    background: #fff;
}

.cover-video {
    height: 550px;
    position: relative;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 200px;
    height: 124px;
    z-index: 100;
    background-color: transparent;
    transition: background-color 0.3s, color 0.3s;
    box-shadow: none;
}

.white-image {
    filter: brightness(0) invert(1);
}

.nav,
.nav .nav-links {
    display: flex;
    align-items: center;
}

.nav {
    justify-content: space-between;
}

a {
    color: #fff;
    text-decoration: none;
}

.nav .logo {
    font-size: 22px;
    font-weight: 500;
}

.nav .logo img {
    width: 100px;
}

.nav .nav-links {
    column-gap: 20px;
    list-style: none;
}

.nav .nav-links a {
    transition: all 0.2s linear;
    color: #000;
}

.nav.openSearch .nav-links a {
    opacity: 0;
    pointer-events: none;
}

.nav .search-icon {
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.nav .search-box {
    position: absolute;
    right: 250px;
    height: 45px;
    max-width: 555px;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s linear;
}

.nav.openSearch .search-box {
    opacity: 1;
    pointer-events: auto;
}

.search-box .search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    left: 15px;
    color: #4a98f7;
    transform: translateY(-50%);
}

.search-box input {
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 6px;
    background-color: #fff;
    padding: 0 15px 0 45px;
}

.nav .navOpenBtn,
.nav .navCloseBtn {
    display: none;
}


/* responsive */

@media screen and (max-width: 1160px) {
    .nav {
        padding: 15px 100px;
    }
    .nav .search-box {
        right: 150px;
    }
}

@media screen and (max-width: 950px) {
    .nav {
        padding: 15px 50px;
    }
    .nav .search-box {
        right: 100px;
        max-width: 400px;
    }
}

@media screen and (max-width: 768px) {
    .nav .navOpenBtn,
    .nav .navCloseBtn {
        display: block;
    }
    .nav {
        padding: 15px 20px;
    }
    .nav .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100%;
        max-width: 280px;
        width: 100%;
        padding-top: 100px;
        row-gap: 30px;
        flex-direction: column;
        background-color: #11101d;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: all 0.4s ease;
        z-index: 100;
    }
    .nav.openNav .nav-links {
        left: 0;
    }
    .nav .navOpenBtn {
        color: #fff;
        font-size: 20px;
        cursor: pointer;
    }
    .nav .navCloseBtn {
        position: absolute;
        top: 20px;
        right: 20px;
        color: #fff;
        font-size: 20px;
        cursor: pointer;
    }
    .nav .search-box {
        top: calc(100% + 10px);
        max-width: calc(100% - 20px);
        right: 50%;
        transform: translateX(50%);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    .nav .logo img {
        display: none;
    }
}

.icon-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    max-width: 1000px;
}

.icon-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 160px;
    margin: 10px;
    background-color: #eaeaea;
    text-align: center;
    color: #8c6b3e;
    /* Brown color */
    font-size: 16px;
    cursor: pointer;
}

.icon-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

@media (max-width: 600px) {
    .icon-item {
        width: 100px;
        height: 100px;
    }
    .icon-item img {
        width: 30px;
        height: 30px;
    }
}


/* Footer styling */

.footer {
    background-color: #330100;
    /* Brown background */
    color: white;
    padding: 20px 0;
    border-top: #bf936c solid 6px;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-column {
    flex-basis: 30%;
    padding: 10px;
}

.footer-column h3 {
    margin-bottom: 10px;
    font-size: 18px;
    padding-bottom: 5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li::before {
    content: "•";
    /* Bullet point */
    margin-right: 10px;
    color: #fff;
}

.footer-column ul li span {
    color: #eaeaea;
    /* Light gray for phone numbers */
}


/* Media queries */

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }
    .footer-column {
        flex-basis: 100%;
        text-align: center;
    }
}


/* slick */

.slick-slider {
    max-width: 90%;
    margin: 50px auto;
}

.slick-slider .slide {
    text-align: center;
}

.slick-slider .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: white;
    opacity: 0.8;
    cursor: pointer;
}

.slick-slider .slide-title {
    margin-top: 10px;
    color: #8B4513;
    /* brown color */
    font-size: 16px;
}

ul.slick-dots {
    text-align: center;
}

.my-slider ul.slick-dots li button:before {
    color: #ffffff;
    font-size: 12px;
}

.my-slider ul.slick-dots li.slick-active button:before {
    opacity: .75;
    color: #e5c49e;
}


/* Optional: Add a hover effect on the play icon */

.slick-slider .slide-image:hover .play-icon {
    opacity: 1;
}

.data-slide {
    padding: 10px;
}

.sponsor-slider button.slick-next:before,
.sponsor-slider button.slick-prev:before {
    font-family: slick;
    font-size: 24px;
    line-height: 1;
    opacity: .75;
    color: #b28054;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.video-slider button.slick-next:before,
.video-slider button.slick-prev:before {
    font-family: slick;
    font-size: 24px;
    line-height: 1;
    opacity: .75;
    color: #b28054;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.form-horizontal {
    background: #fff;
    padding-bottom: 110px;
    border-radius: 15px;
    text-align: center;
}

.form-horizontal .heading {
    display: block;
    font-size: 35px;
    font-weight: 700;
    padding: 35px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 30px;
}

.form-horizontal .form-group {
    padding: 0 40px;
    margin: 0 0 25px 0;
    position: relative;
}

.form-horizontal .form-control {
    background: #f0f0f0;
    border: none;
    border-radius: 20px;
    box-shadow: none;
    padding: 0 20px 0 45px;
    height: 40px;
    transition: all 0.3s ease 0s;
}

.form-horizontal .form-control:focus {
    background: #e0e0e0;
    box-shadow: none;
    outline: 0 none;
}

.form-horizontal .form-group i {
    position: absolute;
    top: 12px;
    left: 60px;
    font-size: 17px;
    color: #c8c8c8;
    transition: all 0.5s ease 0s;
}

.form-horizontal .form-control:focus+i {
    color: #a06e41;
}

.form-horizontal .fa-question-circle {
    display: inline-block;
    position: absolute;
    top: 12px;
    right: 60px;
    font-size: 20px;
    color: #808080;
    transition: all 0.5s ease 0s;
}

.form-horizontal .fa-question-circle:hover {
    color: #000;
}

.form-horizontal .main-checkbox {
    float: left;
    width: 20px;
    height: 20px;
    background: #a06e41;
    border-radius: 50%;
    position: relative;
    margin: 5px 0 0 5px;
    border: 1px solid #a06e41;
}

.form-horizontal .main-checkbox label {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
}

.form-horizontal .main-checkbox label:after {
    content: "";
    width: 10px;
    height: 5px;
    position: absolute;
    top: 5px;
    left: 4px;
    border: 3px solid #fff;
    border-top: none;
    border-right: none;
    background: transparent;
    opacity: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.form-horizontal .main-checkbox input[type=checkbox] {
    visibility: hidden;
}

.form-horizontal .main-checkbox input[type=checkbox]:checked+label:after {
    opacity: 1;
}

.form-horizontal .text {
    float: left;
    margin-left: 7px;
    line-height: 20px;
    padding-top: 5px;
    text-transform: capitalize;
}

.form-horizontal .btn {
    float: right;
    font-size: 14px;
    color: #fff;
    background: #a06e41;
    border-radius: 30px;
    padding: 10px 25px;
    border: none;
    text-transform: capitalize;
    transition: all 0.5s ease 0s;
}

@media only screen and (max-width: 479px) {
    .form-horizontal .form-group {
        padding: 0 25px;
    }
    .form-horizontal .form-group i {
        left: 45px;
    }
    .form-horizontal .btn {
        padding: 10px 20px;
    }
}