/* ===== MOBILE CHI SIAMO SECTION ===== */
.mobile-chi-siamo-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.mobile-chi-siamo-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== SECTION HEADER ===== */
.mobile-section-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out;
}

.mobile-section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.mobile-section-description {
    font-size: clamp(1rem, 3.5vw, 1.1rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* ===== TEAM SECTION ===== */
.mobile-team-section {
    margin-top: 3rem;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.mobile-team-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.mobile-team-description {
    font-size: clamp(1rem, 3.5vw, 1.1rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== TEAM MEMBERS ===== */
.mobile-team-members {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}

.mobile-team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    max-width: 280px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.mobile-team-member:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* ===== MEMBER IMAGE ===== */
.mobile-member-image {
    width: 120px;
    height: 150px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: contrast(1.1) brightness(1.05) saturate(1.1);
    transition: all 0.3s ease;
}

.mobile-team-member:hover .member-photo {
    filter: contrast(1.2) brightness(1.1) saturate(1.15);
    transform: scale(1.05);
}

/* ===== MEMBER INFO ===== */
.mobile-member-info {
    text-align: center;
}

.member-name {
    font-size: clamp(1.2rem, 4vw, 1.4rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.member-role {
    font-size: clamp(0.9rem, 3vw, 1rem);
    font-weight: 600;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* ===== CERTIFICATIONS ===== */
.mobile-certifications {
    text-align: center;
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.mobile-certifications-title {
    font-size: clamp(1.4rem, 4.5vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ffffff;
}

.mobile-certifications-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.certification-link {
    display: block;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.certification-link:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.certification-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.05);
    transition: all 0.3s ease;
}

.certification-link:hover .certification-logo {
    filter: brightness(1.2) contrast(1.1);
    transform: scale(1.05);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 320px) {
    .mobile-chi-siamo-section {
        padding: 3rem 0;
    }
    
    .mobile-chi-siamo-container {
        padding: 0 1rem;
    }
    
    .mobile-section-header {
        margin-bottom: 2rem;
    }
    
    .mobile-section-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .mobile-section-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .mobile-team-section {
        margin-top: 2rem;
    }
    
    .mobile-team-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .mobile-team-description {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
    
    .mobile-team-members {
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .mobile-team-member {
        padding: 1.5rem 1rem;
        max-width: 240px;
    }
    
    .mobile-member-image {
        width: 100px;
        height: 125px;
        margin-bottom: 1rem;
    }
    
    .member-name {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }
    
    .member-role {
        font-size: 0.8rem;
    }
    
    .mobile-certifications {
        margin-top: 2rem;
    }
    
    .mobile-certifications-title {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .mobile-certifications-grid {
        gap: 1.5rem;
    }
    
    .certification-logo {
        width: 60px;
        height: 60px;
    }
}

@media (min-width: 480px) and (max-width: 600px) {
    .mobile-chi-siamo-section {
        padding: 5rem 0;
    }
    
    .mobile-chi-siamo-container {
        padding: 0 2rem;
    }
    
    .mobile-section-header {
        margin-bottom: 4rem;
    }
    
    .mobile-section-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    .mobile-section-description {
        font-size: 1.2rem;
        margin-bottom: 1.8rem;
    }
    
    .mobile-team-section {
        margin-top: 4rem;
    }
    
    .mobile-team-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .mobile-team-description {
        font-size: 1.2rem;
        margin-bottom: 3rem;
        max-width: 600px;
    }
    
    .mobile-team-members {
        gap: 3rem;
        margin-bottom: 4rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .mobile-team-member {
        padding: 2.5rem 2rem;
        max-width: 300px;
    }
    
    .mobile-member-image {
        width: 140px;
        height: 175px;
        margin-bottom: 2rem;
    }
    
    .member-name {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .member-role {
        font-size: 1.1rem;
    }
    
    .mobile-certifications {
        margin-top: 4rem;
    }
    
    .mobile-certifications-title {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
    }
    
    .mobile-certifications-grid {
        gap: 2.5rem;
    }
    
    .certification-logo {
        width: 100px;
        height: 100px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    .mobile-section-header,
    .mobile-team-section,
    .mobile-certifications {
        animation: none;
    }
    
    .mobile-team-member:hover,
    .certification-link:hover {
        transform: none;
    }
    
    .mobile-team-member:hover .member-photo,
    .certification-link:hover .certification-logo {
        transform: none;
    }
}
