/* Get to Know Us Page Styles */

/* Typography - Following styles.md specifications */
h1, .team-hero-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 3.75rem;     /* 60px */
    font-weight: 800;       /* Extra Bold */
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: #111827;         /* gray-900 */
}

h2, .section-title, .cta-title, .philosophy-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 2.5rem;      /* 40px */
    font-weight: 700;       /* Bold */
    line-height: 1.2;
    color: #111827;         /* gray-900 */
}

h3, .member-name, .card-name {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.75rem;     /* 28px */
    font-weight: 700;       /* Bold */
    line-height: 1.3;
    color: #111827;         /* gray-900 */
}

h4, .member-title, .card-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.25rem;     /* 20px */
    font-weight: 600;       /* Semi-Bold */
    line-height: 1.4;
    color: #111827;         /* gray-900 */
}

/* Body Text */
p, .team-hero-subtitle, .vision-text p, .member-bio p, .card-bio, .philosophy-text, .cta-description {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;        /* 16px */
    font-weight: 400;       /* Normal */
    line-height: 1.6;
    color: #6b7280;         /* gray-500 */
}

/* Large paragraph text */
.team-hero-subtitle, .cta-description {
    font-size: 1.125rem;    /* 18px */
    line-height: 1.6;
}

/* Team Hero Section */
.team-hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(to bottom, #ffffff, #f9fafb);
    position: relative;
    overflow: hidden;
}

.team-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    background: #f3f4f6;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 2rem;
}

.team-hero-title {
    margin-bottom: 1.5rem;
}

.team-hero-subtitle {
    color: #6b7280;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.hero-stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Vision Section with Parallax */
.vision-section {
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 0;
    background-repeat: no-repeat;
}

.vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);  /* Dark overlay covering entire section */
    z-index: 1;
}

.content-overlay {
    padding: 6rem 4rem;
    width: 100%;
    position: relative;
    z-index: 2;  /* Above the overlay */
    background: transparent;  /* Remove background from content overlay */
}

.content-overlay h2 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 2rem;
}

.content-overlay p {
    color: #f3f4f6;
    font-size: 1.25rem;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Team Members Section */
.team-members {
    padding: 8rem 0;
    background: #ffffff;
}

.team-member {
    margin-bottom: 8rem;
}

.member-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.team-member.reverse .member-content {
    grid-template-columns: 1fr 2fr;
}

.team-member.reverse .member-text {
    order: 2;
}

.team-member.reverse .member-image {
    order: 1;
}

.member-name {
    margin-bottom: 0.5rem;
}

.member-title {
    color: #6b7280;
    margin-bottom: 2rem;
    font-weight: 500;
}

.member-bio p {
    margin-bottom: 1.5rem;
}

.member-quote {
    background: #f9fafb;
    border-left: 4px solid #111827;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: #374151;
    font-size: 1.125rem;
    line-height: 1.6;
}

.member-image {
    position: relative;
}

.member-image img {
    width: 100%;
    height: 400px;  /* Fixed height for consistency */
    object-fit: cover;  /* Ensures proper cropping while maintaining aspect ratio */
    object-position: center top;  /* Focus on the top center of the image */
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.member-image img:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Team Philosophy */
.team-philosophy {
    background: #f9fafb;
    padding: 6rem 4rem;
    border-radius: 2rem;
    margin: 6rem 0;
    text-align: center;
}

.philosophy-title {
    margin-bottom: 2rem;
    color: #111827;
}

.philosophy-text {
    font-size: 1.125rem;
    line-height: 1.7;
    max-width: 1000px;
    margin: 0 auto;
}

/* Additional Team Members Cards */
.additional-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 6rem;
}

.team-member-card {
    background: #ffffff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 300px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.team-member-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 2rem;
}

.card-name {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.card-title {
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 500;
}

.card-bio {
    line-height: 1.6;
}

/* CTA Section */
.team-cta {
    padding: 8rem 0;
    background: linear-gradient(to bottom, #f9fafb, #ffffff);
}

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

.cta-title {
    margin-bottom: 1.5rem;
}

.cta-description {
    margin-bottom: 3rem;
    color: #6b7280;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Typography responsive adjustments */
    h1, .team-hero-title {
        font-size: 2.5rem;    /* 40px */
    }
    
    h2, .section-title, .cta-title, .philosophy-title {
        font-size: 2rem;      /* 32px */
    }
    
    h3, .member-name, .card-name {
        font-size: 1.5rem;    /* 24px */
    }
    
    .team-hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 400px;
    }
    
    .hero-stat-number {
        font-size: 2rem;
    }
    
    .member-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .team-member.reverse .member-content {
        grid-template-columns: 1fr;
    }
    
    .team-member.reverse .member-text,
    .team-member.reverse .member-image {
        order: unset;
    }
    
    .member-image img {
        height: 350px;  /* Slightly smaller on tablet */
    }
    
    .content-overlay {
        padding: 4rem 2rem;
    }
    
    .content-overlay h2 {
        font-size: 2rem;
    }
    
    .content-overlay p {
        font-size: 1.125rem;
    }
    
    .team-philosophy {
        padding: 4rem 2rem;
        margin: 4rem 0;
    }
    
    .additional-members {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    /* Typography responsive adjustments */
    h1, .team-hero-title {
        font-size: 2rem;      /* 32px */
    }
    
    h2, .section-title, .cta-title, .philosophy-title {
        font-size: 1.75rem;   /* 28px */
    }
    
    h3, .member-name, .card-name {
        font-size: 1.25rem;   /* 20px */
    }
    
    .team-hero {
        padding: 4rem 0 3rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-stat-number {
        font-size: 1.75rem;
    }
    
    .content-overlay {
        padding: 3rem 1.5rem;
    }
    
    .member-image img {
        height: 300px;  /* Smaller on mobile */
    }
    
    .team-philosophy {
        padding: 3rem 1.5rem;
        margin: 3rem 0;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .vision-section {
        min-height: 50vh;
    }
}
