/* Contact page custom styles */

/* Form validation styles */
.is-invalid {
    border-color: #dc3545 !important;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

/* Success alert styles */
.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

/* Contact info box styles */
.rbt-address {
    padding: 30px;
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.rbt-address:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.rbt-address .icon {
    font-size: 30px;
    margin-bottom: 20px;
    color: var(--color-primary);
    display: inline-block;
}

.rbt-address .inner h4.title {
    font-size: 20px;
    margin-bottom: 15px;
}

.rbt-address .inner p {
    margin-bottom: 5px;
}

.rbt-address .inner p a {
    color: var(--color-body);
    transition: all 0.3s ease;
}

.rbt-address .inner p a:hover {
    color: var(--color-primary);
}

/* Contact form styles */
.rbt-contact-form .form-group {
    margin-bottom: 25px;
    position: relative;
}

.rbt-contact-form .form-group input,
.rbt-contact-form .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.rbt-contact-form .form-group input:focus,
.rbt-contact-form .form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.1);
}

.rbt-contact-form .form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    pointer-events: none;
    transition: all 0.3s ease;
    color: #777;
}

.rbt-contact-form .form-group input:focus ~ label,
.rbt-contact-form .form-group textarea:focus ~ label,
.rbt-contact-form .form-group input:not(:placeholder-shown) ~ label,
.rbt-contact-form .form-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    background-color: #fff;
    padding: 0 5px;
    color: var(--color-primary);
}

.rbt-contact-form .form-submit-group {
    margin-top: 30px;
}

/* Responsive image */
.rb-radius-10-img img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
