/* REDESIGN MANAGEMENT CSS (School Management Template) */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800;900&display=swap');

:root {
    --glass-font: 'Outfit', sans-serif;
    --glass-bg-color: rgba(255, 255, 255, 0.5);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 25px 50px rgba(30, 58, 138, 0.08);
    --gradient-brand: linear-gradient(135deg, #4f46e5 0%, #ec4899 100%);
    --text-primary: #1e293b;
    --text-secondary: #475569;
}

/* Base resets and fixes */
body, #page, #content, .site-content {
    background: transparent !important;
}

.modern-management-wrapper::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    background: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%);
}

.modern-management-wrapper {
    padding: 140px 0 100px;
    font-family: var(--glass-font);
}

.container-glass {
    width: 100%;
    margin: 0 auto;
    padding: 0 5%;
}

/* Glass Card Global Styles */
.glass-card {
    background: var(--glass-bg-color);
    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 60px;
    margin-bottom: 50px;
    box-shadow: var(--glass-shadow);
    border-top: 1px solid rgba(255,255,255,1);
    border-left: 1px solid rgba(255,255,255,1);
}

.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gradient-bg {
    background: var(--gradient-brand);
}

/* 1. Hero Styles */
.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
}

.header-accent {
    width: 80px;
    height: 8px;
    background: var(--gradient-brand);
    border-radius: 4px;
    margin-bottom: 40px;
}

.hero-intro-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
}

/* 2. MD Profile Layout (Split) */
.md-profile-layout {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 60px;
    align-items: start;
}

.md-portrait-container {
    position: sticky;
    top: 140px;
}

.glass-portrait-frame {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.glass-portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.glass-portrait-frame:hover img {
    transform: scale(1.05);
}

.portrait-blur-glow {
    position: absolute;
    bottom: -20%; right: -20%;
    width: 200px; height: 200px;
    background: #6366f1;
    filter: blur(80px);
    opacity: 0.15;
    z-index: 1;
}

/* 3. Message Column & Banner */
.message-banner {
    padding: 30px 50px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.2);
}

.banner-text {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.quote-card {
    position: relative;
    padding: 80px 60px 60px;
}

.quote-symbol {
    position: absolute;
    top: 40px; left: 40px;
    font-size: 4rem;
    opacity: 0.1;
    color: var(--text-primary);
}

.quote-content p {
    font-size: 1.25rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
    font-weight: 500;
}

.quote-signature {
    margin-top: 50px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 30px;
}

.sig-name {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-primary);
    margin: 0;
}

.sig-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #6366f1;
    margin: 5px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Responsiveness */
@media (max-width: 1200px) {
    .md-profile-layout {
        grid-template-columns: 1fr;
    }
    .md-portrait-container {
        position: relative;
        top: 0;
        margin-bottom: 40px;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .glass-card {
        padding: 40px 30px;
    }
    .hero-title {
        font-size: 18px;
    }
    .quote-card {
        padding: 60px 30px 40px;
    }
    .modern-management-wrapper {
    padding: 20px 0 10px;
}
.banner-text {
    font-size: 10px;
}
.message-banner {
    margin-bottom: 10px;
}
.md-portrait-container {
    margin-bottom: 4px;
}
.md-profile-layout {
    gap: 10px;
}
}
