.text-justify {
    text-align: justify;
}

video {
    max-width: 100%;
    height: auto;
}

.venue-section {
    overflow: hidden;
    background: #3c4248;
    color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Safety: prevent any stray list-style markers in this section */
.venue-section,
.venue-section * {
    list-style: none;
}

.venue-section header {
    display: block;
}

.venue-section__title .whyThailand {
    font-size: clamp(28px, 4vw, 45px);
    line-height: 1.1;
}

.venue-section__intro {
    margin-top: 0.75rem;
}

.venue-page__title,
.venue-page__date {
    justify-content: flex-start;
    text-align: left;
}

.venue-page__title {
    align-items: center;
}

.venue-page__intro.section-title {
    margin-bottom: 0;
}

.venue-page__title {
    line-height: 1.15;
}

.venue-page__icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 148, 29, 0.10);
    border: 1px solid rgba(247, 148, 29, 0.25);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.venue-page__icon i {
    color: #f7941d;
    font-size: 18px;
    line-height: 1;
}

.venue-page__icon--sm {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

.venue-page__icon--sm i {
    font-size: 16px;
}

.venue-page__date {
    color: rgba(255, 255, 255, 0.75);
    flex-wrap: nowrap;
}

/* Keep venue title/date from breaking awkwardly */
.venue-page__title,
.venue-page__date {
    gap: 10px;
}

.venue-page__date span {
    white-space: nowrap;
}

.venue-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.14);
    box-shadow: 0px 8px 30px -4px rgba(0, 0, 0, 0.10);
    transition: all .4s;
    will-change: transform;
}

/* Improve contrast for dark section */
.venue-section .bord-thin-top {
    border-top-color: rgba(255, 255, 255, 0.14);
}

.venue-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 20px 45px rgba(0, 0, 0, 0.18);
    border-color: rgba(0, 0, 0, 0.18);
}

.venue-card__head {
    padding: 18px 20px 0;
}

.venue-card__map-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #000;
}

.venue-card__body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.venue-card__body--media {
    padding: 0;
}

.venue-card__figure {
    height: 100%;
    position: relative;
}

.venue-card__figure:after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, #1a1a1a, transparent);
    opacity: 0;
    transition: all .4s;
    pointer-events: none;
}

.venue-card:hover .venue-card__figure:after {
    opacity: .22;
}

.venue-card__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.venue-card__map {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    flex: 1 1 auto;
}

.venue-card__iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Make image + map equal height on desktop */
@media (min-width: 992px) {
    .venue-card {
        height: 100%;
    }

    .venue-card__body--media {
        display: flex;
        flex: 1 1 auto;
    }

    .venue-card__figure {
        flex: 1 1 auto;
    }

    .venue-card--map .venue-card__body {
        padding-top: 14px;
    }

    .venue-card--map .venue-card__map.ratio {
        height: 100%;
    }

    /* Override Bootstrap ratio height so it stretches with card height */
    .venue-card--map .venue-card__map.ratio::before {
        padding-top: 0 !important;
    }
}

/* Mobile polish */
@media (max-width: 991.98px) {
    .venue-card {
        border-radius: 10px;
    }

    .venue-card__head,
    .venue-card__body {
        padding-left: 16px;
        padding-right: 16px;
    }

    .venue-page__icon {
        width: 36px;
        height: 36px;
        border-radius: 11px;
    }
}

@media (max-width: 575.98px) {
    .venue-section__head {
        margin-bottom: 22px !important;
    }

    .venue-section__head .bord {
        padding-top: 14px !important;
    }

    .venue-section__title .whyThailand {
        font-size: 34px !important;
        line-height: 1.05;
    }

    .venue-page__title {
        margin-bottom: 8px !important;
    }

    .venue-page__title,
    .venue-page__date {
        gap: 10px;
    }

    .venue-page__title-text {
        font-size: 16px;
        line-height: 1.25;
    }

    .venue-page__icon--sm {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .venue-card__head {
        padding: 14px 16px 0;
    }

    .venue-card__body {
        padding: 14px 16px 16px;
    }

    .venue-section__grid {
        row-gap: 18px;
    }
}

.bg-dark-asia {
    background-color: #24292e !important;
}

/* calendar section csss */
.asia__calender:after {
    content: "";
    position: absolute;
    width: 2px;
    height: 100%;
    background: #3b3d3f;
    top: 0;
    left: 50%;
    right: auto;
}

.asia_counter {
    background-color: #3c4248;
}

.border-design {
    /* width: fit-content; */
    padding: 0 30px;
}

.border-design .left-top-left:after {
    content: "";
    position: absolute;
    top: 0;
    width: 40%;
    height: 2px;
    background: #f7941d;
    left: 0;
    right: auto;
}

.border-design .left-top-left:before {
    left: 0;
    right: auto;
    content: "";
    position: absolute;
    width: 2px;
    height: 30%;
    background: #f7941d;
    top: 0;
}

.border-design .right-bottom-right:before {
    content: "";
    position: absolute;
    background: #f7941d;
    right: 0;
    left: auto;
    width: 2px;
    height: 40%;
    bottom: 0;
}

.border-design .right-bottom-right:after {
    content: "";
    position: absolute;
    background: #f7941d;
    right: 0;
    left: auto;
    bottom: 0;
    width: 40%;
    height: 2px;
}

/* 7 reason css start */
.section-heading h3 {
    position: relative;
    padding-left: 75px;
    font-size: 25px;
}

.section-heading h3 .black-box {
    font-size: 4rem;
    width: 60px;
    height: 75px;
}

.section-heading h3 .black-box {
    position: absolute;
    left: 0;
    height: 100%;
    color: #fff;
    vertical-align: middle;
    text-transform: uppercase;
    background-color: #006f78;
    border-radius: 10px;
    perspective: 99px;
    padding: 2px 10px;
    font-size: 5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    width: 67px;
    height: 95px;
}

.reason_list {
    margin: 0;
    padding: 0;
    clear: both;
    list-style: none;
}

.reason_list li {
    counter-increment: item;
    display: inline-block;
    text-align: justify;
    padding-bottom: 10px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 10%;
    font-size: 1.1rem;
}

.reason_list li:before {
    content: counter(item);
    position: absolute;
    left: 0;
    background: #006f78;
    color: #fff;
    font-size: 1.3rem;
    padding: 2px 15px;
    border-radius: 10px;
    perspective: 99px;
    font-weight: 700;
    top: 30%;
    width: 40px;
    height: 60px;
    line-height: 60px;
}

@media (max-width: 768px) {

    .reason_list li:before {
        content: counter(item) !important;
        position: absolute !important;
        left: -10px !important;
        background: #006f78 !important;
        color: #fff !important;
        font-size: 1.3rem !important;
        padding: 2px 12px !important;
        border-radius: 10px !important;
        perspective: 99px !important;
        font-weight: 700 !important;
        top: 30% !important;
        width: 35px !important;
        height: 60px !important;
        line-height: 60px !important;
    }

}

.reason_list li:after {
    content: "";
    position: absolute;
    width: 97%;
    height: 2px;
    background: #e4e2e2;
    bottom: 0;
    left: auto;
    right: 0;
}

.reason_list li .l-border {
    position: absolute;
    width: 2px;
    height: 50%;
    background: #e4e2e2;
    bottom: 0;
    left: 3%;
    right: auto;
    z-index: -1;
}

/* Event profile css start */
.call-action-1-images {
    position: relative;
    overflow: hidden;
}

.call-action-1-image-2 {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    width: 36.2%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
}

.call-action-1-image-squire-inner {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
}

.call-action-1-images img {
    width: 100%;
}

.call-action-1-image-2-inner {
    overflow: hidden;
    border-radius: 120px;
    isolation: isolate;
    transform: translateZ(0);
}

.call-action-1-images img {
    width: 100%;
}

.call-action-1-image-1 {
    width: 78.7234%;
    overflow: hidden;
}

.round {
    border-radius: 4px !important;
}

.call-action-1-images img {
    width: 100%;
}

.section-title-inline {
    position: relative;
    top: 1px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    padding: 2px 10px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    background-color: #010101;
    border-radius: 30px;
    transform: rotate(-15deg);
    perspective: 99px;
}

.full-screen {
    /* position: absolute; */
    /* left: 0; */
    right: 0;
    /* top: 0; */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    width: 50%;
    height: 50%;
    z-index: 99;
}

.flex-container-center {
    displaY: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.full-screen {
    color: white
}

.hidden {
    display: none;
}

.full-screen button {
    position: absolute;
    top: -5%;
    right: 2%;
    cursor: pointer;
    z-index: 999;
}

.social_platform li a i.fa-facebook-f {
    background-color: #1877F2;
}

.social_platform li a i.fa-twitter {
    background-color: #1DA1F2;
}

.social_platform li a i.fa-youtube {
    background-color: #CD201F;
}

.social_platform li a i.fa-weixin {
    background-color: #09B83E;
}

.social_platform li a i {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: #eee;
    margin: 0 10px;
    text-align: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.social_wrap.whatspp_asia.text-center li i {
    width: 80px;
    height: 80px;
    text-align: center;
    line-height: 80px;
    background: #eee;
    border-radius: 50%;
    margin-bottom: 1rem;
    font-size: 2rem;
    color: #fff;
}

.social_wrap.whatspp_asia.text-center li i.fa-whatsapp {
    background: #25D366;
}

.social_wrap.whatspp_asia.text-center li i.fa-envelope {
    background: #FF3300;
}

.social_wrap.whatspp_asia.text-center li i.fa-weixin {
    background: #09B83E;
}
.theme-btn {
    background: #f7941d;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
}

.theme-btn:hover {
    background: #fff;
    color: #000;
}

/* Start Responsive */
@media only screen and (max-width: 767px) {
    .asia__calender:after {
        background-color: transparent;
    }

    .section-heading h3 {
        font-size: 23px;
    }

    .reason_list li {
        word-spacing: -2px;
        padding-left: 14%;
    }

    .reason_list li .l-border {
        height: 60%;
    }

    .full-screen {
        height: 8%;
        width: 80%;
    }
}

@media only screen and (max-width: 465px) {

    .social_platform {
        flex-wrap: wrap;
    }

    .social_platform li:last-child {
        flex-basis: 100% !important;
        margin-top: 16px !important;
    }

    .social_platform li {
        flex: 0 0 10% !important;
        /* flex-basis: 10% !important; */
    }

    .about .img-vid .curv-butn {
        width: 66px;
        height: 66px;
    }

    .social_platform li a i {
        width: 40px;
        height: 40px;
        line-height: 40px;
    }

    .fz-80 {
        font-size: 40px !important;
    }
}

.menu-btn{
    background: rgba(255, 255, 255, 0.288);
    color: #fff;
    text-decoration: none;

    padding: 5px 20px;
    border-radius: 10px;

    font-size: 18px;
    font-weight: 600;

    transition: all 0.3s ease;

    border: 1px solid rgba(255, 255, 255, 0.671);

    display: inline-block;
}

/* Hover effect */
.menu-btn:hover{
    background: rgba(156, 155, 155, 0.22);
    color: #fff;

    transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 991px){

    .menu-btn{
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

}

/* Mobile Screen Only */
@media (max-width: 768px) {

    /* Full width columns */
    .col-8,
    .col-4 {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Card spacing */
    .silver_spon {
        margin-bottom: 20px;
    }

    /* Title responsive */
    .silver_spon h5 span {
        font-size: 18px !important;
        padding: 5px !important;
    }

    /* Logo spacing */
    .logo-scroll-track {
        gap: 20px !important;
    }

    /* All logos smaller */
    .logo-scroll-track img {
        max-height: 55px !important;
        width: auto !important;
    }

    /* Online sourcing partner logo */
    .col-4 img {
        width: 150px !important;
        height: auto !important;
    }

    /* Card body padding */
    .card-body {
        padding: 20px 10px !important;
    }

}

.page-header {
    position: relative;
    /* Use min-height to ensure the graphics are visible */
    min-height: 400px; 
    display: flex;
    align-items: center; /* Vertically centers the text */
    justify-content: center;
    background-size: cover;
    background-position: center bottom; /* Keeps the skyline at the bottom */
    background-repeat: no-repeat;
    width: 100%;
}

/* Laptop responsive fix */
@media (max-width: 1366px) {
    .page-header {
        min-height: 300px !important;
        /* Ensures the logo and icon on the sides don't get cut off */
        background-size: 100% 100% !important; 
    }
    .fz-40 {
        font-size: 40px !important;
    }

    .fz-30 {
        font-size: 30px !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .page-header {
        min-height: 150px !important;
        padding: 34px 15px !important;
    }
    .fz-40 {
        font-size: 22px !important;
    }

    .fz-30 {
        font-size: 18px !important;
    }
}

.gss-link {
    text-decoration: none;
    transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.gss-link:hover {
    letter-spacing: 0.5px;
}