.titlu-contact {
    color: #003366;
    font-size: 2.5rem;
    text-align: center;
    margin-top: 85px;
    margin-bottom: 10px;
    font-weight: bold;
}

.contact-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px; 
    max-width: 1100px;
    margin: 30px auto 50px auto;
    padding: 20px;
    flex-wrap: wrap; 
}

.form-card {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05); 
    flex: 1;
    min-width: 320px;
    max-width: 450px;
}

.form-card input, 
.form-card textarea {
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 20px;
    border: none;
    background-color: #f8f9fa; 
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    font-family: inherit;
    box-sizing: border-box;
    outline: none;
    transition: background-color 0.3s ease;
}

.form-card input:focus, 
.form-card textarea:focus {
    background-color: #efeff1;
}

.form-card textarea {
    height: 120px;
    resize: none; 
}

.form-actions {
    display: flex;
    justify-content: flex-end; 
    margin-top: 10px;
}

.btn-trimite {
    background-color: #00d2ff; 
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    border-radius: 30px; 
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-trimite:hover {
    background-color: #00bce6;
    transform: translateY(-2px);
}

.success-message {
    display: block;
    margin-top: 15px; 
    font-size: 0.9rem;
    color: #333; 
    text-align: right; 
    font-weight: bold;
}

.text-right {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
}

.titlu-text {
    color: #003366; 
    font-size: 2.5rem; 
    line-height: 1.3;
    margin: 0;
    text-align: center; 
    font-weight: bold;
}

@media (max-width: 768px) {
    .contact-section {
        flex-direction: column; 
        gap: 40px;
    }
    
    .titlu-contact {
        font-size: 1.7rem; 
    }

    .titlu-text {
        font-size: 1.7rem; 
    }
}