.contact-popup {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0px auto; /* Added vertical margin for spacing */
    box-sizing: border-box;
}

.contact-popup .content {
    width: 100%;
    height: 0;
    padding-bottom: 33.33%; /* 3:1 aspect ratio */
    background: url("/assets/popup-desktop.png") no-repeat;
    background-size: cover;
    position: relative;
}

.contact-popup .content .buttons {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
}

.contact-popup .content .buttons .link {
    display: inline-block;
    cursor: pointer;
    box-shadow: 0 4px 15px 0 rgba(22, 12, 32, 0.23);
    border: 1px solid #009ee2;
    padding: 10px 20px;
    font-weight: 550;
    text-transform: uppercase;
    background: #009ee2;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
	margin-left: 16%;
	margin-bottom: 3%;
}

.contact-popup .content .buttons .link:hover {
    box-shadow: 0 4px 15px 0 rgba(0, 158, 225, 0.51);
}

@media (max-width: 1050px) {
    .contact-popup .content {
        padding-bottom: 31.43%; /* 700:220 aspect ratio */
        background: url("/assets/popup-tablet.png") no-repeat;
        background-size: cover;
    }

    .contact-popup .content .buttons .link {
        font-size: 18px;
        padding: 12px 18px;
	margin-left: 18%;
	margin-bottom: 3%;
    }
}

@media (max-width: 800px) {
    .contact-popup .content {
        padding-bottom: 100%; /* 1:1 aspect ratio for mobile */
        background: url("/assets/popup-mobile.png") no-repeat;
        background-size: cover;
    }

    .contact-popup .content .buttons {
        bottom: 20%;
    }

    .contact-popup .content .buttons .link {
        font-size: 16px;
        padding: 10px 16px;
	/*left: 75%; top: 65%;*/
	margin-left: 60%;
	margin-bottom: 20%;
    }
}
