/* Team Page Specific Styles */

/* Team Hero Section */
.team-hero {
    padding: 120px 20px 60px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0e1218 100%);
    text-align: center;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(13, 17, 23, 0.8);
    border: 1px solid rgba(84, 200, 237, 0.3);
    border-radius: 50px;
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.team-hero .hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-white);
    line-height: 1.1;
}

.team-hero .text-gradient {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-hero .hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-gray);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Team Grid Section */
.team-section {
    padding: 60px 20px 100px;
    background: var(--bg-dark);
}

.team-container {
    max-width: 1400px; /* Slightly wider for 4 columns */
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
}

/* Team Card Styling */
.team-card {
    background: rgba(22, 27, 34, 0.5);
    border: 1px solid #30363D;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: rgba(84, 200, 237, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(22, 27, 34, 0.8);
}

.member-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #161b22 0%, #0d1117 100%);
}

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

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

.member-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.member-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 6px;
}

.member-role {
    color: var(--primary-blue);
    font-size: 0.95rem;
    font-weight: 600;
    display: block;
    margin-bottom: 16px;
}

.member-bio {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.member-social {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #30363D;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.03);
}

.social-link:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #fff;
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .team-hero {
        padding-top: 100px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .member-image {
        height: 350px;
    }
}

/* Our Values Section */
.values-section {
    padding: 0 20px 80px;
    background: var(--bg-dark);
}

.values-container {
    max-width: 1000px;
    margin: 0 auto;
}

.values-header {
    text-align: center;
    margin-bottom: 50px;
}

.values-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
}

.values-subtitle {
    color: var(--text-gray);
    font-size: 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.value-card {
    background: rgba(22, 27, 34, 0.4);
    border: 1px solid #30363D;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    background: rgba(22, 27, 34, 0.8);
    border-color: rgba(84, 200, 237, 0.3);
}

.value-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 15px;
}

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

/* Ensure CTA wrapper has correct spacing from Values section */
.team-cta-wrapper {
    padding-top: 20px;
}

/* Footer Styling */
.site-footer {
    padding: 40px 20px;
    background: var(--bg-dark); /* Or lighter dark if you prefer separation */
    border-top: 1px solid rgba(48, 54, 61, 0.5);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-white);
    font-weight: 600;
    font-size: 1rem;
}

.footer-copyright {
    color: #6e7681;
    font-size: 0.85rem;
}

/* Mobile Responsive Tweaks */
@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
}