/* Subraps Teams Page CSS */

/* Teams Hero Section */
.teams-hero {
    padding: 5rem 0 3rem;
    background: linear-gradient(135deg, var(--color-navy) 0%, #0a2d5f 100%);
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .teams-hero {
        padding: 6rem 0 3.5rem;
    }
}

@media (min-width: 1024px) {
    .teams-hero {
        padding: 7rem 0 4rem;
    }
}

.teams-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 145, 68, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

@media (min-width: 768px) {
    .teams-hero::before {
        width: 450px;
        height: 450px;
    }
}

@media (min-width: 1024px) {
    .teams-hero::before {
        width: 600px;
        height: 600px;
    }
}

.teams-hero-container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) {
    .teams-hero-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.teams-hero-content {
    text-align: center;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.teams-hero-title {
    font-size: 1.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
    padding: 0 0.5rem;
}

@media (min-width: 640px) {
    .teams-hero-title {
        font-size: 2.25rem;
        margin-bottom: 1.25rem;
        padding: 0;
    }
}

@media (min-width: 768px) {
    .teams-hero-title {
        font-size: 2.75rem;
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .teams-hero-title {
        font-size: 3.5rem;
    }
}

.teams-hero-accent {
    color: var(--color-secondary);
    position: relative;
    display: inline-block;
}

.teams-hero-accent::after {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 0;
    right: 0;
    height: 0.375rem;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    opacity: 0.6;
    z-index: -1;
}

.teams-hero-subtitle {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.75;
    padding: 0 0.5rem;
}

@media (min-width: 640px) {
    .teams-hero-subtitle {
        font-size: 1rem;
        padding: 0;
    }
}

@media (min-width: 768px) {
    .teams-hero-subtitle {
        font-size: 1.125rem;
    }
}

@media (min-width: 1024px) {
    .teams-hero-subtitle {
        font-size: 1.25rem;
    }
}

/* Teams Section Header */
.teams-section-header {
    text-align: center;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .teams-section-header {
        margin-bottom: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .teams-section-header {
        margin-bottom: 3rem;
    }
}

.teams-section-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: linear-gradient(135deg, rgba(0, 145, 68, 0.1) 0%, rgba(0, 145, 68, 0.05) 100%);
    border: 1px solid rgba(0, 145, 68, 0.2);
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
}

@media (min-width: 640px) {
    .teams-section-badge {
        padding: 0.5rem 1.25rem;
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
}

.teams-section-title {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
    padding: 0 0.5rem;
}

@media (min-width: 640px) {
    .teams-section-title {
        font-size: 1.875rem;
        margin-bottom: 1rem;
        padding: 0;
    }
}

@media (min-width: 768px) {
    .teams-section-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .teams-section-title {
        font-size: 2.5rem;
    }
}

.teams-section-subtitle {
    font-size: 0.9375rem;
    color: #6b7280;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .teams-section-subtitle {
        font-size: 1rem;
        padding: 0;
    }
}

@media (min-width: 768px) {
    .teams-section-subtitle {
        font-size: 1.125rem;
    }
}

/* Teams Leadership Section */
.teams-leadership-section {
    padding: 3rem 0;
    background: #ffffff;
}

@media (min-width: 640px) {
    .teams-leadership-section {
        padding: 4rem 0;
    }
}

@media (min-width: 1024px) {
    .teams-leadership-section {
        padding: 5rem 0;
    }
}

.teams-leadership-container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .teams-leadership-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.teams-leadership-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .teams-leadership-grid {
        gap: 2.5rem;
        margin-top: 2.5rem;
    }
}

@media (min-width: 768px) {
    .teams-leadership-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
        margin-top: 3rem;
    }
}

.team-leader-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 1.5rem;
    padding: 1.75rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .team-leader-card {
        padding: 2rem;
    }
}

@media (min-width: 1024px) {
    .team-leader-card {
        padding: 2.5rem;
    }
}

.team-leader-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.team-leader-card:hover::before {
    transform: scaleX(1);
}

.team-leader-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--color-primary);
}

.team-leader-avatar {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.team-leader-avatar-placeholder {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-heading);
    margin: 0 auto;
    box-shadow: 0 10px 15px -3px rgba(0, 145, 68, 0.3);
}

@media (min-width: 640px) {
    .team-leader-avatar-placeholder {
        width: 7rem;
        height: 7rem;
        font-size: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .team-leader-avatar-placeholder {
        width: 8rem;
        height: 8rem;
        font-size: 2rem;
    }
}

.team-leader-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--color-navy);
    color: #ffffff;
    padding: 0.25rem 0.625rem;
    border-radius: 1rem;
    font-size: 0.6875rem;
    font-weight: 600;
    font-family: var(--font-heading);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
    .team-leader-badge {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
}

.team-leader-name {
    font-size: 1.25rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .team-leader-name {
        font-size: 1.375rem;
    }
}

@media (min-width: 1024px) {
    .team-leader-name {
        font-size: 1.5rem;
    }
}

.team-leader-title {
    font-size: 0.9375rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .team-leader-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

.team-leader-bio {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
    .team-leader-bio {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }
}

.team-leader-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.team-expertise-tag {
    padding: 0.3125rem 0.75rem;
    background: rgba(0, 145, 68, 0.1);
    border: 1px solid rgba(0, 145, 68, 0.2);
    border-radius: 1rem;
    font-size: 0.75rem;
    color: var(--color-primary);
    font-weight: 500;
}

@media (min-width: 640px) {
    .team-expertise-tag {
        padding: 0.375rem 0.875rem;
        font-size: 0.8125rem;
    }
}

.team-leader-social {
    margin-top: 1.25rem;
}

@media (min-width: 640px) {
    .team-leader-social {
        margin-top: 1.5rem;
    }
}

.team-social-link {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1rem;
    background: var(--color-navy);
    color: #ffffff;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    transition: all 0.3s ease;
    min-height: 40px;
    -webkit-tap-highlight-color: transparent;
}

@media (min-width: 640px) {
    .team-social-link {
        padding: 0.5rem 1.25rem;
        font-size: 0.875rem;
        min-height: auto;
    }
}

.team-social-link:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 145, 68, 0.3);
}

/* Teams Members Section */
.teams-members-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

@media (min-width: 640px) {
    .teams-members-section {
        padding: 4rem 0;
    }
}

@media (min-width: 1024px) {
    .teams-members-section {
        padding: 5rem 0;
    }
}

.teams-members-container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .teams-members-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.team-department {
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .team-department {
        margin-bottom: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .team-department {
        margin-bottom: 4rem;
    }
}

.team-department:last-child {
    margin-bottom: 0;
}

.team-department-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e5e7eb;
}

@media (min-width: 640px) {
    .team-department-header {
        gap: 1rem;
        margin-bottom: 2.5rem;
        padding-bottom: 1rem;
    }
}

.team-department-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    font-weight: 600;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .team-department-icon {
        width: 3.25rem;
        height: 3.25rem;
        font-size: 1.625rem;
    }
}

@media (min-width: 1024px) {
    .team-department-icon {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.75rem;
    }
}

.team-department-icon-1 {
    background: linear-gradient(135deg, rgba(0, 145, 68, 0.15) 0%, rgba(0, 145, 68, 0.05) 100%);
    border: 2px solid rgba(0, 145, 68, 0.2);
}

.team-department-icon-2 {
    background: linear-gradient(135deg, rgba(251, 215, 113, 0.2) 0%, rgba(251, 215, 113, 0.1) 100%);
    border: 2px solid rgba(251, 215, 113, 0.3);
}

.team-department-icon-3 {
    background: linear-gradient(135deg, rgba(4, 30, 66, 0.15) 0%, rgba(4, 30, 66, 0.05) 100%);
    border: 2px solid rgba(4, 30, 66, 0.2);
}

.team-department-title {
    font-size: 1.25rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-navy);
}

@media (min-width: 640px) {
    .team-department-title {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .team-department-title {
        font-size: 1.75rem;
    }
}

.team-members-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .team-members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .team-members-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1280px) {
    .team-members-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.team-member-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 1.25rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .team-member-card {
        padding: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .team-member-card {
        padding: 2rem;
    }
}

.team-member-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.team-member-card:hover::after {
    transform: scaleX(1);
}

.team-member-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 20px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.team-member-avatar {
    margin-bottom: 1.25rem;
}

.team-member-avatar-placeholder {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-heading);
    margin: 0 auto;
    box-shadow: 0 8px 12px -2px rgba(0, 145, 68, 0.25);
    transition: transform 0.3s ease;
}

@media (min-width: 640px) {
    .team-member-avatar-placeholder {
        width: 4.5rem;
        height: 4.5rem;
        font-size: 1.375rem;
    }
}

@media (min-width: 1024px) {
    .team-member-avatar-placeholder {
        width: 5rem;
        height: 5rem;
        font-size: 1.5rem;
    }
}

.team-member-card:hover .team-member-avatar-placeholder {
    transform: scale(1.1);
}

.team-member-name {
    font-size: 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.375rem;
}

@media (min-width: 640px) {
    .team-member-name {
        font-size: 1.0625rem;
    }
}

@media (min-width: 1024px) {
    .team-member-name {
        font-size: 1.125rem;
    }
}

.team-member-role {
    font-size: 0.8125rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.625rem;
}

@media (min-width: 640px) {
    .team-member-role {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }
}

.team-member-bio {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.625;
}

@media (min-width: 640px) {
    .team-member-bio {
        font-size: 0.875rem;
    }
}

/* Teams Culture Section */
.teams-culture-section {
    padding: 3rem 0;
    background: var(--color-navy);
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .teams-culture-section {
        padding: 4rem 0;
    }
}

@media (min-width: 1024px) {
    .teams-culture-section {
        padding: 5rem 0;
    }
}

.teams-culture-section::before {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 145, 68, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

@media (min-width: 768px) {
    .teams-culture-section::before {
        width: 400px;
        height: 400px;
    }
}

@media (min-width: 1024px) {
    .teams-culture-section::before {
        width: 500px;
        height: 500px;
    }
}

.teams-culture-container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) {
    .teams-culture-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.culture-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .culture-grid {
        gap: 1.75rem;
        margin-top: 2.5rem;
    }
}

@media (min-width: 768px) {
    .culture-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin-top: 3rem;
    }
}

.culture-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 1.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 640px) {
    .culture-card {
        padding: 2rem;
    }
}

@media (min-width: 1024px) {
    .culture-card {
        padding: 2.5rem;
    }
}

.culture-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.culture-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

@media (min-width: 640px) {
    .culture-icon {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .culture-icon {
        width: 4rem;
        height: 4rem;
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
}

.culture-card:hover .culture-icon {
    transform: scale(1.1) rotate(5deg);
}

.culture-icon-1 {
    background: linear-gradient(135deg, rgba(0, 145, 68, 0.2) 0%, rgba(0, 145, 68, 0.1) 100%);
    border: 2px solid rgba(0, 145, 68, 0.3);
}

.culture-icon-2 {
    background: linear-gradient(135deg, rgba(251, 215, 113, 0.25) 0%, rgba(251, 215, 113, 0.15) 100%);
    border: 2px solid rgba(251, 215, 113, 0.35);
}

.culture-icon-3 {
    background: linear-gradient(135deg, rgba(0, 145, 68, 0.2) 0%, rgba(251, 215, 113, 0.15) 100%);
    border: 2px solid rgba(0, 145, 68, 0.3);
}

.culture-icon-4 {
    background: linear-gradient(135deg, rgba(4, 30, 66, 0.3) 0%, rgba(4, 30, 66, 0.15) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.culture-title {
    font-size: 1.25rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .culture-title {
        font-size: 1.375rem;
        margin-bottom: 1rem;
    }
}

@media (min-width: 1024px) {
    .culture-title {
        font-size: 1.5rem;
    }
}

.culture-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
}

@media (min-width: 640px) {
    .culture-text {
        font-size: 0.9375rem;
    }
}

/* Teams Join Section */
.teams-join-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #007a3a 100%);
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .teams-join-section {
        padding: 4rem 0;
    }
}

@media (min-width: 1024px) {
    .teams-join-section {
        padding: 5rem 0;
    }
}

.teams-join-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

@media (min-width: 768px) {
    .teams-join-section::before {
        width: 450px;
        height: 450px;
    }
}

@media (min-width: 1024px) {
    .teams-join-section::before {
        width: 600px;
        height: 600px;
    }
}

.teams-join-container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) {
    .teams-join-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.teams-join-content {
    text-align: center;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.teams-join-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

@media (min-width: 640px) {
    .teams-join-badge {
        padding: 0.5rem 1.25rem;
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
    }
}

.teams-join-title {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    padding: 0 0.5rem;
}

@media (min-width: 640px) {
    .teams-join-title {
        font-size: 1.875rem;
        margin-bottom: 1rem;
        padding: 0;
    }
}

@media (min-width: 768px) {
    .teams-join-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .teams-join-title {
        font-size: 3rem;
    }
}

.teams-join-subtitle {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.75;
    padding: 0 0.5rem;
}

@media (min-width: 640px) {
    .teams-join-subtitle {
        font-size: 1rem;
        margin-bottom: 2.25rem;
        padding: 0;
    }
}

@media (min-width: 768px) {
    .teams-join-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2.5rem;
    }
}

.teams-join-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
}

@media (min-width: 640px) {
    .teams-join-features {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        margin-bottom: 2.5rem;
        padding: 0;
    }
}

.join-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .join-feature {
        gap: 0.75rem;
    }
}

.join-feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 640px) {
    .join-feature-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
    }
}

.join-feature-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    text-align: center;
}

@media (min-width: 640px) {
    .join-feature-text {
        font-size: 0.875rem;
    }
}

.teams-join-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    padding: 0 0.5rem;
}

@media (min-width: 640px) {
    .teams-join-buttons {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 0;
    }
}

.teams-join-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    width: 100%;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}

@media (min-width: 640px) {
    .teams-join-btn {
        padding: 1rem 2rem;
        font-size: 0.9375rem;
        width: auto;
        min-width: 160px;
    }
}

@media (min-width: 1024px) {
    .teams-join-btn {
        padding: 1rem 2.5rem;
        font-size: 1rem;
        min-width: 180px;
    }
}

.teams-join-btn-primary {
    background: #ffffff;
    color: var(--color-primary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.teams-join-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    background: var(--color-secondary);
    color: var(--color-navy);
}

.teams-join-btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.teams-join-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}


