.contact-us .contact-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap; /* Ensures content wraps on smaller screens */
}

.contact-us .contact-boxcard {
    flex: 1;
    background-color: var(--rv-white);
    padding: 25px;
    border-radius: 12px; /* Slightly rounded corners */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-us .contact-boxcard:hover {
    transform: translateY(-8px); /* Increased lift effect on hover */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}

/* Icon and Text Styling */
.contact-us .contactbox .icon {
    font-size: 2.5rem; /* Slightly larger icons */
    color: var(--rv-primary);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.contact-us .contact-boxcard:hover .icon {
    color: var(--rv-secondary);
}

.contact-us .infotext h3 {
    font-size: 1.4rem;
    margin: 15px 0;
    font-weight: 600;
    color: var(--rv-black);
}

.contact-us .infotext a {
    font-size: 1.1rem;
    color: var(--rv-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-us .infotext a:hover {
    color: var(--rv-secondary); /* Hover color */
}

/* Updated iframe styling */
.contact-us .iframe iframe {
    width: 100%;
    height: 635px;
    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;
}

.contact-us .form_con button {
    background-color: var(--rv-primary);
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-us .form_con button:hover {
    background-color: var(--rv-secondary);
}

/* Button Disabled State */
.contact-us .form_control button[disabled] {
    background-color: #ddd;
    cursor: not-allowed;
}

/* 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;
    font-size: 1rem;
}

/* 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;
}

.contact-boxcard .contactbox .infotext .contact-info {
    text-align: center;
}
.contactbox {
    text-align: center;
}

/* 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;
    }
}
