/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(0,123,255,0.1) 0%, rgba(40,167,69,0.1) 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #007bff, #28a745);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 2rem;
    font-weight: 300;
    color: #6c757d;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #495057;
}

.hero-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: rgba(255,255,255,0.9);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

/* Features Section */
.features-section {
    background: rgba(248,249,250,0.5);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #212529;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 3rem;
}

.feature-card {
    background: rgba(255,255,255,0.95);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #212529;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Facts Section */
.facts-section {
    background: rgba(0,123,255,0.05);
}

.fact-card {
    background: rgba(255,255,255,0.95);
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    position: relative;
}

.fact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.fact-number {
    position: absolute;
    top: -15px;
    left: 2rem;
    background: linear-gradient(135deg, #007bff, #28a745);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.fact-card h4 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: #212529;
    font-weight: 600;
}

.fact-card p {
    color: #495057;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #007bff, #28a745);
    color: white;
}

.cta-content {
    padding: 3rem 0;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* UPDATED: Dark Mode Styles for Bootstrap 5.3+ data-bs-theme */
[data-bs-theme="dark"] .hero-section {
    background: linear-gradient(135deg, rgba(0,123,255,0.2) 0%, rgba(40,167,69,0.2) 100%);
}

[data-bs-theme="dark"] .subtitle {
    color: #adb5bd;
}

[data-bs-theme="dark"] .hero-description {
    color: #ced4da;
}

[data-bs-theme="dark"] .section-title {
    color: #ffffff;
}

[data-bs-theme="dark"] .section-subtitle {
    color: #adb5bd;
}

[data-bs-theme="dark"] .stat-card,
[data-bs-theme="dark"] .feature-card,
[data-bs-theme="dark"] .fact-card {
    background: rgba(31,31,31,0.95);
    border: 1px solid rgba(255,255,255,0.1);
    color: #ffffff;
}

[data-bs-theme="dark"] .stat-label,
[data-bs-theme="dark"] .feature-card p,
[data-bs-theme="dark"] .fact-card p {
    color: #adb5bd;
}

[data-bs-theme="dark"] .feature-card h4,
[data-bs-theme="dark"] .fact-card h4 {
    color: #ffffff;
}

[data-bs-theme="dark"] .features-section {
    background: rgba(18,18,18,0.5);
}

[data-bs-theme="dark"] .facts-section {
    background: rgba(0,123,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .fact-card {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
}