/**
 * Who We Are Page Styles
 * Styles for the "Who We Are" page template - showcasing company story, values, and team
 * 
 * @package cooltranz-custom
 */

/* ==========================================================================
   Company Story Section
   ========================================================================== */

   .company-story-section {
    padding: 80px 0;
    background-color: var(--color-background-light, #f8f9fa);
}

.company-story-section_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.company-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.company-story_container {
    position: relative;
}

.company-story-text {
    max-width: 500px;
}

.company-story-heading {
    margin-bottom: 20px;
    color: var(--color-primary, #0f2f45);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.company-story-description {
    margin-bottom: 25px;
    color: var(--color-text, #333);
    font-size: 1.1rem;
    line-height: 1.6;
}

.company-story-content-text {
    color: var(--color-text, #333);
    font-size: 1rem;
    line-height: 1.6;
}

/* Company Story Visual */
.company-story-visual {
    position: relative;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.company-story-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.company-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--color-primary, #0f2f45) 0%, var(--color-secondary, #007bff) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white, #fff);
}

.image-placeholder-content {
    text-align: center;
}

.image-placeholder-content svg {
    margin-bottom: 20px;
    opacity: 0.8;
}

.image-placeholder-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.image-placeholder-content p {
    margin: 0;
    opacity: 0.8;
    font-size: 1rem;
}

/* ==========================================================================
   Company Values Section
   ========================================================================== */

.company-values-section {
    padding: 80px 0;
    background: var(--color-white, #fff);
}

.company-values-section_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.company-values-content {
    text-align: center;
}

.company-values-header {
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.company-values-heading {
    margin-bottom: 20px;
    color: var(--color-primary, #0f2f45);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.company-values-description {
    margin-bottom: 0;
    color: var(--color-text, #333);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Company Values Grid */
.company-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.company-value-card {
    background: var(--color-white, #fff);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.company-value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--color-primary, #0f2f45);
}

.company-value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.company-value-title {
    margin: 0 0 15px 0;
    color: var(--color-primary, #0f2f45);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.company-value-description {
    margin: 0;
    color: var(--color-text, #333);
    font-size: 1rem;
    line-height: 1.6;
}

/* ==========================================================================
   Mission & Vision Section
   ========================================================================== */

.mission-vision-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-primary, #0f2f45) 0%, var(--color-primary-dark, #0a1f2e) 100%);
    color: var(--color-white, #fff);
}

.mission-vision-section_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mission-vision-content {
    text-align: center;
}

.mission-vision-header {
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.mission-vision-heading {
    margin-bottom: 20px;
    color: var(--color-white, #fff);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Mission & Vision Grid */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.mission-card,
.vision-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.mission-icon,
.vision-icon {
    margin-bottom: 25px;
    color: var(--color-accent, #ff6b35);
}

.mission-title,
.vision-title {
    margin: 0 0 20px 0;
    color: var(--color-white, #fff);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mission-description,
.vision-description {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
}

/* ==========================================================================
   Team Section
   ========================================================================== */

.team-section {
    padding-top: var(--section-py, 64px);
    padding-bottom: var(--section-py, 64px);
    background: var(--color-background-light, #f8f9fa);
}

.team-section_container {
    max-width: var(--container-max-width, 1200px);
    margin: 0 auto;
    padding-left: var(--page-px, 24px);
    padding-right: var(--page-px, 24px);
}

.team-content {
    /* Text alignment controlled by individual header elements */
}

.team-header {
    max-width: var(--container-max-width, 1200px);
    margin: 0 auto 60px auto;
}

.team-header .sub-heading-text {
    color: var(--accent-color, #00AEEF);
    font-size: var(--h6-size, 16px);
    font-weight: var(--heading-font-weight, 600);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 40px 0;
    text-align: left;
    border-bottom: 1px solid #00AEEF;
    padding-bottom: 1rem;
}

.team-header-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.team-header-left {
    padding-right: 20px;
}

.team-heading {
    margin: 0;
    color: #000!important;
    font-size: var(--h2-size, 32px);
    font-weight: var(--heading-font-weight, 600);
    line-height: var(--heading-line-height, 1.2);
    text-align: left;
}

.team-header-right {
    padding-left: 20px;
}

.team-description {
    margin: 0;
    color: #000!important;
    font-size: var(--font-size-base, 16px);
    font-weight: var(--body-font-weight, 400);
    line-height: var(--body-line-height, 1.6);
    text-align: left;
}

/* Team Members Grid */
.team-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 50px;
}

.team-member-card {
    background: var(--color-white, #fff);
    /* border-radius: 16px; */
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: left;
    overflow: hidden;
    position: relative;
    min-height: 36rem;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.team-member-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: stretch;
}
.tgraham-rule .team-member-image, .tmike-mountford .team-member-image, .thayden-reed .team-member-image, .tdavid-yorke .team-member-image{ background-position:top left;}

.team-member-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-primary-light, #e3e8ed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary, #0f2f45);
}

/* Team Member Overlay */
.team-member-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: flex-end;
    
    background: linear-gradient(to bottom,  rgba(125,185,232,0) 2%,rgba(89,148,202,0) 59%,rgb(24 66 103) 100%);

}

/* Change overlay background when bio panel is active */
.team-member-card.bio-panel-active .team-member-overlay {
    background: #0059A5;
}

.team-member-overlay-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    border-top: 1px solid #fff;
    padding-top: 2rem;
}

.team-member-overlay-left {
    flex: 1;
}

.team-member-name {
    margin: unset!important;
    color: var(--color-white, #fff);
    /* font-size: 1.4rem; */
    font-weight: 700!important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    max-width: 140px;
}

.team-member-position {
    margin: 0;
    color: var(--color-white, #fff);
    font-size: 17px;
    font-weight: 400;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    opacity: 0.9;
    padding: unset!important;
}

.team-member-overlay-right {
    display: block;
    align-items: center;
    position: absolute;
    right: 30px;
    bottom: 85px;
}

/* Read Bio Button */
.read-bio-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    color: var(--color-white, #fff);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}

/* .read-bio-btn:hover {
    color: var(--color-accent, #ff6b35);
    transform: translateX(5px);
} */

.read-bio-btn:after {
    display:block;
    content:"";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    /* background: var(--color-white, #fff); */
    border-radius: 50%;
    color: var(--color-primary, #0f2f45);
    transition: all 0.3s ease;
    border: 1px solid #fff;
    color: var(--color-white, #fff);
    background:white;
    -webkit-mask-image:url(../../images/bioarrow.svg);
    mask-image:url(../../images/bioarrow.svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size:contain;
    mask-size:contain;
    position:relative;
    bottom: 1px;
}


/* .read-bio-btn:hover .cta-arrow {
    background: var(--color-accent, #ff6b35);
    color: var(--color-white, #fff);
} */

.cta-arrow svg { display:none;
    width: 12px;
    height: 12px;
}

/* Bio Panel */
.team-member-bio-panel {
    position: absolute;
    top: 0;
    right: 0;
    /* background: rgba(0, 89, 165, 0.6); */
    /* backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    -moz-backdrop-filter: blur(15px); */
    color: white;
    padding: 30px;
    transform: translateY(180%);
    transition: transform 0.4s ease;
    overflow-y: auto;
    z-index: 10;
    max-height: 100%;
    /* Ensure backdrop-filter works */
    isolation: isolate;
    /* Fallback for older browsers */
    box-shadow: 0 0 20px rgba(0, 89, 165, 0.3);
    max-height: calc(100% - 160px);
    overflow-y: auto;
}

/* Fallback for browsers that don't support backdrop-filter */
@supports not (backdrop-filter: blur(15px)) {
    .team-member-bio-panel {
        background: rgba(0, 89, 165, 0.7);
        box-shadow: 0 0 30px rgba(0, 89, 165, 0.5);
    }
}

.bio-panel-active {
    transform: translateY(0)!important;
}

.bio-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--color-primary-light, #e3e8ed);
}

.bio-panel-name {
    margin: 0;
    color: var(--color-primary, #0f2f45);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.close-bio-btn {
    background: transparent;
    border: none;
    color: var(--color-text, #333);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-bio-btn:hover {
    background: var(--color-primary-light, #e3e8ed);
    color: var(--color-primary, #0f2f45);
}

.close-bio-btn svg {
    width: 20px;
    height: 20px;
}

.bio-panel-content p {
    color: white;
    font-size: 1rem!important;
    /* line-height: 1.7; */
    /* Ensure text is fully opaque */
    opacity: 1;
    padding: 0;
}

.bio-panel-content p {
    margin: 0 0 20px 0;
    color: white;
    /* Ensure text is fully opaque */
    opacity: 1;
}

.bio-panel-content p:last-child {
    margin-bottom: 0;
}

/* Team CTA Section */
.team-cta-section {
    text-align: center;
    margin-top: 40px;
}

.see-more-profiles-btn {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    color: var(--color-white, #fff);
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    /* box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3); */
    border: none;
    cursor: pointer;
    font-family: inherit;
    background: #00aeef !important;
    padding: 12px 24px !important;
    text-transform: uppercase !important;
}

.see-more-profiles-btn:hover {
    background: var(--color-secondary-dark, #0056b3);
    transform: translateY(-2px);
    /* box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4); */
    color: var(--color-white, #fff);
}

.see-more-profiles-btn:disabled {
    cursor: not-allowed;
    transform: none;
}

.cta-arrow-down {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--color-white, #fff);
    transition: transform 0.3s ease;
}

.see-more-profiles-btn:hover .cta-arrow-down {
    transform: translateY(3px);
}

.cta-arrow-down svg {
    width: 16px;
    height: 16px;
}

/* Team Count Info */
.team-count-info {
    margin-top: 20px;
    color: var(--color-text-muted, #666);
    font-size: 0.9rem;
    font-weight: 500;
}

.team-count-info span {
    color: var(--color-primary, #0f2f45);
    font-weight: 700;
}

/* No Team Members */
.no-team-members {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-muted, #666);
}

.no-team-members p {
    font-size: 1.1rem;
    margin: 0;
}

/* ==========================================================================
   Purpose & Values Section
   ========================================================================== */

.purpose-values-section {
    padding: 80px 0;
    background: #E8F5FA;
    
}

.purpose-values-section_container {
    max-width: var(--container-max-width, 1200px);
    margin: 0 auto;
    padding-left: var(--page-px, 24px);
    padding-right: var(--page-px, 24px);
}

.purpose-values-content {
    width: 100%;
}

.purpose-values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Left Column - Text Content */
.purpose-values-left {
    padding-right: 20px;
}

.purpose-values-main-text {
    color: #000!important;
}

.purpose-values-text p.purpose-values-description {
    color: #000 !important;
    font-size: var(--font-size-base) !important;
}

.purpose-values-text h4.sub-heading-text {
    border-bottom: 1px solid #00AEEF;
    padding-bottom: 1rem;
}

/* Heading styling now handled by global sub-heading-text.css and site-heading classes */
/* Sub-heading styling handled by global sub-heading-text.css */
/* Main text styling handled by global site-heading--h2 class */
/* Description styling handled by global site-paragraph class */

/* Right Column - Image with Overlay */
.purpose-values-right {
    position: relative;
}

.purpose-values-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    height: 650px;
}

.purpose-values-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.purpose-values-image:hover img {
    transform: scale(1.02);
}

/* Placeholder for missing image */
.purpose-values-placeholder {
    width: 100%;
    min-height: 300px;
    background: var(--color-primary-light, #e3e8ed);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-primary, #0f2f45);
    padding: 40px 20px;
}

.purpose-values-placeholder svg {
    margin-bottom: 20px;
    opacity: 0.6;
}

.purpose-values-placeholder p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}

/* Fallback content */
.purpose-values-fallback {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-muted, #666);
}

.purpose-values-fallback p {
    font-size: 1.1rem;
    margin: 0;
}

/* Overlay */
.purpose-values-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(345deg, #000 30%, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0) 100%);
    padding: 30px;
    color: white;
}

/* Overlay Slides */
.overlay-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.overlay-slide.overlay-slide-active {
    display: block;
    opacity: 1;
    position: relative;
}

.overlay-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.overlay-text {
    flex: 1;
    padding-right: 20px;
}

/* Heading styling now handled by global site-heading--h3 class */
/* Description styling now handled by global site-paragraph class */

.overlay-icon img {
    object-fit: contain;
}

.overlay-icon {
    flex-shrink: 0;
    width: 59px;
    height: 59px;
    color: white;
    opacity: 0.9;
    display: flex;
    justify-content: flex-end;
    object-fit: contain;

}

/* Bottom row with description and navigation */
.overlay-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #fff;
    padding-top: 1rem;
}

.overlay-description-bottom {
    flex: 1;
    padding-right: 80px;
}

/* Description styling now handled by global site-paragraph class */

/* Navigation Arrows */
.overlay-navigation {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.nav-arrow {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-family: inherit;
}

.nav-arrow:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.nav-arrow svg {
    width: 16px;
    height: 16px;
}

/* Slide Indicators */
.slide-indicators {
    display: none!important;
    justify-content: center;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .purpose-values-grid {
        gap: 40px;
    }

    .team-header-content {
        gap: 20px;
        grid-template-columns: 1fr;
    }

    .team-header-right,
    .team-header-left {
        padding: 0;
    }

    .history-header-content {
        gap: 20px!important;
    }
    
    /* Main text responsive styling handled by global site-heading--h2 class */
}

@media (max-width: 992px) {
    .purpose-values-section {
        padding: 60px 0;
    }
    
    .purpose-values-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .purpose-values-left {
        padding-right: 0;
    }
    
    .purpose-values-text {
        max-width: 100%;
    }
    
    /* Main text responsive styling handled by global site-heading--h2 class */
    
    .overlay-heading {
        font-size: 1.5rem;
    }
    
    .overlay-text {
        padding-right: 0;
    }
    
    .overlay-icon {
        align-self: center;
    }

    .bio-panel-content p {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .purpose-values-section_container {
        padding: 0 15px;
    }
    
    .overlay-heading {
        font-size: 1.3rem;
    }
    
    .overlay-description {
        font-size: 0.9rem;
    }
    
    .nav-arrow {
        width: 35px;
        height: 35px;
    }
    
    .nav-arrow svg {
        width: 14px;
        height: 14px;
    }

    .purpose-values-image {
        height: 400px;
    }

    .overlay-description-bottom {
        padding-right: unset;
    }

    .overlay-bottom-row {
        align-items: flex-start;
    }
    .purpose-values-overlay {
        padding: 20px;
    }
}

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

@media (max-width: 1200px) {
    .company-story-heading,
    .company-values-heading,
    .mission-vision-heading,
    .team-heading {
        font-size: 2rem;
    }
    
    .company-story-grid,
    .mission-vision-grid {
        gap: 40px;
    }
    
    .team-members-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    .team-member-card {
        min-height: 40rem;
    }
}

@media (max-width: 1024px) {
    .team-members-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 992px) {
    .company-story-section,
    .company-values-section,
    .mission-vision-section,
    .team-section {
        padding: 60px 0;
    }
    
    .company-story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .company-story-text {
        max-width: 100%;
    }
    
    .company-story-heading,
    .company-values-heading,
    .mission-vision-heading,
    .team-heading {
        font-size: 1.8rem;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .mission-card,
    .vision-card {
        padding: 30px;
    }
    
    .company-value-card,
    .team-member-card {
        padding: 0;
    }
    
    .team-members-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .team-member-card {
        min-height: 500px;
    }
    
    .team-member-image {
        min-height: 500px;
    }
    
    .team-member-overlay {
        padding: 20px;
    }
    
    .team-member-name {
        font-size: 22px;
    }
    
    .team-member-position {
        font-size: 0.85rem;
    }
    
    .bio-panel-header {
        padding-bottom: 15px;
        margin-bottom: 20px;
    }
    
    .bio-panel-name {
        font-size: 1.3rem;
    }
    
    .see-more-profiles-btn {
        padding: 18px 35px;
        font-size: 0.9rem;
    }
    
    /* Team Header Responsive */
    .team-header-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .team-header-left,
    .team-header-right {
        padding: 0;
        text-align: center;
    }
    
    .team-heading {
        font-size: 1.8rem;
    }

    .team-member-bio-panel {
        transform: translateY(200%);
    }
    
}

@media (max-width: 480px) {
    .company-story-section_container,
    .company-values-section_container,
    .mission-vision-section_container,
    .team-section_container {
        padding: 0 15px;
    }
    
    .company-story-heading,
    .company-values-heading,
    .mission-vision-heading,
    .team-heading {
        font-size: 1.5rem;
    }
    
    .company-story-description,
    .company-values-description,
    .team-description {
        font-size: 1rem;
    }
    
    .company-value-card,
    .team-member-card {
        padding: 0;
    }
    
    .mission-card,
    .vision-card {
        padding: 25px;
    }
    
    .company-value-icon {
        font-size: 2.5rem;
    }
    
    .team-members-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* .team-member-card {
        min-height: 650px;
    }
    
    .team-member-image {
        min-height: 480px;
    } */
    
    .team-member-overlay {
        padding: 15px;
    }
    
    .read-bio-btn {
        font-size: 0.8rem;
    }
    
    .cta-arrow {
        width: 18px;
        height: 18px;
    }
    
    .cta-arrow svg {
        width: 10px;
        height: 10px;
    }
    
    .bio-panel-header {
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    
    .bio-panel-name {
        font-size: 1.2rem;
    }
    
    .close-bio-btn {
        padding: 6px;
    }
    
    .close-bio-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .see-more-profiles-btn {
        padding: 15px 30px;
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   Animation and Transitions
   ========================================================================== */

.company-value-card,
.mission-card,
.vision-card,
.team-member-card {
    animation: fadeInUp 0.6s ease-out;
}

.company-value-card:nth-child(1) { animation-delay: 0.1s; }
.company-value-card:nth-child(2) { animation-delay: 0.2s; }
.company-value-card:nth-child(3) { animation-delay: 0.3s; }
.company-value-card:nth-child(4) { animation-delay: 0.4s; }

.mission-card { animation-delay: 0.1s; }
.vision-card { animation-delay: 0.2s; }

.team-member-card:nth-child(1) { animation-delay: 0.1s; }
.team-member-card:nth-child(2) { animation-delay: 0.2s; }
.team-member-card:nth-child(3) { animation-delay: 0.3s; }
.team-member-card:nth-child(4) { animation-delay: 0.4s; }
.team-member-card:nth-child(5) { animation-delay: 0.5s; }
.team-member-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .company-story-section,
    .company-values-section,
    .mission-vision-section,
    .team-section {
        background: none !important;
        color: #000 !important;
    }
    
    .company-value-card,
    .mission-card,
    .vision-card,
    .team-member-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        break-inside: avoid;
    }
    
    .company-value-icon,
    .mission-icon,
    .vision-icon {
        color: #666 !important;
    }
    
    .team-member-image img,
    .team-member-placeholder {
        border-color: #ccc !important;
    }
    
    .read-bio-link,
    .see-more-profiles-btn {
        display: none !important;
    }
}

/* Overlay text color overrides for theme classes */
.purpose-values-overlay .site-heading--h3 {
    color: white !important;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: unset!important;
}

.purpose-values-overlay .site-paragraph {
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0;
    font-size: var(--font-size-base) !important;
}

/* ==========================================================================
   History Section
   ========================================================================== */

.history-section {
    padding-bottom: unset!important;
    background: var(--color-primary, #184267);
    color: white;
}

.history-section_container {
    max-width: var(--container-max-width, 1200px);
    margin: 0 auto;
    padding-left: var(--page-px, 24px);
    padding-right: var(--page-px, 24px);
}

.history-content {
    width: 100%;
}

.history-header {
    max-width: var(--container-max-width, 1200px);
    margin: 0 auto 60px auto;
}

.history-header .sub-heading-text {
    color: white;
    font-size: var(--h6-size, 16px);
    font-weight: var(--heading-font-weight, 600);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 40px 0;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 1rem;
}

.history-header-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.history-header-left {
    padding-right: 20px;
}

.history-heading {
    margin: 0;
    color: #fff!important;
    font-size: var(--h2-size, 32px);
    font-weight: var(--heading-font-weight, 600);
    line-height: var(--heading-line-height, 1.2);
    text-align: left;
}

.history-header-right {
    padding-left: 20px;
}

.history-description {
    margin: 0;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: var(--font-size-base, 16px)!important;
    font-weight: var(--body-font-weight, 400);
    line-height: var(--body-line-height, 1.6);
    text-align: left;
}

/* History Photo Container */
/* .istory-photo_container {
    max-width: var(--container-max-width, 1200px);
    margin: 0 auto;
    padding-left: var(--page-px, 24px);
    padding-right: var(--page-px, 24px);
} */

.history-photo {
    text-align: center;
    margin-top: 60px;
}

.history-image {
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    max-width: 100%;
}

.history-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    object-fit: cover;
}

.history-image:hover img {
    transform: scale(1.02);
}

/* History Placeholder */
.history-placeholder {
    width: 100%;
    min-height: 300px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 20px;
}

.history-placeholder svg {
    margin-bottom: 20px;
    opacity: 0.6;
}

.history-placeholder p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}

/* History Fallback */
.history-fallback {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.7);
}

.history-fallback p {
    font-size: 1.1rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .history-header-content {
        gap: 40px;
    }
    
    .history-heading {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .history-section.site-section {
        padding: 60px 0 0!important;
    }
    
    .history-header-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .history-header-left,
    .history-header-right {
        padding: 0;
    }
    
    .history-heading {
        font-size: 1.8rem;
    }

}

@media (max-width: 480px) {
    .history-section_container {
        padding: 0 15px;
    }
    
    .history-heading {
        font-size: 1.5rem;
    }
    
    .history-description {
        font-size: 0.95rem;
    }
    .history-image img {
        height: 428px;
        object-position: -190px;
    }
}

