.div {
    color: #fc8b1f;
    text-align: left;
    font-family: "Inter-Bold", sans-serif;
    font-size: 25px;
    font-weight: 700;
    width: 1440px;
    margin: 0 auto;
    padding-top: 444px;
    padding-left: 324px;
}

.intro {
    color: #33383d;
    text-align: left;
    font-family: "Inter-Regular", sans-serif;
    font-size: 14px;
    font-weight: 400;
    width: 1440px;
    margin: 0 auto;
    padding-top: 14px;
    padding-left: 324px;
}

.card-container {
    width: 694px;
    height: 230px;
    background: #ffffff;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    padding: 30px;
    color: #33383d;
    font-family: "Inter-Bold", sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.input-grid {
    display: flex;
    flex-direction: column;
    gap: 21px;
    font-size: 14px;
    color: #33383D;
}

.form-row {
    display: grid;
    grid-template-columns: 120px 1fr 120px 1fr;
    align-items: center;
    gap: 12px;
}

input[type="number"],
select {
    border: 1px #d9d9d9;
    box-sizing: border-box;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 14px;
    border-style: solid;
    border-width: 1px;
    flex-shrink: 0;
    width: 100%;
    height: 27px;
    position: relative;
    box-shadow: 0px 4px 8px 0px rgba(217, 217, 217, 0.25);
    /*aspect-ratio: 234/27;*/
}

/*X Y 勾選*/
.checkbox-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 400px;
    margin-top: 14px;
    gap: 14px;
}

    .checkbox-group label {
        text-align: left;
        line-height: 1.4;
        gap: 6px;
        font-size: 14px;
        color: #33383D;
    }

/*按鈕*/
.checkbox-row {
    margin: -65px 0 50px 372px;
    display: flex;
    justify-content: center;
    gap: 14px;
}

.btn-primary {
    box-sizing: border-box;
    width: 118px;
    height: 33px;
    background: #d9d9d9;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    font-weight: bold;
    font-size: 14px;
    color: rgb(35,62,131);
    border: none;
}

    .btn-primary:hover {
        background-color: #233e83;
        color: #ffffff;
        transform: scale(1.05);
    }

.btn-secondary {
    box-sizing: border-box;
    width: 118px;
    height: 33px;
    background: #d9d9d9;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    font-weight: bold;
    font-size: 14px;
    color: rgb(35,62,131);
    border: none;
}

    .btn-secondary:hover {
        background-color: #233e83;
        color: #ffffff;
        transform: scale(1.05);
    }

/* Modal遮罩與內容*/
body.modal-open #modalOverlay {
    pointer-events: auto;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    /*try*/
    display: block;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: #d9d9d9;
    border-radius: 27px;
    padding: 30px 24px 30px 24px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
    justify-content: flex-start;
    width: 479px;
    aspect-ratio: 479/411;
    position: relative;
    box-shadow: 0px 4px 8px 0px rgba(217, 217, 217, 0.2);
    backdrop-filter: blur(4px);
}

.contact-title {
    color: #33383d;
    text-align: left;
    font-family: "Inter-Bold", sans-serif;
    font-size: 32px;
    font-weight: 700;
    position: relative;
}

.contact-intro {
    box-sizing: border-box;
    color: #33383d;
    text-align: left;
    font-family: "Inter-Bold", sans-serif;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.contact-confidential {
    box-sizing: border-box;
    color: #33383d;
    text-align: left;
    font-family: "Inter-Italic", sans-serif;
    font-style: italic;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.contactForm {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    outline: none;
}

input::placeholder {
    color: #868686;
    text-align: left;
    font-family: "Inter-Bold", sans-serif;
    font-size: 12px;
    font-weight: 700;
    position: relative;
}


/*去除原本user agent stylesheet的外框*/
.form-group1 input[type="text"],
.form-group1 input[type="email"],
.form-group2 input[type="text"],
.form-group3 input[type="text"] {
    border: none; /* 移除 UA 預設邊框 */
    outline: none; /* 移除聚焦外框 */
    -webkit-appearance: none;
    -moz-appearance: none;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    gap: 7px;
    align-items: flex-start;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

/*輸入名字和信箱那一列*/
.form-group1 {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: flex-start;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    width: 100%;
    margin-top: 7px;
}

.form-name {
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 8px;
    padding: 6px 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 215px;
    aspect-ratio: 215/33;
    z-index: 1;
}

.full-name-icon {
    width: 18.18px;
    aspect-ratio: 18.18/20.86;
    position: absolute;
    z-index: 10;
    left: 200px;
}

.form-email {
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 8px;
    padding: 6px 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 215px;
    aspect-ratio: 215/33;
    z-index: 1;
}

.email-icon {
    width: 31px;
    aspect-ratio: 31/31;
    position: absolute;
    z-index: 10;
    left: 420px;
}


.form-group2 {
    background: #ffffff;
    border-radius: 8px;
    padding: 6px 10px;
    display: flex;
    flex-direction: row;
    gap: 46px;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    width: 458px;
    aspect-ratio: 458/33;
    position: relative;
    margin-top: 14px;
}

/*把your message移到左上方?!*/
.form-group3 {
    background: #ffffff;
    border-radius: 8px;
    padding: 9px 10px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    width: 458px;
    aspect-ratio: 458/74;
    position: relative;
    margin-top: 14px;
}

/*彈出視窗按鈕*/
.modal-buttons {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 51px;
    width: 100%;
    padding-top: 21px;
}

.submitBtn {
    box-sizing: border-box;
    width: 97px;
    height: 33px;
    background: #ffffff;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    font-weight: bold;
    font-size: 14px;
    color: #868686;
    border: none;
}

    .submitBtn:hover {
        background-color: #233e83;
        color: #ffffff;
        transform: scale(1.05);
    }

.closeBtn {
    box-sizing: border-box;
    width: 97px;
    height: 33px;
    background: #ffffff;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    font-weight: bold;
    font-size: 14px;
    color: #868686;
    border: none;
}

    .closeBtn:hover {
        background-color: #233e83;
        color: #ffffff;
        transform: scale(1.05);
    }
