/* Service Hero Section */
.service-hero {
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.service-hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(44, 90, 160, 0.8), rgba(44, 90, 160, 0.6)),
                url('../images/placeholder.webp') center/cover;
    z-index: -1;
}

.service-hero__title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.service-hero__subtitle {
    font-size: 18px;
    font-weight: 300;
    opacity: 0.9;
    max-width: 600px;
}

/* Training Service Section */
.training-service {
    background-color: white;
    text-align: center;
    padding: 80px 0;
}

.training-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 100px;
}

.training-title {
    font-family: "DM Sans", Sans-serif;
    font-size: 45px;
    font-weight: 700;
    color: #353535;
    margin-bottom: 20px;
    text-align: left;
    padding-left: 1rem;
}

.training-description {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 1rem;
    text-align: left;
}

.training-image img {
    width: 100%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* We Provide Section */
.we-provide {
    background-color: #fff;
    padding: 60px 0;
}

.section__title {
    color: #444;
}

.calibration-service__description {
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: #252525;
    color: white;
    padding: 50px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card--orange {
    background-color: #ff6400;
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 60px;
    height: 60px;
}

.service-card__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-card__description {
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
}

/* Calibration Service Section */
.calibration-service {
    background-color: white;
    text-align: center;
    padding: 80px 0;
}

.calibration-container {
    background-color: #eee;
    padding: 0 calc((100vw - 1240px)/2);
}

.calibration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.calibration-image img {
    width: 100%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.calibration-description {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.calibration-subtitle {
    font-size: 40px;
    font-weight: 400;
    color: #333;
    margin: 30px 0 20px;
    line-height: 1.2;
}

.calibration-recommendation {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.calibration-recommendation p {
    font-size: 30px;
    font-weight: 700;
    color: #ff6b35;
}

.btn--orange {
    background-color: #FF6400;
    color: white;
    border: none;
    padding: 11px 32px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn--orange:hover {
    background-color: #e55a2b;
}

/* Warranty Service Section */
.warranty-service {
    background-color: #fff;
    padding: 0px 0;
}

.warranty-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.warranty-description {
    color: #666;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 20px;
}

.warranty-description p {
    color: #000;
    font-weight: 700;
    line-height: 1.2;
}

.warranty-bottom {
    color: #666;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 20px;
    padding-top: 20px;
}

.warranty-list {
    margin: 20px 0;
    padding-left: 20px;
}

.warranty-list li {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* Contact Specialist Section */
.contact-specialist {
    background-color: white;
    padding: 80px 0;
    text-align: center;
}

.contact-btn {
    margin: 20px auto 40px;
    display: inline-block;
}

.contact-form {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

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

.form-group {
    margin-bottom: 20px;
}

.full-width {
    grid-column: 1 / -1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
}

textarea {
    resize: vertical;
}

.submit-btn {
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .service-hero__title {
        font-size: 36px;
    }
    
    .training-content,
    .calibration-content,
    .warranty-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .training-content > *:first-child {
        order: 2;
    }

    .training-content > *:last-child {
        order: 1;
    }

    .calibration-content > *:first-child {
        order: 2;
    }

    .calibration-content > *:last-child {
        order: 1;
    }
    
    .training-title {
        font-size: 36px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.contact-btn {
    font-size: 14px;
    background-color: #FF6400;
    display: block;
    padding: 10px 8px;
    margin: 30px auto;
    max-width: 300px;
    line-height: 1;
}

.overseas-warranty {
    background-color: white;
    padding: 80px 0;
}

.warranty-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.warranty-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.warranty-label {
    font-size: 12px;
    color: #666;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 500;
}

.warranty-title {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    margin: 0;
}

.warranty-right {
    padding-left: 20px;
}

/* Accordion Styles - 最简洁样式 */
.accordion {
    border: none;
    border-radius: 0;
    overflow: visible;
}

.accordion-item {
    border: none;
    margin-bottom: 10px;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    padding: 20px 0;
    background-color: transparent;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
    user-select: none;
    border: none;
    border-radius: 0;
}

.accordion-header:hover {
    background-color: transparent;
    color: #28a745;
}

.accordion-header.active {
    background-color: transparent;
    color: #28a745;
}

.accordion-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: #28a745;
}

.accordion-header.active .accordion-icon {
    transform: rotate(90deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: transparent;
}

.accordion-content.active {
    max-height: 500px;
    padding: 0 0 20px 0;
}

.accordion-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.accordion-content li {
    padding: 8px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.accordion-content li::before {
    content: "•";
    color: #999;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 8px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .warranty-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .warranty-right {
        padding-left: 0;
    }
    
    .warranty-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .accordion-header {
        padding: 15px 20px;
        font-size: 14px;
    }
    
    .accordion-content.active {
        padding: 20px;
    }

    .warranty-title {
        font-size: 24px;
    }
}

/* Calibration Service Section Specific Styles */
.calibration-intro {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.calibration-recommendation-section {
    margin-top: 60px;
    text-align: left;
}

.calibration-recommendation-section .calibration-subtitle {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.4;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.recommendation-frequency {
    font-size: 16px;
    font-weight: 600;
    color: #ff6b35;
    margin-bottom: 0;
}

/* Contact Specialist Section */
.contact-subtitle {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 40px;
}

h2, h4 {
    font-size: 1.5em;
    font-weight: 700;
}

h2 {
    font-weight: 700;
    font-family: "Montserrat", Sans-serif;
}

h4 {
    font-family: "Open Sans", Sans-serif;
}

.elementor-section-service {
    position: relative;
    padding: 400px 0 0 0;
    overflow: hidden;
}

.elementor-swiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    height: 100%;
}

.elementor-background-slideshow__slide__image {
    background-image: url('../images/DSC05008-scaled.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
}

.elementor-background-overlay-service {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;

    background-color: #000;
    opacity: 0.3;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

.elementor-container {
    position: absolute;
    top: 3.3rem;
    left: 15.7%;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    padding: 20px;
    max-width: 900px;
    min-height: 164px;
}

.text-container {
    text-align: center;
    max-width: 900px;
}

.elementor-heading-title-service {
    color: white;
    text-shadow: -1px 0px 6px rgba(7.808662570888461, 7.757608695652168, 19.499999999999982, 0.27);
    text-align: left;
}

.elementor-heading-title-service:nth-child(1) {
    transform: translateY(0);
    opacity: 1;
    margin: -25px 0;
    font-family: "Montserrat", Sans-serif;
    font-size: 40px;
}

.elementor-heading-title-service:nth-child(2) {
    transform: translateY(0);
    opacity: 1;
    margin: 37px 0;
    font-family: "DM Sans", Sans-serif;
    font-size: 1.5em;
    line-height: 28px;
}

.elementor-heading-title-service:last-child {
    animation: slideDown 1.5s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-80px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(80px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    .elementor-background-slideshow__slide__image {
        background-image: url('../images/home_page_1.webp');
    }
    .elementor-background-overlay-service {
        opacity: 0.25;
    }
    .elementor-heading-title-service {
        font-size: 1.5em !important;
    }
    .elementor-heading-title-service:nth-child(2) {
        font-size: 1em !important;
        width: 60%;
    }
    .elementor-container {
        top: 17%;
        left: 0%;
    }
}

.line-container {
    width: 100px;
    margin: 0.72rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.line-container img {
    max-width: 100%;
    height: auto;
}

.elementor-tab-title a {
    color: inherit
}

.elementor-toggle {
    text-align: start
}

.elementor-toggle .elementor-tab-title {
    border-bottom: 1px solid #d5d8dc;
    cursor: pointer;
    font-weight: 700;
    line-height: 1;
    margin: 0;
    outline: none;
    padding: 20px
}

.elementor-toggle .elementor-tab-title .elementor-toggle-icon {
    display: inline-block;
    width: 1em
}

.elementor-toggle .elementor-tab-title .elementor-toggle-icon svg {
    height: 1em;
    margin-inline-start:-5px;width: 1em
}

.elementor-toggle .elementor-tab-title .elementor-toggle-icon.elementor-toggle-icon-right {
    float: right;
    text-align: right;
}

.elementor-toggle .elementor-tab-title .elementor-toggle-icon.elementor-toggle-icon-left {
    float: left;
    text-align: left;
}

.elementor-toggle .elementor-tab-title .elementor-toggle-icon .elementor-toggle-icon-closed {
    display: block;
    color: #000;
}

.elementor-toggle .elementor-tab-title .elementor-toggle-icon .elementor-toggle-icon-opened {
    display: none;
    color: #28a745;
}

.elementor-toggle .elementor-tab-title.elementor-active {
    border-bottom: none;
}

.elementor-toggle .elementor-tab-title.elementor-active .elementor-toggle-icon-closed {
    display: none;
}

.elementor-toggle .elementor-tab-title.elementor-active .elementor-toggle-icon-opened {
    display: block;
}

.elementor-toggle .elementor-tab-content {
    border-bottom: 1px solid #d5d8dc;
    display: none;
 }

 .elementor-tab-content ul {
    margin: 1rem 0;
 }

 .elementor-tab-content li {
    margin-left: 3rem;
    line-height: 1.8;
 }

 .elementor-toggle-title {
    font-family: "Open Sans", Sans-serif;
    font-size: 20px;
    font-weight: 500;
 }

@media (max-width: 767px) {
    .elementor-toggle .elementor-tab-title {
        padding:12px
    }

    .elementor-toggle .elementor-tab-content {
        padding: 12px 10px
    }
}

.e-con-inner>.elementor-widget-toggle,.e-con>.elementor-widget-toggle {
    width: var(--container-widget-width);
    --flex-grow: var( --container-widget-flex-grow )
}

.elementor-tab-content {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.23, 1, 0.32, 1), 
                padding 0.6s ease,
                opacity 0.6s ease;

    opacity: 0;
    padding: 0 15px;
}

.elementor-tab-content.elementor-active {
    display: block !important;
    max-height: 1000px;
    opacity: 1;
}
