


/* --- Navbar Styles (UNCHANGED) --- */
nav.sdp-navbar {
    width: 100%;
    display: flex;
    align-items: center;
    min-height: 64px;
    position: fixed;
    background: #fff;
    z-index: 999999;
    left: 0;
    right: 0;
    top: 0;
    justify-content: space-between;
    padding: 0 64px;
        box-shadow: 0 2px 10px rgb(0 0 0 / 5%);
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); */
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

ul.sdp-nav {
    list-style: none;
    display: flex;
    width: 100%;
    align-items: center;
    margin: 0;
    padding: 0;
    justify-content: space-between;
}

.logo__wrap {
    display: block;
    background: url(../images/sdp-logo-coloured.png?v2) center center / contain no-repeat;
       width: 64px;
    height: 44px;
    margin: auto 60px auto auto;
}
li.search_wrp {
    flex: 1;
}
.nav-more { /* The <a> tag around the burger icon */
    /* Add any specific styles for the burger button container */
}
.icon-forMenu {
    /* Burger icon styles */
    display: block;
    width: 22px;
    height: 20px;
    position: relative;
    cursor: pointer;    
}

.icon-forMenu svg {
  position: absolute;
      top: 3px;
  left: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
}

#burger-icon {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.menu-is-open #burger-icon {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9);
}

#close-icon {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9);
}

.menu-is-open #close-icon {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.search_property {
    display: block;
    background-color: #D62929;
       width: 6.6rem;
    padding: 4px 0;
    margin: auto 30px auto auto;
    border-radius: 5px;
    font-family: 'Nunito-Bold';
    color: #fff;
    text-align: center;
    font-size: 0.8rem;
     cursor: pointer;
}
.find__icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url('../images/search-icon.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 8px;
  vertical-align: middle;
}
.search_form {
  width: 100%;
  max-width: 300px;
  margin: auto 30px auto auto;
}

.search_input_wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.search_input {
flex: 1;
    padding: 6px 8px;
    border-radius: 5px;
    border: 0;
    border-bottom: 1px solid #ff4949;
    font-family: 'Nunito-Bold';
    font-size: 0.8rem;
    box-sizing: border-box;
    border-radius: 0;
}

.submit_btn {
  /* background-color: #d71920;
  color: #fff;
  border: none;
  padding: 6px 10px;
  font-family: 'Nunito-Bold';
  font-size: 0.8rem;
  border-radius: 5px;
  cursor: pointer; */
    background: url('../images/search-icon-gray.svg') no-repeat center center;
  background-size: contain;
  border: none;
  font-size: 0;
    width: 14px;
    height: 14px;
  cursor: pointer;
  margin-right: 8px;
  cursor: pointer;
}



.close_btn {
  background: url('../images/search-close.svg') no-repeat center center;
  background-size: contain;
  border: none;
  font-size: 0;
    width: 14px;
    height: 14px;
  cursor: pointer;
}

.close_btn:hover {
  color: #000;
}

/* --- Fullscreen Menu General Styles --- */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #fff;
    background-image: url(../images/bg-test-2.png);
    color: #000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease, display 0.4s ease;
    z-index: 1000;
    display: none;
    background-position: 0% 10%;
}

.fullscreen-menu.is-active { /* Using .is-active for consistency with JS */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: flex;
}

.fullscreen-menu.is-active + nav.sdp-navbar {
    background: transparent;
    box-shadow: none;
}

/* --- Fullscreen Menu Inner Wrapper --- */
.nav-sdp__wrapper {
  display: flex;
  justify-content: flex-end;
  height: 100%;
  width: 100%;
  position: relative;
}

.menu-level {
  width: 300px;
  position: absolute;
  top: 0;
  bottom: 0;
  display: block; /* changed from none */
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transform-origin: right;
}


.nav-sdp__col-0 {
  right: 0;
}
.nav-sdp__col-1 {
  right:  0%;/* width of col-0 */
}
.nav-sdp__col-2 {
  right: 0; /* width of col-0 + col-1 */
}

/* Shared */

.menu-level.active-level {
  display: none;
  pointer-events: all; 
}
.menu-level.fade-in.active-level {
  display: block !important;
  pointer-events: all !important;
}


/* Animations */
@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(60px);
    width: 0;
     display: none;
  }
  100% {
    opacity: 1;
    transform: translateX(0);
           width: 32%;
            display: block;
  }
}

@keyframes slideOutToLeft {
  0% {
    opacity: 1;
    transform: translateX(0);
            width: 42%;
                display: block;
  }
  100% {
    opacity: 0;
    transform: translateX(-60px);
    width: 0;
        display: none;
  }
}
@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(60px);
    width: 0;
  }
  100% {
    opacity: 1;
    transform: translateX(0);
           width: 32%;
  }
}



@keyframes slideOutToLeftforcol0 {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInFromRightforcol0 {
  0% {
    opacity: 1;
    transform: translateX(0);
     width: 25%;
  }
  100% {
    opacity: 0;
    transform: translateX(60px);
     width: 0%;
  }
}

.search-active, .nav-active {
    overflow: hidden;
}


/* --- Desktop Layout (>= 1025px) --- */
@media (min-width: 1025px) {
  .menu-level.fade-in {
  animation: slideInFromRight 1.2s ease forwards;
}
.menu-level.fade-out {
  animation: slideOutToLeft 1.8s ease forwards;
}

  .nav-sdp__col-0.menu-level.fade-in.active-level {
  display: block !important;
  pointer-events: all !important;
}

  .nav-sdp__col-1.menu-level {
  display: none !important;

}
.nav-sdp__col-2.menu-level {
  display: none !important;

}
     .nav-sdp__col-0.menu-level.fade-in {
                width: 25% !important;
                opacity: 1 !important;
                 animation: slideInFromRight0 0.3s ease forwards;
     }
     .nav-sdp__col-2.menu-level.fade-in {
                /* width: 25%; */
                  animation: slideInFromRight2 1.2s ease forwards;
     }
     @keyframes slideInFromRight0 {
  0% {
    
    transform: translateX(0);
   
    
  }
  100% {
 
    transform: translateX(0);
         
        
  }
}
     @keyframes slideInFromRight2 {
  0% {
    opacity: 0;
    transform: translateX(60px);
    width: 0;
     display: none;
  }
  100% {
    opacity: 1;
    transform: translateX(0);
           width: 40%;
            display: block;
  }
}
    .nav-sdp__col-0 {
                /* width: 25%; */
        border-right: 1px solid rgba(255,255,255,0.1);
    }
    .nav-sdp__col-1 {
                /* width: 32%; */
        border-right: 1px solid rgba(255,255,255,0.1);
    }
    .nav-sdp__col-2 {
         /* width: 42%; */
    
    }

    .menu-level {
        position: relative;
        padding: 78px 20px 20px 20px;
        box-sizing: border-box;
    }
    .nav-sdp__itemcont {
        height: calc(100% - 20px);
        margin: 10px;
    }
    ol.nav-sdp__item {
        height: 100%;
    }

    /* Hide back buttons on desktop */
    .nav-back-btn {
        display: none !important;
    }
}

/* --- Mobile / Tablet Layout (<= 1024px) --- */
@media (max-width: 1024px) {
    .nav-sdp__wrapper {
        flex-direction: column;
    }
      .menu-level.fade-in.active-level {
    display: block !important;
    pointer-events: all !important;
    width: 100% !important;
}

    .menu-level {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 3rem 1.5rem;

        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        padding-top: 78px;
        background: #fff;
        box-sizing: border-box;
        z-index: 10;
        opacity: 0;
        transform: translateX(100%);
        visibility: hidden;
    }

    .menu-level.active-level {
        display: block;
        opacity: 1;
        transform: translateX(0);
        visibility: visible;
                height: 100%;
                        overflow: auto;
    }

    .nav-sdp__col-0 {
        padding-top: 55px;
    }

    /* Back buttons are visible on mobile */
    .nav-back-btn {
      display: block;
        background: none;
        border: none;
        color: #ffffff;
        font-size: 1.1em;
        padding: 10px 0;
        cursor: pointer;
        width: fit-content;
        text-align: left;
        margin-bottom: 10px;
        background: #d71920;
         padding: 6px 19px;
        border-radius: 8px;
        font-family: 'Nunito-Bold';
        font-size: 0.9rem;
    }
    .nav-back-btn:hover {
        color: #e11111;
    }
}

/* --- Common List and Item Styles --- */
.nav-sdp__itemcont {
    height: calc(100% - 20px);
    border-radius: 0;
    background: none;
    color: #000;
    overflow: hidden;
    margin: 10px;
    position: relative;
}


ol.nav-sdp__item {
    list-style: none;
    height: 100%;
    /* padding: 40px 0 0 64px; */
    padding: 40px 38px 0 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    will-change: transform;
    font-family: "Montserrat";
    font-weight: 800;
        font-size: 1.4rem;
    letter-spacing: -1px;
    color: #4a4848;
    text-transform: capitalize;
    margin: 0;
        text-align: end;
}

ol.nav-sdp__item li:not(:first-child) {
    margin-top: 1.3rem;
}


/* Scrollbar styles */
ol.nav-sdp__item::-webkit-scrollbar,
.nav-sdp__item_2::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
}

ol.nav-sdp__item::-webkit-scrollbar-track,
.nav-sdp__item_2::-webkit-scrollbar-track {
    /* -webkit-box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.836); */
    background-color: #F5F5F5;
}

ol.nav-sdp__item::-webkit-scrollbar-thumb,
.nav-sdp__item_2::-webkit-scrollbar-thumb {
    border-radius: 0;
    border: 5px solid transparent;
    /* -webkit-box-shadow: inset 0 0 6px rgba(255, 80, 80, 0.836); */
    background-color: #D62929;
}


.nav-sdp__item_2 {
    height: 100%;
        padding: 40px 0 6rem 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    will-change: transform;
    font-family: "Montserrat";
    font-weight: 800;
    letter-spacing: 0.3px;
    color: #000000;
    text-transform: uppercase;
    margin: 0;
}

.nav-sdp__item_2 ol {
    list-style: none;
    -webkit-overflow-scrolling: touch;
    will-change: transform;
    font-family: "Montserrat";
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -1px;
    color: #000000;
    padding: 0;
    text-transform: capitalize;
    margin: 0;
}

.nav-sdp__item_2 ol > li {
    line-height: 1.5;
    margin-bottom: 10px;
}

.fullscreen-nav li a { /* Assuming this refers to the initial full-screen links if any */
    font-size: 2rem;
    color: #fff; /* Initial color */
    text-decoration: none;
    transition: color 0.3s;
}

.fullscreen-nav li a:hover {
    color: #0ff; /* ORIGINAL HOVER COLOR */
}


/* ORIGINAL HOVER: For links within .nav-sdp__item_2 ol li (sub-items) */
.nav-sdp__item_2 ol li a {
    position: relative;
    text-decoration: none;
    color: inherit; /* Inherit color from parent for text */
    width: fit-content;
    display: block;
}

.nav-sdp__item_2 ol li a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2.5px;
    bottom: 0;
    left: 0;
    background-color: #ff1900;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-sdp__item_2 ol li a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}


.nav-primary__subsec {
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
    color: #ccc;
        font-family: "Montserrat";
    font-weight: 800;
}

.nav-primary__subsec2 {
    font-family: "Montserrat";
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -1px;
    color: #000000;
    padding: 0;
    text-transform: capitalize;
}

p.nav-primary__subsec_2 {
    font-family: 'Montserrat';
    font-weight: 400;
    letter-spacing: -0.6px;
    font-size: 0.9rem;
    text-transform: none;
    margin: 0;
    margin-bottom: 1rem;
        max-width: 44ch;
}

.exp__cta {
    font-size: 12px;
       background-color: #d71920;
     padding: 11px 25px;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
}
.exp__cta:hover {
      background-color: red;
}

.nav-sdp__propitem {
    list-style: none;
    padding: 0;
    margin: 0;
    -webkit-overflow-scrolling: touch;
    will-change: transform;
    font-family: "Montserrat";
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -1px;
    color: #000000;
    text-transform: capitalize;
}
.nav-sdp__propitem li {
    line-height: 1.5;
    margin-bottom: 5px;
}
.nav-sdp__propitem li a {
    color: inherit;
    text-decoration: none;
}

.wrp_foritem {
    margin-bottom: 2rem;
}

.wrp_foritem_reset {
    margin-bottom: 0;
}

/* --- Utility / Active States --- */
ol > li {
    cursor:pointer;
}

/* This is the active state, not hover, as per your original CSS */
.nav-sdp__item > li.this_active {
    color: #ff0b0b;
}


ol.nav-sdp__item li:hover {
    color: rgb(255, 128, 0); /* Applying a color change for main list items on hover */
}

.mob_search_wrp {
    display: none;
}


/* --- Responsive Adjustments (Your provided media queries) --- */
@media (max-width: 1400px) {
    /* #this-menu { padding: 0 30px ; } - Removed as ID not found */
}

@media only screen and (max-width: 1200px) {
    ol.nav-sdp__item {
        font-size: 5vw;
        padding: 32px 10px 4rem 10px;
        margin: 0;
        text-align: left;
    }
    .nav-sdp__item_2 ol {
        font-size: 5vw;
    }

    .nav-sdp__itemcont {
    overflow: auto;
}
.menu-level.active-level {
         overflow: auto; 
}
}

@media (max-width: 1024px) {
    nav.sdp-navbar {
        padding: 0 24px;
    }
    
}

@media (max-width: 768px) {
    .fullscreen-menu {
        overflow: auto;
    }
    .nav-sdp__item_2 {
        font-size: 1.4rem;
        padding: 32px 10px 4rem 10px;
    }
    .nav-sdp__item_2 ol {
        font-size: 1.2rem;
    }
    .nav-primary__subsec2 {
        font-size: 1.4rem;
    }
    li.search_wrp {
    display: none;
}
.mob_search_wrp {
    display: block;
}
.search_property {
    margin: auto auto auto 0;
    margin-top: 2rem;
}
.logbs__imgs {
    height: 11vw;
    width: 31.7vw;
    margin-bottom: 1rem;
}
}