﻿/* =========================================================
   01) RESET + TOKENS
========================================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --orange: #F5A623;
    --orange-dark: #E8951A;
    --orange-light: #FFC04D;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-text: #555;
    --dark: #222;
}

/* Prevent inherited Title Case from global styles */
.hcbi-hero-section *,
.hcbi-section-different *,
.hcbi-section-why *,
.hcbi-section-cpc *,
.hcbi-section-packages *,
.hcbi-section-testi *,
.hcbi-section-partners *,
.hcbi-section-cta * {
    text-transform: none !important;
}

#hero-default {
    width: 100%;
}

.hcbi-page-shell {
    width: min(100%, 1600px);
    margin-inline: auto;
    overflow-x: clip;
}

/* =========================================================
   02) SHARED BUTTONS
========================================================= */

.hcbi-btn-orange,
.hcbi-btn-outline,
.hcbi-cta-btn-solid,
.hcbi-cta-btn-outline {
    display: inline-block;        /* make anchors behave like buttons */
    text-decoration: none;        /* remove underline for anchors */
    line-height: 1;               /* ensure vertical sizing matches buttons */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    padding: 8px !important;
    padding-inline: 50px !important;
    text-align:center;
    align-content:center;
}

.hcbi-btn-orange,
.hcbi-cta-btn-solid {
    background: var(--orange);
    color: #fff;
    border: none;
}

    .hcbi-btn-orange:hover,
    .hcbi-cta-btn-solid:hover {
        background: var(--orange-dark);
        transform: translateY(-2px);
    }

.hcbi-btn-outline,
.hcbi-cta-btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(245, 166, 35, 0.7);
}

    .hcbi-btn-outline:hover,
    .hcbi-cta-btn-outline:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: #fff;
        transform: translateY(-2px);
    }

.hcbi-btn-orange {
    padding: 5px 28px;
    font-size: 1.5rem;
}

.hcbi-btn-outline {
    border: 5px solid rgba(245, 166, 35, 1);
    padding: 3px 28px;
    font-size: 1.5rem;
}

.hcbi-cta-btn-solid,
.hcbi-cta-btn-outline {
    padding: 13px 30px;
    font-size: 1.6rem;
}

.hcbi-cta-btn-outline {
    border: 5px solid rgba(245, 166, 35, 1);
}

/* =========================================================
   03) HERO
========================================================= */
.hcbi-hero-section {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    margin-top: -1.5rem;
}

.hcbi-hero-slides {
    display: flex;
    transition: transform 0.6s ease;
}

.hcbi-hero-slide {
    min-width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, rgba(20,20,20,0.72) 0%, rgba(0,0,0,0.28) 60%), url('/img/index/bg-section1.webp') center/cover no-repeat;
    background-position: center 10%;
}

    .hcbi-hero-slide:nth-child(2) {
        background: linear-gradient(135deg, rgba(20,20,20,0.72) 0%, rgba(0,0,0,0.28) 60%), url('https://images.unsplash.com/photo-1434030216411-0b793f4b4173?w=1400') center/cover no-repeat;
    }

    .hcbi-hero-slide:nth-child(3) {
        background: linear-gradient(135deg, rgba(20,20,20,0.72) 0%, rgba(0,0,0,0.28) 60%), url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?w=1400') center/cover no-repeat;
    }

.hcbi-hero-content {
    padding: 0 160px;
    max-width: 1100px;
    margin-top: -70px;
    color: #fff;
}

    .hcbi-hero-content h1 {
        font-size: 4rem;
    }

        .hcbi-hero-content h1 b {
            text-transform: lowercase;
            font-family: 'Montserrat', sans-serif;
            line-height: 1.15;
            margin-bottom: 28px;
            text-shadow: 0 2px 8px rgba(0,0,0,0.3);
        }

        .hcbi-hero-content h1 strong {
            font-weight: 900;
        }

    .hcbi-hero-content span {
        text-transform: lowercase;
    }

.hcbi-hero-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.hcbi-hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
}

    .hcbi-hero-dot.active {
        background: var(--orange);
    }

.hcbi-hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hcbi-slider-arrow {
    position: absolute;
    top: 46%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #000;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 5px;
    cursor: pointer;
    z-index: 10;
}

    .hcbi-slider-arrow:hover {
        background: rgba(255,255,255,0.42);
    }

    .hcbi-slider-arrow.left {
        left: 80px;
    }

    .hcbi-slider-arrow.right {
        right: 80px;
    }

@media (max-width: 900px) {
    .hcbi-hero-section,
    .hcbi-hero-slide {
        min-height: 420px;
    }

    .hcbi-hero-content {
        margin-top: 0;
        max-width: 100%;
    }

        .hcbi-hero-content h1 {
            font-size: clamp(1.7rem, 5.4vw, 2.3rem);
            line-height: 1.2;
            margin-bottom: 18px;
        }

            .hcbi-hero-content h1 br {
                display: none;
            }

    .hcbi-hero-btns {
        gap: 10px;
    }

    .hcbi-btn-orange,
    .hcbi-btn-outline {
        font-size: 1rem;
        padding: 10px 18px;
        border-width: 2px;
    }

    .hcbi-slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 1.5rem;
    }

        .hcbi-slider-arrow.left {
            left: 12px;
            margin-left: 10px;
        }

        .hcbi-slider-arrow.right {
            right: 12px;
            margin-right: 10px;
        }
}

@media (max-width: 600px) {
    .hcbi-hero-section,
    .hcbi-hero-slide {
        min-height: 360px;
    }
        .hcbi-hero-section h1 {
            font-size: 2.2rem;
        }

        .hcbi-hero-content {
            padding: 20px 16px;
            margin-top: 0;
            margin-inline: 50px;
        }

    .hcbi-hero-btns {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .hcbi-btn-orange,
    .hcbi-btn-outline {
        width: 100%;
        padding: 10px 14px;
        font-size: 1rem;
        box-sizing: border-box;
    }

    .hcbi-slider-arrow {
        top: 50%;
        transform: translateY(-50%);
        bottom: auto;
        font-size: 1.4rem;
        background: rgba(255,255,255,0.95);
        color: #111;
        box-shadow: 0 8px 24px rgba(0,0,0,0.18);
        z-index: 60;
        padding-bottom: 0;
    }

        .hcbi-slider-arrow:hover {
            background: #fff;
        }

    .hcbi-hero-slides {
        padding-bottom: 0;
    }
}

/* =========================================================
   04) STATS BAR
========================================================= */
.hcbi-stats-bar {
    background: var(--orange);
    border-radius: 20px;
    margin: -78px auto 0;
    max-width: 780px;
    position: relative;
    z-index: 20;
    display: flex;
    align-items: stretch;
    padding: 18px 0;
    box-shadow: 0 8px 32px rgba(245,166,35,0.35);
}

.hcbi-stat-item {
    flex: 1;
    text-align: center;
    color: #fff;
    padding: 8px 20px;
    position: relative;
}
.small-definition {
    line-height: 1;
    font-size: 0.6rem;
    max-width: 180px;
    margin: 0 auto;
    text-align: center;
}

    .hcbi-stat-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 2%;
        bottom: 15%;
        height: 100%;
        width: 3px;
        background: rgba(255,255,255,0.95);
    }

.hcbi-stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.8rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 6px;
}

.hcbi-stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.95;
}

@media (max-width: 900px) {
    .hcbi-stats-bar {
        padding: 12px 8px;
        margin: -56px auto 0;
        max-width: 720px;
        border-radius: 14px;
        box-shadow: 0 6px 20px rgba(245,166,35,0.28);
    }

    .hcbi-stat-item {
        padding: 6px 12px;
    }

    .hcbi-stat-number {
        font-size: 2.6rem;
    }

    .hcbi-stat-label {
        font-size: 1rem;
        margin-top: 8px;
        letter-spacing: 0.4px;
    }

    .hcbi-stat-item:not(:last-child)::after {
        width: 2px;
        top: 6%;
        bottom: 18%;
        background: rgba(255,255,255,0.9);
    }
}

@media (max-width: 900px) and (min-width: 601px) {
    .hcbi-stats-bar {
        margin: -64px auto 0;
        max-width: 520px;
        padding: 14px 0;
        border-radius: 18px;
        box-shadow: 0 6px 22px rgba(245,166,35,0.30);
    }

    .hcbi-stat-item {
        padding: 6px 14px;
    }

    .hcbi-stat-number {
        font-size: 2rem;
        margin-bottom: 4px;
    }

    .hcbi-stat-label {
        font-size: 0.76rem;
        margin-top: 10px;
        letter-spacing: 0.45px;
    }

    .hcbi-stat-item:not(:last-child)::after {
        width: 2px;
        top: 2%;
        bottom: 15%;
    }
}

@media (max-width: 600px) {
    .hcbi-stats-bar {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 10px;
        max-width: 320px;
        margin: -40px auto 0;
        border-radius: 10px;
        margin-top:15px;
    }

    .hcbi-stat-item {
        width: 100%;
        padding: 8px 6px;
    }

        .hcbi-stat-item:not(:last-child)::after {
            display: none;
        }

    .hcbi-stat-number {
        font-size: 2rem;
    }

    .hcbi-stat-label {
        font-size: 0.85rem;
        margin-top: 6px;
    }
}

/* =========================================================
   05) WHAT MAKES US DIFFERENT
========================================================= */
.hcbi-section-different {
    padding: 50px 80px 60px;
    background: #f7f7f7;
    margin-inline:20px;
}

    .hcbi-section-different h2 {
        font-family: 'Montserrat', sans-serif;
        font-size: 2.2rem;
        font-weight: 600;
        text-align: center;
        margin-bottom: 40px;
        color: var(--dark);
    }

.hcbi-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.hcbi-feature-card {
    background: #fff;
    border: 1.5px solid #222;
    border-radius: 26px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.3);
    padding: 14px 28px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: box-shadow 0.2s, transform 0.2s;
}

    .hcbi-feature-card:hover {
        box-shadow: 0 6px 24px rgba(0,0,0,0.1);
        transform: translateY(-3px);
    }

.hcbi-feature-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hcbi-feature-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--dark);
    line-height: 1.3;
}

@media (max-width: 900px) {
    .hcbi-section-different {
        padding: 48px 24px;
    }

    .hcbi-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hcbi-section-different {
        padding: 40px 16px;
    }
}

/* =========================================================
   06) WHY CHOOSE HCBI
========================================================= */
.hcbi-section-why {
    padding: 80px 24px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    overflow: hidden;
    min-height: 400px;
    max-width: 1180px;
    margin: 0 auto;
}

.hcbi-why-left,
.hcbi-why-right {
    flex: 0 0 50%;
    max-width: 50%;
}

    .hcbi-why-left h2 {
        font-family: 'Montserrat', sans-serif;
        font-size: 3rem;
        font-weight: 600;
        line-height: 1.2;
        margin-bottom: 18px;
        color: var(--dark);
    }

    .hcbi-why-left p {
        font-size: 1.7rem;
        color: var(--gray-text);
        line-height: 1.4;
        margin-bottom: 28px;
    }

.hcbi-why-right {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

    .hcbi-why-right img {
        width: min(100%, 690px);
        height: auto;
        object-fit: contain;
        position: absolute;
        top: -157px;
    }

@media (max-width: 1322px) {
    .hcbi-section-why {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 72px 24px;
        min-height: 360px;
        max-width: 100%;
        position: relative;
        color: #fff;
        background-image: url('/img/index/person-section3.webp');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

        .hcbi-section-why::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.68) 40%, rgba(0,0,0,0.62) 100%);
            z-index: 0;
            pointer-events: none;
        }

    .hcbi-why-left,
    .hcbi-why-right {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 980px;
    }

        .hcbi-why-right img {
            display: none !important;
        }

    .hcbi-why-left {
        padding: 0 20px;
    }

        .hcbi-why-left .hcbi-why-label,
        .hcbi-why-left h2,
        .hcbi-why-left p {
            color: #fff;
        }

        .hcbi-why-left h2 {
            font-size: 2.4rem;
            line-height: 1.15;
            margin-bottom: 12px;
        }

        .hcbi-why-left p {
            font-size: 1.2rem;
            color: rgba(255,255,255,0.92);
            max-width: 760px;
            margin-inline: auto;
        }

        .hcbi-why-left .hcbi-btn-orange {
            margin: 0 auto;
            display: inline-block;
        }
}

@media (max-width: 900px) {
    .hcbi-section-why {
        padding: 48px 24px;
    }
}

@media (max-width: 900px) and (min-width: 601px) {
    .hcbi-section-why {
        padding: 50px 18px;
        min-height: 300px;
        max-height: 390px;
    }

    .hcbi-why-left h2 {
        font-size: 2rem;
    }

    .hcbi-why-left p {
        font-size: 1.05rem;
    }
}

@media (max-width: 600px) {
    .hcbi-section-why {
        padding: 40px 16px;
    }
}

/* =========================================================
   07) CPC
========================================================= */
.hcbi-section-cpc {
    background: var(--orange);
    padding: 64px 80px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
    position: relative;
    overflow: hidden;
}

    .hcbi-section-cpc .title-container {
        max-width: 320px;
        align-self: start;
        padding-right: 8px;
    }

.hcbi-cpc-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 300;
    color: #fff;
    line-height: 1.2;
    text-align: left;
    margin: 0 0 12px;
}

.hcbi-cpc-body {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .hcbi-section-cpc {
        padding: 48px 54px;
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .hcbi-cpc-title {
        font-size:2.2rem;
    }
    .hcbi-cpc-body {
        font-size: 1.2rem;
    }
        .hcbi-section-cpc {
            padding: 40px 46px;
        }
    }

/* =========================================================
   08) PACKAGES
========================================================= */
.hcbi-section-packages {
    padding: 80px 80px;
    background: #fff;
    text-align: center;
}

.hcbi-section-packages h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.9rem;
    font-weight: 300;
    margin-bottom: 12px;
    color: var(--dark);
}

.hcbi-pkg-subtitle {
    color: var(--gray-text);
    font-size: 1.5rem;
    margin-bottom: 44px;
    max-width: 760px;
    margin-inline: auto;
}

/* IMPORTANT: anchor absolute arrows here */
.hcbi-pkg-wrap {
    position: relative;
    overflow: visible;
    padding: 0 56px; /* room for arrows */
}

/* clip slide movement, but keep room for shadows via inner padding */
.hcbi-pkg-slides-outer {
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
    padding: 24px 12px 34px;
}

.hcbi-pkg-slides {
    --pkg-gap: 24px;
    display: flex;
    gap: var(--pkg-gap);
    margin: 0;
    transition: transform 0.5s ease;
    will-change: transform;
}

.hcbi-pkg-card {
    min-width: calc((100% - (var(--pkg-gap) * 2)) / 3); /* 3 cards desktop */
    position: relative;
    flex-shrink: 0;
    overflow: visible;
    z-index: 1;
    box-shadow: 0 20px 10px rgba(0,0,0,0.25);
    transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s;
}

.hcbi-pkg-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.hcbi-pkg-overlay {
    position: absolute;
    inset: auto 0 0 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.65));
    padding: 44px 20px 18px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    line-height: 1.1;
    font-size: 2rem;
    text-align: left;
    pointer-events: none;
}

.hcbi-pkg-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    border: 1.5px solid #ddd;
    background: #fff;
    color: var(--dark);
    font-size: 1.5rem;
    z-index: 20;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hcbi-pkg-arrow:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
.hcbi-pkg-arrow.left { left: 0; }
.hcbi-pkg-arrow.right { right: 0; }

.hcbi-pkg-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.hcbi-pkg-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    border: none;
}

.hcbi-pkg-dot.active { background: var(--orange); }

/* 2 cards */
@media (max-width: 1403px) {
    .hcbi-pkg-card { min-width: calc((100% - var(--pkg-gap)) / 2); }
    .hcbi-section-packages { padding: 56px 28px; }
    .hcbi-pkg-wrap { padding: 0 46px; }
}

/* 1 card */
@media (max-width: 768px) {
    .hcbi-section-packages h2 {
        font-size:2.2rem;
    }
    .hcbi-pkg-subtitle {
        font-size: 1.2rem;
        margin-inline: 20px;
    }

    .hcbi-pkg-card {
        min-width: 100%;
        box-shadow: 0 10px 10px rgba(0,0,0,0.25);
    }

    .hcbi-section-packages {
        padding: 40px 26px;
    }

    .hcbi-pkg-overlay {
        font-size: 1.5rem;
    }
    .hcbi-pkg-wrap {
        padding: 0 42px;
    }
    .hcbi-pkg-arrow {
        padding-inline:0px;    
    }
    .hcbi-pkg-slides-outer {
        padding: 18px 6px 26px;
    }
}


/* =========================================================
   09) TESTIMONIALS — arrows near card on desktop, circular on mobile
========================================================= */
.hcbi-section-testi {
    --testi-bg: linear-gradient(135deg, #F5A623 0%, #e07b00 60%, #ffb347 100%);
    background: var(--testi-bg);
    padding: 40px 70px;
    position: relative;
    overflow: hidden;
}

    .hcbi-section-testi::before,
    .hcbi-section-testi::after {
        content: '';
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
    }

    .hcbi-section-testi::before {
        top: -60px;
        right: -60px;
        width: 280px;
        height: 280px;
        background: rgba(255,255,255,0.08);
    }

    .hcbi-section-testi::after {
        bottom: -80px;
        left: -40px;
        width: 240px;
        height: 240px;
        background: rgba(255,255,255,0.06);
    }

    .hcbi-section-testi h2 {
        font-family: 'Montserrat', sans-serif;
        font-size: 3.9rem;
        color: #fff;
        text-align: center;
        margin-bottom: 40px;
    }

/* wrapper that contains arrows + centered container */
.hcbi-testi-wrap {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center; /* visually center the card area */
    align-items: center;
    overflow: visible;
}

/* the centered container (holds the card) */
#hcbiTestiContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0; /* prevent flex overflow */
    width: 100%;
    min-height:300px;
    max-height:300px;
}

/* card */
.hcbi-testi-card {
    background: #f0f0f0;
    border-radius: 20px;
    padding: 36px 48px;
    display: flex;
    align-items: center;
    gap: 36px;
    max-width: 820px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    animation: hcbiFadeIn 0.4s ease;
}

/* avatar + text */
.hcbi-testi-avatar-wrap {
    text-align: center;
    flex-shrink: 0;
}

.hcbi-testi-avatar-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--orange);
    margin: 0 auto 10px;
    display: block;
}

.hcbi-testi-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: var(--dark);
    white-space: nowrap;
}

.hcbi-testi-role {
    font-size: 0.9rem;
    color: var(--gray-text);
}

.hcbi-testi-body {
    flex: 1;
}

.hcbi-testi-quote {
    font-size: 1.55rem;
    color: #444;
    line-height: 1.75;
    margin-bottom: 14px;
}

.hcbi-testi-stars {
    color: var(--orange);
    font-size: 1.3rem;
    letter-spacing: 3px;
}

/* ARROW: base styles (keeps arrows square) */
.hcbi-testi-arrow {
    position: absolute; /* desktop: sit near the card */
    top: 50%;
    transform: translateY(-50%);
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    aspect-ratio: 1 / 1; /* force perfect square */
    border-radius: 50%;
    background: #fff;
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    border: none;
    padding: 0;
    z-index: 40;
    cursor: pointer;
    transition: background 0.12s, transform 0.12s, box-shadow 0.12s;
    flex: 0 0 auto; /* avoid flex stretching if moved in-flow */
    touch-action: manipulation;
}

    .hcbi-testi-arrow::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
    }

    .hcbi-testi-arrow:hover {
    }

/* Desktop: calculate offset so arrows sit close to the card edges (keeps card centered) */
@media (min-width: 901px) {
    /* Desktop: position arrows just outside the centered card with a ~20px gap */
    .hcbi-testi-arrow {
        --card-max: 820px; /* same as .hcbi-testi-card max-width */
        --card-half: 410px; /* half of 820px (keeps calc simple and robust) */
        --arrow-size: 44px;
        --gap: 20px; /* requested gap */
    }

        /* left arrow: place its left edge to the left of the card edge */
        .hcbi-testi-arrow.left {
            left: calc(50% - var(--card-half) - var(--arrow-size) - var(--gap));
        }

        /* right arrow: place its left edge just to the right of the card edge */
        .hcbi-testi-arrow.right {
            left: calc(50% + var(--card-half) + var(--gap));
        }

    /* reserve horizontal space inside the centered container so arrows don't overlap the card */
    #hcbiTestiContainer {
        padding-inline: calc(var(--arrow-size) + var(--gap) + 12px);
    }
}

/* Tablet / small desktop visual tweak */
@media (max-width: 1418px) and (min-width: 901px) {
    .hcbi-testi-arrow {
        width: 42px;
        height: 42px;
        font-size: 1.4rem;
    }

    #hcbiTestiContainer {
        padding-inline: 56px;
    }
    /* reserve some space visually */
}

/* On narrower screens keep arrows in-flow so layout doesn't break,
   and make arrows larger/tappable and keep aspect-ratio to remain circular. */
@media (max-width: 900px) {
    .hcbi-testi-arrow {
        position: relative; /* in-flow */
        transform: none;
        top: auto;
        left: auto;
        right: auto;
        margin: 0 8px;
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
        background: rgba(255,255,255,0.92);
        color: #111;
        box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    }

    .hcbi-section-testi {
        padding: 48px 24px;
    }
    #hcbiTestiContainer {
        min-height: none;
        max-height: none;
    }

    .hcbi-testi-card {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
        width: 300px;
    }
}

@media (max-width: 788px) {
    .hcbi-testi-role {
        font-size: 0.9rem;
    }
    .hcbi-testi-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.15rem;
        margin: 0 6px;
    }
    .hcbi-testi-avatar-img {
        width: 120px;
        height: 120px;
    }
    #hcbiTestiContainer {
        padding-inline:10px;
    }
    .hcbi-testi-quote {
        font-size: 1.2rem;
    }
    .hcbi-testi-card {
        min-width:300px;
        max-width:300px;
    }
}

@media (max-width: 600px) {
    .hcbi-section-testi {
        padding: 40px 16px;
    }

        .hcbi-section-testi h2 {
            font-size: 2.2rem;
        }

    .hcbi-testi-arrow {
        font-size: 1.6rem;
        border-radius: 50%;
        background: rgba(255,255,255,0.98);
        color: #111;
        box-shadow: 0 10px 28px rgba(0,0,0,0.18);
    }
}

/* =========================================================
   10) PARTNERS
========================================================= */
.hcbi-section-partners {
    padding: 72px 80px;
    background: #fff;
    border-top: 3px solid var(--orange);
}

.hcbi-section-partners h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 10px;
    color: var(--dark);
}

.hcbi-partners-subtitle {
    text-align: center;
    color: var(--gray-text);
    margin-bottom: 40px;
    font-size: 1.5rem;
    max-block-size:100px;
}

.hcbi-partners-wrap {
    overflow: hidden;
}

.hcbi-partners-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
    padding: 16px 0;
    width: 100%;
    animation: none; /* removed scrolling animation */
}

.hcbi-partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hcbi-partner-logo img {
    height: 86px;
    width: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 900px) {
    .hcbi-section-partners {
        padding: 48px 24px;
    }

    .hcbi-partners-track {
        gap: 28px;
        flex-wrap: wrap;
    }

    .hcbi-partner-logo img {
        height: 68px;
    }
}

@media (max-width: 600px) {
    .hcbi-partners-subtitle {
        font-size: 1.2rem;
        padding-inline:20px;
    }

    .hcbi-section-partners h2 {
        font-size: 2.2rem;
    }
        .hcbi-section-partners {
            padding: 40px 16px;
        }

        .hcbi-partners-track {
            gap: 18px;
        }

        .hcbi-partner-logo img {
            height: 54px;
        }
    }

/* =========================================================
   11) CTA
========================================================= */
.hcbi-section-cta {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('/img/index/cta-banner-laptop.webp') center/cover no-repeat;
    background-position: center 90%
}

    /* dark overlay (kept separate so image is local and readable) */
    .hcbi-section-cta::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55));
        z-index: 1;
    }

/* ensure content sits above the overlay */
.hcbi-cta-content {
    position: relative;
    z-index: 2;
}

.hcbi-cta-triangle {
    position: absolute;
    inset: 0 auto 0 0;
    width: 120px;
    background: var(--orange);
    clip-path: polygon(0 0, 70% 0, 100% 50%, 70% 100%, 0 100%);
}

.hcbi-cta-content {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 2;
    padding: 40px 24px;
}

    .hcbi-cta-content h2 {
        font-family: 'Montserrat', sans-serif;
        font-size: 2.9rem;
        margin-bottom: 28px;
        text-transform: uppercase!important;
        line-height: 1.25;
    }

        .hcbi-cta-content h2 b {
            text-transform: uppercase !important;
        }

.hcbi-cta-btns {
    font-size:10rem;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 700px) {
    .hcbi-cta-content h2 {
        font-size: 1.9rem;
    }
    .hcbi-cta-btn-solid, .hcbi-cta-btn-outline {
        font-size: 1rem;
        border-width: 2px;
    }
}

/* =========================================================
   12) FAB
========================================================= */
.hcbi-fab {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: #0084FF;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0,132,255,0.4);
    z-index: 200;
    transition: transform 0.2s;
}

    .hcbi-fab:hover {
        transform: scale(1.1);
    }

/* =========================================================
   13) KEYFRAMES
========================================================= */
@keyframes hcbiFadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes hcbiScrollPartners {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ============================================= 
    NEW!!
*/



.section {
    padding: 70px 40px;
}

.section-center {
    text-align: center;
}

.section-title {
    font-size: 3.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.4rem;
    max-width: 640px;
    margin: 0 auto 30px;
    line-height: 1.2;
}
@media (max-width: 900px) {
    .section-title {
        font-size: 33px;
    }
}
    /* =========================================
   LEARNING ADVANTAGE
========================================= */

    .learning-advantage {
        position: relative;
        min-height: 550px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 60px 80px;
    }

    .learning-bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Orange overlay exactly like screenshot */
    .learning-advantage::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
    }

    .learning-heading {
        position: relative;
        z-index: 2;
        color: #fff;
        font-size: 4rem;
        font-weight: 600;
        text-align: left;
        max-width: 900px;
        margin-left: 32%;
        margin-bottom: 45px;
        line-height: 1.1;
    }

    .learning-inner {
        position: relative;
        z-index: 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 55px 70px;
        max-width: 900px;
        margin-left: 32%;
    }

    .learning-card {
        display: flex;
        align-items: flex-start;
        gap: 18px;
    }

    .learning-icon {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
        filter: brightness(0) invert(1);
    }

    .learning-card-title {
        color: #fff;
        font-size: 2rem;
        font-weight: 700;
        line-height: 1.1;
        margin-bottom: 12px;
    }

    .learning-card-text {
        color: rgba(255,255,255,0.95);
        font-size: 1.4rem;
        line-height: 1.45;
    }

    /* Tablet */
    @media (max-width: 1200px) {

        .learning-heading,
        .learning-inner {
            margin-left: 40%;
        }

        .learning-heading {
            font-size: 3rem;
        }

        .learning-card-title {
            font-size: 1.6rem;
        }

        .learning-card-text {
            font-size: 1rem;
        }
    }

    /* Mobile */
    @media (max-width: 900px) {

        .learning-advantage {
            padding: 50px 25px;
        }

            .learning-advantage::before {
                background: rgba(245,166,35,0.78);
            }

        .learning-heading {
            margin-left: 0;
            text-align: center;
            font-size: 2.4rem;
        }

        .learning-inner {
            margin-left: 0;
            grid-template-columns: 1fr;
            gap: 30px;
            max-width: 100%;
        }

        .learning-card-title {
            font-size: 1.6rem;
        }

    }
    /* ─── SUITABILITY ─── */
    .suitability {
        background: #fff;
    }
        /*.suitability a {
            pointer-events: none;*/ /* disable click */
            /*cursor: default;*/ /* remove hand cursor */
        /*}*/

    .btn-orange {
        display: inline-block;
        background: #F5A623;
        color: #fff;
        padding: 12px 46px;
        border-radius: 999px;
        font-weight: 600;
        font-size: 19px;
        cursor: pointer;
        text-decoration: none;
        border: none;
        transition: background 0.2s;
    }

        .btn-orange:hover {
            background: #d9901c;
        }

@media (max-width: 992px) {
    .btn-orange {
        font-size: 12px;
        padding: 10px 32px;
    }
}

    /* =========================================
   STUDENT JOURNEY
========================================= */

    .journey {
        background: #fff;
        padding: 40px 0 70px;
    }

    .page-wrapper {
        max-width: 1600px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .cards-grid {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
    }

        /* Journey Cards */
        .cards-grid img:not(.arrow) {
            width: 100%;
            max-width: 320px;
            height: auto;
            object-fit: contain;
            flex: 1;
            min-width: 0;
        }

        /* Arrows */
        .cards-grid .arrow {
            width: 60px;
            height: auto;
            flex-shrink: 0;
        }

    /* Large Desktop */
    @media (min-width: 1600px) {
        .cards-grid img:not(.arrow) {
            max-width: 360px;
        }

        .cards-grid .arrow {
            width: 70px;
        }
    }

    /* Laptop */
    @media (max-width: 1200px) {


            .cards-grid img:not(.arrow) {
                max-width: 240px;
            }

            .cards-grid .arrow {
                width: 45px;
            }
    }

    /* Tablet */
    @media (max-width: 992px) {

        .section-title {
            font-size: 2.6rem;
        }

        .cards-grid img:not(.arrow) {
            max-width: 180px;
        }

        .cards-grid .arrow {
            width: 35px;
        }
    }
    /* MOBILE ONLY */
    @media (max-width:768px) {

        .cards-grid {
            display: flex;
            flex-direction: column;
            gap: 0;
            position: relative;
            width: 100%;
            max-width: 320px;
            margin: 0 auto;
        }

            .cards-grid .arrow {
                display: none;
            }

            .cards-grid img:not(.arrow) {
                width: 140px; /* mas maliit */
                height: auto;
                position: relative;
                z-index: 1;
            }

            /* alternating */
            .cards-grid img:nth-child(1) {
                margin-top: -40px;
                align-self: flex-start;
                margin-bottom: -85px;
            }

            .cards-grid img:nth-child(3) {
                align-self: flex-end;
                margin-bottom: -85px;
            }

            .cards-grid img:nth-child(5) {
                align-self: flex-start;
                margin-bottom: -85px;
            }

            .cards-grid img:nth-child(7) {
                align-self: flex-end;
                margin-bottom: -100px;
            }

            /* center connector */
            .cards-grid::before {
                content: "";
                position: absolute;
                top: 70px;
                bottom: 70px;
                left: 50%;
                width: 4px;
                background: #F5A623;
                transform: translateX(-50%);
                border-radius: 999px;
            }
    }