/* ============================================
   Message Pages Styles (President, Secretary, Principal)
   ============================================ */

/* Message Section */
.message-section {
    padding: 80px 0;
    background: #f8fafc;
}

.message-container {
    max-width: 1100px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Profile Section */
.message-profile {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px;
    text-align: center;
    color: white;
    position: relative;
}

.message-profile::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.1;
    pointer-events: none;
}

.profile-image-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    position: relative;
    z-index: 1;
}

.profile-name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-designation {
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    opacity: 0.95;
}

.profile-organization {
    font-size: 16px;
    opacity: 0.9;
}

/* Message Content */
.message-content {
    padding: 60px;
}

.message-greeting {
    margin-bottom: 30px;
}

.message-greeting p {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    font-style: italic;
}

.message-body {
    margin-bottom: 40px;
}

.message-body p {
    font-size: 16px;
    line-height: 1.9;
    color: #475569;
    margin-bottom: 20px;
    text-align: justify;
}

.message-body p:first-child::first-letter {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    float: left;
    line-height: 1;
    margin-right: 8px;
    margin-top: 4px;
}

/* Signature */
.message-signature {
    border-top: 2px solid #e2e8f0;
    padding-top: 30px;
    text-align: right;
}

.signature-text {
    font-size: 16px;
    color: #64748b;
    font-style: italic;
    margin-bottom: 15px;
}

.signature-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.signature-title {
    font-size: 16px;
    color: var(--secondary-color);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .message-section {
        padding: 50px 0;
    }

    .message-profile {
        padding: 40px 30px;
    }

    .profile-image-wrapper {
        width: 150px;
        height: 150px;
        margin-bottom: 20px;
    }

    .profile-name {
        font-size: 26px;
    }

    .profile-designation {
        font-size: 18px;
    }

    .profile-organization {
        font-size: 14px;
    }

    .message-content {
        padding: 40px 30px;
    }

    .message-greeting p {
        font-size: 18px;
    }

    .message-body p {
        font-size: 15px;
        line-height: 1.8;
    }

    .message-body p:first-child::first-letter {
        font-size: 40px;
    }

    .signature-name {
        font-size: 20px;
    }

    .signature-title {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .message-profile {
        padding: 30px 20px;
    }

    .profile-image-wrapper {
        width: 120px;
        height: 120px;
    }

    .profile-name {
        font-size: 22px;
    }

    .profile-designation {
        font-size: 16px;
    }

    .message-content {
        padding: 30px 20px;
    }

    .message-greeting p {
        font-size: 16px;
    }

    .message-body p {
        font-size: 14px;
        text-align: left;
    }

    .message-signature {
        text-align: left;
    }
}