* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #eee;
    line-height: 1.2;
}

.navbar {
    background-color: #000;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: flex-start;
}

.nav-item {
    margin-right: 40px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 20px 0;
    display: block;
    transition: color 0.3s ease;
    letter-spacing: 1px;
}

.nav-link:hover,
.nav-link.active {
    color: #ccc;
}

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

.banner-section {
    background-color: #333;
    background-image: url('images/banner-bg.jpg');
    background-size: cover;
    background-position: center 15%;
    background-repeat: no-repeat;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.banner-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.banner-title {
    color: #fff;
    font-size: 48px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.teacher-intro {
    background-color: rgba(0,0,0,0);
    padding: 80px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.teacher-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    gap: 60px;
}

.teacher-info {
    flex: 1;
}

.teacher-name {
    font-size: 4rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.teacher-title {
    font-size: 2rem;
    color: #666;
    font-style: italic;
    margin-bottom: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: justify;
    /* text-align-last: justify; */
}

.teacher-qualifications {
    list-style: none;
    padding: 0;
}

.teacher-qualifications li {
    font-size: 1.6rem;
    color: #555;
    font-weight: 500;
    margin-bottom: 15px;
    padding-left: 10px;
    line-height: 1.4;
}

.teacher-photo {
    flex: 0 0 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.teacher-photo img {
    width: 500px;
    height: 520px;
    object-fit: cover;
    border-radius: 50% 20% 50% 20%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.teacher-photo img:hover {
    transform: scale(1.05);
}

.free-trial-section {
    background-color: #f6f7fb;
    padding: 60px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.free-trial-content {
    /* max-width: 1200px; */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    gap: 40px;
}

.free-trial-logo {
    width: 180px;
    height: 180px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.trial-text-top {
    background-color: #535353;
    color: #fff;
    font-size: 44px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50%;
    letter-spacing: 2px;
}

.trial-divider {
    height: 3px;
    background-color: #fff;
    width: 100%;
}

.trial-text-bottom {
    background-color: #292929;
    color: #fff;
    font-size: 44px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50%;
    letter-spacing: 2px;
}

.trial-info {
    text-align: left;
}

.trial-email {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    font-weight: 700;
}

.trial-email a {
    color: #333;
    text-decoration: none;
}

.trial-email a:hover {
    color: #555;
    text-decoration: underline;
}

.trial-description {
    font-size: 40px;
    color: #666;
    font-style: italic;
    font-weight: 700;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 40px 0;
    padding: 0 40px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
}

.course-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.course-image {
    height: 400px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    position: relative;
}

.course-label {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 15px 20px;
    text-align: center;
    width: 100%;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.course-label h3 {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.course-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.course-link:hover {
    text-decoration: none;
    color: inherit;
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-item {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .banner-title {
        font-size: 32px;
        padding: 0 20px;
    }
    
    .teacher-intro {
        padding: 60px 0;
    }

    .teacher-content {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
        gap: 40px;
    }

    .teacher-name {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .teacher-title {
        font-size: 1.4rem;
        margin-bottom: 25px;
        font-weight: 500;
        text-align: justify;
        text-align-last: justify;
    }

    .teacher-qualifications li {
        font-size: 1.0rem;
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .teacher-photo {
        flex: none;
    }

    .teacher-photo img {
        width: 320px;
        height: 420px;
    }
    
    .free-trial-section {
        padding: 40px 0;
    }
    
    .free-trial-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 0 20px;
    }
    
    .free-trial-logo {
        width: 140px;
        height: 140px;
        border-radius: 20px;
    }
    
    .trial-text-top,
    .trial-text-bottom {
        font-size: 44px;
        letter-spacing: 1px;
    }
    
    .trial-email {
        font-size: 22px;
    }
    
    .trial-description {
        font-size: 20px;
    }
    
    .course-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Courses Page Styles */
.courses-header {
    text-align: center;
    padding: 80px 0 0px 0;
    background-color: #f6f7fb;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.courses-title {
    font-size: 4rem;
    font-weight: bold;
    color: #333;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.course-detail-section {
    padding: 80px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.course-detail-section:nth-child(even) {
    background-color: #f6f7fb;
}

.course-detail-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    gap: 80px;
}

.course-detail-section.reverse .course-detail-content {
    flex-direction: row;
}

.course-detail-section.reverse .course-description {
    order: 2;
}

.course-detail-section.reverse .course-item-wrapper {
    order: 1;
}

.course-description {
    flex: 1;
    max-width: 500px;
}

.course-name {
    font-size: 3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.course-text p {
    font-size: 1.6rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify;
}

.course-features {
    list-style: none;
    padding: 0;
}

.course-features li {
    font-size: 1.4rem;
    color: #555;
    font-weight: 500;
    margin-bottom: 8px;
    padding-left: 10px;
    line-height: 1.4;
}

.course-item-wrapper {
    flex: 0 0 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.course-item-wrapper .course-item {
    width: 100%;
    max-width: 500px;
}

.course-item-wrapper .course-image {
    height: 400px;
}

@media (max-width: 768px) {
    .courses-title {
        font-size: 2.5rem;
    }
    
    .course-detail-section {
        padding: 60px 0;
    }
    
    .course-detail-content {
        flex-direction: column !important;
        text-align: center;
        padding: 0 20px;
        gap: 40px;
    }
    
    .course-description {
        max-width: none;
    }
    
    .course-name {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .course-text p {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .course-features li {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }
    
    .course-item-wrapper {
        flex: none;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .course-item-wrapper .course-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .banner-title {
        font-size: 24px;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .main-content {
        padding: 0 10px;
    }
    
    .courses-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .course-detail-section {
        padding: 40px 0;
    }
    
    .course-detail-content {
        padding: 0 15px;
        gap: 30px;
    }
    
    .course-name {
        font-size: 1.6rem;
    }
    
    .course-text p {
        font-size: 1rem;
    }
    
    .course-features li {
        font-size: 0.95rem;
    }
    
    .course-item-wrapper .course-image {
        height: 200px;
    }
}

/* Additional Info Section */
.additional-info-section {
    padding: 60px 0;
    background-color: #f6f7fb;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    text-align: center;
}

.additional-info-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.info-text {
    font-size: 1.4rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.info-text a {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
}

.info-text a:hover {
    color: #000000;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .additional-info-section {
        padding: 40px 0;
    }
    
    .additional-info-content {
        padding: 0 20px;
    }
    
    .info-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .additional-info-section {
        padding: 30px 0;
    }
    
    .additional-info-content {
        padding: 0 15px;
    }
    
    .info-text {
        font-size: 1rem;
    }
}

/* Contact Page Styles */

/* 第一排 - 介绍部分 */
.contact-intro-section {
    padding: 80px 0;
    background-color: #f6f7fb;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.contact-intro-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    gap: 80px;
}

.contact-photo {
    flex: 0 0 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-photo-frame {
    width: 460px;
    height: 520px;
    background: #ddd7d7;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-photo-frame img {
    width: 420px;
    height: 480px;
    object-fit: cover;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.contact-intro-text {
    flex: 1;
    max-width: 600px;
}

.contact-intro-title {
    font-size: 2.6rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
    line-height: 1.3;
    letter-spacing: 1px;
}

.book-trial-btn {
    display: inline-block;
    background: #535353;
    color: white;
    padding: 15px 30px;
    font-size: 2rem;
    text-decoration: none;
    border-radius: 8px;
}

.book-trial-btn:hover {
    color: white;
}

/* 第二排 - 特色功能部分 */
.features-section {
    padding: 80px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.features-content {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    gap: 80px;
}

.features-left,
.features-right {
    flex: 1;
}

.feature-item {
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.8rem;
    color: #333;
    font-weight: normal;
    line-height: 1.5;
    margin: 0;
}

/* 第三排 - 联系信息部分 */
.contact-info-section {
    padding: 80px 0;
    background-color: #f6f7fb;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.contact-info-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-details {
    max-width: 600px;
}

.contact-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-label {
    font-size: 1.8rem;
    font-weight: normal;
    color: #333;
    /* min-width: 100px; */
    margin-right: 15px;
}

.contact-value {
    font-size: 1.8rem;
    color: #333;
    font-weight: normal;
}

/* Checkmark styling */
.checkmark {
    color: #535353;
    font-weight: bold;
    font-size: 1.8rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .course-label h3
    {
        font-size: 1.6rem;
    }
    .contact-intro-section {
        padding: 60px 0;
    }
    
    .contact-intro-content {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
        gap: 40px;
    }
    
    .contact-photo {
        flex: none;
    }
    
    .contact-photo-frame {
        width: 340px;
        height: 400px;
    }
    
    .contact-photo-frame img {
        width: 340px;
        height: 400px;
    }
    
    .contact-intro-title {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }
    
    .book-trial-btn {
        font-size: 1.2rem;
        padding: 12px 25px;
    }
    
    .features-content {
        flex-direction: column;
        padding: 0 20px;
        gap: 0;
    }
    
    .contact-info-content {
        padding: 0 20px;
    }
    
    .contact-title {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .contact-label {
        min-width: auto;
        margin-right: 0;
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .contact-intro-content {
        padding: 0 15px;
    }
    
    .contact-photo-frame {
        width: 290px;
        height: 340px;
    }
    
    .contact-photo-frame img {
        width: 260px;
        height: 300px;
    }
    
    .contact-intro-title {
        font-size: 1.8rem;
    }
    
    .book-trial-btn {
        font-size: 1rem;
        padding: 10px 20px;
    }
    
    .features-content {
        padding: 0 15px;
    }
    
    .contact-info-content {
        padding: 0 15px;
    }
    
    .contact-title {
        font-size: 2rem;
    }
}
