/* 英国教育服务页面特定样式 */
.service-overview {
    background-color: var(--light-gray);
    padding: 4rem 0;
}

.section-title {
    font-size: 2.4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.text-center {
    text-align: center;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0 1rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.highlight-item:hover .highlight-icon {
    transform: scale(1.1);
}

.highlight-content {
    flex: 1;
}

.highlight-content h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* 服务卡片区域的样式 */
.services-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.service-card:hover::before {
    width: 8px;
}

.service-icon {
    width: 120px;
    height: 120px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin: 0 auto;
    transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--white);
    background-color: var(--primary-color);
}

.service-details h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
}

.services-tabs {
    display: flex;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--medium-gray);
}

.service-tab {
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    text-align: center;
    flex: 1;
}

.service-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.service-content {
    display: none;
}

.service-content.active {
    display: block;
}

.service-item {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 2rem;
    align-items: center;
}

.testimonials-section {
    background-color: var(--light-gray);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-item {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.testimonial-quote {
    margin-bottom: 1.5rem;
    position: relative;
    padding: 0 2rem;
}

.testimonial-quote:before,
.testimonial-quote:after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
}

.testimonial-quote:before {
    top: -1rem;
    left: 0;
}

.testimonial-quote:after {
    bottom: -2rem;
    right: 0;
}

.universities-section {
    text-align: center;
}

.universities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.university-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.university-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.university-name {
    font-weight: 600;
    text-align: center;
}

.contact-section {
    background: linear-gradient(135deg, var(--primary-color), #2c3e50);
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
}

.contact-content h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.contact-buttons .btn {
    min-width: 200px;
}

/* 为竞争优势部分添加的样式 */
.testimonial-quote p {
    margin-bottom: 1rem;
    text-align: left;
}

.testimonial-quote strong {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .overview-container {
        grid-template-columns: 1fr;
    }
    
    .highlight-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .service-icon {
        margin-bottom: 1.5rem;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* 添加AOS动画相关样式 */
[data-aos] {
    pointer-events: none;
}
[data-aos].aos-animate {
    pointer-events: auto;
}

@media screen and (max-width: 480px) {
    .highlight-item,
    .service-card {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

.feature-list li strong {
    color: var(--primary-color);
    font-weight: 600;
}

.mt-3 {
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .service-card {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .service-icon {
        margin-right: 25px;
        margin-bottom: 0;
        min-width: 80px;
    }
}