#contact-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    padding: 30px 20px;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

#contact-popup.is-open {
    display: flex;
}

.contact-popup-dialog {
    position: relative;
    width: 100%;
    max-width: 1140px;
    margin: auto;
    padding: 30px;
    border-radius: 30px;
    background: linear-gradient(105.11deg, rgba(3, 42, 16, 0.8) 1.51%, rgba(18, 18, 18, 0.65) 49.93%, rgba(3, 42, 16, 0.5) 98.36%);
    backdrop-filter: blur(22px);
    box-shadow: 0px 0px 15px 0px #0000001A;
}

.contact-popup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    z-index: 1;
    width: 50px;
    height: 50px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 100%;
    background: #FFFFFF;
    box-shadow: 0px 0px 20px 0px #00000040;
    cursor: pointer;
}

.contact-popup-title {
    margin-bottom: 15px;
    color: #ffffff;
    font-size: 50px;
    font-weight: 600;
    line-height: 1.2;
}

.contact-popup-desc {
    margin-bottom: 25px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
}

.contact-popup-testimonial {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.contact-popup-swiper {
    flex: 1;
    min-width: 0;
}

.contact-popup-nav {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #FFFFFF40;
    border-radius: 15px;
    background: linear-gradient(270deg, rgba(153, 153, 153, 0.04) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(150px);
    cursor: pointer;
}

.contact-popup-review {
    padding: 15px;
    border: 1px solid #FFFFFF40;
    border-radius: 15px;
    background: #DDFFD9;
    backdrop-filter: blur(150px);
}

.contact-popup-review p {
    margin: 0;
}

.contact-popup-review .review-name {
    font-size: 18px;
    font-weight: 600;
}

.contact-popup-review .review-name a {
    color: inherit;
    text-decoration: none;
}

.contact-popup-review .review-name a:hover {
    text-decoration: underline;
}

.contact-popup-review .review-location {
    font-size: 14px;
    font-weight: 400;
}

.contact-popup-review .review-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 18px;
    font-weight: 400;
}

.contact-popup-review .review-text {
    margin-top: 15px;
    font-size: 16px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.contact-popup-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-popup-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #FFFFFF40;
    border-radius: 15px;
    background: linear-gradient(270deg, rgba(153, 153, 153, 0.04) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(150px);
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
}

.contact-popup-link:hover {
    color: #ffffff;
}

.contact-popup-link-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #FFFFFF40;
    border-radius: 10px;
    background: linear-gradient(270deg, rgba(153, 153, 153, 0.04) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(150px);
}

.contact-popup-form-box {
    padding: 20px;
    border: 1px solid rgba(54, 116, 75, 0.25);
    border-radius: 15px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 100%);
    box-shadow: 0px 0px 16px 0px #00000033;
    backdrop-filter: blur(150px);
}

.contact-popup-mobile-head {
    display: none;
}

.contact-popup-mobile-title {
    margin-bottom: 5px;
    color: #111111;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.contact-popup-mobile-desc {
    margin-bottom: 15px;
    color: #343434;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.contact-popup-form label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 600;
}

.contact-popup-form input,
.contact-popup-form select,
.contact-popup-form textarea {
    width: 100%;
    margin-bottom: 20px;
    padding: 10px 12px;
    border: 1px solid #303030;
    backdrop-filter: blur(150px);
    border-radius: 10px;
    font-size: 15px;
    outline: none;
}

.contact-popup-form input,
.contact-popup-form select {
    height: 50px;
    padding-top: 0;
    padding-bottom: 0;
}

.contact-popup-form input::placeholder,
.contact-popup-form textarea::placeholder {
    color: #AAAAAA;
    font-size: 14px;
    font-weight: 400;
}

.contact-popup-form select:has(option[value=""]:checked) {
    color: #AAAAAA;
    font-size: 14px;
    font-weight: 400;
}

.contact-popup-form select option {
    color: #303030;
}

.contact-popup-form select {
    padding-right: 40px;
    appearance: none;
    -webkit-appearance: none;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23303030' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 8px;
    cursor: pointer;
}

.contact-popup-form textarea {
    height: 125px;
    resize: none;
}

.contact-popup-form textarea::-webkit-scrollbar {
    width: 6px;
}

.contact-popup-form textarea::-webkit-scrollbar-button {
    display: none;
}

.contact-popup-form textarea::-webkit-scrollbar-track {
    margin: 10px 0;
    background: transparent;
}

.contact-popup-form textarea::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #AAAAAA;
}

@supports not selector(::-webkit-scrollbar) {
    .contact-popup-form textarea {
        scrollbar-width: thin;
        scrollbar-color: #AAAAAA transparent;
    }
}

.contact-popup-form span.error {
    display: block;
    margin: -10px 0 10px;
    font-size: 13px;
}

.contact-popup-submit {
    display: inline-block;
    width: fit-content;
    margin-top: 5px;
    padding: 10px 35px;
    border: 0;
    border-radius: 30px;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
}

#contact-popup .message:not(:empty) {
    margin-top: 10px;
    font-size: 14px;
    text-align: center;
}

@media only screen and (max-width: 992px) {
    .contact-popup-dialog {
        max-width: 600px;
        padding: 0;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
    }

    .contact-popup-info-col {
        display: none;
    }

    .contact-popup-mobile-head {
        display: block;
    }
}

@media only screen and (max-width: 768px) {
    .contact-popup-close {
        top: -12px;
        right: -12px;
        width: 40px;
        height: 40px;
    }

    #contact-popup {
        padding: 15px;
    }

    .contact-popup-form-box {
        padding: 15px;
    }

    .contact-popup-mobile-desc {
        margin-bottom: 10px;
    }

    .contact-popup-form label {
        margin-bottom: 3px;
        font-size: 14px;
    }

    .contact-popup-form input,
    .contact-popup-form select,
    .contact-popup-form textarea {
        margin-bottom: 10px;
        font-size: 16px;
    }

    .contact-popup-form input,
    .contact-popup-form select {
        height: 42px;
    }

    .contact-popup-form textarea {
        height: 80px;
        padding: 8px 12px;
    }

    .contact-popup-form .row {
        --bs-gutter-y: 0;
    }
}