:root {
    --tm-primary: #1DA1F2;
    --tm-accent: #0ea5e9;
    --tm-dark: #0F172A;
    --tm-gray: #64748b;
    --tm-light: #f1f5f9;
    --tm-white: #ffffff;
}

.tm-hero {
    background: var(--primary-gradient);
    padding: 100px 0; /* Standardized for Sticky Header AuraHost V2 */
    color: var(--tm-white);
    position: relative;
    overflow: hidden;
}

.tm-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--tm-primary) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(50px);
}

.tm-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 3.2rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.tm-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* Home Team Section Styles */
.home-team-section {
    padding: 100px 0;
    background: #f8fafc;
}

.team-grid-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.team-card-home {
    background: #fff;
    border-radius: 30px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(241, 245, 249, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    align-items: center;
}

.team-card-home:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(46, 211, 145, 0.1);
    border-color: rgba(46, 211, 145, 0.2);
}

.team-card-home .img-wrapper {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #f8fafc;
}

.team-card-home img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.6s ease;
}

.team-card-home:hover img {
    transform: scale(1.1);
}

.team-card-home h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #0F172A;
}

.team-card-home .role {
    font-weight: 600;
    color: #1DA1F2;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: block;
}

.team-card-home p {
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 0;
    font-size: 0.9rem;
}

@media (max-width: 1199px) {
    .team-grid-home { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 767px) {
    .home-team-section { padding: 60px 0; }
    .team-grid-home { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 15px; 
    }
    .team-card-home {
        padding: 15px;
        border-radius: 20px;
    }
    .team-card-home .img-wrapper {
        aspect-ratio: 4 / 5;
        height: auto;
        border-radius: 15px;
    }
    .team-card-home h3 {
        font-size: 1.1rem;
    }
    .team-card-home .role {
        font-size: 0.75rem;
    }
    .team-card-home p {
        font-size: 0.8rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .tm-title {
        font-size: 2.5rem;
    }
}
