/* ========================================
   Trusscore 2026 Hero Section Styles - FINAL
   ======================================== */

/* ========================================
   Hero Section (Homepage Demo)
   ======================================== */

.hero-section {
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: -88px; /* Offset for transparent navbar */
    padding-top: 88px;
    overflow: hidden;
}

/* Video Background */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Image Background with Zoom Effect */
.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image-zoom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform 0.3s ease-out;
    will-change: transform;
}

/* Slideshow crossfade effect */
.hero-image-slide {
    opacity: 0;
    transition: opacity 3s ease-in-out;
}

.hero-image-slide.active {
    opacity: 1;
}

/* Dark overlay for better text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.hero-section .hero-content {
    padding: 4rem 0;
    position: relative;
    z-index: 2;
    width: 100%;
}

@media (max-width: 991.98px) {
  .hero-content {
    margin-top: var(--navbar-height, 70px); /* default fallback */
  }
}

.hero-section .hero-content .col-lg-10 {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 0.75rem 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-section .hero-content .frosted {
    background: rgba(255, 255, 255, .35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-section .hero-headline {
    line-height: 1.1;
}

.hero-section .hero-headline-big {
    display: inline-block;
    font-size: 6rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.hero-section .hero-headline-small {
    display: inline-block;
    font-size: 3.5rem;
    font-weight: 600;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
    font-size: 2.0rem;
    font-weight: 400;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.95);
}

/* Hero Toggle Button */
#heroToggle {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

#heroToggle:hover {
    background-color: var(--tc-slate);
    color: white;
    border-color: var(--tc-slate);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Mobile Hero adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        margin-top: -72px;
        padding-top: 72px;
        min-height: 300px !important;
    }

    .hero-section .hero-headline-big {
        font-size: 3rem;
    }

    .hero-section .hero-headline-small {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1.25rem;
        font-weight: 900 !important;
    }
}

/* ========================================
   Content Section
   ======================================== */

.content-section {
    background-color: #f8f9fa;
}


