.popup-form-container {
    position: fixed;
    inset: 0;
    width: 100%;
    /* height: 100%; */
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    z-index: 9999;
}

.popup-form {
    background-image: url('/static/images/banner/banner5.webp');
    background-size: cover;
    /* background-position: bottom right; */
    /* background: #ffffff; */
    position: relative;
    max-width: 720px;
    /* max-height: 540px; */
    width: 95%;
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.25),
        0 10px 30px rgba(0, 0, 0, 0.15);
    animation: popupReveal 0.6s cubic-bezier(.16, 1, .3, 1);
}
.popup-grid{
    display: grid;
    grid-template-columns: 4fr 4fr;
}
.form-side{
    padding:8px;
}
.form-box {
    box-sizing: border-box;
    padding: 12px 16px;
    border-radius: 16px;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.25),
        0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    
    background-color: #fff;
    z-index: 2;
    height: fit-content
}

.contact-pop {
    height: 100%;
    /* max-height:700px; */
}

.contact-pop img {
    object-position: top;
}

.popup-form .form {
    padding: 0;
}

.popup-form .form-item {
    margin-bottom: 12px;
}

.popup-form .form-item label {
    font-size: 12px;
}

.popup-form .form-item input,
.popup-form .form-item textarea {
    border: none;
    font-size: 14px;
    border: 1px solid #dcdcdc;
    width: 100%;
    margin-top:4px;
    border-radius: 6px;
    padding: 8px 4px;
    font-size: 14px;
    background: transparent;
    transition: all .3s ease;
}

.popup-form .form-item input:focus,
.popup-form .form-item textarea:focus {
    outline: none;
    border-bottom: 1px solid #c59b63;
    padding-left: 8px;
}

.popup-form .form-item button {
    /* border-radius:12px; */
    padding: 12px 0;
}

.popup-close {
    position: absolute;
    right: 10px;
    top: 24px;
    font-size: 22px;
    border: none;
    background: none;
    cursor: pointer;
    color: #000000ac;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px inset #9e7833;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease;
}

.popup-close:hover {
    background-color: #9e7833;
    color: #ffffff;
}
.popup-open{
    position: fixed;
    right:0;
    top:60%;
    z-index: 50;
    transform: translateY(-50%) rotate(-180deg);
    padding:36px 12px;
    border-radius:0 12px 12px 0;
    background-color:#9e7833;
    color:#fff;
    writing-mode: vertical-rl;
    cursor: pointer;
    transition: all .3s ease;
}
.popup-open:hover{
    background-color: #9e7833;
    padding:44px 12px;
}
.form-btn{
    width: 100%;
    padding: 20px;
    background: var(--primary-dark);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.25s;
    margin-top: 8px;
}
.d-none{
    display: none;
}
@keyframes popupReveal {
    from {
        opacity: 0;
        transform: scale(.9) translateY(40px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
@media (min-width: 992px) {

    .form-box{
        left: -12px;
    }
}
