/* Contact Us Page Styles */

/* Main Container */
.rv-contact-wrapper {
    padding: 60px 0;
}

/* Top Section - Form and Contact Info */
.rv-contact-top-section {
    margin-bottom: 60px;
}

.rv-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Left Section - Form */
.rv-contact-form-section {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.rv-contact-form-title {
    font-size: 24px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-transform: capitalize;
}

.rv-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rv-form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.rv-form-group label {
    font-size: 16px;
    font-weight: 400;
    color: #1a1a1a;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: none;
}

.rv-form-group input,
.rv-form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    font-family: 'Fira Sans', sans-serif;
    transition: all 0.3s ease;
    background-color: #fff;
    letter-spacing: 1px;
}

.rv-form-group input::placeholder,
.rv-form-group textarea::placeholder {
    color: #999;
}

.rv-form-group input:focus,
.rv-form-group textarea:focus {
    outline: none;
    border-color: #19a137;
    box-shadow: 0 0 0 3px rgba(25, 161, 55, 0.1);
    background-color: #fafbfc;
}

.rv-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Captcha Field */
.rv-captcha-wrapper {
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.rv-captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.rv-captcha-question {
    flex: 1;
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 4px;
    border: 1px solid #e9ecef;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.rv-captcha-refresh-btn {
    background: #19a137;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    min-width: 40px;
}

.rv-captcha-refresh-btn:hover {
    background: #148028;
    transform: rotate(180deg);
    box-shadow: 0 4px 8px rgba(25, 161, 55, 0.3);
}

.rv-captcha-refresh-btn:active {
    transform: rotate(180deg) scale(0.95);
}

.rv-captcha-input-field {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Fira Sans', sans-serif;
}

/* Error Message */
.rv-error-message {
    display: none;
    color: #dc3545;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 400;
    margin-top: 6px;
    padding: 6px 10px;
    background-color: #fde8e8;
    border-left: 3px solid #dc3545;
    border-radius: 3px;
    animation: slideDown 0.3s ease;
}

.rv-error-input {
    border: 2px solid #dc3545 !important;
    background-color: #fff5f5 !important;
}

.rv-error-input:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Submit Button */
.rv-submit-btn {
    background: #19a137;
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 4px;
    letter-spacing: 1px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
    margin-top: 10px;
}

.rv-submit-btn:hover {
    background: #148028;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(25, 161, 55, 0.4);
}

.rv-submit-btn:active {
    transform: translateY(0);
}

/* Right Section - Contact Information */
.rv-contact-info-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.rv-contact-info-title {
    font-size: 28px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 35px;
    letter-spacing: 1px;
    text-transform: capitalize;
    position: relative;
    padding-bottom: 15px;
}

.rv-contact-info-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #19a137, #4caf50);
    border-radius: 2px;
}

.rv-info-item {
    background: #fff;
    margin-bottom: 25px;
    padding: 25px;
    border-bottom: none;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 20px;
}

.rv-info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(25, 161, 55, 0.05), transparent);
    transition: left 0.4s ease;
}

.rv-info-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(25, 161, 55, 0.15);
    border-color: #19a137;
}

.rv-info-item:hover::before {
    left: 100%;
}

.rv-info-item:last-child {
    margin-bottom: 0;
}

.rv-info-icon {
    font-size: 32px;
    background: linear-gradient(135deg, #19a137, #4caf50);
    color: #fff;
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(25, 161, 55, 0.3);
    flex-shrink: 0;
}

.rv-info-item:hover .rv-info-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 20px rgba(25, 161, 55, 0.4);
}

.rv-info-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.rv-info-label {
    font-size: 14px;
    font-weight: 400;
    color: #19a137;
    margin-bottom: 5px;
    text-transform: capitalize;
    letter-spacing: 1.2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.rv-info-value {
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.8;
    position: relative;
    letter-spacing: 1px;
    z-index: 1;
}

.rv-info-value a {
    color: #000000;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: inline-block;
    font-weight: 500;
    letter-spacing: 1px;
}

.rv-info-value a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #19a137, #4caf50);
    transition: width 0.3s ease;
}

.rv-info-value a:hover {
    color: #148028;
}

.rv-info-value a:hover::after {
    width: 100%;
}

/* Bottom Section - Map */
.rv-contact-map-section {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 2px solid #e9ecef;
}

.rv-map-title {
    font-size: 24px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-align: center;
    text-transform: capitalize;
}

.rv-map-container {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.rv-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .rv-contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .rv-contact-form-section,
    .rv-contact-info-section {
        padding: 30px;
    }

    .rv-contact-info-title::after {
        width: 50px;
    }

    .rv-info-item {
        gap: 18px;
    }

    .rv-info-icon {
        font-size: 28px;
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }

    .rv-map-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .rv-contact-wrapper {
        padding: 40px 0;
    }

    .rv-contact-form-section,
    .rv-contact-info-section {
        padding: 20px;
    }

    .rv-contact-form-title,
    .rv-contact-info-title,
    .rv-map-title {
        font-size: 20px;
    }

    .rv-contact-info-title::after {
        width: 40px;
    }

    .rv-info-item {
        padding: 20px;
        margin-bottom: 15px;
        gap: 16px;
    }

    .rv-info-icon {
        font-size: 24px;
        width: 48px;
        height: 48px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .rv-info-value {
        font-size: 15px;
    }

    .rv-map-container {
        height: 350px;
    }

    .rv-form-group input,
    .rv-form-group textarea {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .rv-contact-wrapper {
        padding: 20px 0;
    }

    .rv-contact-form-section,
    .rv-contact-info-section {
        padding: 15px;
    }

    .rv-contact-form-title,
    .rv-contact-info-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .rv-contact-info-title::after {
        width: 35px;
        height: 3px;
    }

    .rv-info-item {
        padding: 15px;
        margin-bottom: 12px;
        border-radius: 6px;
        gap: 15px;
    }

    .rv-info-icon {
        font-size: 22px;
        width: 44px;
        height: 44px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .rv-info-label {
        font-size: 10px;
        margin-bottom: 8px;
    }

    .rv-info-value {
        font-size: 14px;
    }

    .rv-map-container {
        height: 300px;
    }

    .rv-form-group input,
    .rv-form-group textarea {
        font-size: 12px;
    }

    .rv-captcha-refresh-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
