﻿/* =============================================
   LIÊN HỆ & HỎI ĐÁP - CSS
   ============================================= */

.text-banner {
    font-size: 24px;
    font-weight: 700;
    position: absolute;
    padding-left: 20px;
}

.text-banner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background-color: #264596;
}

/* Contact Info Section */
.contact-info {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.contact-info-title {
    color: #264596 !important;
    font-weight: 700;
    font-size: 20px;
    position: relative;
    margin-top: 0;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    padding-bottom: 20px;
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-details {
    flex: 1;
}

.contact-label {
    color: #000;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 5px;
    display: block;
}

.contact-text {
    color: #000;
    font-size: 14px;
    line-height: 1.6;
}

.contact-text a {
    color: #264596;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #1e3a7a;
    text-decoration: underline;
}

/* Equal Height Columns */
.row.mt-5.mb-5 {
    display: flex;
    align-items: stretch;
}

.row.mt-5.mb-5 > div {
    display: flex;
    flex-direction: column;
}

/* Contact Form */
.contact-form {
    background: #f8f9ff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    position: relative;
    padding-bottom: 80px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

.form-group:last-child {
    margin-bottom: 0;
}

/* Form Controls */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
    width: 100%;
}

.form-control:focus {
    border-color: #264596;
    box-shadow: 0 0 0 0.2rem rgba(38, 69, 150, 0.15);
    outline: 0;
    background: #f8f9ff;
}

/* Labels */
label {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
    display: block;
}

.required {
    color: #dc3545;
    font-weight: 700;
}

/* Submit Button */
.form-submit {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 30px;
    border-radius: 12px;
}

.btn-submit {
    background: #264596;
    border: none;
    padding: 15px 35px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(38, 69, 150, 0.3);
    color: white;
    width: 100%;
    text-align: center;
    display: block;
    text-decoration: none;
}

.btn-submit:hover {
    background: #1e3a7a;
    color: white;
    text-decoration: none;
}

/* Google Map */
.iframe-container {
    border-radius: 12px;
    border: 1px solid #e9ecef;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.iframe-container iframe {
    border-radius: 12px;
    border: 1px solid #e9ecef;
    flex: 1;
    min-height: 450px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .row.mt-5.mb-5 {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .contact-form {
        padding: 20px;
        padding-bottom: 80px;
    }
    
    .form-submit {
        padding: 15px 20px;
    }
    
    .iframe-container iframe {
        min-height: 300px;
    }
}