/* ═══════════════════════════════════════════════════════════
   FinoMind — Hero Section (hero.css)
   Card-with-Notch layout matching service.html design,
   with background image, testimonial, scroll indicator.
   ═══════════════════════════════════════════════════════════ */

/* ── Hero Container ── */
#hero {
    background: linear-gradient(to right, rgba(26,82,117,1) 0%, #165d93 22%, rgba(26,82,117,1) 100%);
    min-height: 80vh;
    height: auto;
    width: calc(100% - 32px);
    border-radius: 20px;
    margin: 16px auto;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ── Background Image & Overlay ── */
.hero-bg-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    filter: brightness(0.85) contrast(1.05);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        var(--dark-teal) 0%,
        var(--dark-teal) 32%,
        rgba(26, 82, 118, 0.95) 45%,
        rgba(26, 82, 118, 0.5) 65%,
        transparent 85%
    );
    z-index: 2;
}

/* ── Notch Navigation ── */
#notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 50px;
    background: #fff;
    border-radius: 0 0 28px 28px;
    z-index: 10;
}

#notch::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 0px;
    width: 28px;
    height: 28px;
    border-top-right-radius: 28px;
    box-shadow: 14px -14px 0 14px #fff;
}

#notch::after {
    content: "";
    position: absolute;
    right: -28px;
    top: 0;
    width: 28px;
    height: 28px;
    border-top-left-radius: 28px;
    box-shadow: -14px -14px 0 14px #fff;
}

#notch ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    height: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

#notch ul li {
    list-style-type: none;
    margin-left: 0px;
    margin-top: 0px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--charcoal);
    cursor: pointer;
    transition: all 0.2s ease;
}

#notch ul li:not(:nth-child(3)) {
    padding: 8px 14px;
    border-radius: 8px;
}

#notch ul li:not(:nth-child(3)):hover {
    color: var(--teal) !important;
    background: rgba(0, 123, 158, 0.06);
}

#notch ul li:not(:nth-child(3)).active {
    color: var(--teal) !important;
    background: rgba(0, 123, 158, 0.08);
}

#notch ul li img {
    width: 100px;
    height: auto;
    margin-top: 0px;
    display: block;
}

/* ── Hero Content ── */
#hero-content {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 100px 48px 60px;
    gap: 90px;
    min-height: 80vh;
}

#hero-text {
    width: 58%;
    display: flex;
    flex-direction: column;
    z-index: 4;
}

#hero .eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

#hero .eyebrow::before {
    content: '';
    width: 22px;
    height: 1px;
    background: var(--cyan);
    display: inline-block;
}

#hero .headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: clamp(38px, 4.6vw, 60px);
    line-height: 1.15;
    color: #fff;
    letter-spacing: -0.015em;
    margin: 0 0 22px;
}

#hero .headline em {
    font-style: normal;
    font-weight: 700;
    color: var(--dark-teal);
    background: #fff;
    padding: 2px 14px;
    border-radius: 8px;
    display: inline-block;
}

#hero .subtext {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    max-width: 440px;
    margin: 0 0 32px;
}

#hero .cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FF6B35;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 999px;
    width: fit-content;
    transition: background .25s ease, transform .25s ease;
}

#hero .cta:hover {
    background: #FF8555;
    transform: translateY(-1px);
}

#hero .cta svg {
    width: 16px;
    height: 16px;
    transition: transform .25s ease;
}

#hero .cta:hover svg {
    transform: translateX(3px);
}

/* ── Hero Image (for pages that use a person cutout) ── */
#hero-image {
    position: relative;
    flex-shrink: 0;
    justify-content: center;
    width: 50%;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    height: 65vh;
    margin-bottom: -68px;
    margin-left: 0px;
}

.hero-photo {
    position: relative;
    z-index: 1;
    display: block;
    width: 50%;
    height: 65vh;
    max-width: 70%;
    overflow: visible;
    object-fit: contain;
    filter: drop-shadow(0 20px 28px rgba(0,0,0,0.3));
}

/* ── Testimonial Quote Line ── */
.hero-testimonial-line {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 48px;
    max-width: 520px;
}

.hero-testimonial-line .quote-divider {
    width: 36px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    margin-top: 10px;
    flex-shrink: 0;
}

.hero-testimonial-line .quote-text {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

.hero-testimonial-line .quote-text strong {
    display: block;
    font-style: normal;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* ── Mouse Scroll Down Indicator ── */
.hero-scroll-down {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
}

.hero-scroll-down .mouse-icon {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.hero-scroll-down .mouse-wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-mouse-wheel 1.6s ease-in-out infinite;
}

@keyframes scroll-mouse-wheel {
    0% { top: 6px; opacity: 1; }
    50% { top: 18px; opacity: 0; }
    100% { top: 6px; opacity: 1; }
}

.hero-scroll-down .scroll-text {
    display: flex;
    flex-direction: column;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-body);
}

.hero-scroll-down .scroll-text .main-text {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-scroll-down .scroll-text .sub-text {
    font-size: 9.5px;
    opacity: 0.8;
}

/* ── Vertical Brand Watermark ── */
.vertical-brand-watermark {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: right center;
    font-size: clamp(65px, 8.5vw, 105px);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--white);
    opacity: 0.055;
    pointer-events: none;
    letter-spacing: 0.08em;
    white-space: nowrap;
    z-index: 2;
    font-family: var(--font-body);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    #hero {
        height: auto;
        min-height: 520px;
        margin: 12px auto;
        width: calc(100% - 24px);
        border-radius: 16px;
    }

    .hero-bg-overlay {
        background: linear-gradient(to bottom,
            rgba(10, 22, 40, 0.75) 0%,
            rgba(10, 22, 40, 0.95) 100%
        ) !important;
    }

    #hero-content {
        flex-direction: column;
        text-align: center;
        padding: 80px 24px 40px;
        min-height: auto;
    }

    #hero-text {
        max-width: 100%;
        width: 100%;
    }

    #hero .subtext {
        margin-left: auto;
        margin-right: auto;
    }

    #hero .eyebrow {
        justify-content: center;
    }

    #hero-image {
        margin-top: 20px;
        margin-bottom: 0;
        height: auto;
        width: 100%;
    }

    .hero-photo {
        width: 260px;
        height: auto;
    }

    .vertical-brand-watermark {
        display: none;
    }

    .hero-testimonial-line {
        margin-top: 36px;
    }

    .hero-scroll-down {
        margin-top: 36px;
    }
}
