.team-section {
    padding: 160px 40px;
    background: linear-gradient(180deg, #0a0a0a 0%, #0d1218 50%, #0a0a0a 100%);
    position: relative;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-green), transparent);
}

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

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--brand-green);
    margin-bottom: 20px;
    padding: 8px 20px;
    border: 1px solid rgba(90, 174, 224, 0.3);
    border-radius: 50px;
    background: rgba(90, 174, 224, 0.05);
}

.section-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 300;
    color: #ffffff;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 25px;
}

.section-title span {
    font-weight: 700;
    color: var(--brand-green);
}

.section-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

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

.team-member-card {
    position: relative;
    background: #111111;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(90, 174, 224, 0.05);
}

.team-member-card:hover {
    border-color: rgba(90, 174, 224, 0.2);
    box-shadow: 0 20px 50px rgba(90, 174, 224, 0.1);
}

.team-member-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.9) 100%);
    z-index: 2;
    pointer-events: none;
}

.team-member-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(90, 174, 224, 0.1);
    border-radius: 4px;
    pointer-events: none;
    z-index: 3;
    transition: border-color 0.4s ease;
}

.team-member-card:hover::after {
    border-color: rgba(90, 174, 224, 0.5);
    box-shadow: 0 0 30px rgba(90, 174, 224, 0.15);
}

.image-wrapper {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.team-member-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
    filter: grayscale(100%) contrast(1.1);
}

.team-member-card:hover img {
    transform: scale(1.08);
    filter: grayscale(0%) contrast(1);
}

.member-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px;
    z-index: 4;
    transform: translateY(20px);
    opacity: 0.9;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-member-card:hover .member-overlay {
    transform: translateY(0);
    opacity: 1;
}

.member-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.member-info p {
    font-size: 0.85rem;
    color: var(--brand-green);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
    margin-bottom: 20px;
}

.member-line {
    width: 40px;
    height: 2px;
    background: rgba(255,255,255,0.2);
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.team-member-card:hover .member-line {
    width: 60px;
    background: var(--brand-green);
}

.social-links {
    display: flex;
    gap: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.team-member-card:hover .social-links {
    opacity: 1;
    transform: translateY(0);
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    transition: all 0.3s ease;
    background: transparent;
}

.social-links a:hover {
    background: var(--brand-green);
    border-color: var(--brand-green);
    color: #0a0a0a;
    transform: translateY(-3px);
}

/* Featured cards (Leadership) */
.team-member-card.featured {
    grid-column: span 1;
}

.team-member-card.featured .image-wrapper {
    aspect-ratio: 3/3.5;
}

.team-member-card.featured .member-info h3 {
    font-size: 1.75rem;
}

.team-member-card.featured .member-info p {
    font-size: 0.9rem;
}

/* Animation on scroll */
.team-member-card {
    opacity: 0;
    transform: translateY(60px);
}

.team-member-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Stats Bar */
.team-stats-bar {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-top: 120px;
    padding-top: 80px;
    border-top: 1px solid rgba(90, 174, 224, 0.1);
}

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

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 200;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
}

.stat-number span {
    color: var(--brand-green);
    font-weight: 600;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
}

/* CTA Section */
.team-cta {
    text-align: center;
    margin-top: 120px;
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(90, 174, 224, 0.08) 0%, rgba(90, 174, 224, 0.03) 100%);
    border-radius: 4px;
    border: 1px solid rgba(90, 174, 224, 0.15);
    position: relative;
    overflow: hidden;
}

.team-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(90, 174, 224, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.team-cta h3 {
    font-size: 2rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 15px;
}

.team-cta p {
    color: rgba(255,255,255,0.5);
    margin-bottom: 30px;
    font-size: 1rem;
}

.cta-button-outline {
    display: inline-block;
    padding: 16px 40px;
    border: 1px solid rgba(90, 174, 224, 0.4);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    transition: all 0.4s ease;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
}

.cta-button-outline:hover {
    background: var(--brand-green);
    border-color: var(--brand-green);
    color: #0a0a0a;
    box-shadow: 0 0 30px rgba(90, 174, 224, 0.4);
}

/* Responsive */
@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .team-stats-bar {
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 100px 20px;
    }
    
    .team-header {
        margin-bottom: 60px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .member-overlay {
        padding: 30px 25px;
        opacity: 1;
        transform: translateY(0);
    }
    
    .social-links {
        opacity: 1;
        transform: translateY(0);
    }
    
    .team-stats-bar {
        flex-direction: column;
        gap: 40px;
        margin-top: 80px;
        padding-top: 60px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .team-cta {
        margin-top: 80px;
        padding: 50px 30px;
    }
}

/* ----------------------------- */
/* FOOTER STYLES                 */
/* ============================= */
.main-footer {
    background-color: #0a0a0a;
    padding: 80px 80px 30px;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(90, 174, 224, 0.3), transparent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section {
    position: relative;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--brand-green);
}

.footer-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-links-row:last-child {
    margin-bottom: 0;
}

.footer-links-row a {
    color: var(--text-secondary);
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-links-row a:hover {
    color: var(--brand-green);
}

.social-section .footer-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.social-icons-row {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.social-icon-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    background-color: transparent;
}

.social-icon-box:hover {
    border-color: var(--brand-green);
    color: var(--brand-green);
    transform: translateY(-3px);
}

.back-to-top {
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.back-to-top:hover {
    color: var(--brand-green);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--brand-green);
}

@media (max-width: 991px) {
    .main-footer {
        padding: 60px 40px 25px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .social-section {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 50px 20px 25px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .social-section {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding-top: 30px;
    }
    
    .footer-legal {
        gap: 20px;
    }
}
