/* Hero Enhanced Styles - "Perfect Look" */

:root {
    --hero-primary: #3b82f6;
    --hero-secondary: #8b5cf6;
    --hero-dark: #0f172a;
    --hero-light: #ffffff;
    --hero-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --hero-glow: 0 0 40px rgba(59, 130, 246, 0.4);
}

/* 1. Section Background Enhancement */
.hero-section-modern {
    position: relative;
    background-color: #f8fafc; /* Fallback */
    overflow: hidden;
    padding-top: 180px; /* Adjust based on header height */
    padding-bottom: 120px;
    z-index: 1;
}

/* Animated Mesh Gradient Background */
.hero-section-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.08) 30%, transparent 70%);
    animation: hero-spin 20s linear infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes hero-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 2. Badge Style */
.hero-modern-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    color: var(--hero-dark);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.hero-modern-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.15);
}

.hero-modern-badge i {
    color: #f59e0b; /* Gold for trophy */
    margin-right: 8px;
    font-size: 1.1em;
}

/* 3. Title Typography */
.hero-title-enhanced {
    font-size: 3.5rem; /* Desktop default */
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--hero-dark);
    margin-bottom: 25px;
}

@media (max-width: 991px) {
    .hero-title-enhanced {
        font-size: 2.75rem;
    }
}

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

.hero-text-gradient {
    background: var(--hero-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

/* Underline decoration for gradient text */
.hero-text-gradient::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--hero-gradient);
    opacity: 0.2;
    z-index: -1;
    border-radius: 4px;
}

/* 4. Description */
.hero-desc-enhanced {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #475569; /* Slate 600 */
    margin-bottom: 40px;
    max-width: 90%;
}

@media (max-width: 768px) {
    .hero-desc-enhanced {
        font-size: 1rem;
        max-width: 100%;
    }
}

/* 5. Buttons */
.hero-btn-group {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    background: var(--hero-gradient);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease;
    z-index: -1;
    border-radius: 50px;
}

.hero-btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
    color: white;
}

.hero-btn-modern:hover::before {
    width: 100%;
}

.hero-btn-outline-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--hero-dark);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-btn-outline-modern:hover {
    background: white;
    border-color: var(--hero-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    color: var(--hero-primary);
}

/* 6. Stats Box */
.hero-stats-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 25px 35px;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
    max-width: 550px;
}

.hero-stat-item {
    text-align: center;
    position: relative;
    flex: 1;
}

.hero-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.hero-stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--hero-dark);
    line-height: 1;
    margin-bottom: 5px;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 7. Image Container Tweaks */
.hero-img-container {
    position: relative;
    z-index: 2;
}

.hero-img-main {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}
