/* ============================================
   MODERN HERO SECTION STYLES
   ============================================ */

.modern-hero {
    position: relative;
    overflow: hidden;
}

/* Override existing header styles */
.modern-hero .header-home-3 {
    height: 100vh;
    min-height: 600px;
}

.modern-hero .hh3 {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.modern-hero .hh3::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.modern-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.95));
    z-index: 2;
    pointer-events: none;
}

.modern-header-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 120px 40px 180px;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 24px;
}

.hero-badge span {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.modern-header-content h1 {
    font-family: 'Sen', sans-serif;
    font-size: 72px;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 28px;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px;
}

.modern-header-content h1 .highlight {
    color: #ffffff;
    position: relative;
    display: inline-block;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #e0f0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.modern-header-content h1 .subtitle {
    font-weight: 400;
    font-size: 0.75em;
    opacity: 0.85;
    display: block;
    margin-top: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 16px;
}

.modern-header-content h1 .highlight::after {
    display: none;
}

.hero-description {
    font-size: 20px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 48px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    font-weight: 300;
    letter-spacing: 0.3px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.5px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-hero-primary {
    background: #ffffff;
    color: #1a1a2e;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: #1a1a2e;
}

.btn-hero-primary:hover::before {
    opacity: 1;
}

.btn-hero-primary span {
    position: relative;
    z-index: 1;
}

.btn-hero-secondary {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: bounce-scroll 2s infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    animation: scroll-wheel 2s infinite;
}

.scroll-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@keyframes bounce-scroll {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(16px);
    }
}

/* Hero Gradient Overlay */
.hero-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 40%,
        rgba(255, 255, 255, 0.7) 70%,
        rgba(255, 255, 255, 0.95) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .modern-header-content {
        padding: 100px 30px 150px;
    }
    
    .modern-header-content h1 {
        font-size: 52px;
    }
    
    .modern-header-content h1 .subtitle {
        font-size: 14px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 16px 32px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .modern-header-content {
        padding: 80px 20px 120px;
    }
    
    .modern-header-content h1 {
        font-size: 42px;
        line-height: 1.2;
    }
    
    .modern-header-content h1 .subtitle {
        font-size: 13px;
        margin-top: 6px;
    }
    
    .hero-description {
        font-size: 17px;
        margin-bottom: 36px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        padding: 16px 28px;
        font-size: 13px;
    }
    
    .hero-scroll-indicator {
        bottom: 40px;
    }
}

@media (max-width: 576px) {
    .modern-header-content h1 {
        font-size: 36px;
    }
    
    .modern-header-content h1 .subtitle {
        font-size: 12px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-badge span {
        font-size: 11px;
        padding: 6px 16px;
    }
}

/* Smooth section transition */
.modern-hero ~ section.h3-about-section,
.modern-hero ~ section.explore-section {
    position: relative;
    z-index: 3;
    margin-top: -120px;
    padding-top: 180px;
    background: #ffffff;
}

@media (max-width: 768px) {
    .modern-hero ~ section.h3-about-section,
    .modern-hero ~ section.explore-section {
        margin-top: -80px;
        padding-top: 140px;
    }
}

/* Override old header styles */
.modern-hero .hh3 .header-cont h1,
.modern-hero .hh3 .header-cont h5 {
    width: auto;
    margin-bottom: 0;
}

.modern-hero .hh3 .header-cont h1 {
    font-size: inherit;
    font-weight: inherit;
}

.modern-hero .hh3 .header-cont h1 span {
    color: inherit;
    text-transform: none;
}

.modern-hero .hh3 .header-cont h5 {
    display: none;
}
