/**
 * Hero Section Fix - Custom Styling for Enhanced Hero
 */

/* ===== ENHANCED HERO SECTION ===== */
.hero-carousel {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0A2463 0%, #247BA0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* ===== HERO TEXT ===== */
.hero-text {
    color: var(--white);
}

.badge-section {
    margin-bottom: 1.5rem;
}

.trust-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white) !important;
}

.text-highlight {
    color: var(--gold-accent);
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

/* ===== HERO STATS ===== */
.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-stats .stat {
    text-align: center;
}

.hero-stats .number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-accent);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.hero-stats .label {
    display: block;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== HERO ACTIONS ===== */
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy-blue);
}

.btn i {
    font-size: 1.1rem;
}

/* ===== FLOATING CARDS ===== */
.hero-visual {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--white);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

.floating-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.floating-card i {
    font-size: 3rem;
    color: var(--gold-accent);
}

.floating-card span {
    font-weight: 600;
    font-size: 1.1rem;
}

.card-1 {
    top: 50px;
    left: 50px;
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    top: 200px;
    right: 100px;
    animation: float 6s ease-in-out infinite 2s;
}

.card-3 {
    bottom: 80px;
    left: 150px;
    animation: float 6s ease-in-out infinite 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    opacity: 0.7;
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 25px;
    margin: 0 auto 10px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    80% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.scroll-indicator span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-content .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-visual {
        height: 300px;
        margin-top: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .hero-stats .number {
        font-size: 2.5rem;
    }
    
    .floating-card {
        padding: 1.5rem;
    }
    
    .floating-card i {
        font-size: 2rem;
    }
    
    .card-1 {
        top: 20px;
        left: 20px;
    }
    
    .card-2 {
        top: 120px;
        right: 20px;
    }
    
    .card-3 {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .hero-carousel {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .hero-stats .number {
        font-size: 2rem;
    }
    
    .hero-stats .label {
        font-size: 0.85rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .hero-stats .stat {
        flex: 0 0 calc(33.333% - 1rem);
    }
    
    .hero-stats .number {
        font-size: 1.75rem;
    }
    
    .hero-stats .label {
        font-size: 0.75rem;
    }
}

/* ===== OVERRIDE CONFLICTING CAROUSEL STYLES ===== */
.hero-carousel .carousel,
.hero-carousel .carousel-item,
.hero-carousel .carousel-inner {
    height: auto !important;
    position: static !important;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next,
.hero-carousel .carousel-indicators,
.hero-carousel .carousel-caption-custom {
    display: none !important;
}