/* ==========================================================================
   INGREDIENT DETAIL PAGE
   ========================================================================== */

.ingredient-detail-page {
    padding-top: var(--header-height, 100px);
}

/* ==============================
   1. HERO / OVERVIEW SECTION
   ============================== */
/* .ing-detail-hero {
    padding-top: clamp(60px, 8vw, 120px);
} */

.ing-detail-hero__inner {
    display: flex;
    flex-wrap: wrap;
    border-radius: 16px;
    overflow: hidden;
    background-color: #f3f3f3; /* Pale beige background */
    min-height: 600px;
}

.ing-detail-hero__left {
    flex: 1;
    padding: clamp(40px, 4vw, 100px);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: end;
    min-width: 300px;
}

.ing-detail-hero__swirl {
    position: absolute;
    top: -20%;
    left: 0%;
    width: 100%;
    height: 120%;
    object-fit: contain;
    pointer-events: none;
    z-index: 0;
}

.lipid-text-block .bio-container{
    padding: var(--space-lg) var(--space-xl);
}

@media (max-width:768px){
    .lipid-text-block .bio-container{
        padding: var(--space-lg) var(--space-md);
    }
}

.ing-detail-hero__content {
    position: relative;
    z-index: 1;
}

.ing-detail-hero__title {
    font-size: clamp(40px, 5vw, 50px);
    color: #00684A; /* Primary green */
    font-weight: 400;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.ing-detail-hero__subtitle {
    font-size: clamp(16px, 1.56vw, 18px);
    color: var(--color-black);
    font-weight: 400;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 1.5rem;
    display: inline-block;
}

.ing-detail-hero__desc {
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.4;
    color: var(--color-black);
}

.ing-detail-hero__right {
    flex: 1;
    min-width: 300px;
    max-height: 600px;
    position: relative;
}

.ing-detail-hero__right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: top;

}


/* ==============================
   COMMON TAG & TEXT BLOCKS
   ============================== */
.ing-detail-tag-wrap {
    margin-bottom: 2rem;
}

.ing-detail-text-block {
    max-width: 1200px;
}

.ing-detail-text-block p {
    font-size: clamp(18px, 1.56vw, 20px);
    line-height: 1.4;
    color: var(--color-black);
    margin-bottom: 1.5rem;
}

.ing-detail-text-block em {
    font-style: italic;
    color: #666;
}


/* ==============================
   2. CO-CREATE SECTION
   ============================== */
    .ing-detail-cocreate {
        padding: 64px 0 0;
    }

    .ing-detail-cocreate .bio-container{
        padding-top: 0;
        padding-bottom: 0;
    }

.ing-detail-cocreate__inner {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.bio-section--padding .bio-container{
    padding: var(--space-section) var(--space-xl);
}

.ing-detail-cocreate__left {
    flex: 1;
    max-width: 520px;
}

.ing-detail-cocreate__title {
    font-size: clamp(32px, 3.2vw, 40px);
    line-height: 1.15;
    color: #00684A;
    font-weight: 400;
    font-family: var(--font-primary);
    margin: 0;
}

.ing-detail-cocreate__right {
    flex: 1;
    max-width: 635px;
}

.ing-detail-cocreate__desc {
    font-size: clamp(16px, 1.2vw, 18px);
    line-height: 1.6;
    color: var(--color-black, #1a1a1a);
    margin: 0;
    font-family: var(--font-primary);
}

@media (max-width: 900px) {
    .ing-detail-cocreate__inner {
        flex-direction: column;
        gap: 25px;
    }
    .ing-detail-cocreate__left,
    .ing-detail-cocreate__right {
        max-width: 100%;
        padding-top: 0;
    }
}


/* ==============================
   3. APPLICATION SECTION
   ============================== */
.ing-detail-application {
    padding: 64px 0 0px;
}

.ing-detail-application .bio-container{
    padding-top: 0;
    padding-bottom: 0;
}

.ing-app-card {
    background-color: #F4F5E8;
    border: 1px solid rgba(0, 104, 74, 0.2);
    border-radius: 20px;
    padding: clamp(40px, 5vw, 80px) 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.ing-app-card-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.ing-app-card-cols-5 {
    grid-template-columns: repeat(5, 1fr);
}

.ing-app-card-cols-6 {
    grid-template-columns: repeat(6, 1fr);
}

.ing-app-card-cols-7 {
    grid-template-columns: repeat(7, 1fr);
}

.ing-app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ing-app-icon {
    margin-bottom: 1.5rem;
    background-color: transparent;
}

.ing-app-item p {
    font-size: clamp(18px, 1.56vw, 20px);
    line-height: 1.4;
    color: var(--color-black);
    font-weight: 400;
    margin: 0;
}

@media (max-width: 1200px) {
    .ing-app-card-cols-5,
    .ing-app-card-cols-6,
    .ing-app-card-cols-7 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .ing-app-card,
    .ing-app-card-cols-4,
    .ing-app-card-cols-5,
    .ing-app-card-cols-6,
    .ing-app-card-cols-7 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .ing-app-card,
    .ing-app-card-cols-4,
    .ing-app-card-cols-5,
    .ing-app-card-cols-6,
    .ing-app-card-cols-7 {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ==============================
   4. SUPPLY CHAIN SECTION
   ============================== */
.ing-detail-supply {
    padding: 75px 0;
}

.ing-detail-supply .bio-container{
    padding-top: 0;
    padding-bottom: 0;
}

.ing-detail-supply__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(40px, 6vw, 80px);
}

.ing-detail-supply__image {
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
}

.ing-detail-supply__image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 24px;
}

.ing-detail-supply__content {
    flex: 1;
}

.ing-detail-supply__desc {
    font-size: clamp(16px, 1.2vw, 18px);
    line-height: 1.6;
    color: var(--color-black, #1a1a1a);
    margin: 0;
    font-family: var(--font-primary);
}

@media (max-width: 900px) {
    .ing-detail-supply__inner {
        flex-direction: column;
        gap: 30px;
    }
    .ing-detail-supply__image,
    .ing-detail-supply__content {
        max-width: 100%;
        width: 100%;
    }
}


/* ==============================
   6. CLINICAL OUTCOMES SECTION
   ============================== */
.ing-detail-clinical {
    padding: 64px 0 0;
}

.ing-detail-clinical .bio-container{
    padding-top: 0;
    padding-bottom: 0;
}

.clinical-outcomes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.clinical-outcomes-swiper {
    position: relative;
    padding: 10px 0 20px 0;
    overflow: hidden;
}

.clinical-outcomes-swiper .swiper-wrapper {
    align-items: stretch;
}

.clinical-outcomes-swiper .swiper-slide {
    height: auto;
    display: flex;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 0.4;
    transform: scale(0.96);
}

.clinical-outcomes-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

.clinical-outcome-card {
    border: 1px solid rgba(0, 104, 74, 0.25);
    border-radius: 24px;
    padding: clamp(30px, 3.5vw, 45px);
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    min-height: 400px;
}

.clinical-outcome-card--full {
    grid-column: 1 / -1;
}

.clinical-swiper-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 35px;
}

.clinical-prev-btn,
.clinical-next-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #00684A;
    background: #ffffff;
    color: #00684A;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.2s;
    user-select: none;
    z-index: 10;
}

.clinical-prev-btn:hover,
.clinical-next-btn:hover {
    background: #00684A;
    color: #ffffff;
    transform: scale(1.05);
}

.clinical-prev-btn.swiper-button-disabled,
.clinical-next-btn.swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.clinical-swiper-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
}

.clinical-swiper-pagination .swiper-pagination-bullet {
    background: rgba(0, 104, 74, 0.3);
    opacity: 1;
    width: 10px;
    height: 10px;
    margin: 0 4px;
    border-radius: 50%;
    transition: background 0.3s, width 0.3s, border-radius 0.3s;
}

.clinical-swiper-pagination .swiper-pagination-bullet-active {
    background: #00684A;
    width: 26px;
    border-radius: 6px;
}

.clinical-outcome-card__title {
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.3;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-family: var(--font-primary);
}

.clinical-outcome-card__subtitle {
    font-size: clamp(13px, 0.95vw, 15px);
    color: #00684A;
    font-weight: 400;
    margin-bottom: 24px;
    font-family: var(--font-primary);
    letter-spacing: 0.01em;
}

.clinical-outcome-card__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.clinical-outcome-card__stats--4,
.clinical-outcome-card__stats--2x2,
.clinical-outcome-card__stats:has(.clinical-stat-box:nth-child(4)) {
    grid-template-columns: repeat(2, 1fr);
}

.clinical-outcome-card__stats--4-cols {
    grid-template-columns: repeat(4, 1fr) !important;
}

.clinical-outcome-card__note {
    margin-top: 24px;
    font-size: clamp(14px, 0.95vw, 15px);
    line-height: 1.55;
    color: #4a5568;
    font-family: var(--font-primary);
}

@media (max-width: 991px) {
    .clinical-outcome-card__stats--4-cols {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

.clinical-outcome-card__list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.clinical-outcome-card__list li {
    position: relative;
    font-size: clamp(14px, 1vw, 16px);
    line-height: 1.4;
    color: #333333;
    font-family: var(--font-primary);
    background-color: #F4F5E8;
    border-radius: 12px;
    padding: 16px 16px 16px 36px;
}

.clinical-outcome-card__list li::before {
    content: "✓";
    position: absolute;
    left: 14px;
    top: 16px;
    color: #00684A;
    font-weight: 700;
    font-size: 14px;
}

.clinical-stat-box {
    background-color: #F4F5E8;
    border-radius: 16px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.clinical-stat-box__number {
    font-size: clamp(28px, 2.5vw, 38px);
    font-weight: 600;
    color: #00684A;
    line-height: 1.1;
    margin-bottom: 8px;
    font-family: var(--font-primary);
}

.clinical-stat-box__label {
    font-size: clamp(13px, 1vw, 15px);
    line-height: 1.3;
    color: #333333;
    font-weight: 400;
    font-family: var(--font-primary);
}

.clinical-stat-box__sub {
    font-size: clamp(11px, 0.85vw, 13px);
    color: #666666;
    margin-top: 4px;
    font-weight: 400;
    font-family: var(--font-primary);
}

@media (max-width: 991px) {
    .clinical-outcomes-grid {
        grid-template-columns: 1fr;
    }
    .clinical-outcome-card--full {
        grid-column: auto;
    }
}

@media (max-width: 576px) {
    .clinical-outcome-card__stats,
    .clinical-outcome-card__stats--4-cols {
        grid-template-columns: 1fr !important;
    }
    .clinical-stat-box {
        padding: 20px;
    }
}

.clinical-item {
    padding: 2rem 0;
    font-size: clamp(18px, 1.56vw, 20px);
    line-height: 1.4;
    color: var(--color-black);
}

/* ==============================
   7. SPECIALTY LIPID LAYOUT
   ============================== */
/* .lipid-hero__inner {
    background-color: #F4F5E8 !important;
} */
.lipid-hero__title {
    color: #00684A !important;
}
.lipid-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.lipid-card {
    background-color: #F3F3F3;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.5s ease-in-out;
}

.lipid-card:hover {
    background-color: #F4F5E8;
    transform: scale(1.02);
    transition: all 0.5s ease-in-out;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15);

}

.lipid-card__image {
    width: 100%;
    /* height: 250px; */
}
.lipid-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lipid-card__content {
    padding: 30px;
}
.lipid-card__content h3 {
    font-size: clamp(24px, 1.56vw, 28px);
    color: #00684A;
    margin-bottom: 15px;
    font-weight: 400;
}
.lipid-card__content p {
    font-size: clamp(16px, 1.56vw, 18px);
    line-height: 1.4;
    color: #1a1a1a;
    margin: 0;
}

@media (max-width: 991px) {
    .lipid-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .lipid-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ==============================
   8. LIPID ACCORDION
   ============================== */
.lipid-accordion__item {
    border-bottom: 1px solid rgba(0, 104, 74, 0.3);
    transition: background-color 0.35s ease, border-color 0.35s ease;
}

.lipid-accordion__item.active {
    padding-bottom: 25px;
}

.lipid-accordion__item:last-child {
    border-bottom: 0px solid rgba(0, 104, 74, 0.3);
} 

.lipid-accordion__header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    padding: 20px 0px;
    cursor: pointer;
    text-align: left;
    /* border-radius: var(--radius-sm-md, 8px); */
    transition: background-color 0.35s ease, color 0.35s ease, padding 0.35s ease;
}

.lipid-accordion__header h3 {
    font-size: clamp(24px, 1.56vw, 28px);
    font-weight: 400;
    color: #1a1a1a;
    margin: 0;
    font-family: var(--font-primary);
    transition: color 0.35s ease, transform 0.35s ease;
}

.lipid-accordion__header .icon {
    font-size: clamp(22px, 1.56vw, 24px);
    color: #00684A;
    font-weight: 400;
    transition: transform 0.35s ease, color 0.35s ease;
    padding-right: 10px;
}

/* Hover State Animations */
.lipid-accordion__header:hover {
    background-color: rgba(0, 104, 74, 0.08);
}
.lipid-accordion__item.active .lipid-accordion__header:hover{
    background-color: transparent;
}
.lipid-accordion__header:hover h3 {
    color: #00684A;
    transform: translateX(10px);
}

.lipid-accordion__item.active .lipid-accordion__header:hover h3{
    transform: translateX(0px);
    
}

.lipid-accordion__header:hover .icon {
    color: #00684A;
    transform: scale(1.2);
}

/* Active Open State */
/* .lipid-accordion__item.active .lipid-accordion__header {
    background-color: rgba(0, 104, 74, 0.05);
} */

.lipid-accordion__item.active .lipid-accordion__header h3 {
    color: #00684A;
    font-weight: 400;
}

.lipid-accordion__item.active .icon {
    transform: rotate(45deg) scale(1.1);
    color: #00684A;
}

.lipid-accordion__content {
    max-height: 0;
    overflow: hidden;
    padding: 0 5px;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease-in-out;
}

.lipid-accordion__item.active .lipid-accordion__content {
    padding-bottom: 25px;
    opacity: 1;
}

.lipid-accordion__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.lipid-accordion__tags .pill {
    padding: 8px 16px;
    border: 1px solid #00684A;
    border-radius: 20px;
    font-size: clamp(14px, 1.56vw, 18px);
    color: #00684A;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

@media (max-width: 992px) {
    .lipid-accordion__tags .pill{
        padding: 6px 10px;
    }
}

.lipid-accordion__tags .pill:hover {
    background-color: #00684A;
    color: #ffffff;
}
.lipid-accordion__content p {
    font-size: clamp(16px, 1.56vw, 18px);
    color: #1a1a1a;
    margin: 0;
}

.lipid-accordion__content p:nth-child(2),
.lipid-accordion__content p[style*="font-size: 14px"] {
    font-size: 14px !important;
    color: #1a1a1a;
    margin-top: 10px;
}

/* ==============================
   9. FORMULATION CONCEPTS
   ============================== */
.formulation-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}
.formulation-card {
    background-color: #F3f3f3;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all .5s ease-in-out;
}

.formulation-card:hover {
    background-color: #f4f5e8;
    transform: scale(1.01);
    transition: all .5s ease-in-out;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
}

.formulation-card__image {
    width: 100%;
    /* aspect-ratio: 1.1 / 1; */
}
.formulation-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.formulation-card__title {
    padding: 20px 10px;
    text-align: center;
    font-size: clamp(18px, 1.56vw, 22px);
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.2;
}
@media (max-width: 991px) {
    .formulation-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 767px) {
    .formulation-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==============================
   10. PROTEIN ACCORDION (OUR PROTEIN PORTFOLIO)
   ============================== */
.protein-accordion {
    max-width: 900px;
    margin-top: 30px;
}
.protein-accordion__item {
    border-bottom: 2px solid #71b49e;
}
.protein-accordion__item:first-child {
    border-top: 2px solid #71b49e;
}
.protein-accordion__item:last-child {
    border-bottom: 2px solid #71b49e;
}
.protein-accordion__header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 30px 0;
    cursor: pointer;
    text-align: left;
}
.protein-accordion__header h3 {
    font-size: clamp(22px, 1.56vw, 24px);
    font-weight: 400;
    color: #1a1a1a;
    margin: 0;
}
.protein-accordion__header .icon {
    font-size: 32px;
    color: #00684A;
    font-weight: 300;
    transition: transform 0.3s ease;
}
.protein-accordion__item.active .icon {
    transform: rotate(45deg); /* turns + into x */
}
.protein-accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.protein-accordion__item.active .protein-accordion__content {
    max-height: 500px; /* arbitrary large value */
    padding-bottom: 30px;
}
.protein-accordion__applications {
    font-size: 12px;
    color: #00684A;
    margin-top: 15px;
}

/* ==============================
   11. PERFORMANCE NUTRITION ACTIVES
   ============================== */
.performance-cards-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}
.performance-card {
    display: flex;
    background-color: #f4f4f4;
    border-radius: 20px;
    overflow: hidden;
    align-items: stretch;
    transition: all .3s ease-in-out;
}

.performance-card:hover {
    background-color: #f4f5e8;
    transform: scale(1.01);
    transition: all .3s ease-in-out;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}

.performance-card__content {
    flex: 1.8;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.performance-card__content h3 {
    font-size: clamp(24px, 1.56vw, 28px);
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 15px;
}
.performance-card__desc {
    font-size: clamp(18px, 1.56vw, 20px);
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 25px;
}
.performance-card__app-title {
    font-size: 16px;
    color: #1a1a1a;
    margin-bottom: 10px;
    display: block;
}
.performance-card__image {
    flex: 1;
    min-height: 300px;
}
.performance-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 991px) {
    .performance-card {
        flex-direction: column;
    }
    .performance-card__image {
        min-height: 250px;
    }
    .performance-card__content {
        padding: 30px;
    }
}
@media (max-width: 767px) {
    .protein-accordion__header h3 {
        font-size: clamp(18px, 1.56vw, 20px);
    }
}

/* ==============================
   12. LECITHIN OPTIONS GRID
   ============================== */
.lecithin-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.lecithin-card {
    background-color: #f4f4f4;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all .3s ease-in-out;
}
.lecithin-card:hover {
    background-color: #f4f5e8;
    transform: scale(1.02);
    transition: all .3s ease-in-out;
    /* box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15); */
}

.lecithin-card:hover h3{
    color: #00684A !important;
    transition: all .3s ease-in-out;
}

.lecithin-card__image {
    width: 100%;
}
.lecithin-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lecithin-card__content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.lecithin-card__content h3 {
    font-size: clamp(20px, 1.56vw, 24px) !important;
    color: #1a1a1a;
    font-weight: 400;
    margin-bottom: 15px;
}
.lecithin-card__content p {
    font-size: 16px;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 25px;
}
.lecithin-card__app-title {
    font-size: 12px;
    color: #1a1a1a;
    margin-bottom: 10px;
    display: block;
}
.lecithin-card__content .lipid-accordion__tags {
    margin-top: auto; /* Push tags to bottom if cards stretch */
}

/* ==============================
   13. PRESERVATION OPTIONS GRID
   ============================== */
.preservation-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.preservation-card {
    background-color: #f4f4f4;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    transition: all .3s ease-in-out;
}
.preservation-card:hover {
    background-color: #f4f5e8;
    transform: scale(1.01);
    transition: all .3s ease-in-out;
    /* box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15); */
}
.preservation-card__image {
    width: 100%;
    /* height: 240px; */
}
.preservation-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.preservation-card__content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.preservation-card__content h3 {
    font-size: clamp(24px, 1.56vw, 28px);
    color: #00684A;
    font-weight: 400;
    line-height: 1.4;
}

/* ==============================
   14. COLOR CARDS GRID
   ============================== */
.color-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(320px, 1fr));
    gap: 30px;
}

@media (max-width: 1100px) {
    .color-cards-grid {
        grid-template-columns: repeat(2, minmax(320px, 1fr));
    }
}

@media (max-width: 767px) {
    .color-cards-grid {
        grid-template-columns: repeat(1, minmax(320px, 1fr));
    }
}
.color-card {
    background-color: #f4f4f4;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    transition: all .3s ease-in-out;
    flex-direction: column;
}
.color-card:hover {
    background-color: #f4f5e8;
    transform: scale(1.01);
    transition: all .3s ease-in-out;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);

}
.color-card__image {
    width: 100%;
}
.color-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.color-card__content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.color-card__content h3 {
    font-size: clamp(24px, 1.56vw, 28px);
    color: #00684A;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 15px;
}
.color-card__content p {
    font-size: clamp(16px, 1.56vw, 18px);
    color: #1a1a1a;
    line-height: 1.5;
}

/* ==============================
   15. OUR SOLUTIONS
   ============================== */
.solutions-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.solution-card {
    display: flex;
    background-color: #f4f4f4;
    border-radius: 20px;
    overflow: hidden;
    gap: 40px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    transition: all .3s ease-in-out;
}
.solution-card:hover {
    background-color: #f4f5e8;
    transform: scale(1.01);
    transition: all .3s ease-in-out;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}
.solution-card__content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.solution-card__content h3 {
    font-size: clamp(24px, 1.56vw, 28px);
    color: #00684A;
    font-weight: 400;
    margin-bottom: 20px;
}

.solution-card:hover .solution-card__content h3{
    color: #00684A  !important;
    transition: all .3s ease-in-out;
}

.solution-card__content p {
    font-size: clamp(18px, 1.56vw, 20px);
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 30px;
}
.solution-card__app-title {
    font-size: 14px;
    color: #1a1a1a;
    margin-bottom: 10px;
    display: block;
}
.solution-card__image {
    width: 35%;
    flex-shrink: 0;
}
.solution-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .solution-card {
        flex-direction: column-reverse;
        gap: 0;
    }
    .solution-card__image {
        width: 100%;
        height: 300px;
    }
}

/* ==============================
   15. BOTANICAL SWIPER
   ============================== */
.botanical-nav {
    display: flex;
    gap: 10px;
}
.botanical-prev, .botanical-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #00684A;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.botanical-prev:hover, .botanical-next:hover {
    background-color: #00684A;
}
.botanical-prev:hover svg, .botanical-next:hover svg {
    stroke: #fff;
}
.specialty-swiper-section {
    background-color: #F3F3F3;
   padding: 75px 0;
   margin-bottom: -60px;
}

.specialty-swiper-section .bio-container{
    padding-top: 0;
    padding-bottom: 0;
}

.specialty-swiper-section .swiper-slide {
    height: auto;
}
.specialty-swiper-section .ingredient-card {
    height: 100%;
}
.specialty-swiper-btn-wrap {
    text-align: center;
    margin-top: 40px;
}
.specialty-view-all-btn {
    background-color: #00684A;
    color: #ffffff;
    padding: 14px 42px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
}
.specialty-view-all-btn:hover {
    background-color: #005039;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 104, 74, 0.25);
    color: #ffffff;
}
.botanical-swiper .swiper-slide {
    height: auto;
}
.botanical-swiper .swiper-wrapper {
    align-items: stretch;
}
.botanical-card {
    background-color: #f4f4f4;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.botanical-card__image {
    width: 100%;
}
.botanical-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.botanical-card__content {
    padding: 25px;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.botanical-card__content h3 {
    font-size: clamp(20px, 1.56vw, 24px);
    color: #1a1a1a;
    font-weight: 400;
    line-height: 1.2;
}

/* ==============================
   10. DEVELOPMENT TIMELINE
   ============================== */
.development-timeline {
    display: flex;
    flex-direction: column;
}
.dev-item {
    display: flex;
    align-items: flex-start;
    padding: clamp(20px, 2.5vw, 32px) 0;
    border-bottom: 1px solid rgba(0, 104, 74, 0.2);
    opacity: 0.22;
    transform: translate3d(22%, 0, 0);
    will-change: opacity, transform;
    transition: border-color 0.35s ease;
}
.dev-item:last-child {
    border-bottom: none;
}
.dev-item__num {
    font-size: clamp(12px, 1vw, 15px);
    color: #889890;
    font-weight: 400;
    margin-right: clamp(12px, 1.5vw, 20px);
    margin-top: 4px;
    display: inline-block;
    flex-shrink: 0;
    font-family: var(--font-primary);
}
.dev-item__title {
    font-size: clamp(26px, 2.4vw, 38px);
    color: #00684A;
    font-weight: 400;
    margin: 0;
    padding: 0;
    line-height: 1.25;
    font-family: var(--font-primary);
}

/* ==============================
   11. LIPID CTA SECTION
   ============================== */
.lipid-cta {
    position: relative;
    min-height: 580px;
    display: flex;
    background-color: #d1f2f9; /* Fallback */
    overflow: hidden;
    margin-bottom: -150px;
}
.lipid-cta__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}
.lipid-cta__inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: unset;
}
.lipid-cta__heading {
    font-size: 50px;
    color: #007350;
    line-height: 1.2;
    margin-bottom: 20px;
}
.lipid-cta__text {
    font-size: clamp(18px, 1.56vw, 20px);
    color: #1a1a1a;
    line-height: 1.5;
    margin-bottom: 30px;
    max-width: 600px;
}
.lipid-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #fff;
    color: #00684A;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.lipid-cta__btn:hover svg{
	transform: translateX(5px);
	transition: all .3s ease-in-out;
}

@media (max-width: 992px) {
    .ing-detail-hero__inner {
        flex-direction: column-reverse;
    }
    .ing-detail-hero__right {
        min-height: 400px;
    }
    .ing-detail-hero__title{
        font-size: 32px;
    }
    .ing-detail-hero__desc, .lipid-card__content p, .lipid-accordion__tags .pill{
        font-size: 14px;
    }
    .ing-detail-hero__left{
        padding: 20px;
    }
    .lipid-card__content{
        padding: 20px !important;
    }
    .lipid-card__content h3, .lipid-accordion__header h3, .formulation-card__title, .dev-item__title{
        font-size: clamp(18px, 1.56vw, 22px);
    }
    .lipid-cta__inner{
        padding: 40px 20px;
    }
    .ingredient-detail-page{
        padding-top: 50px;
    }
}

@media (max-width: 767px) {
    .lipid-cta__heading {
        font-size: 32px;
    }
}

/* ==========================================================================
   Hero Reveal Animations (Page Load)
   ========================================================================== */
.ing-detail-hero__title span {
    display: inline-block;
    opacity: 0;
    transform: translate3d(0, 50px, 0);
    will-change: transform, opacity;
}

.ing-detail-hero__desc,
.ing-detail-hero__subtitle {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    will-change: transform, opacity;
}

.ing-detail-hero__right {
    overflow: hidden;
}

.ing-detail-hero__right img {
    opacity: 0;
    transform: scale(1.2);
    will-change: transform, clip-path, opacity;
}

/* ==========================================================================
   Cards Reveal Animations (Scroll Load)
   ========================================================================== */
/* .color-card,
.lipid-card,
.formulation-card,
.solution-card,
.botanical-card{
    opacity: 0.15;
    transform: translateY(40px);
    will-change: transform, opacity;
} */

.swiper-wrapper .botanical-card, .color-card{
    opacity: 1;
    transform: unset;
}

/* ==============================
   TARGETED FUNCTIONAL SUPPORT
============================== */
.targeted-support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.targeted-support-card {
    display: flex;
    background: #f4f4f4;
    border-radius: 12px;
    overflow: hidden;
    align-items: stretch;
    min-height: 200px;
    transition: background-color 0.3s ease;
}

.targeted-support-card:hover {
    background-color: #f4f5e8;
}

.targeted-support-card__img {
    flex: 0 0 35%;
}

.targeted-support-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.targeted-support-card__content {
    padding: 25px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.targeted-support-card__title {
    font-size: 22px;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.targeted-support-card:hover .targeted-support-card__title {
    color: #00684A;
}

/* Make first card active by default as per design, or just let hover do it. 
   We will add .active class to the first one just in case */
.targeted-support-card.active {
    background-color: #f4f5e8;
}
.targeted-support-card.active .targeted-support-card__title {
    color: #00684A;
}

.targeted-support-card__desc {
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .targeted-support-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 576px) {
    .targeted-support-card {
        flex-direction: column;
    }
    .targeted-support-card__img {
        flex: none;
        height: 200px;
    }
}

/* ==============================
   14. PRODUCT CONCEPTS GRID
   ============================== */
.product-concepts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.product-concept-card {
    background-color: #ffffff;
    border: 1px solid rgba(0, 104, 74, 0.2);
    border-radius: 20px;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.product-concept-card:hover {
    transform: translateY(-5px);
    border-color: #00684A;
    box-shadow: 0 12px 30px rgba(0, 104, 74, 0.12);
}

.product-concept-card__tag {
    font-size: 13px;
    font-weight: 400;
    color: #00684A;
    background: #e8f4f0;
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}

.product-concept-card__title {
    font-size: clamp(20px, 1.6vw, 24px);
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 14px;
}

.product-concept-card__desc {
    font-size: 16px;
    color: #4a4a4a;
    line-height: 1.6;
    margin: 0;
}

/* Clinically Studied / Featured Badge */
.ingredient-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #009e60;
    color: #ffffff;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 6px;
    line-height: 1.2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.ingredient-badge__dot {
    width: 6px;
    height: 6px;
    background-color: #C5DF55;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.ingredient-card:hover .ingredient-badge {
    transform: translateY(-2px);
}

/* On hover ONLY: hide Learn More and prevent click when no valid link is available */
.ingredient-card:hover .ingredient-card__link[href="#"],
.ingredient-card:hover .ingredient-card__link[href=""],
.ingredient-card:hover .ingredient-card__link[href="javascript:void(0)"],
.ingredient-card:hover .ingredient-card__link[href="javascript:;"],
.ingredient-card:hover .ingredient-card__link:not([href]),
.ingredient-card--no-link:hover .ingredient-card__link {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
    margin-top: 0;
    padding: 0;
    transform: translateY(10px);
}

.ingredient-card:hover:has(.ingredient-card__link[href="#"]),
.ingredient-card:hover:has(.ingredient-card__link[href=""]),
.ingredient-card:hover:has(.ingredient-card__link[href="javascript:void(0)"]),
.ingredient-card:hover:has(.ingredient-card__link[href="javascript:;"]),
.ingredient-card:hover:has(.ingredient-card__link:not([href])),
.ingredient-card--no-link:hover {
    cursor: default;
}

@media (min-width: 992px){
    .ingredient-detail-page .bio-container{
    padding-bottom: 0px;
}
}

.lipid-cta{
    margin-top: var(--space-xl);
}

/* .ingredient-detail-page .lipid-cta{
    margin-top: 0px;
} */
