/* ═══════════════════════════════════════════════════════════
   SPLIT HERO  —  Mascot + Floating Stat Cards
   Append this block to assets/css/styles.css
════════════════════════════════════════════════════════════ */

/* ── Hero shell — uses about-hero-fullscreen from about.css ── */

/* Strong-left gradient so left text is always readable
   while the right side shows the mascot clearly           */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
            rgba(24, 26, 27, 0.95) 0%,
            rgba(24, 26, 27, 0.88) 40%,
            rgba(24, 26, 27, 0.45) 70%,
            rgba(0, 230, 208, 0.06) 100%);
    z-index: 1;
}

/* Full-height container centring */
.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* ── Left text column ── */
.hero-text-col {
    padding-top: 7rem;
    /* clear fixed navbar */
    padding-bottom: 4rem;
}

.hero-logo-img {
    height: 78px;
    margin-bottom: 1.3rem;
    display: block;
}

.hero-headline {
    color: #fff;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 0.9rem;
}

.hero-headline-accent {
    color: #00e6d0;
    position: relative;
    display: inline-block;
}

.hero-headline-accent::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 4px;
    width: 125%;
    border-radius: 2px;
    background: linear-gradient(90deg, #00e6d0 40%, rgba(0, 230, 208, 0.15) 100%);
    transform-origin: left center;
    animation: line-zoom-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

@keyframes line-zoom-in {
    0% {
        transform: scaleX(0);
        opacity: 0;
        filter: blur(6px);
    }

    70% {
        transform: scaleX(1.06);
        opacity: 1;
        filter: blur(0px);
    }

    100% {
        transform: scaleX(1);
        opacity: 1;
    }
}

.hero-accent-line {
    display: none;
}

.hero-sub {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.08rem;
    font-weight: 400;
    max-width: 480px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* ── Right mascot column ── */
.hero-mascot-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 6rem;
    padding-bottom: 3rem;
}

.hero-mascot-wrapper {
    position: relative;
    width: 440px;
    max-width: 90%;
}

/* Gentle vertical float */
.hero-mascot-img {
    width: 100%;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 12px 48px rgba(0, 230, 208, 0.22));
    animation: mascot-float 5s ease-in-out infinite alternate;
    user-select: none;
    pointer-events: none;
}

@keyframes mascot-float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(0.4deg);
    }

    100% {
        transform: translateY(-18px) rotate(-0.4deg);
    }
}

/* ── Floating cards — base ── */
.hfc {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1.2rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08);
    z-index: 5;
    animation: hfc-bob 4s ease-in-out infinite alternate;
    transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}

.hfc:hover {
    border-color: rgba(0, 230, 208, 0.35);
    background: rgba(255, 255, 255, 0.12);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.45),
        0 0 24px rgba(0, 230, 208, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

@keyframes hfc-bob {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-10px);
    }
}

/* Positions are now controlled via inline styles from admin */

/* ── Card 1: Pills ── */
.hfc-pills {
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-width: 220px;
}

.hfc-pill {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50px;
    padding: 0.5rem 1rem 0.5rem 0.55rem;
}

.hfc-pill-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hfc-pill-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
}

/* ── Card 2: Stat ── */
.hfc-stat {
    padding: 1.1rem 1.3rem 1rem 1.3rem;
    min-width: 155px;
    text-align: left;
}

.hfc-stat-prefix {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.hfc-stat-value {
    font-size: 2.4rem;
    font-weight: 900;
    color: #00e6d0;
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: 0.25rem;
}

.hfc-stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
    line-height: 1.4;
    max-width: 120px;
}

/* ── Card 3: Brand ── */
.hfc-brand {
    padding: 1rem 1.3rem;
    min-width: 210px;
}

.hfc-brand-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.2rem;
    letter-spacing: -0.2px;
}

.hfc-brand-subtitle {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}



/* ── Fade-in for hero text col (existing class kept working) ── */
.hero-fadein {
    animation: hero-col-fadein 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hero-col-fadein {
    from {
        opacity: 0;
        transform: translateX(-28px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ── Responsive ── */
@media (max-width: 991.98px) {

    /* Stack layout: text on top, mascot below */
    .hero-text-col {
        padding-top: 6rem;
        padding-bottom: 2.5rem;
        text-align: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-accent-line {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-mascot-col {
        padding-top: 1.5rem;
        padding-bottom: 3rem;
    }

    .hero-mascot-wrapper {
        width: 300px;
    }

    .hfc-top-left {
        top: 4%;
        left: -10px;
    }

    .hfc-top-right {
        top: 4%;
        right: -10px;
    }

    .hfc-bottom-right {
        bottom: 5%;
        right: -10px;
    }

    .hfc-pills {
        min-width: 180px;
    }

    .hfc-pill-text {
        font-size: 0.75rem;
    }

    .hfc-stat-value {
        font-size: 1.9rem;
    }

    .hfc-stat {
        min-width: 130px;
        padding: 0.85rem 1rem;
    }

    .hfc-brand {
        min-width: 170px;
        padding: 0.85rem 1rem;
    }

    .hfc-brand-title {
        font-size: 0.85rem;
    }

}

@media (max-width: 575.98px) {
    .hero-mascot-wrapper {
        width: 240px;
    }

    .hfc {
        border-radius: 0.9rem;
    }

    .hfc-top-left {
        top: 3%;
        left: -6px;
    }

    .hfc-top-right {
        top: 3%;
        right: -6px;
    }

    .hfc-bottom-right {
        bottom: 4%;
        right: -6px;
    }

    .hfc-pills {
        min-width: 155px;
        padding: 0.65rem 0.75rem;
        gap: 0.4rem;
    }

    .hfc-pill {
        padding: 0.35rem 0.7rem 0.35rem 0.4rem;
    }

    .hfc-pill-text {
        font-size: 0.68rem;
    }

    .hfc-pill-check {
        width: 18px;
        height: 18px;
    }

    .hfc-stat {
        min-width: 110px;
        padding: 0.7rem 0.85rem;
    }

    .hfc-stat-value {
        font-size: 1.5rem;
    }

    .hfc-stat-label {
        font-size: 0.68rem;
    }

    .hfc-brand {
        min-width: 150px;
        padding: 0.7rem 0.85rem;
    }

    .hfc-brand-title {
        font-size: 0.78rem;
    }

    .hfc-brand-subtitle {
        font-size: 0.68rem;
    }

    .hero-headline {
        font-size: clamp(1.7rem, 7vw, 2.4rem);
    }
}

/* ── Expertise cards — mission/vision style with bg image ── */
.services-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (max-width: 991px) {
    .services-cards-row {
        grid-template-columns: 1fr;
        max-width: 520px;
    }
}

.service-card {
    border-radius: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    position: relative;
    min-height: 480px !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s;
}

.services-cards-row .service-card:nth-child(1):hover {
    transform: perspective(600px) rotateX(10deg) rotateY(-14deg) translateY(-12px) scale(1.03);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 230, 208, 0.3), 14px 14px 40px rgba(0, 0, 0, 0.5);
}

.services-cards-row .service-card:nth-child(2):hover {
    transform: perspective(600px) rotateX(10deg) rotateY(0deg) translateY(-12px) scale(1.03);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 230, 208, 0.3);
}

.services-cards-row .service-card:nth-child(3):hover {
    transform: perspective(600px) rotateX(10deg) rotateY(14deg) translateY(-12px) scale(1.03);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 230, 208, 0.3), -14px 14px 40px rgba(0, 0, 0, 0.5);
}

.service-card-overlay {
    background: linear-gradient(to top,
            rgba(10, 14, 16, 0.92) 0%,
            rgba(10, 14, 16, 0.55) 50%,
            rgba(10, 14, 16, 0.15) 100%);
}

.service-card-content {
    position: relative;
    z-index: 2;
    padding: 1.8rem 1.6rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-card-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    background: rgba(0, 230, 208, 0.12);
    border: 1px solid rgba(0, 230, 208, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00e6d0;
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
}

.service-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
}

.service-desc {
    font-size: 0.95rem;
    color: rgba(191, 195, 198, 0.9);
    line-height: 1.6;
}