/* ===== OUR BOARD SECTION ===== */
.our-board-section {
    position: relative;
    padding: 50px 0 0px;
    background: #fff;
    overflow: hidden;
}

/* Section heading */
.board-heading {
    text-align: center;
    font-weight: 700;
    color: #00918A;
    /* letter-spacing: 2px; */
    font-size: 30px;
    /* margin-bottom: 60px; */
    margin-top:5rem;
    text-transform: none;
}

/* Decorative circle (top-left) */
.deco-circle {
    position: absolute;
    top: 140px;
    left: -90px;
    width: 9rem;
    height: 9rem;
    box-shadow: 0 0 7px 0 #B3C2E8;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

/* Decorative rectangle (right side, golden) */
.deco-rectangle {
    position: absolute;
    top: 220px;
    right: 0;
    width: 55px;
    height: 260px;
    background: linear-gradient(180deg, #d4a23a 0%, #b8861f 100%);
    z-index: 1;
    pointer-events: none;
}

/* Decorative half-circle - right semicircle attached to image right edge */
.deco-circle-right {
    position: absolute;
    top: 50%;
    right: -40px;
    transform: translateY(-50%);
    width: 56px;
    height: 111px;      /* full height = diameter */
    box-shadow: 0 0 7px 0 #B3C2E8;
    border-left: none;    /* hide left side to create half-circle */
    background: white;
    border-top-right-radius: 80px;
    border-bottom-right-radius: 80px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    z-index: 0;
    pointer-events: none;
}

/* Decorative rotated square at bottom-right of section */
.deco-square-br {
    position: absolute;
    bottom:100px;
    right: -170px;
    width: 15rem;
    height: 15rem;
    box-shadow: 0 0 19px -1px #B3C2E8;
    transform: rotate(45deg);
    border-radius: 12px;
    z-index: 0;
    pointer-events: none;
    background: transparent;
}

/* (legacy class kept harmless in case used elsewhere) */
.deco-arrow { display: none; }

/* Small dots pattern - using graphic1.png */
.deco-dots {
    position: absolute;
    top: 80%;
    left: 51%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 90px;
    background-image: url('/images/about-us/graphic1.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    z-index: 1;
    opacity: 1;
    pointer-events: none;
}

/* Chairman content wrapper */
.board-member {
    position: relative;
    z-index: 2;
}

/* Image styling */
.board-member-img-wrap {
    position: relative;
    z-index: 2;
}

.board-member-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Text content */
.board-member-content {
    padding-left: 30px;
}

/* Make sure text column sits above the half-circle decoration */
.our-board-section .row > .col-12:last-child {
    position: relative;
    z-index: 5;
}

.board-member-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #00918A;
    font-size: 35px;
    margin-bottom: 0px;
}

.board-member-role {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color:rgb(119 119 119/var(--tw-text-opacity,1));
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 3px;
}

/* Green underline */
.board-member-divider,
.board-divider {
    width: 20rem;
    height: 4.5px;
    background: #F05165;
    border: none;
    border-radius:8px;
    margin: 0 0 12px 0;
    opacity: 1;
}

.board-member-content p,
.board-text p {
    color: rgb(119, 119, 119);
    font-size: 15px;
    margin-bottom: 9px;
    text-align: justify;
}

.board-member-content p strong,
.board-text p strong,
.board-text .fw-semibold {
    color: #777777;
    font-weight: 600;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    .our-board-section {
        padding: 60px 0 0px;
    }

    .board-heading {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }

    .board-member-content {
        padding-left: 0;
        margin-top: 35px;
    }

    .board-member-img {
        margin: 0 auto;
    }

    .board-member-name {
        font-size: 1.8rem;
        text-align: start;
    }

    .board-member-role {
        text-align: start;
    }
    .board-divider {
        width: 15rem;
    }

    .deco-circle {
        width: 150px;
        height: 150px;
        top: 80px;
        left: -75px;
    }

    .deco-rectangle {
        width: 35px;
        height: 180px;
        top: 140px;
    }

    .deco-arrow {
        display: none;
    }

    .deco-circle-right {
        display: none;
    }

    .deco-square-br {
        width: 150px;
        height: 150px;
        right: -90px;
        bottom: 40px;
    }

    .deco-dots {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .board-heading {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    .board-member-name {
        font-size: 1.5rem;
    }

    .board-member-content p {
        font-size: 0.92rem;
        text-align: left;
    }

    .deco-circle {
        width: 110px;
        height: 110px;
        top: 60px;
        left: -55px;
    }

    .deco-rectangle {
        width: 25px;
        height: 130px;
    }

    .deco-square-br {
        width: 110px;
        height: 110px;
        right: -65px;
        bottom: 140px;
    }
}

/* ============================================ */
/* ===== BOARD MEMBERS ACCORDION SECTION ===== */
/* ============================================ */
.board-members-section {
    position: relative;
    padding:10px 80px 30px 100px;
    background: #fff;
    overflow: hidden;
}

/* Section heading */
.board-members-heading {
    text-align: center;
    font-weight: 700;
    color: #00918A;
    /* letter-spacing: 2px; */
    font-size: 30px;
    margin-bottom: 0px;
    text-transform: uppercase;
}

/* ===== Decorative shapes ===== */

/* Half rotated square sticking from the left edge */
.bm-deco-square {
    position: absolute;
    top: 180px;
    left: -170px;
    width: 13rem;
    height: 13rem;
    box-shadow:0 0 19px -1px #B3C2E8;
    transform: rotate(45deg);
    border-radius: 12px;
    background: transparent;
    z-index: 0;
    pointer-events: none;
}

/* Dots pattern (graphic1.png) on the right side */
.bm-deco-dots {
    position: absolute;
    top: 54%;
    right: -35px;
    transform: translateY(-50%);
    width: 140px;
    height: 300px;
    background-image: url('/images/about-us/graphic1.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    z-index: 0;
    pointer-events: none;
}

/* Half circle (blue) on the far right edge */
.bm-deco-halfcircle {
    position: absolute;
    top: 35%;
    right: -14px;
    transform: translateY(-50%);
    width: 56px;
    height: 110px;
    background: #00918A;
    border-top-left-radius: 110px;
    border-bottom-left-radius: 110px;
    z-index: 0;
    pointer-events: none;
}

/* ===== Member Card ===== */
.board-members-section .container {
    position: relative;
    z-index: 2;
}

.bm-card-wrap {
    padding-top: 60px;  /* space for avatar that pokes out the top */
    padding-bottom: 20px;
    position: relative;
}

.bm-card {
    background: #fff;
    border: 1px solid rgb(232 239 254);
    border-radius: 10px;
    padding: 70px 30px 28px;
    text-align: center;
    position: relative;
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    transition: box-shadow 0.25s ease;
}

.bm-card:hover {
    --tw-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

/* Circular avatar - sits at top center, overlapping the card */
.bm-avatar {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    /* border: 4px solid rgb(26, 77, 136); */
    overflow: hidden;
    background: #fff;
    z-index: 3;
}

.bm-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bm-name {
    font-weight: 700;
    color: #F05165;
    font-size: 20px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.bm-role {
    font-weight: 600;
    color: rgb(119 119 119);
    font-size: 15px;
    letter-spacing: 0px;
    margin-bottom: 0;
    text-transform: uppercase;
}

/* Plus / toggle button at top-right corner of card */
.bm-toggle {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    border: 1.5px solid #00918A;
    background: transparent;
    color: #00918A;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: all 0.25s ease;
    z-index: 4;
}

.bm-toggle:hover {
    background: #00918A;
    color: #fff;
}

/* Hide the FA icon - we'll render the symbol via pseudo-element instead */
.bm-toggle i {
    display: none;
}

/* Show "+" when collapsed (default) */
.bm-toggle::before {
    content: "+";
    font-size: 22px;
    line-height: 1;
    font-weight: 600;
}

/* Show "−" (minus) when expanded */
.bm-toggle[aria-expanded="true"]::before {
    content: "−";
    font-size: 22px;
    line-height: 1;
    font-weight: 600;
}

/* Collapsible content */
.bm-content {
    text-align: left;
    margin-top: 18px;
    padding-top: 18px;
    color: rgb(119, 119, 119);
    font-size: 0.92rem;
}

.bm-content p {
    margin-bottom: 12px;
}

.bm-content p:last-child {
    margin-bottom: 0;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    .board-members-section {
        padding: 20px 0 0px;
    }

    .board-members-heading {
        font-size: 1.6rem;
        margin-bottom: 0px;
    }

    .bm-deco-square {
        width: 150px;
        height: 150px;
        left: -85px;
        top: 20px;
    }

    .bm-deco-dots {
        right: 20px;
        width: 140px;
        height: 300px;
    }

    .bm-deco-halfcircle {
        width: 40px;
        height: 80px;
        right: 0px;
    }
}

@media (max-width: 575.98px) {
    .board-members-heading {
        font-size: 1.3rem;
        margin-bottom: 0px;
    }

    .bm-card {
        padding: 60px 20px 22px;
    }

    .bm-avatar {
        width: 85px;
        height: 85px;
        top: -42px;
    }

    .bm-name {
        font-size: 0.95rem;
    }

    .bm-role {
        font-size: 0.72rem;
    }

    .bm-deco-square {
        width: 110px;
        height: 110px;
        left: -65px;
        top: 15px;
    }

    .bm-deco-dots {
        display: block;
        right: -45px;
        width: 140px;
        height: 250px;
    }

    .bm-deco-halfcircle {
        width: 30px;
        height: 60px;
        right: 0px;
    }
}

/* ============================================ */
/* ===== OUR SCIENCE, YOUR FUTURE BANNER ===== */
/* ============================================ */
.science-future-section {
    position: relative;
    background: #fff;
    padding: 0px 0 40px 0px;
    overflow: hidden;
    text-align: center;
}

.science-future-text {
    font-weight: 800;
    color: #e5e7eb;          /* light gray, matches screenshot */
    font-size: clamp(1rem, 6vw, 5.3rem);
    letter-spacing: 1px;
    line-height: 1.05;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}
/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    .science-future-section {
        padding: 20px 0 40px 0;
    }
}

@media (max-width: 767.98px) {
    .science-future-section {
        padding: 30px 0 30px 0;
    }
}

@media (max-width: 575.98px) {
    .science-future-section {
        padding: 20px 0 40px 0;
    }
}
