/* Section Videos */
.videos-container {
    position: relative;
    padding: 40px 0 20px;
    margin-bottom: 60px;
    overflow: hidden;
}

.video-slider {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px;
}

/* Điều chỉnh video card nếu cần */
.video-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: calc(33.333% - 20px);
    margin: 0;
  }
  
.video-card:hover {
    transform: scale(1);
}

.video-wrapper video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .video-wrapper {
    position: relative;
    width: 100%;
    height: 100%; /* Đảm bảo video chiếm toàn bộ chiều cao của wrapper */
    overflow: hidden;
    border-radius: 10px;
  }

  .video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Đảm bảo video không bị crop */
  }

  .video-info {
    padding: 15px;
    background: #fff;
    border-radius: 0 0 10px 10px;
  }

  .video-info h3 {
    color: #333;
    margin-bottom: 8px;
  }
  
  .video-info p {
    color: #666;
    font-size: 0.9em;
    line-height: 1.4;
  }

.video-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.video-btn {
    background: #f73463;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.video-btn:hover {
    background: #fc6076;
}

.video-btn:active {
    transform: scale(0.95);
}

/* Responsive */
@media (max-width: 1024px) {
    .video-card {
        flex: 0 0 calc(50% - 20px);
        min-width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .video-slider {
        flex-direction: column;
        align-items: center;
    }

    .video-card {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .video-controls {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }

    .video-btn {
        width: 80%;
        justify-content: center;
        font-size: 15px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .videos-container {
        flex-direction: column;
        align-items: center;
    }

    .video-card {
        flex: 0 0 calc(100% - 20px);
        min-width: calc(100% - 20px);
    }
    
    .video-controls {
        margin-top: 15px;
    }
    
    .video-btn {
        padding: 8px 15px;
        font-size: 14px;
    }
}

:root {
    --primary-color: #e6234c;
    --secondary-color: #25f4ee;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --white: #fff;
}

/* CSS Bổ sung cho các phần mới thêm vào */
/* CSS cho carousel ảnh feedback */
.feedback-carousel {
    padding: 200px 50px;
    background-color: #f9f9f9;
    overflow: hidden;
    margin: 50px 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for better text readability */
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 2;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}
.slider-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}
.slider-arrow {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.slider-arrow:hover {
    background: var(--primary-color);
}
.carousel-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track-container {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.carousel-track {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 100%;
    transition: transform 0.5s ease;
    display: flex;
}

.carousel-slide {
    position: relative;
    min-width: calc(25% - 20px);
    height: auto; /* Allow height to adjust based on image size */
    margin: 0 10px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.carousel-slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.carousel-image {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    object-fit: cover;
    transition: transform 0.5s ease;
    max-height: 500px; /* Set a maximum height to ensure images don't get too large */
}

.carousel-slide:hover .carousel-image {
    transform: scale(1.05);
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 15px;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.carousel-slide:hover .carousel-caption {
    opacity: 1;
    transform: translateY(0);
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.carousel-button:hover {
    opacity: 1;
}

.carousel-button.prev {
    left: 20px;
}

.carousel-button.next {
    right: 20px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-indicator.active {
    background-color: var(--primary-color);
}

/* CSS cho việc auto-scroll */
@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 4)); /* Điều chỉnh số lượng ảnh hiển thị */
    }
}

.auto-scroll .carousel-track {
    animation: scrollLeft 30s linear infinite;
}

.auto-scroll .carousel-track:hover {
    animation-play-state: paused;
}

/* Responsive cho carousel */
@media (max-width: 1200px) {
    .carousel-slide {
        min-width: calc(33.33% - 20px);
    }
}

@media (max-width: 992px) {
    .carousel-slide {
        min-width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .carousel-slide {
        min-width: calc(100% - 20px);
    }
    
    .carousel-track-container {
        height: 350px;
    }
}
/* Feedback chi tiết */
.feedback {
    background-color: var(--light-color);
    padding: 80px 0;
}

.feedback-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.feedback-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.feedback-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.feedback-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 3px solid var(--primary-color);
}

.feedback-info {
    flex: 1;
}

.feedback-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.feedback-rating {
    color: #ffce00;
    margin-bottom: 5px;
}

.feedback-date {
    color: #777;
    font-size: 0.9rem;
}

.feedback-content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.feedback-result {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.result-label {
    font-weight: bold;
}

.result-value {
    color: var(--primary-color);
    font-weight: bold;
}

.feedback-gallery {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.gallery-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
    cursor: pointer;
}

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

/* TikTok Videos */
.tiktok-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 177.78%; /* Tỷ lệ 9:16 cho video TikTok */
}

.tiktok-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.tiktok-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.play-button {
    position: absolute;
    font-size: 3rem;
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.5);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

.tiktok-placeholder:hover img {
    opacity: 1;
}

.tiktok-placeholder:hover .play-button {
    background-color: var(--primary-color);
}

/* Lịch học sắp tới */
.classes {
    padding: 80px 0;
    background-color: var(--white);
}

.classes-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.class-card {
    display: flex;
    align-items: center;
    background-color: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.class-card:hover {
    transform: translateY(-5px);
}

.class-date {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px;
    text-align: center;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.day {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
}

.month {
    font-size: 1rem;
}

.class-info {
    padding: 20px;
    flex: 1;
}

.class-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.class-description {
    color: #555;
    margin-bottom: 15px;
}

.class-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #666;
    font-size: 0.9rem;
}

.class-btn {
    margin: 0 20px;
    white-space: nowrap;
}

/* Responsive design cho các phần mới */
@media (max-width: 768px) {
    .class-card {
        flex-direction: column;
    }
    
    .class-date {
        width: 100%;
        padding: 10px;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }
    
    .class-btn {
        width: calc(100% - 40px);
        margin: 0 20px 20px;
        text-align: center;
    }
    
    .feedback-header {
        flex-direction: column;
        text-align: center;
    }
    
    .feedback-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .result-item {
        flex-direction: column;
        text-align: center;
    }
}
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            line-height: 1.6;
            color: var(--dark-color);
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Header Styles */
        header {
            background-color: var(--white);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }
        
        .logo {
            font-size: 1.8rem;
            font-weight: bold;
            color: var(--primary-color);
            text-decoration: none;
            display: flex;
            align-items: center;
        }
        
        .logo span {
            color: var(--secondary-color);
        }
        
        nav ul {
            display: flex;
            list-style: none;
        }
        
        nav ul li {
            margin-left: 20px;
        }
        
        nav ul li a {
            text-decoration: none;
            color: var(--dark-color);
            font-weight: 500;
            transition: color 0.3s;
        }
        
        nav ul li a:hover {
            color: var(--primary-color);
        }
        
        .mobile-menu {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
        }
        
        /* Hero Section */
        .hero {
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/api/placeholder/1200/700') center/cover no-repeat;
            height: 80vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: var(--white);
            padding: 0 20px;
        }
        
        .hero h1 {
            font-size: 3rem;
            margin-bottom: 20px;
        }
        
        .hero p {
            font-size: 1.2rem;
            max-width: 700px;
            margin-bottom: 30px;
        }
        
        .btn {
            display: inline-block;
            background-color: var(--primary-color);
            color: var(--white);
            padding: 12px 30px;
            border: none;
            border-radius: 5px;
            font-size: 1rem;
            font-weight: bold;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.3s;
        }
        
        .btn:hover {
            background-color: #cc1f41;
            transform: translateY(-3px);
        }
        
        /* Services Section */
        section {
            padding: 80px 0;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 50px;
            font-size: 2.5rem;
            color: var(--dark-color);
        }
        
        .section-title span {
            color: var(--primary-color);
        }
        
        .services-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .service-card {
            background-color: var(--white);
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            padding: 30px;
            text-align: center;
            transition: transform 0.3s;
        }
        
        .service-card:hover {
            transform: translateY(-10px);
        }
        
        .service-icon {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 20px;
        }
        
        .service-card h3 {
            margin-bottom: 15px;
            font-size: 1.5rem;
        }
        
        /* Products Section */
        .products {
            background-color: var(--light-color);
        }
        
        .products-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }
        
        .product-card {
            background-color: var(--white);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s;
        }
        
        .product-card:hover {
            transform: translateY(-10px);
        }
        
        .product-img {
            height: 200px;
            width: 100%;
            object-fit: cover;
        }
        
        .product-info {
            padding: 20px;
        }
        
        .product-info h3 {
            margin-bottom: 10px;
            font-size: 1.2rem;
        }
        
        .product-price {
            color: var(--primary-color);
            font-weight: bold;
            font-size: 1.2rem;
            margin: 10px 0;
        }
        
        /* About Us Section */
        .about-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }
        
        .about-img {
            width: 100%;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .about-content h2 {
            font-size: 2rem;
            margin-bottom: 20px;
        }
        
        .about-content p {
            margin-bottom: 20px;
        }
        
        /* Testimonials */
        .testimonials {
            background-color: var(--light-color);
        }
        
        .testimonial-container {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
            overflow: hidden;
        }
        
        .testimonial-slider {
            display: flex;
            transition: transform 0.5s ease;
        }
        
        .testimonial-slide {
            min-width: 100%;
            padding: 0 20px;
        }
        
        .testimonial-card {
            background-color: var(--white);
            border-radius: 8px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            text-align: center;
        }
        
        .testimonial-img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 20px;
            border: 5px solid var(--secondary-color);
        }
        
        .testimonial-text {
            font-style: italic;
            margin-bottom: 20px;
        }
        
        .testimonial-author {
            font-weight: bold;
            color: var(--primary-color);
        }
        
        .testimonial-controls {
            display: flex;
            justify-content: center;
            margin-top: 30px;
            gap: 10px;
        }
        
        .testimonial-btn {
            background-color: var(--primary-color);
            color: var(--white);
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 1.2rem;
            transition: background-color 0.3s;
        }
        
        .testimonial-btn:hover {
            background-color: #cc1f41;
        }
        
        /* Videos Section */
        .videos-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .video-card {
            background-color: var(--white);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .video-wrapper {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
            height: 0;
        }
        
        .video-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }
        
        .video-info {
            padding: 20px;
        }
        
        .video-info h3 {
            margin-bottom: 10px;
        }
        
        /* Contact Section */
        .contact {
            background-color: var(--dark-color);
            color: var(--white);
        }
        
        .contact-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 50px;
        }
        
        .contact-info h3, .contact-form h3 {
            font-size: 1.5rem;
            margin-bottom: 20px;
            color: var(--secondary-color);
        }
        
        .contact-item {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .contact-icon {
            margin-right: 15px;
            font-size: 1.5rem;
            color: var(--primary-color);
        }
        
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .social-link {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--primary-color);
            color: var(--white);
            text-decoration: none;
            transition: background-color 0.3s;
        }
        
        .social-link:hover {
            background-color: var(--secondary-color);
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-input {
            width: 100%;
            padding: 12px;
            border: none;
            border-radius: 5px;
            font-size: 1rem;
        }
        
        textarea.form-input {
            resize: vertical;
            min-height: 150px;
        }
        
        /* Footer */
        footer {
            background-color: #222;
            color: var(--white);
            text-align: center;
            padding: 30px 0;
            font-size: 0.9rem;
        }
        
        /* Responsive Design */
        @media (max-width: 768px) {
            .header-container {
                flex-direction: column;
                text-align: center;
            }
            
            nav ul {
                margin-top: 20px;
                flex-direction: column;
                text-align: center;
            }
            
            nav ul li {
                margin: 10px 0;
            }
            
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .about-container {
                grid-template-columns: 1fr;
            }
            
            .mobile-menu {
                display: block;
                position: absolute;
                top: 20px;
                right: 20px;
            }
            
            nav {
                display: none;
            }
            
            nav.show {
                display: block;
            }
        }
        
        /* Hero Slider Styles */
        .hero {
            position: relative;
            overflow: hidden;
        }
        
        .hero-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
        }
        
        .hero-slide.active {
            opacity: 1;
            z-index: 1;
        }
        
        .slider-controls {
            position: absolute;
            bottom: 30px;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 2;
        }
        
        .slider-dots {
            display: flex;
            gap: 10px;
        }
        
        .slider-dot {
            display: flex;
            gap: 10px;
        }
        
        .slider-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .slider-dot.active {
            background: var(--primary-color, #ff5e3a);
            transform: scale(1.2);
        }
        
        .slider-arrow {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            margin: 0 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }
        
        .slider-arrow:hover {
            background: var(--primary-color, #ff5e3a);
        }
