/* 
    #40b968 main color
*/

/* Board Image Styles */
.board-container {
    width: 100%;
    padding: 30px 0;
    display: flex;
    justify-content: center;
}

.board-image-wrapper {
    width: 100%;
    max-width: 1200px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    background: white;
    padding: 15px;
}

.board-image-wrapper:hover {
    box-shadow: 0 15px 50px rgba(64, 185, 104, 0.25);
    transform: translateY(-5px);
}

.board-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .board-image-wrapper {
        padding: 10px;
        border-radius: 15px;
    }
    
    .board-image-wrapper img {
        border-radius: 8px;
    }
}

 

.lead {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Committee Card Styles */
.committee-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* President Card - Larger and Special */
.committee-card.president-card {
    box-shadow: 0 8px 30px rgba(64, 185, 104, 0.2);
    border: 2px solid rgba(64, 185, 104, 0.3);
}

.committee-card.president-card:hover {
    box-shadow: 0 15px 50px rgba(64, 185, 104, 0.3);
}

.committee-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(64, 185, 104, 0.2);
}

.committee-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.committee-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.committee-card:hover .committee-image {
    transform: scale(1.1);
}

.committee-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    color: white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    z-index: 10;
}

.committee-badge.president {
    background: linear-gradient(135deg, #ff6b6b 0%, #c92a2a 100%);
}

.committee-badge.vice-president {
    background: linear-gradient(135deg, #4c6ef5 0%, #364fc7 100%);
}

.committee-badge.secretary {
    background: linear-gradient(135deg, #fab005 0%, #f08c00 100%);
}

.committee-badge.member {
    background: linear-gradient(135deg, #40b968 0%, #2d8a4d 100%);
}

.committee-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.committee-name {
    color: #333;
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.committee-position {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
    min-height: 50px;
}

.committee-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 15px;
    border-top: 2px solid #e9ecef;
    margin-top: auto;
}

.committee-contact i {
    color: #40b968;
    font-size: 1rem;
}

.committee-contact small {
    color: #868e96;
    font-size: 0.85rem;
}

/* Animation on scroll */
.committee-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation delay */
.committee-card:nth-child(1) { animation-delay: 0.1s; }
.committee-card:nth-child(2) { animation-delay: 0.2s; }
.committee-card:nth-child(3) { animation-delay: 0.3s; }
.committee-card:nth-child(4) { animation-delay: 0.4s; }
.committee-card:nth-child(5) { animation-delay: 0.5s; }
.committee-card:nth-child(6) { animation-delay: 0.6s; }
.committee-card:nth-child(7) { animation-delay: 0.7s; }
.committee-card:nth-child(8) { animation-delay: 0.8s; }
.committee-card:nth-child(9) { animation-delay: 0.9s; }

/* Responsive */
@media (max-width: 768px) {
    .textHeader {
        font-size: 1.5rem;
    }
    
    .committee-info {
        padding: 20px;
    }
    
    .committee-name {
        font-size: 1.1rem;
    }
    
    .committee-position {
        font-size: 0.9rem;
    }
    
    .committee-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}

/* Print styles */
@media print {
    .committee-card {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #dee2e6;
    }
    
    .committee-card:hover {
        transform: none;
    }
}
