/* Chairman-specific styling */
.chairman-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.chairman-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.chairman-image-container {
    background: linear-gradient(135deg, var(--water), var(--water-darker));
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.chairman-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern-dot.png');
    opacity: 0.1;
}

.chairman-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid rgba(255,255,255,0.2);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.chairman-info {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 1;
}

.chairman-info h3 {
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.chairman-info p {
    opacity: 0.85;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.signature {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    margin-top: 10px;
}

.chairman-message {
    padding: 40px;
    position: relative;
}

.message-quote {
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 3rem;
    color: rgba(48, 91, 134, 0.1);
}

.message-content {
    position: relative;
    z-index: 1;
}

.message-content h2 {
    color: var(--water-darker);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.message-content h2::after {
    content: "";
    position: absolute;
    width: 70px;
    height: 3px;
    background: var(--sun);
    bottom: 0;
    left: 0;
}

.greeting {
    font-weight: 600;
    color: var(--mountain-darker);
    margin-bottom: 20px;
}

.closing {
    font-weight: 600;
    color: var(--mountain-darker);
    margin-top: 20px;
}

.message-highlight {
    border-left: 4px solid var(--sun);
    background: rgba(229, 153, 12, 0.05);
    padding: 20px;
    margin: 25px 0;
    font-style: italic;
}

/* Section divider */
.section-divider {
    height: 3px;
    background: linear-gradient(to right, var(--water-darker), var(--sun), var(--water-darker));
    margin: 40px auto;
    width: 100%;
    max-width: 150px;
    border-radius: 3px;
    opacity: 0.8;
}

/* Animation for chairman photo */
.chairman-image {
    animation: pulse 5s infinite alternate ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
    100% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .chairman-image-container {
        padding: 40px 20px;
    }
    
    .chairman-message {
        padding: 30px 20px;
    }
}

@media (max-width: 767px) {
    .chairman-image {
        width: 150px;
        height: 150px;
    }
    
    .signature {
        font-size: 1.5rem;
    }
    
    .message-quote {
        font-size: 2rem;
        top: 20px;
        left: 20px;
    }
    
    .message-content h2 {
        font-size: 1.8rem;
        padding-left: 20px;
    }
    
    .message-highlight {
        padding: 15px;
        margin: 20px 0;
    }
}

@media (max-width: 575px) {
    .chairman-message {
        padding: 25px 15px;
    }
    
    .chairman-image {
        width: 120px;
        height: 120px;
    }
    
    .chairman-info h3 {
        font-size: 1.3rem;
    }
    
    .chairman-info p {
        font-size: 1rem;
    }
    
    .signature {
        font-size: 1.3rem;
    }
    
    .message-quote {
        font-size: 1.5rem;
        top: 15px;
        left: 15px;
    }
    
    .message-content h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .greeting, .closing {
        font-size: 0.95rem;
    }
    
    .message-highlight {
        padding: 12px;
        margin: 15px 0;
        font-size: 0.9rem;
    }
}
