/* ==========================================
   PAFDA BOARD PAGE - STYLES
   Matching Figma Design Specifications
   ========================================== */

   .board-page .container{
    padding: 0px;
    max-width: 1440px;
}
.board-page .container-row{
    padding: 0px;
}
/* ==========================================
   Chairperson Section
   ========================================== */

.board-chairperson-section {
    padding: 80px 152px;
    background: #FBFAF9;
}
.board-chairperson-section .container{
    padding: 0px;
    max-width: 1050px;
    margin: 0 auto;
}

.chairperson-card {
    background: rgba(237, 235, 233, 0.3);
    border: 1px solid #D9D9D9;
    border-radius: 12px;
    overflow: hidden;
}

.chairperson-layout {
    display: flex;
    gap: 0;
}

.chairperson-image {
    flex: 0 0 404.66px;
    width: 404.66px;
    height: 100%;
    min-height: 396px;
    position: relative;
    background: #E5E2DC;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chairperson-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1D4ED8 0%, #1e40af 100%);
    font-family: var(--font-primary);
    font-size: 72px;
    font-weight: 700;
    color: #FFFFFF;
}

.chairperson-content {
    flex: 1;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.chairperson-header {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.board-badge {
    display: inline-block;
    width: fit-content;
    padding: 4px 12px;
    background: rgba(29, 78, 216, 0.1);
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.429;
    color: var(--color-secondary);
}

.chairperson-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chairperson-info h2 {
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.111;
    letter-spacing: -0.025em;
    color: #21282C;
    margin: 0;
}

.chairperson-info .position {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.556;
    color: var(--color-secondary);
    margin: 0;
}

.chairperson-description {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chairperson-description p {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #67777E;
    margin-bottom: 12px;
}
.chairperson-description p:last-child {
    margin-bottom: 0;
}

.vice-chairperson-inline {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-top: 40px;
    border-top: 1px solid #E5E2DC;
    justify-content: center;
}

.vice-avatar {
    width: 150px;
    height: 150px;
    border-radius: 9999px;
    background: rgba(29, 78, 216, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.vice-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vice-avatar span {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.429;
    color: rgba(29, 78, 216, 0.6);
}

.vice-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vice-role {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.429;
    color: var(--color-secondary);
}

.vice-name {
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: -0.9px;
    color: #21282C;
}

.vice-org {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.429;
    color: #67777E;
}

/* ==========================================
   Message from Leadership Section
   ========================================== */

.message-section {
    padding: 80px 250px;
    background: #FBFAF9;
}

.container-message {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
}

.message-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.message-card {
    background: rgba(8, 36, 22, 0.05);
    border: 1px solid rgba(8, 36, 22, 0.1);
    border-radius: 6px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 48px;
    height: 48px;
}

.message-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-left: 48px;
}

.message-text p {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-primary);
    margin-bottom: 24px;
}
.message-text p:last-child {
    margin-bottom: 0;
}

.message-author {
    display: flex;
    flex-direction: column;
    padding-top: 24px;
    padding-left: 48px;
    border-top: 1px solid rgba(8, 36, 22, 0.1);
}

.author-title {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--color-primary);
}

.author-org {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text-primary);
}

/* ==========================================
   Board Members Section
   ========================================== */

.board-members-section {
    padding: 80px 112px;
    background: rgba(237, 235, 233, 0.5);
}

.container-board {
    width: 100%;
}

.board-section-wrapper {
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 0 32px;
}

.board-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/*.board-section-header .section-header-center h2 {
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.111;
    letter-spacing: -0.025em;
    color: var(--color-text-primary);
    margin: 0 0 16px 0;
}

.board-section-header .section-header-center h3 {
    font-family: var(--font-primary);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--color-text-primary);
    margin: 0 0 16px 0;
}

.board-section-header .section-header-center p {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.556;
    text-align: center;
    color: var(--color-text-secondary);
    max-width: 672px;
    margin: 0;
}*/

.board-members-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.board-member-card {
    background: #FBFAF9;
    border: 1px solid #E5E2DC;
    border-radius: 6px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.board-member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 9999px;
    background: rgba(29, 78, 216, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.member-avatar span {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.429;
    color: rgba(29, 78, 216, 0.6);
}

.member-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    width: 100%;
}

.member-role {
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.333;
    text-align: center;
    color: var(--color-secondary);
}

.member-name {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: -0.35px;
    text-align: center;
    color: var(--color-primary);
}

.member-org {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    text-align: center;
    color: var(--color-text-primary);
}

/* ==========================================
   Technical Members Section
   ========================================== */

.technical-members-section {
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding-top: 16px;
}

.technical-members-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.technical-members-grid .board-member-card {
    flex: 0 1 auto;
    min-width: 200px;
}

/* ==========================================
   Responsive Styles
   ========================================== */

@media (max-width: 1440px) {
    .board-chairperson-section {
        padding: 80px 150px;
    }
    
    .message-section {
        padding: 80px 320px;
    }
    
    .board-members-section {
        padding: 80px 200px;
    }
}

@media (max-width: 1200px) {
    .board-chairperson-section {
        padding: 80px 80px;
    }
    
    .message-section {
        padding: 80px 150px;
    }
    
    .board-members-section {
        padding: 80px 100px;
    }
    
    .board-members-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 968px) {
    .board-chairperson-section {
        padding: 64px 40px;
    }
    
    .chairperson-layout {
        flex-direction: column;
    }
    
    .chairperson-image {
        width: 100%;
        flex: 0 0 auto;
        min-height: 270px;
    }
    
    .chairperson-content {
        padding: 32px 20px;
    }
    
    .chairperson-info h2 {
        font-size: 28px;
    }
    
    .message-section {
        padding: 64px 80px;
    }
    
    .message-card {
        padding: 32px 24px;
    }
    
    .message-text {
        padding-left: 24px;
    }
    
    .message-text p {
        font-size: 18px;
    }
    
    .message-author {
        padding-left: 24px;
    }
    
    .board-members-section {
        padding: 64px 40px;
    }
    
    .board-section-wrapper {
        padding: 0 16px;
    }
    
    .board-members-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .technical-members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .board-chairperson-section {
        padding: 48px 0px;
    }
    
    .chairperson-info h2 {
        font-size: 24px;
    }
    
    .chairperson-info .position {
        font-size: 16px;
    }
    
    .chairperson-description p {
        font-size: 14px;
    }
    
    .vice-chairperson-inline {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .message-section {
        padding: 48px 24px;
    }
    .message-content{
        gap: 0px;
    }
    
    .message-card {
        padding: 24px 16px;
    }
    
    .quote-icon {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 16px;
    }
    
    .message-text {
        padding-left: 0;
    }
    
    .message-text p {
        font-size: 16px;
    }
    
    .message-author {
        padding-left: 0;
    }
    
    .board-members-section {
        padding: 48px 24px;
    }
    
    .board-section-wrapper {
        padding: 0;
    }
    
    .board-section-header .section-header-center h2,
    .board-section-header .section-header-center h3 {
        font-size: 24px;
    }
    
    .board-section-header .section-header-center p {
        font-size: 16px;
    }
    
    .board-members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .board-member-card {
        padding: 16px 12px;
    }
    
    .member-avatar {
        width: 100px;
        height: 100px;
    }
    
    .technical-members-grid {
        grid-template-columns: 1fr;
    }
}

