.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    width: 100%;
    padding: 78px 0;
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 650px;
    width: 100%;
    margin: 0 auto;
}

.contact-form-items {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 300px;
}

.contact-form-items.full-width {
    width: 100%;
    max-width: 100%;
}

label {
    color: #28292b;
    font-size: 16px;
    font-weight: 400;
    margin: 5px 6px;
}

.contact-form .form-input,
.contact-form textarea {
    border-radius: 10px;
    font-size: 16px;
    padding: 12px;
    border: none;
    background-color: #f5f5f5;
    width: 100%;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    overflow-y: auto;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    padding-top: 60px;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-height: 80vh;
    /* Ekranın %80'ine kadar boyutlandırma */
    overflow-y: auto;
    /* İçerik taşarsa kaydırma çubuğu ekler */
    gap: 1rem;
}

.close-btn {
    color: #000;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 10px;
    top: 10px;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.show-privacy-policy {
    font-size: 14px;
    margin-top: 0.5rem;
    text-decoration: underline;
    cursor: pointer;
}

@media (max-width: 900px) {
    .header-content {
        line-height: 50px;
    }

    .contact-container {
        padding: 35px 0;
    }

    .modal {
        padding-top: 10px;
    }

    .modal-content {
        width: 95%;
        max-height: 70vh;
        overflow: auto;
        max-height: 100%;
        padding-bottom: 3rem;
    }

    .contact-form {
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    .text-content {
        margin-bottom: 0;
    }

    .contact-form-items {
        max-width: 80%;
    }

    .full-width {
        max-width: 80% !important;
    }

    .close-btn {
        color: #000;
        font-size: 33px;
        font-weight: bold;
        position: absolute;
        right: 1.5rem;
        top: 2rem;
    }
}