/* Team Page - Complete Override Styles */

/* Important overrides to ensure our styles take precedence */
.team-page {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    line-height: 1.6 !important;
    color: #1d0c46 !important;
    background: #ffffff !important;
}

/* Override any conflicting container styles */
.team-page .container {
    max-width: 1800px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    width: 100% !important;
}

/* Override any conflicting main content styles */
.team-page .main-content {
    margin: 0 !important;
    padding: 0 !important;
}

.team-page * {
    box-sizing: border-box;
}

/* Hero Section */
.team-page .team-hero {
    background: linear-gradient(135deg, #ffffff 0%, #DDE2EE 50%, #ffffff 100%) !important;
    padding: 120px 0 80px !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
}

.team-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.team-hero .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.team-hero .hero-text {
    text-align: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.team-hero .hero-text h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #1d0c46;
    text-align: center;
}

.team-hero .hero-text .hero-subheadline {
    font-size: 1.25rem;
    color: #6b5b7a;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Mission Section */
.mission-section {
    padding: 100px 0 !important;
    background: #ffffff !important;
    margin: 0 !important;
}

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

.mission-content h2 {
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 24px;
    color: #1d0c46;
    line-height: 1.3;
}

.mission-content p {
    font-size: 1.25rem;
    color: #6b5b7a;
    line-height: 1.6;
    margin: 0 auto;
}

/* Founding Team Section */
.founding-team {
    padding: 100px 0;
    background: #DDE2EE;
    position: relative;
    overflow: hidden;
}

.founding-team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/images/grid-pattern.svg');
    opacity: 0.05;
    z-index: 1;
}

.founding-team .container {
    position: relative;
    z-index: 2;
}

.founding-team-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.founding-team-intro h2 {
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 24px;
    color: #1d0c46;
}

.founding-team-intro p {
    font-size: 1.25rem;
    color: #6b5b7a;
    line-height: 1.6;
}

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

.founder-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(29, 12, 70, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(29, 12, 70, 0.1);
    display: flex;
    flex-direction: column;
    padding-top: 0;
}

.founder-image {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

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

.founder-details {
    padding: 30px;
}

.founder-name {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #1d0c46;
}

.founder-title {
    font-size: 1.1rem;
    color: #6b5b7a;
    margin-bottom: 20px;
}

.founder-bio {
    font-size: 1rem;
    color: #6b5b7a;
    line-height: 1.6;
    margin-bottom: 20px;
}

.founder-social {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(29, 12, 70, 0.05);
    border-radius: 50%;
    color: #1d0c46;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #1d0c46;
    color: white;
    transform: translateY(-3px);
}

.social-link i {
    font-size: 1.2rem;
}

/* Join Us Section */
.join-us {
    padding: 100px 0;
    background: #ffffff;
    text-align: center;
}

.join-us-content {
    max-width: 800px;
    margin: 0 auto;
}

.join-us-content h2 {
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 24px;
    color: #1d0c46;
}

.join-us-content p {
    font-size: 1.25rem;
    color: #6b5b7a;
    line-height: 1.6;
    margin-bottom: 40px;
}

.join-us-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: #1d0c46;
    color: white;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(29, 12, 70, 0.3);
}

.join-us-btn:hover {
    background: #2d1c56;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 12, 70, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .founders-grid {
        gap: 30px;
    }
    
    .team-hero .hero-text h1 {
        font-size: 3rem;
    }
    
    .founder-image {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .team-hero {
        padding: 60px 0 40px !important;
        min-height: auto !important;
    }
    
    .team-hero .hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .team-hero .hero-text .hero-subheadline {
        font-size: 1rem;
    }
    
    .mission-section,
    .founding-team,
    .join-us {
        padding: 60px 0;
    }
    
    .mission-content h2,
    .founding-team-intro h2,
    .join-us-content h2 {
        font-size: 2rem;
    }
    
    .mission-content p,
    .founding-team-intro p,
    .join-us-content p {
        font-size: 1rem;
    }
    
    .founders-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .team-hero .container,
    .mission-content,
    .founding-team-intro,
    .founders-grid,
    .join-us-content {
        padding: 0 16px;
    }
    
    .team-hero .hero-text h1 {
        font-size: 2rem;
    }
    
    .mission-content h2,
    .founding-team-intro h2,
    .join-us-content h2 {
        font-size: 1.75rem;
    }
    
    .founder-image {
        height: 400px;
    }
    
    .founder-details {
        padding: 20px;
    }
    
    .founder-name {
        font-size: 1.5rem;
    }
    
    .founder-title {
        font-size: 1rem;
    }
}
