/* media query at min width 991px */

@media screen and (min-width: 991px) {
    .sticky {
        animation: smoothScroll 0.7s forwards;
    }

    @keyframes smoothScroll {
        0% {
            transform: translateY(-40px);
        }

        100% {
            transform: translateY(0px);
        }
    }
    .link-active,
    .nav-item > .nav-link:hover {
        background: var(--bg-color);
        color: #fff;
        border-radius: 10px;
    }

    .link-active > a {
        color: #fff !important;
    }

    .dropdown > .dropdown-menu {
        display: block;
        visibility: hidden;
        opacity: 0;
        transform-origin: 0 0 0;
        -webkit-transform-origin: 0 0 0;
        -moz-transform-origin: 0 0 0;
        transform: perspective(600px) rotateX(-90deg);
        -webkit-transform: perspective(600px) rotateX(-90deg);
        -moz-transform: perspective(600px) rotateX(-90deg);
        transition: all 0.3s ease-in-out;
    }

    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform-origin: 0 0 0;
        -webkit-transform-origin: 0 0 0;
        -moz-transform-origin: 0 0 0;
        transform: perspective(600px) rotateX(0deg);
        -webkit-transform: perspective(600px) rotateX(0);
        -moz-transform: perspective(600px) rotateX(0);
    }
}

/* media query for max-width 991px */

@media screen and (max-width: 991px) {
    .donate-now-btn {
        width: 100%; /* Full width button on mobile */
        margin-top: 20px;
        padding: 15px !important;
    }
    .nav-item .nav-link {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 0.2px solid rgba(128, 128, 128, 0.576);
    }

    .dropdown-toggle::after {
        display: none;
    }

    .nav-item.dropdown > .nav-link {
        position: relative;
    }

    .nav-item.dropdown > .nav-link::before {
        position: absolute;
        content: "\2b";
        font-family: "fontAwesome";
        top: 50%;
        right: 0.7rem;
        transform: translateY(-50%);
        color: #000;
    }

    .nav-item.dropdown > .nav-link.show::before {
        content: "\f068";
    }

    .promo-section {
        margin-top: 0px;
        padding-top: 3rem;
        padding-bottom: 1.5rem;
    }

    .marquee {
        padding-top: 0.5px;
    }
}

/* media query at 768px */

@media screen and (max-width: 768px) {
    .promo-section {
        padding-left: 5%;
        padding-right: 5%;
    }
}

/* media query at max-width 550px */

@media screen and (max-width: 550px) {
    .header-content.right-top-header {
        display: none;
    }

    .left-top-header > ul > li {
        font-size: 3vw;
    }
}
