/**
 * Health Federation - Professional Hero & Slider Styles
 * Modern, Premium Design
 */

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 50%, #0d4a6e 100%);
    max-width: 100vw;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

/* Animated Background Shapes */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    max-width: 100vw;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    animation: floatShape 20s ease-in-out infinite;
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #0099ff, #00d4aa);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.hero-shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    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(-30px, -20px) scale(1.02);
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #00d4aa;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge i {
    font-size: 0.75rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title .text-gradient {
    background: linear-gradient(135deg, #00d4aa 0%, #0099ff 50%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #0099ff 0%, #0066cc 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 153, 255, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 153, 255, 0.4);
    color: #ffffff;
}

.btn-hero-primary i {
    transition: transform 0.3s ease;
}

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

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.4s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 3rem;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.hero-stat-number span {
    color: #00d4aa;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Image/Visual */
.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease-out 0.5s both;
}

.hero-image-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

.hero-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.2) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.hero-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Floating Cards */
.hero-floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatCard 3s ease-in-out infinite;
    z-index: 10;
}

.hero-floating-card.card-1 {
    top: 20%;
    left: -30px;
    animation-delay: 0s;
}

.hero-floating-card.card-2 {
    bottom: 20%;
    right: -30px;
    animation-delay: -1.5s;
}

.hero-floating-card .card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #ffffff;
}

.hero-floating-card .card-icon.blue {
    background: linear-gradient(135deg, #0099ff, #0066cc);
}

.hero-floating-card .card-icon.green {
    background: linear-gradient(135deg, #00d4aa, #00a896);
}

.hero-floating-card .card-icon.orange {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.hero-floating-card .card-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a365d;
    margin: 0 0 2px;
}

.hero-floating-card .card-info p {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
}

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

/* ===== SLIDER SECTION (Alternative) ===== */
.slider-modern {
    position: relative;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
}

.slider-modern .carousel-item {
    height: 85vh;
    min-height: 600px;
}

.slider-modern .slider-item {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slider-modern .slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(26, 54, 93, 0.85) 50%, rgba(13, 74, 110, 0.75) 100%);
    display: flex;
    align-items: center;
}

.slider-modern .slider-content {
    max-width: 700px;
    padding: 0 5%;
}

.slider-modern .slider-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 212, 170, 0.2);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: 50px;
    color: #00d4aa;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.slider-modern .slider-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.slider-modern .slider-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 550px;
}

.slider-modern .slider-buttons {
    display: flex;
    gap: 1rem;
}

/* Modern Carousel Controls */
.slider-modern .carousel-control-prev,
.slider-modern .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s ease;
}

.slider-modern .carousel-control-prev {
    left: 30px;
}

.slider-modern .carousel-control-next {
    right: 30px;
}

.slider-modern .carousel-control-prev:hover,
.slider-modern .carousel-control-next:hover {
    background: rgba(0, 153, 255, 0.8);
    border-color: transparent;
}

.slider-modern .carousel-control-prev-icon,
.slider-modern .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Modern Carousel Indicators */
.slider-modern .carousel-indicators {
    bottom: 40px;
    gap: 8px;
}

.slider-modern .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    margin: 0;
}

.slider-modern .carousel-indicators button.active {
    width: 40px;
    border-radius: 10px;
    background: #00d4aa;
}

/* ===== FEATURES HIGHLIGHT ===== */
.features-highlight {
    position: relative;
    margin-top: -80px;
    z-index: 20;
    padding-bottom: 3rem;
}

.feature-highlight-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.feature-highlight-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.feature-highlight-icon.blue {
    background: linear-gradient(135deg, #0099ff, #0066cc);
}

.feature-highlight-icon.green {
    background: linear-gradient(135deg, #00d4aa, #00a896);
}

.feature-highlight-icon.orange {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.feature-highlight-icon.purple {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.feature-highlight-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 0.75rem;
}

.feature-highlight-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.feature-highlight-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0099ff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.feature-highlight-link:hover {
    gap: 10px;
    color: #0066cc;
}

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

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-floating-card.card-1 {
        left: 0;
    }
    
    .hero-floating-card.card-2 {
        right: 0;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
    }
    
    .hero-content {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 3rem;
    }
    
    .hero-floating-card {
        display: none;
    }
    
    .slider-modern .slider-content h2 {
        font-size: 2.5rem;
    }
    
    .features-highlight {
        margin-top: -40px;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .hero-stat {
        flex: 0 0 45%;
        text-align: center;
    }
    
    .hero-stat-number {
        font-size: 2rem;
    }
    
    /* Hide background shapes on mobile - prevents overflow */
    .hero-bg-shapes {
        display: none !important;
    }
    
    .hero-shape,
    .hero-shape-1,
    .hero-shape-2,
    .hero-shape-3 {
        display: none !important;
    }
    
    .slider-modern {
        height: 70vh;
        min-height: 500px;
    }
    
    .slider-modern .carousel-item {
        height: 70vh;
        min-height: 500px;
    }
    
    .slider-modern .slider-content h2 {
        font-size: 1.75rem;
    }
    
    .slider-modern .slider-content p {
        font-size: 1rem;
    }
    
    .slider-modern .carousel-control-prev,
    .slider-modern .carousel-control-next {
        width: 45px;
        height: 45px;
    }
    
    .slider-modern .carousel-control-prev {
        left: 15px;
    }
    
    .slider-modern .carousel-control-next {
        right: 15px;
    }
    
    .features-highlight {
        margin-top: 0;
        padding-top: 3rem;
    }
    
    .feature-highlight-card {
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.85rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 16px;
    }
    
    .hero-stat {
        flex: 0 0 100%;
    }
    
    .slider-modern .slider-content h2 {
        font-size: 1.5rem;
    }
    
    .slider-modern .slider-buttons {
        flex-direction: column;
    }
}

