///top-nav
.top-nav {
    top: 0;
    right: 0;
    left: 0;

    .nav-wrapper {
        padding: 1.125rem 0;

        .nav-left {
            @media (max-width: 576px) {
                margin: auto;
                width: 200px;
                margin-bottom: 25px;
                justify-content: center;

                .brand-logo {
                    img {
                        max-width: 79px;
                        text-align: center;
                    }
                }
            }

            ul {
                li {
                    a {
                        margin-right: 1.125rem;
                        position: relative;
                        transition: transform 0.3s ease-in-out;

                        &.active {
                            &::before {
                                content: "";
                                position: absolute;
                                width: 100%;
                                height: 4px;
                                border-radius: 4px;
                                background-color: $primary;
                                bottom: 0;
                                left: 0;
                                transform-origin: right;
                                transform: scaleX(0 1);
                                transition: transform 0.3s ease-in-out;
                                transform-origin: left;
                            }
                        }

                        &:hover {
                            &::before {
                                content: "";
                                position: absolute;
                                width: 100%;
                                height: 4px;
                                border-radius: 4px;
                                background-color: $primary;
                                bottom: 0;
                                left: 0;
                                transform-origin: right;
                                transform: scaleX(0 1);
                                transform-origin: left;
                            }
                        }
                    }
                }

                .apply-button {
                    display: none;
                }
            }

            .logo {
                img {
                    object-fit: contain;
                    height: 36px;
                    min-width: 88px;
                }
            }

            .navbar-nav {
                flex-direction: row;

                @media (max-width: 1024.98px) {
                    margin-right: unset !important;
                }

                li {
                    &:last-of-type {
                        a {
                            &.active {
                                color: rgba(0, 0, 0, 0.55);

                                &::before {
                                    display: none;
                                }
                            }
                        }
                    }

                    a {
                        @media (max-width: 1024.98px) {
                            margin-right: 1.25rem !important;
                        }
                    }
                }
            }
        }

        .nav-right {
            .top-right-nav {
                border-bottom: 1px solid #f2f2f2;
                padding-bottom: 1.125rem;

                @media (max-width: 768px) {
                    display: block !important;
                }

                @media (max-width: 576px) {
                    text-align: center;
                }

                .left-detail {
                    color: $grey;
                    padding-left: 1.4375rem;

                    @media (max-width: 768px) {
                        margin-bottom: 1.25rem;
                        padding-left: 0;
                        justify-content: center;
                    }

                    a {
                        &:not(:first-child) {
                            margin-left: 2.5rem;
                        }

                        color: $grey;

                        &:hover {
                            color: $primary;
                        }
                    }
                }
            }

            ul {
                padding: 0.875rem 0 0 0;

                li {
                    @media (min-width: 1030px) and (max-width: 1198.98px) {
                        margin-right: 1.25rem;
                    }

                    &.active {
                        a {
                            color: #000;
                            position: relative;

                            &::after {
                                content: "";
                                position: absolute;
                                bottom: 0;
                                left: 0;
                                right: 0;
                                margin: auto;
                                width: 100%;
                                color: transparent;
                                background: #000;
                                height: 1px;
                            }
                        }
                    }

                    &.dropdown {
                        a {
                            &::after {
                                display: none;
                            }

                            svg {
                                margin-left: 0.375rem;
                            }
                        }
                    }

                    .dropdown-menu {
                        width: 45rem;
                        top: 3.75rem;

                        .inner-wrapper {
                            .left-list {
                                padding: 1.6875rem 1.5rem;

                                li {
                                    border-bottom: 1px solid #f2f2f2;

                                    &:last-child {
                                        border: none;
                                    }

                                    a {
                                        padding: 0.75rem 0;
                                        font-size: 0.875rem !important;

                                        &.active-nav {
                                            color: $primary;
                                            padding-left: 0.75rem;

                                            &::before {
                                                content: "\A";
                                                width: 8px;
                                                height: 8px;
                                                border-radius: 50%;
                                                background: $primary;
                                                display: inline-block;
                                                margin-right: 0.625rem;
                                            }
                                        }

                                        &:hover {
                                            color: $primary;
                                        }
                                    }
                                }
                            }

                            .right-text {
                                .inner-text {
                                    @include positionMiddle;
                                    padding: 3rem;
                                    top: 80%;
                                }
                            }
                        }
                    }

                    a {
                        padding: 0.625rem 1.4375rem;
                        font-size: 0.875rem !important;
                        font-weight: 500;
                        color: #272741;
                        position: relative;
                        transition: 0.3s ease-in-out;

                        &:hover {
                            color: #000;

                            &::after {
                                width: 100%;
                            }
                        }

                        &::after {
                            position: absolute;
                            bottom: 0;
                            left: 0;
                            right: 0;
                            margin: auto;
                            width: 0%;
                            content: ".";
                            color: transparent;
                            background: #000;
                            height: 1px;
                            transition: 0.3s ease-in-out;
                        }
                    }

                    &:last-of-type {
                        margin-right: 0;
                    }
                }
            }

            .apply-button {
                margin-left: 3.75rem;
                padding: 0.875rem 0 0 0;

                @media (max-width: 1024px) {
                    margin-left: 0.375rem;

                    .btn {
                        font-size: 12px !important;
                        padding: 7px;
                    }
                }

                &:hover {
                    svg {
                        transform: translate(7px);
                    }
                }

                svg {
                    transition: 0.2s ease;
                }
            }
        }
    }
}

///top-nav

.sticky-top {
    position: fixed;
    z-index: 1000;
    top: 0;
    background-color: transparent;
    width: 100%;
    height: 5.625rem;
    // transition: 0.4s;
    padding: 15px 30px;
    backdrop-filter: blur(20px) saturate(160%) contrast(45%) brightness(140%);
    box-shadow: 0 6px 9px 0 rgba(0, 0, 0, 0.06);

    @media (max-width: 576px) {
        height: unset;
    }

    .nav-wrapper {
        border: none;
        padding: 0;

        .nav-right {
            .top-right-nav {
                display: none !important;
            }

            .navbar-nav {
                padding: 0;
            }

            .apply-button {
                padding: 0;
            }
        }

        .nav-left {
            @media (max-width: 576px) {
                margin: unset;
                width: unset;
                margin-bottom: 0;
                justify-content: left;

                .brand-logo {
                    img {
                        max-width: 79px;
                        text-align: center;
                    }
                }
            }

            .brand-logo {
                img {
                    width: 6rem;
                    object-fit: cover;
                }
            }
        }
    }
}

.menu-toggler {
    display: none;
}

@media (max-width: 1199px) {
    .navbar-nav {
        li {
            a {
                font-size: 12px !important;
                margin-right: 0 !important;
            }
        }
    }
}

@media (max-width: 1030px) {
    .menu-toggler {
        display: block;
    }

    .navbar-nav {
        display: none;

        &.show {
            display: block;
            position: fixed;
            top: 0;
            background-color: $primary;
            left: 0;
            height: 100vh;
            width: 100%;
            z-index: 1111;
            padding: 4rem 2rem;
            text-align: center;

            .side-menu-close {
                display: block !important;
            }

            li {
                a {
                    color: #fff !important;
                    padding: 1rem;
                }

                &:hover {
                    a {
                        color: $secondary;
                    }
                }
            }
        }
    }
}

@media (max-width: 470px) {
    .book-button {
        display: none;
    }

    .navbar-nav {
        .book-button {
            display: block !important;

            .btn {
                background-color: transparent;
            }
        }
    }
}

:target::before {
    content: "";
    display: block;
    height: 150px;
    margin-top: -180px;
}


footer {

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        color: #fff;
    }

    p {
        color: #fff;
    }

    ul {
        li {
            a {
                color: #fff;
            }
        }
    }

    .top-footer {
        background-size: cover;
        background-repeat: no-repeat;

        .top-main-wrapper {
            @media (max-width: 768px) {
                flex-direction: column-reverse;
                padding-top: 3.875rem;
            }

            img {
                min-height: 15.4375rem;
                min-width: 21.3125rem;
                object-fit: contain;
                padding-right: 3.5625rem;

                @media (max-width: 768px) {
                    max-height: 12.5rem !important;
                    max-width: 12.5rem !important;
                    padding-right: 0;
                }
            }
        }
    }

    .bottom-footer {
        background-color: #272741;
        overflow: hidden;
        background-repeat: no-repeat;
        background-size: contain;
        right: 0;
        background-position: right;

        .left-content-wrapper {
            border-bottom: 1px solid #6a6a6a;

            @media (max-width: 768px) {
                display: block !important;
            }

            .seed-section {
                img {
                    margin-bottom: 1.5rem;
                    max-width: 9.875rem;
                    height: 100%;
                    object-fit: cover;
                }

                p {
                    margin-bottom: 1.5rem;
                }
            }
        }

        .right-content-wrapper {
            @media (max-width: 425px) {
                display: block !important;
                text-align: center;
            }

            .content-wrapper {

                h1,
                h2,
                h3,
                h4,
                h5,
                h6 {
                    margin-bottom: 1.25rem;
                    color: rgba(255, 255, 255, 0.56);
                    font-size: 0.875rem !important;
                    font-weight: 600;
                }

                ul {
                    li {
                        margin-bottom: 0.5rem;

                        a {
                            font-size: 0.875rem;
                            font-weight: 500;
                        }
                    }
                }
            }
        }

        .terms-conditions {
            color: rgba(255, 255, 255, 0.56);
            padding: 1.375rem 0;

            @media (max-width: 768px) {
                display: block !important;
            }

            .copyright {
                span {
                    margin-right: 1.5rem;

                    a {
                        color: rgba(255, 255, 255, 0.56);
                    }
                }
            }
        }
    }
}