/* TRAINER SINGLE PROFILE PAGE */
.team-main {
    padding-top: 2.5rem;
    padding-bottom: 1rem;
}

/* Image Hero Banner (Synced with About/Services) */
.team-hero-banner {
    position: relative;
    padding: 6rem 1.5rem 4rem;
    text-align: center;
    background-image: url('../../images/banners/banner-trainer.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: -6rem; 
    margin-bottom: 3rem;
    min-height: 65vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.team-hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 31, 63, 0.65), rgba(0, 31, 63, 0.85));
    z-index: 1;
}

.team-hero-content {
    position: relative;
    z-index: 2;
    max-width: 56rem;
    margin: 0 auto;
}

.team-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-family: "Manrope", sans-serif;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.team-hero-title .highlight {
    color: #f28c1b;
}

.team-hero-desc {
    font-size: 1.125rem;
    color: #e8f0ff;
    font-weight: 400;
    line-height: 1.625;
}

.team-hero-divider {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.divider-line {
    height: 0.25rem;
    width: 4rem;
    background-color: #f28c1b;
    border-radius: 9999px;
}



/* Expert Spotlight Section */
.expert-spotlight-section {
    padding: 2rem 1.5rem;
    width: 100%;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .expert-spotlight-section {
        width: 90%;
        max-width: 80rem;
    }
}

.expert-profile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: flex-start;
}



.expert-visual-col {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.expert-image-wrapper {
    aspect-ratio: 4 / 5;
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(0, 31, 63, 0.2);
    position: relative;
    background-color: #f2f4f6;
}

.expert-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.expert-image-wrapper:hover .expert-portrait {
    transform: scale(1.05);
}

.expert-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 31, 63, 0.5), transparent);
    pointer-events: none;
}

/* Credentials Card */
.expert-credentials-card {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.credential-item span {
    color: #f28c1b;
    font-size: 3rem;
}

.credential-item div strong {
    display: block;
    font-size: 1.25rem;
    font-family: 'Manrope', sans-serif;
    color: #0d1b2a;
}

.credential-item div span {
    font-size: 0.95rem;
    color: #64748b;
}

/* Bio Content */
.section-header-block {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 0 1.5rem;
}

.section-header-block.left-aligned {
    text-align: left;
    margin-left: 0;
    margin-bottom: 2rem;
}

.section-header-subtitle {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #f28c1b;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.section-header-title {
    font-family: 'Manrope', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0d1b2a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight-orange {
    color: #f28c1b;
}

.section-header-desc {
    font-family: 'Inter', sans-serif;
    color: #4a5568;
    font-size: 1.125rem;
    line-height: 1.625;
}

.bio-intro {
    font-size: 1.5rem;
    font-style: italic;
    color: #0d1b2a;
    font-weight: 700; /* Matched weight */
    margin-bottom: 2rem;
    line-height: 1.5;
    border-left: 6px solid #f28c1b;
    padding-left: 1.5rem;
    font-family: 'Manrope', sans-serif;
}

.bio-main {
    font-size: 1.125rem; /* Matched exactly to About story-paragraphs */
    color: #4a5568;
    font-weight: 400;
    line-height: 1.625;
    margin-bottom: 1.5rem;
}

/* Expertise Tags */
.expertise-tags {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid #e2e8f0;
}

.tags-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0d1b2a;
    margin-bottom: 2rem;
    font-family: 'Manrope', sans-serif;
}

.tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.expert-tag {
    background-color: #f8fafc;
    color: #334155;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.expert-tag:hover {
    background-color: #f28c1b;
    color: #ffffff;
    border-color: #f28c1b;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(242, 140, 27, 0.2);
}

/* Expert CTA */
.expert-cta {
    margin-top: 4rem;
}

.btn-consult {
    display: inline-block;
    background: linear-gradient(135deg, #0d1b2a, #1e293b);
    color: #ffffff;
    padding: 1.5rem 4rem;
    border-radius: 9999px;
    font-weight: 800;
    font-size: 1.125rem;
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    box-shadow: 0 25px 50px rgba(13, 27, 42, 0.25);
    transition: all 0.4s ease;
    text-align: center;
}

.btn-consult:hover {
    transform: translateY(-7px) scale(1.02);
    box-shadow: 0 35px 70px rgba(13, 27, 42, 0.35);
}

/* Philosophy Section */
.team-philosophy-section {
    padding: 2rem 1.5rem; /* Matched to Home Section Padding */
    background-color: #f8fafc;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .mission-grid {
        width: 90%;
    }
}



.mission-card {
    background-color: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.mission-icon-box {
    width: 4.5rem;
    height: 4.5rem;
    background-color: #f1f5f9;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.mission-card:hover .mission-icon-box {
    background-color: #f28c1b;
}

.mission-icon { 
    color: #0d1b2a; 
    font-size: 2.25rem;
    transition: color 0.4s ease;
}

.mission-card:hover .mission-icon {
    color: #ffffff;
}

.mission-title {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Manrope', sans-serif;
    color: #0d1b2a;
}

.mission-desc {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Certifications */
.certifications-section {
    padding: 3rem 1.5rem 2rem 1.5rem; /* Matched exactly to Home Bento padding */
    text-align: center;
    border-top: 1px solid #f1f5f9;
}

.cert-title {
    font-size: 1rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 4rem;
}

.cert-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.cert-item:hover {
    opacity: 1;
}

.cert-icon { 
    font-size: 3.5rem; 
    color: #0d1b2a;
}

.cert-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: #0d1b2a;
}


/* Responsive Settings */
@media (min-width: 768px) {
    .team-hero-banner {
        padding: 3rem;
        min-height: 100vh;
    }
    .team-hero-title {
        font-size: 4.5rem;
    }
    .team-hero-desc {
        font-size: 1.5rem;
    }
    .expert-profile-grid { 
        grid-template-columns: 4fr 6fr; 
    }
    .mission-grid { 
        grid-template-columns: repeat(3, 1fr); 
    }
    .mt-md-8 { margin-top: 3rem; }
    .mt-md-16 { margin-top: 6rem; }
}
