footer {
    background-color: #eee
}

#copyrights {
    background-color: #ddd;
    font-size: 13px;
    font-style: italic;
    font-weight: 400;
    line-height: 17px
}

/* Navbar styling */
nav#menu {
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

body {
    padding-top: 0;
}

header {
    position: relative;
    z-index: 1;
}

.navbar-collapse {
    flex-basis: auto;
}

.navbar-nav {
    width: 100%;
    justify-content: center;
    gap: 2rem;
}

.navbar-nav .menu-link,
.navbar-nav .dropdown-toggle.menu-link,
.navbar-nav .menu-subitem,
.navbar-nav .dropdown-header {
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.navbar-nav .menu-link,
.navbar-nav .dropdown-toggle.menu-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.95rem;
    color: #1f2937;
    line-height: 1;
    text-decoration: none;
    border-radius: 0;
}

.navbar-nav .dropdown-toggle.menu-link {
    padding-right: 1rem !important;
}

.navbar-nav .menu-link:hover,
.navbar-nav .menu-link:focus,
.navbar-nav .dropdown-toggle.menu-link:hover,
.navbar-nav .dropdown-toggle.menu-link:focus,
.navbar-nav .menu-link.active {
    background-color: #dcfce7;
    color: #059669;
}

.navbar-nav .menu-link:hover,
.navbar-nav .menu-link:focus,
.navbar-nav .dropdown-toggle.menu-link:hover,
.navbar-nav .dropdown-toggle.menu-link:focus {
    border-radius: 0.5rem;
}

.navbar-nav .menu-link.active {
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(5, 150, 105, 0.22);
    border-radius: 0;
}

.navbar-nav .dropdown-toggle.menu-link.active {
    box-shadow: none;
    border-radius: 0;
    padding-right: 1rem !important;
}

.navbar-nav .dropdown-toggle.menu-link.active::after {
    content: none !important;
    display: none !important;
}

.navbar-nav .menu-link.active::after {
    content: "";
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.25rem;
    height: 2px;
    border-radius: 999px;
    background-color: #059669;
    opacity: 0.7;
}

.navbar-nav .menu-subitem {
    display: block;
    color: #1f2937;
    text-decoration: none;
    border-radius: 0;
}

.navbar-nav .menu-subitem:hover,
.navbar-nav .menu-subitem:focus,
.navbar-nav .menu-subitem.active {
    background-color: #dcfce7;
    color: #059669;
}

.navbar-nav .menu-subitem.active {
    font-weight: 500;
    border-radius: 0;
}

.navbar-nav .dropdown-header {
    color: #6b7280;
}

/* Mobile menu styling */
@media (max-width: 991px) {
    .navbar-collapse {
        padding: 0.5rem 0 0;
        margin-top: 0;
        background: transparent;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding-bottom: 0.5rem;
        border-top: 1px solid #dee2e6;
        background: transparent;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid #dee2e6;
    }

    .nav-item.dropdown {
        cursor: pointer;
        border-bottom: 1px solid #dee2e6;
    }

    .menu-link {
        display: flex;
        padding: 0.9rem 1rem !important;
        border-radius: 0;
        text-align: left;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        background: transparent;
    }

    .menu-link.active {
        box-shadow: none;
        background-color: #dcfce7;
        border-left: 0;
        border-bottom: 1px solid #059669;
    }

    .menu-link.active::after {
        content: none;
    }

    .dropdown-toggle.menu-link {
        border: none;
        background: transparent;
    }

    .dropdown-toggle.menu-link.active {
        padding-left: 0.9rem !important;
        box-shadow: none;
    }

    .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin: 0;
        border: none;
        box-shadow: none;
        padding: 0;
        background: transparent;
        display: none;
        border-radius: 0;
    }

    .dropdown-menu.show {
        display: block;
    }

    .menu-subitem {
        padding: 0.8rem 1rem 0.8rem 2rem;
        font-size: 1rem;
        text-align: left;
        justify-content: flex-start;
        border-radius: 0;
        border-bottom: 1px solid #f1f5f9;
        background: transparent;
    }

    .menu-subitem.active,
    .menu-subitem:hover,
    .menu-subitem:focus {
        background-color: #dcfce7;
        color: #059669;
    }

    .dropdown-header {
        font-size: 0.9rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        text-align: left;
        padding: 0.85rem 1rem 0.5rem 2rem !important;
        background: transparent;
    }
}

/* Desktop dropdown behavior */
@media (min-width: 992px) {
    .navbar-nav .menu-link,
    .navbar-nav .menu-subitem {
        min-height: 2.5rem;
    }

    .navbar-nav .menu-subitem {
        display: flex;
        align-items: center;
        min-height: 2.5rem;
        padding: 0 1rem;
        line-height: 1.2;
    }

    .navbar-nav .menu-link:hover,
    .navbar-nav .menu-link:focus,
    .navbar-nav .dropdown-toggle.menu-link:hover,
    .navbar-nav .dropdown-toggle.menu-link:focus,
    .navbar-nav .menu-subitem:hover,
    .navbar-nav .menu-subitem:focus {
        background-color: #dcfce7;
        color: #059669;
    }

    .navbar-nav .menu-link.active {
        background: transparent;
        box-shadow: none;
        border-bottom: 2px solid #059669;
        text-decoration: none;
    }

    .navbar-nav .menu-link.active::after {
        content: none;
    }

    .navbar-nav .dropdown-toggle.menu-link.active {
        background: transparent;
        box-shadow: none;
        border-bottom: 2px solid #059669;
        text-decoration: none;
        padding-right: 1rem !important;
    }

    .navbar-nav .dropdown-toggle.menu-link.active::after {
        content: none !important;
        display: none !important;
    }

    .navbar-nav .menu-subitem.active {
        background-color: #dcfce7;
        color: #059669;
    }

    .navbar-nav .dropdown:hover>.dropdown-menu {
        display: block !important;
    }

    .dropdown-menu {
        position: absolute !important;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
        border: 1px solid #dee2e6;
        border-radius: 0;
        overflow: hidden;
    }

    .navbar-nav .menu-subitem {
        justify-content: flex-start;
        background: transparent;
        border-bottom: 1px solid #e5e7eb;
    }

    .navbar-nav .menu-subitem.active {
        background-color: #dcfce7;
        color: #059669;
    }

    .dropdown-menu > li:last-child .menu-subitem {
        border-bottom: 0;
    }
}

.wrapper.bg-soft-primary {
    background-color: #f5f5f5
}

#slider {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
}

#slider > .overflow-hidden,
#slider > .overflow-hidden > .pt-4.pb-4,
#slider .swiper-container {
    width: 100%;
    max-width: none;
}

:root {
    --slider-height: 280px;
}

@media (min-width: 576px) {
    :root {
        --slider-height: 320px;
    }
}

@media (min-width: 768px) {
    :root {
        --slider-height: 360px;
    }
}

@media (min-width: 1200px) {
    :root {
        --slider-height: 430px;
    }
}

@media (min-width: 1400px) {
    :root {
        --slider-height: 500px;
    }
}

.swiper-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.swiper {
    overflow: visible
}

.swiper-controls {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2
}

.swiper-navigation {
    position: absolute;
    inset: 0;
    pointer-events: none
}

.swiper-nav {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

.swiper-slide {
    height: auto
}

figure.rounded {
    position: relative;
    margin: 0;
    width: 100%;
    height: var(--slider-height);
}

@media (min-width: 768px) {
    figure.rounded {
        overflow: hidden;
        border-radius: 0.4rem;
    }
}

figure.rounded img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

figure {
    position: relative
}

.swiper-button {
    background: rgba(255, 255, 255, .7);
    color: #333;
    border: 0;
    box-shadow: 0 .25rem .75rem rgba(30, 34, 40, .02);
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 100%;
    transition: all .2s ease-in-out;
    position: absolute;
    top: 50% !important;
    transform: translateY(calc(-50% + 11px)) !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    z-index: 3
}

.swiper-button:hover {
    background: rgba(255, 255, 255, .9)
}

.swiper-button:focus {
    outline: 0
}

.swiper-button:after {
    font-family: FontAwesome;
    font-size: 1rem;
    font-weight: bold
}

.swiper-button-prev {
    left: 1rem
}

.swiper-button-prev:after {
    content: "\f053"
}

.swiper-button-next {
    right: 1rem
}

.swiper-button-next:after {
    content: "\f054"
}

.swiper-button.swiper-button-disabled {
    background: rgba(255, 255, 255, .7)
}
