/* Profile Cards (Team Page) */
.profile-card {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.profile-img-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    padding: 10px;
    overflow: hidden;
}

.profile-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Team Card Hover */
.team-card {
    transition: var(--transition-smooth);
    border-bottom: 3px solid transparent;
    cursor: pointer;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--accent);
}

/* Team card as link – reset anchor styles */
a.team-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

/* Profile Page Styles */

/* Banner */
.profile-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 160px 0 60px;
    text-align: center;
    color: var(--white);
}

.profile-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.profile-banner .container {
    position: relative;
    z-index: 1;
}

.profile-banner h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.profile-breadcrumb {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.profile-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.profile-breadcrumb a:hover {
    color: var(--accent);
}

.profile-breadcrumb span {
    color: var(--white);
}

/* Profile Content Grid */
.profile-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 50px;
    padding: 60px 0;
}

/* Left Column – Sidebar */
.profile-sidebar {
    text-align: center;
}

.profile-photo {
    width: 250px;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto 30px;
    box-shadow: var(--shadow-premium);
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-photo .fallback-icon {
    font-size: 6rem;
    color: #ccc;
}

/* Social Media */
.profile-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.profile-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.profile-social a:hover {
    background: var(--accent);
}

/* Contact Info */
.profile-contact {
    text-align: left;
}

.profile-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.profile-contact-item i {
    color: var(--accent);
    margin-top: 4px;
    min-width: 16px;
}

/* Right Column – Bio */
.profile-bio h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 5px;
}

.profile-bio .designation {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.profile-bio p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 18px;
    font-size: 0.95rem;
}

/* Responsive – Profile Page */
@media (max-width: 900px) {
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .profile-sidebar {
        max-width: 350px;
        margin: 0 auto;
    }

    .profile-banner h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .profile-banner {
        padding: 130px 0 40px;
    }

    .profile-banner h1 {
        font-size: 1.4rem;
    }

    .profile-photo {
        width: 200px;
        height: 200px;
    }

    .profile-bio h2 {
        font-size: 1.5rem;
    }
}