/* --- 1. CORE WRAPPERS --- */
.cd-dropdown-wrapper {
    float: left;
    display: flex;
    position: relative;
    height: 0px;
    margin: 0;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.cd-dropdown-trigger {
    float: right;
    display: flex;
    position: relative;
    z-index: 999;
    align-items: center;
}

/* --- 2. THE MAIN MENU "SHUTTER" --- */
.cd-dropdown {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #b7b7b7 0%, #0f0f45 50%, #020D33 100%);
    background-size: 200% 200%;
    animation: meshMove 10s ease infinite;
    visibility: hidden;
    opacity: 0;
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    transition: clip-path 0.7s cubic-bezier(0.86, 0, 0.07, 1), opacity 0.4s;
}

.cd-dropdown.dropdown-is-active {
    visibility: visible;
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

@keyframes meshMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- 3. MENU CONTENT & LIST ITEMS --- */
.cd-dropdown-content {
    list-style: none;
    padding: 80px 20px;
    overflow-y: auto;
    height: 100%;
        scrollbar-width: none;
}

.cd-dropdown-content > li {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.dropdown-is-active .cd-dropdown-content > li {
    opacity: 1;
    transform: translateY(0);
}

.cd-dropdown-content a, .submenu-label {
    display: block;
    color: #ffffff !important;
    font-size: 18px;
    padding: 15px 0;
    text-decoration: none;
    font-family: 'Neue Montreal', sans-serif;
    cursor: pointer;
    font-weight: 500;
    position: relative;
}

/* --- 4. THE PLUS (+) ICON & TOGGLE --- */

/* Hide the actual checkbox */
.submenu-input {
    display: none;
}

/* The Plus Sign Design */
.plus-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    width: 14px;
    height: 14px;
    transform: translateY(-50%);
}

.plus-icon::before, .plus-icon::after {
    content: '';
    position: absolute;
    background: #fff;
    transition: transform 0.3s ease;
}

/* Horizontal line */
.plus-icon::before {
    top: 6px;
    left: 0;
    width: 100%;
    height: 2px;
}

/* Vertical line */
.plus-icon::after {
    top: 0;
    left: 6px;
    width: 2px;
    height: 100%;
}

/* ROTATE TO MINUS (-) WHEN CHECKED */
.submenu-input:checked + .submenu-label .plus-icon::after {
    transform: rotate(90deg);
    opacity: 0; /* Hides the vertical line to make it a minus */
}

.submenu-input:checked + .submenu-label .plus-icon::before {
    transform: rotate(180deg);
    background: #ffffff; /* Changes color when open */
}

/* --- 5. THE SUBMENU ACCORDION --- */
.cd-secondary-dropdown {
    list-style: none;
    max-height: 0; /* Hidden state */
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    padding: 0 20px;
    transition: all 0.4s cubic-bezier(0.86, 0, 0.07, 1);
    background: rgba(255, 255, 255, 0.03);
}

/* TOGGLE OPEN LOGIC */
.submenu-input:checked ~ .cd-secondary-dropdown {
    max-height: 1200px; /* High enough to contain all links */
    visibility: visible;
    opacity: 1;
    padding: 10px 20px;
    margin-bottom: 15px;
}

.cd-secondary-dropdown li a {
    font-size: 15px !important;
    color: #fafafa !important;
    padding: 12px 0 !important;
    font-weight: 400;
    white-space: normal;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- 6. CLOSE BUTTON --- */
.cd-dropdown .cd-close {
    position: absolute;
    top: 20px;
    right: 20px;
    height: 40px;
    width: 40px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}

.cd-dropdown .cd-close::after, .cd-dropdown .cd-close::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    height: 20px;
    width: 2px;
    background-color: #ffffff;
}
.cd-dropdown .cd-close::after { transform: translate(-50%, -50%) rotate(45deg); }
.cd-dropdown .cd-close::before { transform: translate(-50%, -50%) rotate(-45deg); }

@media(max-width:575px)
{
   
    .cd-dropdown-wrapper {

    margin: 0;
  }
}
.mobile-menu-tag {
    float: left;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
@media (max-width: 1024px) {
    .menu-img {
        width: 28px;
        margin-top: 10px;
        /* margin-left: 20px; */
    }
}

@media (min-width: 990px) and (max-width: 9999px) {
    .mobile-menu-tag {
        display: none;
    }
}


.mark {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}


.cd-dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.05);
    padding-left: 25px !important; /* Slight shift on hover */
    color: #fff !important;
}
.cd-dropdown-content .submenu-label:hover {
    background: rgba(255, 255, 255, 0.05);
    padding-left: 25px !important; /* Slight shift on hover */
    color: #b7b7b7!important;
}
.submenu-label{
      transition: all 0.3s ease !important;
    }

    .submenu-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 70%;
    background: #fff;
    transition: width 0.3s ease;
    box-shadow: 0 0 15px #bdbdbc;
}

.cd-dropdown-content .submenu-label:hover::before {
    width: 4px;
}
.cd-dropdown-content a {
    transition: all 0.3s ease !important;
    position: relative;
}

/* A glowing line that appears on the left of the active/hovered link */
.cd-dropdown-content a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 70%;
    background: #fff;
    transition: width 0.3s ease;
    box-shadow: 0 0 15px #fff;
}

.cd-dropdown-content a:hover::before {
    width: 4px;
}.menu-img {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Rotate the hamburger icon when the menu is active */
.dropdown-is-active .menu-img {
    transform: rotate(90deg) scale(1.2);
}