/* ═══════════════════════════════════════════════════════════════
   Board of Directors Page  –  board-of-directors.css
   ═══════════════════════════════════════════════════════════════ */

:root {
    --bd-brand:       #00ADF1;
    --bd-yellow:      #FFDE2D;
    --bd-dark:        #0f172a;
    --bd-navy:        #062040;
    --bd-text:        #334155;
    --bd-muted:       #64748b;
    --bd-bg:          #f1f5f9;
    --bd-white:       #ffffff;
    --bd-border:      #e2e8f0;
    --bd-transition:  0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.board-page {
    background: var(--bd-bg);
    min-height: 100vh;
}

/* ── Content Section ────────────────────────────────────────────── */
.bd-content-section {
    padding: 90px 0 110px;
    position: relative;
    overflow: hidden;
}

/* Decorative shapes */
.bd-content-section::before,
.bd-content-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
}

.bd-content-section::before {
    width: 700px;
    height: 700px;
    background: rgba(0, 173, 241, 0.07);
    top: 0;
    left: -300px;
}

.bd-content-section::after {
    width: 600px;
    height: 600px;
    background: rgba(255, 222, 45, 0.06);
    bottom: 0;
    right: -250px;
}

.bd-content-section .container {
    position: relative;
    z-index: 1;
}

/* ── Section Intro ──────────────────────────────────────────────── */
.bd-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 80px;
}

.bd-intro-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--bd-dark);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.bd-intro-title span {
    color: var(--bd-brand);
}

.bd-intro-desc {
    font-size: 1.1rem;
    color: var(--bd-muted);
    line-height: 1.8;
}

/* ── Director Cards Grid ────────────────────────────────────────── */
.bd-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1060px;
    margin: 0 auto;
}

.bd-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    align-items: stretch;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 20px 60px -10px rgba(0,0,0,0.08);
    border: 1px solid var(--bd-border);
    background: var(--bd-white);
    transition: transform var(--bd-transition), box-shadow var(--bd-transition);
}

.bd-row:hover {
    transform: translateY(-6px);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 30px 80px -10px rgba(0, 173, 241, 0.15);
}

/* Alternating layout */
.bd-row:nth-child(even) {
    grid-template-columns: 1fr 280px;
}

.bd-row:nth-child(even) .bd-visual {
    order: 2;
    border-right: none;
    border-left: 1px solid var(--bd-border);
}

.bd-row:nth-child(even) .bd-details {
    order: 1;
}

/* ── Visual Side ────────────────────────────────────────────────── */
.bd-visual {
    position: relative;
    background: linear-gradient(160deg, #e8f4fd 0%, #dbeeff 100%);
    border-right: 1px solid var(--bd-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    gap: 20px;
}

/* Decorative circle behind the photo */
.bd-visual::before {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(0,173,241,0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    pointer-events: none;
}

.bd-image-frame {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--bd-white);
    box-shadow: 0 8px 30px rgba(0, 173, 241, 0.2), 0 0 0 6px rgba(0,173,241,0.12);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: box-shadow var(--bd-transition);
}

.bd-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.7s ease;
}

.bd-row:hover .bd-image-frame {
    box-shadow: 0 8px 35px rgba(0, 173, 241, 0.35), 0 0 0 6px rgba(0,173,241,0.2);
}

.bd-row:hover .bd-image-frame img {
    transform: scale(1.06);
}

.bd-type-badge {
    background: var(--bd-yellow);
    padding: 5px 18px;
    border-radius: 30px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--bd-navy);
    white-space: nowrap;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
}

/* ── Details Side ───────────────────────────────────────────────── */
.bd-details {
    padding: 45px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Subtle top accent line */
.bd-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    right: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--bd-brand), var(--bd-yellow));
    border-radius: 0 0 4px 4px;
}

.bd-name {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--bd-dark);
    margin-bottom: 8px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.bd-designation {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--bd-brand);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
    display: inline-block;
    padding: 4px 14px;
    background: rgba(0, 173, 241, 0.08);
    border-radius: 30px;
    border: 1px solid rgba(0, 173, 241, 0.2);
}

.bd-divider {
    width: 40px;
    height: 3px;
    background: var(--bd-yellow);
    border-radius: 2px;
    margin-bottom: 22px;
}

.bd-bio-preview {
    font-size: 1rem;
    color: var(--bd-text);
    line-height: 1.75;
    margin-bottom: 0;
}

.bd-social {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bd-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bd-bg);
    color: #0077b5;
    font-size: 1.1rem;
    transition: all var(--bd-transition);
    border: 1px solid var(--bd-border);
    text-decoration: none;
}

.bd-social a:hover {
    background: #0077b5;
    color: var(--bd-white);
    border-color: #0077b5;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,119,181,0.25);
}

/* ── Read More / Expanded Bio ────────────────────────────────────── */
.bd-read-more-btn {
    margin-top: 20px;
    background: none;
    border: 1.5px solid var(--bd-border);
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--bd-navy);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--bd-transition);
    align-self: flex-start;
}

.bd-read-more-btn:hover {
    color: var(--bd-brand);
    border-color: var(--bd-brand);
    background: rgba(0, 173, 241, 0.05);
}

.bd-read-more-btn i {
    transition: transform var(--bd-transition);
    font-size: 0.78rem;
}

.bd-read-more-btn.active i {
    transform: rotate(180deg);
}

.bd-extended-bio {
    margin-top: 24px;
    display: none;
    border-top: 1px dashed var(--bd-border);
    padding-top: 20px;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.bd-detail-block {
    margin-bottom: 20px;
}

.bd-detail-block:last-child {
    margin-bottom: 0;
}

.bd-detail-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--bd-brand);
    margin-bottom: 8px;
}

.bd-detail-text {
    font-size: 0.97rem;
    color: var(--bd-text);
    line-height: 1.7;
}

/* ── Empty State ────────────────────────────────────────────────── */
.bd-empty-state {
    text-align: center;
    padding: 80px 20px;
    background: var(--bd-white);
    border-radius: 24px;
    border: 1px dashed var(--bd-border);
    max-width: 800px;
    margin: 0 auto;
}

.bd-empty-icon {
    width: 80px;
    height: 80px;
    background: rgba(0,173,241,0.05);
    color: var(--bd-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 991px) {
    .bd-row,
    .bd-row:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .bd-row:nth-child(even) .bd-visual {
        order: 1;
        border-left: none;
        border-bottom: 1px solid var(--bd-border);
    }

    .bd-row:nth-child(even) .bd-details {
        order: 2;
    }

    .bd-image-frame {
        width: 180px;
        height: 180px;
    }

    .bd-details {
        padding: 35px 30px;
    }

    .bd-details::before {
        left: 30px;
        right: 30px;
    }
}

@media (max-width: 576px) {
    .bd-content-section { padding: 60px 0 80px; }

    .bd-name { font-size: 1.6rem; }

    .bd-details {
        padding: 28px 22px;
    }

    .bd-details::before {
        left: 22px;
        right: 22px;
    }

    .bd-image-frame {
        width: 150px;
        height: 150px;
    }
}
