/* ============================================
   PROFESSIONAL CONTACT PAGE STYLES
   ============================================ */

/* Hero Section */
.contact-hero {
    background: linear-gradient(135deg, #1e429f 0%, #0a2a5f 100%);
    color: white;
    min-height: 600px;  /* 添加：统一最小高度 */
    display: flex;
    align-items: center;  /* 添加：内容垂直居中 */
    padding: 0;  /* 修改：移除上下内边距，让flex控制居中 */
    position: relative;
    overflow: hidden;
}

/* 确保容器占满高度 */
.contact-hero .container {
    width: 100%;
    padding: 2rem 1rem;  /* 添加：统一内边距 */
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('<?php echo WADJAY_URI; ?>/assets/images/pattern.svg');
    background-size: cover;
    opacity: 0.1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title .highlight {
    color: #4dc0ff;
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #4dc0ff;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.contact-summary {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.25rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 230px;
}

.summary-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.summary-item i {
    font-size: 2rem;
    color: #4dc0ff;
}

.summary-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.summary-item p {
    opacity: 0.8;
    margin: 0;
    font-size: 0.85rem;
}

/* Contact Channels */
.contact-channels {
    padding: 6rem 0;
    background: #f8fafc;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #4dc0ff;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.channel-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.channel-card:hover {
    border-color: #4dc0ff;
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.channel-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #4dc0ff 0%, #3498db 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.channel-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.channel-card > p {
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.channel-info {
    text-align: left;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-item i {
    color: #4dc0ff;
    margin-top: 0.25rem;
    font-size: 1.25rem;
    width: 24px;
}

.info-item div strong {
    display: block;
    color: #1e293b;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.info-item div a,
.info-item div span {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
}

.info-item div a:hover {
    color: #4dc0ff;
}

.channel-action {
    width: 100%;
    padding: 1rem;
    background: #4dc0ff;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.channel-action:hover {
    background: #3498db;
    transform: translateY(-2px);
}

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

.form-intro {
    padding-right: 2rem;
}

.form-intro h2 {
    font-size: 2.25rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.form-intro > p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.form-benefits {
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.benefit-item i {
    color: #10b981;
    font-size: 1.1rem;
}

.benefit-item span {
    color: #475569;
    font-size: 0.95rem;
}

.response-time {
    background: #f0f9ff;
    border-radius: 12px;
    padding: 1.25rem;
    border-left: 4px solid #4dc0ff;
}

.response-card {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.response-card i {
    font-size: 1.5rem;
    color: #4dc0ff;
}

.response-card h4 {
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.response-card p {
    color: #64748b;
    margin: 0;
}

.contact-form-wrapper {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, #4dc0ff 0%, #3498db 100%);
    color: white;
    padding: 1.25rem;
    text-align: center;
}

.form-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.form-header p {
    opacity: 0.9;
    margin: 0;
}

.contact-form {
    padding: 1.5rem;
}

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

.form-group label {
    display: block;
    color: #1e293b;
    margin-bottom: 0.25rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #1e293b;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4dc0ff;
    box-shadow: 0 0 0 3px rgba(77, 192, 255, 0.1);
}

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

.file-upload {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

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

.upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #64748b;
}

.upload-label:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.upload-label i {
    font-size: 1.25rem;
}

.file-types {
    margin-top: 0.5rem;
    color: #94a3b8;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-group label a {
    color: #4dc0ff;
    text-decoration: none;
}

.checkbox-group label a:hover {
    text-decoration: underline;
}

.form-actions {
    margin-top: 2rem;
}

.submit-btn {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, #4dc0ff 0%, #3498db 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(77, 192, 255, 0.3);
}

.form-note {
    margin-top: 1rem;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}



/* Office Locations */
.locations-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.location-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.location-card:hover {
    transform: translateY(-10px);
}

.location-header {
    background: linear-gradient(135deg, #4dc0ff 0%, #3498db 100%);
    color: white;
    padding: 2rem;
    position: relative;
}

.location-flag {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.location-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.location-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: #3498db;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.location-info {
    padding: 2rem;
}

.location-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.location-info .info-item:last-child {
    margin-bottom: 0;
}

.location-info .info-item i {
    color: #4dc0ff;
    font-size: 1.25rem;
    margin-top: 0.25rem;
    width: 24px;
}

.location-info .info-item strong {
    display: block;
    color: #1e293b;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.location-info .info-item p {
    color: #64748b;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.location-hours {
    padding: 1.5rem 2rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.location-hours h4 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.location-hours p {
    color: #64748b;
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

/* Interactive Map */
.interactive-map {
    padding: 6rem 0;
    background: white;
}

.map-wrapper {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.map-container {
    flex: 3;
    height: 500px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.map-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.map-placeholder p {
    font-size: 1.125rem;
}

.map-controls {
    flex: 1;
    background: #f8fafc;
    border-radius: 20px;
    padding: 2rem;
}

.control-group {
    margin-bottom: 2rem;
}

.control-group:last-child {
    margin-bottom: 0;
}

.control-group h4 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.location-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.location-btn {
    padding: 1rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    color: #475569;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.location-btn:hover {
    border-color: #4dc0ff;
    color: #4dc0ff;
}

.location-btn.active {
    background: #4dc0ff;
    border-color: #4dc0ff;
    color: white;
}

.direction-input {
    display: flex;
    gap: 0.5rem;
}

.direction-input input {
    flex: 1;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
}

.direction-input input:focus {
    outline: none;
    border-color: #4dc0ff;
}

.direction-btn {
    padding: 1rem 1.5rem;
    background: #4dc0ff;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.direction-btn:hover {
    background: #3498db;
}

.transportation-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.transport-card {
    background: #f8fafc;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.transport-card:hover {
    border-color: #4dc0ff;
    transform: translateY(-5px);
}

.transport-card i {
    font-size: 3rem;
    color: #4dc0ff;
    margin-bottom: 1.5rem;
}

.transport-card h4 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.transport-card p {
    color: #64748b;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* FAQ Section */
.contact-faq {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question h4 {
    color: #1e293b;
    margin: 0;
    font-size: 1.1rem;
}

.faq-question i {
    color: #4dc0ff;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 2rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Social Media */
.social-media-section {
    padding: 6rem 0;
    background: white;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.social-card {
    display: block;
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-card:hover {
    transform: translateY(-10px);
    border-color: currentColor;
}

.social-card.linkedin {
    color: #0077b5;
}

.social-card.youtube {
    color: #ff0000;
}

.social-card.twitter {
    color: #1da1f2;
}

.social-card.facebook {
    color: #1877f2;
}

.social-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.social-card h4 {
    color: #1e293b;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.social-card p {
    color: #64748b;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.social-followers {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #f8fafc;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}

/* CTA Section */
.contact-cta {
    background: linear-gradient(135deg, #1e429f 0%, #0a2a5f 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta-content > p {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: white;
    color: #1e429f;
}

.cta-btn.primary:hover {
    background: #f8fafc;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn.secondary:hover {
    background: white;
    color: #1e429f;
    transform: translateY(-3px);
}

.cta-assurance {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.assurance-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.assurance-item:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.assurance-item i {
    font-size: 1.5rem;
    color: #4dc0ff;
}

.assurance-item span {
    font-size: 1rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .map-wrapper {
        flex-direction: column;
    }
    
    .map-container {
        height: 400px;
    }
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .contact-summary {
        flex-direction: column;
        align-items: center;
    }
    
    .summary-item {
        width: 100%;
        max-width: 400px;
    }
    
    .form-intro {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .channels-grid {
        grid-template-columns: 1fr;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .transportation-info {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2.5rem;
    }
    
    .cta-content > p {
        font-size: 1.25rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .cta-assurance {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .contact-hero {
        padding: 4rem 0;
    }
    
    .channel-card {
        padding: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-header {
        padding: 1.5rem;
    }
}