.contactus-page,
.contactus-page input,
.contactus-page select,
.contactus-page textarea,
.contactus-page button {
    font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #223046;
}

.contactus-page {
    width: 100%;
}

.top-image {
    max-height: 460px;
    object-fit: cover;
}

.top-title-text {
    font-size: 2.2rem;
    font-weight: 600;
}

.fade-source {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s ease;
}

.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ----- Left lab info (legacy tasustop, now in card) ----- */
.tasustop {
    display: flex;
    height: 23vw;
    align-items: center;
    background-color: #edf4fd;
    overflow: hidden;
}

.tasustop_img {
    width: 50%;
    height: 100%;
    position: relative;
}

.tasustop_img iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.tasustop_box {
    padding: 4vw 3vw;
    width: 50%;
}

.tasustop_h {
    color: #000000;
    font-size: 1.1vw;
    font-weight: 700;
    padding: 1vw 0;
}

.tas_disflex {
    font-size: 0.85vw;
    padding-bottom: 0.4vw;
}

.tas_disflex span:first-child {
    display: inline-block;
    padding-right: 0.5vw;
}

.careerh {
    font-weight: 500;
    font-size: 1.3vw;
    padding: 2vw 0;
    position: relative;
}

.fly_line {
    position: absolute;
    width: 3px;
    height: 2vw;
    background: #00a2e9;
    top: 1.8vw;
    left: -0.8vw;
}

/* ----- Old inline form layout (仍給其他頁可用) ----- */
.tasusform {
    overflow: hidden;
    width: 100%;
    font-size: 14px;
}

.form_group {
    float: left;
    width: 50%;
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.form_select {
    width: 100%;
    max-width: 320px;
}

.form_growar {
    float: left;
    width: 100%;
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.form_grorig {
    float: right;
    margin-right: 3vw;
}

.form_label {
    padding: 0;
    margin: 0;
    width: 120px;
    text-align: left;
    display: inline-block;
    color: #54627a;
}

.form_label_message {
    width: 120px;
}

.form_control {
    width: 100%;
    max-width: 320px;
}

.form_coninpt {
    width: 100%;
    max-width: 220px;
}

.form_left {
    display: flex;
    align-items: center;
    width: 55%;
    gap: 0.75rem;
}

.form_radio {
    display: flex;
    width: 45%;
    justify-content: flex-start;
    align-items: center;
    gap: 0.75rem;
    font-size: 14px;
}

.form_magin {
    margin-right: 0;
}

.form_tarea {
    flex: 1;
}

.form_tarea textarea {
    width: 100%;
    min-height: 160px;
    padding: 0.45rem 0.75rem;
    border-radius: 4px;
    border: 1px solid #d0d7e2;
    font-size: 14px;
}

.form_btn {
    padding: 0.5vw 2.5vw;
    color: #ffffff;
    background-color: #00a2e9;
    border: none;
    border-radius: 0.1vw;
}

.form_notice {
    text-align: right;
    margin-right: 48px;
    margin-bottom: 20px;
    color: #fe0000;
}

.copyBox_btn {
    text-align: center;
    background-color: #ffffff;
    padding: 0.8vw 0;
}

.btn-back {
    min-width: 160px;
}

/* ----- Contact header (Get in touch) ----- */
.contact-section-header {
    max-width: 720px;
    margin: 3rem auto 2rem;
    text-align: center;
    position: relative;
    padding: 2.5rem 1.5rem 2rem;
    border-radius: 1.5rem;
    background: radial-gradient(circle at 0 0, #ffffff 0, #f7fbff 40%, #e8f4ff 100%);
    box-shadow: 0 26px 60px rgba(15, 35, 85, 0.12);
}

.contact-title {
    font-size: 26px;
    font-weight: 700;
    color: #12263f;
    margin-bottom: 0.25rem;
}

.contact-subtitle {
    font-size: 14px;
    color: #6c7a91;
    margin-bottom: 1.5rem;
}

.contact-title-divider {
    width: 120px;
    height: 2px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent 0, #00a2e9 35%, #4dbaf7 65%, transparent 100%);
}

/* ----- Contact wrapper (left info + right form) ----- */
.contact-wrapper {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

/* 左側藍色資訊區 */
.contact-info {
    background: linear-gradient(135deg, #0062cc, #0096ff);
    padding: 40px;
    color: #ffffff;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(8px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.map-container {
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

/* 右側表單區 */
.contact-form {
    padding: 40px;
    background-color: #ffffff;
}

.contact-form .form-control {
    border-radius: 10px;
    padding: 12px 15px;
    border: 2px solid #eeeeee;
    transition: all 0.3s ease;
    font-size: 14px;
}

.contact-form .form-control:focus {
    border-color: #0062cc;
    box-shadow: none;
}

.contact-form .form-label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #223046;
}

/* surname row radio text */
.contact-form .d-flex.align-items-center.gap-2 label {
    font-size: 13px;
    color: #4b5872;
}

/* 表單外卡片陰影（若使用 contact-form-wrapper class） */
.contact-form-wrapper {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 2rem 2.5rem;
    border-radius: 1.25rem;
    background-color: #ffffff;
    box-shadow: 0 18px 36px rgba(15, 35, 85, 0.08);
}

.contact-form-wrapper .form_group {
    padding-right: 1rem;
}

/* submit 按鈕 */
.btn-submit {
    background: linear-gradient(135deg, #0062cc, #0096ff);
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.03em;
    box-shadow: 0 6px 18px rgba(0, 98, 204, 0.35);
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 98, 204, 0.4);
}

/* ----- Responsive: phones ----- */
@media (max-width: 575.98px) {
    .top-title-text {
        font-size: 1.6rem;
    }

    .contact-wrapper {
        border-radius: 16px;
    }

    .contact-info {
        padding: 24px 20px;
    }

    .contact-form {
        padding: 24px 20px 28px;
    }

    .tasustop {
        flex-direction: column;
        height: auto;
    }

    .tasustop_img,
    .tasustop_box {
        width: 100%;
        padding: 1.5rem 1rem;
        height: auto;
    }

    .tasustop_h {
        font-size: 1.1rem;
    }

    .tas_disflex {
        font-size: 0.9rem;
    }

    .tasusform {
        font-size: 14px;
    }

    .form_group {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .form_label,
    .form_label_message {
        width: 100%;
        margin-bottom: 0.25rem;
        padding: 0;
    }

    .form_select,
    .form_control,
    .form_coninpt {
        padding: 0.45rem 0.75rem;
        border-radius: 4px;
        border: 1px solid #d0d7e2;
        font-size: 14px;
    }

    .form_left {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .form_radio {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .form_magin {
        margin-right: 1.5rem;
        margin-bottom: 0.25rem;
    }

    .form_growar {
        flex-direction: column;
    }

    .form_tarea {
        width: 100%;
    }

    .form_notice {
        margin-right: 0;
        font-size: 0.85rem;
    }

    .form_grorig {
        float: none;
        margin-right: 0;
        text-align: right;
        width: 100%;
    }

    .form_btn {
        padding: 0.5rem 1.5rem;
    }

    .contact-form .d-flex.align-items-center {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-form .d-flex.align-items-center.gap-2 {
        margin-top: 0.5rem;
    }
}

/* ----- Responsive: tablets (iPad Mini) ----- */
@media (min-width: 768px) and (max-width: 991.98px) {
    .tasustop {
        height: auto;
    }

    .tasustop_box {
        padding: 3vw 2vw;
    }

    .tasustop_h {
        font-size: 1.6vw;
    }

    .tas_disflex {
        font-size: 1.2vw;
    }

    .tasusform {
        font-size: 1.1vw;
    }

    .form_label {
        width: 8vw;
    }

    .form_control {
        width: 70%;
    }

    .form_coninpt {
        width: 10vw;
    }

    .form_tarea {
        width: 80vw;
    }
}
