/**
 * company-leadership.css - Page-specific styles for Leadership page
 * Following directory structure guidelines - no inline styles
 * Uses main.css and company.css as base
 */

/* =============================================
   LEADERSHIP PAGE SPECIFIC DARK THEME
   ============================================= */

/* Force dark theme for leadership page */
.leadership-page {
    background-color: var(--dark-color) !important;
    color: var(--dark-text-primary) !important;
    font-family: var(--font-primary);
}

/* Enhanced font styling for headers */
.leadership-page h1, 
.leadership-page h2, 
.leadership-page h3, 
.leadership-page h4, 
.leadership-page h5, 
.leadership-page h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-text-primary) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Premium section headers */
.premium-section-header h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2.8rem;
    background: linear-gradient(45deg, var(--dark-text-primary), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.premium-section-header p.lead {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 1.25rem;
    color: var(--dark-text-secondary) !important;
}

/* Section backgrounds with proper dark theme */
.leadership-page section {
    background-color: var(--dark-color) !important;
    color: var(--dark-text-primary) !important;
}

.leadership-page section:nth-child(even) {
    background-color: var(--dark-secondary) !important;
}

/* Remove any light backgrounds */
.leadership-page .bg-light {
    background-color: var(--dark-secondary) !important;
    color: var(--dark-text-primary) !important;
}

/* =============================================
   FOUNDER SECTION ENHANCEMENTS
   ============================================= */

.leadership-page .founder-section {
    background: var(--premium-gradient);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-heavy);
    backdrop-filter: blur(10px);
}

.leadership-page .founder-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-intense);
    position: relative;
    background: var(--dark-secondary);
}

.leadership-page .founder-image img {
    width: 100%;
    height: auto;
    transition: all var(--transition-medium);
    border-radius: var(--border-radius);
}

.leadership-page .founder-image:hover img {
    transform: scale(1.05);
}

.leadership-page .founder-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.1), rgba(var(--accent-gold-rgb), 0.1));
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: 1;
}

.leadership-page .founder-image:hover::before {
    opacity: 1;
}

/* Founder info styling */
.leadership-page .founder-info {
    padding: 2rem;
}

.leadership-page .founder-info h3 {
    color: var(--dark-text-primary) !important;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    background: linear-gradient(45deg, var(--dark-text-primary), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.leadership-page .founder-info p {
    color: var(--dark-text-secondary) !important;
    line-height: 1.8;
    font-size: 1.05rem;
}

.leadership-page .founder-info .text-muted {
    color: var(--accent-gold) !important;
    font-weight: 600;
}

/* Founder highlights */
.founder-highlights {
    margin-top: 2rem;
}

.founder-highlight {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-small);
    border-left: 4px solid var(--primary-color);
    transition: all var(--transition-fast);
}

.founder-highlight:hover {
    background: rgba(var(--primary-color-rgb), 0.1);
    transform: translateX(10px);
    box-shadow: var(--shadow-light);
}

.founder-highlight-icon {
    flex: 0 0 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.2), rgba(var(--accent-gold-rgb), 0.2));
    border-radius: 50%;
    margin-right: 1rem;
    box-shadow: 0 10px 20px rgba(var(--primary-color-rgb), 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.founder-highlight-icon i {
    font-size: 1.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.founder-highlight h6 {
    color: var(--dark-text-primary) !important;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-family: var(--font-heading);
}

.founder-highlight p {
    color: var(--dark-text-secondary) !important;
    margin: 0;
    font-size: 0.95rem;
    font-family: var(--font-primary);
}

/* Founder placeholder for missing image */
.founder-placeholder {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--premium-gradient);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.founder-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.3), rgba(var(--accent-gold-rgb), 0.3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(var(--primary-color-rgb), 0.4);
}

.founder-avatar i {
    font-size: 3rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =============================================
   TEAM STRUCTURE CARDS
   ============================================= */

.leadership-page .team-structure-card {
    background: var(--premium-gradient);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    backdrop-filter: blur(10px);
    transition: all var(--transition-medium);
    height: 100%;
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.leadership-page .team-structure-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(var(--primary-color-rgb), 0.3);
}

.leadership-page .team-structure-card .card-body {
    padding: 0 !important;
}

.leadership-page .team-structure-card h4 {
    color: var(--dark-text-primary) !important;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.leadership-page .team-structure-card p {
    color: var(--dark-text-secondary) !important;
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

/* Team structure icons */
.leadership-page .team-structure-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.3), rgba(var(--accent-gold-rgb), 0.3));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem auto;
    box-shadow: 0 15px 30px rgba(var(--primary-color-rgb), 0.4);
    transition: all var(--transition-fast);
    border: 3px solid rgba(255, 255, 255, 0.15);
}

.leadership-page .team-structure-card:hover .team-structure-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 20px 40px rgba(var(--primary-color-rgb), 0.5);
}

.leadership-page .team-structure-icon i {
    font-size: 2.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all var(--transition-fast);
}

.leadership-page .team-structure-card:hover .team-structure-icon i {
    transform: scale(1.1);
}

/* Team stats */
.team-stats {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--dark-text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =============================================
   TEAM HIGHLIGHTS SECTION
   ============================================= */

.leadership-page .team-highlights-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-small);
    border-left: 4px solid var(--primary-color);
    transition: all var(--transition-fast);
}

.leadership-page .team-highlights-item:hover {
    background: rgba(var(--primary-color-rgb), 0.1);
    transform: translateX(10px);
    box-shadow: var(--shadow-light);
}

.leadership-page .team-highlights-item i {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.leadership-page .team-highlights-item span {
    color: var(--dark-text-secondary) !important;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Team showcase */
.team-showcase {
    background: var(--premium-gradient);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-heavy);
    backdrop-filter: blur(10px);
}

.showcase-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(var(--accent-gold-rgb), 0.3), rgba(var(--primary-color-rgb), 0.3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem auto;
    box-shadow: 0 20px 40px rgba(var(--accent-gold-rgb), 0.4);
    border: 3px solid rgba(255, 255, 255, 0.15);
}

.showcase-icon i {
    font-size: 3rem;
    background: linear-gradient(45deg, var(--accent-gold), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-showcase h3 {
    color: var(--dark-text-primary) !important;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-small);
    transition: all var(--transition-fast);
}

.stat-item:hover {
    background: rgba(var(--primary-color-rgb), 0.1);
    transform: translateY(-5px);
}

.stat-item .stat-number {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.stat-item .stat-label {
    color: var(--dark-text-secondary);
    font-size: 0.9rem;
}

/* =============================================
   VALUES CARDS
   ============================================= */

.leadership-page .values-card {
    background: var(--premium-gradient);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    backdrop-filter: blur(10px);
    padding: 2.5rem 1.5rem;
    height: 100%;
    transition: all var(--transition-medium);
    text-align: center;
}

.leadership-page .values-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(var(--accent-gold-rgb), 0.3);
}

.leadership-page .values-card h4 {
    color: var(--dark-text-primary) !important;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.leadership-page .values-card p {
    color: var(--dark-text-secondary) !important;
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 0;
}

/* Values icons */
.leadership-page .values-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(var(--accent-gold-rgb), 0.3), rgba(var(--primary-color-rgb), 0.3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem auto;
    box-shadow: 0 15px 30px rgba(var(--accent-gold-rgb), 0.4);
    transition: all var(--transition-fast);
    border: 3px solid rgba(255, 255, 255, 0.15);
}

.leadership-page .values-card:hover .values-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 20px 40px rgba(var(--accent-gold-rgb), 0.5);
}

.leadership-page .values-icon i {
    font-size: 2.2rem;
    background: linear-gradient(45deg, var(--accent-gold), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all var(--transition-fast);
}

/* =============================================
   LEADERSHIP PHILOSOPHY SECTION
   ============================================= */

.philosophy-card {
    background: var(--premium-gradient);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    padding: 4rem 3rem;
    box-shadow: var(--shadow-heavy);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(var(--primary-color-rgb), 0.05), rgba(var(--accent-gold-rgb), 0.05));
    z-index: 0;
}

.philosophy-card > * {
    position: relative;
    z-index: 1;
}

.philosophy-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(var(--accent-gold-rgb), 0.3), rgba(var(--primary-color-rgb), 0.3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem auto;
    box-shadow: 0 20px 40px rgba(var(--accent-gold-rgb), 0.4);
    border: 3px solid rgba(255, 255, 255, 0.15);
}

.philosophy-icon i {
    font-size: 2.5rem;
    background: linear-gradient(45deg, var(--accent-gold), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.leadership-quote {
    margin: 2rem 0;
    position: relative;
}

.leadership-quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 6rem;
    color: rgba(var(--accent-gold-rgb), 0.2);
    font-family: serif;
    line-height: 1;
}

.leadership-quote p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--dark-text-primary) !important;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.leadership-quote cite {
    color: var(--accent-gold) !important;
    font-weight: 600;
    font-style: normal;
    font-size: 1.1rem;
}

.philosophy-principles {
    margin-top: 3rem;
}

.principle-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-small);
    transition: all var(--transition-fast);
}

.principle-item:hover {
    background: rgba(var(--primary-color-rgb), 0.1);
    transform: translateY(-5px);
    box-shadow: var(--shadow-light);
}

.principle-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.principle-item h5 {
    color: var(--dark-text-primary) !important;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.principle-item p {
    color: var(--dark-text-secondary) !important;
    line-height: 1.7;
    margin: 0;
}

/* =============================================
   CTA SECTION ENHANCEMENTS
   ============================================= */

.leadership-page .bg-primary {
    background: var(--primary-gradient) !important;
    border-radius: var(--border-radius);
    margin: 3rem 0;
    box-shadow: var(--shadow-intense);
    position: relative;
    overflow: hidden;
}

.leadership-page .bg-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent, rgba(255, 255, 255, 0.1));
    z-index: 0;
}

.leadership-page .bg-primary .cta-content {
    position: relative;
    z-index: 1;
    padding: 2rem 0;
}

.leadership-page .bg-primary h2 {
    color: white !important;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.leadership-page .bg-primary p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.2rem;
    line-height: 1.7;
}

.contact-info {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-small);
    transition: all var(--transition-fast);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.contact-item i {
    color: var(--accent-gold) !important;
    font-size: 1.2rem;
    margin-right: 0.8rem;
}

.contact-item span {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
}

.cta-buttons {
    margin-top: 2rem;
}

.leadership-page .btn-light {
    background: white !important;
    color: var(--primary-color) !important;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all var(--transition-fast);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 1rem;
}

.leadership-page .btn-light:hover {
    background: var(--accent-gold) !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(var(--accent-gold-rgb), 0.4);
}

.leadership-page .btn-cta-outline {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white !important;
    background: transparent;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.leadership-page .btn-cta-outline:hover {
    background: white !important;
    color: var(--primary-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* =============================================
   LOADING STATES
   ============================================= */

.leadership-page .content-loading {
    background: var(--premium-gradient) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--dark-text-primary) !important;
    backdrop-filter: blur(10px);
}

.leadership-page .content-loading .spinner {
    border-color: rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-gold);
}

.leadership-page .content-loading p {
    color: var(--dark-text-secondary) !important;
}

/* =============================================
   TEXT COLOR OVERRIDES
   ============================================= */

.leadership-page h1,
.leadership-page h2,
.leadership-page h3,
.leadership-page h4,
.leadership-page h5,
.leadership-page h6 {
    color: var(--dark-text-primary) !important;
}

.leadership-page p {
    color: var(--dark-text-secondary) !important;
}

.leadership-page .lead {
    color: var(--dark-text-primary) !important;
    font-weight: 500;
}

.leadership-page .text-muted {
    color: var(--dark-text-muted) !important;
}

/* =============================================
   ANIMATION CLASSES
   ============================================= */

.leadership-page .animate-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.leadership-page .animate-item.animated,
.leadership-page .animate-item.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.leadership-page .animate-item:nth-child(1) { animation-delay: 0.1s; }
.leadership-page .animate-item:nth-child(2) { animation-delay: 0.2s; }
.leadership-page .animate-item:nth-child(3) { animation-delay: 0.3s; }
.leadership-page .animate-item:nth-child(4) { animation-delay: 0.4s; }
.leadership-page .animate-item:nth-child(5) { animation-delay: 0.5s; }

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */

@media (max-width: 991.98px) {
    .leadership-page .founder-section {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .leadership-page .team-structure-card,
    .leadership-page .values-card {
        margin-bottom: 2rem;
    }
    
    .leadership-page .team-structure-icon,
    .leadership-page .values-icon {
        width: 80px;
        height: 80px;
    }
    
    .leadership-page .team-structure-icon i,
    .leadership-page .values-icon i {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .philosophy-card {
        padding: 3rem 2rem;
    }
}

@media (max-width: 767.98px) {
    .leadership-page .founder-info {
        padding: 1.5rem 0;
    }
    
    .leadership-page .founder-info h3 {
        font-size: 1.8rem;
    }
    
    .leadership-page .team-structure-card,
    .leadership-page .values-card {
        padding: 2rem 1rem;
    }
    
    .leadership-page .team-highlights-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .leadership-page .team-highlights-item i {
        margin: 0 0 1rem 0;
    }
    
    .founder-highlight {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }
    
    .founder-highlight-icon {
        margin: 0 auto 1rem auto;
    }
    
    .principle-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }
    
    .principle-item i {
        margin: 0 0 1rem 0;
    }
    
    .philosophy-card {
        padding: 2rem 1rem;
    }
    
    .leadership-quote::before {
        font-size: 4rem;
        top: -10px;
        left: -10px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .leadership-page .btn-light {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 575.98px) {
    .leadership-page .team-structure-icon,
    .leadership-page .values-icon,
    .showcase-icon,
    .philosophy-icon {
        width: 70px;
        height: 70px;
    }
    
    .leadership-page .team-structure-icon i,
    .leadership-page .values-icon i,
    .showcase-icon i,
    .philosophy-icon i {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .leadership-quote p {
        font-size: 1.1rem;
    }
    
    .contact-info .row {
        flex-direction: column;
    }
    
    .contact-item {
        margin-bottom: 1rem;
    }
}