.contact-section {
    max-width: 1600px;
    margin: 5rem auto;
    padding: 0 2rem 5rem;
}

.contact-header {
    margin-bottom: 2.5rem;
}

.contact-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-top: 0.3rem;
    line-height: 1.1;
}

.contact-subtitle {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.8;
    margin-top: 0.75rem;
    max-width: 480px;
}

.contact-card {
    background-color: #141418;
    border: 1px solid #222228;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    background-color: #0d0d0f;
    border: 1px solid #2a2a30;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    color: #e0e0e0;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 300;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input::placeholder,
textarea::placeholder {
    color: #3a3a40;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #39ff14;
    box-shadow: 0 0 0 3px rgba (57, 255, 20, 0.08);
}

textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.7;
}

.select-wrapper {
    position: relative;
}

select {
    width: 100%;
    background-color: #0d0d0f;
    border: 1px solid #2a2a30;
    border-radius: 8px;
    padding: 0.85rem 2.5rem 0.85rem 1rem;
    color: #e0e0e0;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 300;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

select:focus {
    border-color: #39ff14;
    box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.08);
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #39ff14;
}

.btn-submit {
    align-self: flex-start;
    background-color: #39ff14;
    color: #0d0d0f;
    border: none;
    border-radius: 8px;
    padding: 0.85rem 2rem;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-submit:hover {
    background-color: #2be010;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(57, 255, 20, 0.25);
}

.btn-submit:active {
    transform: translateY(0);
    box-shadow: none;
}

@media (min-width: 769px) and (max-width: 1199px) {
    .contact-section {
        max-width: 560px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        margin: 2rem auto;
        padding: 0 1.5rem 3rem;
    }

    .contact-card{
        font-size: 2rem;
    }

    .contact-title {
        font-size:2rem;
    }

    .btn-submit {
        width: 100%;
        align-self: stretch;
        text-align: center;
    }
}