/* ============================================
   Message Page Styles (Chairman, Director, Principal)
   ============================================ */

.message-hero-banner {
    position: relative;
    height: 450px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.message-hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}
.message-hero-banner::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,193,7,0.15) 0%, transparent 60%);
    border-radius: 50%;
    animation: pulse 10s ease-in-out infinite reverse;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}
.message-hero-banner .decorative-shape {
    position: absolute;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 50%;
}
.message-hero-banner .shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: 10%;
    animation: float 15s ease-in-out infinite;
}
.message-hero-banner .shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: 15%;
    animation: float 12s ease-in-out infinite reverse;
}
.message-hero-banner .shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 5%;
    border-color: rgba(252,80,70,0.3);
    animation: float 10s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}
.message-hero-banner .hero-content {
    position: relative;
    z-index: 10;
}
.message-hero-banner .hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    letter-spacing: 2px;
}
.message-hero-banner .hero-content p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.message-section {
    padding: 80px 0;
}

.leader-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.leader-image {
    position: relative;
    text-align: center;
    padding: 50px 40px;
    background: linear-gradient(135deg, #31287e 0%, #003326 100%);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.leader-image::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(252,80,70,0.2) 0%, transparent 70%);
    border-radius: 50%;
}
.leader-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255,193,7,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.leader-image.blue-accent::before {
    background: radial-gradient(circle, rgba(100,181,246,0.2) 0%, transparent 70%);
}
.leader-image.blue-accent::after {
    background: radial-gradient(circle, rgba(129,212,250,0.15) 0%, transparent 70%);
}
.image-frame {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto;
}
.image-frame::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 3px dashed rgba(100,181,246,0.6);
    animation: rotateFrame 25s linear infinite;
}
.image-frame::after {
    content: '';
    position: absolute;
    inset: -25px;
    border-radius: 50%;
    border: 2px dotted rgba(129,212,250,0.4);
    animation: rotateFrame 35s linear infinite reverse;
}
@keyframes rotateFrame {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.leader-image img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid rgba(255,255,255,0.3);
    box-shadow: 0 0 0 10px rgba(100,181,246,0.35), 0 25px 60px rgba(0,0,0,0.4);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}
.leader-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 0 12px rgba(100,181,246,0.5), 0 30px 70px rgba(0,0,0,0.5);
}
.leader-info {
    position: relative;
    z-index: 1;
    margin-top: 25px;
}
.leader-info h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.leader-info .designation {
    display: inline-block;
    background: linear-gradient(135deg, #31287e 0%, #1a1556 100%);
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.decorative-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.decorative-icon i {
    font-size: 24px;
    color: #fffe2c;
}

.message-content {
    padding: 40px;
}
.message-content p {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.quote-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 5px solid #31287e;
    padding: 30px;
    margin-top: 30px;
    border-radius: 0 15px 15px 0;
}
.quote-box p {
    font-size: 18px;
    font-style: italic;
    color: #31287e;
    margin-bottom: 15px;
    line-height: 1.8;
}
.quote-box .author {
    font-size: 16px;
    font-weight: 700;
    color: #31287e;
    font-style: normal;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn {
    animation: fadeIn 0.8s ease forwards;
}
