/* ========================================
   ABOUT PAGE STYLES - UPDATED
   With philosophy, team, and timeline
   ======================================== */

/* Hero Section */
.about-hero {
    padding: 180px 80px 100px;
    background: #000;
    text-align: center;
}

.about-hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-hero .section-label {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 500;
}

.about-hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 300;
    color: white;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.about-intro {
    font-size: 20px;
    color: rgba(255,255,255,0.7);
    font-weight: 300;
    line-height: 1.6;
}

/* Story Section */
.story-section {
    padding: 100px 80px;
    background: white;
}

.story-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-content .section-label {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 500;
}

.story-content h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 300;
    color: #000;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.story-text {
    font-size: 16px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 20px;
    font-weight: 300;
}

.story-details {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.detail-label {
    font-size: 13px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-value {
    font-size: 15px;
    color: #000;
    font-weight: 400;
}

.story-image {
    position: relative;
}

.story-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Story Video */
.story-video {
    position: relative;
    max-width: 85%;
    margin-left: auto;
}

.story-video video {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Philosophy Section */
.philosophy-section {
    padding: 100px 80px;
    background: #000;
    color: white;
}

.philosophy-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-section .section-label {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 500;
}

.philosophy-section h2 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.philosophy-text {
    max-width: 800px;
    margin: 0 auto 60px;
}

.philosophy-text p {
    font-size: 17px;
    line-height: 1.9;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
    font-weight: 300;
}

.philosophy-text strong {
    color: var(--primary);
    font-weight: 500;
}

.philosophy-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.pillar {
    text-align: center;
    padding: 40px 30px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s ease;
}

.pillar:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.pillar-number {
    font-size: 12px;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
}

.pillar h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.pillar p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

/* Impact Section */
.impact-section {
    padding: 100px 80px;
    background: #fafafa;
}

.impact-header {
    text-align: center;
    margin-bottom: 60px;
}

.impact-header .section-label {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 500;
}

.impact-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 300;
    color: #000;
    letter-spacing: 1px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.impact-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    transition: all 0.4s ease;
}

.impact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.impact-number {
    display: block;
    font-size: 42px;
    font-weight: 200;
    color: #000;
    margin-bottom: 10px;
}

.impact-label {
    font-size: 11px;
    color: #666;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Team Section */
.team-section {
    padding: 100px 80px;
    background: white;
}

.team-header {
    text-align: center;
    margin-bottom: 60px;
}

.team-header .section-label {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 500;
}

.team-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 300;
    color: #000;
    letter-spacing: 1px;
}

.team-tagline {
    font-size: 15px;
    color: #999;
    letter-spacing: 1px;
    font-weight: 300;
    margin-top: 10px;
}

.team-filter {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 25px;
}

.team-filter-btn {
    padding: 10px 28px;
    background: transparent;
    border: 1px solid #ddd;
    font-size: 13px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.team-filter-btn:hover {
    border-color: #000;
    color: #000;
}

.team-filter-btn.active {
    background: #000;
    border-color: #000;
    color: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.team-card {
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    margin-bottom: 20px;
    background: #f5f5f5;
    position: relative;
}

.team-image img {
    width: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.4s ease;
}

.team-card:hover .team-image img {
    filter: grayscale(0%);
}

.team-info h3 {
    font-size: 18px;
    font-weight: 400;
    color: #000;
    margin-bottom: 5px;
}

.team-role {
    font-size: 13px;
    color: #666;
    letter-spacing: 0.5px;
}

/* Team Bio Overlay */
.team-bio {
    display: none;
    font-size: 12.5px;
    line-height: 1.7;
    color: #444;
    font-weight: 300;
    margin-top: 12px;
    padding: 14px 16px;
    background: #f8f8f8;
    border-left: 3px solid var(--primary);
    text-align: left;
    max-height: 180px;
    overflow-y: auto;
}

/* Desktop: show bio on hover */
@media (hover: hover) and (pointer: fine) {
    .team-card:hover .team-bio {
        display: block;
        animation: bioFadeIn 0.3s ease;
    }
}

/* Mobile: show bio on tap (via JS class) */
.team-card.bio-active .team-bio {
    display: block;
    animation: bioFadeIn 0.3s ease;
}

@keyframes bioFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section */
.services-section {
    padding: 100px 80px;
    background: #fafafa;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header .section-label {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 500;
}

.services-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 300;
    color: #000;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.services-intro {
    font-size: 16px;
    color: #666;
    font-weight: 300;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 50px 40px;
    transition: all 0.4s ease;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.service-number {
    font-size: 12px;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 400;
    color: #000;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card ul li {
    padding: 10px 0;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.service-card ul li:last-child {
    border-bottom: none;
}

.service-card ul li:hover {
    color: var(--primary);
    padding-left: 10px;
}

/* CTA Section */
.about-cta {
    padding: 100px 80px;
    background: #000;
    text-align: center;
}

.about-cta h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 300;
    color: white;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.about-cta p {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 40px;
    font-weight: 300;
}

.about-cta .btn-primary {
    display: inline-block;
    padding: 18px 50px;
    background: transparent;
    color: white;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid white;
    transition: all 0.3s ease;
}

.about-cta .btn-primary:hover {
    background: white;
    color: #000;
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */

@media (max-width: 1024px) {
    .about-hero {
        padding: 150px 40px 80px;
    }

    .story-section {
        padding: 80px 40px;
    }

    .story-container {
        gap: 50px;
    }

    .philosophy-section {
        padding: 80px 40px;
    }

    .philosophy-pillars {
        gap: 25px;
    }

    .pillar {
        padding: 30px 20px;
    }

    .impact-section {
        padding: 80px 40px;
    }

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

    .team-section {
        padding: 80px 40px;
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .team-bio {
        font-size: 12px;
        padding: 12px 14px;
        max-height: 160px;
    }

    .services-section {
        padding: 80px 40px;
    }

    .services-grid {
        gap: 30px;
    }

    .service-card {
        padding: 40px 30px;
    }

    .about-cta {
        padding: 80px 40px;
    }
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */

@media (max-width: 768px) {
    .about-hero {
        padding: 120px 20px 60px;
    }

    .about-hero h1 {
        font-size: 32px;
    }

    .about-intro {
        font-size: 16px;
    }

    .story-section {
        padding: 60px 20px;
    }

    .story-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-image {
        order: -1;
    }

    .philosophy-section {
        padding: 60px 20px;
    }

    .philosophy-text p {
        font-size: 15px;
    }

    .philosophy-pillars {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pillar {
        padding: 30px;
    }

    .impact-section {
        padding: 60px 20px;
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .impact-card {
        padding: 30px 15px;
    }

    .impact-number {
        font-size: 36px;
    }

    .team-section {
        padding: 60px 20px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .team-bio {
        font-size: 12px;
        padding: 10px 12px;
        max-height: 150px;
    }

    .team-info h3 {
        font-size: 16px;
    }

    .services-section {
        padding: 60px 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-card {
        padding: 35px 25px;
    }

    .about-cta {
        padding: 60px 20px;
    }

    /* ========================================
       OUR STORY SECTION - MOBILE FIX
       Center text, fix video, fix detail rows
       ======================================== */
    .story-content {
        text-align: center;
    }

    .story-content h2 {
        text-align: center;
    }

    .story-text {
        text-align: center;
    }

    .story-details {
        text-align: center;
    }

    .detail-item {
        flex-direction: column;
        gap: 5px;
        align-items: center;
        text-align: center;
    }

    .detail-label {
        font-size: 11px;
        margin-bottom: 2px;
        text-align: center;
    }

    .detail-value {
        font-size: 14px;
        word-break: break-word;
        text-align: center;
    }

    /* Video centered on mobile */
    .story-video {
        max-width: 100%;
        margin: 0 auto;
    }

    .story-video video {
        width: 100%;
        display: block;
        margin: 0 auto;
    }
}
