#china-study {
    background: #ffffff;
    padding: 50px 0;
    text-align: center;
    margin-top: -60px;
}

#china-study h2 {
    font-size: 32px;
    color: #333;
    font-weight: bold;
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#china-study h2 span {
    display: inline-block;
    border-bottom: 3px solid #ff6600;
    padding-bottom: 10px;
}

.courses {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.course-item {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 20px;
    width: 48%;
    max-width: 800px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s ease-out;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.course-content {
    display: flex;
    flex-direction: row;
    width: 100%;
}
.course-item.show {
    opacity: 1;
    transform: scale(1);
}

.course-image-wrapper {
    flex-shrink: 0;
    width: 30%;
    margin-right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.course-image-wrapper:hover .course-image {
    transform: scale(1.1);
}

.course-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 65%;
    flex-grow: 1;
}

.course-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.course-number {
    font-size: 1.8rem;
    font-weight: bold;
    margin-right: 15px;
    background-color: #ff6600;
    color: white;
    padding: 8px;
    border-radius: 50%;
}

.course-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #333;
}

.course-description {
    font-size: 1rem;
    color: #555;
    margin: 15px 0;
}

.course-price-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    border: 2px solid #ff6600;
    padding: 10px;
    border-radius: 5px;
}

.course-price {
    font-size: 1.4rem;
    font-weight: bold;
    color: #ff6600;
}

.course-btn {
    background-color: #ff6600;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background-color 0.3s;
}

.course-btn:hover {
    background-color: #ff4d00;
}

@keyframes reveal {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 1100px) {
    #china-study {
        padding: 30px 15px;
        margin-top: -30px;
    }

    .courses {
        display: flex;
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }

    .course-item {
        width: 100%;
        max-width: 100%;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .course-content {
        flex-direction: column;
        align-items: center;
    }

    .course-image-wrapper {
        width: 100%;
        max-width: 400px;
        margin-bottom: 15px;
        display: flex;
        justify-content: center;
    }

    .course-image {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

    .course-description {
        font-size: 1rem;
        line-height: 1.5;
        padding: 0 15px;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

    .course-info {
        width: 100%;
        max-width: 600px;
        text-align: center;
    }

    .course-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 10px;
    }

    .course-number {
        font-size: 1.8rem;
        padding: 8px;
        background-color: #ff6600;
        color: white;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50px;
        height: 50px;
    }

    .course-title {
        font-size: 1.6rem;
        margin-top: 10px;
    }

    .course-price-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 15px;
    }

    .course-price {
        font-size: 1.4rem;
        font-weight: bold;
        color: #ff6600;
    }

    .course-btn {
        font-size: 1rem;
        padding: 12px 20px;
        margin-top: 10px;
        background-color: #ff6600;
        color: white;
        text-decoration: none;
        border-radius: 5px;
        transition: background 0.3s ease-in-out;
    }

    .course-btn:hover {
        background-color: #ff4d00;
    }

    h2 {
        font-size: 1.5rem;
    }

    .underline-text {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    #china-study {
        padding: 30px 15px;
        margin-top: -30px;
    }

    .courses {
        display: flex;
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }

    .course-item {
        width: 100%;
        max-width: 100%;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .course-content {
        flex-direction: column;
        align-items: center;
    }

    .course-image-wrapper {
        width: 100%;
        max-width: 400px;
        margin-bottom: 15px;
        display: flex;
        justify-content: center;
    }

    .course-image {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

    .course-description {
        font-size: 1rem;
        line-height: 1.5;
        padding: 0 15px;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

    .course-info {
        width: 100%;
        max-width: 600px;
        text-align: center;
    }

    .course-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 10px;
    }

    .course-number {
        font-size: 1.8rem;
        padding: 8px;
        background-color: #ff6600;
        color: white;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50px;
        height: 50px;
    }

    .course-title {
        font-size: 1.6rem;
        margin-top: 10px;
    }

    .course-price-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 15px;
    }

    .course-price {
        font-size: 1.4rem;
        font-weight: bold;
        color: #ff6600;
    }

    .course-btn {
        font-size: 1rem;
        padding: 12px 20px;
        margin-top: 10px;
        background-color: #ff6600;
        color: white;
        text-decoration: none;
        border-radius: 5px;
        transition: background 0.3s ease-in-out;
    }

    .course-btn:hover {
        background-color: #ff4d00;
    }
    h2 {
        font-size: 1.5rem;
    }

    .underline-text {
        font-size: 1.5rem;
    }
}
