/* =========================================================
   BIOFLEX THERAPY PAGE
   Get Well Physiotherapy & Sports Injury Clinic
   ========================================================= */


/* =========================================================
   COMMON
   ========================================================= */

.bioflex-therapy-page {
    overflow: hidden;
}

.bioflex-therapy-page .container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.bioflex-therapy-page .section-padding {
    padding: 100px 0;
}

.bioflex-therapy-page .section-eyebrow {
    display: block;
    margin-bottom: 14px;
    color: #00a651;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.bioflex-therapy-page h2 {
    margin: 0 0 20px;
    color: #163f55;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -0.4px;
}

.bioflex-therapy-page h3 {
    margin: 0 0 12px;
    color: #163f55;
    font-size: 21px;
    line-height: 1.35;
}

.bioflex-therapy-page p {
    margin: 0 0 18px;
    color: #607783;
    font-size: 17px;
    line-height: 1.8;
}

.bioflex-therapy-page p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   REVEAL
   Keep visible because main.js should remain unchanged
   ========================================================= */

.bioflex-therapy-page .reveal {
    opacity: 1;
    visibility: visible;
    transform: none;
}


/* =========================================================
   HERO
   Actual PHP classes:
   .inner-page-hero
   .bioflex-therapy-hero
   .inner-page-hero-content
   .eyebrow
   ========================================================= */

.bioflex-therapy-page .inner-page-hero.bioflex-therapy-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    padding: 100px 0;
    overflow: hidden;

    background-image:
        linear-gradient(
            rgba(10, 48, 69, 0.76),
            rgba(10, 48, 69, 0.76)
        ),
        url("../images/bioflex-therapy-hero.webp");

    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.bioflex-therapy-page .inner-page-hero.bioflex-therapy-hero .container {
    position: relative;
    z-index: 2;
}

.bioflex-therapy-page .inner-page-hero-content {
    max-width: 800px;
}

.bioflex-therapy-page .bioflex-therapy-hero .eyebrow {
    display: block;
    margin-bottom: 16px;
    color: #8df0b9;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.bioflex-therapy-page .bioflex-therapy-hero h1 {
    margin: 0 0 24px;
    color: #ffffff;
    font-size: clamp(40px, 5vw, 62px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.7px;
}

.bioflex-therapy-page .bioflex-therapy-hero p {
    max-width: 730px;
    margin: 0;
    color: #ffffff;
    font-size: 19px;
    line-height: 1.75;
}


/* =========================================================
   INTRO
   Actual classes:
   .bioflex-therapy-intro
   .bioflex-therapy-intro-grid
   .bioflex-therapy-intro-content
   .bioflex-therapy-intro-highlight
   .content-card
   .card-icon
   ========================================================= */

.bioflex-therapy-intro {
    background: #ffffff;
}

.bioflex-therapy-intro-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 70px;
    align-items: center;
}

.bioflex-therapy-intro-content {
    max-width: 720px;
}

.bioflex-therapy-intro-highlight {
    position: relative;
}

.bioflex-therapy-intro-highlight .content-card {
    padding: 42px;
    background: #f6fafc;
    border-left: 5px solid #0077b9;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(22, 63, 85, 0.07);
}

.bioflex-therapy-intro-highlight .card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    background: #00a651;
    color: #ffffff;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
}

.bioflex-therapy-intro-highlight h3 {
    margin-bottom: 12px;
    font-size: 24px;
}

.bioflex-therapy-intro-highlight p {
    margin-bottom: 0;
}


/* =========================================================
   WHAT IS BIOFLEX
   Actual classes:
   .bioflex-therapy-what
   .bioflex-therapy-what-content
   ========================================================= */

.bioflex-therapy-what {
    background: #f6fafc;
}

.bioflex-therapy-what-content {
    max-width: 850px;
    margin: 0 auto;
}

.bioflex-therapy-what-content p {
    max-width: 820px;
}


/* =========================================================
   SECTION HEADER
   Actual class:
   .bioflex-therapy-section-header
   ========================================================= */

.bioflex-therapy-section-header {
    max-width: 800px;
    margin: 0 auto 55px;
    text-align: center;
}

.bioflex-therapy-section-header p {
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
}


/* =========================================================
   BENEFITS
   Actual classes:
   .bioflex-therapy-benefits
   .bioflex-therapy-benefits-grid
   .bioflex-therapy-benefit-card
   ========================================================= */

.bioflex-therapy-benefits {
    background: #ffffff;
}

.bioflex-therapy-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bioflex-therapy-benefit-card {
    padding: 32px 28px;
    background: #f6fafc;
    border-top: 4px solid #0077b9;
    border-radius: 14px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.bioflex-therapy-benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(22, 63, 85, 0.10);
}

.bioflex-therapy-benefit-card h3 {
    margin-bottom: 12px;
}

.bioflex-therapy-benefit-card p {
    margin-bottom: 0;
}


/* =========================================================
   PROCESS
   Actual classes:
   .bioflex-therapy-process
   .bioflex-therapy-process-grid
   .bioflex-therapy-process-card
   .process-number
   ========================================================= */

.bioflex-therapy-process {
    background: #f6fafc;
}

.bioflex-therapy-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bioflex-therapy-process-card {
    position: relative;
    padding: 34px 30px;
    background: #ffffff;
    border-left: 4px solid #00a651;
    border-radius: 14px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.bioflex-therapy-process-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(22, 63, 85, 0.09);
}

.bioflex-therapy-process-card .process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    background: #0077b9;
    color: #ffffff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.bioflex-therapy-process-card h3 {
    margin-bottom: 12px;
}

.bioflex-therapy-process-card p {
    margin-bottom: 0;
}


/* =========================================================
   CONDITIONS
   Actual classes:
   .bioflex-therapy-conditions
   .bioflex-therapy-conditions-grid
   .bioflex-therapy-condition
   ========================================================= */

.bioflex-therapy-conditions {
    background: #ffffff;
}

.bioflex-therapy-conditions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.bioflex-therapy-condition {
    display: flex;
    align-items: center;
    min-height: 90px;
    padding: 24px 22px;
    background: #f6fafc;
    border: 1px solid rgba(0, 119, 185, 0.10);
    border-radius: 12px;
    color: #163f55;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.bioflex-therapy-condition:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 119, 185, 0.22);
    box-shadow: 0 12px 28px rgba(22, 63, 85, 0.08);
}


/* =========================================================
   WHY GET WELL
   Actual classes:
   .bioflex-therapy-why
   .bioflex-therapy-why-grid
   .bioflex-therapy-why-card
   .why-number
   ========================================================= */

.bioflex-therapy-why {
    background: #f6fafc;
}

.bioflex-therapy-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bioflex-therapy-why-card {
    padding: 34px 30px;
    background: #ffffff;
    border-top: 4px solid #00a651;
    border-radius: 14px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.bioflex-therapy-why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(22, 63, 85, 0.09);
}

.bioflex-therapy-why-card .why-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
    background: #00a651;
    color: #ffffff;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
}

.bioflex-therapy-why-card h3 {
    margin-bottom: 12px;
}

.bioflex-therapy-why-card p {
    margin-bottom: 0;
}


/* =========================================================
   FIRST VISIT
   Actual classes:
   .bioflex-therapy-first-visit
   .bioflex-therapy-first-grid
   .bioflex-therapy-first-card
   .step-number
   ========================================================= */

.bioflex-therapy-first-visit {
    background: #ffffff;
}

.bioflex-therapy-first-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.bioflex-therapy-first-card {
    padding: 30px 24px;
    background: #f6fafc;
    border-radius: 14px;
    text-align: center;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.bioflex-therapy-first-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(22, 63, 85, 0.08);
}

.bioflex-therapy-first-card .step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    background: #00a651;
    color: #ffffff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.bioflex-therapy-first-card h3 {
    margin-bottom: 12px;
    font-size: 19px;
}

.bioflex-therapy-first-card p {
    margin-bottom: 0;
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   FAQ
   Actual classes:
   .bioflex-therapy-faq
   .bioflex-therapy-faq-list
   .bioflex-therapy-faq-item
   ========================================================= */

.bioflex-therapy-faq {
    background: #f6fafc;
}

.bioflex-therapy-faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.bioflex-therapy-faq-item {
    margin-bottom: 14px;
    padding: 25px 28px;
    background: #ffffff;
    border-left: 4px solid #0077b9;
    border-radius: 12px;
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.bioflex-therapy-faq-item:last-child {
    margin-bottom: 0;
}

.bioflex-therapy-faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(22, 63, 85, 0.07);
}

.bioflex-therapy-faq-item h3 {
    margin-bottom: 10px;
    color: #163f55;
    font-size: 19px;
    line-height: 1.4;
}

.bioflex-therapy-faq-item p {
    margin-bottom: 0;
    font-size: 16px;
    line-height: 1.75;
}


/* =========================================================
   CTA
   Actual classes:
   .bioflex-therapy-cta
   .bioflex-therapy-cta-content
   .bioflex-therapy-cta-actions
   .btn
   .btn-primary
   .btn-secondary
   ========================================================= */

.bioflex-therapy-cta {
    padding: 90px 0;
    background: linear-gradient(
        135deg,
        #0077b9 0%,
        #005f91 100%
    );
}

.bioflex-therapy-cta-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.bioflex-therapy-cta .section-eyebrow {
    color: #8df0b9;
}

.bioflex-therapy-cta h2 {
    color: #ffffff;
}

.bioflex-therapy-cta p {
    max-width: 720px;
    margin: 0 auto 30px;
    color: #ffffff;
}

.bioflex-therapy-cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.bioflex-therapy-cta-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 30px;
    border-radius: 7px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.bioflex-therapy-cta-actions .btn-primary {
    background: #00a651;
    color: #ffffff;
}

.bioflex-therapy-cta-actions .btn-secondary {
    background: #ffffff;
    color: #0077b9;
}

.bioflex-therapy-cta-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .bioflex-therapy-page .section-padding {
        padding: 80px 0;
    }

    .bioflex-therapy-page .inner-page-hero.bioflex-therapy-hero {
        min-height: 500px;
        padding: 90px 0;
    }

    .bioflex-therapy-intro-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .bioflex-therapy-benefits-grid,
    .bioflex-therapy-process-grid,
    .bioflex-therapy-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bioflex-therapy-conditions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bioflex-therapy-first-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bioflex-therapy-what-content {
        max-width: 100%;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .bioflex-therapy-page .container {
        width: min(100% - 30px, 1180px);
    }

    .bioflex-therapy-page .section-padding {
        padding: 65px 0;
    }

    .bioflex-therapy-page .inner-page-hero.bioflex-therapy-hero {
        min-height: 500px;
        padding: 75px 0;
    }

    .bioflex-therapy-page .inner-page-hero-content {
        max-width: 100%;
    }

    .bioflex-therapy-page .bioflex-therapy-hero h1 {
        font-size: 38px;
        line-height: 1.12;
    }

    .bioflex-therapy-page .bioflex-therapy-hero p {
        font-size: 17px;
        line-height: 1.7;
    }

    .bioflex-therapy-intro-grid,
    .bioflex-therapy-benefits-grid,
    .bioflex-therapy-process-grid,
    .bioflex-therapy-conditions-grid,
    .bioflex-therapy-why-grid,
    .bioflex-therapy-first-grid {
        grid-template-columns: 1fr;
    }

    .bioflex-therapy-intro-highlight .content-card {
        padding: 30px 26px;
    }

    .bioflex-therapy-section-header {
        margin-bottom: 40px;
    }

    .bioflex-therapy-benefit-card,
    .bioflex-therapy-process-card,
    .bioflex-therapy-why-card {
        padding: 28px 24px;
    }

    .bioflex-therapy-condition {
        min-height: auto;
        padding: 22px 20px;
    }

    .bioflex-therapy-first-card {
        padding: 28px 22px;
    }

    .bioflex-therapy-cta {
        padding: 70px 0;
    }

    .bioflex-therapy-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .bioflex-therapy-cta-actions .btn {
        width: 100%;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .bioflex-therapy-page .inner-page-hero.bioflex-therapy-hero {
        min-height: 470px;
        padding: 65px 0;
    }

    .bioflex-therapy-page .bioflex-therapy-hero h1 {
        font-size: 34px;
    }

    .bioflex-therapy-page h2 {
        font-size: 30px;
    }

    .bioflex-therapy-page p {
        font-size: 16px;
    }

    .bioflex-therapy-intro-highlight .content-card {
        padding: 26px 22px;
    }

    .bioflex-therapy-benefit-card,
    .bioflex-therapy-process-card,
    .bioflex-therapy-why-card {
        padding: 26px 22px;
    }

    .bioflex-therapy-faq-item {
        padding: 21px 20px;
    }
}