/**
 * CORPORATE & MODERN HERO SLIDER
 * Premium Professional Design with Enhanced Animations
 */

/* ==========================================
   Hero Slider Container
   ========================================== */
.hero-slider-modern {
    position: relative;
    overflow: hidden;
    padding: 0 0 0px;
    z-index: 1;
    background: linear-gradient(180deg, #6B46FF 0%, #8B5CF6 100%);
}

.hero-slides-container {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-slide {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 500px;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg,
            var(--hero-bg-color, #6B46FF) 0%,
            color-mix(in srgb, var(--hero-bg-color, #6B46FF) 80%, white) 50%,
            color-mix(in srgb, var(--hero-bg-color, #6B46FF) 60%, white) 100%);
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: scale(1);
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 122, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ==========================================
   Hero Grid Layout
   ========================================== */
.hero-grid-modern {
    display: grid;
    grid-template-columns: 1.15fr minmax(260px, 400px);
    gap: 36px;
    align-items: center;
    min-height: 500px;
    padding: 56px 0 48px;
    position: relative;
    z-index: 2;
}

/* ==========================================
   Left Content
   ========================================== */
.hero-content-modern {
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-badges-top {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.hero-badge-small {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 14px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-badge-small:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.hero-badge-small svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
}

.hero-title-modern {
    font-size: 40px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 18px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

.hero-title-modern strong {
    background: linear-gradient(135deg, #ff7a00 0%, #ff9500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description-modern {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 26px;
    max-width: 520px;
    line-height: 1.65;
    font-weight: 400;
}

.btn-hero-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #ff7a00 0%, #ff9500 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(255, 122, 0, 0.35),
                0 4px 12px rgba(255, 122, 0, 0.2);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-hero-modern:hover::before {
    left: 100%;
}

.btn-hero-modern:hover {
    background: linear-gradient(135deg, #ff9500 0%, #ffaa00 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 122, 0, 0.45),
                0 6px 16px rgba(255, 122, 0, 0.3);
}

.btn-hero-modern:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(255, 122, 0, 0.35);
}

.btn-hero-modern svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-hero-modern:hover svg {
    transform: translateX(4px);
}

/* ==========================================
   Right: Hero image
   ========================================== */
.hero-image-wrapper-modern {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    animation: fadeInRight 0.8s ease-out 0.2s both;
}

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

.hero-person-image {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.3));
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

/* ==========================================
   Slider Navigation Buttons (Side)
   ========================================== */
.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #ffffff;
    z-index: 10;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-nav-btn:hover {
    background: rgba(255, 122, 0, 0.2);
    border-color: rgba(255, 122, 0, 0.4);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 36px rgba(255, 122, 0, 0.3),
                0 4px 12px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-nav-btn:active {
    transform: translateY(-50%) scale(1.05);
}

.hero-nav-btn svg {
    width: 26px;
    height: 26px;
    stroke-width: 2.5;
    transition: transform 0.3s ease;
}

.hero-nav-prev:hover svg {
    transform: translateX(-2px);
}

.hero-nav-next:hover svg {
    transform: translateX(2px);
}

.hero-nav-prev {
    left: 16px;
}

.hero-nav-next {
    right: 16px;
}

/* ==========================================
   Slider Controls (Bottom Dots)
   ========================================== */
.hero-slider-controls {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-dots {
    display: flex;
    gap: 12px;
    align-items: center;
}

.hero-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.hero-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(255, 122, 0, 0.3);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.hero-dot:hover::before {
    width: 20px;
    height: 20px;
}

.hero-dot.active {
    background: #ff7a00;
    width: 36px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.4);
}

.hero-dot.active::before {
    width: 0;
    height: 0;
}

/* ==========================================
   Responsive Design
   ========================================== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .hero-slider-modern {
        padding: 0 0 0px;
    }

    .hero-slides-container {
        min-height: 440px;
    }

    .hero-slide {
        min-height: 440px;
    }

    .hero-grid-modern {
        gap: 28px;
        min-height: 440px;
        padding: 44px 0 36px;
        grid-template-columns: 1fr 1fr;
    }

    .hero-title-modern {
        font-size: 34px;
    }

    .hero-description-modern {
        font-size: 16px;
    }

    .hero-person-image {
        max-height: 320px;
    }

    .hero-nav-btn {
        width: 44px;
        height: 44px;
    }
    
    .hero-nav-prev {
        left: 12px;
    }
    
    .hero-nav-next {
        right: 12px;
    }

    .hero-slider-controls {
        bottom: 18px;
    }
}

/* Mobile (0 - 767px) */
@media (max-width: 767px) {
    .hero-slider-modern {
        padding: 0 0 0px;
    }

    .hero-slides-container {
        min-height: auto;
    }

    .hero-slide {
        min-height: auto;
    }

    .hero-grid-modern {
        grid-template-columns: 1fr;
        gap: 28px;
        min-height: auto;
        padding: 40px 0 32px;
    }

    .hero-content-modern {
        text-align: center;
    }

    .hero-badges-top {
        justify-content: center;
    }

    .hero-badge-small {
        font-size: 12px;
        padding: 8px 14px;
    }

    .hero-title-modern {
        font-size: 28px;
        margin-bottom: 14px;
        line-height: 1.2;
    }

    .hero-description-modern {
        font-size: 15px;
        margin-bottom: 22px;
        max-width: 100%;
    }

    .btn-hero-modern {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
    }

    .hero-image-wrapper-modern {
        order: -1;
    }

    .hero-person-image {
        max-height: 260px;
    }

    .hero-slider-controls {
        bottom: 20px;
        padding: 10px 16px;
    }

    .hero-nav-btn {
        width: 50px;
        height: 50px;
    }
    
    .hero-nav-prev {
        left: 15px;
    }
    
    .hero-nav-next {
        right: 15px;
    }
    
    .hero-nav-btn svg {
        width: 22px;
        height: 22px;
    }

    .hero-dot {
        width: 8px;
        height: 8px;
    }

    .hero-dot.active {
        width: 28px;
    }
}
