/* New Homepage Styles */
:root {
    --primary-color: #00B7FF;
    --primary-dark: #0095CC;
    --secondary-color: #F95C16;
    --gradient-primary: linear-gradient(135deg, #00B7FF 0%, #0095CC 100%);
    --gradient-secondary: linear-gradient(135deg, #F95C16 0%, #E84A0F 100%);
    --text-dark: #1a1a1a;
    --text-gray: #6b7280;
    --bg-light: #f8fafc;
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: var(--text-dark);
    line-height: 1.6;
}

.btn-primary-new {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.info {
    font-size: 18px;
}
.btn-primary-new:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

/* 1. Hero Section */

 .hero-section-new {
    position: relative;
    padding: 120px 0 80px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}
.hero-search {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 4px;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-xl);
}

.hero-search .form-control {
    border: none;
    padding: 14px 20px;
    background: transparent;
}

.hero-search .btn {
    background: var(--gradient-primary);
    border: none;
    padding: 14px 24px;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    font-size: 1.2rem;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 2rem;
}

.hero-tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.hero-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
}
.trusted-logos {
    position: relative; /* Thay vì absolute */
    margin-top: 4rem; /* Tạo khoảng cách từ content trên */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    opacity: 0.8;
    flex-wrap: wrap;
    padding: 20px 0;
}

.trusted-logos span {
    color: white;
    font-size: 14px;
    white-space: nowrap;
}

.trusted-logos img {
    height: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    flex-shrink: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .hero-section-new {
        padding: 80px 0 60px 0;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .trusted-logos {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 40px;
        gap: 15px;
        padding: 0 15px;
    }
    
    .trusted-logos span {
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .trusted-logos img {
        height: 20px;
    }
}
/* 2. Categories Section */
.categories-section-new {
    padding: 80px 0;
    background: var(--bg-light);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    margin: 0 auto;
}

.category-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.category-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-color);
}

.category-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.category-item:hover .category-icon {
    color: var(--primary-color);
}

.category-title {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

/* 3. Popular Courses */
.popular-courses-section {
    padding: 80px 0;
    background: white;
}

.courses-container {
    overflow-x: auto;
    padding: 20px 0;
}

.courses-scroll {
    display: flex;
    gap: 24px;
    min-width: max-content;
    padding: 0 20px;
}

.course-card-new {
    width: 320px;
    border-radius: 16px;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    position: relative;
}

.course-card-new:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.course-preview {
    height: 200px;
    background: var(--gradient-primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.course-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--secondary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.course-info {
    padding: 24px;
}

.course-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.course-description {
    color: var(--text-gray);
    line-height: 1.5;
}

/* 4. AI Assistant CTA */
.ai-cta-section {
    padding: 100px 0;
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.ai-cta-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.ai-cta-content p {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.ai-cta-visual {
    position: relative;
}

.ai-mockup {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ai-chat-bubble {
    background: white;
    color: var(--text-dark);
    padding: 16px 20px;
    border-radius: 18px;
    margin: 12px 0;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-size: 1.2rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    position: absolute;
    right: -20px;
    top: -10px;
}

/* 5. Expert Learning */
.expert-section {
    padding: 100px 0;
    background: white;
}

.expert-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.expert-content p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

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

.expert-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    margin-top: 4px;
    flex-shrink: 0;
}

.feature-icon::after {
    content: '✓';
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.feature-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.feature-text p {
    color: var(--text-gray);
    margin: 0;
    font-size: 14px;
}

.expert-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.expert-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* 6. Success Stories */
.success-section {
    padding: 100px 0;
}

.video-container-new {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.video-wrapper {
    position: relative;
}

.video-wrapper .plyr__video-embed,
.video-wrapper video {
    border-radius: 20px;
}


.btn-light-large {
    background: white;
    border: none;
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-light-large:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-color);
    background: #f8f9fa;
}

.membership-section {
    padding: 100px 0;
    background: var(--bg-light);
}

/* Section Titles */
h2.display-5 {
    font-size: 40px !important;
    font-weight: 700 !important;
}

.lead {
    font-size: 1.5rem !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .membership-section {
        padding: 60px 0;
    }
    .success-section {
        padding: 60px 0;
    }
    .ai-cta-section {
        padding: 60px 0;
    }
    .expert-section {
        padding: 60px 0;
        background: white;
    }
    .popular-courses-section {
        padding: 40px 0;
    }
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content p {
        font-size: 1.5rem;
    }
    
    .hero-search .form-control {
        padding: 16px 20px;
        font-size: 1.1rem;
    }
    
    .hero-search .btn {
        padding: 16px 28px;
        font-size: 1rem;
    }
    
    .hero-tag {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 20px;
    }
    
    .category-title {
        font-size: 1.2rem;
    }
    
    .courses-scroll {
        padding: 0 10px;
    }
    
    .course-card-new {
        width: 280px;
    }
    
    .course-title {
        font-size: 1.2rem;
    }
    
    .course-description {
        font-size: 0.95rem;
    }
    
    .ai-cta-content h2 {
        font-size: 2.2rem;
    }
    
    
    .expert-content h2 {
        font-size: 2.2rem;
    }
    
    
    
    h2.display-5 {
        font-size: 30px !important;
    }
    
    .lead {
        font-size: 1.2rem !important;
    }
    
    .btn-primary-new {
        padding: 12px 24px;
    }
}
.pricing-header {
    text-align: center;
    margin-top: 40px;
}

.pricing-title {
    font-size: 26px;
    font-weight: bold;
    color:black;
}

.highlight {
    color: #3B82F6;
    text-decoration: underline;
}

.border-primary {
    border: 2px solid #3B82F6 !important;
}

.border-secondary {
    border: 1px solid lightgrey !important;
}

.btn-pay {
    padding: 10px 20px;
    font-size: 18px;
}

.card {
    border-radius: 1rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.best-value {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #3B82F6;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 1rem;
}

.max-w-400 {
    padding: 30px !important;
    border-radius:20px;
}

.text-align-center {
    text-align: center;
}

.list-unstyled li {
    margin-bottom:7px;
}

/* 7. Success Stories Section with Background */
.success-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    position: relative;
}

.success-section h2 {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.success-section .lead {
    color: rgba(255,255,255,0.9);
}
