﻿body {
    /*font-family: Arial, sans-serif;*/
    background: linear-gradient(to bottom right, #ffffff, #f9f9f9 60%, rgba(132, 189, 0, 0.2) 80%, rgba(0, 194, 255, 0.2));
}
    #about-members > section, body > main > section {
        font-family: Arial, sans-serif;
    }
.sectionHeader {
    color: #0398C7;
    padding-bottom: 10px;
}

.carousel-container {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

.carousel, .carousel-inner, .carousel-item {
    height: 100%;
    width: 100%;
}

    .carousel-item img {
        object-fit: cover;
        height: 100%;
        width: 100%;
    }

.text-container {
    position: absolute;
    top: 50%;
    left: 2%;
    transform: translateY(-50%);
    margin: 10px;
    font-size: 2.3rem;
    color: white;
    z-index: 2;
    max-width: 40%;
    margin-left: 30px;
}

    .text-container::before {
        content: "";
        position: absolute;
        top: -10px;
        left: -10px;
        width: calc(100% + 40px);
        height: calc(100% + 60px);
        background: rgba(0, 0, 0, 0.7);
        z-index: -1;
    }

.second-section {
    /*margin-top: 90vh;*/
    padding-top: 5px;
    padding-bottom: 20px;
}

.section-title {
    color: #008BB2;
    font-weight: bold;
    margin-bottom: 30px;
}

.section-title-dark {
    color: #84BD00;
    font-weight: bold;
    margin-bottom: 30px;
}

.section-content {
    color: black;
}

.board-section {
    max-width: 1000px;
    width: 90%;
    margin: 20px auto;
}

.board-header {
    font-size: 24px;
    color: black;
    font-weight: bold;
}


.name {
    font-weight: bold;
    margin-top: 10px;
    color: #00C2FF;
}

.board-container {
    text-align: center;
    margin: auto;
}

    .board-container p {
        color: #666;
        font-size: 16px;
    }

h2 {
    font-size: 24px;
    color: #333;
}

.py-5 {
    padding-bottom: 0 !important;
}

.section-title {
    color: #008BB2;
    font-weight: bold;
}

.member-card {
    position: relative;
    text-align: start;
    padding: 15px;
}

    .member-card img {
        width: 100%;
        height: auto;
        transition: opacity 0.3s ease;
    }

    .member-card h3 {
        font-size: 18px;
        color: #00C2FF;
        margin-top: 10px;
        margin-bottom: 5px;
        text-align: center;
    }

    .member-card p {
        font-size: 14px;
        color: #666;
        line-height: 1.4;
    }

.btn-custom {
    background-color: #84BD00;
    color: white;
    margin-left: 0;
}

.hierarchy-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title {
    font-size: 2.2em;
    font-weight: bold;
    color: #84BD00;
    margin-bottom: 30px;
    text-align: center;
}

.level {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 50px 0;
}

.branches {
    display: flex;
    justify-content: center;
    gap: 60px;
    align-items: flex-start;
}

.entity {
    padding: 20px 30px;
    font-size: 1.2em;
    border: 2px solid #84BD00;
    border-radius: 8px;
    background-color: white;
    font-weight: bold;
    text-align: center;
    color: #333;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    transform: translateY(0);
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

    .entity:hover {
        background-color: #84BD00;
        color: white;
        transform: translateY(-8px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

.nested {
    margin-left: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-statement p{
    font-size: 20px;
    color: #333;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@media screen and (max-width: 768px) {
    .branches {
        gap: 1px;
    }

    .entity {
        padding: 20px 1px;
    }

    .text-container {
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 1.5rem;
        color: white;
        z-index: 2;
        width: 100%;
        margin-left: 0 !important;
        text-align: center;
    }

    .text-container::before {
        content: "";
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 85vw;
        height: calc(100% + 100px);
        background: rgba(0, 0, 0, 0.7);
    }
}
