/* =============================================================================
   LEADERSHIP PAGES - SHARED STYLES
   ============================================================================= */

/* Leadership hero sections and profile pages shared styling */
.leadership-hero-section,
.profile-hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
    padding: 6rem 0 4rem;
}

.profile-hero-section {
    padding: 4rem 0;
}

/* Hero background animations */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: heroFloat 20s ease-in-out infinite;
}

.hero-shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #0d47a1, #1976d2);
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #28a745, #20c997);
    top: 60%;
    right: -5%;
    animation-delay: 7s;
}

.hero-shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #ffc107, #fd7e14);
    bottom: 20%;
    left: 10%;
    animation-delay: 14s;
}

/* Profile images - uses actual uploaded photos */
.profile-image-container {
    position: relative;
    margin-bottom: 2rem;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto;
    border: 6px solid white;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    display: block;
}

/* Profile badges for CEO and MD */
.profile-badge {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.ceo-badge {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
}

.md-badge {
    background: linear-gradient(135deg, #28a745, #20c997);
}

/* Leadership cards and content */
.leader-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--neutral-300);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.leader-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-primary), #1976d2, #28a745);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.leader-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

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

/* Achievement and philosophy cards */
.achievement-card,
.philosophy-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--neutral-300);
    transition: all 0.3s ease;
    height: 100%;
}

.achievement-card:hover,
.philosophy-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Sidebar components */
.sidebar-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--neutral-300);
    margin-bottom: 2rem;
}

.competency-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.competency-tag {
    padding: 0.5rem 1rem;
    background: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(var(--bs-primary-rgb), 0.2);
}

/* Animations */
@keyframes heroFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(-10px) rotate(-1deg); }
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .profile-image {
        width: 150px;
        height: 150px;
    }
    
    .achievement-card,
    .philosophy-item {
        flex-direction: column;
        text-align: center;
    }
    
    .leadership-hero-section,
    .profile-hero-section {
        padding: 3rem 0;
    }
}