/* ============================================
   HERO SECTION - BTP CONSULTING
   Version 2.1 - Fit in 1 Page (100vh)
============================================ */

/* === HERO CONTAINER === */
.hero-new {
    position: relative;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0F2847 0%, #1B3A6D 50%, #2A4A7F 100%);
}

/* === SLIDER BACKGROUND === */
.hero-slider-new {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide-new {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.5s ease, transform 8s ease;
}

.hero-slide-new.active {
    opacity: 1;
    transform: scale(1);
}

/* === OVERLAY GRADIENT === */
.hero-overlay-new {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(15, 40, 71, 0.92) 0%,
        rgba(27, 58, 109, 0.85) 50%,
        rgba(243, 112, 33, 0.15) 100%
    );
    z-index: 2;
}

/* === ANIMATED GRID PATTERN === */
.hero-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 3;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-60px, -60px); }
}

/* === FLOATING SHAPES === */
.hero-shapes-new {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 4;
    overflow: hidden;
    pointer-events: none;
}

.shape-new {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(243, 112, 33, 0.25), rgba(243, 112, 33, 0.05));
    filter: blur(60px);
    animation: floatShape 20s ease-in-out infinite;
}

.shape-new:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.shape-new:nth-child(2) {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -80px;
    animation-delay: -7s;
}

.shape-new:nth-child(3) {
    width: 200px;
    height: 200px;
    top: 40%;
    left: 20%;
    animation-delay: -14s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 15px) scale(1.02); }
}

/* === MAIN CONTENT - COMPACT === */
.hero-content-new {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 40px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* === TOP BADGE === */
.hero-badge-new {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.hero-badge-new .badge-icon {
    font-size: 1.3rem;
}

.hero-badge-new .badge-text {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* === MAIN TITLE - COMPACT === */
.hero-title-new {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
    animation: fadeInUp 1s ease 0.2s backwards;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.hero-title-new .highlight {
    background: linear-gradient(135deg, #F37021, #FF8C42, #FFB347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-new .line {
    display: block;
}

/* === SUBTITLE - COMPACT === */
.hero-subtitle-new {
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.7;
    animation: fadeInUp 1s ease 0.4s backwards;
}

/* === STATS GRID - COMPACT === */
.hero-stats-new {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 1000px;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 20px 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #F37021, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-5px);
    border-color: rgba(243, 112, 33, 0.4);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #F37021;
    line-height: 1;
    margin-bottom: 6px;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    line-height: 1.3;
}

/* === SLIDER NAVIGATION === */
.hero-nav-dots {
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

/* === SLIDER ARROWS === */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}
.hero-arrow:hover {
    background: rgba(243, 112, 33, 0.8);
    border-color: #F37021;
}
.hero-arrow svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
}
.hero-arrow-left {
    left: 20px;
}
.hero-arrow-right {
    right: 20px;
}
@media (max-width: 768px) {
    .hero-arrow {
        width: 36px;
        height: 36px;
    }
    .hero-arrow svg {
        width: 18px;
        height: 18px;
    }
    .hero-arrow-left { left: 10px; }
    .hero-arrow-right { right: 10px; }
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.4s ease;
}

.nav-dot.active {
    background: #F37021;
    border-color: rgba(255,255,255,0.5);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(243, 112, 33, 0.6);
}

.nav-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.15);
}

/* === SCROLL INDICATOR === */
.hero-scroll-new {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    animation: bounce 2.5s ease infinite;
    text-decoration: none;
}

.hero-scroll-new svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 0.6; }
}

/* === ANIMATIONS === */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .hero-stats-new {
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
    }
    
    .stat-card {
        padding: 16px 10px;
    }
    
    .stat-value {
        font-size: 1.7rem;
    }
}

@media (max-width: 900px) {
    .hero-stats-new {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-content-new {
        padding: 70px 25px 30px;
    }
}

@media (max-width: 768px) {
    .hero-content-new {
        padding: 80px 20px 30px;
    }
    
    .hero-title-new {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 12px;
    }
    
    .hero-subtitle-new {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }

    .hero-stats-new {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .stat-card {
        padding: 14px 8px;
        border-radius: 12px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .hero-nav-dots {
        bottom: 55px;
    }
    
    .hero-scroll-new {
        bottom: 15px;
    }
}

@media (max-width: 480px) {
    .hero-content-new {
        padding: 75px 15px 25px;
    }
    
    .hero-badge-new {
        padding: 6px 14px;
        margin-bottom: 15px;
    }

    .hero-badge-new .badge-text {
        font-size: 0.75rem;
    }
    
    .hero-title-new {
        font-size: 1.6rem;
    }

    .hero-stats-new {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-card:nth-child(5) {
        grid-column: span 2;
    }

    .stat-value {
        font-size: 1.4rem;
    }
}

/* === HEIGHT ADJUSTMENT FOR SMALL SCREENS === */
@media (max-height: 700px) {
    .hero-content-new {
        padding: 70px 30px 20px;
    }
    
    .hero-badge-new {
        margin-bottom: 12px;
        padding: 6px 16px;
    }
    
    .hero-title-new {
        font-size: clamp(1.6rem, 4vw, 2.5rem);
        margin-bottom: 10px;
    }
    
    .hero-subtitle-new {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .stat-card {
        padding: 14px 10px;
    }
    
    .stat-value {
        font-size: 1.6rem;
    }
    
    .hero-nav-dots {
        bottom: 50px;
    }
    
    .hero-scroll-new {
        bottom: 12px;
        font-size: 0.7rem;
    }
}

@media (max-height: 600px) {
    .hero-content-new {
        padding: 65px 25px 15px;
    }
    
    .hero-badge-new {
        margin-bottom: 8px;
    }
    
    .hero-title-new {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .hero-subtitle-new {
        font-size: 0.85rem;
        margin-bottom: 15px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .stat-card {
        padding: 12px 8px;
    }
    
    .stat-value {
        font-size: 1.4rem;
        margin-bottom: 4px;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .hero-nav-dots {
        bottom: 40px;
    }
    
    .nav-dot {
        width: 10px;
        height: 10px;
    }
    
    .hero-scroll-new {
        display: none;
    }
}
