/* Contact Page Styles */

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    padding: 120px 0 80px;
    text-align: center;
    color: white;
}

.contact-hero .hero-content h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: white;
}

.contact-hero .hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Form Section */
.contact-form-section {
    padding: 6rem 0;
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    padding-right: 2rem;
}

.contact-info h2 {
    color: #2c2c2c;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.contact-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.method-icon {
    width: 48px;
    height: 48px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.method-content h3 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.method-content p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

.wechat-qr {
    margin-top: 12px;
    text-align: center;
}

.qr-code {
    width: 120px;
    height: 120px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.qr-code:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Quick Contact Buttons */
.quick-buttons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 120px;
    justify-content: center;
}

.quick-btn.whatsapp {
    background: #25D366;
    color: white;
}

.quick-btn.whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.quick-btn.wechat {
    background: #07C160;
    color: white;
}

.quick-btn.wechat:hover {
    background: #06A94D;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(7, 193, 96, 0.3);
}

.quick-btn.linkedin {
    background: #0077B5;
    color: white;
}

.quick-btn.linkedin:hover {
    background: #005885;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

.quick-btn svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .quick-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .quick-btn {
        min-width: 100%;
        justify-content: center;
    }
}

/* Contact Form Styles */
.contact-form {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.contact-form h3 {
    color: #2c2c2c;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #333;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background-color: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #28a745;
    border-color: #28a745;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 2px;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* File Upload Styles */
.file-upload-area {
    border: 2px dashed #e1e5e9;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    background: #fafbfc;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: #28a745;
    background: #f8fff8;
}

.file-upload-area.dragover {
    border-color: #28a745;
    background: #f0f9f0;
    transform: scale(1.02);
}

.file-upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    pointer-events: none;
}

.file-upload-icon {
    color: #28a745;
    opacity: 0.7;
}

.file-upload-text {
    text-align: center;
}

.file-upload-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    margin: 0 0 0.5rem 0;
}

.file-upload-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.file-list {
    margin-top: 1rem;
    text-align: left;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.file-item:hover {
    border-color: #28a745;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.1);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.file-icon {
    width: 24px;
    height: 24px;
    color: #28a745;
    flex-shrink: 0;
}

.file-details {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-weight: 500;
    color: #333;
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.file-remove {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.file-remove:hover {
    background: #f8d7da;
    color: #721c24;
}

.submit-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: white;
}

.map-content {
    margin-top: 40px;
}

.map-placeholder {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 60px 40px;
    text-align: center;
    border: 2px dashed #dee2e6;
}

.map-info h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.map-info > p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.facility-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 1.5rem;
}

.feature span:last-child {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
}

.faq-item h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 500;
    border-bottom: 2px solid #28a745;
    padding-bottom: 0.5rem;
}

.faq-item p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Contact CTA Section */
.contact-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    text-align: center;
}

.contact-cta .cta-content {
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-cta .cta-content h2 {
    font-size: 3rem;
    font-weight: 300;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.contact-cta .cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* Contact Page Responsive Design */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .facility-features {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-item {
        padding: 20px;
    }
    
    .contact-hero .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-cta .cta-content h2 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .file-upload-area {
        padding: 1.5rem;
    }
    
    .file-upload-content {
        gap: 0.75rem;
    }
    
    .file-upload-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .file-upload-title {
        font-size: 1rem;
    }
    
    .file-upload-subtitle {
        font-size: 0.85rem;
    }
    
    .file-item {
        padding: 0.5rem;
    }
    
    .file-info {
        gap: 0.5rem;
    }
    
    .file-name {
        font-size: 0.9rem;
    }
    
    .file-size {
        font-size: 0.8rem;
    }
}