/**
 * Board of Directors Page Styles
 * Primary: #19868b | Secondary: #e1273d | Dark: #0d6b6f
 */

/* ===========================================
   Hero Section
   =========================================== */
.board-hero-section {
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.board-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.board-hero-gradient {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.board-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.board-hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.board-hero-section .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.board-hero-section .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.board-hero-section .breadcrumb-item a:hover {
    color: #ffffff;
}

.board-hero-section .breadcrumb-item.active {
    color: #ffffff;
}

.board-hero-section .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

.board-hero-title {
    font-size: 52px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.board-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===========================================
   Section Header
   =========================================== */
.board-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #e1273d 0%, #c41f34 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 30px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(225, 39, 61, 0.3);
}

.board-section-badge i {
    font-size: 12px;
}

.board-section-title {
    font-size: 42px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.board-section-subtitle {
    font-size: 17px;
    color: #64748b;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===========================================
   Board Members List
   =========================================== */
.board-list-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.board-members-list {
    max-width: 1100px;
    margin: 0 auto;
}

.board-member-row {
    margin-bottom: 80px;
}

.board-member-row:last-child {
    margin-bottom: 0;
}

.board-member-card {
    display: flex;
    align-items: stretch;
    gap: 60px;
    background: #ffffff;
    border-radius: 24px;
    overflow: visible;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: relative;
}

.board-member-row.row-reverse .board-member-card {
    flex-direction: row-reverse;
}

/* Image Side */
.board-member-visual {
    flex: 0 0 340px;
    position: relative;
}

.board-image-container {
    position: relative;
    padding: 20px;
}

.board-frame-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(25, 134, 139, 0.1) 0%, rgba(13, 107, 111, 0.05) 100%);
    border-radius: 20px;
    transform: rotate(-3deg);
    z-index: 0;
}

.board-frame-border {
    position: absolute;
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid #19868b;
    border-radius: 20px;
    opacity: 0.3;
    z-index: 1;
}

[dir="rtl"] .board-frame-border {
    left: -10px;
    right: 10px;
}

.board-image-wrapper {
    position: relative;
    z-index: 2;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.board-member-image {
    width: 308px;
    height: 375px;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.board-member-card:hover .board-member-image {
    transform: scale(1.03);
}

.board-image-placeholder {
    width: 308px;
    height: 375px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.board-image-placeholder i {
    font-size: 80px;
    color: #94a3b8;
}

.board-member-badge {
    position: absolute;
    top: 35px;
    left: 35px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #e1273d 0%, #c41f34 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(225, 39, 61, 0.4);
    z-index: 10;
}

.board-member-badge i {
    font-size: 10px;
}

[dir="rtl"] .board-member-badge {
    left: auto;
    right: 35px;
}

.board-member-number {
    position: absolute;
    bottom: 30px;
    right: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #19868b 0%, #0d6b6f 100%);
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(25, 134, 139, 0.4);
    z-index: 10;
}

[dir="rtl"] .board-member-number {
    right: auto;
    left: 0;
}

/* Content Side */
.board-member-content {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 40px 40px 40px 0;
}

.board-member-row.row-reverse .board-member-content {
    padding: 40px 0 40px 40px;
}

.board-content-inner {
    width: 100%;
}

.board-rank-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #19868b 0%, #0d6b6f 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(25, 134, 139, 0.3);
}

.board-member-name {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 10px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.board-member-title {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 25px;
    font-weight: 500;
}

.board-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #19868b 0%, #0d6b6f 100%);
    border-radius: 4px;
    margin-bottom: 25px;
}

.board-member-bio {
    margin-bottom: 30px;
}

.board-member-bio p {
    font-size: 15px;
    line-height: 1.8;
    color: #5a5a5a;
    margin: 0;
}

.board-member-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.board-contact-links {
    display: flex;
    gap: 12px;
}

.board-contact-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(25, 134, 139, 0.1) 0%, rgba(13, 107, 111, 0.15) 100%);
    border-radius: 50%;
    color: #19868b;
    font-size: 18px;
    transition: all 0.3s ease;
}

.board-contact-btn:hover {
    background: linear-gradient(135deg, #19868b 0%, #0d6b6f 100%);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(25, 134, 139, 0.3);
    text-decoration: none;
}

.board-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #19868b 0%, #0d6b6f 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(25, 134, 139, 0.3);
}

.board-view-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(25, 134, 139, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.board-view-btn i {
    transition: transform 0.3s ease;
}

.board-view-btn:hover i {
    transform: translateX(5px);
}

[dir="rtl"] .board-view-btn:hover i {
    transform: translateX(-5px);
}

/* ===========================================
   Empty State
   =========================================== */
.board-empty-section {
    background: #f8fafc;
}

.empty-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(25, 134, 139, 0.1) 0%, rgba(13, 107, 111, 0.15) 100%);
    border-radius: 50%;
    margin: 0 auto;
}

.empty-icon i {
    font-size: 50px;
    color: #19868b;
}

.empty-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.empty-text {
    font-size: 16px;
    color: #64748b;
}

/* ===========================================
   CTA Section
   =========================================== */
.board-cta-section {
    background: #ffffff;
}

.board-cta-wrapper {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 24px;
    padding: 50px 60px;
    position: relative;
    overflow: hidden;
}

.board-cta-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(25, 134, 139, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.board-cta-wrapper::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(225, 39, 61, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.cta-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #19868b 0%, #0d6b6f 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(25, 134, 139, 0.4);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(25, 134, 139, 0.5);
    color: #ffffff;
    text-decoration: none;
}

/* ===========================================
   Animation Classes
   =========================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================================
   Responsive Styles
   =========================================== */
@media (max-width: 991px) {
    .board-hero-title {
        font-size: 40px;
    }
    
    .board-section-title {
        font-size: 34px;
    }
    
    .board-member-card {
        flex-direction: column !important;
        gap: 0;
    }
    
    .board-member-visual {
        flex: none;
        width: 100%;
    }
    
    .board-image-container {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .board-member-content {
        padding: 30px !important;
        text-align: center;
    }
    
    .board-divider {
        margin: 0 auto 25px;
    }
    
    .board-member-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .board-contact-links {
        justify-content: center;
    }
    
    .board-cta-wrapper {
        padding: 40px 30px;
        text-align: center;
    }
    
    .text-lg-right {
        text-align: center !important;
    }
}

@media (max-width: 767px) {
    .board-hero-section {
        min-height: 320px;
    }
    
    .board-hero-content {
        padding: 60px 0;
    }
    
    .board-hero-title {
        font-size: 32px;
    }
    
    .board-hero-subtitle {
        font-size: 16px;
    }
    
    .board-section-title {
        font-size: 28px;
    }
    
    .board-member-row {
        margin-bottom: 50px;
    }
    
    .board-member-image,
    .board-image-placeholder {
        width: 100%;
        height: auto;
        aspect-ratio: 308 / 375;
    }
    
    .board-member-badge {
        top: 25px;
        left: 25px;
        padding: 8px 14px;
        font-size: 10px;
    }
    
    .board-member-number {
        width: 50px;
        height: 50px;
        font-size: 18px;
        bottom: 20px;
    }
    
    .board-member-name {
        font-size: 26px;
    }
    
    .board-member-title {
        font-size: 16px;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .btn-cta {
        padding: 14px 28px;
        font-size: 15px;
    }
}

/* ===========================================
   RTL Support
   =========================================== */
[dir="rtl"] .board-frame-accent {
    transform: rotate(3deg);
}

[dir="rtl"] .board-divider {
    background: linear-gradient(-90deg, #19868b 0%, #0d6b6f 100%);
}

[dir="rtl"] .text-lg-right {
    text-align: left !important;
}

@media (max-width: 991px) {
    [dir="rtl"] .text-lg-right {
        text-align: center !important;
    }
}

