/* =============================================
   MODERN HERO SECTION - 2025 Design
   ============================================= */

/* Modern Hero Container */
.modern-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1f3d 0%, #1a4d7a 100%);
}

/* Hero Background with Video/Image */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video,
.hero-fallback-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 123, 255, 0.85) 0%,
        rgba(40, 167, 69, 0.75) 100%
    );
    z-index: 2;
    backdrop-filter: blur(2px);
}

/* Hero Content Wrapper */
.hero-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 8rem 0 4rem;
}

.hero-main-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

.hero-badge i {
    font-size: 1rem;
    color: #ffd700;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Hero Title */
.hero-title {
    margin-bottom: 2rem;
    color: white;
    line-height: 1.1;
}

.hero-title-main {
    display: block;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #e0f7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-title-sub {
    display: block;
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.02em;
}

/* Hero Description */
.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

/* Hero CTA Buttons */
.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-btn span,
.hero-btn i {
    position: relative;
    z-index: 1;
}

.hero-btn-primary {
    background: white;
    color: #007BFF;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.hero-btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-3px);
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    color: white;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.hero-feature-item i {
    font-size: 1.5rem;
    color: #ffd700;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: white;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    position: relative;
}

.scroll-wheel {
    width: 6px;
    height: 10px;
    background: white;
    border-radius: 3px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; 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); }
}

.hero-scroll-indicator span {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Animated Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
}

.hero-shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation: float-shape 8s ease-in-out infinite;
}

.hero-shape-2 {
    width: 200px;
    height: 200px;
    bottom: 15%;
    left: 15%;
    animation: float-shape 10s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 5%;
    animation: float-shape 12s ease-in-out infinite;
}

@keyframes float-shape {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(90deg); }
    50% { transform: translate(0, -40px) rotate(180deg); }
    75% { transform: translate(-20px, -20px) rotate(270deg); }
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */

/* Tablets and below */
@media (max-width: 1024px) {
    .hero-content-wrapper {
        padding: 6rem 0 3rem;
    }
    
    .hero-features {
        gap: 1rem;
    }
    
    .hero-feature-item {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .modern-hero {
        min-height: 90vh;
    }
    
    .hero-content-wrapper {
        padding: 5rem 0 2rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
        gap: 0.5rem;
    }
    
    .hero-title-main {
        font-size: 2.5rem;
    }
    
    .hero-title-sub {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .hero-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .hero-features {
        gap: 0.75rem;
        padding: 1.5rem 0;
    }
    
    .hero-feature-item {
        padding: 0.625rem 1rem;
        font-size: 0.8rem;
        flex: 1 1 calc(50% - 0.75rem);
        min-width: 140px;
    }
    
    .hero-feature-item i {
        font-size: 1.25rem;
    }
    
    .hero-scroll-indicator {
        bottom: 2rem;
    }
    
    .hero-shapes {
        display: none;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero-title-main {
        font-size: 2rem;
    }
    
    .hero-title-sub {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-features {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-feature-item {
        width: 100%;
    }
}

/* Landscape orientation on phones */
@media (max-height: 600px) and (orientation: landscape) {
    .modern-hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-content-wrapper {
        padding: 3rem 0 2rem;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
    
    .hero-features {
        flex-direction: row;
        gap: 1rem;
    }
    
    .hero-feature-item {
        flex: 0 1 auto;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-badge,
    .hero-scroll-indicator,
    .hero-shape {
        animation: none;
    }
    
    .hero-btn::before {
        transition: none;
    }
}

/* =============================================
   MODERN CERTIFICATE BADGES
   ============================================= */

.footer__certifications {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.cert-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    min-width: 100px;
    text-align: center;
    transition: all 0.3s ease;
}

.cert-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #007BFF;
    transform: translateY(-3px);
}

.cert-badge i {
    font-size: 2rem;
    color: #007BFF;
}

.cert-badge span {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.9);
}
