/* ===================================
   BOARD PAGE STYLES
   =================================== */

/* Hero Section */
.board-hero {
    margin-top: 80px;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f4c81 0%, #2196F3 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0.5;
}

.hero-content-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 2rem;
}

.hero-text {
    color: white;
}

.eyebrow {
    display: inline-block;
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: #fbbf24;
    color: #0f4c81;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid #fbbf24;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: white;
    font-size: 1rem;
}

/* Board Overview */
.board-overview {
    padding: 4rem 2rem 2rem;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    color: #0f4c81;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Board Content */
.board-content {
    padding: 4rem 2rem;
    background: white;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.board-member-card {
    display: flex;
    flex-direction: column;
    background: white;
    border: 2px solid #f1f5f9;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 14cm;
}

.board-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0f4c81, #2196F3);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.board-member-card:hover {
    border-color: #0f4c81;
    box-shadow: 0 25px 50px rgba(15, 76, 129, 0.15);
    transform: translateY(-8px);
}

.board-member-card:hover::before {
    transform: scaleX(1);
}

/* Member Image */
.member-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 350px;
    background: linear-gradient(135deg, #0f4c81, #2196F3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.member-avatar-large {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 4px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    font-weight: 700;
    color: white;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.board-member-card:hover .member-avatar-large {
    transform: scale(1.1) rotate(5deg);
    background: rgba(251, 191, 36, 0.2);
    border-color: #fbbf24;
}

.member-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 76, 129, 0.95), transparent);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.board-member-card:hover .member-overlay {
    transform: translateY(0);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.social-links a:hover {
    background: #fbbf24;
    border-color: #fbbf24;
    transform: translateY(-3px);
}

/* Member Info */
.member-info {
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.member-name {
    color: #0f4c81;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.member-title {
    color: #64748b;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.member-department {
    display: inline-block;
    background: linear-gradient(135deg, #0f4c81, #2196F3);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-bio {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Expertise Section */
.member-expertise {
    margin-bottom: 1.5rem;
}

.expertise-label {
    display: block;
    color: #0f4c81;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #f1f5f9;
    color: #334155;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.board-member-card:hover .tag {
    background: rgba(251, 191, 36, 0.1);
    border-color: #fbbf24;
    color: #0f4c81;
}

/* Contact Footer */
.member-contacts {
    border-top: 1px solid #eee;
    padding: 14px 20px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    background: #fafafa;
}

.contact-item {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 6px;
    width: 45%;
    font-size: 0.85rem;
    color: #444;
    text-decoration: none;
    transition: all 0.3s;
}

.contact-item:hover {
    color: #0f4c81;
}

/* Board Responsibilities Section */
.board-responsibilities {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.responsibilities-content {
    max-width: 1200px;
    margin: 0 auto;
}

.responsibilities-header {
    text-align: center;
    margin-bottom: 4rem;
}

.responsibilities-header h2 {
    color: #0f4c81;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.responsibilities-header p {
    color: #64748b;
    font-size: 1.2rem;
}

.responsibilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.responsibility-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid #f1f5f9;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.responsibility-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0f4c81, #2196F3);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.responsibility-card:hover {
    border-color: #0f4c81;
    box-shadow: 0 20px 40px rgba(15, 76, 129, 0.1);
    transform: translateY(-5px);
}

.responsibility-card:hover::before {
    transform: scaleX(1);
}

.responsibility-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.responsibility-card h3 {
    color: #0f4c81;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.responsibility-card p {
    color: #475569;
    line-height: 1.7;
    font-size: 1rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.board-member-card {
    animation: fadeIn 0.6s ease-out backwards;
}

.board-member-card:nth-child(1) { animation-delay: 0.1s; }
.board-member-card:nth-child(2) { animation-delay: 0.2s; }
.board-member-card:nth-child(3) { animation-delay: 0.3s; }
.board-member-card:nth-child(4) { animation-delay: 0.4s; }

.responsibility-card {
    animation: fadeIn 0.6s ease-out backwards;
}

.responsibility-card:nth-child(1) { animation-delay: 0.1s; }
.responsibility-card:nth-child(2) { animation-delay: 0.2s; }
.responsibility-card:nth-child(3) { animation-delay: 0.3s; }
.responsibility-card:nth-child(4) { animation-delay: 0.4s; }

/* Dark Mode */
:root.dark .board-overview {
    background: #0f172a;
}

:root.dark .board-content {
    background: #1e293b;
}

:root.dark .section-title {
    color: #60a5fa;
}

:root.dark .section-subtitle {
    color: #cbd5e1;
}

:root.dark .board-member-card {
    background: #0f172a;
    border-color: #334155;
}

:root.dark .member-name {
    color: #60a5fa;
}

:root.dark .member-title {
    color: #cbd5e1;
}

:root.dark .member-bio {
    color: #cbd5e1;
}

:root.dark .expertise-label {
    color: #60a5fa;
}

:root.dark .tag {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

:root.dark .board-member-card:hover .tag {
    background: rgba(251, 191, 36, 0.2);
    border-color: #fbbf24;
    color: #fbbf24;
}

:root.dark .member-contacts {
    background: #1e293b;
    border-top-color: #334155;
}

:root.dark .contact-item {
    color: #cbd5e1;
}

:root.dark .contact-item:hover {
    color: #60a5fa;
}

:root.dark .board-responsibilities {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

:root.dark .responsibilities-header h2 {
    color: #60a5fa;
}

:root.dark .responsibilities-header p {
    color: #cbd5e1;
}

:root.dark .responsibility-card {
    background: #0f172a;
    border-color: #334155;
}

:root.dark .responsibility-card h3 {
    color: #60a5fa;
}

:root.dark .responsibility-card p {
    color: #cbd5e1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content-wrapper {
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .board-grid {
        gap: 2.5rem;
    }

    .member-avatar-large {
        width: 180px;
        height: 180px;
        font-size: 4.5rem;
    }

    .responsibilities-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .board-hero {
        margin-top: 70px;
        min-height: auto;
    }

    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 1.5rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .board-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .member-avatar-large {
        width: 160px;
        height: 160px;
        font-size: 4rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .responsibilities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .responsibilities-header h2 {
        font-size: 2rem;
    }

    .responsibility-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .member-avatar-large {
        width: 140px;
        height: 140px;
        font-size: 3.5rem;
    }

    .member-image-wrapper {
        height: 300px;
    }

    .member-name {
        font-size: 1.35rem;
    }

    .member-bio {
        font-size: 0.9rem;
    }

    .expertise-tags {
        gap: 0.4rem;
    }

    .tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .responsibilities-header h2 {
        font-size: 1.75rem;
    }

    .responsibilities-header p {
        font-size: 1rem;
    }

    .responsibility-icon {
        font-size: 3rem;
    }

    .responsibility-card h3 {
        font-size: 1.3rem;
    }

    .responsibility-card p {
        font-size: 0.95rem;
    }
}

/* Print Styles */
@media print {
    .board-hero,
    .hero-cta,
    .social-links {
        display: none;
    }

    .board-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .board-member-card {
        page-break-inside: avoid;
        border: 1px solid #ddd;
        box-shadow: none;
    }

    .member-image-wrapper {
        height: 200px;
    }

    .member-avatar-large {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .member-overlay {
        display: none;
    }

    .member-info {
        padding: 1.5rem;
    }

    .responsibilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .responsibility-card {
        page-break-inside: avoid;
    }
}