@charset "UTF-8";

/* 메인페이지 */
.main h2 {
    text-transform: uppercase;
    margin-bottom: 1.125rem;
}

.highlights .descktop {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    height: 700px;

}

.highlights .descktop li {
    width: 33.333%;
    border-radius: 12px;
    overflow: hidden;
    transition: width 0.8s;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.highlights .descktop li h3,
.highlights .descktop li .contents {
    opacity: 0;
    transition: opacity 0.3s;
}

.highlights .descktop li:hover h3,
.highlights .descktop li:hover .contents {
    opacity: 1;
}

.highlights .descktop li:hover .contents {
    transition-delay: 0.5s;
}

.highlights .descktop li h3 {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    color: #fff;
    z-index: 1;
    opacity: 1;
}

.highlights .descktop li .contents {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.highlights .descktop li:hover {
    width: 90%;
}

.highlights .descktop:has(li:hover) li:not(:hover) {
    width: 5%;
}

.highlights .descktop:has(li:hover) li h3 {
    opacity: 0;
}

.highlights .descktop li:hover h3 {
    opacity: 1 !important;
}

.highlights .list {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.highlights .list li:nth-child(1) {
    background-image: url("../img/hightlist_1.png");
}

.highlights .list li:nth-child(2) {

    background-image: url("../img/hightlist_2.png");
}

.highlights .list li:nth-child(3) {

    background-image: url("../img/hightlist_3.png");
}

.item-img {
    border-radius: 12px;
    overflow: hidden;
}

.highlights .card {
    max-width: 280px;
    border-radius: 20px !important;
}

.item-img img {
    width: 100% !important;
}

.mobile-list {
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlights .list .mobile-item:nth-child(1) {
    background-image: url("../img/hightlist_1.png");
}

.highlights .list .mobile-item:nth-child(2) {

    background-image: url("../img/hightlist_2.png");
}

.highlights .list .mobile-item:nth-child(3) {

    background-image: url("../img/hightlist_3.png");
}

.mobile-list .mobile-item {
    display: inline-block;
    width: 100%;
    height: 33.3333vh;
    position: relative;
    background-position: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mobile-list .mobile-item h2 {
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;

}

/* 기부(후원) 페이지 하단 배너 배경 스타일 */
.donate .donate-bg-banner {
    background-image: url("../img/donate_bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 600px;

    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.donate .item {
    min-height: 240px;
}

@media (max-width: 991px) {
    .donate .donate-bg-banner {
        min-height: 300px;
        background-attachment: scroll !important;
    }

}

.company .item {
    padding-bottom: 7rem;
}

.company .business {
    background-color: #F5F5F5;
}

.company .business-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.company .card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.company .card-img-top {
    width: 50%;
}

.company .card-text {
    margin: 1rem 0;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 500;
}

.company .last-section {
    padding: 5rem 0;
    background-color: #FAFAFA;
}

@media (max-width: 767px) {
    .donate .donate-bg-banner {
        min-height: 300px;
        background-attachment: scroll !important;
    }

    .donate .item {
        min-height: 150px;
    }

    .company .item {
        padding-bottom: 3.5rem;
    }

    .company .value-img {
        width: 100%;
    }

    .company .business-item {
        height: auto;

        flex-direction: row;
        justify-content: start;
        align-items: center;

    }

    .company .business-item img {
        width: 25%;
    }

    .company .business-wrap {
        width: 100%;
    }

}

.greetings-main-img-wrap {

    max-width: 100%;

    height: 600px;
    overflow: hidden;
    display: block;
}

.greetings-main-img-wrap img {

    object-fit: cover;
    width: 100%;

}

@media (max-width: 767px) {
    .greetings-main-img {
        max-width: 100%;
        max-height: auto;
    }
}

@media (max-width: 991px) {
    #organization-chart img {
        width: 100%;
    }
}

/* 탭 하위 메뉴 트랜지션 효과 */

.tab-pane.active.tab-transition,
.tab-pane.show.tab-transition {
    opacity: 1;
    transform: translateY(0);
}

.submenu-list li {
    transition: color 0.2s, background 0.2s, padding-left 0.3s;
    cursor: pointer;
}

.submenu-list li:hover {
    color: var(--bs-primary);
    background: #f5faff;
    padding-left: 1rem;
}

/* 조직 구성원 Figma 스타일 */
.organization-member-wrap {
    width: 100%;
    max-width: 950px;
}

.org-block {
    background: none;
}

.org-block-header {
    background: #afdeff !important;
    cursor: pointer;

    box-shadow: 0 2px 8px rgba(175, 222, 255, 0.08);
    transition: background 0.2s;
}

.org-block-header:hover {
    background: #8fd0ff !important;
}

.org-block-title {

    font-weight: 600;
    color: #222;
}

.org-block-icon {
    width: 32px;
    height: 32px;


    display: flex;
    align-items: center;
    justify-content: center;
}

.org-block-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;

    transition: all 0.5s;

    pointer-events: none;
}

.org-block-body.show {
    max-height: 500px;
    opacity: 1;


    pointer-events: auto;
}

.org-block-header .bi {
    transition: transform 0.3s;
}

.org-block-header.active .bi {
    transform: rotate(180deg);
}

.org-member-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    padding: 1.2rem 0.5rem;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 500;
    color: #222;
    transition: box-shadow 0.2s;
}

.org-member-card:hover {
    box-shadow: 0 4px 16px rgba(175, 222, 255, 0.18);
}

@media (max-width: 767px) {
    .organization-member-wrap {
        max-width: 100%;
    }

    .org-block-header,
    .org-block-body {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    .org-member-card {
        font-size: 0.95rem;
        padding: 0.8rem 0.2rem;
    }
}