/* ── Shared tokens ── */
:root {
    --orange: #F5A623;
    --orange-dark: #E8951A;
    --orange-light: #FFC04D;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-text: #555;
    --dark: #222;
}

.hcbi-page-shell {
    width: min(100%, 1600px);
    margin-inline: auto;
    overflow-x: clip;
}

/* =========================================================
   HERO TOP (banner ng "What is Medical Coding?")
   ========================================================= */
.hero-top {
    position: relative;
    overflow: hidden;
}

.hero-top__img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-top__content {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 64px;
    max-width: 52%;
}

    .hero-top__content h1 {
        font-size: clamp(32px, 6vw, 68px);
        font-weight: 600;
        color: #ffffff;
        line-height: 1;
        margin-bottom: 20px;
        letter-spacing: -0.5px;
    }

    .hero-top__content p {
        font-size: clamp(14px, 1.8vw, 20px);
        font-weight: 400;
        color: rgba(255, 255, 255, 0.90);
        line-height: 1.2;
        max-width: 460px;
    }

/* ── Tablet / mid-size: shrink overlay, keep overlay layout ── */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-top__content {
        max-width: 60%;
        padding: 40px 36px;
    }

        .hero-top__content h1 {
            font-size: clamp(28px, 5vw, 42px);
        }

        .hero-top__content p {
            font-size: 14px;
            max-width: 100%;
        }
}

/* ── Mobile: switch to STACKED layout (text first, image after) ── */
@media (max-width: 768px) {
    .hero-top {
        display: flex;
        flex-direction: column;
        overflow: visible;
    }

    .hero-top__img {
        order: 2;
        /*aspect-ratio: 16 / 10;*/
        object-fit: cover;
    }

    .hero-top__content {
        order: 1;
        position: static;
        max-width: 100%;
        height: auto;
        padding: 32px 20px;
        background-color: var(--orange, #F5A623);
    }

        .hero-top__content h1 {
            font-size: 30px;
            color: #ffffff;
        }

        .hero-top__content p {
            font-size: 15px;
            max-width: 100%;
            color: rgba(255, 255, 255, 0.95);
        }
}

@media (max-width: 480px) {
    .hero-top__content {
        padding: 24px 16px;
    }

        .hero-top__content h1 {
            font-size: 26px;
        }

        .hero-top__content p {
            font-size: 14px;
        }
}

/* =========================================================
   CPC BANNER ("Your Path to CPC Success")
   ========================================================= */
.cpc-banner {
    position: relative;
    background-image: url('/img/AboutUsPage/AboutSec.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 6% 2% 6% 2%;
    text-align: center;
}

.cpc-banner__content {
    position: relative;
    z-index: 2;
    /*max-width: 1000px;*/
    margin: 0 auto;
}

.cpc-banner__title {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 14px;
}

.cpc-banner__disclaimer {
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 24px;
    opacity: 0.95;
}

.cpc-banner__description {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .cpc-banner {
        padding: 40px 20px 50px;
    }

    .cpc-banner__title {
        font-size: 2.1rem;
    }

    .cpc-banner__disclaimer {
        font-size: 0.9rem;
    }

    .cpc-banner__description {
        font-size: 1.2rem;
    }
}

/* =========================================================
   OUR ADVANTAGE / DIFFERENCE SECTION
   ========================================================= */
.difference-section {
    position: relative;
    background: #f9f9f9;
    background-image: padding: 64px 0 0;
}

.diff-header {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 6% 0 0 0;
}

    .diff-header h2 {
        font-size: 58px;
        font-weight: 700;
        color: #545454;
        margin-bottom: 12px;
    }

    .diff-header p {
        font-size: 19px;
        color: #666;
        max-width: 600px;
        margin: 0 auto;
    }

.diff-body {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 500px 1fr;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    min-height: 850px;
    background-image: url(/img/AboutUsPage//AboutUsPagesec4.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.diff-spacer {
    height: 100%;
}

/* ─── FEATURE GROUPS ─────────────────────────── */
.diff-left.feature-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 220px;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding: 40px 0 40px 40px;
}

.diff-right.feature-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 140px;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding: 40px 40px 40px 0;
}

/* ─── FEATURE CARD ────────────────────────────── */
.feature-card {
    width: 100%;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 2px solid #e0e0e0;
    padding: 14px 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    width: 60%;
    min-width: fit-content;
    overflow: visible;
}

.feature-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    flex-shrink: 0;
    background: #f5a623;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .feature-icon img {
        width: 60%;
        height: 60%;
        object-fit: contain;
    }

.feature-title {
    font-weight: 700;
    color: #545454;
    font-size: 26px;
    line-height: 1.3;
    white-space: nowrap;
    min-width: 0;
}

.feature-desc {
    background: #f5a623;
    padding: 18px 20px;
    color: #fff;
    font-size: 20px;
    line-height: 1.65;
    margin-top: -10px;
    width: 80%;
    box-sizing: border-box;
}

.diff-left .feature-card:nth-child(1) .feature-desc {
    margin-left: 42px;
}

/* Left cards */
.diff-left .feature-header {
    border-radius: 24px;
}

.diff-left .feature-desc {
    border-radius: 8px 16px 16px 16px;
}

/* Right cards */
.diff-right .feature-header {
    border-radius: 24px;
    margin-left: auto;
}

.diff-right .feature-desc {
    border-radius: 24px;
    margin-left: auto;
}

/* ─── RESPONSIVE: Our Advantage ─────────────────── */
@media (max-width: 1024px) {
    .difference-section {
        padding: 56px 0 0;
    }

    .diff-header h2 {
        font-size: 42px;
    }

    .diff-body {
        grid-template-columns: 1fr 320px 1fr;
        min-height: 650px;
    }

    .diff-left.feature-group {
        gap: 140px;
        padding: 32px 0 32px 24px;
    }

    .diff-right.feature-group {
        padding: 32px 24px 32px 0;
    }

    .feature-header {
        width: 85%;
        min-width: 0;
    }

    .feature-title {
        font-size: 18px;
        white-space: normal;
    }

    .feature-desc {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .difference-section {
        padding: 48px 24px 40px;
    }

    /* diff-header gets a full-bleed bg photo on mobile, with the
       student image showing through and text overlaid on top
       (matches the layout comment in the .cshtml) */
    .diff-header {
        margin: -48px -24px 32px;
        padding: 56px 24px 64px;
        background-image: url('/img/AboutUsPage/AboutUsPagesec4.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
        overflow: hidden;
    }

        .diff-header::before {
            content: "";
            position: absolute;
            inset: 0;
            background: rgba(20, 20, 20, 0.55);
            z-index: 1;
        }

        .diff-header h2,
        .diff-header p {
            position: relative;
            z-index: 2;
        }

        .diff-header h2 {
            font-size: 34px;
            color: #fff;
        }

        .diff-header p {
            color: rgba(255, 255, 255, 0.9);
        }

    /* Single column, hide background image & spacer */
    .diff-body {
        grid-template-columns: 1fr;
        min-height: unset;
        background-image: none;
        gap: 0;
    }

    .diff-spacer {
        display: none;
    }

    .diff-left.feature-group,
    .diff-right.feature-group {
        flex: unset;
        width: 100%;
        align-items: stretch;
        padding: 0;
        gap: 16px;
    }

    .diff-right.feature-group {
        margin-top: 16px;
    }

    .feature-card {
        width: 100%;
    }

    /* Reset all widths and margins for mobile */
    .feature-header,
    .diff-right .feature-header {
        width: 100%;
        min-width: 0;
        margin-left: 0;
        border-radius: 16px 16px 8px 16px;
    }

    .feature-desc,
    .diff-right .feature-desc {
        width: 100%;
        margin-left: 0;
        border-radius: 8px 16px 16px 16px;
        font-size: 14px;
        padding: 14px 16px;
    }

    .diff-left .feature-card:nth-child(1) .feature-desc {
        margin-left: 0;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    .feature-title {
        font-size: 15px;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .difference-section {
        padding: 40px 16px;
    }

    .diff-header {
        margin: -40px -16px 24px;
        padding: 40px 16px 48px;
    }

        .diff-header h2 {
            font-size: 28px;
        }

        .diff-header p {
            font-size: 15px;
        }

    .feature-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .feature-title {
        font-size: 14px;
        white-space: normal;
    }

    .feature-desc {
        font-size: 13px;
        padding: 12px 14px;
    }
}

/* =========================================================
   HCBI STUDENT JOURNEY
   ========================================================= */
.hcbi-section {
    background: #F5A623;
    padding: 4.5rem 7.5rem 4.25rem;
    width: 100%;
}

.hcbi-title {
    text-align: center;
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2rem;
}

.journey-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

    .journey-row:last-child {
        margin-bottom: 0;
    }

.left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    width: 230px;
}

.icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}

    .icon-wrap img {
        width: 40px;
        height: 40px;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        filter: brightness(0) invert(1);
    }

.step-label {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
}

.step-content {
    flex: 1;
    padding-top: 2px;
}

    .step-content p {
        font-size: 20px;
        color: #fff;
        line-height: 1.65;
    }

    .step-content strong {
        font-weight: 700;
    }

@media (max-width: 560px) {
    .hcbi-section {
        padding: 1.75rem 1.25rem;
    }

    .hcbi-title {
        font-size: 26px;
    }

    .left {
        width: 160px;
    }

    .step-label {
        font-size: 16px;
    }

    .step-content p {
        font-size: 15px;
    }
}

/* =========================================================
   FACULTY SECTION
   ========================================================= */
.au-faculty {
    padding: 72px 80px;
    background: #fff;
    text-align: center;
}

    .au-faculty h2 {
        font-size: 3.8rem;
        color: #111;
        margin-bottom: 8px;
    }

.au-faculty-sub {
    font-size: 1.9rem;
    color: #777;
    margin-bottom: 48px;
}

.au-faculty-wrap {
    position: relative;
    width: 100%;
}

.au-faculty-outer {
    overflow: hidden;
    width: 100%;
}

.au-faculty-track {
    display: flex;
    gap: 24px;
    transition: transform 0.45s ease;
    padding: 4px 2px 16px;
    justify-content: flex-start;
    align-items: stretch;
    will-change: transform;
}

    .au-faculty-track.is-centered {
        justify-content: center;
    }

.au-faculty-card {
    flex: 0 0 200px;
    width: 200px;
    text-align: center;
}


.au-faculty-photo {
    width: 190px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    background: var(--orange);
    display: block;
    margin: 0 auto 12px;
}

.au-faculty-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
}

.au-faculty-cred {
    font-size: 1rem;
    color: #888;
}

.au-faculty-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: #fff;
    border: 1.5px solid #ddd;
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s;
}

    .au-faculty-arrow:hover {
        box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    }

    .au-faculty-arrow.left {
        left: -20px;
    }

    .au-faculty-arrow.right {
        right: -20px;
    }

@media (max-width: 1238px) {
    .au-faculty {
        padding: 44px 32px;
    }
}

@media (max-width: 768px) {
    .au-faculty {
        padding: 28px 16px;
    }

        .au-faculty h2 {
            font-size: 1.9rem;
        }

    .au-faculty-sub {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .au-faculty-card {
        width: 100%;
    }

    .au-faculty-arrow {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 768px) {
    .au-faculty-track {
        gap: 0 !important;
        justify-content: flex-start !important;
    }

    .au-faculty-card {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .au-faculty-photo {
        width: min(72vw, 220px);
    }
}

/* =========================================================
   PAGINATION DOTS (shared: faculty & testimonials)
   ========================================================= */
.au-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-top: 18px;
}

.au-dot {
    width: 12px;
    height: 12px;
    background: #cfcfcf;
    border-radius: 50%;
    box-shadow: none;
    transition: background-color 160ms ease, transform 140ms ease;
    flex: 0 0 auto;
}

    .au-dot.active {
        background: #ffffff;
        width: 14px;
        height: 14px;
        transform: scale(1.03);
        box-shadow: 0 0 0 6px rgba(245,166,35,0.10);
    }

/* =========================================================
   TESTIMONIALS SECTION
   ========================================================= */
.au-testi {
    padding: 72px 80px;
    background: #ffffff;
    text-align: center;
    padding-top: 0px;
    background: linear-gradient(0deg, #F5A623 20%, #dc7920 100%);
}

    .au-testi h2 {
        font-size: 2.6rem;
        font-weight: 500;
        color: #fff;
        padding: 22px 0 0 0;
    }

.au-testi-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 44px;
}

.au-testi-wrap {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.au-testi-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s;
}

    .au-testi-arrow:hover {
        box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    }

    .au-testi-arrow.left {
        left: -60px;
    }

    .au-testi-arrow.right {
        right: -60px;
    }

@media (max-width: 720px) {
    .au-testi-arrow.left {
        left: -12px;
    }

    .au-testi-arrow.right {
        right: -12px;
    }
}

/* Testimonial cards are rendered dynamically via JS (#auTestiContainer) */
.au-testi-card {
    background: #f8f8f8;
    padding: 44px 48px;
    display: flex;
    gap: 36px;
    align-items: flex-start;
    text-align: left;
    box-shadow: none;
    animation: auFadeIn 0.4s ease;
    border-radius: 28px;
}

.au-testi-left {
    flex-shrink: 0;
    text-align: center;
    width: 160px;
}

    .au-testi-left .au-testi-avatar {
        width: 130px;
        height: 130px;
        border-radius: 50%;
        background: var(--orange);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        margin: 0 auto 16px;
        flex-shrink: 0;
    }

    .au-testi-left .au-testi-avatar-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.au-testi-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
    margin-bottom: 6px;
}

.au-testi-role {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 12px;
}

.au-testi-stars {
    color: #F5A623;
    font-size: 1.3rem;
    letter-spacing: 2px;
}

.au-testi-right {
    flex: 1;
    padding: 0;
}

.au-testi-quote-mark {
    font-size: 3.4rem;
    color: #F5A623;
    line-height: 1;
    font-weight: 700;
    margin-bottom: -8px;
}

.au-testi-text {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.65;
}

.au-testi-see-more {
    display: inline;
    color: var(--orange);
    text-decoration: underline;
    font-weight: 700;
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
    line-height: inherit;
}

@media (max-width: 1238px) {
    .au-testi {
        padding: 44px 32px;
    }
}

@media (max-width: 768px) {
    .au-testi {
        padding: 28px 16px;
    }

        .au-testi h2 {
            font-size: 1.9rem;
        }

    .au-testi-sub {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .au-testi-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 20px 14px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.42);
    }

    .au-testi-arrow {
        width: 44px;
        height: 44px;
    }

    .au-testi-left {
        width: 100%;
    }

    .au-testi-avatar {
        margin-inline: auto;
    }

    .au-testi-text {
        font-size: 1.1rem;
        line-height: 1.7;
        text-align: justify;
        text-align-last: left;
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        hyphens: auto;
    }

    .au-testi-see-more {
        display: inline;
        white-space: nowrap;
    }
}

@keyframes auFadeIn {
    from {
        opacity: 0;
        transform: translateX(16px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =========================================================
   FACULTY / TESTIMONIAL ARROW ICONS — hard overrides
   ========================================================= */
@media (max-width: 720px) {
    .au-faculty-arrow,
    .au-testi-arrow {
        width: 40px !important;
        height: 40px !important;
        background-size: 16px 16px !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        font-size: 0 !important;
        color: transparent !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

        .au-faculty-arrow.left,
        .au-testi-arrow.left {
            background-image: url('/img/left-arrow.png') !important;
            left: 8px !important;
        }

        .au-faculty-arrow.right,
        .au-testi-arrow.right {
            background-image: url('/img/right-arrow.png') !important;
            right: 8px !important;
        }
}

@media (min-width: 961px) {
    .au-faculty .au-faculty-arrow,
    .au-testi .au-testi-arrow {
        display: flex !important;
        visibility: visible !important;
        pointer-events: auto !important;
        width: 48px !important;
        height: 48px !important;
        background-color: #fff !important;
        border: 1.5px solid #ddd !important;
        border-radius: 50% !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.10) !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: 20px 20px !important;
        font-size: 0 !important;
        color: transparent !important;
        padding: 0 !important;
        align-items: center;
        justify-content: center;
        top: 40% !important;
        transform: translateY(-50%) !important;
    }

    .au-faculty-arrow.left,
    .au-testi-arrow.left {
        background-image: url('/img/left-arrow.png') !important;
        /*left: -20px !important;*/
    }

    .au-faculty-arrow.right,
    .au-testi-arrow.right {
        background-image: url('/img/right-arrow.png') !important;
        /*right: -40px !important;*/
    }
}

/* FIX: Hide faculty arrows & dots ONLY between 769px-960px (tablet range).
   Dati walang max-width dito, kaya tumatama pa rin ito kahit sa desktop
   widths (>1238px), at nag-conflict sa "show" rule sa itaas (min-width: 961px). */
@media (min-width: 769px) and (max-width: 960px) {
    .au-faculty .au-faculty-arrow,
    .au-faculty .au-dots {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .au-faculty-track {
        justify-content: center !important;
    }

    .au-faculty-outer {
        overflow: visible !important;
    }
}

/* FIX: Failsafe — pinipilit na circle ang left/right arrow buttons
   anuman ang ibang class na ma-attach o ma-collide sa kanila sa
   hinaharap (e.g. .left / .right generic utility classes). */
button.au-faculty-arrow,
button.au-testi-arrow {
    width: 40px !important;
    height: 40px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    flex: 0 0 40px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* =========================================================
   CTA BANNER (mga klase na posibleng gamit ng
   PublicPartials/_CtaBanner — pinanatili lahat para safe)
   ========================================================= */

/* Variant A: hcbi-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%;
}

    .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;
    }

.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 {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* CTA buttons */
.hcbi-cta-btn-solid,
.hcbi-cta-btn-outline {
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    padding: 13px 30px;
    font-size: 1.6rem;
}

.hcbi-cta-btn-solid {
    background: var(--orange);
    color: #fff;
    border: none;
}

    .hcbi-cta-btn-solid:hover {
        background: var(--orange-dark);
        transform: translateY(-2px);
    }

.hcbi-cta-btn-outline {
    background: transparent;
    color: #fff;
    border: 5px solid rgba(245, 166, 35, 1);
}

    .hcbi-cta-btn-outline:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: #fff;
        transform: translateY(-2px);
    }

@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;
    }
}

@media (max-width: 1238px) {
    .hcbi-cta-content {
        padding: 32px 20px;
    }
}

@media (max-width: 768px) {
    .hcbi-section-cta {
        min-height: 0;
    }

    .hcbi-cta-content {
        padding: 24px 14px;
    }

        .hcbi-cta-content h2 {
            font-size: 1.2rem;
            line-height: 1.35;
            margin-bottom: 16px;
            text-transform: none;
        }
}

/* Variant B: au-cta-* (legacy naming, posibleng gamit din ng partial) */
.au-cta {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.52), rgba(0,0,0,0.52)), url('https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?w=1400') center/cover no-repeat;
}

.au-cta-tri-left {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 110px;
    background: #F5A623;
    clip-path: polygon(0 0, 75% 0, 100% 50%, 75% 100%, 0 100%);
}

.au-cta-tri-right {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 60px;
    background: #F5A623;
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 25% 100%, 0 50%);
}

.au-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 24px;
    color: #fff;
}

    .au-cta-content h2 {
        font-size: 1.9rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        line-height: 1.25;
        margin-bottom: 28px;
    }

        .au-cta-content h2 strong {
            font-weight: 900;
        }

.au-cta-btns {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .au-cta {
        min-height: 0;
    }

    .au-cta-content {
        padding: 24px 14px;
    }

        .au-cta-content h2 {
            font-size: 1.2rem;
            line-height: 1.35;
            margin-bottom: 16px;
            text-transform: none;
        }

    .au-cta-btns {
        gap: 8px;
    }

    .au-btn-solid,
    .au-btn-outline {
        width: 100%;
        max-width: 280px;
        min-height: 44px;
        padding: 11px 16px;
        font-size: 0.92rem;
    }
}

/* =========================================================
   GLOBAL: prevent horizontal scroll on smaller screens
   ========================================================= */
@media (max-width: 1238px) {
    html,
    body,
    .hcbi-page-shell {
        max-width: 100%;
        overflow-x: hidden;
    }
}
