.membership-section {
    text-align: center;
    padding-bottom: 5%;
    background: #a460240f;
}

.membership-title {
    color: #7a3e00;
    font-size: 26px;
    margin-bottom: 20px;
}

.membership-btn {
    background: #6b3b0f;
    color: #fff;
    border: none;
    padding: 14px 35px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
}

.membership-btn:hover {
    background: #8a4b14;
}

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-box {
    background: #fff;
    width: 420px;
    padding: 30px;
    border-radius: 12px;
    position: relative;
    animation: modalScale 0.3s ease;
}

@keyframes modalScale {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 10px;
    left: 10px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.modal-title {
    text-align: center;
    margin-bottom: 20px;
    color: #6b3b0f;
}

/* ===== Form ===== */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 14px;
    color: #444;
}

.form-input {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.phone-wrapper {
    display: flex;
    gap: 8px;
    direction: ltr;
}

.country-code-select {
    width: 120px;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    cursor: pointer;
    direction: rtl;
}

.phone-input {
    flex: 1;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.form-submit {
    background: #6b3b0f;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
}

.form-submit:hover {
    background: #8a4b14;
}