/* --- Variables & Reset --- */
:root {
    
    /* Effects */
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.04);
    --shadow-float: 0 15px 35px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.03);
}



.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography Helpers --- */
.text-orange { color: var(--orange-primary); }
.text-green { color: var(--green-primary); }
.text-center { text-align: center; }

.section-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 24px;
}

/* --- Badges --- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.badge-orange {
    background-color: var(--orange-soft);
    color: var(--orange-primary);
}

.badge-green {
    background-color: var(--green-soft);
    color: var(--green-primary);
}

/* --- 1. Story Section --- */
.story-section {
    padding: 80px 0 40px 0;
    background: linear-gradient(135deg, #fff1e6 0%, #f8fafc 50%, #e6f7ec 100%);
}

.layout-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text {
    font-size: 1.05rem;
    color: var(--text-body);
    margin-bottom: 16px;
}

.story-visual {
    position: relative;
    border-radius: 24px;
}

.story-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

.floating-stat {
    position: absolute;
    bottom: -20px;
    left: -20px; 
    background: var(--bg-surface);
    padding: 20px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-float);
    text-align: center;
    animation: float 4s ease-in-out infinite;
    z-index: 10;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.stat-icon svg {
    width: 28px;
    height: 28px;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- 2. Statistics Grid Section --- */
.stats-section {
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--bg-surface);
    padding: 32px 20px;
    border-radius: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.outline-orange { 
    background: var(--orange-soft);
    border-color: var(--orange-border); 
}
.outline-green { 
    background: var(--green-soft);
    border-color: var(--green-border); 
}

.stat-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.stat-card-icon svg { 
    width: 40px; 
    height: 40px; 
}


.stat-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-desc {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* --- 3. Mission Section --- */
.mission-section {
    padding: 40px 0;
}

.mission-quote-card {
    background: linear-gradient(135deg, #fff1e6 0%, #f8fafc 50%, #e6f7ec 100%);
    border: 2px solid var(--orange-border);
    border-radius: 24px;
    padding: 40px 60px;
    max-width: 900px;
    margin: 40px auto 0;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.mission-quote-card p {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.9;
    margin-bottom: 24px;
}

.mission-quote-card footer {
    font-weight: 800;
    color: var(--orange-primary);
    font-size: 1rem;
}

/* --- 4. Core Values Section --- */
.values-section {
    padding: 40px 0;
    background: var(--bg-surface);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.value-card {
    padding: 32px 24px;
    border-radius: 20px;
    border: 1px solid transparent;
    text-align: center;
    transition: transform 0.3s;
}

.value-card:hover { transform: translateY(-5px); }


.value-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.bg-orange { background-color: var(--orange-primary); }
.bg-green { background-color: var(--green-primary); }
.text-white { color: white; }

.value-icon svg { width: 24px; height: 24px; }

.value-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.value-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- 5. Team Section (NEW) --- */
.team-section {
    padding: 60px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.team-card {
    background: var(--bg-surface);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-float);
}

.team-img-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.team-card:hover .team-img {
    transform: scale(1.05);
}

.team-info {
    padding: 24px;
    text-align: right;
}

.member-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.member-role {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.member-bio {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* --- 6. Timeline Section (NEW) --- */
.timeline-section {
    padding: 60px 0 100px 0;
}

.timeline-wrapper {
    position: relative;
    max-width: 850px;
    margin: 50px auto 0 auto;
    padding-right: 40px; /* Space for the right-aligned layout */
}

/* Vertical Track */
.timeline-track {
    position: absolute;
    top: 10px;
    bottom: 10px;
    right: 14px;
    width: 4px;
    background: repeating-linear-gradient(#f97316 , #10b981 20%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Timeline Circle Node */
.timeline-node {
    position: absolute;
    right: -50px;
    top: 6px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 900;
    color: white;
    z-index: 5;
    box-shadow: 0 0 0 6px var(--bg-main);
}

.item-orange .timeline-node { background-color: var(--orange-primary); }
.item-green .timeline-node { background-color: var(--green-primary); }

/* Content Box */
.timeline-box {
    background: var(--bg-surace);
    padding: 18px 24px;
    margin-right: 20px;
    border-radius: 14px;
    border: 1.5px solid transparent;
    text-align: right;
    box-shadow: var(--shadow-card);
}

.item-orange .timeline-box {
    border-color: var(--orange-border);
    background-color: var(--orange-soft);
}

.item-green .timeline-box {
    border-color: var(--green-border);
    background-color: var(--green-soft);
}

.timeline-box p {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.7;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .stats-grid, .values-grid, .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .layout-grid-2 {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .floating-stat {
        left: 20px;
        bottom: -20px;
    }
    
    .mission-quote-card {
        padding: 30px 20px;
    }
}

@media (max-width: 520px) {
    .stats-grid, .values-grid, .team-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .timeline-wrapper {
        padding-right: 35px;
    }
    
    .timeline-track {
        right: 9px;
    }
    
    .timeline-node {
        right: -35px;
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
}