/* Start Navbar Section */
.navbar-section {
    display: flex;
    justify-content: space-between;

}
.navbar-section .nav-link {
    font-size: 1rem;
    font-weight: normal;
    position: relative;
}

.navbar-section a:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-black-rgb), 0.5);
}

.navbar-section .navbar-toggler:focus, .navbar-section .navbar-toggler:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-black-rgb), 0.5);
}

    @media screen and (min-width: 992px) {
        .navbar-section {
            gap: 1.5rem;
        }

        /* Hover and Focus States */
        .navbar-section a::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--bs-black);
            transition: width 0.2s ease-in-out;
        }

        .navbar-section a:hover, .navbar-section a:focus-visible, .navbar-section .nav-link:hover, .navbar-section .nav-link:focus-visible {
            outline: 0;
            border: 0;
            background-color: inherit;
            box-shadow: none;
        }

        .navbar-section a:hover::after, .navbar-section a:focus-visible::after {
            width: 100%;
        }
    }

/* Navbar Brand > Title */
.navbar-section .nav-link, .navbar-section-title {
    color: var(--bs-black);
    text-decoration: none;
    transition: all ease-in-out 0.1s;
    position: relative;
    line-height: 150%;
    padding: .5rem 0;
}

.navbar-section-title {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-weight: bold;
    font-size: 1.25rem;
}

    @media screen and (min-width: 992px) {
        .navbar-section-title {
            max-width: 35%;
            text-wrap: pretty;
        }
    }

/* Submenu Toggler */
.navbar-section .navbar-toggler {
    color: var(--bs-black);
}

/* Dropdown in Submenu */
.navbar-section .dropdown-menu {
    background-color: var(--bs-secondary-light);
    border: 0;
    padding: 0 1rem;
}

.navbar-section .dropdown-menu a {
    color: var(--bs-black);
    margin-left: 0;
    padding: .5rem 0;
    position: relative;
}

.navbar-section .dropdown-menu a:hover, .navbar-section .dropdown-menu a:focus-visible {
    background-color: inherit;
}

.navbar-section .nav-item:last-of-type .dropdown-menu {
    right:0;
/*     margin-top: 2.275rem; */
}

    @media screen and (min-width: 768px) {
        .navbar-section .dropdown-menu {
            background-color: var(--bs-secondary);
            padding: 1rem;
        }

        .navbar-section .dropdown-menu a {
            margin-left: 0;
            padding: .25rem 0;
        }

        /*  Active State */
        .navbar-section .custom-dropdown-toggle[aria-expanded="true"] {
            background-color: var(--bs-secondary);
        }
    }

    @media screen and (min-width: 992px) {
        .navbar-section .dropdown-menu {
            padding: 1rem;
        }

        .navbar-section .dropdown-menu a {
            padding: .25rem 0;
        }
    }

    @media screen and (min-width: 1440px) {
        .navbar-section .dropdown-menu {
            margin-left: 0.5rem;
        }
    }

.navbar-section .nav-link.dropdown-toggle[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(45deg);
}

.navbar-section .dropdown-item:hover, .navbar-section .dropdown-item:focus {
    background-color: inherit;
}


    .nav-item.dropdown .nav-section-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-right: 1rem;
    }
    .nav-item.dropdown .nav-section-link i {
        margin-left: 0.5rem;
        font-size: 1.15rem;
        line-height: 150%;
        transition: transform 0.2s ease;
    }
        @media screen and (max-width: 768px) {
            .nav-item.dropdown .nav-section-link {
                padding-right: 1rem;
            }
        }
        @media screen and (min-width: 768px) {
            .nav-item.dropdown .nav-section-link i {
                font-size: 0.75rem;
            }
        }
    .nav-section-link.dropdown-toggle {
        border: 0;
    }
/* Navbar items */
.navbar-section-nav {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}
    @media screen and (min-width: 768px) {
        .navbar-section-nav {
            flex-direction: row;
        }
    }


/* End Navbar Section */