/* =========================================================
   PRINCIPAL MESSAGE PAGE
   assets/css/principal-message.css
   ========================================================= */


/* =========================================================
   1. HERO
   ========================================================= */

.principal-page-hero {
    position: relative;

    padding: 90px 0 80px;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(34, 197, 94, 0.18),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 20%,
            rgba(250, 204, 21, 0.10),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #031008,
            #0b2d18 55%,
            #166534
        );

    overflow: hidden;
}

.principal-page-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 44px 44px;

    pointer-events: none;
}

.principal-page-hero::after {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    right: -140px;
    bottom: -180px;

    border:
        50px solid
        rgba(255, 255, 255, 0.035);

    border-radius: 50%;
}

.principal-page-hero .container {
    position: relative;
    z-index: 2;
}

.principal-hero-content {
    max-width: 760px;
}

.principal-hero-label {
    display: inline-flex;
    align-items: center;

    margin-bottom: 12px;

    color: #fde047;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.1px;

    text-transform: uppercase;
}

.principal-hero-content h1 {
    margin-bottom: 13px;

    color: #ffffff;

    font-size:
        clamp(
            36px,
            5vw,
            58px
        );

    line-height: 1.12;
    letter-spacing: -1.2px;
}

.principal-hero-content > p {
    max-width: 650px;

    margin-bottom: 21px;

    color:
        rgba(255, 255, 255, 0.65);

    font-size: 12px;
    line-height: 1.8;
}


/* =========================================================
   2. BREADCRUMB
   ========================================================= */

.principal-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    color:
        rgba(255, 255, 255, 0.55);

    font-size: 9px;
}

.principal-breadcrumb a {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    color:
        rgba(255, 255, 255, 0.75);
}

.principal-breadcrumb a:hover {
    color: #ffffff;
}

.principal-breadcrumb > i {
    font-size: 6px;
}

.principal-breadcrumb span {
    color: #fde047;
}


/* =========================================================
   3. MAIN MESSAGE SECTION
   ========================================================= */

.principal-message-section {
    padding: 75px 0;

    background:
        linear-gradient(
            180deg,
            #f8fafc,
            #ffffff
        );
}

.principal-message-layout {
    display: grid;

    grid-template-columns:
        minmax(280px, 0.34fr)
        minmax(0, 1fr);

    align-items: start;

    gap: 30px;
}


/* =========================================================
   4. PROFILE COLUMN
   ========================================================= */

.principal-profile-column {
    position: sticky;
    top: 110px;
}

.principal-profile-card {
    padding: 20px;

    background: #ffffff;

    border:
        1px solid #e2e8f0;

    border-radius: 22px;

    box-shadow:
        0 20px 55px
        rgba(15, 23, 42, 0.08);
}


/* =========================================================
   5. PHOTO
   ========================================================= */

.principal-photo-wrapper {
    position: relative;

    margin-bottom: 20px;
}

.principal-photo {
    position: relative;
    z-index: 2;

    width: 100%;
    aspect-ratio: 4 / 5;

    object-fit: cover;

    border-radius: 18px;
}

.principal-photo-placeholder {
    position: relative;
    z-index: 2;

    width: 100%;
    aspect-ratio: 4 / 5;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #166534;

    background:
        linear-gradient(
            145deg,
            #f0fdf4,
            #dcfce7
        );

    border-radius: 18px;

    font-size: 64px;
}

.principal-photo-decoration {
    position: absolute;

    width: 80px;
    height: 80px;

    right: -8px;
    bottom: -8px;

    z-index: 1;

    background:
        linear-gradient(
            135deg,
            #fde047,
            #facc15
        );

    border-radius: 18px;
}


/* =========================================================
   6. PROFILE INFO
   ========================================================= */

.principal-profile-info {
    text-align: center;
}

.principal-position {
    display: inline-flex;

    margin-bottom: 7px;
    padding: 5px 9px;

    color: #166534;

    background: #f0fdf4;

    border:
        1px solid #bbf7d0;

    border-radius: 30px;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.5px;

    text-transform: uppercase;
}

.principal-profile-info h2 {
    margin-bottom: 5px;

    color: #0f172a;

    font-size: 22px;
    line-height: 1.35;
}

.principal-qualification {
    margin-bottom: 15px;

    color: #64748b;

    font-size: 9px;
    line-height: 1.6;
}

.principal-school-name {
    padding-top: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    color: #475569;

    border-top:
        1px solid #e2e8f0;

    font-size: 8px;
    font-weight: 600;
}

.principal-school-name i {
    color: #166534;
}


/* =========================================================
   7. MESSAGE CONTENT CARD
   ========================================================= */

.principal-message-content {
    position: relative;

    padding: 38px 42px;

    background: #ffffff;

    border:
        1px solid #e2e8f0;

    border-radius: 24px;

    box-shadow:
        0 20px 55px
        rgba(15, 23, 42, 0.07);

    overflow: hidden;
}

.principal-message-content::before {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    right: -120px;
    top: -120px;

    background:
        rgba(34, 197, 94, 0.045);

    border-radius: 50%;
}


/* =========================================================
   8. MESSAGE HEADING
   ========================================================= */

.principal-message-heading {
    position: relative;
    z-index: 2;

    margin-bottom: 30px;

    text-align: center;
}

.principal-message-heading > span {
    display: block;

    margin-bottom: 5px;

    color: #166534;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.9px;

    text-transform: uppercase;
}

.principal-message-heading h2 {
    margin-bottom: 16px;

    color: #0f172a;

    font-size:
        clamp(
            27px,
            4vw,
            38px
        );

    line-height: 1.25;
}

.principal-title-line {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;
}

.principal-title-line span {
    width: 60px;
    height: 1px;

    background:
        linear-gradient(
            to right,
            transparent,
            #166534
        );
}

.principal-title-line span:last-child {
    background:
        linear-gradient(
            to left,
            transparent,
            #166534
        );
}

.principal-title-line i {
    color: #d4a72c;

    font-size: 12px;
}


/* =========================================================
   9. QUOTE ICON
   ========================================================= */

.principal-quote-icon {
    position: relative;
    z-index: 2;

    width: 52px;
    height: 52px;

    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #166534;

    background: #f0fdf4;

    border:
        1px solid #bbf7d0;

    border-radius: 15px;

    font-size: 19px;
}


/* =========================================================
   10. MESSAGE TEXT
   ========================================================= */

.principal-message-text {
    position: relative;
    z-index: 2;

    color: #475569;

    font-size: 12px;
    line-height: 2;
}

.principal-message-text p {
    margin-bottom: 18px;
}

.principal-message-text strong {
    color: #0f172a;
}


/* =========================================================
   11. SIGNATURE AREA
   ========================================================= */

.principal-signature-area {
    position: relative;
    z-index: 2;

    margin-top: 32px;
    padding-top: 22px;

    border-top:
        1px solid #e2e8f0;
}

.principal-signature-line {
    width: 70px;
    height: 2px;

    margin-bottom: 12px;

    background:
        linear-gradient(
            90deg,
            #166534,
            #22c55e
        );

    border-radius: 20px;
}

.principal-signature-area strong {
    display: block;

    color: #0f172a;

    font-size: 13px;
}

.principal-signature-area span {
    display: block;

    margin-top: 2px;

    color: #166534;

    font-size: 9px;
    font-weight: 700;
}

.principal-signature-area small {
    display: block;

    margin-top: 3px;

    color: #94a3b8;

    font-size: 8px;
}


/* =========================================================
   12. EMPTY STATE
   ========================================================= */

.principal-empty-state {
    max-width: 650px;

    margin: 0 auto;
    padding: 60px 30px;

    text-align: center;

    background: #ffffff;

    border:
        1px solid #e2e8f0;

    border-radius: 22px;

    box-shadow:
        0 18px 45px
        rgba(15, 23, 42, 0.06);
}

.principal-empty-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #166534;

    background: #f0fdf4;

    border-radius: 50%;

    font-size: 25px;
}

.principal-empty-state h2 {
    margin-bottom: 8px;

    color: #0f172a;

    font-size: 25px;
}

.principal-empty-state p {
    margin-bottom: 18px;

    color: #64748b;

    font-size: 10px;
}

.principal-empty-state a {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: #166534;

    font-size: 9px;
    font-weight: 700;
}


/* =========================================================
   13. VISION STRIP
   ========================================================= */

.principal-vision-strip {
    padding: 15px 0 75px;

    background: #ffffff;
}

.principal-vision-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 17px;
}

.principal-vision-item {
    min-height: 120px;

    padding: 18px;

    display: flex;
    align-items: center;

    gap: 13px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f8fafc
        );

    border:
        1px solid #e2e8f0;

    border-radius: 16px;

    box-shadow:
        0 7px 24px
        rgba(15, 23, 42, 0.045);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.principal-vision-item:hover {
    transform:
        translateY(-3px);

    border-color:
        rgba(34, 197, 94, 0.22);

    box-shadow:
        0 14px 35px
        rgba(15, 23, 42, 0.07);
}

.principal-vision-item > div {
    flex: 0 0 46px;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #166534;

    background: #f0fdf4;

    border:
        1px solid #bbf7d0;

    border-radius: 13px;

    font-size: 16px;
}

.principal-vision-item section {
    min-width: 0;
}

.principal-vision-item strong {
    display: block;

    margin-bottom: 4px;

    color: #0f172a;

    font-size: 10px;
}

.principal-vision-item span {
    display: block;

    color: #64748b;

    font-size: 8px;
    line-height: 1.6;
}


/* =========================================================
   14. RESPONSIVE
   ========================================================= */

@media (max-width: 950px) {

    .principal-message-layout {
        grid-template-columns:
            minmax(230px, 0.4fr)
            minmax(0, 1fr);

        gap: 22px;
    }

    .principal-message-content {
        padding: 32px;
    }
}


@media (max-width: 780px) {

    .principal-message-layout {
        grid-template-columns: 1fr;
    }

    .principal-profile-column {
        position: static;
    }

    .principal-profile-card {
        max-width: 420px;

        margin: 0 auto;
    }

    .principal-vision-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 560px) {

    .principal-page-hero {
        padding: 70px 0 60px;
    }

    .principal-hero-content h1 {
        font-size: 34px;
    }

    .principal-message-section {
        padding: 50px 0;
    }

    .principal-message-content {
        padding: 25px 21px;

        border-radius: 18px;
    }

    .principal-message-heading h2 {
        font-size: 27px;
    }

    .principal-message-text {
        font-size: 11px;
        line-height: 1.9;
    }

    .principal-profile-card {
        padding: 16px;
    }

    .principal-vision-strip {
        padding-bottom: 50px;
    }
}


/* =========================================================
   15. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .principal-vision-item {
        transition: none;
    }
}


/* =========================================================
   16. PRINT
   ========================================================= */

@media print {

    .principal-page-hero,
    .principal-vision-strip,
    .site-header,
    .site-footer {
        display: none !important;
    }

    .principal-message-section {
        padding: 0;
    }

    .principal-message-layout {
        display: block;
    }

    .principal-profile-column {
        position: static;

        max-width: 250px;

        margin-bottom: 25px;
    }

    .principal-profile-card,
    .principal-message-content {
        box-shadow: none;
    }
}