/* Modern Hero Section CSS - Transductr */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Hero Section Base Styles */
.modern-hero {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    background-color: #000;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    --primary-color: #2EB872;
    --secondary-color: #0079BF;
    --accent-color: #E0F7FA;
    --dark-color: #102A43;
    --text-color: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Hero Slider */
.modern-hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.modern-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.modern-hero-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Overlay */
.modern-hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(16, 42, 67, 0.9) 0%, 
        rgba(7, 89, 133, 0.75) 50%, 
        rgba(0, 121, 191, 0.6) 100%);
    z-index: 1;
}

/* Particle overlay */
.modern-hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.modern-hero-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(1px);
    animation: float 15s infinite;
    z-index: 1;
}

.modern-hero-particle:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.modern-hero-particle:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 20%;
    right: 20%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.modern-hero-particle:nth-child(3) {
    width: 40px;
    height: 40px;
    bottom: 30%;
    left: 30%;
    animation-delay: 4s;
    animation-duration: 20s;
}

.modern-hero-particle:nth-child(4) {
    width: 100px;
    height: 100px;
    bottom: 10%;
    right: 10%;
    animation-delay: 6s;
    animation-duration: 22s;
}

.modern-hero-particle:nth-child(5) {
    width: 50px;
    height: 50px;
    top: 50%;
    left: 50%;
    animation-delay: 8s;
    animation-duration: 15s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.4;
    }
    100% {
        transform: translateY(0) rotate(360deg);
        opacity: 0.8;
    }
}

/* Content Container */
.modern-hero-content {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--text-color);
}

/* Text Content */
.modern-hero-text {
    max-width: 650px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease 0.5s;
}

.modern-hero-slide.active .modern-hero-text {
    opacity: 1;
    transform: translateY(0);
}

.modern-hero-text h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--text-color);
    letter-spacing: -1px;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modern-hero-text h1 span {
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(0, 121, 191, 0.2);
}

.modern-hero-text h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    transform: scaleX(0.8);
    transform-origin: center;
    animation: underlineExpand 1.5s forwards 0.5s;
}

@keyframes underlineExpand {
    to { transform: scaleX(1); }
}

.modern-hero-text p {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 600px;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    position: relative;
    padding-left: 15px;
    border-left: 3px solid var(--primary-color);
}

/* CTA Buttons */
.modern-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease 0.8s;
    position: relative;
}

.modern-hero-buttons::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.modern-hero-slide.active .modern-hero-buttons {
    opacity: 1;
    transform: translateY(0);
}

.modern-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
    box-shadow: var(--shadow-sm);
}

.modern-hero-btn.primary {
    background-color: var(--primary-color);
    color: var(--text-color);
    box-shadow: 0 5px 15px rgba(46, 184, 114, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-hero-btn.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
    z-index: -1;
}

.modern-hero-btn.primary:hover::before {
    left: 100%;
    transition: 0.7s;
}

.modern-hero-btn.primary:hover {
    background-color: #25a162;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(46, 184, 114, 0.5);
}

.modern-hero-btn.secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.modern-hero-btn.secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--text-color);
    transition: var(--transition);
    z-index: -1;
}

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

.modern-hero-btn.secondary:hover {
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.modern-hero-btn i {
    margin-left: 10px;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    position: relative;
}

.modern-hero-btn i::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -15px;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.modern-hero-btn:hover i::before {
    width: 10px;
}

.modern-hero-btn:hover i {
    transform: translateX(5px);
}

/* Stats Section */
.modern-hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, rgba(0, 121, 191, 0.15) 0%, rgba(46, 184, 114, 0.15) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 3;
    padding: 25px 0;
    transform: translateY(100%);
    transition: transform 0.5s ease 1.2s;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.modern-hero-slide.active .modern-hero-stats {
    transform: translateY(0);
}

.modern-hero-stats-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.modern-hero-stat-item {
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.modern-hero-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
}

.modern-hero-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.modern-hero-stat-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

/* Navigation Arrows */
.modern-hero-nav {
    position: absolute;
    bottom: 50%;
    transform: translateY(50%);
    width: 100%;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    pointer-events: none;
}

.modern-hero-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-hero-nav-btn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
    border-color: transparent;
}

.modern-hero-nav-btn i {
    color: #fff;
    font-size: 1.2rem;
}

/* Pagination Dots */
.modern-hero-pagination {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 10px 15px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-hero-pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
    margin: 0 5px;
    position: relative;
}

.modern-hero-pagination-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0);
    transition: var(--transition);
}

.modern-hero-pagination-dot.active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

.modern-hero-pagination-dot.active::after {
    border-color: rgba(255, 255, 255, 0.5);
}

.modern-hero-pagination-dot:hover::after {
    border-color: rgba(255, 255, 255, 0.3);
}

/* Scroll Down Indicator */
.modern-hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    font-size: 0.8rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    cursor: pointer;
}

.modern-hero-scroll:hover {
    opacity: 1;
    transform: translate(-50%, -5px);
}

.modern-hero-scroll span {
    margin-bottom: 5px;
}

.modern-hero-scroll i {
    font-size: 1.2rem;
    animation: scrollBounce 2s infinite;
}

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

/* Responsive Styles */
@media (max-width: 1200px) {
    .modern-hero-text h1 {
        font-size: 3rem;
    }
}

@media (max-width: 991px) {
    .modern-hero {
        min-height: 600px;
    }
    
    .modern-hero-text h1 {
        font-size: 2.5rem;
    }
    
    .modern-hero-text p {
        font-size: 1rem;
    }
    
    .modern-hero-stat-number {
        font-size: 2rem;
    }
    
    .modern-hero-stats {
        padding: 15px 0;
    }
}

@media (max-width: 767px) {
    .modern-hero {
        min-height: 500px;
    }
    
    .modern-hero-text h1 {
        font-size: 2rem;
    }
    
    .modern-hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .modern-hero-btn {
        width: 100%;
        max-width: 250px;
        padding: 12px 25px;
    }
    
    .modern-hero-stats-container {
        justify-content: center;
        gap: 20px;
    }
    
    .modern-hero-stat-item {
        width: calc(50% - 20px);
    }
    
    .modern-hero-nav {
        display: none;
    }
    
    .modern-hero-pagination {
        bottom: 70px;
    }
}

@media (max-width: 480px) {
    .modern-hero-text h1 {
        font-size: 1.8rem;
    }
    
    .modern-hero-text p {
        font-size: 0.9rem;
    }
    
    .modern-hero-stat-item {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .modern-hero-stat-number {
        font-size: 1.8rem;
    }
}
