.navbar {
  background-color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
  max-height: 110px;

}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.navbar-logo {
  flex-shrink: 0;

}

.logo {
  width: auto;
  height: 80px;
  transition: all 0.3s ease;
}

.navbar-right-side-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}

.navbar-above-section {
  position: relative;
  background-color: #282828;
  padding: 0 0 10px 26px;
  width: auto;
  border-radius: 0 0 0 24px;
  margin: 0 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 45px;
  transition: transform 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
  transform-origin: top;
}

.navbar-above-links {
  display: flex;
  gap: 50px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  color: var(--colour-pure-white);
}

.navbar-above-links li :hover {
  color: rgb(209, 209, 209);
}

.navbar-main-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  width: 100%;
  flex-direction: row-reverse;
  transition: padding 0.3s ease;
}

.navbar-links {
  display: flex;
  gap: 40px;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.navbar-btn-link {
  margin-left: 20px;
  list-style: none;
}

.navbar-btn,
.explore-btn,
.service-btn,
.readmore-btn,
.contact-btn{
  background-color: var(--colour-pinky-red);
  color: rgb(255, 255, 255) !important;
  font-family: var(--font-main);
  border: none;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 28px;
  font-weight: 400;
  font-size: clamp(16px, 2.2vw, 19px);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#menu-item-90 li{
  color: #282828;
}

.navbar-btn:hover,
.explore-btn:hover,
.service-btn:hover,
.readmore-btn:hover,
.contact-btn:hover {
  background-color: var(--button-hover-color);
}

.navbar-main-section .navbar-links {
  grid-column: 2 / 3;
  justify-content: center;
}

.navbar-main-section .navbar-cta {
  grid-column: 3 / 4;
  justify-self: end;
}

.navbar-links i.fa-angle-up {
  display: none;
}

.navbar-links a.active {
  color: var(--colour-pinky-red);
  font-weight: bold;
}



.navbar-links li {
  position: relative;
  /* Needed for absolute positioning */
}

/* Dropdown container */
.navbar-links li .sub-menu {
  display: none;
  position: absolute;
  top: 60px;
  left: -20px;
  background: var(--colour-pure-white);
  color: var(--font-colour);
  padding: 10px 0;
  list-style: none;
  min-width: 370px;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
  z-index: 1000;
}

/* Arrow pointing to parent menu item */
.navbar-links li .sub-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #ffffff;
  filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, 0.06));

}

/* Optional hover helper */
.navbar-links li .sub-menu::after {
  content: "";
  position: absolute;
  top: -44px;
  left: 0;
  width: 100%;
  height: 48px;
  background: transparent;

}

/* Show submenu on hover */
.navbar-links li.menu-item-has-children:hover>.sub-menu {
  display: block;
}


.navbar-links li:hover .dropdown .sub-menu {
  display: block;
}

.navbar-links li:hover i.fa-angle-down {
  display: inline;
  transform: rotate(180deg)
}

.navbar-links li i {
  display: inline-block;
  transition: transform 0.3s ease;
}

.navbar-links #menu-item-63 > a::after {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: transform 0.3s ease;
}

.navbar-links #menu-item-63 > a:hover::after {
    transform: rotate(180deg); 
}

.navbar-links li.menu-item-has-children:hover > a::after,
.navbar-links li.menu-item-has-children:focus-within > a::after {
    transform: rotate(180deg);
}

.navbar-links li a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: center;
  text-decoration: none;
  color: var(--font-colour);
  font-weight: 600;
  font-size: 17px;
  line-height: 20px;

}

.navbar-links li.is-cta>a {
  /*This is for the button of the wordpress menu*/
  background-color: var(--colour-pinky-red);
  color: #fff;
  padding: 10px 24px;
  border-radius: 28px;
  font-weight: 500;
  display: inline-block;
  font-size: clamp(16px, 2.2vw, 19px);
  transition: background-color .3s ease, color .3s ease;
}

.navbar-links li.is-cta>a:hover,
.navbar-links li.is-cta>a:focus {
  /*This is for the button of the wordpress menu*/
  background-color: var(--colour-pinky-red-dark, #d61e3b);
  color: #fff;
}

.navbar-links li .dropdown a,
.sub-menu li a {
  display: block;
  padding: 16px 20px;
  color: var(--font-colour);
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.3;
  text-align: left;
}

.navbar-links li a:hover {
  color: var(--colour-pinky-red);
}

.navbar-links li .dropdown a:hover,
.sub-menu li a:hover {
  background-color: var(--colour-pinky-red);
  color: var(--colour-pure-white);
}

.navbar-above-links li a {
  font-size: 16px;
  font-weight: 500;
  line-height: 21px;
  text-decoration: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* circular social icons */
.navbar-above-links .fa-facebook-f,
.navbar-above-links .fa-instagram,
.navbar-above-links .fa-tiktok,
.navbar-above-links .fa-phone,
.navbar-above-links .fa-envelope {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.8px solid #fff;
  border-radius: 50%;
}


.hamburger {
  display: none;
  width: 44px;
  height: 36px;
  border: 0;
  background: transparent;
  padding: 0;
  margin-right: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #282828;
  margin: 7px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.drawer-open .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  transition: 0.3s ease;
}

.drawer-open .hamburger span:nth-child(2) {
  opacity: 0;
}

.drawer-open .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-actions {
  display: none;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.mobile-actions li {
  list-style: none;

}

.mobile-actions li a {
  text-decoration: none;
  color: #111111;
  padding: 0 10px;
}

.mobile-actions li .mobile-actions-icon .fa-phone,
.mobile-actions li .mobile-actions-icon .fa-envelope {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.8px solid #28282828;
  border-radius: 50%;
}

.phone-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 9px;
  border-radius: 50%;
  border: 2px solid #ef3a3a;
  color: #ef3a3a;
  text-decoration: none;
}

.phone-cta i {
  font-size: 16px;
}


.navbar-above-section-icon-pack {
  display: flex;
  gap: 10PX;
}



/* ::before background now on navbar-above-section */
.navbar-above-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  height: 100%;
  width: 100vw;
  background-color: #282828;
}


.hidden {
  transform: scaleY(0);
  opacity: 0;
  pointer-events: none;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.navbar.scrolled .logo {
  height: 45px;
  transition: all 0.3s ease;
}

.navbar.scrolled .navbar-main-section {
  padding: 14px 0;
}


.scrolled .navbar-above-section {
  display: none;
}

.scrolled .navbar-right-side-section {
  grid-template-rows: auto;
}



.scrolled .navbar-btn {
  padding: 10px 22px;
}

.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}


/* Mobile Drawer Styles */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #28282862;
  z-index: 1998;
  opacity: 0;
  transition: opacity 0.3s ease;

}



.mobile-drawer {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: var(--colour-third-bg);
  z-index: 1999;
  transition: left 0.3s ease;
  overflow-y: auto;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);

}


.mobile-drawer .sub-menu {
    display: none;
    padding-left: 16px; 
}


.mobile-drawer .sub-menu {
    transition: max-height 0.3s ease;
    overflow: hidden;
}

.mobile-drawer .sub-menu li a {
  text-decoration: none;
  color: #ffffff;
  font-family: 'Gilroy', sans-serif;
  font-weight: 500;
  padding: 12px 10px 12px 30px;
  display: block;
  transition: color 0.3s ease;
}


.mobile-drawer .menu-item.current-menu-item > a,
.mobile-drawer .menu-item.current_page_item > a {
    border-left: 4px solid #ffe0e0; 
    padding-left: 16px; 
    font-weight: 600; 
    color: white;
}



/* Drawer open state */
.drawer-open .mobile-overlay {
  display: block;
  opacity: 1;
}

.drawer-open .mobile-drawer {
  left: 0;
}

.drawer-open {
  overflow: hidden;
}


.mobile-nav {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav>li {
  border-bottom: 1px solid var(--font-colour);

}

.mobile-nav>li.active {
  border: 3px solid var(--colour-pure-white);

}

.mobile-nav>li>a,
.mobile-nav .submenu-toggle {
  display: block;
  padding: 16px 20px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.2s ease;
}

/* Submenu toggle */
.submenu-toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.submenu-toggle i {
  margin-left: 55%;
  border-radius: 50%;
  padding: 5px;
  background-color: var(--font-colour);
  transition: transform 0.3s ease;
}

.has-submenu.open .submenu-toggle i {
  transform: rotate(180deg);
}


.mobile-drawer li#menu-item-101 > a::after {
    content: "\f078"; /* chevron-down */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 130px;
    background-color: #55555585;
    padding: 5px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

/* Rotate chevron when submenu is open */
.mobile-drawer li#menu-item-101.menu-item-has-children.open > a::after {
    transform: rotate(180deg);
}





/* Submenu content */
.submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.has-submenu.open .submenu {
  max-height: 500px;
  /* expands when open */
}

.submenu li a {
  display: block;
  padding: 12px 20px 12px 40px;
  color: var(--colour-pure-white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}