/* about section css */
/* Layout */
.hero {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-glow {
    pointer-events: none;
    position: absolute;
    inset: 0;
}

.hero-glow::before {
    content: "";
    position: absolute;
    top: -160px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(17, 24, 39, 0.04);
    filter: blur(80px);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--muted);
    color: var(--muted-foreground);
    border-radius: 9999px;
    padding: .35rem .9rem;
    font-size: .78rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

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

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

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: .2s;
}

.card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .07);
}

/* Icons */

.icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--muted);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.icon-box svg {
    width: 26px;
    height: 26px;
}

.icon-box-hover {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--muted);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .75rem;
    transition: .2s;
}

.icon-box-hover svg {
    width: 20px;
    height: 20px;
}

.value-card:hover .icon-box-hover {
    background: var(--primary);
    color: var(--primary-foreground);
}

/* Typography */

.section-title {
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 1rem;
}

.section-sub {
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* Values */

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.value-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    transition: .2s;
}

.value-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
}

.value-card h3 {
    font-size: .875rem;
    font-weight: 700;
    margin-bottom: .35rem;
}

.value-card p {
    font-size: .8rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Image */

.img-block {
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .08);
}

.img-block img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* Team */

.team-card {
    height: 100%;
}

.team-avatar {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #374151);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.team-role {
    color: var(--primary);
    font-size: .83rem;
    font-weight: 600;
    margin-bottom: .5rem;
}

.team-bio {
    color: var(--muted-foreground);
    font-size: .83rem;
    line-height: 1.6;
}

/* ─── TIMELINE ─── */
.timeline-wrap {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

@media (min-width: 640px) {
    .timeline-line {
        left: 50%;
        transform: translateX(-50%);
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2.5rem;
}

@media (min-width: 640px) {
    .timeline-item {
        padding-left: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .timeline-item:nth-child(even) .timeline-card {
        grid-column: 1;
    }

    .timeline-item:nth-child(odd) .timeline-card {
        grid-column: 2;
    }
}

.timeline-dot {
    position: absolute;
    left: 14px;
    top: 18px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
}

@media (min-width: 640px) {
    .timeline-dot {
        left: 50%;
    }
}

.timeline-dot::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.timeline-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.1rem 1.25rem;
}

.timeline-year {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    border: 1.5px solid var(--border);
    border-radius: 6px;
    padding: 1px 8px;
    margin-bottom: 6px;
}

.timeline-card h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.timeline-card p {
    font-size: 0.82rem;
    color: var(--muted-foreground);
}

/* Stats */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    color: var(--muted-foreground);
    font-size: .85rem;
}

/* Background */

.alt {
    background: var(--muted);
}

.border-y {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* Animation */
/* 
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
} */

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-delay-1 {
    transition-delay: .1s;
}

.fade-up-delay-2 {
    transition-delay: .2s;
}

.fade-up-delay-3 {
    transition-delay: .3s;
}

/* Responsive */

@media (max-width:900px) {

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:768px) {

    .two-col,
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width:640px) {

    .grid-3,
    .values-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .timeline-line {
        left: 14px;
        transform: none;
    }

    .timeline-item {
        display: block;
        padding-left: 2.5rem;
    }

    .timeline-dot {
        left: 14px;
    }
}