/* 2025 Modern Animated Chairperson Message Styles */

.chairperson-message-modern {
    padding: 120px 0;
    background: linear-gradient(135deg, #044a61 0%, #06607f 50%, #0983a8 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.chairperson-message-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(6, 96, 127, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(9, 131, 168, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(8, 135, 181, 0.2) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Content Styles */
.chairperson-message__content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 60px 50px 70px 50px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.message-header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quote-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #D4AF37, #E5C65A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.quote-icon i {
    font-size: 30px;
    color: #1a1a1a;
}

.message-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.message-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease-out forwards;
}

.message-paragraph:nth-child(1) { animation-delay: 0.5s; }
.message-paragraph:nth-child(2) { animation-delay: 0.7s; }
.message-paragraph:nth-child(3) { animation-delay: 0.9s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlight {
    background: linear-gradient(135deg, #D4AF37, #E5C65A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.author-info {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease-out 1.2s both;
}

.author-avatar {
    margin-right: 20px;
}

.avatar-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #06607f, #0887b5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(6, 96, 127, 0.4);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.avatar-circle i {
    font-size: 25px;
    color: white;
}

.author-details h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin: 0 0 5px 0;
}

.author-details p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 5px 0;
    font-weight: 500;
}

.author-details span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Visual Section */
.chairperson-message__visual {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideInRight 1s ease-out 0.5s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.visual-container {
    position: relative;
    width: 100%;
    height: 500px;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: floatAround 8s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 70px;
    height: 70px;
    bottom: 10%;
    right: 10%;
    animation-delay: 6s;
}

@keyframes floatAround {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
    75% { transform: translateY(-30px) rotate(270deg); }
}

.main-illustration {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    justify-content: center;
}

.illustration-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px 25px 35px 25px;
    transition: all 0.3s ease;
    animation: slideInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.illustration-card:nth-child(1) { animation-delay: 0.8s; }
.illustration-card:nth-child(2) { animation-delay: 1s; }
.illustration-card:nth-child(3) { animation-delay: 1.2s; }

.illustration-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #D4AF37, #E5C65A);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.icon-wrapper i {
    font-size: 20px;
    color: #1a1a1a;
}

.card-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.card-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .chairperson-message__content {
        padding: 50px 40px;
    }
}

@media (max-width: 991px) {
    .chairperson-message-modern {
        padding: 80px 0;
    }
    
    .chairperson-message__content {
        margin-bottom: 50px;
        padding: 40px 30px;
    }
    
    .message-title {
        font-size: 2rem;
    }
    
    .visual-container {
        height: 400px;
    }
}

@media (max-width: 767px) {
    .chairperson-message-modern {
        padding: 60px 0;
    }
    
    .chairperson-message__content {
        padding: 30px 20px;
    }
    
    .message-title {
        font-size: 1.8rem;
    }
    
    .quote-icon {
        width: 60px;
        height: 60px;
    }
    
    .quote-icon i {
        font-size: 24px;
    }
    
    .author-info {
        flex-direction: column;
        text-align: center;
    }
    
    .author-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .visual-container {
        height: 350px;
    }
}

@media (max-width: 575px) {
    .chairperson-message__content {
        padding: 25px 15px;
    }
    
    .message-title {
        font-size: 1.5rem;
    }
    
    .message-paragraph {
        font-size: 1rem;
    }
    
    .visual-container {
        height: 300px;
    }
    
    .illustration-card {
        padding: 20px;
    }
}

/* Additional 2025 Effects */
.chairperson-message-modern::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Text Animation Effects */
.message-paragraph {
    position: relative;
    overflow: hidden;
}

.message-paragraph::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Interactive Hover Effects */
.illustration-card {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.illustration-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.illustration-card:hover::before {
    left: 100%;
}

/* ========== Vision Mission & Values page – grid, value cards, section titles ========== */
.chairperson-message-modern .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.chairperson-message-modern .section-title i {
    font-size: 1.2rem;
    color: #D4AF37;
}

.chairperson-message-modern .vision-section,
.chairperson-message-modern .mission-section,
.chairperson-message-modern .values-section {
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease-out forwards;
}

.chairperson-message-modern .vision-section { animation-delay: 0.2s; }
.chairperson-message-modern .mission-section { animation-delay: 0.4s; }
.chairperson-message-modern .values-section { animation-delay: 0.6s; }

.chairperson-message-modern .values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.chairperson-message-modern .value-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px 20px 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.chairperson-message-modern .value-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.chairperson-message-modern .value-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.chairperson-message-modern .value-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.35);
}

.chairperson-message-modern .value-icon i {
    font-size: 20px;
    color: white;
}

.chairperson-message-modern .value-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

.chairperson-message-modern.loaded {
    opacity: 1;
}

@media (max-width: 768px) {
    .chairperson-message-modern .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }

    .chairperson-message-modern .value-item {
        padding: 15px;
    }

    .chairperson-message-modern .value-icon {
        width: 40px;
        height: 40px;
    }

    .chairperson-message-modern .value-icon i {
        font-size: 16px;
    }
}
