/* Corporate Contact Form Styles */

#contact {
    position: relative;
    background-color: #f8f9fa;
    padding: 60px 0;
}

#contact:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h100v100H0z" fill="none"/><path d="M10 10h5v5h-5z" fill="rgba(44, 82, 130, 0.03)"/></svg>');
    opacity: 0.7;
    z-index: 0;
}

.contact-form {
    position: relative;
    z-index: 1;
}

.contact-form-area {
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    border-radius: 8px;
    overflow: hidden;
    padding: 20px;
}

.contact-block {
    padding: 30px;
    border-right: 1px solid #f0f0f0;
}

.contact-block h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    color: #2c5282;
    padding-bottom: 15px;
}

.contact-block h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #2c5282, #3182ce);
}

.contact-block p {
    color: #555;
    line-height: 1.7;
}

.contact-block .form-control {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 12px 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: none;
    background-color: #f9f9f9;
}

.contact-block .form-control:focus {
    border-color: #3182ce;
    box-shadow: 0 0 0 0.2rem rgba(49, 130, 206, 0.15);
    background-color: #fff;
}

.contact-block textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-block label {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.contact-right-area {
    padding: 30px;
    background-color: #f8f9fa;
    height: 100%;
    border-radius: 0 8px 8px 0;
}

.contact-title {
    margin-bottom: 30px;
}

.contact-title h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    color: #2c5282;
    padding-bottom: 15px;
}

.contact-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #2c5282, #3182ce);
}

.contact-title p {
    color: #555;
    line-height: 1.7;
}

.contact-info {
    margin-top: 30px;
}

.single-contact {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 6px;
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.single-contact:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
    border-left: 3px solid #3182ce;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #2c5282;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-icon:hover {
    transform: rotate(10deg);
    box-shadow: 0 5px 12px rgba(44, 82, 130, 0.2);
}

.single-contact p {
    margin: 0;
    font-size: 15px;
    flex-grow: 1;
}

.single-contact a {
    color: #2c5282 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.single-contact a:hover {
    color: #3182ce !important;
}

.btn-common {
    background: linear-gradient(45deg, #2c5282, #3182ce);
    border: none;
    color: #fff !important;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-common:hover {
    background: linear-gradient(45deg, #3182ce, #2c5282);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(49, 130, 206, 0.3);
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: -15px;
    margin-bottom: 15px;
    font-size: 80%;
    color: #e53e3e;
}

.alert {
    border-radius: 4px;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: none;
}

.alert-success {
    background-color: rgba(72, 187, 120, 0.1);
    color: #2f855a;
    border-left: 4px solid #48bb78;
}

.alert-danger {
    background-color: rgba(229, 62, 62, 0.1);
    color: #c53030;
    border-left: 4px solid #e53e3e;
}

/* Responsive styles */
@media (max-width: 992px) {
    .contact-block {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 30px;
        margin-bottom: 30px;
    }

    .contact-right-area {
        border-radius: 8px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}
