
/* Contact Page Styles */

/* Hero Section */
.contact-hero {
    background-color: #003366;
    background-image: linear-gradient(135deg, rgba(0,51,102,0.95) 0%, rgba(0,86,179,0.85) 100%), url('../images/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    text-align: center;
    color: white;
    margin-bottom: 0;
    position: relative;
}

.contact-hero.mh {
    margin-top: 120px;
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

/* Contact Content Layout */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

/* Contact Info Side */
.contact-info-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.contact-info-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #007bff;
}

.office-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.office-card h3 {
    font-size: 1.4rem;
    color: #003366;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.office-card h3 i {
    color: #007bff;
}

.info-item {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.info-item i {
    color: #007bff;
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 3px;
    width: 20px;
    text-align: center;
}

.info-content label {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 2px;
}

.info-content p {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
    margin: 0;
}

.info-content a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.info-content a:hover {
    color: #007bff;
}

/* Social Links */
.contact-social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.contact-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007bff;
    text-decoration: none;
    transition: all 0.3s;
}

.contact-social-link:hover {
    background: #007bff;
    color: white;
}

.wechat-trigger {
    position: relative;
}

.wechat-qr {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    margin-bottom: 15px;
    text-align: center;
    width: 150px;
    z-index: 100;
}

.wechat-qr::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

.wechat-trigger:hover .wechat-qr {
    display: block;
    animation: fadeIn 0.3s ease;
}

.wechat-qr img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 5px;
}

.wechat-qr span {
    font-size: 12px;
    color: #666;
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Contact Form Side */
.contact-form-section {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border-top: 5px solid #007bff;
}

.contact-form-section h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #333;
}

.contact-form-section p {
    color: #666;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background: #0056b3;
}

/* Map Section */
.map-section {
    height: 550px;
    width: 100%;
    background: #f8f9fa;
    margin-top: 0;
    position: relative;
}

.map-container {
    width: 100%;
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(100%) invert(0%); /* Professional grayscale look */
    transition: filter 0.5s ease;
}

.map-container iframe:hover {
    filter: grayscale(0%); /* Color on hover */
}

/* Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-section {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 20px;
    }
    
    .contact-hero h1 {
        font-size: 2.2rem;
    }
    
    .contact-container {
        padding: 40px 20px;
    }
    
    .office-card {
        padding: 20px;
    }
}
