/* ==========================================================================
   principal_desk.css — Sneh Shikshan Avam Manav Seva Sansthan (Rewa, MP)
   Principal's Desk Page Styling
   ========================================================================== */

:root {
    --orange:        #ffa500;
    --orange-dark:   #e69500;
    --navy:          #1a2c4e;
    --navy-dark:     #0f1c34;
    --navy-light:    #2a3f66;
    --white:         #ffffff;
    --text-dark:     #222222;
    --text-muted:    #667085;
    --bg-soft:       #f7f9fc;
    --shadow-sm:     0 2px 10px rgba(0, 0, 0, 0.06);
    --shadow-md:     0 6px 24px rgba(0, 0, 0, 0.10);
    --shadow-lg:     0 12px 40px rgba(0, 0, 0, 0.15);
    --radius:        14px;
}

/* -------------------- Utility -------------------- */
.section-pad { padding: 70px 0; }

.section-tag {
    display: inline-block;
    background: rgba(255, 165, 0, 0.15);
    color: var(--orange-dark);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 14px;
    line-height: 1.25;
}

.section-sub {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.section-head { margin-bottom: 40px; }

/* -------------------- Buttons -------------------- */
.btn-brand {
    background: var(--orange);
    color: var(--white) !important;
    font-weight: 700;
    border: 2px solid var(--orange);
    padding: 10px 26px;
    border-radius: 50px;
    font-size: 14.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-brand:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 44, 78, 0.3);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: var(--white);
    font-weight: 700;
    padding: 10px 26px;
    border-radius: 50px;
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

/* ==========================================================================
   PAGE HERO (shared)
   ========================================================================== */
.page-hero {
    position: relative;
    min-height: 280px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 0;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(255, 165, 0, 0.20), transparent 45%),
        radial-gradient(circle at 85% 70%, rgba(255, 165, 0, 0.15), transparent 45%);
    pointer-events: none;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg,
            rgba(255,255,255,0.03) 0 20px,
            transparent 20px 40px);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.page-hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    margin: 0 0 14px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.page-breadcrumb {
    justify-content: center;
    margin: 0;
    background: transparent;
    padding: 0;
}

.page-breadcrumb .breadcrumb-item,
.page-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.page-breadcrumb .breadcrumb-item a:hover { color: var(--orange); }
.page-breadcrumb .breadcrumb-item.active { color: var(--orange); font-weight: 700; }

.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    line-height: 1;
}

.page-breadcrumb i { margin-right: 4px; }

/* ==========================================================================
   PRINCIPAL PROFILE + MESSAGE
   ========================================================================== */
.principal-section { background: var(--white); }

/* ---------- Profile Card (Left) ---------- */
.principal-profile {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    text-align: center;
    position: sticky;
    top: 220px;
    border-bottom: 5px solid var(--orange);
}

.profile-photo-wrap {
    position: relative;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    padding: 40px 30px 90px;
}

.profile-photo {
    width: 190px;
    height: 190px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid var(--white);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    display: block;
    margin: 0 auto;
    background: #f5f5f5;
    transition: transform 0.35s ease;
}

.principal-profile:hover .profile-photo {
    transform: scale(1.04);
}

.profile-badge {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(255, 165, 0, 0.5);
    border: 4px solid var(--white);
    z-index: 2;
}

.profile-info {
    padding: 36px 24px 30px;
    background: var(--white);
}

.profile-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 6px;
    letter-spacing: 0.3px;
}

.profile-role {
    display: inline-block;
    color: var(--orange-dark);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
}

.profile-org {
    display: block;
    color: var(--text-muted);
    font-size: 12.5px;
    line-height: 1.6;
    margin-bottom: 18px;
    padding: 0 8px;
}

.profile-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.profile-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--navy);
    font-size: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.profile-social a:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 165, 0, 0.4);
}

/* ---------- Message Card (Right) ---------- */
.principal-message {
    background: var(--bg-soft);
    border-radius: var(--radius);
    padding: 50px 45px 42px;
    position: relative;
    border-left: 5px solid var(--orange);
    box-shadow: var(--shadow-sm);
}

.quote-mark {
    position: absolute;
    top: -25px;
    left: 35px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    line-height: 1;
    padding-top: 12px;
    box-shadow: 0 10px 24px rgba(255, 165, 0, 0.4);
}

.message-body {
    margin-top: 10px;
}

.message-text {
    color: #4a5568;
    font-size: 15.5px;
    line-height: 1.85;
    margin-bottom: 16px;
}

.message-text b {
    color: var(--navy);
    font-weight: 700;
}

/* Signature */
.message-signature {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 2px dashed #e0e5ec;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.signature-line {
    width: 60px;
    height: 3px;
    background: var(--orange);
    border-radius: 3px;
}

.signature-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sig-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: 0.3px;
}

.sig-role {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
}

/* ==========================================================================
   KEY FOCUS AREAS
   ========================================================================== */
.focus-section { background: var(--bg-soft); }

.focus-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 34px 24px 28px;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
    border-bottom: 4px solid transparent;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.focus-card::before {
    content: "";
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: var(--orange);
    transition: width 0.35s ease;
}

.focus-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--orange);
}

.focus-card:hover::before { width: 100%; }

.focus-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.15), rgba(26, 44, 78, 0.08));
    color: var(--orange);
    font-size: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.35s ease;
}

.focus-card:hover .focus-icon {
    background: var(--orange);
    color: var(--white);
    transform: rotate(-8deg) scale(1.06);
}

.focus-card h5 {
    font-size: 17px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
}

.focus-card p {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.65;
    margin: 0;
}

/* ==========================================================================
   VISION POINTS
   ========================================================================== */
.vision-points-section { background: var(--white); }

.vp-visual {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vp-icon {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--orange);
    font-size: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
    box-shadow: 0 20px 40px rgba(26, 44, 78, 0.35);
    transition: transform 0.35s ease;
}

.vp-visual:hover .vp-icon {
    transform: scale(1.06) rotate(-6deg);
}

.vp-rings {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.vp-rings span {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--orange);
    opacity: 0.4;
    animation: pulseRing 4s ease-in-out infinite;
}

.vp-rings span:nth-child(1) { width: 180px; height: 180px; animation-delay: 0s; }
.vp-rings span:nth-child(2) { width: 240px; height: 240px; animation-delay: 0.6s; }
.vp-rings span:nth-child(3) { width: 320px; height: 320px; animation-delay: 1.2s; }

@keyframes pulseRing {
    0%, 100% { transform: scale(1);    opacity: 0.35; }
    50%      { transform: scale(1.05); opacity: 0.15; }
}

.vp-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    color: var(--navy);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
    z-index: 4;
    white-space: nowrap;
}

.vp-badge i { color: var(--orange); }

/* VP List */
.vp-list {
    list-style: none;
    padding: 0;
    margin: 25px 0 20px;
}

.vp-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 18px;
    background: var(--bg-soft);
    border-radius: 12px;
    margin-bottom: 12px;
    border-left: 4px solid var(--orange);
    transition: all 0.3s ease;
}

.vp-list li:hover {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transform: translateX(6px);
}

.vp-list li i {
    color: var(--orange);
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.vp-list li strong {
    display: block;
    color: var(--navy);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 3px;
}

.vp-list li span {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.6;
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 55px 0;
    color: var(--white);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-text h2 {
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--white);
}

.cta-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991.98px) {

    .section-pad { padding: 50px 0; }
    .section-head { margin-bottom: 30px; }

    .page-hero { min-height: 220px; padding: 40px 0; }

    .principal-profile { position: static; margin-bottom: 30px; }

    .principal-message { padding: 40px 30px 34px; }
    .quote-mark { left: 25px; width: 55px; height: 55px; font-size: 32px; }

    .vp-visual { max-width: 300px; }
    .vp-icon { width: 110px; height: 110px; font-size: 48px; }
    .vp-rings span:nth-child(1) { width: 150px; height: 150px; }
    .vp-rings span:nth-child(2) { width: 200px; height: 200px; }
    .vp-rings span:nth-child(3) { width: 270px; height: 270px; }

    .cta-inner { flex-direction: column; text-align: center; }
    .cta-buttons { justify-content: center; width: 100%; }
}

@media (max-width: 575.98px) {

    .section-pad { padding: 40px 0; }
    .section-title { font-size: 1.3rem; }

    .page-hero { min-height: 180px; padding: 30px 0; }
    .page-hero-title { font-size: 1.5rem; }

    .profile-photo-wrap { padding: 30px 20px 80px; }
    .profile-photo { width: 150px; height: 150px; border-width: 5px; }
    .profile-badge { width: 46px; height: 46px; font-size: 20px; bottom: 60px; }

    .profile-info { padding: 30px 20px 24px; }
    .profile-name { font-size: 19px; }
    .profile-social a { width: 38px; height: 38px; font-size: 15px; }

    .principal-message { padding: 34px 22px 28px; }
    .quote-mark { width: 50px; height: 50px; font-size: 28px; top: -22px; left: 20px; padding-top: 10px; }
    .message-text { font-size: 14.5px; line-height: 1.75; }

    .sig-name { font-size: 16px; }
    .sig-role { font-size: 12px; }
    .signature-line { width: 40px; }

    .focus-card { padding: 26px 18px 22px; }
    .focus-icon { width: 64px; height: 64px; font-size: 26px; }

    .vp-visual { max-width: 240px; }
    .vp-icon { width: 90px; height: 90px; font-size: 38px; }
    .vp-rings span:nth-child(1) { width: 120px; height: 120px; }
    .vp-rings span:nth-child(2) { width: 160px; height: 160px; }
    .vp-rings span:nth-child(3) { width: 210px; height: 210px; }
    .vp-badge { font-size: 11px; padding: 6px 14px; bottom: 12px; }

    .vp-list li { padding: 12px 14px; gap: 10px; }
    .vp-list li i { font-size: 19px; }
    .vp-list li strong { font-size: 14px; }
    .vp-list li span { font-size: 12.5px; }
}