* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body, html {
    width: 100%;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", sans-serif;
    background-color: #000;
    overflow: hidden;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the container while preserving aspect ratio */
    object-position: center; /* Center the image if it's wider than the container */
    z-index: 1;
}

/* Contact Form Styling - Oriental Luxury Theme */
.form-container {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 400px;
    background: rgba(31, 38, 51, 0.95); /* Deep Navy Blue-Grey #1F2633 */
    border: 1px solid rgba(200, 160, 99, 0.3); /* Muted Gold Border */
    border-radius: 4px; /* Sharper corners for a "card" feel */
    padding: 35px 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 0.8s ease-out forwards;
    margin-bottom: 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(200, 160, 99, 0.2);
    padding-bottom: 15px;
}

.form-header h2 {
    color: #C8A063; /* Muted Gold Text */
    font-family: "Songti SC", "Noto Serif SC", "SimSun", serif; /* Serif font for title */
    font-size: 26px;
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 2px;
}

.form-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 300;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #C8A063; /* Gold labels */
    margin-bottom: 8px;
    font-weight: 500;
    font-family: "Songti SC", "Noto Serif SC", "SimSun", serif;
}

.form-group input[type="text"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(200, 160, 99, 0.2); /* Subtle Gold border */
    border-radius: 2px; /* Sharp corners */
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
    background: rgba(20, 24, 32, 0.6); /* Very dark bg */
    color: #fff;
    font-family: inherit;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.form-group input:focus {
    border-color: #C8A063;
    background: rgba(20, 24, 32, 0.9);
    box-shadow: 0 0 0 1px rgba(200, 160, 99, 0.3);
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    font-size: 13px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 14px;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
}

.checkbox-group input {
    margin-right: 8px;
    accent-color: #CC0000; /* Red checkbox */
}

.checkbox-group label:has(input:checked) {
    background: rgba(204, 0, 0, 0.1); /* Red tint */
    color: #C8A063; /* Gold text */
    border-color: #C8A063;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: #CC0000; /* Chinese Red */
    color: #fff;
    border: none;
    border-radius: 2px;
    font-size: 18px;
    font-family: "Songti SC", "Noto Serif SC", "SimSun", serif;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.3);
    transition: all 0.3s;
    letter-spacing: 4px;
}

.submit-btn:hover {
    background: #B30000;
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.5);
}

.submit-btn:active {
    transform: translateY(1px);
}

/* Pagination & Navigation */
.arrow-up {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    color: #fff; /* Assuming dark backgrounds, otherwise change to black or mix-blend-mode */
    animation: bounce 2s infinite;
    pointer-events: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Hide arrow on last slide */
.swiper-slide:last-child .arrow-up {
    display: none;
}
