/* ==========================================================================
   HOME — ORIGINAL DESIGN LAYER
   Distinct visual language for the INDIWA homepage: diagonal cuts, marquee
   ticker, alternating timeline, scroll-snap pillar rail, spotlight quotes.
   Builds on variables from custom.css (--primary-color, --accent-color, etc.)
   ========================================================================== */

/* ---------- Hero (asymmetric, no slider) ---------- */
.hx-hero {
    position: relative;
    padding: 3rem 0 5rem;
    overflow: hidden;
    background: radial-gradient(circle at 100% 0%, rgba(2, 132, 199, .06), transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(34, 197, 94, .06), transparent 50%);
}

.hx-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(2, 132, 199, .08);
    border: 1px solid rgba(2, 132, 199, .18);
    border-radius: 999px;
    padding: .5rem 1.1rem;
}

.hx-hero-title {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -.02em;
    color: var(--text-dark);
}

.hx-hero-title .hx-underline {
    position: relative;
    display: inline-block;
    color: var(--primary-color);
}

.hx-hero-title .hx-underline svg {
    position: absolute;
    left: 0;
    bottom: -.18em;
    width: 100%;
    height: .3em;
    color: var(--accent-color);
}

.hx-hero-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2.25rem;
}

.hx-hero-strip-item {
    display: flex;
    align-items: baseline;
    gap: .4rem;
}

.hx-hero-strip-item strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.hx-hero-strip-item span {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--text-muted);
}

/* Collage — two overlapping diagonally-cropped photos */
.hx-collage {
    position: relative;
    height: 520px;
}

.hx-collage-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 78%;
    height: 92%;
    clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(15, 23, 42, .18);
}

.hx-collage-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hx-collage-accent {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 46%;
    height: 50%;
    border-radius: 26px;
    overflow: hidden;
    border: 6px solid #fff;
    box-shadow: 0 25px 45px rgba(15, 23, 42, .2);
    animation: hx-float 5s ease-in-out infinite;
}

.hx-collage-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes hx-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

.hx-collage-badge {
    position: absolute;
    top: 8%;
    left: -6%;
    background: #fff;
    border-radius: 18px;
    padding: 1rem 1.25rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, .14);
    display: flex;
    align-items: center;
    gap: .75rem;
    z-index: 2;
}

.hx-collage-badge .hx-badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-color), #059669);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    .hx-collage {
        height: 380px;
        margin-top: 3rem;
    }

    .hx-collage-badge {
        left: 4%;
    }
}

/* ---------- Marquee trust ticker ---------- */
.hx-ticker {
    background: var(--secondary-color);
    overflow: hidden;
    padding: .9rem 0;
    white-space: nowrap;
}

.hx-ticker-track {
    display: inline-flex;
    animation: hx-marquee 28s linear infinite;
}

.hx-ticker:hover .hx-ticker-track {
    animation-play-state: paused;
}

.hx-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: rgba(255, 255, 255, .85);
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .03em;
    text-transform: uppercase;
    padding: 0 2rem;
}

.hx-ticker-item i {
    color: var(--accent-color);
}

@keyframes hx-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ---------- Story / About — diagonal split ---------- */
/* Image column - slides in from LEFT */
.hx-story .reveal-left {
    opacity: 0;
    transform: translateX(-120px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hx-story .reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Text column - slides in from RIGHT */
.hx-story .reveal-right {
    opacity: 0;
    transform: translateX(120px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hx-story .reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.hx-story {
    padding: 3rem 0;
    background: #fff;
}

.hx-story-media {
    position: relative;
    border-radius: 0 60px 0 60px;
    overflow: hidden;
    height: 460px;
    box-shadow: 0 30px 60px rgba(15, 23, 42, .12);
}

.hx-story-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
 transition: transform 0.5s ease;

}
.hx-story-media:hover img {
    transform: scale(1.12);
}

.hx-story-list {
    list-style: none;
    padding: 0;
    margin: 1.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.hx-story-list li {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
}

.hx-story-list .hx-num {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: var(--accent-light);
    color: var(--accent-color);
    font-weight: 800;
    font-size: .8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Approach Timeline ---------- */
.hx-timeline-section {
    padding: 3rem 0;
    background: var(--bg-light);
}

.hx-timeline {
    position: relative;
    margin-top: 3rem;
}

.hx-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(2, 132, 199, .35), rgba(34, 197, 94, .35));
    transform: translateX(-50%);
}

.hx-timeline-row {
    position: relative;
    display: flex;
    margin-bottom: 3rem;
}

.hx-timeline-row:nth-child(odd) {
    justify-content: flex-start;
}

.hx-timeline-row:nth-child(even) {
    justify-content: flex-end;
}

.hx-timeline-card {
    width: 44%;
    background: #fff;
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 15px 35px rgba(15, 23, 42, .07);
    position: relative;
}

.hx-timeline-row:nth-child(odd) .hx-timeline-card {
    text-align: right;
}

.hx-timeline-dot {
    position: absolute;
    top: 1.6rem;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-color);
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .2);
    z-index: 2;
}

.hx-timeline-step {
    display: inline-block;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    color: var(--primary-color);
    margin-bottom: .4rem;
}

@media (max-width: 767.98px) {
    .hx-timeline::before {
        left: 18px;
    }

    .hx-timeline-row,
    .hx-timeline-row:nth-child(even) {
        justify-content: flex-start;
    }

    .hx-timeline-card,
    .hx-timeline-row:nth-child(odd) .hx-timeline-card {
        width: calc(100% - 50px);
        margin-left: 50px;
        text-align: left;
    }

    .hx-timeline-dot {
        left: 18px;
    }
}

/* ---------- Pillars — horizontal scroll-snap rail ---------- */
.hx-pillars-section {
    padding: 3rem 0;
    background: #fff;
}

.hx-pillars-rail {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
    margin-top: 2.5rem;
}

.hx-pillars-rail::-webkit-scrollbar {
    height: 6px;
}

.hx-pillars-rail::-webkit-scrollbar-thumb {
    background: rgba(2, 132, 199, .25);
    border-radius: 6px;
}

.hx-pillar-card {
    scroll-snap-align: start;
    flex: 0 0 320px;
    border-radius: 24px;
    padding: 2.25rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hx-pillar-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(15, 23, 42, .15), rgba(15, 23, 42, .85));
    z-index: 1;
}

.hx-pillar-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform .6s ease;
}

.hx-pillar-card:hover img {
    transform: scale(1.08);
}

.hx-pillar-card-body {
    position: relative;
    z-index: 2;
}

.hx-pillar-tag {
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .1em;
    color: var(--accent-color);
    margin-bottom: .5rem;
    display: block;
}

/* ---------- Stats ribbon — diagonal cut edges ---------- */
.hx-stats-ribbon {
    position: relative;
    background: linear-gradient(115deg, #0f172a 0%, #134e4a 55%, #064e3b 100%);
    padding: 5rem 0 6rem;
    clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
    margin: -2.5rem 0;
}

.hx-stat-block {
    text-align: center;
}

.hx-stat-figure {
    font-weight: 800;
    font-size: 2.6rem;
    color: #fff;
    line-height: 1;
}

.hx-stat-caption {
    margin-top: .5rem;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}

/* ---------- Gallery (skewed cards) ---------- */
.hx-gallery-section {
    padding: 7rem 0 5rem;
    background: var(--bg-light);
}

.hx-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 170px;
    gap: 18px;
}

.hx-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    cursor: zoom-in;
}

.hx-gallery-item.span2 {
    grid-column: span 2;
}

.hx-gallery-item.tall2 {
    grid-row: span 2;
}

.hx-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}

.hx-gallery-item:hover img {
    transform: scale(1.1) rotate(1deg);
}

.hx-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, .7) 100%);
    opacity: 0;
    transition: opacity .3s ease;
}

.hx-gallery-item:hover::after {
    opacity: 1;
}

.hx-gallery-caption {
    position: absolute;
    bottom: 14px;
    left: 16px;
    color: #fff;
    font-weight: 700;
    font-size: .82rem;
    z-index: 2;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .3s ease, transform .3s ease;
}

.hx-gallery-item:hover .hx-gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    .hx-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .hx-gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .hx-gallery-item.span2,
    .hx-gallery-item.tall2 {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Lightbox (shared name, scoped here for this page) */
.hx-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10050;
    background: rgba(8, 12, 20, .94);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.hx-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.hx-lightbox img {
    max-width: 88vw;
    max-height: 82vh;
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
    transform: scale(.92);
    transition: transform .3s ease;
}

.hx-lightbox.active img {
    transform: scale(1);
}

.hx-lightbox-close,
.hx-lightbox-prev,
.hx-lightbox-next {
    position: absolute;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
}

.hx-lightbox-close:hover,
.hx-lightbox-prev:hover,
.hx-lightbox-next:hover {
    background: var(--accent-color);
    transform: scale(1.08);
}

.hx-lightbox-close {
    top: 28px;
    right: 28px;
}

.hx-lightbox-prev {
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
}

.hx-lightbox-next {
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
}

/* ---------- Testimonial spotlight (single rotating quote) ---------- */
.hx-spotlight-section {
    padding: 6rem 0;
    background: #fff;
    position: relative;
}

.hx-spotlight {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    min-height: 220px;
}

.hx-spotlight-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .5s ease, transform .5s ease;
    pointer-events: none;
}

.hx-spotlight-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}

.hx-spotlight-quote {
    font-size: clamp(1.2rem, 2.4vw, 1.6rem);
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.55;
}

.hx-spotlight-name {
    font-weight: 800;
    color: var(--primary-color);
    margin-top: 1.25rem;
}

.hx-spotlight-role {
    font-size: .78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.hx-spotlight-dots {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-top: 2rem;
}

.hx-spotlight-dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: rgba(15, 23, 42, .15);
    cursor: pointer;
    transition: background .25s ease, width .25s ease;
}

.hx-spotlight-dots button.active {
    background: var(--accent-color);
    width: 24px;
    border-radius: 5px;
}

/* ---------- Team — diagonal photo crop ---------- */
.hx-team-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.hx-team-card {
    text-align: center;
}

.hx-team-photo {
    position: relative;
    border-radius: 50% 50% 8% 8%;
    overflow: hidden;
    aspect-ratio: 4/5;
    margin-bottom: 1.25rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, .1);
}

.hx-team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.hx-team-card:hover .hx-team-photo img {
    transform: scale(1.06);
}

.hx-team-name {
    font-weight: 800;
    color: var(--text-dark);
}

.hx-team-role {
    font-size: .76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--accent-color);
}

/* ---------- FAQ — minimal line list ---------- */
.hx-faq-section {
    padding: 6rem 0;
    background: #fff;
}

.hx-faq-row {
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.hx-faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 1.5rem 0;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.hx-faq-question .hx-faq-icon {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--accent-color);
    transition: transform .3s ease;
}

.hx-faq-question[aria-expanded="true"] .hx-faq-icon {
    transform: rotate(135deg);
}

.hx-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    color: var(--text-muted);
    font-size: .92rem;
    line-height: 1.7;
}

.hx-faq-answer-inner {
    padding: 0 0 1.5rem;
    max-width: 720px;
}

/* ---------- CTA band — skewed gradient ---------- */
.hx-cta-band {
    margin: 0 1rem 4rem;
    border-radius: 32px;
    background: linear-gradient(120deg, var(--primary-color), var(--accent-color));
    padding: 3.5rem 2.5rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hx-cta-band::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    background: rgba(255, 255, 255, .12);
    border-radius: 50%;
    top: -120px;
    right: -60px;
}

.hx-cta-title {
    font-weight: 800;
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
    letter-spacing: -.01em;
    margin-bottom: .75rem;
}

/* ==========================================================================
   SHARED SUB-PAGE COMPONENTS (about / mission / contact / rules)
   ========================================================================== */

/* ---------- Page hero — dark gradient, no carousel ---------- */
.hx-page-hero {
    position: relative;
    overflow: hidden;
    padding: 5.5rem 0 4.5rem;
    background: linear-gradient(135deg, #0f172a 0%, #134e4a 55%, #064e3b 100%);
    color: #fff;
    text-align: center;
    padding-bottom: 0;
    /* the wave provides the bottom spacing now */

}

.wave-divider {
    position: relative;
    width: 100%;
    line-height: 0;
    margin-bottom: -1px;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 220px;
    /* deep curve - increase further for even more dramatic dip */
}

.hx-page-hero::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(2, 132, 199, .2), transparent 70%);
    top: -120px;
    left: -100px;
    filter: blur(10px);
}

.hx-page-hero::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 197, 94, .2), transparent 70%);
    bottom: -140px;
    right: -100px;
    filter: blur(10px);
}

.hx-page-hero-title {
    font-weight: 800;
    font-size: clamp(2.1rem, 4.5vw, 3.4rem);
    letter-spacing: -.02em;
    line-height: 1.1;
}

/* ---------- Quote card (testimonial-like but for figures/quotes) ---------- */
.hx-quote-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .06);
    border-radius: 22px;
    padding: 2.25rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
    transition: transform .35s ease, box-shadow .35s ease;
}

.hx-quote-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(2, 132, 199, .1);
}

.hx-quote-mark {
    font-family: Georgia, serif;
    font-size: 2.75rem;
    line-height: 1;
    color: var(--accent-color);
    opacity: .35;
    display: block;
    margin-bottom: .5rem;
}

/* ---------- Channel / contact info rows ---------- */
.hx-channel-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--bg-light);
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
    transition: transform .3s ease, box-shadow .3s ease;

}

.hx-channel-row {
    opacity: 0;
    transform: translateX(-100px);
    animation: slideInLeft 0.6s ease forwards;
}

.hx-channel-row:nth-child(1) {
    animation-delay: 0.1s;
}

.hx-channel-row:nth-child(2) {
    animation-delay: 0.3s;
}

.hx-channel-row:nth-child(3) {
    animation-delay: 0.5s;
}

.hx-channel-icon {
    opacity: 0;
    transform: translateX(-100px);
    animation: slideInLeft 0.6s ease forwards;
}

/* Stagger based on which ROW the icon belongs to */
.hx-channel-row:nth-child(1) .hx-channel-icon {
    animation-delay: 0.1s;
}

.hx-channel-row:nth-child(2) .hx-channel-icon {
    animation-delay: 0.3s;
}

.hx-channel-row:nth-child(3) .hx-channel-icon {
    animation-delay: 0.5s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}



.hx-channel-row:hover {
    transform: translateX(6px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}

.hx-channel-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-color), #059669)
}

/* ---------- Value / mandate grid cards ---------- */
.hx-value-card {
    height: 100%;
    border-radius: 20px;
    padding: 2rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .06);
    box-shadow: 0 10px 25px rgba(15, 23, 42, .04);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.hx-value-card:hover {
    transform: translateY(-6px);
    border-color: rgba(2, 132, 199, .25);
    box-shadow: 0 25px 45px rgba(2, 132, 199, .1);
}

.hx-value-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--accent-light);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    transition: background .3s ease, color .3s ease;
}

.hx-value-card:hover .hx-value-icon {
    background: var(--accent-color);
    color: #fff;
}

/* ---------- Download / document box ---------- */
.hx-download-box {
    text-align: center;
    border-radius: 26px;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(2, 132, 199, .06), rgba(34, 197, 94, .04));
    border: 1px dashed rgba(2, 132, 199, .25);
}

.hx-download-icon {
    font-size: 3rem;
    color: #ef4444;
    margin-bottom: 1rem;
}

/* ---------- Vertical step rail (mission pillars) ---------- */
.hx-step-rail {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hx-step-rail-item {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .9rem 1.1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
}

.hx-step-rail-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* ---------- Inline media + floating badge (about/mission visuals) ---------- */
.hx-media-frame {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(15, 23, 42, .14);
     transition: transform 0.6s ease;

}
.hx-media-frame:hover img {
    transform: scale(1.1);
}

.hx-media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

}

.hx-media-float {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: -1.5rem;
    background: rgba(255, 255, 255, .96);
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, .15);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}