.contact-form-container {
    font-family: "Inter", -apple-system, "Segoe UI", sans-serif;
    background-color: #0F1125;
    /* Matches the site's dark theme */
    color: #ffffff;
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-form-wrapper {
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.contact-form-title {
    font-family: "Inter", -apple-system, "Segoe UI", sans-serif;
    text-align: center;
    font-size: clamp(28px, 3.2vw, 54px);
    font-weight: 700;
    margin: 0 0 0 0;
    background: linear-gradient(90deg, #8CB5FF 0%, #FFFFFF 38%, #739CE2 72%, #FFFFFF 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: gradient-flow 7s
}

.contact-form-subtitle {
    font-size: 18px;
    color: #e0e0e0;
    margin: 0;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form-row {
    display: flex;
    gap: 1rem;
}

.contact-form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-form-input,
.contact-form-textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 6px !important;
    padding: 0.85rem 1.05rem !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease !important;
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
    border-color: #8CB5FF !important;
    background-color: rgba(255, 255, 255, 0.04) !important;
    box-shadow: 0 0 8px rgba(140, 181, 255, 0.12) !important;
}

.contact-form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-submit {
    background: linear-gradient(90deg, #4F80FF 0%, #4873B7 100%);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 1rem;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.contact-form-submit::after {
    content: "";
    display: inline-block;
    width: 6rem;
    height: 3rem;
    background-image: url('../../images/rocket_icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 0.5rem;
    margin-left: 1rem;
}

html[dir="rtl"] .contact-form-submit::after {
    transform: rotate(180deg);
    margin-right: 1rem;
    margin-left: 0.5rem;
}

.contact-form-submit:hover {
    opacity: 0.9;
}

.contact-form-submit:active {
    transform: scale(0.98);
}

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

    .contact-form-title {
        font-size: 2rem;
    }
}