/* Board Members Section */
.board-members-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Header Styles */
.board-members-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.board-members-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.meet-us-button {
    background-color: #f3f3f3;
    color: #333;
    padding: 10px 20px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.meet-us-button:hover {
    background-color: #e9e9e9;
}

/* Description Styles */
.board-members-description {
    margin-bottom: 40px;
    max-width: 1000px;
}

.board-members-description p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

/* Carousel Container */
.board-members-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Main Carousel */
.board-members-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Carousel Track */
.board-members-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

/* Slide Styles */
.board-member-slide {
    flex: 0 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
}

/* Board Member Card */
.board-member-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/*
.board-member-card:hover {
}*/

/* Board Member Image */
.board-member-image {
    position: relative;
    height: 0;
    padding-bottom: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

.board-member-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    min-height: 280px;
}

.board-member-image:hover .board-member-social{
    opacity: 1;
}
.board-member-card:hover .board-member-image img {
    transform: scale(1.05);
}

/* Board Member Info */
.board-member-info {
    padding: 20px 0;
    flex-grow: 1;
}

.board-member-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 5px;
    color: #000;
}
.board-member-info * {
    padding: 0;
}

.board-member-country {
    font-size: 14px;
    color: #555;
    margin: 0 0 5px;
    font-weight: 500;
}

.board-member-company {
    font-size: 14px;
    color: #777;
    margin: 0;
    font-weight: 400;
}

/* Social Links */
.board-member-social {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0;
}

.board-member-social a {
    width: 36px;
    height: 36px;
    border-radius: 100px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid black;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    color: black;
    font-size: 16px;
    font-weight: 700;    
}

.board-member-social a:hover {
    transform: scale(1.1);
}

.board-member-social svg {
    width: 16px;
    height: 16px;
}

/* Social icon colors */
.board-member-social  svg {
    fill: #333;
    filter: invert(1);
}
.social-link {

    background-color: black!important;
}

.board-member-social .more-info-link svg {
    fill: none;
    stroke: #333;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Navigation Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 100px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    z-index: 10;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}
.carousel-control:hover {
    background-color: #000;
}

.carousel-control:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.prev-control {
    left: -40px;
}

.next-control {
    right: -40px;
}

.controls {
    position: relative;
}

/* Pagination */
.carousel-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: none; /* Hide by default */
}

.pagination-dot:hover {
    background-color: #bbb;
}

.pagination-dot.active {
    background-color: #333;
    transform: scale(1.2);
}

/* Modal Styles */
.board-member-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10020;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.board-member-modal.show {
    opacity: 1;
    visibility: visible;
}

.board-member-modal-container {
    width: 90%;
    max-width: 800px;
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.board-member-modal.show .board-member-modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #f3f3f3;
    border: none;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 2;
}

.modal-close:hover {
    background-color: #e0e0e0;
}

.modal-content {
    display: flex;
    gap: 30px;
}

@media (max-width: 768px) {
    .modal-content {
        flex-direction: column;
    }
}

.modal-left {
    flex: 0 0 40%;
    max-width: 300px;
}

.modal-image {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.modal-right {
    flex: 1;
}

.modal-name {
    font-size: 28px;
    margin: 0 0 5px;
    color: #000;
    font-weight: 700;
}

.modal-position {
    font-size: 16px;
    color: #444;
    margin-bottom: 20px;
    font-weight: 500;
}

.modal-description {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

.modal-description p {
    margin-bottom: 15px;
}

.modal-social-links {
    display: flex;
    gap: 10px;
}

.modal-social-links .board-member-social {
    position: static;
    opacity: 1;
    display: flex;
    margin-top: 15px;
}

@media only screen and (max-width: 980px) {
    .header_navigation_menu #menu-navigation-menu {
        display: none !important;
    }
}