/* ==========================================================================
   LEADERSHIP PAGE SPECIFIC COLORS & OVERRIDES
   ========================================================================== */

:root {
    /* Flow colors extracted from images */
    --l-hero-bg: #F4E4CE;   /* Bright Warm Sand (from hero image) */
    --l-mid-light: #C5CFBD; /* Soft Light Sage */
    --l-darker: #7E8A76;    /* Soft Deep Sage (from hero image center) */
    --l-bright: #FFFBF7;    /* Bright Ivory (from footer image) */
    --l-charcoal: #25262A;
    --l-golden: #F2C36F;
    --l-light-text: #FDF9EE;
}

/* --------------------------------------
   1. HEADER NAV OVERRIDE
-------------------------------------- */
.header-nav {
    background: linear-gradient(to bottom, rgba(244, 228, 206, 0.9) 0%, transparent 100%) !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}
.header-nav .nav-link {
    color: var(--l-charcoal) !important;
}
.header-nav .nav-dropdown {
    background: rgba(244, 228, 206, 0.95) !important;
}
.header-nav .nav-dropdown-item {
    color: var(--l-charcoal) !important;
}
.header-nav .nav-dropdown-item:hover {
    background: rgba(37, 38, 42, 0.1) !important;
}

/* --------------------------------------
   2. HERO SECTION (.leadership-hero)
-------------------------------------- */
.leadership-hero {
    justify-content: flex-start !important; 
    padding-left: 5% !important; 
    padding-right: 0 !important;
    padding-top: 12% !important;
    padding-bottom: 12% !important;
    background-color: var(--l-hero-bg) !important;
    background: 
        linear-gradient(to bottom, transparent 70%, var(--l-hero-bg) 100%),
        linear-gradient(to right, var(--l-hero-bg) 0%, var(--l-hero-bg) 35%, rgba(244, 228, 206, 0) 80%),
        url('../assets/leadership_hero_page.png') right center / cover no-repeat !important;
}

/* Force text visibility and alignment */
.leadership-hero-text-wrapper {
    opacity: 1 !important;
    visibility: visible !important;
    align-items: flex-start !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
}

.leadership-hero .disperse-text {
    opacity: 1 !important;
    filter: blur(0) !important;
    transform: scale(1) !important;
    letter-spacing: normal !important;
    visibility: visible !important;
    text-align: left !important;
}

.leadership-hero-subheading {
    color: #c99665 !important;
    font-weight: 700 !important;
}
.leadership-hero-heading {
    color: #1a202c !important;
    text-shadow: 0 4px 15px rgba(26, 32, 44, 0.15) !important;
}

/* --------------------------------------
   3. MAIN CONTENT
-------------------------------------- */
main, body {
    background: var(--l-hero-bg) !important; 
}

/* SECTION 1: Profile (Transition from Hero to Mid-Light) */
.leader-profile-section { 
    background: linear-gradient(180deg, var(--l-hero-bg) 0%, var(--l-mid-light) 100%) !important; 
}
.leader-vertical-text h2 {
    color: #B8860B !important; /* Rich Gold */
}
.leader-profile-content p, .leader-profile-content h2, .leader-profile-content h3 {
    color: var(--l-charcoal) !important;
}

/* SECTION 2: Convictions (Transition from Mid-Light to Soft Darker) */
.leadership-convictions-section {
    background: linear-gradient(180deg, var(--l-mid-light) 0%, var(--l-darker) 100%) !important;
}
.leadership-convictions-section .section-eyebrow, 
.leadership-convictions-section .section-heading, 
.leadership-convictions-section p {
    color: var(--l-charcoal) !important;
}
/* Card text logic */
.leadership-card-title,
.leadership-card-text,
.leadership-card-desc,
.leadership-card .diamond-bullet {
    color: var(--l-charcoal) !important;
    transition: color 0.4s ease !important;
}
.leadership-card:hover .leadership-card-text,
.leadership-card:hover .leadership-card-desc,
.leadership-card:hover .diamond-bullet,
.leadership-card:hover .leadership-card-eyebrow {
    color: #031725 !important; /* Section background color */
}
.leadership-card:hover .leadership-card-title {
    color: #C89B3C !important; /* Golden color */
}
.leadership-card-eyebrow {
    color: #9B7018 !important; /* Dark golden color for better contrast on sage bg */
}

/* SECTION 3: Extended Leadership (Solid Soft Darker) */
.extended-leadership-section {
    background: var(--l-darker) !important;
}
.extended-leadership-section .section-eyebrow, 
.extended-leadership-section .section-heading, 
.extended-leadership-section .section-subheading {
    color: var(--l-charcoal) !important;
}

/* SECTION 4: Rotator (Solid Soft Darker) */
.team-rotator-section {
    background: var(--l-darker) !important;
}
.team-rotator-section h2, .team-rotator-section h3, .team-rotator-section p,
.rotator-name-list div {
    color: var(--l-charcoal) !important;
}
.rotator-name-list div.active {
    color: var(--l-golden) !important;
}

/* Watermark visibility fixes */
.leader-watermark {
    color: rgba(184, 134, 11, 0.12) !important; /* #B8860B Rich Gold at 12% opacity */
    mix-blend-mode: multiply; /* Blends richly into the background */
    transition: color 0.3s ease !important;
    z-index: 0 !important;
}
.leader-watermark:hover { color: rgba(184, 134, 11, 0.2) !important; }

/* --------------------------------------
   4. FOOTER BLEND
-------------------------------------- */
.new-footer {
    background-blend-mode: normal !important;
    background-image: 
        /* Fade from the Soft Darker main content into the footer image */
        linear-gradient(to bottom, var(--l-darker) 0%, rgba(126, 138, 118, 0) 40%),
        /* Overlay: beautiful soft sage green tint */
        linear-gradient(135deg, rgba(244, 228, 206, 0.8) 0%, rgba(126, 138, 118, 0.95) 100%), 
        url('../assets/leadership_page_footer.png') !important;
    background-color: var(--l-darker) !important;
    background-size: 100% 100%, 100% 100%, cover !important;
    background-position: center 120% !important;
    background-repeat: no-repeat !important;
    box-shadow: inset 0 20px 40px -10px var(--l-darker) !important;
}

.footer-overlay {
    display: none !important;
}

/* Footer text */
.huge-watermark { color: rgba(37, 38, 42, 0.12) !important; }

/* --------------------------------------
   5. 3D POP-OUT PORTRAIT EFFECTS
-------------------------------------- */
/* Main Leader Portrait */
.leader-image-col {
    align-items: flex-start !important; /* Forces image to start from the top side */
}

.leader-portrait {
    padding-top: 6rem !important;
    filter: drop-shadow(-20px 30px 25px rgba(0, 0, 0, 0.55)) !important; /* Deep, offset shadow for massive 3D pop */
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    transform-origin: bottom center !important; /* Makes him grow upwards, planted on the ground */
    cursor: pointer;
}
.leader-portrait:hover {
    transform: scale(1.08) translateY(-15px) !important;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.65)) !important;
}

/* Rolling Team Members */
.stage-subject {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4)) !important;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    transform-origin: bottom center !important; 
    cursor: pointer;
}
.stage-subject:hover {
    transform: scale(1.1) translateY(-15px) !important;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.65)) !important;
}


/* Global Unified Footer Typography & Social Icons */
.new-footer h2, .new-footer h3, .new-footer h4 { color: #ffffff !important; }
.new-footer p, .new-footer a, .new-footer li { color: #ffffff !important; font-size: 1.05rem !important; }
.new-footer a:hover { color: var(--c-golden, #C8A14A) !important; }
.new-footer p.sub-credit { font-size: 0.95rem !important; opacity: 0.8; }
.new-footer .social-icons a { color: #ffffff !important; border-color: rgba(255, 255, 255, 0.4) !important; background: transparent !important; }
.new-footer .social-icons a.social-instagram:hover { color: #ffffff !important; background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important; border-color: transparent !important; }
.new-footer .social-icons a.social-facebook:hover { color: #ffffff !important; background: #1877F2 !important; border-color: #1877F2 !important; }
.new-footer .social-icons a.social-twitter:hover { color: #ffffff !important; background: #000000 !important; border-color: #000000 !important; }
.new-footer .social-icons a.social-linkedin:hover { color: #ffffff !important; background: #0A66C2 !important; border-color: #0A66C2 !important; }
.new-footer .social-icons a.social-youtube:hover { color: #ffffff !important; background: #FF0000 !important; border-color: #FF0000 !important; }
.new-footer .social-icons a.social-whatsapp:hover { color: #ffffff !important; background: #25D366 !important; border-color: #25D366 !important; }
.new-footer .social-icons a.social-gmail:hover { color: #ffffff !important; background: #D44638 !important; border-color: #D44638 !important; }
