/* Index Page Styles */
.index-page {
    min-height: 100vh;
    padding-top: 70px;
}

/* Hero Section */
.index-page .hero-section {
    position: relative;
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow: hidden;
    margin-top: 0;
}

.index-page .hero-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.index-page .hero-content {
    position: relative;
    z-index: 2;
}

.index-page .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.index-page .hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.index-page .hero-actions .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.index-page .hero-image {
    position: relative;
    z-index: 2;
}

.index-page .hero-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Container and Grid System */
.index-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.index-page .align-items-center {
    align-items: center;
}

.index-page .min-vh-100 {
    min-height: 100vh;
}

.index-page .text-center {
    text-align: center;
}

.index-page .text-lg-end {
    text-align: right;
}

/* Spacing Utilities */
.index-page .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.index-page .mb-4 {
    margin-bottom: 1.5rem !important;
}

.index-page .mb-5 {
    margin-bottom: 3rem !important;
}

.index-page .mb-3 {
    margin-bottom: 1rem !important;
}

.index-page .mb-0 {
    margin-bottom: 0 !important;
}

.index-page .mt-4 {
    margin-top: 1.5rem !important;
}

.index-page .me-3 {
    margin-right: 1rem !important;
}

.index-page .me-2 {
    margin-right: 0.5rem !important;
}

.index-page .me-1 {
    margin-right: 0.25rem !important;
}

.index-page .ms-2 {
    margin-left: 0.5rem !important;
}

.index-page .mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Background Utilities */
.index-page .bg-light {
    background-color: #f8f9fa !important;
}

.index-page .bg-primary {
    background-color: #e74c3c !important;
}

/* Text Utilities */
.index-page .text-primary {
    color: #e74c3c !important;
}

.index-page .text-white {
    color: #fff !important;
}

/* Button Styles */
.index-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
    user-select: none;
    position: relative;
    overflow: hidden;
}

.index-page .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.index-page .btn:hover::before {
    left: 100%;
}

.index-page .btn-primary {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    border-color: #e74c3c;
}

.index-page .btn-primary:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.index-page .btn-outline-primary {
    background: transparent;
    color: #e74c3c;
    border-color: #e74c3c;
}

.index-page .btn-outline-primary:hover {
    background: #e74c3c;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.index-page .btn-light {
    background: #fff;
    color: #e74c3c;
    border-color: #fff;
}

.index-page .btn-light:hover {
    background: #f8f9fa;
    color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.4);
}

.index-page .btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Stats Section */
.index-page .stats-section {
    background: white;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.index-page .stat-card {
    background: #fff;
    padding: 2rem 1rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.index-page .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.index-page .stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #fff;
    font-size: 2rem;
}

.index-page .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.index-page .stat-label {
    color: #6c757d;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

/* Features Section */
.index-page .features-section {
    background: #f8f9fa;
}

.index-page .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.index-page .section-description {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 0;
}

.index-page .feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}

.index-page .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.index-page .feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 1.8rem;
}

.index-page .feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.index-page .feature-description {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Events Section */
.index-page .events-section {
    background: #fff;
}

/* CTA Section */
.index-page .cta-section {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
}

.index-page .cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.index-page .cta-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .index-page .col-lg-6,
    .index-page .col-lg-3,
    .index-page .col-lg-4,
    .index-page .col-lg-8,
    .index-page .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    .index-page .hero-section {
        min-height: calc(100vh - 55px);
        margin-top: 55px;
    }
    
    .index-page .hero-title {
        font-size: 2.5rem;
    }

    .index-page .hero-description {
        font-size: 1.1rem;
    }

    .index-page .hero-actions .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .index-page .section-title {
        font-size: 2rem;
    }
    
    .index-page .cta-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .index-page .hero-section {
        min-height: calc(100vh - 50px);
        margin-top: 50px;
    }
    
    .index-page .hero-title {
        font-size: 2rem;
    }

    .index-page .hero-description {
        font-size: 1rem;
    }

    .index-page .hero-actions .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .index-page .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .index-page .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .index-page .section-title {
        font-size: 1.75rem;
    }
    
    .index-page .cta-title {
        font-size: 1.3rem;
    }
    
    .index-page .text-lg-end {
        text-align: center;
    }
}

.index-page .stat-card,
.index-page .feature-card {
    margin-right: 0.5rem;
}

/* Thêm nút scroll ngang cho mobile */
.index-page .scroll-nav {
    display: none;
}

@media (max-width: 768px) {
    .index-page .scroll-nav {
        display: flex;
        justify-content: center;
        margin: 1rem 0 2rem;
    }
    
    .index-page .scroll-nav button {
        background: #e74c3c;
        color: white;
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
        margin: 0 0.5rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .index-page .scroll-nav button:hover {
        background: #c0392b;
        transform: translateY(-2px);
    }
}
