/* ============================================
   ABOUT PAGE STYLES
   Smooth wave transitions like main page
   Theme colors only - no black text
============================================= */

/* ============================================
   SECTION BASE STYLES
   All sections need position:relative for waves
============================================= */
.about-hero,
.team-section,
.story-section,
.why-section,
.values-section,
.partnership-section,
.cta-section {
    position: relative;
    padding-bottom: 100px;
}

/* ============================================
   WAVE COLORS - Set to NEXT section's background
============================================= */
/* Hero (gray) -> Team (white) */
.about-hero .wave-divider svg {
    color: var(--bg-white);
}

/* Team (white) -> Story (light green) */
.team-section .wave-divider svg {
    color: var(--bg-green);
}

/* Story (light green) -> Why (offwhite) */
.story-section .wave-divider svg {
    color: var(--bg-offwhite);
}

/* Why (offwhite) -> Values (white) */
.why-section .wave-divider svg {
    color: var(--bg-white);
}

/* Values (white) -> Partnership (gray) */
.values-section .wave-divider svg {
    color: var(--bg-gray);
}

/* Partnership (gray) -> CTA (offwhite) */
.partnership-section .wave-divider svg {
    color: var(--bg-offwhite);
}

/* ============================================
   SECTION 1: HERO
============================================= */
.about-hero {
    padding-top: 160px;
    text-align: center;
}

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

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.about-hero-text {
    font-size: 1.35rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ============================================
   SECTION 2: TEAM
============================================= */
.team-section {
    padding-top: 80px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    text-align: center;
    background: var(--bg-offwhite);
    border-radius: 20px;
    padding: 30px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(90, 124, 105, 0.15);
}

.team-photo {
    width: 130px;
    height: 130px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--text-dark);
    box-shadow: 0 8px 25px rgba(90, 124, 105, 0.2);
    background: linear-gradient(135deg, var(--bg-dark), var(--text-dark));
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-photo.zoom img {
    width: 115%;
    height: 115%;
    margin: -7.5% 0 0 -7.5%;
}

.team-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.85rem;
    color: var(--brown);
    font-weight: 600;
    margin-bottom: 12px;
}

.team-bio {
    font-size: 0.85rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 15px;
    padding: 8px 16px;
    background: transparent;
    color: var(--brown);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    border: 2px solid var(--brown);
    transition: all 0.3s ease;
}

.linkedin-btn:hover {
    background: var(--brown);
    color: #fff;
    transform: translateY(-2px);
}

.linkedin-btn svg {
    flex-shrink: 0;
    fill: currentColor;
}

/* Partner Leader (Paul Walsh) */
.partner-leader {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: var(--bg-offwhite);
    border-radius: 20px;
    padding: 30px 40px;
    max-width: 900px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(90, 124, 105, 0.15);
}

.partner-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--text-dark);
    box-shadow: 0 8px 25px rgba(90, 124, 105, 0.2);
    flex-shrink: 0;
}

.partner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.partner-info {
    text-align: center;
}

.partner-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-medium);
    margin-bottom: 4px;
}

.partner-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.partner-role {
    font-size: 0.85rem;
    color: var(--brown);
    font-weight: 600;
    margin-bottom: 10px;
}

.partner-bio {
    font-size: 0.85rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.partner-info .linkedin-btn {
    margin-top: 15px;
}

/* ============================================
   SECTION 3: ORIGIN STORY (GAZELLE)
   Light green background, dark text, real photo
============================================= */
.story-section.section-green {
    background: var(--bg-green);
    padding-top: 80px;
}

.origin-story {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.origin-photo {
    text-align: center;
}

.origin-photo img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(90, 124, 105, 0.25);
}

.photo-caption {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-medium);
    font-style: italic;
}

.origin-content {
    color: var(--text-dark);
}

.origin-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.origin-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--text-medium);
}

.origin-content p strong {
    color: var(--text-dark);
}

.origin-highlight {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(90, 124, 105, 0.2);
    border-bottom: 1px solid rgba(90, 124, 105, 0.2);
}

.origin-highlight span {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* ============================================
   SECTION 4: WHY WE STARTED
============================================= */
.why-section {
    padding-top: 80px;
}

.why-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.why-stat {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(90, 124, 105, 0.08);
}

.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--brown);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-medium);
}

.why-statement {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.why-statement p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 16px;
}

.statement-bold {
    font-size: 1.25rem !important;
    font-weight: 700;
    color: var(--text-dark) !important;
}

/* ============================================
   SECTION 5: VALUES
============================================= */
.values-section {
    padding-top: 80px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--bg-offwhite);
    border-radius: 16px;
    border: 1px solid rgba(90, 124, 105, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(90, 124, 105, 0.12);
}

.value-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ============================================
   SECTION 6: METACERT PARTNERSHIP
============================================= */
.partnership-section {
    padding-top: 80px;
}

.metacert-inline-logo {
    display: inline-block;
    height: 1em;
    width: auto;
    vertical-align: middle;
    margin-left: 8px;
    border-radius: 4px;
}

.partnership-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 50px 0 40px;
}

.partnership-stat {
    flex: 0 1 calc(25% - 15px);
    min-width: 220px;
    background: white;
    padding: 25px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(90, 124, 105, 0.06);
}

.partnership-stat .stat-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 12px;
}

.partnership-stat p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-medium);
    margin: 0;
}

.partnership-stat p strong {
    display: block;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.partnership-quote {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 16px;
    border-left: 4px solid var(--green);
}

.partnership-quote p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-medium);
    font-style: italic;
    margin: 0;
}

.partnership-quote strong {
    color: var(--brown);
    font-style: normal;
}

/* ============================================
   SECTION 7: CTA
============================================= */
.cta-section {
    padding-top: 100px;
    padding-bottom: 100px;
    text-align: center;
}

.cta-badge {
    display: inline-block;
    background: var(--brown);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.cta-section h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.2;
}

.cta-trust {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.cta-trust span {
    font-size: 0.95rem;
    color: var(--text-medium);
    font-weight: 500;
}

/* ============================================
   RESPONSIVE DESIGN
============================================= */
@media (max-width: 1024px) {
    .partnership-stat {
        flex: 0 1 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .about-hero,
    .team-section,
    .story-section,
    .why-section,
    .values-section,
    .partnership-section {
        padding-bottom: 80px;
    }
    
    .about-hero {
        padding-top: 140px;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-hero-text {
        font-size: 1.15rem;
    }
    
    .about-hero-text br {
        display: none;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .team-card {
        padding: 25px 15px;
    }
    
    .team-photo {
        width: 110px;
        height: 110px;
    }
    
    .partner-card {
        padding: 30px 25px;
    }
    
    .origin-story {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .origin-photo {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .origin-highlight {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .why-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .partnership-stat {
        flex: 0 1 100%;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-trust {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
    
    .origin-content h2 {
        font-size: 1.8rem;
    }
    
    .origin-photo {
        max-width: 280px;
    }
    
    .why-statement p {
        font-size: 1rem;
    }
    
    .statement-bold {
        font-size: 1.1rem !important;
    }
}
