@charset "UTF-8";

/* ==========================================================================
   Contact Page Dedicated Stylesheet
   Path: /css/contact.css
   Target: /sub/notice/contact.php
   ========================================================================== */

/* 1. Central Hero Banner Area */
.contact-hero-center {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-hero-title {
    font-size: 32px;
    color: var(--blue-point, #38bdf8);
    margin-bottom: 24px;
    font-weight: 700;
}

.contact-hero-desc {
    color: #cbd5e1;
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 17px;
    word-break: keep-all;
}

/* 2. Business Inquiry List Box */
.contact-business-list {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 25px 30px;
    margin: 0 auto 30px auto;
    text-align: left;
    width: 100%;
    max-width: 720px;
    box-sizing: border-box;
}

.contact-business-list .business-item {
    line-height: 2.0;
    font-size: 15px;
}

.contact-business-list .business-item:not(:last-child) {
    margin-bottom: 10px;
}

.contact-business-list .item-tag {
    color: #38bdf8;
    font-weight: 700;
}

.contact-business-list .item-desc {
    color: #cbd5e1;
}

/* 3. Contact Info Card (Centered Block) */
.contact-info-card {
    background: rgba(30, 58, 138, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 12px;
    padding: 20px 25px;
    margin: 0 auto 30px auto;
    font-size: 16px;
    color: #f1f5f9;
    display: block;
    width: 100%;
    max-width: 620px;
    line-height: 1.8;
    text-align: center;
    box-sizing: border-box;
}

/* 4. Action Button Area */
.contact-btn-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

.contact-open-modal-btn {
    background: linear-gradient(135deg, #2563EB, #1E3A8A);
    color: white;
    border: none;
    padding: 16px 44px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-open-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* 5. Contact Modal Layer Popup */
.contact-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.contact-modal-dialog {
    background: #0d1522;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    color: white;
    box-sizing: border-box;
}

.contact-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.contact-modal-close:hover {
    color: white;
}

.contact-modal-title {
    font-size: 24px;
    margin-bottom: 24px;
    font-weight: 700;
    text-align: center;
}

/* Modal Form Elements */
.contact-modal-dialog .contact-form {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
}

.contact-modal-dialog .form-group input,
.contact-modal-dialog .form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    width: 100%;
    padding: 12px 15px;
    box-sizing: border-box;
}

.contact-modal-dialog .form-group input:focus,
.contact-modal-dialog .form-group textarea:focus {
    border-color: #38bdf8;
    outline: none;
}

/* SVG Captcha Box */
.svg-captcha-wrapper {
    background: #1e293b;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-modal-dialog .captcha-label {
    color: #94a3b8;
    display: block;
    margin-bottom: 8px;
}

.contact-modal-dialog .captcha-input {
    margin-top: 5px;
}

.contact-modal-dialog .contact-btn {
    width: 100%;
    margin-top: 20px;
}

/* 6. Responsive Adjustments */
@media (max-width: 768px) {
    .contact-hero-center {
        padding: 40px 15px;
    }
    .contact-hero-title {
        font-size: 26px;
    }
    .contact-hero-desc {
        font-size: 15px;
    }
    .contact-business-list {
        padding: 20px;
    }
    .contact-info-card {
        padding: 15px 20px;
        font-size: 15px;
    }
    .contact-modal-dialog {
        padding: 25px 20px;
        width: 92%;
    }
}
