/* Hero Section Enhanced Styles */

/* Enhanced Hero Section Layout */
.hero-section {
    position: relative;
}

.hero-section .container {
    position: relative;
    z-index: 10; /* Ensure content is above floating buzzwords */
}

.hero-section .container .row {
    justify-content: center;
    text-align: center;
}

.hero-section .hero-content {
    flex: 0 0 auto;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 15; /* Higher z-index for main content */
}

/* Hero Features Grid */
.hero-features {
    margin: 3rem 0;
}

.hero-feature-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 1rem;
}

.hero-feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-feature-item i {
    font-size: 2.5rem;
    color: #4fc3f7;
    margin-bottom: 1rem;
    display: block;
}

.hero-feature-item h5 {
    color: white;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.hero-feature-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Enhanced subtitle styling */
.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Floating Buzzwords - Behind content */
.floating-buzzwords {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1; /* Above background but below main content */
}

.floating-buzz {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 14px;
    border-radius: 18px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    white-space: nowrap;
    opacity: 0; /* Start invisible, will be shown by animation */
    transform: scale(0.8);
    animation: randomFadeInOut 8s infinite;
}

/* Random positioning will be set via JavaScript */
.floating-buzz.buzz1 { animation-delay: 0s; }
.floating-buzz.buzz2 { animation-delay: 0.8s; }
.floating-buzz.buzz3 { animation-delay: 1.6s; }
.floating-buzz.buzz4 { animation-delay: 2.4s; }
.floating-buzz.buzz5 { animation-delay: 3.2s; }
.floating-buzz.buzz6 { animation-delay: 4s; }
.floating-buzz.buzz7 { animation-delay: 4.8s; }
.floating-buzz.buzz8 { animation-delay: 0.4s; }
.floating-buzz.buzz9 { animation-delay: 1.2s; }
.floating-buzz.buzz10 { animation-delay: 2s; }
.floating-buzz.buzz11 { animation-delay: 2.8s; }
.floating-buzz.buzz12 { animation-delay: 3.6s; }

@keyframes randomFadeInOut {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(10px);
    }
    20% {
        opacity: 0.9;
        transform: scale(1) translateY(0px);
    }
    80% {
        opacity: 0.9;
        transform: scale(1) translateY(-5px);
    }
    100% {
        opacity: 0;
        transform: scale(0.8) translateY(-15px);
    }
}

/* Enhanced Trust badges */
.hero-section .trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-section .trust-badges span {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.hero-section .trust-badges span:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-section .trust-badges span i {
    margin-right: 0.5rem;
}

/* Enhanced CTA styling */
.hero-cta {
    margin: 2.5rem 0;
}

.hero-cta .btn {
    margin: 0.5rem;
}

/* Responsive adjustments for enhanced hero */
@media (max-width: 992px) {
    .hero-features {
        margin: 2rem 0;
    }
    
    .hero-feature-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .floating-buzzwords {
        display: none;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-features {
        margin: 1.5rem 0;
    }
    
    .hero-feature-item {
        padding: 0.75rem;
    }
    
    .hero-feature-item i {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-section .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .hero-section .trust-badges span {
        font-size: 0.8rem;
        padding: 8px 14px;
    }
    
    .hero-cta .btn {
        width: 100%;
        margin: 0.25rem 0;
    }
}

@media (max-width: 576px) {
    .hero-feature-item {
        padding: 0.5rem;
    }
    
    .hero-feature-item h5 {
        font-size: 1rem;
    }
    
    .hero-feature-item p {
        font-size: 0.85rem;
    }
}
