﻿/* ==============================
   ABOUT US PAGE STYLES
   ============================== */

.bio-banner__bg {
    position: absolute;
    inset: 0;
    background-image: url("./images/2026/08/bio_about_us.webp");
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
}

.bio-banner {
    position: relative;
    height:600px;
    overflow: hidden;
    color: var(--color-white);
    display: flex;
    align-items: end;
    min-height: 80vh;
}

/* BANNER VISUAL */
.about-banner__visual {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.about-banner__placeholder {
    width: 100%;
    max-width: var(--content-max-card);
    aspect-ratio: 1;
    border-radius: var(--radius-lg-xl);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.about-banner__placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .about-banner__placeholder {
        max-width: 100%;
        margin-top: var(--space-lg);
    }
}

/* ABOUT SECTION (Redesigned) */
.about-section {
    background: #F4F5F1; /* matches other light sections */
    padding: 60px 0;
}

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

.about-intro-card {
    background: linear-gradient(95.14deg, rgba(0, 115, 80, 0.5) -120.97%, #F3F3F3 29.69%);
    border-radius: var(--radius-lg-xl);
    padding: 3rem 3rem;
    position: relative;
    overflow: hidden;
}

.about-intro-card__swoop {
    position: absolute;
    top: -50px;
    right: -100px;
    width: 50%;
    height: 120%;
    background-image: url('./images/2026/06/Vector-4.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
}

.about-section__content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.about-section__content .bio-title--section {
    font-size: clamp(34px, 1.56vw, 40px);
    line-height: 1.4;
    margin-bottom: 2.5rem;
    color: #222;
    font-weight: 400;
}

.about-section__text-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 950px;
}

.about-section__text-group .bio-text--body-relaxed {
    font-size: clamp(18px, 1.56vw, 20px);
    line-height: 1.4;
    color: #333;
}

@media (max-width: 768px) {
    .about-intro-card {
        padding: 3rem 2rem;
    }
    .about-section__content .bio-title--section, .bio-title--section{
        font-size: clamp(24px, 1.56vw, 28px);
    }
    .about-section__text-group .bio-text--body-relaxed, .active-item-text{
        font-size: 16px !important;
    }
    .about-timeline-new__title{
        font-size: 34px !important;
    }
    .about-timeline-new__subtitle{
        font-size: 18px !important;
    }
    .about-member-card__name{
        font-size: 24px !important;
    }
}

/* TIMELINE STACK (Redesigned) */
.about-timeline-new {
    background: radial-gradient(circle at center, #00A36C 0%, #00684A 100%);
    color: #fff;
    padding: 3rem 0; /* Reduced top/bottom padding to give more screen real estate */
    position: relative;
}

/* .about-timeline-new__top {
    margin-bottom: 2rem;
} */



.about-timeline-new__title {
    font-size: 40px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 5px;
    width: 100%;
}

.about-timeline-new__subtitle {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 0;
    width: 100%;
    max-width: 530px;
}

/* Horizontal Scroll Styles */
.timeline-scroll-wrapper {
    width: 100%;
    overflow: hidden;
    padding-left: max(5%, calc((100vw - 1200px) / 2)); /* Start aligned with bio-container */
    margin-top: 4rem;
}

.timeline-scroll-content {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    padding-right: 20vw; /* Padding at end of scroll */
    position: relative;
    height: 600px; /* Increased from 600px to give plenty of room for top and bottom content */
    align-items: center;
}

/* Continuous Track */
.timeline-continuous-track {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 14px; /* Increased to accommodate taller dashes */
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-track-base, .timeline-track-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-repeat: repeat-x;
    background-position: left center;
}

.timeline-track-base {
    background-image: 
        repeating-linear-gradient(to right, rgba(255,255,255,0.4) 0px, rgba(255,255,255,0.4) 2px, transparent 2px, transparent 100px),
        repeating-linear-gradient(to right, rgba(255,255,255,0.4) 0px, rgba(255,255,255,0.4) 2px, transparent 2px, transparent 20px);
    background-size: 100% 14px, 100% 8px;
}

.timeline-track-fill {
    width: 0%; /* Initial state for animation */
    background-image: 
        repeating-linear-gradient(to right, #DCEB94 0px, #DCEB94 2px, transparent 2px, transparent 100px),
        repeating-linear-gradient(to right, #DCEB94 0px, #DCEB94 2px, transparent 2px, transparent 20px);
    background-size: 100% 14px, 100% 8px;
}

/* Timeline Items */
.timeline-item {
    width:500px; /* Fixed width for each timeline entry */
    height: 100%;
    position: relative;
    z-index: 2;
}

.timeline-item__content {
    display: flex;
    gap: 20px;
    position: absolute;
    left: 0;
    width: 100%;
}

.timeline-item--up .timeline-item__content {
    bottom: 50%;
    padding-bottom: 2rem; /* Reduced spacing slightly to prevent cutoff */
    align-items: flex-end; /* Align bottom */
}

.timeline-item--down .timeline-item__content {
    top: 50%;
    padding-top: 2rem; /* Reduced spacing slightly to prevent cutoff */
    align-items: end; /* Align top */
}

.active-item-year {
    font-size: clamp(34px, 1.56vw, 40px);
    font-weight: 300;
    line-height: 1;
    flex-shrink: 0;
}

/* Align the text blocks carefully */
.timeline-item--up .active-item-year {
    margin-bottom: -5px; /* Visual alignment tweak */
}

.timeline-item--down .active-item-year {
    margin-top: -5px;
}

.timeline-item__info {
    flex: 1;
}

.active-item-heading {
    font-size:28px;
    color: #DCEB94;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.4;
}

.active-item-text {
    font-size: clamp(18px, 1.56vw, 20px);
    line-height: 1.4;
    color: rgba(255,255,255,0.9);
}

.timeline-item--end {
    width: 200px; /* Short item just to extend the track line */
}

@media (max-width: 768px) {
    .about-intro-card__swoop {
        display: none;
    }
    
    .timeline-scroll-wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
    }
    
    /* .timeline-scroll-content {
        height: 700px;
        padding-right: 20px;
    } */

    .timeline-item {
        width: 85vw;
        scroll-snap-align: center;
    }
    
    .timeline-track-fill {
        width: 100% !important;
    }
    
    .timeline-item__content {
        flex-direction: column;
        gap: 1rem;
    }
    .active-item-year {
        width: auto;
    }
    .timeline-item--up .timeline-item__content, .timeline-item--down .timeline-item__content{
        align-items: unset;
    }
}

/* LEADERSHIP TEAM */
.about-team {
    background: #F4F5F1; /* Updated to match new light background */
    padding: var(--space-section) 0;
}

@media (max-width:768px){
    .about-team{
        padding: var(--space-xl) 0;
    }
}

.about-team__eyebrow {
    margin-bottom: var(--space-md);
}

.about-team__title {
    margin-bottom: 3rem;
}

.about-team__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem; /* slightly larger gap */
}

.about-member-card {
    background: transparent; /* Remove old gray box */
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.about-member-card__media {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3.5 / 3.5;
    position: relative;
}

.about-member-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* Hover Overlay */
.about-member-card__hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(244, 245, 241, 0.9); /* Off-white translucent */
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 104, 74, 0.2);
    border-radius: 12px;
}

.about-member-card__media:hover .about-member-card__hover-overlay {
    opacity: 1;
}

.about-member-card__name-hover {
    font-size: 1.6rem;
    color: #00684A;
    margin-bottom: 0.25rem;
    font-weight: 400;
}

.about-member-card__role-hover {
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.about-member-card__bio-hover {
    font-size: 14px !important;
    line-height: 1.2;
    color: #444;
    flex: 1;
}

.about-member-card__social-hover {
    margin-top: auto;
}

.about-member-card__social-hover img{
    width: 30px;
    height: 30px;
}

.about-member-card__meta {
    padding: 1.5rem 0 0.5rem 0; /* Add padding below image */
    transition: opacity 0.3s ease;
}

.about-member-card:hover .about-member-card__meta {
    opacity: 0;
}

.about-member-card__name {
    font-size: clamp(24px, 1.56vw, 28px);
    color: #00684A; /* Dark green name */
    margin-bottom: 0.25rem;
    font-weight: 400;
} 

.about-member-card__role {
    color: #333;
    font-size: 1rem;
}

.about-member-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
    z-index: 1200;
}

.about-member-panel {
    position: fixed;
    bottom: 0;
    right: 0;
    width: min(570px, 100vw);
    height: 75vh;
    background: var(--color-footer-bg);
    color: var(--color-white);
    transform: translateX(100%);
    transition: transform var(--transition-normal-in-out);
    z-index: 1201;
    border-radius: 10px 0 0 0;
    /* overflow: hidden; */
}

.about-member-panel__close {
    position: absolute;
    top:0;
    left: calc(-1 * var(--space-lg));
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: var(--color-footer-bg);
    color: var(--color-white);
    font-size: 22px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.about-member-panel__content {
    position: relative;
    padding: 160px var(--space-xl) var(--space-lg);
    z-index: 2;
}

.about-member-panel__name {
    color: var(--color-white);
    font-size: var(--font-size-xl-sm);
    margin-bottom: var(--space-2xs);
}

.about-member-panel__role {
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.about-member-panel__bio {
    color: var(--color-white);
    max-width: 360px;
}

.about-member-panel__socials {
    display: flex;
    gap: var(--space-md-sm);
    margin-top: var(--space-lg);
}

.about-member-panel__socials a {
    color: var(--color-white);
    text-decoration: none;
    font-size: var(--font-size-md);
    font-weight: 600;
}

.about-member-panel::after {
    content: "";
    position: absolute;
    right: -160px;
    bottom: -180px;
    width: 620px;
    height: 360px;
    border-radius: 50%;
    border: 42px solid rgba(194, 219, 119, 0.9);
    transform: rotate(-16deg);
    opacity: 0.9;
}

.about-member-panel::before {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -120px;
    width: 450px;
    height: 240px;
    border-radius: 50%;
    background: #0f7a5a;
    transform: rotate(-14deg);
    z-index: 1;
}

body.about-member-open .about-member-overlay {
    opacity: 1;
    pointer-events: auto;
}

body.about-member-open .about-member-panel {
    transform: translateX(0);
}

body.about-member-open {
    overflow: hidden;
}

@media (max-width: 1180px) {
    .about-team__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .about-team__grid {
        grid-template-columns: 1fr;
    }

    .about-member-card__media {
        aspect-ratio: 10  / 11;
    }
}



/* VALUES ACCORDION */
.about-values {
    overflow: hidden;
    margin-bottom: -165px;
}

.about-values__layout {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr);
    gap: var(--space-lg);
    align-items: stretch;
    padding-bottom: 0px;
    padding-right: 0px;
    padding-top: 0px;
}

.about-values__left {
    border-radius: var(--radius-lg);
    padding-top: 80px;
    position: relative;
    overflow: visible;
}

.about-values__swoop {
    position: absolute;
    left: -70px;
    bottom: 20%;
    width: 150%;
    height: 100%;
    background-image: url('./images/2026/06/Vector-5.svg');
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 768px) {
    .about-values__swoop {
        width: 150%;
        bottom: -60%;
        left: -10%;
    }
}

.about-values__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-md);
}

.about-values__title {
    max-width: 360px;
    position: relative;
    z-index: 2;
}

.about-values__right {
    background: rgba(243, 243, 243, 1);
    overflow: hidden;
    padding: 80px 0px 140px 80px;
}

.about-value-item {
    border-bottom: 1px solid #b9b9b9;
    padding: var(--space-lg-md) 0px;
    transition: all .3s ease-in-out;
    cursor: pointer;
}

.about-value-item__trigger:hover{
    transform: translateX(10px);
    transition: all .3s ease-in-out;
}

.about-value-item:last-child {
    border-bottom: 0;
}

.about-value-item__trigger {
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    text-align: left;
    transition: all .5s ease-in-out;
    cursor: pointer;
}

.about-value-item__icon {
    width: 44px;
    height: 44px;
    /* background-image: url('./images/2026/06/Vector-6.svg'); */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

/* .about-value-item.is-open .about-value-item__icon {
    transform: rotate(90deg);
} */

.about-value-item__heading {
    font-size: clamp(34px, 3vw, 38px);
    line-height: 1.1;
    color: #1f1f1f;
    font-weight: 400;
    font-family: var(--font-primary);
}

.about-value-item__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease-in-out, padding 0.4s ease-in-out;
    padding: 0 var(--space-lg) 0 calc(var(--space-lg) + 20px);
}

.about-value-item__panel > * {
    overflow: hidden;
}

.about-value-item__text {
    color: #1f1f1f;
    max-width: 720px;
    margin: 0;
}

.about-value-item.is-open .about-value-item__panel {
    grid-template-rows: 1fr;
    padding-top: var(--space-md-sm);
    padding-bottom: var(--space-md);
}

.about-value-item.is-open .about-value-item__trigger:hover{
    transform: translateX(0px);
    transition: all .5s ease-in-out;
}

@media (max-width: 640px) {
    .about-member-panel {
        width: 100vw;
    }

    .about-member-panel__close {
        left: auto;
        right: var(--space-md);
        top: var(--space-md);
    }

    .about-member-panel__content {
        padding: 96px var(--space-md) var(--space-lg);
    }

    .about-values{
        margin-bottom: -50px;
    }
}

@media (max-width: 1024px) {
    .about-values__layout {
        grid-template-columns: 1fr;
    }

    .about-values__left {
        min-height: 320px;
    }

    .about-values__title {
        max-width: 460px;
    }

    .about-value-item__heading {
        font-size: clamp(30px, 5vw, 42px);
    }
}

@media (max-width: 768px) {
    .about-values__left {
        min-height: 260px;
    }

    .about-values__left::after {
        width: 420px;
        height: 290px;
        left: -130px;
        bottom: -200px;
        border-width: 22px;
    }

    .about-values__layout{
        padding-right: 20px;
    }

    .about-values__right {
        padding: 40px 20px;
    }

    .about-value-item {
        padding: var(--space-md) 0;
    }

    .about-value-item__trigger {
        padding: 0;
        gap: var(--space-md-sm);
    }

    .about-value-item__icon {
        width: 32px;
        height: 32px;
        border-width: 0;
    }

    .about-value-item__heading {
        font-size: clamp(22px, 5vw, 32px);
    }

    .about-value-item__panel {
        padding: 0 0 0 calc(var(--space-md-sm) + 32px);
    }

    .about-value-item.is-open .about-value-item__panel {
        padding-top: var(--space-sm);
        padding-bottom: var(--space-sm);
    }
}

.linkedin-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.about-member-card__social a:hover .linkedin-icon,
.about-member-card__social-hover a:hover .linkedin-icon {
    transform: scale(1.1);
}



/* Ensure meta is not hidden on hover on mobile devices */
@media (max-width: 991px) {
    .about-member-card:hover .about-member-card__meta {
        opacity: 1 !important;
    }
}


/* =========================================
   SUSTAINABILITY SECTION (NEW)
   ========================================= */
.about-sustainability {
    background-color: #0fa16b; /* Solid green matching mockup */
    position: relative;
    width: 100%;
}

.about-sustainability__image-wrap {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}

.about-sustainability__tag {
    position: absolute;
    top: 3rem;
    left: 5%;
    z-index: 2;
    background: transparent;
    pointer-events: none;
}

.about-sustainability__main-title {
    position: absolute;
    top: 7rem;
    left: 5%;
    z-index: 2;
    color: #1f1f1f;
    max-width: 800px;
    pointer-events: none;
    font-size: clamp(32px, 4vw, 56px);
}

.about-sustainability__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-sustainability__content {
    /* padding: 5rem 0; */
    color: #fff;
}

.about-sustainability__grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
}

@media (min-width: 768px) {
    .about-sustainability__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6rem;
    }
}

.about-sustainability__col {
    position: relative;
}

@media (min-width: 768px) {
    .about-sustainability__col {
        padding: 0;
    }
    .about-sustainability__col:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        right: -3rem; /* Exactly half of the gap */
        width: 1px;
        background-color: rgba(255,255,255,0.2);
    }
}

.about-sustainability__title {
    font-size: var(--font-size-lg-md);
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 400;
    color: #fff;
}

@media (min-width: 992px) {
    .about-sustainability__title {
        font-size: var(--font-size-lg-md);
    }
}

.about-sustainability__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-sustainability__list li {
    font-size: var(--font-size-base);
    line-height: 1.2;.about-sustainability__tag
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.about-sustainability__list li .dot {
    background-color: #D3E173; /* Golden yellow dot */
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    display: block;
}
