/* ========================================
   DREAME FAME - Team Page Styles
   ======================================== */

/* ---------- PAGE HERO ---------- */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.page-hero .container {
    z-index: 2;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-hero .lead {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.page-hero .breadcrumb {
    background: none;
    margin-bottom: 0;
}

.page-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.page-hero .breadcrumb-item a:hover {
    color: var(--accent);
}

.page-hero .breadcrumb-item.active {
    color: var(--accent);
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- LEADERSHIP SECTION ---------- */
.leader-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px;
    transition: var(--transition);
}

.leader-card:hover {
    box-shadow: var(--shadow-hover);
}

.leader-img-wrapper {
    position: relative;
    display: inline-block;
}

.leader-img {
    width: 100%;
    max-width: 280px;
    border-radius: var(--radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.leader-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.leader-role {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.leader-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 10px;
}

.leader-gallery {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.leader-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.leader-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ---------- TEAM PROFILE CARDS ---------- */
.team-profile-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 25px;
    transition: var(--transition);
    height: 100%;
}

.team-profile-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.team-profile-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
}

.team-member-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 3px;
}

.team-member-role {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.team-member-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- ENGINEER CARDS ---------- */
.engineer-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.engineer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.engineer-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
    border: 4px solid var(--light-bg);
    margin-bottom: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.engineer-card h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 3px;
}

.engineer-card p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0;
    font-weight: 500;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991.98px) {
    .page-hero {
        padding: 80px 0 50px;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    .leader-card {
        padding: 25px;
        text-align: center;
    }

    .leader-card .col-md-8 {
        text-align: left;
        margin-top: 20px;
    }

    .team-profile-img {
        height: 120px;
    }
}

@media (max-width: 767.98px) {
    .page-hero h1 {
        font-size: 1.8rem;
    }

    .leader-name {
        font-size: 1.4rem;
    }

    .leader-img {
        max-width: 200px;
    }

    .team-profile-card {
        padding: 15px;
    }

    .team-profile-img {
        height: 100px;
    }

    .team-member-name {
        font-size: 0.95rem;
    }

    .team-member-desc {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }

    .engineer-img {
        width: 70px;
        height: 70px;
    }

    .engineer-card h5 {
        font-size: 0.8rem;
    }
}
