/* ================================
   ABOUT US PAGE STYLES
================================ */

:root {
    --primary-dark: #0f172a;
}

/* Hero Section */
.about-hero {
    position: relative;
    padding: 120px 0;
    min-height: 500px;
    background-color: var(--primary-dark);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    border-radius: 24px;
    margin: 0 24px 24px 24px;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(11, 19, 40, 0.9) 0%, rgba(11, 19, 40, 0.4) 100%);
    z-index: 1;
}



.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}





.hero-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
}

.about-hero-title {
    font-size: 56px;
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
    line-height: 1.1;
}

.about-hero-title span {
    color: var(--primary-orange);
}

.about-hero-desc {
    color: #e2e8f0;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
}

/* Story Section */
.story-section {
    padding: 100px 0;
}

.story-grid {
    display: flex;
    gap: 80px;
    align-items: center;
}

.story-content {
    flex: 1;
}





.pillars-header 

.story-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.3;
    margin-bottom: 32px;
}

.story-desc {
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.story-image-container {
    flex: 1;
    position: relative;
}

.story-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.story-caption {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: #0A1628D9;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 32px;
    border-radius: 16px;
    color: white;
    max-width: 320px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.story-caption h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
}

.story-caption p {
    margin: 0;
    font-size: 14px;
    color: #a0aec0;
}

.story-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    align-items: center;
}

.stat-block {
    display: flex;
    flex-direction: column;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background-color: #cbd5e1;
}

.story-stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-orange);
    margin-bottom: 4px;
}

.story-stat-label {
    font-size: 13px;
    color: #475569;
    font-weight: 700;
}

/* Vision Section */
.vision-section {
    background: linear-gradient(145deg, var(--primary-dark) 0%, #17243c 100%);
    padding: 120px 0;
    margin: 0 24px 24px;
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vision-quote-icon {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(242, 104, 34, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 20px;
    font-weight: 900;
    font-family: Georgia, serif;
    margin: 0 auto 16px auto;
    padding-top: 8px;
    /* Optical alignment for quotes */
}



.vision-text {
    color: white;
    font-size: 36px;
    font-weight: 700;
    max-width: 950px;
    margin: 0 auto;
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

/* Mission Section */
.mission-section {
    padding: 100px 0;
}

.mission-grid {
    display: flex;
    gap: 80px;
    align-items: center;
}

.mission-image-container {
    flex: 1;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.mission-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mission-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, #000000 0%, rgba(0, 0, 0, 0.7) 40%, transparent 100%);
    padding: 60px 40px 40px 40px;
    color: white;
}

.mission-image-overlay h4 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}

.mission-image-overlay p {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
}

.mission-content {
    flex: 1;
}

.mission-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.3;
    margin-bottom: 32px;
}

.mission-list {
    margin-top: 40px;
    list-style: none;
    padding: 0;
}

.mission-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 15px;
    color: #475569;
    font-weight: 600;
    line-height: 1.6;
}

.check-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Pillars Section */
.pillars-section {
    background-color: var(--primary-dark);
    padding: 100px 0;
    margin: 0 24px 24px;
    border-radius: 24px;
}

.pillars-header {
    margin-bottom: 60px;
}

.pillars-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.pillar-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    width: calc(33.333% - 16px);
    transition: transform 0.4s ease, background 0.4s ease;
}

.pillar-card:hover {
    transform: translateY(-8px);
    background: rgba(242, 104, 34, 0.1);
    border-color: var(--primary-orange);
    box-shadow: 0 10px 30px rgba(242, 104, 34, 0.1);
}

.pillar-icon {
    width: 48px;
    height: 48px;
    background: rgba(242, 104, 34, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-orange);
}

.pillar-title {
    color: white;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.pillar-desc {
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.6;
}

/* Make bottom row centered */
.pillars-container .pillar-card:nth-child(4),
.pillars-container .pillar-card:nth-child(5) {
    width: calc(40% - 12px);
}


/* What We Do Timeline */
.timeline-scroll-container {
    position: relative;
    height: auto;
    /* Removed 400vh scroll-jacking to fix gaps */
}

#timeline-section {
    position: relative;
    top: 0;
    height: auto;
    min-height: 0;
    display: block;
    padding: 60px 0;
    background: #f8fafc;
}

#timeline-section .container {
    width: 100%;
}

.timeline-viewport {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 90vh;
    min-height: 400px;
    overflow: hidden;
    margin: 40px auto 0;
}

.timeline-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1250 / 600;
}

.timeline-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.timeline-point {
    position: absolute;
    width: 260px;
    z-index: 2;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    visibility: hidden;
}

.timeline-point.is-visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

#timeline-svg-path {
    transition: stroke-dashoffset 0.2s ease-out;
}

.point-1 {
    top: 66.93%;
    left: 9.96%;
}

.point-2 {
    top: 45.5%;
    left: 47.32%;
}

.point-3 {
    top: 7.16%;
    left: 74.2%;
}

.point-dot-container {
    width: 64px;
    height: 64px;
    background: #FFFFFF;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
    position: relative;
    z-index: 3;
}

.point-dot {
    width: 23px;
    height: 23px;
    background-color: #C4C4C4;
    border-radius: 10px;
}

.point-number {
    position: absolute;
    top: -13px;
    left: 170px;
    font-size: 204px;
    font-family: 'Gilroy', sans-serif;
    font-weight: 900;
    line-height: 204px;
    color: #000;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.point-3 .point-number {
    left: 80px; /* Pull it slightly to the left so it doesn't clip off the right edge */
}

.point-content {
    position: relative;
    z-index: 1;
}

.point-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 8px;
    color: #0A1628;
}

.point-desc {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #514F6E;
    line-height: 140%;
}

/* CTA Connect Section */
.cta-section {
    padding-top: 20px;
    padding-bottom: 24px;
}

.cta-section .container {
    max-width: 100%;
    padding: 0;
}

.cta-box {
    background-color: #2d2e32;
    margin: 0 24px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    padding: 60px 24px;
}

.cta-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(245, 112, 89, 0.12);
}

.cta-circle-left {
    width: 800px;
    height: 800px;
    left: -350px;
    top: -200px;
}

.cta-circle-right-1 {
    width: 600px;
    height: 600px;
    right: -150px;
    bottom: -200px;
}

.cta-circle-right-2 {
    width: 250px;
    height: 250px;
    right: 250px;
    bottom: -80px;
    background: rgba(245, 112, 89, 0.15);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}



.cta-line {
    width: 24px;
    height: 2px;
    background: #F57059;
    margin-right: 12px;
}

.cta-title {
    font-size: 64px;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 24px;
    font-family: 'Gilroy', sans-serif;
    letter-spacing: -1px;
}

.cta-title span {
    color: #F57059;
}

.cta-desc {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 48px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.cta-btn {
    background-color: #F57059;
    color: #FFFFFF;
    border-radius: 30px;
    padding: 16px 32px;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(245, 112, 89, 0.4);
    display: inline-block;
}

.cta-btn:hover {
    background-color: #e05e47;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(245, 112, 89, 0.5);
}

.cta-btn-outline {
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    border-radius: 30px;
    padding: 16px 32px;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: 0.3s;
    display: inline-block;
}

.cta-btn-outline:hover {
    background: #FFFFFF;
    color: #2d2e32;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
    .story-grid,
    .mission-grid {
        flex-direction: column;
        gap: 40px;
    }

    .pillar-card,
    .pillars-container .pillar-card:nth-child(4),
    .pillars-container .pillar-card:nth-child(5) {
        width: calc(50% - 12px);
    }

    .timeline-scroll-container,
    .timeline-viewport {
        height: auto !important;
        min-height: 0 !important;
    }

    #timeline-section {
        position: relative;
        top: 0;
        height: auto;
        min-height: 0;
        padding: 40px 0 20px 0;
    }

    .timeline-wrapper {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 60px;
        margin-top: 40px;
        align-items: flex-start;
        position: relative;
        padding-left: 16px;
    }

    /* Vertical flow line */
    .timeline-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 47px; /* 16px padding + 32px half-width - 1px half-line */
        width: 3px;
        transform: none;
        background: linear-gradient(to bottom, #F57059 0%, #F57059 100%);
        z-index: 0;
    }

    .timeline-svg {
        display: none;
    }

    .timeline-point {
        position: relative;
        left: 0 !important;
        top: 0 !important;
        width: 100%;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        background-color: transparent;
        z-index: 2;
        padding: 0;
    }

    .point-dot-container {
        margin-bottom: 0;
        margin-left: 0;
        margin-right: 24px;
        flex-shrink: 0;
        border-radius: 12px; /* Square-ish modern look */
        background-color: #ffffff;
        border: 2px solid #F57059;
        box-shadow: 0 4px 15px rgba(245, 112, 89, 0.15);
        z-index: 2;
    }

    .point-dot {
        background-color: #F57059;
    }

    .point-number {
        position: static;
        font-size: 20px;
        line-height: 24px;
        color: #F57059;
        opacity: 1;
        margin-right: 8px;
        font-family: 'Inter', sans-serif;
        font-weight: 800;
        transform: none;
    }

    .point-number::after {
        content: '.';
    }
}

@media (max-width: 768px) {

    .pillar-card,
    .pillars-container .pillar-card:nth-child(4),
    .pillars-container .pillar-card:nth-child(5) {
        width: 100%;
    }

    .about-hero {
        padding: 60px 0;
        min-height: 400px;
        margin: 0 16px 16px 16px;
    }

    .story-section {
        padding: 60px 0;
    }

    .vision-section {
        padding: 60px 0;
        margin: 0 16px 24px;
    }

    .mission-section {
        padding: 60px 0;
    }

    .about-hero-title {
        font-size: 36px;
    }

    .story-title {
        font-size: 30px;
    }

    .vision-text {
        font-size: 28px;
    }

    .cta-title {
        white-space: normal;
        font-size: 36px;
    }
    
    .cta-box {
        padding: 60px 24px;
        margin: 0 16px;
    }

    .cta-actions {
        flex-direction: column;
        gap: 16px;
    }
}
