/* Hero Section */
.hero-section {
    padding: 160px 0 80px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8)), url('https://images.unsplash.com/photo-1560174038-da43ac74f01b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-content {
    max-width: 600px;
}

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

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

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

.hero-stat {
    text-align: center;
    padding: 25px 15px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-bottom: 3px solid var(--primary-color);
}

.hero-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.hero-stat-text {
    font-size: 1.1rem;
    color: #555;
    font-weight: 600;
}

.hero-image {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 10px solid white;
}

/* Filter Tabs Style */
.filter-section {
    padding: 80px 0 0;
}

.filter-tabs {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 10;
    padding: 15px;
    margin-bottom: -50px;
}

.tab-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.filter-label {
    font-weight: 700;
    color: var(--secondary-color);
    padding: 15px;
    font-size: 1.2rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 12px 25px;
    font-weight: 600;
    font-size: 16px;
    color: #555;
    background-color: transparent;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    margin: 5px;
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.filter-btn:hover:not(.active) {
    background-color: var(--light-color);
    color: var(--primary-dark);
}

/* Program Section Styles */
.program-section {
    padding: 100px 0;
}

.program-section:nth-child(odd) {
    background-color: var(--light-color);
}

.program-container {
    margin-bottom: 50px;
}

.program-header {
    text-align: center;
    margin-bottom: 60px;
}

.program-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.program-title span {
    color: var(--primary-color);
}

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

.program-description {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 20px auto 0;
}

.program-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: 15px;
}

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

.class-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.class-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

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

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

.class-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(230, 28, 93, 0.3);
}

.age-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.class-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.class-feature-list {
    margin-bottom: 15px;
    flex: 1;
}

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

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

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

.class-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    background-color: rgba(248, 249, 250, 0.5);
    margin-top: auto;
}

.class-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.class-detail {
    display: flex;
    align-items: center;
    gap: 6px;
}

.class-detail i {
    color: var(--primary-color);
    font-size: 13px;
    flex-shrink: 0;
}

.class-detail span {
    font-size: 13px;
    font-weight: 500;
    color: #555;
    white-space: nowrap;
}

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

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

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

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

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

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

/* Coming Soon Banner */
.coming-soon-banner {
    background: linear-gradient(135deg, #e61c5d, #8a4fff);
    border-radius: var(--border-radius);
    padding: 30px;
    color: white;
    box-shadow: 0 10px 30px rgba(230, 28, 93, 0.2);
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: 25px;
}

.banner-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.banner-text h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.banner-text p {
    font-size: 16px;
    margin-bottom: 0;
    opacity: 0.9;
}

/* Feature Highlights */
.feature-highlights {
    padding: 80px 0 60px;
    background-color: white;
}

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

.highlight-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    padding: 40px 30px;
    border-top: 4px solid var(--primary-color);
    text-align: center;
}

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

.highlight-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(230, 28, 93, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary-color);
    font-size: 32px;
}

.highlight-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.highlight-description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

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

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

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .class-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1023px) {
    .class-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .program-section {
        padding: 80px 0;
    }
}

@media (max-width: 991px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-image {
        grid-row: 1;
        margin-bottom: 30px;
    }

    .tab-container {
        flex-direction: column;
    }

    .filter-label {
        padding: 15px 15px 5px;
    }

    .coming-soon-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .banner-icon {
        margin: 0 auto 15px;
    }

    .program-badge {
        margin-bottom: 10px;
    }

    .program-title {
        font-size: 2rem;
    }

    .program-description {
        font-size: 1rem;
        padding: 0 15px;
    }
}

@media (max-width: 767px) {
    .program-section {
        padding: 60px 0;
    }

    .hero-section {
        padding: 120px 0 40px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .filter-buttons {
        justify-content: center;
    }

    .filter-btn {
        padding: 10px 15px;
        font-size: 14px;
    }

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

    .program-title {
        font-size: 1.8rem;
    }

    .program-description {
        font-size: 0.95rem;
    }

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

    .class-image {
        height: 160px;
    }

    .class-badge,
    .age-badge {
        font-size: 12px;
        padding: 5px 12px;
    }
}

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

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .filter-tabs {
        padding: 10px;
        margin-bottom: -40px;
    }

    .filter-buttons {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        width: 100%;
    }

    .filter-btn {
        margin: 0;
        width: 100%;
        text-align: center;
        white-space: nowrap;
    }

    .filter-label {
        padding: 10px 10px 5px;
        font-size: 1rem;
    }

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

    .class-details {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

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

    .class-action {
        width: 100%;
        margin-top: 10px;
    }

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

    .program-header {
        margin-bottom: 30px;
    }

    .class-content {
        padding: 15px;
    }

    .class-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .program-section {
        padding: 70px 0 40px;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-section {
        padding: 100px 0 30px;
    }

    .hero-stat-number {
        font-size: 2rem;
    }

    .hero-stat-text {
        font-size: 0.9rem;
    }

    .filter-label {
        font-size: 0.9rem;
        text-align: center;
    }

    .class-badge,
    .age-badge {
        font-size: 10px;
        padding: 4px 10px;
    }

    .class-detail span {
        font-size: 12px;
    }

    .class-feature {
        margin-bottom: 6px;
    }

    .class-feature span {
        font-size: 13px;
    }

    .highlight-title {
        font-size: 1.3rem;
    }

    .highlight-description {
        font-size: 0.9rem;
    }
}