/* ============================================
   Home Page Styles
   ============================================ */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

/* Geometric grid pattern layer */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        /* Subtle dot grid pattern */
        radial-gradient(circle at center, rgba(214, 240, 141, 0.15) 1px, transparent 1px),
        /* Larger accent dots */
        radial-gradient(circle at center, rgba(247, 147, 26, 0.1) 1.5px, transparent 1.5px);
    background-size:
        40px 40px,
        80px 80px;
    background-position:
        0 0,
        20px 20px;
    opacity: 0.6;
    pointer-events: none;
}

/* Glowing accent orbs */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        /* Lime accent glow - left side */
        radial-gradient(ellipse 600px 400px at 10% 40%, rgba(214, 240, 141, 0.12) 0%, transparent 70%),
        /* Orange accent glow - right side */
        radial-gradient(ellipse 500px 500px at 90% 60%, rgba(247, 147, 26, 0.08) 0%, transparent 70%),
        /* Central subtle highlight */
        radial-gradient(ellipse 800px 300px at 50% 100%, rgba(214, 240, 141, 0.05) 0%, transparent 70%),
        /* Top corner accent */
        radial-gradient(circle 300px at 85% 10%, rgba(247, 147, 26, 0.06) 0%, transparent 70%);
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

/* Diagonal grid lines - spans full hero */
.home-page .hero-section .container::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -50%;
    width: 200%;
    height: 300%;
    background:
        /* Diagonal grid lines */
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 80px,
            rgba(214, 240, 141, 0.03) 80px,
            rgba(214, 240, 141, 0.03) 81px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 80px,
            rgba(247, 147, 26, 0.02) 80px,
            rgba(247, 147, 26, 0.02) 81px
        );
    pointer-events: none;
    z-index: 0;
}

/* Subtle floating animation for glow effects */
@keyframes heroGlow {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0.85;
        transform: scale(1.02);
    }
}

/* Ensure container is positioned for pseudo-elements */
.home-page .hero-section .container {
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.home-page .display-3,
.home-page .hero-title {
    font-size: var(--font-size-6xl);
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-5);
    font-weight: var(--font-weight-bold);
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-accent-lime) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Service Cards */
.service-card {
    background-color: var(--color-bg-secondary);
    border: 1px solid var(--color-bg-tertiary);
    border-radius: 12px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent-lime);
    box-shadow: 0 12px 24px rgba(214, 240, 141, 0.1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-accent-lime) 0%, #c5df7c 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.service-card p {
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card ul li {
    color: var(--color-text-secondary);
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-card ul li::before {
    content: '\2192';
    position: absolute;
    left: 0;
    color: var(--color-accent-lime);
    font-weight: bold;
}

/* Section Titles */
.home-page .section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.home-page .section-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: 4rem;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 300;
}

/* Value Proposition Cards */
.value-prop-card {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--color-bg-secondary);
    border: 2px solid var(--color-bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.value-prop-card:hover .value-icon {
    border-color: var(--color-accent-lime);
    background: rgba(214, 240, 141, 0.1);
}

/* Lightning Teaser */
.lightning-teaser {
    background: linear-gradient(135deg, var(--color-bg-secondary) 0%, #1f1f1f 100%);
    border: 1px solid var(--color-bg-tertiary);
    border-radius: 16px;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
}

.lightning-teaser::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(247, 147, 26, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(214, 240, 141, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* Stats */
.stat-box {
    text-align: center;
    margin-bottom: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent-lime);
    display: block;
    line-height: 1;
}

.stat-label {
    color: var(--color-text-secondary);
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* Kentico Badge */
.badge-kentico {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-accent-lime);
    border-radius: 20px;
    color: var(--color-accent-lime);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ============================================
   Community Leader Award Badge Section
   ============================================ */
.award-banner {
    background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
    border-top: 1px solid var(--color-bg-tertiary);
    border-bottom: 1px solid var(--color-bg-tertiary);
    padding: 1.5rem 0;
    position: relative;
    overflow: hidden;
}

.award-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(214, 240, 141, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.award-badge-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.award-badge-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(214, 240, 141, 0.15) 0%, rgba(214, 240, 141, 0.05) 100%);
    border: 2px solid var(--color-accent-lime);
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(214, 240, 141, 0.15);
}

.award-badge-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(214, 240, 141, 0.25);
    background: linear-gradient(135deg, rgba(214, 240, 141, 0.25) 0%, rgba(214, 240, 141, 0.1) 100%);
    text-decoration: none;
}

.award-trophy {
    font-size: 2rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.award-badge-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.award-badge-year {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-accent-lime);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.award-badge-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
}

.award-badge-subtitle {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    font-weight: 400;
}

.award-badge-arrow {
    color: var(--color-accent-lime);
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.award-badge-link:hover .award-badge-arrow {
    transform: translateX(4px);
}

/* Mobile adjustments for award badge */
@media (max-width: 767px) {
    .award-badge-link {
        padding: 0.625rem 1rem;
        gap: 0.75rem;
    }

    .award-trophy {
        font-size: 1.5rem;
    }

    .award-badge-title {
        font-size: 0.9rem;
    }

    .award-badge-year {
        font-size: 0.7rem;
    }

    .award-badge-subtitle {
        font-size: 0.75rem;
    }
}

/* Responsive */
@media (max-width: 991px) {
    .home-page .display-3,
    .home-page .hero-title {
        font-size: var(--font-size-5xl);
    }
    .hero-subtitle {
        font-size: var(--font-size-lg);
    }
}

@media (max-width: 767px) {
    .home-page .display-3,
    .home-page .hero-title {
        font-size: var(--font-size-4xl);
    }
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
}
