/* ===========================================================================
   PRINCIPAL DESK MESSAGE - PREMIUM (Header colour matched)
   Colors: --primary (pink) -> --secondary (amber) -> --accent (green)
   =========================================================================== */

.principal-page {
    padding: 40px 0 60px;
    background:
        radial-gradient(circle at 10% 0%, rgba(236, 72, 153, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 90% 100%, rgba(22, 163, 74, 0.07) 0%, transparent 50%),
        var(--light-bg);
}

.principal-page .container {
    width: 92%;
    max-width: 1200px;
    margin: auto;
}

/* ===== TITLE ===== */

.page-title {
    text-align: center;
    margin-bottom: 30px;
}

.page-title .header-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    background-size: 200% auto;
    animation: pmGradient 3s linear infinite;
    border-radius: 30px;
    padding: 7px 20px;
    margin-bottom: 12px;
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.28);
}

@keyframes pmGradient {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.page-title h1 {
    font-size: 44px;
    font-family: 'Cinzel', 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.15;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pmGradient 3s linear infinite;
}

.page-title p {
    color: #64748b;
    font-size: 15px;
    font-weight: 500;
    margin: 0;
}

/* ===== MAIN CARD ===== */

.principal-main {
    position: relative;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 34px;
    background: #fff;
    padding: 36px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(11, 26, 54, 0.06);
    box-shadow: 0 18px 50px rgba(11, 26, 54, 0.10), 0 4px 12px rgba(11, 26, 54, 0.05);
}

.principal-main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    background-size: 200% auto;
    animation: pmGradient 3s linear infinite;
}

/* ===== IMAGE ===== */

.principal-image {
    position: relative;
    align-self: start;
}

.principal-image img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    border-radius: 16px;
    display: block;
    border: 5px solid #fff;
    outline: 2px solid rgba(236, 72, 153, 0.35);
    box-shadow: 0 18px 38px rgba(11, 26, 54, 0.20);
}

.principal-image-badge {
    position: absolute;
    left: 50%;
    bottom: -16px;
    transform: translateX(-50%);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    background-size: 200% auto;
    animation: pmGradient 3s linear infinite;
    box-shadow: 0 10px 24px rgba(11, 26, 54, 0.25);
    white-space: nowrap;
    text-align: center;
}

/* ===== CONTENT ===== */

.designation {
    display: inline-block;
    padding: 7px 20px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    background-size: 200% auto;
    animation: pmGradient 3s linear infinite;
    color: #fff;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    box-shadow: 0 8px 18px rgba(236, 72, 153, 0.25);
}

.principal-content h2 {
    font-size: 33px;
    margin-bottom: 14px;
    color: #0b1a36;
    font-family: 'Cinzel', 'Playfair Display', serif;
    line-height: 1.2;
}

.principal-identity {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px dashed rgba(11, 26, 54, 0.15);
}

.principal-identity h3 {
    font-family: 'Cinzel', 'Poppins', serif;
    font-size: 26px;
    color: #0b1a36;
    margin: 0 0 4px;
    letter-spacing: 0.3px;
}

.principal-identity span {
    font-size: 13.5px;
    color: #64748b;
    font-weight: 500;
}

/* QUOTE BOX */

.quote-box {
    position: relative;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.09) 0%, rgba(22, 163, 74, 0.07) 100%);
    border-left: 5px solid var(--primary);
    padding: 20px 22px 20px 46px;
    margin-bottom: 22px;
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: #0b1a36;
    font-size: 16.5px;
    line-height: 1.7;
    font-weight: 500;
}

.quote-box::before {
    content: "\f10d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 18px;
    top: 20px;
    font-size: 17px;
    color: var(--primary);
}

/* PARAGRAPH */

.principal-content p {
    line-height: 1.95;
    color: #475569;
    margin-bottom: 16px;
    text-align: justify;
    font-size: 15.5px;
}

/* SIGNATURE */

.signature-box {
    margin-top: 28px;
    padding: 20px 24px;
    background: var(--light-bg);
    border-left: 5px solid var(--secondary);
    border-radius: 0 16px 16px 0;
}

.signature-box h4 {
    font-family: 'Cinzel', 'Poppins', serif;
    font-size: 21px;
    color: #0b1a36;
    margin: 0 0 4px;
}

.signature-box span {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 3px;
}

.signature-box p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    text-align: left;
    line-height: 1.5;
}

/* ===== HIGHLIGHT ===== */

.highlight-box {
    margin-top: 28px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    background-size: 200% auto;
    animation: pmGradient 4s linear infinite;
    color: #fff;
    padding: 34px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 18px 40px rgba(11, 26, 54, 0.16);
}

.highlight-box h3 {
    font-size: 27px;
    margin-bottom: 10px;
    font-family: 'Cinzel', 'Playfair Display', serif;
    color: #fff;
}

.highlight-box p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    margin: 0;
    line-height: 1.7;
}

/* ===== PREMIUM: LEADER SWITCHER ===== */

.leader-switch {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin: 0 auto 30px;
}

.switch-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px 8px 8px;
    background: #fff;
    border: 2px solid rgba(11, 26, 54, 0.10);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(11, 26, 54, 0.06);
}

.switch-chip:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 12px 26px rgba(236, 72, 153, 0.20);
}

.switch-chip.is-active {
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    background-size: 200% auto;
    animation: pmGradient 3s linear infinite;
    border-color: transparent;
    color: #fff;
    box-shadow: 0 12px 28px rgba(236, 72, 153, 0.32);
}

.switch-chip-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--secondary);
    flex: 0 0 auto;
    background: #fff;
}

.switch-chip-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.switch-chip-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    text-align: left;
}

.switch-chip-text strong {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #0b1a36;
}

.switch-chip-text em {
    font-style: normal;
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
}

.switch-chip.is-active .switch-chip-text strong,
.switch-chip.is-active .switch-chip-text em {
    color: #fff;
}

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

@media (max-width: 991px) {
    .principal-main {
        grid-template-columns: 1fr;
        padding: 32px 26px;
        gap: 30px;
    }

    .principal-image {
        max-width: 320px;
        margin: 0 auto;
    }

    .principal-content h2 { font-size: 28px; }
}

@media (max-width: 767px) {
    .principal-page { padding: 28px 0 45px; }

    .page-title h1 { font-size: 30px; }
    .page-title p { font-size: 13.5px; }

    .principal-main {
        padding: 28px 18px;
        border-radius: 20px;
    }

    .principal-content h2 { font-size: 24px; }
    .principal-identity h3 { font-size: 22px; }

    .quote-box {
        font-size: 15px;
        padding: 18px 16px 18px 42px;
    }

    .quote-box::before { left: 15px; top: 18px; }

    .principal-content p {
        font-size: 14.5px;
        text-align: left;
        line-height: 1.85;
    }

    .highlight-box { padding: 26px 18px; border-radius: 16px; }
    .highlight-box h3 { font-size: 22px; }
    .highlight-box p { font-size: 14.5px; }

    .switch-chip { flex: 1 1 100%; }
    .switch-chip-text em { white-space: normal; }

    .signature-box { padding: 16px 18px; }
    .signature-box h4 { font-size: 18px; }
}

@media (max-width: 480px) {
    .page-title h1 { font-size: 25px; }
    .principal-image { max-width: 250px; }
    .principal-image-badge { font-size: 10px; padding: 7px 14px; bottom: -14px; }
}
