* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.director-page {
    background: #f4f6ff;
    color: #1c2452;
    font-family: 'Segoe UI', sans-serif;
}

/* ── Banner ── */
.dir-banner {
    background: linear-gradient(135deg, #1b2261 0%, #2d3af5 50%, #be283c 100%);
    padding: 70px 0 60px;
    position: relative;
    overflow: hidden;
}

.dir-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(255,255,255,0.07)'/%3E%3C/svg%3E") repeat;
}

.dir-banner-inner {
    text-align: center;
    position: relative;
}

.dir-label {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 6px 20px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    backdrop-filter: blur(4px);
}

.dir-banner h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.dir-banner h1 span {
    color: #ffd166;
}

/* ── Main Section ── */
.dir-main {
    background: #f4f6ff;
}

/* ── Profile Card ── */
.dir-profile-wrap {
    position: sticky;
    top: 90px;
}

.dir-profile-card {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(18, 36, 90, 0.12);
    overflow: hidden;
    border: 1px solid rgba(45, 58, 245, 0.08);
}

.dir-img-frame {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #2d3af5, #be283c);
    padding: 6px 6px 0;
}

.dir-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 22px 22px 0 0;
    display: block;
}

.dir-profile-body {
    padding: 24px;
    text-align: center;
}

.dir-profile-body h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1b2261;
    margin-bottom: 4px;
}

.dir-role {
    color: #be283c;
    font-weight: 700;
    font-size: 0.95rem;
    margin: 0;
}

.dir-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #2d3af5, #be283c);
    border-radius: 999px;
    margin: 14px auto;
}

.dir-chip-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    margin-bottom: 20px;
}

.dir-chip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f4f6ff;
    border-radius: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(45,58,245,0.07);
}

.dir-chip-icon {
    font-style: normal;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.dir-chip span {
    display: block;
    font-size: 0.75rem;
    color: #9099c0;
    margin-bottom: 2px;
}

.dir-chip strong {
    font-size: 0.88rem;
    color: #1b2261;
    line-height: 1.4;
}

.dir-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.primary-btn,
.secondary-btn {
    display: inline-block;
    padding: 11px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.25s ease;
}

.primary-btn {
    background: linear-gradient(90deg, #2d3af5 0%, #5d37d7 100%);
    color: #fff;
}

.secondary-btn {
    background: #fff;
    color: #be283c;
    border: 2px solid #be283c;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45,58,245,0.35);
}

.secondary-btn:hover {
    background: #be283c;
    color: #fff;
    transform: translateY(-2px);
}

/* ── Message Card ── */
.dir-message-card {
    background: #fff;
    border-radius: 28px;
    padding: 44px 44px 36px;
    box-shadow: 0 20px 60px rgba(18, 36, 90, 0.10);
    border: 1px solid rgba(45, 58, 245, 0.07);
    position: relative;
}

.dir-quote-mark {
    font-size: 6rem;
    line-height: 1;
    color: #2d3af5;
    opacity: 0.10;
    font-family: Georgia, serif;
    position: absolute;
    top: 16px;
    left: 32px;
    pointer-events: none;
}

.dir-msg-text {
    font-size: 1.05rem;
    line-height: 1.4;
    color: #4a5180;
    margin-bottom: 18px;
    position: relative;
}

.dir-msg-text:first-of-type {
    font-size: 1.12rem;
    color: #2e3566;
    font-weight: 500;
}

.dir-signature {
    margin-top: 28px;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dir-sig-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2d3af5, #be283c);
    border-radius: 999px;
    margin-bottom: 10px;
}

.dir-signature strong {
    font-size: 1rem;
    color: #1b2261;
    font-weight: 800;
}

.dir-signature span {
    font-size: 0.88rem;
    color: #be283c;
    font-weight: 600;
}

/* ── Stats Section ── */
.dir-stats-section {
    background: linear-gradient(135deg, #1b2261 0%, #2d3af5 60%, #5d37d7 100%);
}

.dir-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.dir-stat {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 22px;
    padding: 28px 22px;
    text-align: center;
    backdrop-filter: blur(6px);
    transition: 0.3s ease;
}

.dir-stat:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-4px);
}

.dir-stat-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.dir-stat h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffd166;
    margin-bottom: 8px;
}

.dir-stat p {
    color: rgba(255,255,255,0.78);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .dir-banner h1 { font-size: 2.2rem; }
    .dir-profile-wrap { position: static; }
    .dir-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .dir-message-card { padding: 28px 24px; }
}

@media (max-width: 576px) {
    .dir-banner h1 { font-size: 1.7rem; }
    .dir-stats-grid { grid-template-columns: 1fr 1fr; }
    .dir-message-card { padding: 22px 18px; }
    .dir-quote-mark { font-size: 4rem; }
}

/* legacy keep for safety */
.stat-card p {
    margin: 8px 0 0;
    color: #5c628b;
}

@media (max-width: 991px) {
    .director-hero h1 {
        font-size: 2.3rem;
    }

    .info-grid,
    .stats-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .director-hero h1 {
        font-size: 1.9rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .profile-card,
    .director-content .content-card,
    .stat-card {
        padding: 20px;
    }
}
