.parallax-bg::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 1));
    pointer-events: none;
}

.gamezone-hero {
    position: fixed;
    top: 10%;
    left: 0;
    width: 100%;
    height: 80vh;
    background-image: url('../images/contact-us-banner.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    /* background-attachment: fixed; */
    z-index: -1;
}

.gamezone-content {
    position: relative;
    z-index: 1;
    margin-top: auto;
    background: white;
    overflow-x: hidden;
}

.parallax-bg::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 1));
    pointer-events: none;
}

/* ================= MOBILE VIEW FIX ================= */
@media (max-width: 600px) {
    .gamezone-hero {
        position: relative;
        /* allow it to scroll normally */
        height: 40vh;
        /* reduce height on mobile */
        background-attachment: scroll;
        /* disable parallax on mobile for performance */
    }

    .parallax-bg::after {
        height: 10px;
        /* smaller gradient fade on mobile */
    }

    .gamezone-content {
        margin-top: 0;
        /* remove auto top margin on mobile */
    }
}

/* ================= MOBILE VIEW FIX ================= */
@media (max-width: 600px) {
    .gamezone-hero {
        position: relative;
        /* allow it to scroll normally */
        height: 40vh;
        /* reduce height on mobile */
        background-attachment: scroll;
        /* disable parallax on mobile for performance */
    }

    .parallax-bg::after {
        height: 10px;
        /* smaller gradient fade on mobile */
    }

    .gamezone-content {
        margin-top: 0;
        /* remove auto top margin on mobile */
    }
}


/******************************************** Contact section  **********************/

.contact-section {
    padding: 60px 5%;
    background-color: #101010;
    /* Base dark background */
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.08) 3px, transparent 3px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 3px, transparent 3px);
    background-size: 100px 100px;
    /* Size of each grid cell */
    background-position: center;
    margin-top: 70vh;
}

@media (max-width: 600px) {
    .contact-section {
        margin-top: 0;
    }
}

.contact-wrapper {
    display: flex;
    gap: 40px;
    background: #fff;
    color: #333;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    flex-wrap: wrap;
}

/* Form */
.contact-form {
    flex: 1;
    min-width: 320px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: #000;
}

.section-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #555;
}

.form-group {
    margin-bottom: 15px;
    position: relative;
}

input,
textarea {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s ease;
}

input:focus,
textarea:focus {
    border-color: #6a00ff;
}

textarea {
    resize: none;
}

.has-error {
    border-color: #ff4d4d !important;
    box-shadow: 0 0 0 1px rgba(255, 77, 77, 0.5);
}

.error-msg {
    color: #ff4d4d;
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
    line-height: 1.2;
}


.privacy-note {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: #555;
}

.privacy-note a {
    color: #6a00ff;
    text-decoration: none;
}

.btn.primary-btn {
    background: linear-gradient(90deg, #6a00ff, #a800ff);
    color: #fff;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn.primary-btn:hover {
    background: linear-gradient(90deg, #a800ff, #6a00ff);
}

/* Info section */
.contact-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.map-container iframe {
    border-radius: 12px;
}

.info-cards {
    background: #f8f6ff;
    border-radius: 12px;
    padding: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    margin-bottom: 12px;
}

.icon-size {
    font-size: 20px;
    width: 45px;
    height: 45px;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-wrapper {
        flex-direction: column;
    }
}