﻿/* ============================================================
   SUNSHINE ENERGY - Premium Silky Blue Chairman Page
   File: wwwroot/css/chairman.css
   ============================================================ */

:root {
    --blue-deep: #0a1e5e;
    --blue-primary: #1e40af;
    --blue-secondary: #3b82f6;
    --blue-bright: #60a5fa;
    --blue-light: #93c5fd;
    --blue-soft: #dbeafe;
    --blue-bg: #f0f7ff;
    --blue-mist: #e0ecff;
    --text-dark: #0f172a;
    --text-soft: #64748b;
    --shadow-soft: 0 12px 35px -10px rgba(30, 64, 175, 0.1);
    --shadow-hover: 0 30px 55px -20px rgba(30, 64, 175, 0.28);
    --gold: #e6b81e;
    --gold-soft: #fdf6dc;
}

/* ============ HERO ============ */
.chairman-hero {
    position: relative;
    padding: 6rem 0 5rem;
    background: linear-gradient(135deg, #0a1e5e 0%, #1e40af 35%, #3b82f6 65%, #0a1e5e 100%);
    background-size: 200% 200%;
    animation: silkyGradient 12s ease infinite;
    overflow: hidden;
}

@keyframes silkyGradient {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.chairman-hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 25%, rgba(147, 197, 253, 0.35) 0%, transparent 55%), radial-gradient(circle at 85% 75%, rgba(96, 165, 250, 0.25) 0%, transparent 55%);
    pointer-events: none;
    animation: pulseGlow 6s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.85;
    }

    50% {
        opacity: 1;
    }
}

.breadcrumb-soft-chairman {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

    .breadcrumb-soft-chairman a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: all 0.3s;
    }

        .breadcrumb-soft-chairman a:hover {
            color: #dbeafe;
        }

    .breadcrumb-soft-chairman .sep {
        color: rgba(255, 255, 255, 0.4);
        margin: 0 10px;
    }

    .breadcrumb-soft-chairman .current {
        color: #dbeafe;
        font-weight: 600;
    }

.hero-title-chairman {
    font-size: 3.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-sub-chairman {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 640px;
    margin: 0 auto 1.5rem;
}

.hero-divider-chairman {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #dbeafe, #93c5fd, #dbeafe, transparent);
    border-radius: 3px;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(147, 197, 253, 0.6);
}

.gradient-text-chairman {
    background: linear-gradient(120deg, #dbeafe, #93c5fd, #dbeafe);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ============ MAIN SECTION ============ */
.chairman-soft {
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 50%, #f0f7ff 100%);
}

/* ============ PROFILE CARD ============ */
.chairman-profile-card {
    position: sticky;
    top: 100px;
    background: #ffffff;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.12);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s;
}

    .chairman-profile-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-hover);
    }

.chairman-photo-wrap {
    position: relative;
    height: 420px;
    overflow: hidden;
}

.chairman-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.chairman-profile-card:hover .chairman-photo {
    transform: scale(1.04);
}

.chairman-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(10, 30, 94, 0.95), rgba(10, 30, 94, 0.6), transparent);
    color: #ffffff;
}

.chairman-name {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.chairman-role {
    font-size: 0.85rem;
    color: #93c5fd;
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.chairman-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.3rem;
    box-shadow: 0 12px 25px -8px rgba(245, 158, 11, 0.5);
    animation: crownPulse 3s ease-in-out infinite;
}

@keyframes crownPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

/* ============ INFO BODY ============ */
.chairman-info-body {
    padding: 1.75rem 1.5rem;
}

.chairman-info-block {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px dashed rgba(59, 130, 246, 0.15);
}

    .chairman-info-block:last-of-type {
        border-bottom: none;
    }

.chairman-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.3s;
}

.chairman-info-block:hover .chairman-info-icon {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: #ffffff;
    transform: scale(1.05) rotate(-3deg);
}

.chairman-info-block h6 {
    font-size: 0.82rem;
    font-weight: 800;
    color: #0a1e5e;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.chairman-info-block p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.chairman-achievements {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .chairman-achievements li {
        display: flex;
        gap: 0.5rem;
        font-size: 0.82rem;
        color: #64748b;
        padding: 0.25rem 0;
        line-height: 1.5;
    }

        .chairman-achievements li i {
            color: #10b981;
            font-size: 0.85rem;
            margin-top: 0.2rem;
            flex-shrink: 0;
        }

/* ============ SOCIAL ============ */
.chairman-social {
    display: flex;
    gap: 0.5rem;
    padding-top: 1.25rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(59, 130, 246, 0.15);
    justify-content: center;
}

    .chairman-social a {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: var(--blue-soft);
        color: #1e40af;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: all 0.3s;
        font-size: 0.9rem;
    }

        .chairman-social a:hover {
            background: linear-gradient(135deg, #1e40af, #3b82f6);
            color: #ffffff;
            transform: translateY(-3px);
            box-shadow: 0 12px 20px -8px rgba(30, 64, 175, 0.5);
        }

/* ============ MESSAGE CARD ============ */
.chairman-message-card {
    background: #ffffff;
    border-radius: 26px;
    padding: 2.5rem;
    border: 1px solid rgba(59, 130, 246, 0.12);
    box-shadow: var(--shadow-soft);
}

/* Quote Banner */
.chairman-quote-banner {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-left: 4px solid #1e40af;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

    .chairman-quote-banner i {
        font-size: 2rem;
        color: #1e40af;
        opacity: 0.35;
        display: block;
        margin-bottom: 0.75rem;
    }

    .chairman-quote-banner h4 {
        font-size: 1.15rem;
        font-weight: 800;
        color: #1e40af;
        font-style: italic;
        margin: 0;
        line-height: 1.5;
    }

/* Message Body */
.chairman-message-body {
    line-height: 1.85;
    color: #334155;
    font-size: 0.95rem;
}

    .chairman-message-body p {
        margin-bottom: 1.25rem;
    }

.chairman-greeting {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0a1e5e;
}

.chairman-message-body strong {
    color: #1e40af;
    font-weight: 700;
}

/* ============ VISION / MISSION ============ */
.chairman-vm-card {
    padding: 1.5rem;
    border-radius: 18px;
    height: 100%;
    transition: all 0.3s;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

    .chairman-vm-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 35px -15px rgba(30, 64, 175, 0.2);
    }

.vm-vision {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-left: 4px solid #1e40af;
}

.vm-mission {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-left: 4px solid #059669;
}

.vm-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #ffffff;
    color: #1e40af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 0.9rem;
    box-shadow: 0 8px 18px -8px rgba(30, 64, 175, 0.3);
}

.vm-mission .vm-icon {
    color: #059669;
}

.chairman-vm-card h5 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0a1e5e;
    margin-bottom: 0.6rem;
}

.chairman-vm-card p {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.65;
    margin: 0;
}

/* ============ CORE VALUES ============ */
.chairman-values {
    margin: 2.5rem 0;
}

    .chairman-values h4,
    .chairman-journey h4 {
        font-size: 1.25rem;
        font-weight: 800;
        color: #0a1e5e;
        margin-bottom: 1.25rem;
        padding-bottom: 0.75rem;
        border-bottom: 2px solid #e0ecff;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

        .chairman-values h4::before,
        .chairman-journey h4::before {
            content: '';
            width: 4px;
            height: 22px;
            background: linear-gradient(180deg, #1e40af, #3b82f6);
            border-radius: 3px;
        }

.value-tile {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f8fbff;
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s;
    height: 100%;
}

    .value-tile:hover {
        background: #eff6ff;
        border-color: rgba(59, 130, 246, 0.3);
        transform: translateY(-3px);
        box-shadow: 0 12px 25px -10px rgba(30, 64, 175, 0.2);
    }

.value-tile-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 10px 20px -8px rgba(30, 64, 175, 0.4);
}

.value-tile h6 {
    font-size: 0.9rem;
    font-weight: 800;
    color: #0a1e5e;
    margin-bottom: 0.2rem;
}

.value-tile small {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.5;
    display: block;
}

/* ============ TIMELINE ============ */
.chairman-journey {
    margin-bottom: 2.5rem;
}

.chairman-timeline {
    position: relative;
    padding-left: 40px;
}

    .chairman-timeline::before {
        content: '';
        position: absolute;
        left: 14px;
        top: 8px;
        bottom: 8px;
        width: 3px;
        background: linear-gradient(180deg, #1e40af, #3b82f6, #93c5fd);
        border-radius: 3px;
    }

.chairman-timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
}

    .chairman-timeline-item:last-child {
        margin-bottom: 0;
    }

.chairman-timeline-badge {
    position: absolute;
    left: -40px;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 800;
    box-shadow: 0 8px 18px -6px rgba(30, 64, 175, 0.5);
    z-index: 2;
    transition: all 0.3s;
}

.chairman-timeline-item:hover .chairman-timeline-badge {
    transform: scale(1.15);
    box-shadow: 0 12px 25px -8px rgba(30, 64, 175, 0.6);
}

.chairman-timeline-content {
    background: #f8fbff;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    border-left: 3px solid #3b82f6;
    transition: all 0.3s;
}

.chairman-timeline-item:hover .chairman-timeline-content {
    background: #eff6ff;
    transform: translateX(5px);
    box-shadow: 0 12px 25px -10px rgba(30, 64, 175, 0.2);
}

.chairman-timeline-content h6 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0a1e5e;
    margin-bottom: 0.25rem;
}

.chairman-timeline-content p {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0;
    line-height: 1.55;
}

/* ============ CLOSING ============ */
.chairman-closing {
    background: linear-gradient(135deg, #f8fbff, #eff6ff);
    border-left: 4px solid #1e40af;
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    margin-top: 2rem;
}

    .chairman-closing p {
        font-size: 0.92rem;
        color: #475569;
        line-height: 1.75;
        margin-bottom: 1rem;
    }

        .chairman-closing p:last-child {
            margin-bottom: 0;
        }

/* ============ DIGITAL SIGNATURE ============ */
.chairman-signature-block {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px dashed rgba(59, 130, 246, 0.25);
    text-align: right;
    position: relative;
}

.chairman-signature {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #f8fbff, #eff6ff);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    min-width: 220px;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

    .chairman-signature::before {
        content: 'Digital Signature';
        position: absolute;
        top: 4px;
        left: 10px;
        font-size: 0.6rem;
        color: #94a3b8;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        font-weight: 700;
    }

.chairman-signature-img {
    max-height: 55px;
    max-width: 200px;
    object-fit: contain;
    display: block;
    /* Fallback for when no image: display styled signature text */
}

    .chairman-signature-img[style*="display: none"] + .chairman-signature-fallback,
    .chairman-signature-img:not([src]) + .chairman-signature-fallback {
        display: block;
    }

/* Digital signature fallback (styled text) */
.chairman-signature::after {
    content: 'S. M. Faruque Hosen';
    font-family: 'Brush Script MT', 'Segoe Script', cursive;
    font-size: 1.6rem;
    color: #1e40af;
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-3deg);
    white-space: nowrap;
    opacity: 0.9;
    pointer-events: none;
    z-index: 0;
}

.chairman-signature-img {
    position: relative;
    z-index: 1;
}

.chairman-signature-line {
    width: 220px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #1e40af, transparent);
    margin: 0 0 1rem auto;
    border-radius: 2px;
}

.chairman-signature-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0a1e5e;
    margin-bottom: 0.2rem;
    letter-spacing: -0.01em;
}

.chairman-signature-role {
    font-size: 0.85rem;
    color: #1e40af;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.35rem;
}

.chairman-signature-company {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
    font-weight: 600;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
    .hero-title-chairman {
        font-size: 2.4rem;
    }

    .chairman-profile-card {
        position: static;
    }

    .chairman-message-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title-chairman {
        font-size: 1.9rem;
    }

    .hero-sub-chairman {
        font-size: 1rem;
    }

    .chairman-hero {
        padding: 4rem 0 3rem;
    }

    .chairman-message-card {
        padding: 1.5rem;
    }

    .chairman-photo-wrap {
        height: 340px;
    }

    .chairman-name {
        font-size: 1.2rem;
    }

    .chairman-quote-banner h4 {
        font-size: 0.95rem;
    }

    .chairman-values h4,
    .chairman-journey h4 {
        font-size: 1.05rem;
    }

    .chairman-timeline {
        padding-left: 34px;
    }

        .chairman-timeline::before {
            left: 11px;
        }

    .chairman-timeline-badge {
        left: -34px;
        width: 28px;
        height: 28px;
        font-size: 0.55rem;
    }

    .chairman-signature-block {
        text-align: center;
    }

    .chairman-signature-line {
        margin: 0 auto 1rem;
    }

    .chairman-signature {
        min-width: 200px;
    }
}

@media (max-width: 576px) {
    .chairman-message-card {
        padding: 1.25rem;
    }

    .chairman-info-body {
        padding: 1.25rem;
    }

    .chairman-signature::after {
        font-size: 1.35rem;
    }

    .chairman-signature-img {
        max-height: 45px;
    }
}
