/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Noto Sans KR', Arial, sans-serif;
    background-color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans KR', Arial, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #333;
}

/* Intro Overlay
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 31, 91, 0.9), rgba(0, 0, 0, 0.8));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1s ease;
}

.intro-overlay.hidden {
    display: none;
}

.intro-signature {
    width: 80%;
    max-width: 1000px;
    height: 200px;
}

.main-title {
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.2rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
} */

        /* Navbar */
        .navbar {
            background-color: #ffffff;
            padding: 15px 0;
            transition: all 0.3s ease;
            position: fixed;
            width: 100%;
            max-width: 100%;
            z-index: 1000;
        }

        .navbar.scrolled {
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .navbar.scrolled .navbar-brand img {
            height: 40px;
        }

        .navbar-brand img {
            height: 60px;
            transition: all 0.3s ease;
        }

        .navbar-brand img:hover {
            transform: scale(1.05);
        }

        .nav-link {
            color: rgb(0, 0, 0) !important;
            font-weight: bold;
            margin: 0 15px;
            position: relative;
            transition: all 0.3s ease;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background-color: #003087;
            bottom: 0px;
            left: 0;
            transition: width 0.3s ease;
        }

        .nav-link:hover::after,
        .nav-link.active::after {
            width: 100%;
        }

        .nav-link:hover,
        .nav-link.active {
            color: #003087 !important;
            transform: scale(1.1);
        }

        .dropdown-menu {
            background-color: #001F5B;
            border: none;
        }

        .dropdown-item {
            color: white;
            transition: background-color 0.3s ease;
        }

        .btn-register {
            background: #FF0000;
            color: white;
            padding: 8px 20px;
            border-radius: 20px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            display: flex;
        }

        .btn-register:hover {
            background: #CC0000;
            transform: translateY(-2px);
        }

        .language-switcher {
            position: relative;
            /* display: inline-block; */
            display: flex;
        }

        .language-switcher select {
            background: #4A90E2;
            /* Gold background */
            border: none;
            padding: 8px 30px 8px 40px;
            /* Space for flag icon */
            color: #000000;
            /* Dark blue text */
            border-radius: 16px;
            font-size: 16px;
            font-weight: 500;
            appearance: none;
            /* Remove default dropdown arrow */
            cursor: pointer;
            outline: none;
            transition: background-color 0.3s ease, box-shadow 0.3s ease;
            min-width: 100px;
        }
        @media (max-width: 480px)
        {
            .navbar-nav{
                align-items: center;
            }
            .language-switcher{
                text-align: center;
                margin-top: 2%;
            }
            .language-switcher select{
                width: 20%;
                text-align: center;
                align-items: center;
            }
            .btn-register{
                margin-top: 5%;
            }
            .hehe{
                align-items: center;
                text-align: center;
                justify-self: center;
            }
        }
        @media (max-width: 360px)
        {
            .navbar-nav{
                align-items: center;
            }
            .language-switcher{
                text-align: center;
                margin-top: 2%;
            }
            .language-switcher select{
                width: 20%;
                text-align: center;
                align-items: center;
            }
            .btn-register{
                margin-top: 5%;
            }
            .hehe{
                align-items: center;
                text-align: center;
                justify-self: center;
            }
        }
        @media (max-width: 768px)
        {
            .navbar-nav{
                align-items: center;
            }
            .language-switcher{
                text-align: center;
                margin-top: 2%;
            }
            .language-switcher select{
                width: 20%;
                text-align: center;
                align-items: center;
            }
            .btn-register{
                margin-top: 5%;
            }
            .hehe{
                align-items: center;
                text-align: center;
                justify-self: center;
            }
        }
        @media (max-width: 1200px)
        {
            .navbar-nav{
                align-items: center;
            }
            .language-switcher{
                text-align: center;
                margin-top: 2%;
            }
            .language-switcher select{
                width: 20%;
                text-align: center;
                align-items: center;
            }
            .btn-register{
                margin-top: 5%;
            }
            .hehe{
                align-items: center;
                text-align: center;
                justify-self: center;
            }
        }

        /* Custom dropdown arrow */
        .language-switcher::after {
            content: '\25BC';
            /* Unicode for down arrow */
            position: absolute;
            top: 50%;
            right: 10px;
            transform: translateY(-50%);
            color: #001F5B;
            font-size: 12px;
            pointer-events: none;
        }

        /* Flag icons in dropdown */
        .language-switcher select option {
            position: relative;
            padding-left: 30px;
            /* Space for flag */
            background-color: #fff;
            /* White background for options */
            color: #001F5B;
        }

        /* Custom flag styling for selected option */
        .language-switcher select {
            background-position: 10px center;
            /* Position flag in select */
            background-repeat: no-repeat;
            background-size: 20px;
        }
        

        /* .section-title {
            font-size: 2.5rem;
            color: #001F5B;
            text-align: center;
            margin-bottom: 20px;
            margin-top: 20px;
            position: relative;
        }

        .section-title::after {
            content: '';
            width: 80px;
            height: 4px;
            background-color: #1853f5;
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        } */

        /* Hero Section */

        .hero-section {
            position: relative;
            overflow: hidden;
            background: linear-gradient(135deg, rgba(0,0,0,0.3), rgba(0,0,0,0.1)), 
                        url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZGVmcz4KICAgIDxwYXR0ZXJuIGlkPSJncmlkIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiPgogICAgICA8cGF0aCBkPSJNIDQwIDAgTCAwIDAgMCA0MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEiLz4KICAgIDwvcGF0dGVybj4KICA8L2RlZnM+CiAgPHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmlkKSIgLz4KPC9zdmc+') repeat;
            min-height: 100vh;
            display: flex;
            align-items: center;
            background-size: 100px 100px, cover;
            background-position: center;
        }

        .hero-overlay {
            position: relative;
            z-index: 2;
            width: 100%;
            padding: 120px 20px 60px;
            /* background: #33333317; */
            /* backdrop-filter: blur(0.5px); */
        }

        .hero-content {
            max-width: 1400px;
            margin: 0 auto;
            text-align: center;
            position: relative;
            z-index: 3;
        }

        .flag-container {
            display: flex;
            align-items: center;
            justify-content: center;
            /* margin-bottom: 40px; */
            margin-top: 40px;
            position: relative;
            width: 100%;
        }

        .flag-left,
        .flag-right {
            width: 125px;
            height: 140px;
            border-radius: 8px;
            transition: transform 0.3s ease-in-out;
        }

        .flag-left {
            margin-right: 60px;
        }

        .flag-right {
            margin-left: 60px;
        }

        .flag-left:hover,
        .flag-right:hover {
            transform: scale(1.1) rotate(3deg);
        }

        .event-title {
            font-family: 'Arial Black', Arial, sans-serif;
            font-weight: 900;
            font-size: clamp(4rem, 6vw, 6rem);
            text-transform: uppercase;
            /* letter-spacing: 8px; */
            margin: 0;
            color: #0e397e;
            text-shadow: 
                3px 3px 0 #fff,
                4px 4px 0 #fff,
                5px 5px 0 #fff,
                6px 6px 0 #fff,
                7px 7px 0 #fff,
                8px 8px 0 #fff,
                9px 9px 0 #fff,
                10px 10px 0 #fff;
                /* text-shadow: 
    2px 2px 0 #fff,
    3px 3px 0 #fff,
    4px 4px 0 #fff; */

            animation: titleFloat 4s ease-in-out infinite;
            position: relative;
            display: inline-block;
        }

        @keyframes titleFloat {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
        }

        .countdown {
            display: flex;
            justify-content: center;
            gap: 25px;
            margin: 50px 0;
            flex-wrap: wrap;
        }

        .countdown div {
            background: #ffffffd1;
            border: 3px solid #0022c8;
            border-radius: 15px;
            padding: 20px 15px;
            min-width: 100px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .countdown div::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
            transition: left 0.5s ease;
        }

        .countdown div:hover::before {
            left: 100%;
        }

        .countdown div:hover {
            transform: translateY(-8px) scale(1.05);
        }

        .countdown span:first-child {
            display: block;
            font-size: 2.2rem;
            font-weight: 700;
            color: #001F5B;
            /*font-family: 'Arial Black', Arial, sans-serif;*/
            line-height: 1;
        }

        .countdown span:last-child {
            font-size: 0.9rem;
            color: #001F5B;
            font-weight: 600;
            margin-top: 5px;
            display: block;
        }

        .event-details {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-bottom: 14px;
            flex-wrap: wrap;
        }

        .event-detail-box {
            background: #ffffffd1;
            border: 1px solid #0022c8;
            border-radius: 15px;
            padding: 25px 20px;
            width: 320px;
            height: 144px;
            /* box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2); */
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        /* .event-detail-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #D4AF37, #F5C518, #D4AF37);
            background-size: 200% 100%;
            animation: shimmer 2s infinite;
        } */

        @keyframes shimmer {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 0; }
        }

        .event-detail-box:hover {
            transform: translateY(-8px);
        }

        .event-detail-box i {
            font-size: 2.2rem;
            color: #0022c8;
            margin-bottom: 15px;
            display: block;
        }

        .event-detail-box h4 {
            font-size: 1.3rem;
            color: #001F5B;
            margin-bottom: 10px;
            font-weight: 700;
        }

        .event-detail-box p {
            font-size: 0.8rem;
            color: #000;
            font-weight: 400;
        }

        .btn-primary {
            display: inline-block;
            padding: 15px 40px;
            background: #4A90E2;
            color: #000;
            text-decoration: none;
            border-radius: 30px;
            font-weight: 700;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            border: 0px;
        }
        

        .btn-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.5s ease;
        }

        .btn-primary:hover::before {
            left: 100%;
        }

        .btn-primary:hover {
            transform: translateY(-3px) scale(1.05);
            border: 0px;
        }

        /* Confetti Animation */
        .confetti {
            position: absolute;
            width: 10px;
            height: 10px;
            background: #F5C518;
            animation: confetti-fall 3s linear infinite;
        }

        .confetti:nth-child(odd) {
            background: #001F5B;
            animation-delay: -1s;
        }

        .confetti:nth-child(3n) {
            background: #4A90E2;
            animation-delay: -2s;
        }

        @keyframes confetti-fall {
            0% {
                transform: translateY(-100vh) rotate(0deg);
                opacity: 1;
            }
            100% {
                transform: translateY(100vh) rotate(720deg);
                opacity: 0;
            }
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .nav-menu {
                display: none;
            }
            
            .flag-left,
            .flag-right {
                width: 60px;
                height: 40px;
            }
            
            .flag-left {
                margin-right: 30px;
            }
            
            .flag-right {
                margin-left: 30px;
            }
            
            
            .countdown div {
                min-width: 80px;
                padding: 15px 10px;
                min-width: 60px;
            }
            .spandau{
                font-size: 0.8rem !important;
            }
            .flag-container{
                margin-bottom: 20px;
            }

        }
        

/* Scroll Bands */
.scroll-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.scroll-band {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.orange-band-1, .orange-band-2 {
    background: #4A90E2;
    padding: 10px 0;
}

.white-band {
    background: #FFFFFF;
    padding: 10px 0;
}

.scroll-text {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #001F5B;
    animation: scroll 50s linear infinite;
}

.orange-band-1 .scroll-text,
.orange-band-2 .scroll-text {
    color: #001F5B;
}

.white-band .scroll-text {
    color: #001F5B;
}

.right-scroll {
    animation: scrollRight 50s linear infinite;
}

.left-scroll {
    animation: scrollLeft 50s linear infinite;
}

.scroll-text span {
    margin-right: 50px;
}

@keyframes scrollRight {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollLeft {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}



.section-title {
    font-size: 2.8rem;
    color: #001F5B;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 30px;
    position: relative;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: #F5C518;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.8rem;
    color: #001F5B;
    font-weight: 600;
    text-align: center;
}

.about-slider img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.about-slider .swiper-slide:hover img {
    transform: scale(1.05);
}

.about-slider .swiper-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #fff;
    padding: 20px;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.about-slider .swiper-caption p{
    color: #fff;
}

.about-slider .swiper-slide:hover .swiper-caption {
    opacity: 1;
    color: #fff;
    transform: translateY(0);
}

.about-slider .swiper-button-prev,
.about-slider .swiper-button-next {
    color: #F5C518;
    transition: color 0.3s ease;
}

.about-slider .swiper-button-prev:hover,
.about-slider .swiper-button-next:hover {
    color: #D4A017;
}

.about-slider .swiper-pagination-bullet-active {
    background-color: #F5C518 !important;
}

/* Scrolling Bar */
.scrolling-bar {
    /* background: #001F5B; */
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
}

.scrolling-content {
    display: inline-block;
    animation: scroll 50s linear infinite;
}

.scrolling-content span {
    color: #000000;
    font-size: 1rem;
    font-weight: 600;
    margin-right: 30px;
}

.scrolling-content .icon {
    font-size: 1rem;
    vertical-align: middle;
    margin-right: 20px;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* Product Slider Section */
/* .slider-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.slider-row {
    overflow: hidden;
    margin-bottom: 30px;
}

.slider-container {
    display: flex;
    white-space: nowrap;
    padding: 10px 0;
}

.slider-container.right {
    animation: slideRight 20s linear infinite;
}

.slider-container.left {
    animation: slideLeft 20s linear infinite;
}

.product-card {
    flex: 0 0 auto;
    width: 140px;
    height: 80px;
    margin: 0 10px;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card:hover {
    transform: scale(1.05);
}

@keyframes slideRight {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes slideLeft {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.slider-container:hover {
    animation-play-state: paused;
} */

/* Partners Section */
.partner-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 110px;
    flex-wrap: nowrap;
}

.partner-logo {
    max-height: 40px;
    object-fit: contain;
    /* filter: grayscale(100%); */
    opacity: 0.7;
    transition: all 0.3s ease;
    margin: 0;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .partner-row {
        flex-wrap: wrap;
        gap: 20px;
    }
}


/* Contact Section */
.contact-container {
    display: flex;
    gap: 30px;
    margin: 0 auto;
    max-width: 1200px;
    position: relative;
}

.contact-info {
    flex: 1;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.contact-info-title {
    font-size: 1.6rem;
    color: #001F5B;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #F5C518;
    padding-bottom: 10px;
}

.contact-info-list {
    list-style: none;
    padding: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px 15px;
    background: #deeeff;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.contact-item:hover {
    background: #f5f5f5;
    transform: translateX(5px);
}

.contact-item i {
    font-size: 1.8rem;
    color: #4a90e2;
    margin-right: 20px;
    transition: color 0.3s ease;
}

.contact-item:hover i {
    color: #D4A017;
}

.contact-item-content {
    display: flex;
    flex-direction: column;
}

.contact-item-content strong {
    font-size: 1.1rem;
    color: #001F5B;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-item-content span {
    font-size: 1rem;
    color: #333;
    line-height: 1.4;
}

.contact-form {
            flex: 1;
            background: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
        }

        .contact-form:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        }

        .form-title {
            font-size: 1.5rem;
            color: #001F5B;
            margin-bottom: 20px;
            text-align: center;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            border-bottom: 2px solid #F5C518;
            padding-bottom: 8px;
        }

        .form-row {
            display: flex;
            gap: 15px;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }

        .form-group {
            flex: 1;
            min-width: 200px;
            position: relative;
        }

        .form-group.full-width {
            flex: 0 0 100%;
        }

        .form-control {
            border-radius: 5px;
            padding: 10px 10px 10px 35px;
            border: 1px solid #ddd;
            font-size: 0.9rem;
            width: 100%;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }

        .form-control:focus {
            border-color: #0006c0;
            outline: none;
        }

        /* .form-control:invalid:not(:focus):not(:placeholder-shown) {
            border-color: #e74c3c;
            box-shadow: 0 0 5px rgba(231, 76, 60, 0.5);
        } */

        .form-group label {
            font-size: 0.85rem;
            font-weight: 600;
            color: #001F5B;
            margin-bottom: 5px;
            display: block;
        }

        .form-group i {
            position: absolute;
            left: 10px;
            top: 40px;
            color: #666;
            font-size: 1rem;
        }

        .form-group select.form-control {
            padding-left: 35px;
        }

        .checkbox-group {
            display: flex;
            gap: 15px;
            align-items: center;
            flex-wrap: wrap;
        }

        .checkbox-group label {
            margin-bottom: 0;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .btn-submit {
            background: #4a90e2;
            border: none;
            color: #ffffff;
            padding: 10px 30px;
            font-weight: 600;
            border-radius: 25px;
            transition: all 0.3s ease;
            width: 100%;
            text-align: center;
            cursor: pointer;
        }

        .btn-submit:hover {
            background: #357abd;
            transform: scale(1.05);
        }

        .btn-submit:disabled {
            background: #a0c4ff;
            cursor: not-allowed;
        }

        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

        .spinner {
            border: 4px solid #f3f3f3;
            border-top: 4px solid #F5C518;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .success-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

        .success-content {
            background: #fff;
            padding: 20px;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        }

        .checkmark-circle {
            width: 60px;
            height: 60px;
            position: relative;
            margin: 0 auto;
        }

        .checkmark-circle-fill {
            stroke: #4CAF50;
            stroke-width: 2;
            stroke-miterlimit: 10;
            animation: fill 0.4s ease-in-out 0.4s forwards;
        }

        .checkmark-check {
            stroke: #4CAF50;
            stroke-width: 2;
            stroke-dasharray: 48;
            stroke-dashoffset: 48;
            animation: stroke 0.3s ease-in-out 0.3s forwards;
        }

        @keyframes stroke {
            100% { stroke-dashoffset: 0; }
        }

        @keyframes fill {
            100% { fill: #4CAF50; }
        }

        .choices__inner {
            /* padding-left: 35px !important; */
            border-radius: 5px !important;
            border: 1px solid #ddd !important;
        }

        .choices__list--multiple .choices__item {
            background-color: #002da9  !important;
            border: none !important;
            color: #fff !important;
            font-weight: 600;
        }

        .choices__list--dropdown .choices__item--selectable.is-highlighted {
            background-color: #002da9  !important;
            color: #fff !important;
            font-weight: 600;
        }

/* SỬA LỖI: Loading overlay được căn giữa trong form */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 11;
    border-radius: 10px;
    transition: opacity 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #f70404;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* SỬA LỖI: Success overlay được căn giữa và nhỏ lại */
.success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: 10px;
    transition: opacity 0.3s ease;
}

.success-overlay.active {
    opacity: 1;
}

/* Giảm kích thước checkmark */
.checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
}

.checkmark svg {
    width: 100%;
    height: 100%;
}

.checkmark-circle {
    stroke: #4CAF50;
    stroke-width: 2;
    stroke-miterlimit: 10;
}

.checkmark-circle-fill {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    stroke: #4CAF50;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: checkmark 0.5s ease-in-out 0.3s forwards;
}

@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}

@keyframes checkmark {
    0% { stroke-dashoffset: 48; }
    100% { stroke-dashoffset: 0; }
}

.success-content {
    text-align: center;
    transform: scale(0.8);
    animation: scaleUp 0.4s ease-in-out forwards;
}

/* Giảm kích thước text trong success message */
.success-content p {
    font-size: 1rem;
    color: #001F5B;
    margin-top: 10px;
    font-weight: 500;
    max-width: 300px;
    line-height: 1.4;
}

@keyframes scaleUp {
    to { transform: scale(1); }
}

@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-info, .contact-form {
        padding: 20px;
    }

    .contact-info-title, .form-title {
        font-size: 1.5rem;
    }

    .contact-item {
        margin-bottom: 15px;
    }

    .contact-item-content strong {
        font-size: 1rem;
    }

    .contact-item-content span {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .contact-info-title, .form-title {
        font-size: 1.3rem;
    }

    .contact-item i {
        font-size: 1.5rem;
    }

    .contact-item-content strong {
        font-size: 0.95rem;
    }

    .contact-item-content span {
        font-size: 0.85rem;
    }

    .btn-submit {
        padding: 10px 30px;
    }

    .spinner {
        width: 40px;
        height: 40px;
    }

    .success-content p {
        font-size: 1rem;
    }
}
/* Footer */
/* .footer {
    background-color: #2c1d4a;
    color: white;
    padding: 80px 0 30px;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
}

.company-section {
    margin-bottom: 30px;
}

.footer-logo img {
    max-width: 300px;
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

.company-name {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.company-tagline {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

.info-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.info-badge {
    margin-right: 15px;
    font-size: 1.2rem;
    color: #F5C518;
}

.info-row strong {
    font-size: 1rem;
    color: #F5C518;
}

.social-section1 {
    margin-top: 20px;
}

.social-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.social-links a {
    color: #F5C518;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #D4A017;
}

.footer-section {
    margin-bottom: 30px;
}

.section-title1 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #F5C518;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-link i {
    margin-right: 10px;
    color: #F5C518;
}

.footer-link:hover {
    color: #F5C518;
}

.footer-divider {
    border-top: 2px solid rgba(245, 197, 24, 0.2);
    margin: 30px 0;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
}

.copyright-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-bottom a {
    color: #F5C518;
    text-decoration: none;
    font-size: 0.9rem;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #D4A017;
} */

/* Popups */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.popup-content {
    position: relative;
    max-width: 50%;
    max-height: 90%;
    background: transparent;
    border-radius: 10px;
    text-align: center;
}

.popup-content img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 10px;
}

.industry-popup-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    color: #001F5B;
    display: flex;
    gap: 20px;
}

.content-left {
    flex: 1;
}

.image-right img {
    max-width: 300px;
    border-radius: 10px;
}

.close-btn {
    position: absolute;
    top: -10px;
    right: 5px;
    color: #000;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #dc0049;
}

/* Back to Top and QR Code */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #003087;
    border-radius: 20px;
    width: 70px;
    max-width: 70px;
    height: 50px;
    display: flex;
    align-items: center;    
    justify-content: center;
    cursor: pointer;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.scroll-to-top:hover {
    opacity: 1;
    transform: scale(1.1);
}

.qr-code {
    position: absolute;
    top: -125px;
    left: 45%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    object-fit: contain;
    cursor: pointer;
}

.scroll-to-top i {
    font-size: 1.2rem;
    color: #ffffff;
}

.qr-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.qr-popup.show {
    display: flex;
}

.qr-popup-content {
    position: relative;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code-large {
    max-width: 400px;
    max-height: 400px;
    object-fit: contain;
}

.qr-popup .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
}

.qr-popup .close-btn:hover {
    color: #F5C518;
}

/* Newsletter Popup */
.gfair-trendy-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.gfair-trendy-content {
    background: #fff;
    display: flex;
    max-width: 1050px;
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    position: relative;
}

.gfair-trendy-left {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.gfair-trendy-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gfair-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
    z-index: 1001;
}

.gfair-close-btn-inside {
    position: absolute;
    top: 10px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #2a2a2a;
    z-index: 1002;
}

.gfair-trendy-right {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.gfair-trendy-title {
    font-size: 28px;
    margin-bottom: 15px;
    color: #e63946;
    font-weight: 700;
}

.gfair-trendy-desc {
    font-size: 16px;
    margin-bottom: 25px;
    color: #2a2a2a;
    max-width: 80%;
}

.gfair-trendy-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 70%;
}

.gfair-trendy-input {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.gfair-trendy-submit {
    padding: 12px;
    background-color: #e63946;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.gfair-trendy-submit:hover {
    background-color: #d62828;
}

.gfair-social-links {
    margin-top: 25px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.gfair-social-links a {
    color: #2a2a2a;
    font-size: 28px;
    text-decoration: none;
    transition: color 0.3s;
}

.gfair-social-links a:hover {
    color: #e63946;
}

.gfair-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1003;
}

.gfair-loading-spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #e63946;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

.gfair-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1003;
    text-align: center;
}

.gfair-success-checkmark .checkmark-circle {
    stroke: #4CAF50;
    stroke-width: 2;
}

.gfair-success-checkmark .checkmark-check {
    stroke: #4CAF50;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: checkmark 0.5s ease-in-out forwards;
}

.gfair-success-message {
    font-size: 18px;
    color: #2a2a2a;
    margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .countdown span:first-child{
        font-size: 1.4rem;
    }
    .intro-signature {
        width: 90%;
        height: 150px;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .navbar-brand img {
        height: 40px;
    }

    .nav-link {
        margin: 0 10px;
        font-size: 0.9rem;
    }

    .event-title {
        font-size: 1.4rem;
        text-shadow: none !important;
    }


    .countdown div {
        padding: 8px 12px;
    }

    .countdown span {
        font-size: 1.2rem;
    }

    .countdown span:nth-child(2) {
        font-size: 0.7rem;
    }


    .event-detail-box i {
        font-size: 1.5rem;
    }

    .event-detail-box h4 {
        font-size: 0.9rem;
    }

    .event-detail-box p {
        font-size: 0.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1.2rem;
    }

    .about-slider img {
        height: 200px;
    }

    .timeline-slide {
        flex-direction: column;
    }

    .timeline-image img {
        max-width: 100%;
    }

    .contact-container {
        flex-direction: column;
    }

    .contact-form {
        padding: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .footer .col-lg-4,
    .footer .col-lg-2 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .partner-logo {
        max-height: 50%;
        max-width: 50%;
        margin: 0 10px;
    }

    .scroll-to-top {
        bottom: 0px !important;
        right: 10px !important;
        width: 40px;
        height: 40px;
    }

    .qr-code {
        width: 60px;
        height: 60px;
        top: -65px !important;
        left: 15px !important;
    }

    .scroll-to-top i {
        font-size: 1rem;
    }

    .gfair-trendy-left {
        height: 300px;
    }

    .gfair-trendy-right {
        padding: 20px;
    }

    .gfair-trendy-form {
        width: 100%;
    }
}

@media (max-width: 540px)
{
    .partner-logo {
        max-height: 50%;
        max-width: 50%;
        margin: 0 10px;
    }
    .countdown{
        margin: 20px 0 !important;
    }
    .spandau{
        font-size: 0.8rem !important;

    }
    .main-title {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 0.7rem;
    }

    .event-title {
        font-size: 1.2rem;
        text-shadow: none;
    }
    .flag-container{
        margin-bottom: 20px;
    }
    .event-details{
        flex-wrap: nowrap;
        gap: 10 !important;
        margin-bottom: 20px !important;
    }
    .countdown{
        gap: 5px !important;
        margin: 20px 0 !important;
    }
}



@media (max-width: 480px) {
    .partner-logo {
        max-height: 50%;
        max-width: 50%;
        margin: 0 10px;
    }
    .countdown{
        margin: 20px 0 !important;
    }
    .spandau{
        font-size: 0.8rem !important;

    }
    .main-title {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 0.7rem;
    }

    .event-title {
        font-size: 1.4rem;
        text-shadow: none;
    }
    .flag-container{
        margin-bottom: 20px;
    }

    .countdown {
        gap: 5px;
    }


    .event-details {
        gap: 15px;
        flex-wrap: nowrap;
    }

    .scroll-to-top {
        bottom: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }

    .qr-code {
        width: 60px;
        height: 60px;
        top: -65px !important;
        left: 15px !important;
    }

    .scroll-to-top i {
        font-size: 0.9rem;
    }
    .qr-popup-content
    {
        max-width: 80% !important;
        max-height: 80% !important;
    }
    .qr-code-large{
        max-width: 80% !important;
        max-height: 80% !important;
    }
}
.scroll-container, .scroll-band, .slider-container {
    max-width: 100%;
    /* overflow: hidden; */
}
.scroll-text, .scrolling-content {
    max-width: 100%;
}
.scroll-container, .scroll-band, .slider-container, .scrolling-bar {
    max-width: 100%;
    /* overflow: hidden; */
}
.scroll-text, .scrolling-content {
    max-width: 100%;
    white-space: nowrap; /* Giữ nguyên nếu cần animation, nhưng giới hạn nội dung */
}
.scroll-text span, .scrolling-content span {
    display: inline-block;
    max-width: 100%;
}
.slider-row, .product-card {
    max-width: 100%;
    overflow: hidden;
}
.logo-scroll-container, .company-logo-scroll-section {
    max-width: 100%;
     overflow: hidden; 
}
.navbar{
    max-width: 100%;
    overflow: hidden;
}
@media (max-width: 480px) {
    .product-card{
        width: 20%;
    }
    .info-image {
        margin-top: 10%;
    margin-bottom: 10%;
    }
    .trongquy{
        flex-wrap: wrap !important;
    }
    .calendar-map-row{
        flex-wrap: wrap !important;
    }
    .venue-logo{
        max-width: 60%;
    }
    .gfair-video{
        width: 80% !important;
        height: 60% !important;
    }
    .legend{
        justify-content: flex-start !important;
    }
    .banner-text{
        font-size: 0.8rem !important;
    }
    .commitment-banner {
        max-height: 340px !important;
    }
    .timeline-content h2{
        font-size: 1.8rem !important;
    }
    .custom-overlay h3{
        font-size: 1rem !important;
    }
    .intro-overlay {
        padding: 10px;
    }
    .intro-signature {
        width: 95%;
        height: 120px; /* Giảm kích thước chữ ký trên màn hình nhỏ */
    }
    .main-title {
        font-size: 2rem; /* Đã có, nhưng đảm bảo đồng nhất */
        letter-spacing: 1px;
    }
    .subtitle {
        font-size: 0.8rem; /* Đã có, nhưng đảm bảo đồng nhất */
    }
}

@media (max-width: 360px) {
    .partner-logo {
        max-height: 50%;
        max-width: 50%;
        margin: 0 10px;
    }
    .product-card{
        width: 20%;
    }
    .info-image {
        margin-top: 10%;
    margin-bottom: 10%;
    }
    .trongquy{
        flex-wrap: wrap !important;
    }
    .calendar-map-row{
        flex-wrap: wrap !important;
    }
    .venue-logo{
        max-width: 60%;
    }
    .spandau{
        font-size: 0.8rem !important;
    }
    .intro-signature {
        height: 100px; /* Giảm thêm cho màn hình siêu nhỏ */
    }
    .main-title {
        font-size: 1.5rem;
    }
    .subtitle {
        font-size: 0.7rem;
    }
}
@media (max-width: 768px) {
    .info-image {
        margin-top: 10%;
    margin-bottom: 10%;
    }
    .trongquy{
        flex-wrap: wrap !important;
    }
    .calendar-map-row{
        flex-wrap: wrap !important;
    }
    .venue-logo{
        max-width: 60%;
    }
    .gfair-video{
        width: 80%;
    height: 60%;
    }
    .scroll-text {
        font-size: 1rem; /* Giảm kích thước chữ */
    }
    .scroll-text span {
        margin-right: 30px; /* Giảm khoảng cách giữa các span */
    }
}

@media (max-width: 480px) {
    .scroll-text {
        font-size: 0.9rem;
    }
    .scroll-text span {
        margin-right: 20px;
    }
}

@media (max-width: 360px) {
    .scroll-text {
        font-size: 0.8rem;
    }
    .scroll-text span {
        margin-right: 15px;
    }
}
@media (max-width: 768px) {
    .about-slider .swiper-caption {
        padding: 10px;
        font-size: 0.9rem;
    }
    .about-slider .swiper-caption p {
        font-size: 0.8rem;
        line-height: 1.3;
        max-height: 60px; /* Giới hạn chiều cao */
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 480px) {
    .about-slider .swiper-caption {
        padding: 8px;
        font-size: 0.8rem;
    }
    .about-slider .swiper-caption p {
        font-size: 0.7rem;
        max-height: 50px;
    }
}
@media (max-width: 480px) {
    .event-detail-box {
        padding: 15px;
        min-width: 30%;
    }
    .event-detail-box h4 {
        font-size: 0.85rem;
    }
    .event-detail-box p {
        font-size: 0.5rem;
    }
}

@media (max-width: 360px) {
    .event-detail-box {
        min-width: 30%;
        padding: 10px;
    }
    .event-detail-box h4 {
        font-size: 0.8rem;
    }
    .event-detail-box p {
        font-size: 0.5rem;
    }
}
@media (max-width: 768px) {
    .confetti {
        display: none; /* Tắt confetti trên thiết bị nhỏ để cải thiện hiệu suất */
    }
}
@media (max-width: 768px) {
    .language-switcher select {
        padding: 6px 20px 6px 30px;
        font-size: 14px;
        min-width: 80px;
    }
    .language-switcher::after {
        font-size: 10px;
        right: 8px;
    }
}

@media (max-width: 480px) {
    .language-switcher select {
        padding: 5px 15px 5px 25px;
        font-size: 12px;
        min-width: 70px;
    }
    .language-switcher::after {
        font-size: 9px;
        right: 6px;
    }
}
@media (max-width: 992px) {
    .footer-main {
        padding: 40px 20px;
    }
    .company-name {
        font-size: 1.5rem;
    }
    .company-tagline {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 30px 15px;
    }
    .footer-logo img {
        max-width: 200px;
    }
    .company-name {
        font-size: 1.3rem;
    }
    .company-tagline {
        font-size: 0.8rem;
    }
    .social-links a {
        font-size: 1.2rem;
    }
    .footer-link {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .footer-logo img {
        max-width: 150px;
    }
    .company-name {
        font-size: 1.1rem;
    }
    .company-tagline {
        font-size: 0.7rem;
    }
    .social-links a {
        font-size: 1rem;
    }
    .footer-link {
        font-size: 0.7rem;
    }
}
@media (max-width: 768px) {
    .product-card {
        width: 20%;
    }
}

@media (max-width: 480px) {
    .product-card {
        width: 100px;
        height: 60px;
    }
}

@media (max-width: 360px) {
    .product-card {
        width: 80px;
        height: 50px;
    }
}
@media (max-width: 768px) {
    .popup-content {
        max-width: 90%;
        max-height: 80%;
    }
    .industry-popup-content {
        flex-direction: column;
        gap: 10px;
    }
    .image-right img {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .popup-content {
        max-width: 95%;
        max-height: 75%;
    }
    .image-right img {
        max-width: 150px;
    }
}
/* Cải thiện hiệu suất animation trên thiết bị yếu */
@media (prefers-reduced-motion: reduce) {
    .confetti,
    .scroll-text,
    .scrolling-content,
    .slider-container {
        animation: none; /* Tắt animation để cải thiện hiệu suất */
    }
}