/* ==========================================================================
   2. HERO SECTION — Full-width header banner
   Brand Palette: Deep Trust Blue (#0B3C5D), Calm Teal (#1F8A70), Off White (#F5F7FA)
   ========================================================================== */

.hero-section {
    position: relative;
    background-color: var(--color-trust-blue);
    min-height: 260px;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Contains the bg-image zoom */
    padding-top: calc(72px + 64px);
    /* navbar offset + breathing room */
    padding-bottom: 80px;
}

/* Background Image Layer (Parallax / Slow Zoom Depth Effect) */
.hero-section__bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.15;
    /* Keep it subtle behind the content */

    /* The animation provides depth on load */
    animation: heroBackgroundZoom 20s linear infinite alternate;
}

@keyframes heroBackgroundZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-section__bg-image {
        animation: none;
    }
}

/* Enhanced Soft Calm Teal radial glow overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(31, 138, 112, 0.25) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
    /* Above the bg image, below the content */
}

/* Ensure content stays above absolute backgrounds */
.hero-section__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--max-content-width, 1280px);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

@media (max-width: 1023px) {
    .hero-section__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Left content column */
.hero-section__content {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 720px;
}

/* Badge above headline */
.hero-section__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    border: 1px solid rgba(31, 138, 112, 0.6);
    color: var(--color-calm-teal);
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 9999px;
    width: fit-content;
}

.hero-section__badge span {
    font-size: 12px;
}

/* Headline */
.hero-section__headline {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0;
}

.hero-section__headline em {
    font-style: normal;
    color: var(--color-calm-teal);
}

@media (max-width: 639px) {
    .hero-section__headline {
        font-size: 36px;
    }
}

/* Subheading */
.hero-section__subheadline {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 18px;
    color: #E2E8F0;
    line-height: 1.6;
    max-width: 600px;
    margin: 0;
}

/* CTA buttons row */
.hero-section__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-top: 12px;
}

/* Secondary Action Links */
.hero-section__secondary-action a {
    color: var(--color-white);
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.4);
    text-underline-offset: 6px;
    transition: all var(--motion-fast) ease-out;
}

.hero-section__secondary-action a:hover {
    color: var(--color-calm-teal);
    text-decoration-color: var(--color-calm-teal);
}

/* Trust signals row under CTAs */
.hero-section__trust-signals {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px;
    margin-top: 24px;
}

.hero-section__trust-signal {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-white);
    opacity: 0.95;
}

.hero-section__trust-signal span {
    color: var(--color-calm-teal);
    font-size: 16px;
}

/* Right column / Visual Panel */
.hero-section__right-panel {
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-section__right-panel img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}