/* Contact Page Styles */

/* Page Banner Styles */
.page-banner {
    position: relative;
    background-color: #006621;
    color: #fff;
    padding: 40px 0;
    text-align: center;
    /* margin-bottom: 30px; */
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 102, 33, 0.8);
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.breadcrumbs {
    font-size: 1rem;
}

.breadcrumbs a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumbs a:hover {
    opacity: 0.8;
}

/* Contact Section Styles */
.contact-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    color: #086924;
    font-size: 32px;
    margin-bottom: 15px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #086924;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Alert Styles */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

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

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Contact Wrapper Styles */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.contact-form-wrapper {
    flex: 1;
    min-width: 300px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    padding: 25px;
}

.contact-info-wrapper {
    flex: 1;
    min-width: 300px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    padding: 25px;
}

/* Form Styles */
.form-header {
    margin-bottom: 20px;
    border-bottom: 2px solid #086924;
    padding-bottom: 10px;
}

.form-header h3 {
    color: #086924;
    font-size: 22px;
}

.input-field {
    margin-bottom: 20px;
}

.input-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #000;
}

.input-field input, 
.input-field textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.input-field textarea {
    resize: vertical;
    min-height: 120px;
}

.required {
    color: #e74c3c;
}

.form-submit {
    margin-top: 20px;
}

.btn-primary {
    background-color: #086924;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #065a1e;
}

/* Contact Info Styles */
.contact-details {
    margin-top: 20px;
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-icon {
    flex: 0 0 50px;
    font-size: 24px;
    color: #086924;
}

.info-content {
    flex: 1;
}

.info-content h4 {
    margin-bottom: 5px;
    color: #086924;
}

.info-content p, 
.info-content a {
    color: #666;
    text-decoration: none;
}

.info-content a:hover {
    color: #086924;
}

/* Social Links Styles */
.social-links {
    margin-top: 30px;
}

.social-links h4 {
    margin: 0 0 15px;
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* Office Locations Styles */
.office-locations {
    padding: 60px 0;
    background-color: #fff;
}

.offices-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.office-item {
    flex: 1;
    min-width: 300px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.office-header {
    background: #086924;
    color: white;
    padding: 15px 20px;
}

.office-header h3 {
    margin: 0;
    font-size: 20px;
}

.office-content {
    padding: 20px;
}

.office-detail {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.office-detail i {
    flex: 0 0 25px;
    color: #086924;
    margin-top: 3px;
}

.office-detail p, 
.office-detail a {
    margin: 0;
    color: #666;
    text-decoration: none;
}

.office-detail a:hover {
    color: #086924;
}

/* Map Section Styles */
.map-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.map-container {
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-info-wrapper {
        flex: 0 0 100%;
    }
    
    .office-item {
        flex: 0 0 calc(50% - 15px);
    }
    
    .map-container {
        padding-bottom: 50%;
    }
    
    .page-banner {
        padding: 60px 0;
    }
    
    .page-banner h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 767px) {
    .input-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .office-item {
        flex: 0 0 100%;
    }
    
    .map-container {
        padding-bottom: 70%;
    }
    
    .page-banner {
        padding: 40px 0;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 20px;
    }
    
    .form-header h3, .info-header h3 {
        font-size: 1.3rem;
    }
    
    .map-container {
        padding-bottom: 100%;
    }
}

@media (max-width: 768px) {
    .contact-wrapper,
    .offices-grid {
        flex-direction: column;
    }
    
    .contact-form-wrapper,
    .contact-info-wrapper,
    .office-item {
        width: 100%;
    }
}

/* Chỉnh màu cho tiêu đề "Thông tin liên hệ" */
.info-header h3 {
    color: #086924;
    font-size: 22px;
}

/* Chỉnh màu cho các phần tử trong thông tin liên hệ */
.info-content h4 {
    color: #086924;
}

.info-icon {
    color: #086924;
}

/* Thêm vào file CSS */
.processing-message {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

.map-social-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.map-container {
    width: 50%;
}

.social-container {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.map-container iframe,
.youtube-container iframe,
.facebook-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-container {
    height: 450px;
}

.youtube-container,
.facebook-container {
    height: 215px;
}

@media (max-width: 768px) {
    .map-social-wrapper {
        flex-direction: column;
    }
    
    .map-container,
    .social-container {
        width: 100%;
    }
}