/* Secretary Message Section - Box Style */
.secretary-message-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f9ff 0%, #f0f5ff 100%);
    position: relative;
    overflow: hidden;
}

.secretary-message-box {
    background: white;
    border-radius: 25px;
    box-shadow: 0 25px 70px rgba(1, 41, 112, 0.15);
    display: flex;
    overflow: hidden;
    margin-bottom: 50px;
    position: relative;
    border: 1px solid rgba(1, 41, 112, 0.1);
}

/* Secretary Profile Card */
.secretary-profile-card {
    width: 320px;
    background: linear-gradient(180deg, #012970 0%, #1a4ca6 100%);
    padding: 40px 30px;
    color: white;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-image-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 25px;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
}

.profile-image-border {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: rotate-border 20s linear infinite;
}

.profile-image-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

@keyframes rotate-border {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.profile-info {
    text-align: center;
    width: 100%;
}

.profile-name {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
}

.profile-designation {
    font-size: 18px;
    color: #a3c2ff;
    font-weight: 600;
    margin-bottom: 5px;
}

.profile-institute {
    font-size: 14px;
    color: #8ab4ff;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-qualifications {
    margin-bottom: 30px;
}

.qualification-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #c2d6ff;
}

.qualification-item i {
    width: 20px;
    color: #5a9cff;
}

.profile-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Message Content Box */
.message-content-box {
    flex: 1;
    padding: 50px;
    position: relative;
    background: white;
}

.message-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f5ff;
}

.message-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #012970 0%, #1a4ca6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.message-title h3 {
    font-size: 24px;
    color: #012970;
    margin-bottom: 5px;
}

.message-title p {
    color: #666;
    font-size: 16px;
}

.message-body {
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.message-text {
    line-height: 1.8;
    color: #444;
}

.message-text p {
    margin-bottom: 20px;
    font-size: 16px;
}

.message-text p:first-child {
    font-weight: 600;
    color: #012970;
}

.message-highlight {
    background: linear-gradient(90deg, rgba(1, 41, 112, 0.05) 0%, rgba(1, 41, 112, 0.1) 100%);
    border-left: 4px solid #012970;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 10px 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.message-highlight i {
    color: #012970;
    font-size: 24px;
    margin-top: 2px;
}

.message-highlight p {
    margin: 0 !important;
    font-style: italic;
    color: #012970 !important;
    font-weight: 500;
}

.message-footer {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid #f0f5ff;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.signature-area {
    flex: 1;
}

.regards {
    font-style: italic;
    color: #666;
    margin-bottom: 15px;
}

.signature-line {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, #012970 0%, transparent 100%);
    margin: 10px 0 15px 0;
}

.signature-name {
    font-size: 22px;
    font-weight: 700;
    color: #012970;
    margin-bottom: 5px;
}

.signature-title {
    color: #666;
    font-size: 15px;
}

.message-date {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #888;
    font-size: 14px;
}

.message-date i {
    color: #012970;
}

/* Corner Decoration */
.message-corner-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.corner-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #012970;
    border-radius: 50%;
    opacity: 0.3;
}

.corner-dot.dot-1 { top: 20px; left: 20px; }
.corner-dot.dot-2 { top: 20px; right: 20px; }
.corner-dot.dot-3 { bottom: 20px; left: 20px; }
.corner-dot.dot-4 { bottom: 20px; right: 20px; }

/* Mission Points */
.secretary-mission-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.mission-point {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(1, 41, 112, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f5ff;
}

.mission-point:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(1, 41, 112, 0.15);
    border-color: #012970;
}

.point-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #012970 0%, #1a4ca6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
}

.mission-point h4 {
    color: #012970;
    font-size: 20px;
    margin-bottom: 10px;
}

.mission-point p {
    color: #666;
    font-size: 15px;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .secretary-message-box {
        flex-direction: column;
    }
    
    .secretary-profile-card {
        width: 100%;
        padding: 30px;
        flex-direction: row;
        gap: 30px;
    }
    
    .profile-image-container {
        width: 150px;
        height: 150px;
        margin-bottom: 0;
    }
    
    .profile-info {
        text-align: left;
        flex: 1;
    }
}

@media (max-width: 768px) {
    .secretary-profile-card {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-info {
        text-align: center;
    }
    
    .secretary-mission-points {
        grid-template-columns: 1fr;
    }
    
    .message-content-box {
        padding: 30px 20px;
    }
    
    .message-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .message-footer {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .secretary-message-box {
        border-radius: 15px;
    }
    
    .secretary-profile-card {
        padding: 20px;
    }
    
    .profile-image-container {
        width: 120px;
        height: 120px;
    }
    
    .profile-name {
        font-size: 22px;
    }
}