.top-strip {
    height: 43px;
    z-index: 1031;
    position: fixed;
    width: 100%;
    font-size: 18px;
    background: linear-gradient(to right, #022640, #5786AB);
    color: white;
}

.top-rotating-word {
    display: inline-block;
    min-width: 78px;
    width: 35px;
    text-align: left;
    transition: opacity 0.4s, transform 0.4s;
    color: #ffffff;
}

.rotating-word {
    display: inline-block;
    min-width: 120px;
    width: 255px;
    text-align: left;
    transition: opacity 0.4s, transform 0.4s;
    background: linear-gradient(to right, #022640, #5786AB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: black;
}

.navbar {
    height: 84px;
}

.ms-logo {
    height: 52px;
    width: auto;
}

.navbar-left a,
.navbar-right a {
    display: flex;
    align-items: center;
    font-family: "Work Sans", sans-serif;
    font-weight: 500 !important;
    color: #131313;
}

.black-btn {
    background-color: #000;
    color: #fff !important;
    border: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 0.5rem 2rem;
    font-weight: 600;
    overflow: hidden;
    transition: all 0.4s ease;
    border-radius: 12px;
    height: 44px;
    width: 205px;
    font-size: 16px;
}
@media (max-width: 1024px) {
    .black-btn {
        min-width: 150px;
        padding: 0.5rem 1rem;
        width: 155px;
        font-size: 14px;
    }
}
@media (max-width: 768px) {
    .black-btn {
        min-width: 120px;
        padding: 0.5rem 0.5rem;
        width: 125px;
        font-size: 12px;
    }
}

/* Text */
.black-btn span {
    display: inline-block;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.black-btn:hover span {
    transform: translateX(0);
}

.black-btn:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Glassmorphism Navbar */
.navbar-glass {
    top: 42px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Navbar links inside glass */
.navbar-glass .nav-link {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    color: #fff !important;
    transition: color 0.3s ease;
}

.navbar-glass .nav-link:hover {
    color: #ffd700 !important;
    cursor:pointer;
}

.menu__link {
    display: block;
    border-right: 2px dotted var(--border);
    text-decoration: none;
    overflow: hidden;
    height: 1em;
    line-height: 1.5em;
}

.lang-btn img {
    vertical-align: middle;
    margin-right: 4px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-100%);
    }
}

.navbar .nav-link {
    font-weight: bold;
    color: #000 !important;
}

.navbar .nav-link:hover {
    color: #555 !important;
}

@media only screen and (min-width: 992px) and (max-width: 1367px) {

    .navbar-left,
    .navbar-right {
        margin-left: -2rem;
    }

    .navbar-right {
        margin-right: -2rem;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1400px) {

    .top-strip {
        height: 40px;
    }

    .navbar {
        height: 72px;
    }

    .navbar-glass {
        top: 40px;
    }
}

    @media only screen and (min-width: 350px) and (max-width: 600px) {

        .navbar-right,
        .navbar-left {
            display: none !important;
        }

        .ms-logo {
            height: 36px;
        }

        .burger-menu {
            display: block !important;
            border: none;
            position: absolute;
            left: -20;
            top: -22;
        }

        #closeSidebarBtn {
            font-size: 1.3rem;
        }

        .sidebar {
            position: fixed !important;
            top: 0;
            left: 0;
            width: 355px;
            min-height: 100vh;
            height: 100vh;
            padding: 1rem;
            background-color: #fff;
            box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15);
            transform: translateX(-100%);
            transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1050;
            overflow-y: auto;
            will-change: transform;
            backface-visibility: hidden;
            transform-style: preserve-3d;
            display: flex;
            flex-direction: column;
        }

        .sidebar.show {
            transform: translateX(0);
        }

        .sidebar-header {
            display: flex;
            justify-content: flex-end;
            padding-bottom: 1rem;
            border-bottom: 1px solid #e9ecef;
        }

        .sidebar .navbar-nav .nav-item {
            width: 100%;
        }

        .sidebar .nav-link {
            color: #131313;
            font-weight: 600;
            padding: 0.75rem 0.5rem;
            border-bottom: 1px solid #e9ecef;
        }

        #whatWeDoSubmenu {
            background-color: #f8f9fa;
            border-radius: 16px;
            padding-right: 10px;
        }

        .sidebar .navbar-nav>.nav-item>.nav-link,
        .sidebar .submenu-item-link .item-title,
        .sidebar .submenu-item-link-simple {
            font-size: 17px;
            color: #131313;
        }

        /* --- Accordion Button Styles --- */
        .accordion-button-custom {
            background: none;
            border: none;
            width: 100%;
            text-align: left;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .accordion-button-custom:focus {
            box-shadow: none;
        }

        .accordion-button-custom .icon-arrow {
            transition: transform 0.3s ease;
        }

        .accordion-button-custom[aria-expanded="true"] .icon-arrow {
            transform: rotate(180deg);
        }

        /* --- Submenu Styles --- */
        .submenu-section {
            padding: 1rem 0 1rem 1rem;
        }

        .submenu-header {
            font-size: 17px;
            font-weight: 600;
            color: #131313;
            padding: 0.5rem;
            background-color: white;
            border-radius: 8px;
        }

        .submenu-header i {
            margin-right: 0.5rem;
        }

        .submenu-items-group {
            border-radius: 0.5rem;
            padding: 0.5rem;
        }

        .submenu-item-link {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.75rem;
            color: #212529;
            text-decoration: none;
            border-radius: 0.375rem;
            border-bottom: 0.5px solid #bdbdbd;
        }

        .submenu-item-link:hover {
            background-color: #e9ecef;
        }

        .item-text {
            display: flex;
            flex-direction: column;
        }

        .item-title {
            font-weight: 500;
        }

        .item-subtitle {
            font-size: 15px;
            color: #6c757d;
        }

        .icon-arrow-circle {
            font-size: 1.5rem;
            color: #212529;
        }

        .submenu-item-link-simple {
            display: block;
            padding: 0.75rem 0;
            color: #212529;
            font-weight: 500;
            text-decoration: none;
        }

        .submenu-item-link-simple:hover {
            color: #0d6efd;
        }
    }
