
.contact-us .contact-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.contact-us .contact-boxcard {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-us .contact-boxcard:hover {
    transform: translateY(-5px); /* Lift the card on hover */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Icon and Text Styling */
.contact-us .contactbox .icon {
    color: var(--rv-primary);
    margin-bottom: 10px;
    transition: color 0.3s ease;
    font-size: 30px;
}

.contact-us .contact-boxcard:hover .icon {
    color: var(--rv-secondary); /* Change color on hover */
}

.contact-us .infotext h3 {
    margin: 10px 0;
    font-weight: 600;
    color: var(--rv-black);
}

.contact-us .infotext a {
    color: var(--rv-primary);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.contact-us .infotext a:hover {
    color: var(--rv-secondary); /* Hover color */
}


.contact-us .iframe iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.contact-us .iframe iframe:hover {
    transform: scale(1.02); /* Slight zoom effect on hover */
}

/* Form Styling */
.contact-us .form_con input, .contact-us .form_con select, .contact-us .form_con textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.contact-us .form_con input:focus, .contact-us .form_con select:focus, .contact-us .form_con textarea:focus {
    border-color: var(--rv-primary);
    outline: none;
}

/* Captcha Form */
.contact-us .captcha-code-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-us .captcha-code-form img {
    width: 120px;
    height: auto;
    border-radius: 5px;
}

.contact-us .captcha-code-form .demoInputBox {
    width: 150px;
    padding: 8px;
}

/* Form Textarea */
.contact-us .form_con textarea {
    resize: vertical;
    min-height: 100px;
}

.iframe{
    border-radius: 10px;
    box-shadow: 0 0 5px #80808054;

}

.contact-cards  {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 5px #80808054;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-us .contact-row {
        flex-direction: column;
    }

    .contact-us .contact-boxcard {
        margin-bottom: 20px;
    }

    .contact-us .iframe iframe {
        height: 300px;
    }
}
