/* ==========================================================================
   HERO (homepage)
   Layout matching design mockup:
   - Content (Headline, Description, Buttons) at top left.
   - Large dashboard graphic positioned below buttons on the left,
     tilted counter-clockwise (-6.5 deg) and rising upwards to the right,
     spanning across the container.
   - Trust bar below with white background clipping the bottom of the graphic.
   ========================================================================== */

.du-hero {
    background-color: var(--background);
    padding-top: var(--space-lg);
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
 
}

#du-hero-heading {
    margin: 0;
}

.du-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    padding-bottom: 0;
    height: 100vh;
    overflow: hidden;
}

/* ---- Content column ---- */
.du-hero__content {
    max-width: 800px;
    margin-bottom: var(--space-lg);
}

/* .du-hero__headline {
    margin: 0 0 var(--space-md);
} */

.du-hero__emphasis {
    font-style: italic;
    color: var(--surface-tint);
}

.du-hero__description {
    color: var(--text-body);
    max-width: 48ch;
    margin: 0 0 var(--space-md);
}

.du-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
}

/* ---- R1 — Eyebrow ---- */
.du-hero__eyebrow {
    color: var(--surface-tint);
    margin: 0 0 var(--space-sm);
    display: block;
}

/* ---- R4 — Trust indicators strip ---- */
.du-hero__trust-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs) var(--space-md);
    list-style: none;
    margin: var(--space-md) 0 0;
    padding: 0;
}

.du-hero__trust-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-base);
    font-family: var(--caption-family);
    font-size: var(--caption-size);
    line-height: var(--caption-line);
    color: var(--on-surface-variant);

}

.du-hero__trust-icon {
    color: var(--success);
    flex-shrink: 0;
}

/* ---- R5 — Social proof ---- */
.du-hero__social-proof {
    color: var(--on-surface-variant);
    margin: var(--space-sm) 0 0;
}

/* ---- Media column (Tilted dashboard graphic) ---- */
.du-hero__media {
    width: 100%;
    position: relative;
    margin-top: var(--space-md);
    margin-bottom: -60px; /* pull down into trust bar clip line */
}

/* R6 — Dashboard context label */
.du-hero__dashboard-label {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: var(--border-width) solid var(--border);
    border-radius: var(--radius-full);
    padding: var(--space-xs) var(--space-sm);
    color: var(--on-surface-variant);
    white-space: nowrap;
    pointer-events: none;
    box-shadow: var(--shadow-level-1);
}

/* R7 — Reveal animation: image starts hidden/low, hero.js adds .is-visible */
.du-hero__image {
    display: block;
    width: 100%;
    max-width: 1050px;
    height: auto;
    border-radius: 16px;
    transform: rotate(-6.5deg) translateY(-20px);
    transform-origin: top left;
    box-shadow: 0 30px 70px -15px rgba(10, 25, 40, 0.18), 0 15px 30px -5px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform var(--transition-normal);

    /* Initial reveal state — hero.js applies .is-revealed to .du-hero__media */
    opacity: 0;
    translate: 0 24px;
}

/* hero.js sets this once on intersection */
.du-hero__media.is-revealed .du-hero__image {
    opacity: 1;
    translate: 0 0;
    transition:
        opacity 700ms var(--ease-standard),
        translate 700ms var(--ease-standard),
        transform var(--transition-normal);
}

/* Idle float — only when not being tilt-tracked by JS */
@keyframes du-hero-float {
    0%, 100% { translate: 0 0; }
    50%       { translate: 0 -8px; }
}

.du-hero__media.is-floating .du-hero__image {
    animation: du-hero-float 5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .du-hero__image,
    .du-hero__media.is-revealed .du-hero__image {
        opacity: 1;
        translate: 0 0;
        transition: none;
        animation: none;
    }
}

/* ---- Trust bar ---- */
.du-hero__trust-bar {
    position: relative;
    z-index: 2;
    background-color: var(--surface);
    border-top: var(--border-width) solid var(--border);
    margin-top: 40px; /* creates exact overlap space for clipped image */
}

.du-hero__trust-bar-inner {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
    text-align: center;
}

.du-hero__trust-label {
    color: var(--on-surface-variant);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 var(--space-md);
}

.du-hero__partners {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-md) clamp(24px, 5vw, 60px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.du-hero__partner {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--surface-tint);
    opacity: 0.85;
}

/* ==========================================================================
   DESKTOP (>= 1025px) Adjustments
   ========================================================================== */
@media (min-width: 1025px) {
    .du-hero {
        padding-top: var(--space-lg);
    }

    .du-hero__content {
        margin-bottom: var(--space-xl);
    }

    .du-hero__media {
        margin-left: 20px;
        margin-top: 0;
        margin-bottom: -80px;
    }

    .du-hero__image {
        width: 110%;
        max-width: 1120px;
        transform: rotate(-6.5deg) translateY(-25px);
    }
}

/* ---- Mobile Adjustments ---- */
@media (max-width: 768px) {
    .du-hero__media {
        margin-bottom: -30px;
    }

    .du-hero__image {
        transform: rotate(-3.5deg) translateY(-10px);
        border-radius: 12px;
    }

    .du-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
}
















/* --------------------------- */
/* ABOUT HERO */
/* --------------------------- */
.du-hero--about {
    padding: 40px 0;
}

.du-about-hero{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    height: 80vh;
    gap: 40px;
}

.du-about-hero .du-hero__content {
    margin: 0;
}

.du-about-hero__media{
    width: 60%;
    display: flex;
    justify-content: right;
    
}

.about-img-div{
    position: relative;
}

.du-about-hero__media img{
    border-radius: 20px;
    width:100%;

max-width:420px;

aspect-ratio:4/5;

height:auto;

object-fit:cover;
    
}

.about__quote{
    background-color: var(--on-surface);
    color: var(--surface);
    height: 120px;
    width: 150px;
    padding: 10px;
    border-radius: 20px;
    position: absolute;
    bottom: 0;
    left: -30px;
    backdrop-filter:blur(12px);
}


@media (max-width: 1024px){

    .du-about-hero{
        gap: 48px;
        min-height: 70vh;
        height: auto;
        padding: 80px 0;
    }

    .du-hero__content{
        flex: 0 0 45%;
    }

    .du-about-hero__media{
        width: 55%;
    }

    .du-about-hero__media img{
        width: 100%;
        height: 420px;
        object-fit: cover;
    }

    .about__quote{
        left: -20px;
        bottom: 24px;
    }

}



@media (max-width: 767px){

    .du-about-hero{

        flex-direction: column-reverse;

        justify-content: center;

        align-items: stretch;

        height: auto;

        min-height: auto;

        padding: 64px 20px;

        gap: 56px;
    }

    .du-about-hero__media{

        width: 100%;

        justify-content: center;
    }

    .about-img-div{

        width: 100%;
    }

    .du-about-hero__media img{

        width: 100%;

        height: 420px;

        object-fit: cover;
    }

    .du-hero__content{

        width: 100%;

        text-align: left;
    }

    .du-hero__headline{

        max-width: 12ch;
    }

    .du-hero__description{

        max-width: 32ch;
    }

}