/* Contact Form Styles - Independent from message form */

/* Form Container */
.message_form_section_contact_page {
    padding: 7rem 0;
    background: url(/static/images/bg33.jpg) no-repeat center/cover;
}

.message_form_section_contact_page .message_form_container {
    max-width: 100%;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
}

/* Page Header within Form */
.message_form_section_contact_page .page_header {
    margin-bottom: 30px;
    text-align: center;
}

.message_form_section_contact_page .page_title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.message_form_section_contact_page .page_subtitle {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
}

/* Form Styles - 复用 message.dwt 的样式 */
.contact_form {
    width: 100%;
    margin-top: 0;
}

.contact_form .form_row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact_form .form_row:last-of-type {
    grid-template-columns: repeat(2, 1fr);
}

.contact_form .form_group {
    display: flex;
    flex-flow: row;
    background: white;
    border: 0.1rem solid rgb(233, 236, 239);
    border-radius: 0.8rem;
    padding: 0.7rem 1.6rem;
    box-shadow: none;
    transition: all 0.3s ease;
    align-items: center;
}

.contact_form .form_group:focus-within {
    border-color: rgb(11, 72, 161);
    box-shadow: rgba(0, 123, 255, 0.15) 0rem 0.2rem 1.2rem;
}

.contact_form .form_group_full {
    grid-column: 1 / -1;
    align-items: flex-start;
    padding: 2rem 1.6rem;
}

.contact_form .form_label {
    font-size: 1.6rem;
    font-weight: 400;
    color: rgb(108, 117, 125);
    margin-bottom: 0;
    margin-right: 1.5rem;
    min-width: 12rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.contact_form .form_label .required {
    color: #e74c3c;
    margin-left: 2px;
}

.contact_form .form_input,
.contact_form .form_textarea {
    border: none;
    font-size: 1.6rem;
    color: rgb(73, 80, 87);
    background: transparent;
    flex: 1;
    padding: 0;
    outline: none;
    font-family: inherit;
}

.contact_form .form_input::placeholder,
.contact_form .form_textarea::placeholder {
    color: rgb(173, 181, 189);
}

.contact_form .form_textarea {
    resize: vertical;
    min-height: 8rem;
    line-height: 1.6;
}

/* Form Footer */
.contact_form .form_footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    /* border-top: 1px solid #e1e5e9; */
}

.contact_form .privacy_statement {
    flex: 1;
}

.contact_form .privacy_statement p {
    font-size: 1.6rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
    position: relative;
    top: -2rem;
}

.contact_form .verification_submit {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: flex-end;
}

/* Captcha Styles - 复用 message.dwt 的样式 */
.contact_form .captcha_group {
    display: flex;
    flex-direction: row;
    align-items: center;
    box-shadow: none;
    gap: 2rem;
    border: 0rem;
    background: transparent;
    padding: 0;
    justify-content: center;
}

.contact_form .captcha_group .form_label {
    font-weight: 500;
    color: rgb(108, 117, 125);
    margin-bottom: 0.6rem;
    font-size: 1.4rem;
    min-width: auto;
    margin-right: 0;
}

.contact_form .captcha_container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact_form .captcha_input {
    background: white;
    border: 0.1rem solid rgb(233, 236, 239);
    border-radius: 0.8rem;
    padding: 1rem 1.2rem;
    font-size: 1.4rem;
    color: rgb(73, 80, 87);
    width: 12rem;
    text-align: center;
    font-family: monospace;
    letter-spacing: 0.1rem;
    transition: all 0.3s ease;
}

.contact_form .captcha_input:focus {
    outline: none;
    border-color: rgb(11, 72, 161);
    box-shadow: rgba(0, 123, 255, 0.15) 0rem 0.2rem 1.2rem;
}

.contact_form .captcha_image {
    cursor: pointer;
    border: 0.1rem solid rgb(233, 236, 239);
    border-radius: 0.8rem;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.contact_form .captcha_image:hover {
    border-color: rgb(11, 72, 161);
}

.contact_form .captcha_image img {
    display: block;
    width: 8rem;
    height: 4rem;
    object-fit: cover;
}

/* Submit Button - 复用 message.dwt 的样式 */
.contact_form .btn_submit {
    background: #0552C4;
    color: white;
    border: none;
    padding: 1.2rem 2.4rem;
    border-radius: 0.8rem;
    font-size: 1.8rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 14rem;
    box-shadow: none;
}

.contact_form .btn_submit:hover {
    transform: translateY(-0.2rem);
    box-shadow: rgba(0, 123, 255, 0.4) 0rem 0.6rem 1.6rem;
}

.contact_form .btn_submit:active {
    transform: translateY(0);
}

.contact_form .btn_submit:disabled {
    background: rgb(108, 117, 125);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Alert Messages */
.message_form_section_contact_page .alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.message_form_section_contact_page .alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message_form_section_contact_page .alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .message_form_section_contact_page {
        padding: 40px 0;
    }
    
    .message_form_section_contact_page .message_form_container {
        margin: 0 20px;
        padding: 30px 20px;
    }
    
    .contact_form .form_row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact_form .form_row:last-of-type {
        grid-template-columns: 1fr;
    }
    
    .contact_form .form_group {
        padding: 1rem 1.2rem;
        flex-direction: column;
        align-items: flex-start;
        border: none;
    }
    
    .contact_form .form_label {
        margin-bottom: 0.8rem;
        margin-right: 0;
        min-width: auto;
        font-size: 1.4rem;
    }
    
    .contact_form .form_footer {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    
    .contact_form .verification_submit {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .contact_form .captcha_container {
        justify-content: center;
    }
    
    .contact_form .btn_submit {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1.2rem;
    }
    
    .message_form_section_contact_page .page_title {
        font-size: 1.5rem;
    }
    
    .message_form_section_contact_page .page_subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .message_form_section_contact_page .message_form_container {
        margin: 0 10px;
        padding: 20px 15px;
    }
    
    .contact_form .form_group {
        padding: 0.8rem 1rem;
    }
    
    .contact_form .form_label {
        font-size: 1.2rem;
    }
    
    .contact_form .form_input,
    .contact_form .form_textarea {
        font-size: 1.2rem;
    }
    
    .contact_form .captcha_input {
        width: 10rem;
        padding: 0.8rem 1rem;
        font-size: 1.2rem;
    }
    
    .contact_form .captcha_image img {
        width: 7rem;
        height: 3.5rem;
    }
    
    .contact_form .btn_submit {
        padding: 0.8rem 1.5rem;
        font-size: 1.1rem;
    }
}

/* Service Support Section */
.service_support_section {
    padding: 6rem 0 10rem;
    background: transparent;
}

html body.contact-page .service_support_section h2, html body.contact-page .service_support_section h2+p {
    text-align: center;
    width: 60vw;
    margin-left: auto;
    margin-right: auto;
}

.service_support_content {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 20px;
}

.section_header {
    text-align: center;
    margin-bottom: 50px;
}

.section_title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section_description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.services_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    /* max-width: 1000px; */
    margin: 0 auto;
}

.service_item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service_image {
    position: relative;
    width: 100%;
    height: 33rem;
    overflow: hidden;
}

.service_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service_item:hover .service_image img {
    transform: scale(1.05);
}

.service_overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, #000000 0%, rgba(0, 0, 0, 0) 100%);
    color: white;
    padding: 20px;
    text-align: center;
    height: 16rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 2.5rem;
}

.service_overlay h3 {
    font-size: 3rem;
    font-family: 'Poppins';
    margin: 0 auto;
}

.service_title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design for Service Support */
@media (max-width: 768px) {
    .service_support_section {
        padding: 40px 0;
    }
    
    .section_title {
        font-size: 2rem;
    }
    
    .section_description {
        font-size: 1rem;
    }
    
    .services_grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service_image {
        height: 200px;
    }
    
    .service_overlay {
        padding: 15px;
    }
    
    .service_title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .service_support_content {
        padding: 0 15px;
    }
    
    .section_title {
        font-size: 1.8rem;
    }
    
    .section_description {
        font-size: 0.9rem;
    }
    
    .service_image {
        height: 180px;
    }
    
    .service_overlay {
        padding: 12px;
    }
    
    .service_title {
        font-size: 1rem;
    }
}

/* Plan Advantages Section */
.plan_advantages_section {
    padding: 60px 0;
    background: #e8f4fd;
}

.plan_advantages_content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.advantages_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.advantage_card {
    background: white;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.advantage_icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #e8f4fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.advantage_icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.advantage_content {
    text-align: center;
}

.advantage_title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0552C4;
    margin-bottom: 15px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.advantage_description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design for Plan Advantages */
@media (max-width: 1024px) {
    .advantages_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .plan_advantages_section {
        padding: 40px 0;
    }
    
    .advantages_grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantage_card {
        padding: 25px 20px;
    }
    
    .advantage_icon {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }
    
    .advantage_title {
        font-size: 1rem;
    }
    
    .advantage_description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .plan_advantages_content {
        padding: 0 15px;
    }
    
    .advantage_card {
        padding: 20px 15px;
    }
    
    .advantage_icon {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }
    
    .advantage_title {
        font-size: 0.95rem;
    }
    
    .advantage_description {
        font-size: 0.85rem;
    }
}
