
.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 {
    font-size: 2rem;
    color: var(--rv-primary);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.contact-us .contact-boxcard:hover .icon {
    color: var(--rv-secondary); /* Change color on hover */
}

.contact-us .infotext h3 {
    font-size: 1.2rem;
    margin: 10px 0;
    font-weight: 600;
    color: var(--rv-black);
}

.contact-us .infotext a {
    font-size: 1rem;
    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;
}

.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: 20px;
    box-shadow: 0 0 5px #80808054;
    min-height: 610px;
}

.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;
    }
}
.contact-row {
    display: flex;
    justify-content: space-evenly;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.contact-boxcard {
    width: 100%; /* Default full width for mobile-first approach */
    max-width: 320px; /* Limit width for large screens */
    height: 200px; /* Fixed height */
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    padding: 20px;
}

.contact-boxcard:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Contact Box Styling */
.contactbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    height: 100%;
}

.icon {
    font-size: 40px;
    color: #0f7d89;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.icon:hover {
    color: #0056b3; /* Change icon color on hover */
}

.infotext {
    text-align: center;
}

.infotext h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.infotext a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: #227c8a;
    transition: color 0.3s ease;
    word-wrap: break-word;
}

.infotext a:hover {
    color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-row {
        flex-direction: column;
        align-items: center;
    }

    .contact-boxcard {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .contact-boxcard {
        width: 90%;
    }
}