/* About Us Page Section 2 - Board Members */

.bwbg-section { 
    padding: 60px 0; 
    background: #fff; 
    font-family: 'Cairo', sans-serif;
    color: rgb(0, 0, 0);
    font-size: 18px;
    line-height: 29px;
    font-weight: 400;
}

.bwbg-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.bwbg-section-title {
    font-family: 'Cairo', sans-serif !important;
    font-size: 58px !important;
    font-weight: 900 !important;
    font-style: normal !important;
    color: rgb(0, 0, 0) !important;
    line-height: 76px !important;
    margin-bottom: 20px;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
    font-smooth: always !important;
}

.bwbg-section-subtitle {
    font-family: 'Cairo', sans-serif !important;
    font-weight: 900 !important;
    font-style: normal !important;
    color: rgb(0, 0, 0) !important;
    font-size: 30px !important;
    line-height: 45px !important;
    margin: 0 auto 1.3em !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
    font-smooth: always !important;
    opacity: 1 !important;
    max-width: 1000px;
}

.bwbg-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 16px; 
}
.bwbg-row { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 40px; 
    margin-bottom: 40px; 
}
.bwbg-col { 
    flex: 1 1 calc(50% - 40px); 
    padding: 0 10px 40px;
    text-align: left;
}
.bwbg-photo { 
    width: 100%; 
    height: 515px; 
    object-fit: cover; 
    object-position: center top;
    margin-bottom: 20px; 
    border-radius: 0;
}
.bwbg-name { 
    font-family: 'Cairo', sans-serif;
    font-weight: 900; 
    font-style: normal;
    color: rgb(0, 0, 0);
    margin: 10px 0 2px; 
    font-size: 21px;
    line-height: 27px;
    text-align: left;
    padding-left: 5px;
}
.bwbg-title { 
    font-family: 'Cairo', sans-serif;
    font-weight: 900; 
    font-style: normal;
    color: #7d7d7d;
    margin: 0 0 5px; 
    font-size: 16px;
    line-height: 21px;
    text-align: left;
    padding-left: 5px;
}

.bwbg-company {
    font-family: 'Cairo', sans-serif;
    font-weight: 700; 
    font-style: normal;
    color: #000;
    margin: 0 0 15px; 
    font-size: 15px;
    line-height: 20px;
    text-align: left;
    padding-left: 5px;
}
.bwbg-col p { 
    font-family: 'Cairo', sans-serif;
    font-weight: 600; 
    font-style: normal;
    color: rgb(0, 0, 0);
    margin: 8px 0; 
    font-size: 18px;
    line-height: 29px;
    text-align: left;
    padding-left: 5px;
}

.bio-content {
    max-height: 300px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease;
}

.bio-content:not(.expanded)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(transparent, #fff);
    pointer-events: none;
}

.bio-content.expanded {
    max-height: 2000px;
}

.bio-content.expanded::after {
    display: none;
}

.read-more-btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 10px 20px;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    margin-top: 15px;
    margin-left: 5px;
    transition: background 0.3s ease;
}

.read-more-btn:hover {
    background: #333;
}

@media (max-width: 768px) {
    .bwbg-section-header {
        margin-bottom: 40px;
    }
    
    .bwbg-section-title {
        font-size: 36px !important;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }
    
    .bwbg-section-subtitle {
        font-size: 16px !important;
    }
    
    .bwbg-col { 
        flex: 1 1 100%; 
        margin-bottom: 30px;
    }
    .bwbg-row {
        gap: 20px;
        margin-bottom: 20px;
    }
}

/* About Us Page Section 2 - Modern Board Members */

.board-section {
    padding: 80px 20px;
    background-color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.board-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px 40px;
}

.board-member {
    flex-basis: 50%;
    max-width: 50%;
    padding: 0 15px 40px;
}

.member-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.member-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.member-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    color: white;
    opacity: 0.8;
    font-family: Cairo, sans-serif;
    font-weight: 700;
}

.member-info {
    padding: 30px;
}

.member-name {
    font-family: Cairo, sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.member-title {
    font-size: 16px;
    font-weight: 600;
    color: #2a5298;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-bio {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
}

.member-bio p {
    margin-bottom: 15px;
}

.member-bio p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .board-section {
        padding: 60px 20px;
    }
    
    .member-info {
        padding: 25px;
    }
    
    .member-name {
        font-size: 22px;
    }
    
    .member-title {
        font-size: 15px;
    }
    
    .member-bio {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .board-section {
        padding: 50px 20px;
    }
    
    .board-member {
        flex-basis: 100%;
        max-width: 100%;
        padding: 0 0 30px;
    }
    
    .board-row {
        margin-bottom: 30px;
    }
    
    .member-info {
        padding: 20px;
    }
    
    .member-name {
        font-size: 20px;
    }
    
    .member-title {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .member-bio {
        font-size: 14px;
    }
    
    .member-placeholder {
        font-size: 60px;
    }
}

@media (max-width: 480px) {
    .board-section {
        padding: 40px 15px;
    }
    
    .member-info {
        padding: 15px;
    }
    
    .member-name {
        font-size: 18px;
        letter-spacing: 0.5px;
    }
    
    .member-title {
        font-size: 13px;
    }
    
    .member-bio {
        font-size: 13px;
    }
    
    .member-placeholder {
        font-size: 50px;
    }
}
