/* Breadcrumbs */
.breadcrumbs {
    padding: 15px 0;
    background-color: var(--light-color);
    border-bottom: 1px solid #eee;
}

.breadcrumbs-list {
    display: flex;
    align-items: center;
    list-style: none;
}

.breadcrumbs-item {
    display: flex;
    align-items: center;
    margin-right: 10px;
    font-size: 14px;
    color: #666;
}

.breadcrumbs-item:last-child {
    color: var(--primary-color);
    font-weight: 600;
}

.breadcrumbs-item i {
    margin: 0 10px;
    font-size: 12px;
    color: #999;
}

/* Class Detail Banner */
.class-banner {
    padding: 220px 0 100px;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.class-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgdmlld0JveD0iMCAwIDYwIDYwIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNlNjFjNWQiIGZpbGwtb3BhY2l0eT0iLjA1Ij48cGF0aCBkPSJNMzYgMzRjMC0yLjIxLTEuNzktNC00LTRzLTQgMS43OS00IDQgMS43OSA0IDQgNCAzLjk4LTEuNzggNC00aC4wMXptMC0xMGMwLTIuMjEtMS43OS00LTQtNHMtNCAxLjc5LTQgNCAxLjc5IDQgNCA0IDMuOTgtMS43OCA0LTRoLjAxek0yNiAyNGMwLTIuMjEtMS43OS00LTQtNHMtNCAxLjc5LTQgNCAxLjc5IDQgNCA0IDMuOTgtMS43OCA0LTRoLjAxem0wIDEwYzAtMi4yMS0xLjc5LTQtNC00cy00IDEuNzktNCA0IDEuNzkgNCA0IDQgMy45OC0xLjc4IDQtNGguMDF6Ij48L3BhdGg+PC9nPjwvZz48L3N2Zz4=');
    opacity: 0.5;
    z-index: 0;
}

.class-banner-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.class-banner-content {
    max-width: 600px;
}

.banner-badge {
    display: inline-block;
    background-color: rgba(230, 28, 93, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 25px;
}

.class-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 25px;
    line-height: 1.2;
}

.class-subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

.class-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.class-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.class-meta-icon {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.class-meta-text {
    font-size: 15px;
    color: #555;
}

.class-meta-text strong {
    display: block;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 2px;
}

.class-banner-buttons {
    display: flex;
    gap: 15px;
}

.class-banner-image {
    position: relative;
}

.class-image-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 2;
}

.class-image-main img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.class-banner-image:hover .class-image-main img {
    transform: scale(1.05);
}

.class-image-shape {
    position: absolute;
    width: 80%;
    height: 80%;
    border: 5px solid var(--primary-color);
    border-radius: 20px;
    top: -25px;
    left: -25px;
    z-index: 1;
}

/* Class Overview Section */
.class-overview {
    padding-top: 80px;
    padding-bottom: 50px;
}

.class-overview-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.overview-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.overview-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.overview-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

.overview-list {
    margin-bottom: 30px;
}

.overview-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.overview-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(230, 28, 93, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
    flex-shrink: 0;
}

.overview-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.overview-text p {
    font-size: 15px;
    color: #555;
}

.class-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.price-box {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.current-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-right: 15px;
}

.old-price {
    font-size: 1.5rem;
    color: #aaa;
    text-decoration: line-through;
}

.price-note {
    font-size: 14px;
    color: #777;
    margin-bottom: 25px;
}

.sidebar-list {
    margin-bottom: 25px;
}

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

.sidebar-item i {
    color: var(--primary-color);
    font-size: 16px;
}

.sidebar-item span {
    font-size: 15px;
    color: #555;
}

.sidebar-btn {
    width: 100%;
    margin-bottom: 15px;
}

.sidebar-note {
    font-size: 14px;
    color: #777;
    text-align: center;
}

.teacher-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.teacher-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-details h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.teacher-details p {
    font-size: 14px;
    color: #777;
}

.teacher-credentials {
    margin-bottom: 20px;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.credential-item i {
    color: var(--primary-color);
    font-size: 14px;
}

.credential-item span {
    font-size: 14px;
    color: #555;
}

/* Language Ratio Styles (for Bilingual Classes) */
.language-ratio {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.ratio-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #555;
}

.ratio-bar {
    display: flex;
    height: 30px;
    border-radius: 15px;
    overflow: hidden;
}

.ratio-vi {
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 12px;
}

.ratio-en {
    background-color: #4c6ef5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 12px;
}

/* Curriculum Section */
.curriculum {
    background-color: var(--light-color);
    padding: 80px 0;
}

.curriculum-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.curriculum-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.curriculum-container {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 0 auto;
}

.module-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.module-header {
    padding: 20px 30px;
    background-color: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: var(--transition);
}

.module-header:hover {
    background-color: var(--primary-dark);
}

.module-title {
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.module-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.module-toggle {
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 14px;
    transition: var(--transition);
}

.module-content {
    padding: 30px;
    display: none;
}

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

.module-description {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
}

.lesson-list {
    list-style: none;
}

.lesson-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

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

.lesson-icon {
    width: 35px;
    height: 35px;
    background-color: rgba(230, 28, 93, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 14px;
    flex-shrink: 0;
}

.lesson-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
}

.lesson-duration {
    margin-left: auto;
    font-size: 14px;
    color: #777;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
}

.gallery-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.gallery-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 250px;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Reviews Section */
.reviews {
    background-color: var(--light-color);
    padding: 80px 0;
}

.reviews-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.reviews-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.reviews-container {
    max-width: 800px;
    margin: 0 auto;
}

.review-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    position: relative;
}

.review-quote {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.review-text {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
}

.review-author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.review-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.review-author-info p {
    font-size: 14px;
    color: #777;
}

.review-rating {
    margin-top: 8px;
    display: flex;
    align-items: center;
}

.review-rating i {
    color: #f4c150;
    font-size: 14px;
    margin-right: 3px;
}

/* Related Classes Section */
.related-classes {
    padding: 80px 0;
}

.related-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.related-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.related-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 2px dashed rgba(230, 28, 93, 0.2);
}

.related-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.related-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-card:hover .related-image img {
    transform: scale(1.1);
}

.related-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.age-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: var(--secondary-color);
    color: white;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-content {
    padding: 25px;
}

.related-content-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
    line-height: 1.4;
}

.related-features {
    margin-bottom: 20px;
}

.related-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.related-feature i {
    color: var(--primary-color);
    font-size: 14px;
    margin-top: 3px;
}

.related-feature span {
    font-size: 14px;
    color: #555;
}

.related-footer {
    padding: 20px 25px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.related-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.related-detail {
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-detail i {
    color: var(--primary-color);
    font-size: 14px;
}

.related-detail span {
    font-size: 14px;
    color: #555;
}

.related-action .btn {
    font-size: 14px;
    padding: 10px 20px;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgdmlld0JveD0iMCAwIDYwIDYwIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNlNjFjNWQiIGZpbGwtb3BhY2l0eT0iLjE1Ij48cGF0aCBkPSJNMzYgMzRjMC0yLjIxLTEuNzktNC00LTRzLTQgMS43OS00IDQgMS43OSA0IDQgNCAzLjk4LTEuNzggNC00aC4wMXptMC0xMGMwLTIuMjEtMS43OS00LTQtNHMtNCAxLjc5LTQgNCAxLjc5IDQgNCA0IDMuOTgtMS43OCA0LTRoLjAxek0yNiAyNGMwLTIuMjEtMS43OS00LTQtNHMtNCAxLjc5LTQgNCAxLjc5IDQgNCA0IDMuOTgtMS43OCA0LTRoLjAxem0wIDEwYzAtMi4yMS0xLjc5LTQtNC00cy00IDEuNzktNCA0IDEuNzkgNCA0IDQgMy45OC0xLjc4IDQtNGguMDF6Ij48L3BhdGg+PC9nPjwvZz48L3N2Zz4=');
    opacity: 0.1;
    z-index: 0;
}

.cta-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.btn-white:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .class-title {
        font-size: 3rem;
    }
}

@media (max-width: 991px) {
    .class-banner-container {
        grid-template-columns: 1fr;
    }

    .class-banner-content {
        max-width: 100%;
        order: 2;
    }

    .class-banner-image {
        order: 1;
        margin-bottom: 30px;
    }

    .class-overview-container {
        grid-template-columns: 1fr;
    }

    .class-sidebar {
        position: static;
        margin-top: 50px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .footer-widget:first-child {
        grid-column: span 1;
    }
}

@media (max-width: 767px) {
    .overview-title {
        font-size: 2rem;
    }

    .price-box {
        flex-direction: column;
        align-items: start;
    }

    .class-title {
        font-size: 2.5rem;
    }

    .class-subtitle {
        font-size: 1rem;
    }

    .class-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .class-banner-buttons {
        flex-direction: column;
        width: 100%;
    }

    .class-banner-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .cta-title {
        font-size: 2.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 575px) {
    .class-title {
        font-size: 2.2rem;
    }

    .class-image-shape {
        display: none;
    }

    .module-title {
        font-size: 1rem;
    }

    .module-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .related-details {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .related-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .related-action {
        width: 100%;
    }

    .related-action .btn {
        width: 100%;
        text-align: center;
    }
}