/*
Theme Name: GTEAN Nepal
Theme URI: https://www.gteannepal.org/
Author: Dharma Raj Gurung
Author URI: https://www.linkedin.com/in/grgdharma07/
Description: Custom WordPress theme for Gurung Tourism Entrepreneurs' Association, Nepal (GTEAN). Features a modern, responsive design with Bootstrap 5, hero carousel, events, news, gallery, and membership sections.
Version: 1.0.0
*/
.g-recaptcha {
    margin-bottom: 15px;
}
.floating-menu {
    top: 350px;
    width: 66px;
    z-index: 1000;
    position: fixed;
    right: 0px;
}
.floating-menu ul {
    padding: 0;
    margin: 0;
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
}
.floating-menu ul li {
    margin: 6px 6px 6px 10px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.15);
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
    border: 1px solid #fff;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
/* .floating-menu ul li:hover {
    -webkit-transform: translate(-80px, 0);
    -moz-transform: translate(-80px,0);
    -ms-transform: translate(-80px,0);
    -o-transform: translate(-80px,0);
    transform: translate(-80px, 0);
    background: #93130c;
} */
.floating-menu a {
    color: #fff !important;
    text-decoration: none;
    font-size: 20px;
    line-height: 1;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}
.floating-menu ul li:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    transform: scale(1.12);
    box-shadow: 0 5px 16px rgba(0,0,0,0.5), 0 0 0 3px rgba(1,110,173,0.45);
    border-color: rgba(255,255,255,0.7);
}
.floating-menu .divider.notice {
    cursor: pointer;
}
.notice.new_notice {
    position: relative;
}
.notice.new_notice:before {
    content: "NEW";
    position: absolute;
    left: -3px;
    bottom: 28px;
    font-size: 8px;
    transform: translateX(-50%);
    background: #ad373c;
    color: #fff;
    padding: 0 3px;
}
.float-menu ul li:after {
    background-color: rgb(235, 233, 229);
    content: "";
    position: absolute;
}
.floating-menu .divider.notice img {
    animation: ring 5s 0.1s ease-in-out infinite;
    -webkit-animation: ring 5s 0.1s ease-in-out infinite;
    -webkit-transform-origin: 50% 4px;
    -moz-animation: ring 5s 0.1s ease-in-out infinite;
    -moz-transform-origin: 50% 4px;
    animation: ring 5s 0.1s ease-in-out infinite;
    transform-origin: 50% 4px;
}
.popup-notice .overlay.active .popup {
    visibility: visible;
    right: 38px;
    transition: all 1000ms;
    z-index: 9;
}
.popup-notice .popup {
    width: 350px;
    position: fixed;
    right: -52em;
    top: 45%;
    visibility: hidden;
    transition: all 1000ms;
}
.popup-notice .popup .close {
    padding: 1px 2px;
    position: absolute;
    top: 0px;
    left: -24px;
    font-size: 18px;
    font-weight: normal;
    text-decoration: none;
    color: #fff;
    opacity: 1;
    float: left;
    z-index: 999;
    background: #a52b31;
    text-shadow: unset;
}

#board-committee .leadership-grid {
        row-gap: 28px;
    }

    #board-committee .leader-item {
        display: flex;
    }

    #board-committee .team-card {
        width: 100%;
        border-radius: 14px;
        background: #ffffff;
        overflow: hidden;
        box-shadow: 0 10px 24px rgba(1, 110, 173, 0.08);
        border: 1px solid var(--border, #dee8e2);
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    #board-committee .team-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 16px 34px rgba(1, 110, 173, 0.18);
    }

    #board-committee .team-photo {
        width: 100%;
        aspect-ratio: 3 / 4;
        background: linear-gradient(135deg, #eef5f0 0%, #f6faf7 100%);
    }

    #board-committee .team-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    #board-committee .team-info {
        padding: 16px 14px 18px;
        text-align: center;
    }

    #board-committee .team-info h6 {
        margin: 0;
        font-size: 14px;
        font-weight: 700;
        color: var(--dark, #1a2332);
        line-height: 1.35;
    }

    #board-committee .team-info span {
        display: inline-block;
        margin-top: 8px;
        font-size: 12px;
        letter-spacing: 0.5px;
        font-weight: 700;
        color: var(--text-light, #666666);
        background: var(--bg-lighter, #eef5f0);
        padding: 6px 10px;
        border-radius: 999px;
    }

    #board-committee .team-contact {
        margin-top: 14px;
        text-align: left;
        border-top: 1px solid var(--border, #dee8e2);
        padding-top: 12px;
        display: grid;
        gap: 8px;
    }

    #board-committee .team-contact a,
    #board-committee .team-contact .contact-text {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        font-weight: 600;
        color: var(--text, #333333);
        text-decoration: none;
        line-height: 1.4;
        word-break: break-word;
    }

    #board-committee .team-contact a:hover {
        color: var(--primary, #016ead);
    }

    #board-committee .team-contact i {
        width: 22px;
        height: 22px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(1, 110, 173, 0.1);
        color: var(--primary, #016ead);
        flex-shrink: 0;
    }

    #board-committee .leader-empty {
        background: #ffffff;
        border: 1px solid var(--border, #dee8e2);
        border-radius: 12px;
        padding: 24px;
        max-width: 520px;
        margin: 0 auto;
        box-shadow: 0 8px 24px rgba(1, 110, 173, 0.06);
    }

    #board-committee .leader-empty p {
        margin: 0;
        color: var(--text-light, #666666);
        font-weight: 500;
    }

    #president-message {
            background: linear-gradient(180deg, var(--bg-light, #f8faf9) 0%, #ffffff 100%);
        }

        #president-message .message-wrap {
            background: #ffffff;
            border: 1px solid var(--border, #dee8e2);
            border-radius: 18px;
            padding: 34px;
            box-shadow: 0 16px 38px rgba(1, 110, 173, 0.08);
        }

        #president-message .president-profile {
            text-align: center;
        }

        #president-message .president-photo {
            width: 220px;
            height: 220px;
            margin: 0 auto;
            border-radius: 50%;
            overflow: hidden;
            border: 6px solid var(--bg-lighter, #eef5f0);
            box-shadow: 0 12px 30px rgba(1, 110, 173, 0.2);
            background: var(--bg-lighter, #eef5f0);
        }

        #president-message .president-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        #president-message .president-name {
            margin: 16px 0 6px;
            font-size: 24px;
            font-weight: 700;
            color: var(--dark, #1a2332);
        }

        #president-message .president-role {
            margin: 0;
            color: var(--text-light, #666666);
            font-size: 15px;
            font-weight: 600;
            letter-spacing: 0.4px;
        }

        #president-message .message-content {
            position: relative;
            color: var(--text, #333333);
            line-height: 1.8;
            font-size: 16px;
        }

        #president-message .message-content::before {
            content: "\201C";
            position: absolute;
            top: -24px;
            left: -8px;
            font-size: 72px;
            line-height: 1;
            color: rgba(1, 110, 173, 0.14);
            font-family: Georgia, "Times New Roman", serif;
        }

        #president-message .message-content p:last-child {
            margin-bottom: 0;
        }

        @media (max-width: 991px) {
            #president-message .message-wrap {
                padding: 26px 22px;
            }

            #president-message .president-photo {
                width: 190px;
                height: 190px;
            }

            #president-message .message-content::before {
                top: -18px;
                left: -4px;
                font-size: 56px;
            }
        }

@media (max-width: 767.98px) {
    /* Anchor within the banner/hero area near the top instead of lower
       down the page, where it used to overlap the stats bar content. */
    .floating-menu {
        top: 190px;
        bottom: auto;
        right: max(6px, env(safe-area-inset-right, 0px));
    }

    .floating-menu ul li {
        width: 44px;
        height: 44px;
        margin: 5px 5px 5px 8px;
    }
}