/* ==========================================================================
   About Us Page — BioPhoenix
   Optimized & Refined by Senior Frontend Engineering Standards.
   ========================================================================== */

:root {
    /* Brand Colors */
    --color-primary: #2F8F46;
    --color-primary-dark: #1F6D3F;
    --color-accent-green: #4F7F1C;
    --color-accent-green-hover: #3F6516;
    
    /* Neutrals */
    --color-slate-900: #0f172a;
    --color-gray-800: #1f2937;
    --color-gray-500: #6b7280;
    --color-border-light: rgba(15, 23, 42, 0.1);
}

/* Badge Pill */
.about-us-page .badge-pill {
    display: inline-block;
    border: 1px solid rgba(47, 143, 70, 0.15);
   background: white;
    color: var(--color-gray-800);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: .08em;
    padding: 6px 20px;
    border-radius: 999px;
    text-transform: uppercase;
}

/* Quote Block */
.about-us-page .quote-block { 
    display: flex; 
    gap: 16px; 
    margin-top: 40px; 
    padding: 8px 0;
}
.about-us-page .quote-mark { 
    font-size: 48px; 
    line-height: 0.8; 
    color: var(--color-primary); 
    font-family: Georgia, serif; 
    user-select: none;
}
.about-us-page .quote-text { 
    font-style: italic; 
    color: var(--color-primary); 
    font-weight: 500; 
    font-size: 16px;
    line-height: 1.6;
}

/* Image Placeholder (still used by the Growth/purpose narrative section) */
.about-us-page .image-placeholder {
    width: 100%;
    min-height: 300px;
    border-radius: 20px;
    border: 2px dashed rgba(15, 23, 42, .15);
    background-color: rgba(15, 23, 42, 0.01);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-500);
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.about-us-page .image-placeholder:hover {
    background-color: rgba(15, 23, 42, 0.03);
    border-color: rgba(15, 23, 42, 0.25);
}

@media (min-width: 640px) {
    .about-us-page .image-placeholder { min-height: 420px; }
}

/* ==========================================================================
   Hero Visual (Evolution of Care) — main image + overlapping secondary image
   ========================================================================== */

.about-us-page .hero-visual {
    position: relative;
    width: 100%;
    max-width: 460px;
    margin-left: auto;
    margin-right: 0;
    aspect-ratio: 4 / 5;
}

.about-us-page .hero-img-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 88%;
    height: 80%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.about-us-page .hero-img-secondary {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60%;
    height: 44%;
    object-fit: contain;
    border-radius: 16px;
    border: 6px solid #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    z-index: 2;
    background: white;
}

@media (max-width: 639px) {
    .about-us-page .hero-visual {
        max-width: 100%;
        margin-left: 0;
    }
    .about-us-page .hero-img-secondary {
        border-width: 4px;
    }
}


/* ==========================================================================
   Our Foundation Timeline
   ========================================================================== */

.about-us-page .foundation-wrap { 
    position: relative; 
    max-width: 820px; 
    margin: 0 auto; 
}
.about-us-page .foundation-track {
    position: absolute; 
    left: 50%; 
    top: 0; 
    bottom: 0; 
    width: 2px;
    background: var(--color-border-light);
    transform: translateX(-50%);
}
.about-us-page .foundation-progress {
    position: absolute; 
    left: 50%; 
    top: 0; 
    width: 2px; 
    height: 0%;
    background: var(--color-primary); 
    transform: translateX(-50%);
    transition: height .2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Each item is a 3-part row: text half — dot (on the line) — icon half.
   The dot always sits exactly on the centered line; content and icon
   swap sides per item directly in the markup (see the blade file). */
.about-us-page .foundation-item { 
    position: relative; 
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 44px 0;
    will-change: opacity, transform;
}
.about-us-page .foundation-item:first-child { padding-top: 0; }
.about-us-page .foundation-item:last-child { padding-bottom: 0; }

.about-us-page .foundation-half {
    flex: 1 1 0;
    min-width: 0;
}

.about-us-page .foundation-content { max-width: 380px; }
.about-us-page .foundation-content.text-right { margin-left: auto; text-align: right; }
.about-us-page .foundation-content.text-left { margin-right: auto; text-align: left; }

/* Bigger, faint italic number as called out */
.about-us-page .foundation-number {
    display: block;
    font-style: italic;
    font-weight: 600;
    font-size: 40px;
    line-height: 1;
    color: rgba(15, 23, 42, .16);
    margin-bottom: 4px;
    transition: color 0.4s ease;
}

.about-us-page .foundation-title {
    font-size: 20px; 
    font-weight: 700; 
    color: var(--color-primary);
    margin-bottom: 10px;
}
.about-us-page .foundation-desc { 
    color: var(--color-gray-500); 
    line-height: 1.6;
    max-width: 340px;
}
.about-us-page .foundation-content.text-right .foundation-desc { margin-left: auto; }
.about-us-page .foundation-content.text-left .foundation-desc { margin-right: auto; }

.about-us-page .foundation-list { 
    color: var(--color-gray-500); 
    line-height: 1.6;
    max-width: 340px;
    list-style-position: inside;
}
.about-us-page .foundation-content.text-right .foundation-list { margin-left: auto; padding-left: 0; }
.about-us-page .foundation-content.text-left .foundation-list { margin-right: auto; padding-left: 20px; list-style-position: outside; }
.about-us-page .foundation-list li { margin-bottom: 12px; }
.about-us-page .foundation-list strong { color: var(--color-slate-900); }

/* Small hollow dot that sits directly on the center line */
.about-us-page .foundation-dot {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(15, 23, 42, .25);
    background: #fff;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-us-page .foundation-icon-wrap { display: flex; }
.about-us-page .foundation-icon-wrap.justify-start { justify-content: flex-start; }
.about-us-page .foundation-icon-wrap.justify-end { justify-content: flex-end; }
.about-us-page .foundation-icon {
    width: 30px;
    height: 30px;
    color: rgba(47, 143, 70, .55);
    transition: color 0.4s ease, transform 0.4s ease;
}
.about-us-page .foundation-icon svg { width: 100%; height: 100%; }

/* Active States (scroll progress) */
.about-us-page .foundation-item.is-active .foundation-dot { 
    background: var(--color-primary); 
    border-color: var(--color-primary); 
    transform: scale(1.15);
}
.about-us-page .foundation-item.is-active .foundation-icon { 
    color: var(--color-primary);
}

@media (min-width: 640px) {
    .about-us-page .foundation-number { font-size: 44px; }
    .about-us-page .foundation-title { font-size: 24px; }
    .about-us-page .foundation-icon { width: 34px; height: 34px; }
}

/* Below ~768px there isn't room for a two-sided layout — collapse to a
   single left-aligned column with the line/dot on the left, icon inline
   next to the title. */
   
   
  @media (max-width:767px){

    .about-us-page .foundation-track,
    .about-us-page .foundation-progress{
        left:16px;
        transform:none;
    }

    .about-us-page .foundation-item{
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        gap:18px;
        padding:40px 0 40px 48px;
        position:relative;
    }

    .about-us-page .foundation-dot{
        position:absolute;
        left:10px;
        top:48px;
        margin:0;
    }

    /* Put title BEFORE description */
    .about-us-page .foundation-half:first-child{
        order:2;
        width:100%;
    }

    .about-us-page .foundation-half:last-child{
        order:1;
        width:100%;
    }

    .about-us-page .foundation-title-wrap{
        display:flex;
        align-items:center;
        justify-content:flex-start !important;
        gap:12px;
        margin:0;
        text-align:left !important;
    }

    .about-us-page .foundation-title{
        font-size:30px;
        line-height:1.2;
        margin:0;
    }

    .about-us-page .foundation-content,
    .about-us-page .foundation-content.text-left,
    .about-us-page .foundation-content.text-right{
        max-width:100%;
        width:100%;
        margin:0;
        text-align:left;
    }

    .about-us-page .foundation-desc,
    .about-us-page .foundation-list{
        max-width:100%;
        margin:0;
    }

    .about-us-page .foundation-list{
        padding-left:20px;
    }
}

/* ===========================================
   Mobile fix for Vision section only
   =========================================== */
@media (max-width: 767px) {

    /* Vision: show title first, then description */
    .about-us-page .foundation-item[data-index="2"]{
        display:flex;
        flex-direction:column;
        align-items:flex-start;
    }

    .about-us-page .foundation-item[data-index="2"] .foundation-half:first-child{
        order:1;   /* Title */
        width:100%;
    }

    .about-us-page .foundation-item[data-index="2"] .foundation-half:last-child{
        order:2;   /* Description */
        width:100%;
    }

    .about-us-page .foundation-item[data-index="2"] .foundation-title-wrap{
        justify-content:flex-start !important;
        text-align:left !important;
        margin-bottom:18px;
    }

    .about-us-page .foundation-item[data-index="2"] .foundation-content{
        text-align:left !important;
        margin:0 !important;
        max-width:100%;
    }

    .about-us-page .foundation-item[data-index="2"] .foundation-desc{
        max-width:100%;
        margin:0;
    }
}

/* =======================================
   Doctors
======================================= */

.about-us-page .doctor-wrapper{

    display:flex;

    justify-content:center;

    gap:32px;

    flex-wrap:wrap;

}

.about-us-page .doctor-card{

    background:#fff;

    border:1px solid #EDF1F4;

    border-radius:18px;

    padding:26px;

    width:360px;

    min-height:260px;

    transition:.3s;

    display:flex;

    flex-direction:column;

}

.about-us-page .doctor-card:hover{

    transform:translateY(-6px);

    box-shadow:0 18px 45px rgba(0,0,0,.08);

    border-color:#dfe8de;

}

.about-us-page .doctor-avatar{

    width:48px;

    height:48px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:13px;

    font-weight:700;

    flex-shrink:0;

}

.about-us-page .doctor-divider{

    height:1px;

    background:#ECECEC;

    margin:0 0 20px;

}

.about-us-page .doctor-card h3{

    font-size:24px;

    font-weight:700;

    color:#172338;

    line-height:1.35;

}

.about-us-page .doctor-card h4{

    margin-bottom:10px;

    font-size:15px;

    font-weight:700;

    color:#172338;

}

.about-us-page .doctor-card p{

    color:#6E7382;

    line-height:1.8;

    font-size:15px;

}

.about-us-page .doctor-card .text-xs{

    font-size:11px;

    letter-spacing:.12em;

    text-transform:uppercase;

    color:#7EA63E;

    margin-top:4px;

}

@media(max-width:1200px){

    .about-us-page .doctor-wrapper{

        justify-content:center;

    }

}

@media(max-width:992px){

    .about-us-page .doctor-card{

        width:100%;

        max-width:500px;

    }

}

@media(max-width:576px){

    .about-us-page .doctor-card{

        padding:22px;

    }

}


/* ==========================================================================
   CTA Banner Section
   ========================================================================== */

.about-us-page .cta-banner { 
    background: var(--color-primary-dark); 
    border-radius: 28px; 
    padding: 80px 24px; 
    text-align: center; 
    box-shadow: 0 20px 40px rgba(31, 109, 63, 0.15);
}
.about-us-page .cta-banner h2 { 
    color: #fff; 
    font-weight: 600; 
    font-size: 32px; 
    line-height: 1.25; 
    letter-spacing: -0.02em;
}
@media (min-width: 640px) {
    .about-us-page .cta-banner h2 { font-size: 48px; }
}
.about-us-page .cta-btn {
    display: inline-block; 
    margin-top: 36px; 
    border: 2px solid #fff;
    border-radius: 999px; 
    padding: 14px 40px; 
    color: #fff; 
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.about-us-page .cta-btn:hover {
    background-color: #fff;
    color: var(--color-primary-dark);
    transform: translateY(-2px);
}
.about-us-page .cta-btn:active {
    transform: translateY(0);
}

.bp-bestselling-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.bp-bestselling-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.bp-bestselling-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.bp-bestselling-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-slate-900);
    margin: 0;
}

.bp-bestselling-subtitle {
    color: var(--color-gray-500);
    font-size: 15px;
    margin-top: 6px;
}

.bp-bestselling-viewall {
    color: var(--color-accent-green);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.bp-bestselling-viewall:hover {
    color: var(--color-accent-green-hover);
    text-decoration: underline;
}

.bp-bestselling-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .bp-bestselling-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .bp-bestselling-grid {
        grid-template-columns: 1fr;
    }
}

/* Product Tile Card */
.bp-product-tile {
    background-color: #ffffff;
    border: 1px solid #EEF0F2;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.bp-product-tile:hover {
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
    transform: translateY(-4px);
    border-color: rgba(47, 143, 70, 0.1);
}

.bp-product-tile-image-box {
    background-color: #F3F4F6;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bp-product-tile-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.bp-product-tile:hover .bp-product-tile-image {
    transform: scale(1.05);
}

.bp-product-tile-content {
    padding: 24px;
}

.bp-product-tile-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #F59E0B;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.bp-product-tile-rating svg {
    width: 14px;
    height: 14px;
    fill: #F59E0B;
}

.bp-product-tile-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-slate-900);
    margin: 0 0 6px;
    line-height: 1.4;
}

.bp-product-tile-desc {
    font-size: 13px;
    color: var(--color-gray-500);
    margin: 0 0 18px;
    line-height: 1.5;
}

.bp-product-tile-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.bp-product-tile-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-slate-900);
}

.bp-product-tile-cart {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-accent-green);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.bp-product-tile-cart:hover {
    background-color: var(--color-accent-green-hover);
    transform: scale(1.05);
}

.bp-product-tile-cart:active {
    transform: scale(0.95);
}

.bp-product-tile-cart svg {
    width: 16px;
    height: 16px;
}

/* ============================================================
   Discover Our Products section
   Plain CSS — intentionally NOT relying on Tailwind arbitrary
   utilities, so it always applies regardless of JIT/build state.
   ============================================================ */

#container-height-ourproducts
{
    padding-top: 10px;
}

.bp-products-section {
    background-color: #F9FAFB;
    padding: 80px 0;
}

@media (min-width: 1024px) {
    .bp-products-section {
        padding: 112px 0;
    }
}

.bp-products-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.bp-products-heading {
    margin-bottom: 56px;
}

.bp-products-title {
    font-size: 42px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.bp-products-subtitle {
    color: #6B7280;
    font-size: 18px;
    margin-top: 8px;
}

.bp-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 1024px) {
    .bp-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bp-product-image-box {
    width: 100%;
    height: 400px;              /* pick to match your design; adjust as needed */
    border-radius: 22px;
    overflow: hidden;
    background-color: #F3F4F6;  /* fallback while image loads */
}

.bp-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px !important;
    border: none !important;
}

/* -- content card -- */

.bp-product-content {
    background-color: #fff;
    border-radius: 22px;
    padding: 32px;
    margin-top: 24px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.bp-product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.bp-product-title {
    font-size: 28px;
    font-weight: 700;
    color: #4F7F1C;
    margin: 0;
}

.bp-product-link-arrow {
    color: #4F7F1C;
    font-size: 20px;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.bp-product-desc {
    color: #6B7280;
    line-height: 32px;
    margin-top: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bp-product-desc.bp-expanded {
    -webkit-line-clamp: unset;
    display: block;
}

.bp-product-toggle {
    margin-top: 24px;
    font-weight: 600;
    color: #4F7F1C;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* Card Container Styles */
.bp-purpose-card {
    background-color: #4B6839!important;
    border-radius: 1rem;
    padding: 1.5rem;
    color: #ffffff;
    transition: transform 0.2s ease-in-out;
}

.bp-purpose-card:hover {
    transform: translateY(-2px);
}

/* Icon Container */
.bp-purpose-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Rounded Corner Image */
.bp-purpose-image {
    border-radius: 1.25rem;
    overflow: hidden;
    height: 100%;
}

.bp-purpose-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/*=========================================
    BioPhoenix Blog Section
=========================================*/

.bp-blog-section{
    background:#548D3A;
    padding:90px 0;
    width:100%;
}

.bp-blog-header{
    max-width:780px;
    margin:0 auto 70px;
    text-align:center;
}

.bp-blog-badge{
    display:inline-block;
    padding:10px 28px;
    border-radius:50px;

    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.25);

    color:#fff;

    font-size:15px;
    font-weight:600;

    margin-bottom:20px;
}

.bp-blog-title{
    color:#fff;
    font-size:44px;
    line-height:1.25;
    font-weight:700;
    max-width:850px;
    margin:0 auto;
}

.bp-blog-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    padding:22px;
    height:100%;
    display:flex;
    flex-direction:column;
    transition:.35s ease;
    box-shadow:0 12px 30px rgba(0,0,0,.10);
}

.bp-blog-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.16);
}

.bp-blog-category{

    color:#555;

    font-weight:600;

    transition:.3s;

}

.bp-blog-category:hover{

    color:#548D3A;

}

.bp-read-more{

    color:#666;

    font-weight:600;

    transition:.3s;

}

.group:hover .bp-read-more{

    color:#548D3A;

}

/*==========================
Responsive
==========================*/

@media (max-width:992px){

    .bp-blog-section{

        padding:70px 0;

    }

    .bp-blog-title{

        font-size:40px;

    }

}

@media (max-width:768px){

    .bp-blog-title{

        font-size:32px;

    }

    .bp-blog-header{

        margin-bottom:45px;

    }

}

.theme-container{
    max-width:1320px;
    margin:0 auto;
    padding:0 24px;
}

/* Header */

/* ==========================================================
   BioPhoenix Responsive Hero Slider
========================================================== */

.hero-section {
    position: relative;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.hero-section .h5_hero_slider {
    position: relative;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.hero-section .swiper-wrapper {
    width: 100%;
    height: auto !important;
    align-items: flex-start;
}

.hero-section .swiper-slide {
    flex-shrink: 0;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.hero-section .swiper-slide img {
    display: block;
    width: 100%;
    height: auto !important;
    max-width: 100%;
    margin: 0;
    padding: 0;
    object-fit: contain;
    object-position: center;
    user-select: none;
    -webkit-user-drag: none;
}

/* Navigation buttons */
.hero-section .h5-hero-prev,
.hero-section .h5-hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;

    width: clamp(32px, 4vw, 50px);
    height: clamp(32px, 4vw, 50px);
    padding: clamp(8px, 1vw, 14px);

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.16);
    cursor: pointer;
    transition: 0.3s ease;
}

.hero-section .h5-hero-prev {
    left: clamp(7px, 2.5vw, 30px);
}

.hero-section .h5-hero-next {
    right: clamp(7px, 2.5vw, 30px);
}

.hero-section .h5-hero-prev svg,
.hero-section .h5-hero-next svg {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-section .h5-hero-prev svg path,
.hero-section .h5-hero-next svg path {
    stroke: #8bc33d !important;
}

.hero-section .h5-hero-next svg {
    transform: scaleX(-1);
}

.hero-section .h5-hero-prev:hover,
.hero-section .h5-hero-next:hover {
    background: #8bc33d;
    transform: translateY(-50%) scale(1.06);
}

.hero-section .h5-hero-prev:hover svg path,
.hero-section .h5-hero-next:hover svg path {
    stroke: #ffffff !important;
}

/* Pagination */
.hero-section .h5-hero-pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: clamp(5px, 1.5vw, 18px) !important;
    z-index: 20;
    line-height: normal;
}

.hero-section .swiper-pagination-bullet {
    width: clamp(6px, 0.7vw, 10px);
    height: clamp(6px, 0.7vw, 10px);
}

.hero-section .swiper-pagination-bullet-active {
    width: clamp(18px, 2vw, 32px) !important;
    border-radius: 20px;
    background: #8bc33d !important;
}

/* Mobile controls */
@media (max-width: 576px) {
    .hero-section .h5-hero-prev,
    .hero-section .h5-hero-next {
        width: 34px;
        height: 34px;
        padding: 9px;
    }

    .hero-section .h5-hero-prev {
        left: 8px;
    }

    .hero-section .h5-hero-next {
        right: 8px;
    }
}










/* Force BioPhoenix navbar styling regardless of legacy sticky/scroll classes */
#h5-header,
#h5-header.sticky,
#h5-header.sticky-menu,
#h5-header.fixed-header,
#h5-header.scrolled,
#h5-header .header-wrapper {
    background-color: transparent !important;
}

#h5-header header {
    background-color: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

#h5-header ul li a {
    color: #1B1B1B !important;
}

#h5-header ul li a:hover,
#h5-header ul li a.active {
    color: #8BC33D !important;
}


.h5-hero-pagination .swiper-pagination-bullet-active {
    background-color: #8BC33D !important;
    width: 32px !important;
}


.custom-heading {
    font-size: 65px;
    line-height: 70px;
    letter-spacing: -0.03em;
}
.custom-heading span:first-child {
    color: #fff;
    background: linear-gradient(
        90deg,
        #794aff 0%,
        rgba(121, 74, 255, 0.15) 100%
    );
    text-transform: uppercase;
    padding: 0px 10px;
    margin-left: 5px;
}
.custom-heading span:last-child {
    font-style: italic;
}

.testimonial_bg {
    background-image: url(images/testimonial-bg.webp);
}
.service_image {
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
}
.svg-color svg {
    color: #facc15;
}
.fill-yellow {
    color: #facc15 !important;
}
.fill-gray {
    color: #9ca3af;
}
svg.active {
    color: #ff002a;
}
.three-line-limit {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.custom_style {
    background: linear-gradient(
        270deg,
        #794aff 50%,
        rgba(121, 74, 255, 0) 90.03%
    );
}

.cart-qty-box {
    width: 50px !important;
}

.custom-single-product-swiper {
    --swiper-navigation-color: #fff !important;
    --swiper-pagination-color: #fff !important;
}

.inner_layout_footer {
    background: linear-gradient(90deg, #794aff 0%, #f3f4f9 63.23%) !important;
}

.remember-me-checkbox {
    animation-delay: 0.8s !important;
}

.service-description-line-clamp {
    -webkit-line-clamp: 3 !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.max_height_none {
    max-height: none !important;
}

.custom_swiper_wrapper {
    transition-duration: 0ms !important;
    transform: translate3d(-223.333px, 0px, 0px) !important;
    transition-delay: 0ms !important;
}

.custom_partner_swiper_slide {
    width: 173.333px !important;
    margin-right: 50px !important;
}

.testimonial-section{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(images/testimonials-home-bg.png);
}

.testimonial-shape-bg{
    background: linear-gradient(180deg, rgba(255, 64, 95, 0.05) 0%, rgba(255, 32, 69, 0) 100%);

}


@media screen and (max-width: 768px) {
    .custom-heading {
        font-size: 54px;
        line-height: 60px;
    }
}
@media screen and (max-width: 425px) {
    .custom-heading {
        font-size: 36px;
        line-height: 46px;
    }
    .inner_layout_footer {
        background: linear-gradient(90deg, #794aff 0%, #f3f4f9 96.23%) !important;
    }
}



