/*
Theme Name: Rajasthan Nursing Home
Theme URI: https://example.com/
Author: Rajasthan Nursing Home
Description: Minimal custom WordPress theme for Rajasthan Nursing Home.
Version: 1.0.0
Text Domain: rajasthan-nursing-home
*/

/* Footer Social Icons Theme Hover Effect */
.vs-footer .social-style.style2 a:hover {
    background-color: var(--vs-theme-color1) !important;
    border-color: var(--vs-theme-color1) !important;
    color: var(--vs-white-color) !important;
}

/* --- Contact Form 7 Global Layout Fixes --- */
.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea {
    width: 100% !important;
}

/* --- Home Page (Dark Background) Styling Fixes --- */
.vs-appoint__form .appoint_form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.vs-appoint__form textarea {
    margin-top: 20px;
}

@media (max-width: 767px) {
    .vs-appoint__form .appoint_form {
        grid-template-columns: 1fr;
    }
}

/* --- Contact Page (Light Background) Styling Fixes --- */
.vs-contact .contact-box .appoint_form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .vs-contact .contact-box .appoint_form {
        grid-template-columns: 1fr;
    }
}

.vs-contact .contact-box textarea {
    margin-top: 10px;
    height: 120px !important;
}

/* Style the CF7 submit button on Contact page to look like con-btn */
.vs-contact .contact-box .appoint_btn {
    border: 0 !important;
    width: 100% !important;
    font-family: var(--vs-title-font) !important;
    text-transform: capitalize !important;
    color: var(--vs-white-color) !important;
    background: var(--vs-title-color) !important;
    border-radius: 50px !important;
    font-weight: bold !important;
    padding: 18px !important;
    margin: 25px 0 10px !important;
    font-size: 16px !important;
    transition: all 0.5s ease-in-out !important;
}

.vs-contact .contact-box .appoint_btn:hover {
    background: linear-gradient(90deg, var(--vs-theme-color2) 0%, var(--vs-theme-color1) 100%) !important;
}

/* Dynamically add Font Awesome icons inside inputs on the Contact Page */
.vs-contact .contact-box .appoint_form .wpcf7-form-control-wrap {
    position: relative;
}

.vs-contact .contact-box .appoint_form .wpcf7-form-control-wrap::after {
    position: absolute;
    right: 25px;
    font-size: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--vs-icon-font);
    font-weight: 900;
    color: var(--vs-title-color);
    pointer-events: none;
}

.vs-contact .contact-box .appoint_form .wpcf7-form-control-wrap.your-name::after {
    content: "\f007";
}

.vs-contact .contact-box .appoint_form .wpcf7-form-control-wrap.your-email::after {
    content: "\f0e0";
}

.vs-contact .contact-box .appoint_form .wpcf7-form-control-wrap.your-phone::after {
    content: "\f095";
}

.vs-contact .contact-box .appoint_form .wpcf7-form-control-wrap.your-address::after {
    content: "\f3c5";
}

/* --- Banner Overlay Customizations --- */
/* Add dark blue overlay to the inner page banner (breadcrumbs) */
.vs-breadcrumb__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.vs-breadcrumb__bg::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(14, 29, 76, 0.75) !important;
    /* Dark blue overlay so bg image is faintly visible */
    z-index: 1;
}

.vs-breadcrumb__bg>img {
    position: relative;
    z-index: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Ensure homepage banner background has the exact same overlay style */
.vs-hero__bg::after {
    background-color: rgba(14, 29, 76, 0.90) !important;
}