.contact-hero {
    padding-top: 5.5rem;
    padding-bottom: 4rem;
    min-height: auto;
}

.contact-form-section {
    padding: 4rem 5%;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    gap: 4rem;
    align-items: center;
    justify-content: space-between;
}

.contact-text-col {
    flex: 1;
    min-width: 300px;
}

.contact-text-col h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #000;
}

.highlight-red-text {
    color: #a00000;
}

.contact-desc {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    max-width: 450px;
}

.contact-form-col {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: flex-end;
}

.form-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 500px;
    border: 1px solid #eee;
}

.form-group {
    margin-bottom: 1.2rem;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    color: #888;
    position: absolute;
    top: 1rem;
    left: 1.1rem;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 10;
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
    opacity: 0;
    visibility: hidden;
}

.required {
    color: #a00000;
    margin-left: 2px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95rem;
    outline: none;
    background-color: #fcfcfc;
    transition: border-color 0.2s;
    font-family: 'Inter', sans-serif;
    color: #333;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #a00000;
    background-color: #fff;
}

.submit-btn {
    width: 100%;
    background-color: #a00000;
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: #800000;
}

.feature-releases-section {
    background-color: #FFF5F5;
    padding: 3rem 5%;
    border-top: 1px solid #ffebeb;
}

.release-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.release-text {
    flex: 2;
    min-width: 300px;
}

.release-text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #000;
}

.release-text p {
    font-size: 1rem;
    color: #444;
    max-width: 700px;
}

.release-action {
    flex: 0 0 auto;
}

.subscribe-btn {
    background-color: #a00000;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.subscribe-btn:hover {
    background-color: #800000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(160, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .contact-text-col h2 {
        font-size: 2.5rem;
    }

    .contact-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-form-col {
        width: 100%;
        justify-content: center;
    }

    .release-content {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

/* --- 3D FLOATING DECORATIONS --- */
.page-content {
    position: relative;
    overflow: hidden;
}

.contact-header-new {
    position: relative;
}

.decor-contact-top-left {
    position: absolute;
    top: 50px;
    left: -10px;
    width: 170px;
    --base-rotation: deg;
}

.decor-contact-star-right {
    position: absolute;
    top: 30px;
    right: -60px;
    width: 150px;
    --base-rotation: 180deg;
    --image-rotation: 360deg;
}

.decor-contact-right {
    position: absolute;
    bottom: 5%;
    right: -100px;
    width: 220px;
    --base-rotation: 180deg;
    --image-rotation: 180deg;
}

@media (max-width: 1024px) {
    /* keep star decorations visible on contact page */
}

/* Contact star decorations: absolute within sections (not sticky) */
.floating-decor.star-decor,
.decor-contact-top-left.star-decor,
.decor-contact-star-right.star-decor {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.floating-decor.star-decor img,
.decor-contact-top-left.star-decor img,
.decor-contact-star-right.star-decor img {
    display: block;
    height: auto;
}

/* Add 3D float behavior like homepage for contact page stars */
.floating-decor {
    --image-rotation: 0deg;
}

.floating-decor img {
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.08));
    animation: floatDecor 9s ease-in-out infinite alternate;
    transform-style: preserve-3d;
    transform-origin: center center;
}

@keyframes floatDecor {
    0% {
        transform: translateY(0) rotate(calc(var(--base-rotation, 0deg) + var(--image-rotation, 0deg))) rotateY(-8deg) rotateX(8deg) scale(1);
    }

    50% {
        transform: translateY(-25px) rotate(calc(var(--base-rotation, 0deg) + var(--image-rotation, 0deg) + 6deg)) rotateY(12deg) rotateX(-8deg) scale(1.02);
    }

    100% {
        transform: translateY(0) rotate(calc(var(--base-rotation, 0deg) + var(--image-rotation, 0deg))) rotateY(-8deg) rotateX(8deg) scale(1);
    }
}