.contact-style-1 { background-color: var(--secondary-color); padding: 120px 0 60px; text-align: center; color: #fff; }
.contact-style-2 { font-size: 3rem; margin-bottom: 15px; }
.contact-style-3 { font-size: 1.2rem; opacity: 0.9; }
.contact-style-4 { padding: 60px 0; min-height: 60vh; }
.contact-style-5 { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.contact-style-6 { width: 40%; padding: 0 15px; box-sizing: border-box; }
.contact-style-7 { background: var(--bg-light); padding: 40px; border-radius: 12px; height: 100%; }
.contact-style-8 { font-size: 1.8rem; margin-bottom: 30px; position: relative; padding-bottom: 15px; }
.contact-style-9 { position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: var(--primary-color); }
.contact-style-10 { margin-bottom: 25px; display: flex; align-items: flex-start; }
.contact-style-11 { font-size: 1.5rem; color: var(--primary-color); margin-right: 15px; margin-top: 5px; }
.contact-style-12 { margin-bottom: 5px; font-size: 1.1rem; }
.contact-style-13 { color: var(--text-secondary); line-height: 1.5; }
.contact-style-14 { width: 60%; padding: 0 15px; box-sizing: border-box; }
.contact-style-15 { padding: 40px; border: 1px solid #eee; border-radius: 12px; box-shadow: var(--shadow-sm); }
.contact-style-16 { font-size: 1.8rem; margin-bottom: 30px; }
.contact-style-17 { display: grid; gap: 20px; }
.contact-style-18 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-style-19 { display: block; margin-bottom: 8px; font-weight: 500; }
.contact-style-20 { width: 100%; padding: 12px 15px; border: 1px solid #ccc; border-radius: 4px; font-family: inherit; }
.contact-style-21 { width: 100%; padding: 12px 15px; border: 1px solid #ccc; border-radius: 4px; font-family: inherit; resize: vertical; }
.contact-style-22 { padding: 12px 30px; font-size: 1.1rem; border: none; cursor: pointer; width: fit-content; }



/* Contact Page Title Section Styles */
.contact-page-title {
    position: relative;
    background-image: url('../img/公司大门.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 40px;
}

/* Semi-transparent black overlay */
.contact-page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* 60% opacity black */
    z-index: 1;
}

.contact-page-title .zs-container {
    position: relative;
    z-index: 2; /* Ensure text is above the overlay */
}

.contact-title-heading {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-title-desc {
    font-size: 1.15rem;
    color: #f0f0f0;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-page-title {
        padding: 40px 0;
    }
    .contact-title-heading {
        font-size: 2rem;
    }
    .contact-title-desc {
        font-size: 1rem;
        padding: 0 15px;
    }
}

/* Contact Guide Section Styles */
.contact-guide-section {
    padding: 0 0 40px 0;
}

.contact-guide-card {
    background-color: #f4f8ec; /* Light theme matching site style */
    border-radius: 12px;
    padding: 30px 40px;
    width: 100%;
    margin: 0 auto;
    border-left: 4px solid var(--primary-color);
    box-sizing: border-box;
}

.contact-guide-title {
    font-size: 1.4rem;
    color: #222;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-guide-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-guide-list li {
    display: flex;
    align-items: center;
    color: #555;
    font-size: 1.05rem;
}

.contact-guide-icon {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
}

.contact-guide-footer {
    font-size: 1.05rem;
    color: #444;
    font-weight: 500;
    margin: 0;
    padding-top: 15px;
    border-top: 1px dashed rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-guide-card {
        padding: 20px;
    }
    .contact-guide-list {
        grid-template-columns: 1fr;
    }
}


/* Contact Form Styles */
.contact-form-wrapper {
    background-color: transparent;
    padding: 40px;
    margin: 0;
    max-width: none;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.contact-form-header h2 {
    font-size: 2rem;
    color: #222;
    margin-bottom: 10px;
}

.contact-form-header p {
    color: #666;
    font-size: 1.05rem;
}

.custom-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.form-group .required {
    color: #e53935;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(126, 168, 47, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    margin-top: 10px;
    text-align: center;
}

.submit-btn {
    padding: 12px 40px;
    font-size: 1.1rem;
    min-width: 200px;
}

/* Responsive Form */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 25px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}


/* Contact Main Grid Layout */
.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    margin: 40px auto 60px;
    align-items: stretch;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    overflow: hidden;
}

/* Contact Info Panel Styles */
.contact-info-panel {
    background-color: #fcfcfc;
    padding: 40px 30px;
    border-right: 1px solid #eaeaea;
}

.contact-info-panel h3 {
    font-size: 1.8rem;
    color: #222;
    margin-bottom: 10px;
}

.contact-info-desc {
    color: #666;
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(126, 168, 47, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-text strong {
    color: #333;
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.info-text span,
.info-text a {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-text a:hover {
    color: var(--primary-color);
}

/* Update Form Wrapper to reset margin for grid */
.contact-form-wrapper {
    margin: 0;
    max-width: none;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .contact-main-grid {
        grid-template-columns: 1fr;
    }
    .contact-info-panel {
        border-right: none;
        border-bottom: 1px solid #eaeaea;
    }
}


/* Google Map Section */
.contact-map-section {
    padding: 0 0 60px 0;
}

.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    background-color: #fff;
}

.map-wrapper iframe {
    display: block;
    width: 100%;
}


/* Service Coverage Section */
.service-coverage-section {
    padding: 0 0 60px 0;
}

.coverage-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    gap: 30px;
    border-top: 4px solid var(--primary-color);
}

.coverage-icon-wrapper {
    width: 100px;
    height: 100px;
    background-color: rgba(126, 168, 47, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.coverage-content {
    flex: 1;
}

.coverage-content h3 {
    font-size: 1.6rem;
    color: #222;
    margin-bottom: 10px;
}

.coverage-desc {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.coverage-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.coverage-item {
    display: flex;
    align-items: flex-start;
    background-color: #fcfcfc;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #eaeaea;
}

.cov-item-icon {
    color: var(--primary-color);
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.cov-item-text {
    display: flex;
    flex-direction: column;
}

.cov-item-text strong {
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.cov-item-text span {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Responsive Coverage */
@media (max-width: 768px) {
    .coverage-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    .coverage-details {
        grid-template-columns: 1fr;
        text-align: left;
    }
}


/* Extra Info Grid Section */
.contact-extra-section {
    padding: 0 0 80px 0;
}

.contact-extra-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.extra-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid transparent;
}

.extra-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.extra-card:nth-child(1) { border-top-color: #4a90e2; }
.extra-card:nth-child(2) { border-top-color: var(--primary-color); }
.extra-card:nth-child(3) { border-top-color: #f5a623; }

.extra-icon {
    width: 60px;
    height: 60px;
    background-color: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    margin-bottom: 25px;
}

.extra-card:nth-child(2) .extra-icon {
    background-color: rgba(126, 168, 47, 0.1);
    color: var(--primary-color);
}

.extra-title {
    font-size: 1.4rem;
    color: #222;
    margin-bottom: 15px;
    font-weight: 600;
}

.extra-desc, .extra-subtitle {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.extra-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    width: 100%;
    flex-grow: 1;
}

.extra-list li {
    display: flex;
    align-items: flex-start;
    color: #555;
    font-size: 1rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.extra-list li:last-child {
    margin-bottom: 0;
}

.list-dot {
    color: var(--primary-color);
    margin-right: 10px;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

.privacy-list li {
    font-size: 0.95rem;
    color: #666;
}

.privacy-list .list-dot {
    color: #f5a623;
}

.extra-btn {
    margin-top: auto;
    align-self: flex-start;
    padding: 10px 25px;
}

/* Responsive Extra Grid */
@media (max-width: 992px) {
    .contact-extra-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-extra-grid {
        grid-template-columns: 1fr;
    }
}


/* Final CTA Section */
.contact-cta-section {
    padding: 0 0 80px 0;
}

.cta-banner {
    background-color: #f4f8ec; /* Consistent light background */
    border-radius: 16px;
    padding: 50px 30px;
    text-align: center;
    position: relative;
    border: 1px solid #eaeaea;
}

.cta-icon-top {
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.cta-heading {
    font-size: 2.2rem;
    color: #222;
    margin-bottom: 30px;
    font-weight: 700;
}

.cta-button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    min-width: 220px;
    border-radius: 30px; /* More rounded CTA buttons */
}

.cta-footer-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #555;
    font-size: 1.05rem;
    margin-top: 20px;
}

.cta-footer-text a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

/* Responsive CTA */
@media (max-width: 768px) {
    .cta-banner {
        padding: 40px 20px;
    }
    .cta-heading {
        font-size: 1.8rem;
    }
    .cta-button-group {
        flex-direction: column;
        gap: 15px;
    }
    .cta-btn {
        width: 100%;
    }
    .cta-footer-text {
        flex-direction: column;
        text-align: center;
    }
}
