/* Contact Page Styles */

/* Banner */
.contact-banner {
    margin-top: 80px;
    width: 100%;
    overflow: hidden;
}

.contact-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Contact Section */
.contact-section {
    padding: 100px 0 120px;
}

/* Contact Info & Map */
.contact-info-wrapper {
    width: 100%;
    max-width: 1920px;
    margin: 50px auto 0;
    background: #F3F9FE;
    padding: clamp(40px, 4.2vw, 80px) clamp(30px, 3.1vw, 60px);
    border-radius: 12px;
}

.contact-info-inner {
    max-width: 1640px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    gap: clamp(40px, 4.2vw, 80px);
    align-items: stretch;
}

.contact-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(30px, 3.1vw, 60px);
}

.contact-info-item h3 {
    font-size: clamp(18px, 1.8vw, 34px);
    font-weight: 600;
    color: #333;
    margin-bottom: clamp(12px, 1.25vw, 24px);
}

.contact-info-item p {
    font-size: clamp(15px, 1.5vw, 28px);
    color: #333;
    line-height: 1.8;
}

.contact-map {
    flex: 1;
    min-width: 0;
}

.contact-map-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.contact-map-placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #f3f6fb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-map-placeholder p {
    font-size: clamp(16px, 1.5vw, 28px);
    color: #999;
}

/* Contact Form */
.contact-form-section {
    margin-top: clamp(60px, 6.25vw, 120px);
}

.contact-form-title {
    font-size: clamp(24px, 2.6vw, 50px);
    font-weight: 600;
    color: #333;
    text-align: center;
}

.contact-form-bar {
    width: 84px;
    height: 6px;
    background: #1a3fb7;
    border-radius: 3px;
    margin: clamp(20px, 2.1vw, 40px) auto 0;
}

.contact-form {
    margin-top: clamp(40px, 4.2vw, 80px);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-group {
    margin-bottom: clamp(24px, 2.5vw, 48px);
}

.contact-form-group label {
    display: block;
    font-size: clamp(14px, 1.25vw, 24px);
    color: #333;
    margin-bottom: clamp(12px, 1.25vw, 24px);
}

.contact-form-group input,
.contact-form-group textarea {
    width: 100%;
    padding: 0;
    font-size: clamp(14px, 1.25vw, 24px);
    color: #333;
    border: none;
    border-bottom: 1px solid #E5E5E5;
    border-radius: 0;
    transition: border-color 0.3s;
    font-family: inherit;
    background: transparent;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
    outline: none;
    border-bottom-color: #1a3fb7;
}

.contact-form-group textarea {
    resize: vertical;
    min-height: clamp(80px, 8.3vw, 160px);
    padding: clamp(12px, 1.25vw, 24px) 0;
}

.contact-form-submit-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: clamp(40px, 4.2vw, 80px);
}

.contact-form-submit {
    padding: clamp(14px, 1.5vw, 28px) clamp(60px, 6.25vw, 120px);
    font-size: clamp(16px, 1.67vw, 32px);
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, #4169E1 0%, #00CED1 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(65, 105, 225, 0.3);
}

.contact-form-submit:active {
    transform: translateY(0);
}

.contact-form-qr {
    display: none;
}

.contact-form-qr-box {
    width: clamp(100px, 10.4vw, 200px);
    height: clamp(100px, 10.4vw, 200px);
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .contact-section {
        padding: 70px 0 80px;
    }

    .contact-info-inner {
        flex-direction: column;
        gap: 40px;
        padding: 0 24px;
    }

    .contact-form-submit-wrapper {
        flex-direction: column;
        gap: 30px;
        align-items: stretch;
    }

    .contact-form-submit {
        width: 100%;
    }

    .contact-form-qr {
        display: flex;
        justify-content: center;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .contact-section {
        padding: 50px 0 60px;
    }

    .contact-info-wrapper {
        margin-top: 30px;
        gap: 30px;
        padding: 24px 0;
        border-radius: 0;
    }

    .contact-info-inner {
        padding: 0 20px;
    }

    .contact-info {
        gap: 24px;
    }

    .contact-form-section {
        margin-top: 50px;
    }

    .contact-form {
        margin-top: 30px;
    }

    .contact-form-group {
        margin-bottom: 20px;
    }

    .contact-form-group input,
    .contact-form-group textarea {
        padding: 12px 16px;
    }

    .contact-form-submit-wrapper {
        margin-top: 30px;
        gap: 20px;
    }

    .contact-form-qr-box {
        width: 120px;
        height: 120px;
    }
}
