/* Modern Hero Section Styles */
.modern-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(46, 125, 50, 0.9) 0%, 
        rgba(76, 175, 80, 0.8) 50%, 
        rgba(129, 199, 132, 0.7) 100%);
    z-index: 2;
}

.animated-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    animation-delay: 1s;
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particle-float 8s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 60%; animation-delay: 3s; }
.particle:nth-child(5) { left: 80%; animation-delay: 4s; }
.particle:nth-child(6) { left: 90%; animation-delay: 5s; }

.hero-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 80vh;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.hero-content {
    color: white;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 15px;
    margin-bottom: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideInUp 1s ease-out;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.badge-icon {
    font-size: 16px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.title-line {
    display: block;
    animation: slideInLeft 1s ease-out;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.title-line:nth-child(3) {
    animation-delay: 0.4s;
}

.highlight {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typing-text {
    position: relative;
    color: #FFD700;
}

.typing-text::after {
    content: '|';
    animation: blink 1s infinite;
}

.hero-description {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: slideInUp 1s ease-out 0.6s both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    animation: slideInUp 1s ease-out 0.8s both;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    animation: slideInUp 1s ease-out 1s both;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #333;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
    color: #333;
    text-decoration: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    color: white;
    text-decoration: none;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    animation: slideInUp 1s ease-out 1.2s both;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 24px 20px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #FFD700;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.stat-label {
    font-size: 15px;
    opacity: 0.9;
    font-weight: 500;
}

/* Enhanced animations */
@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Enhanced Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    transform: translateX(-50%) scale(1.1);
}

.scroll-text {
    font-size: 14px;
    margin-bottom: 12px;
    opacity: 0.9;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-arrow {
    position: relative;
    width: 30px;
    height: 50px;
    margin: 0 auto;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 25px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8px;
}

.scroll-arrow::before {
    content: '';
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: scrollDot 2s infinite;
}

.scroll-arrow i {
    position: absolute;
    bottom: 8px;
    font-size: 12px;
    animation: bounce 2s infinite;
    opacity: 0.8;
}

@keyframes scrollDot {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(20px);
        opacity: 0.5;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-wrapper {
        padding: 30px 15px;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 5vw, 4rem);
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .hero-features {
        gap: 24px;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    body.homepage header,
    body.homepage .navbar,
    body.homepage nav {
        display: none !important;
    }
    
    body.homepage .modern-hero {
        padding-top: 0 !important;
        margin-top: 0 !important;
        min-height: 100vh !important;
        position: relative;
        top: 0;
    }
    
    body.homepage {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    body.homepage .hero-features {
        display: none !important;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .stat-card {
        padding: 20px 16px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-wrapper {
        padding: 20px 10px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .hero-features {
        gap: 16px;
    }
    
    .feature-item {
        gap: 8px;
        font-size: 14px;
    }
    
    .feature-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .hero-btn {
        padding: 14px 28px;
        font-size: 14px;
    }
    
    .hero-badge {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes particle-float {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
} 