header {
  border-radius: 0;
  padding: .8rem 4.5rem !important;
  position: relative;
}



header::before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  height: 0;
  top: 0;
  background: #00000055;
  transition: ease-in-out all 200ms;
  backdrop-filter: blur(20px);
  z-index: -1;
}

/* header.fixed-top.scrolled {
  box-shadow: var(--igoal-box-shadow) !important;
} */

header .desktop-menu {
  width: 1320px;
}

header .desktop-menu img {
  width: 130px;
}

header .menu-items {
  padding: 20px 25px;
  gap: 2.5rem;
  position: relative;
}

header .menu-items::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00000060;
  border-radius: 13px;
  backdrop-filter: blur(6px);
  width: 100%;
  height: 100%;
  z-index: -1;
  transition: ease-in-out 200ms all;
}

header .menu-items .menu-item {
  min-width: 74px;
  text-align: center;
}

header .menu-items .menu-item .link {
  font-size: 20px;
  text-decoration: none;
  color: var(--pure-white);
  transition: all ease-in .2s;
  position: relative;
  font-weight: 400;
  opacity: .8;
}

header .menu-items .menu-item .link:has(.material-symbols-rounded) {
  padding-right: 25px;
}

header .menu-items .menu-item .link .material-symbols-rounded {
  position: absolute;
  right: 0;
}

header .menu-items .menu-item .link:hover {
  font-weight: 600;
  opacity: 1;
}

header .menu-items .menu-item .highlighted-btn {
  text-decoration: none;
  font-size: 20px;
  width: 100px !important;
  border: 1px solid transparent;
  transition: all ease-in .2s;
}

.highlighted-btn {
    font-size: 20px;
    background-color: var(--pure-white);
    border-radius: var(--spacing-250);
    border: 0;
    color: #E40046;
    padding: var(--spacing-250) var(--spacing-400);
    transition: all ease-in .2s;
}

header .menu-items .menu-item .highlighted-btn:hover {
  background-color: var(--highlight-color);
  color: var(--pure-white);
}

header .services {
  display: none;
}

.navbar.scrolled {
  /* background-color: var(--pure-white); */
  transition: background-color 200ms linear;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

header.navbar.scrolled::before {
  height: 100%;
}


.navbar.scrolled .nav-link {
  color: #555;
}

.navbar.scrolled .menu-items {
  transition: all ease-in .5s;
  /* padding-right: 0; */
}

.navbar.scrolled .menu-items::before {
  filter: none;
  border-radius: none;
  background: transparent;
}

.navbar.scrolled .menu-items .menu-item .link {
  color: var(--pure-white);
}

.navbar.scrolled .menu-items .menu-item .highlighted-btn:hover {
  background-color: var(--pure-white);
  color: var(--highlight-color);
  border: 1px solid var(--highlight-color);
}

.sub-menu {
  z-index: 9;
  position: absolute;
  background-color: var(--pure-white);
  border-radius: 20px;
  box-shadow: var(--igoal-box-shadow);
  color: var(--grey-color);
  font-size: 18px;
  padding: 30px 20px;
  top: -480px;
  max-width: 100%;
  transition: all ease-in-out .5s;
}

.sub-menu img {
  height: 60px;
  object-fit: contain;
}

.sub-menu .description {
  height: 80px;
  line-height: 22px;
}


.sub-menu .service-button {
  width: 25%;
  padding: 10px;
  text-align: center;
  color: #2A1B39;
  text-decoration: none;
}

.sub-menu .service-button span {
  width: 100%;
  padding: 10px;
  text-align: center;
  color: #2A1B39;
  text-decoration: none;
  display: block;
  font-weight: 600;
}

.sub-menu .service-button .thumb {
  position: relative;
  width: 100%;
  height: 120px;
  background: #FF0000;
  border-radius: 10px;
  background-position: center center;
  background-size: 100% auto;
  transition: ease-in-out all 300ms;
}
.sub-menu .service-button .thumb::after {
  transition: inherit;
  border-radius: inherit;
  position: absolute;
  content: '';
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background: #2A1B39;
  opacity: .4;
}
.sub-menu .service-button:hover .thumb {
  background-size: 110% auto;
}
.sub-menu .service-button:hover .thumb::after {
  opacity: .0;
}


.sub-menu.active {
  top: 130px;
}


.sub-menu .service {
  border-left: dashed 1px rgba(124, 58, 237, 0.329);
}
.sub-menu .service:first-of-type {
  border-left: none;
}

.sub-menu img {
  max-height: 36px;
}

.sub-menu-btn {
  font-size: 18px;
  background-color: #7c3aed11;
  border-radius: var(--spacing-250);
  border: 0;
  color: var(--highlight-color);
  height: 38px;
  padding: var(--spacing-250) var(--spacing-400);
  text-decoration: none;
  transition: all ease-in .2s;
}

.sub-menu-btn:hover {
  background-color: var(--highlight-color);
  color: var(--pure-white);
}

.mobile-menu,
#mobileMenu {
  display: none;
  z-index: 9999;
}



label {
  cursor: pointer;
}

.wrapper {
  left: 10%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.cross .icon {
  border-radius: .25rem;
  display: inline-block;
  height: .1rem;
  left: 50%;
  position: relative;
  width: 2rem;
  transform: translate(-50%, 0);
}

.cross .icon:before,
.cross .icon:after {
  background: #FFF;
  border-radius: .25rem;
  content: ' ';
  height: 100%;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  transform: rotate(45deg);
}

.cross .icon:after {
  transform: rotate(-45deg);
}

#mobileMenu:checked~.menu {
  transform: scale(1);
  z-index: 1;
}

.menu {
  background: var(--igoal-gradient-3);
  display: flex;
  left: 0;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  height: 100vh;
  transform: scale(0);
  transition: .3s transform ease-in-out;
  z-index: -1;
  overflow: auto;
}

.menu .mobile-bg {
  z-index: -1;
  position: absolute;
  width: 100vw;
  height: 550px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.menu .cross {
  position: absolute;
  top: .7rem;
  right: .7rem;
}

.menu nav {
  margin: auto;
}

.menu nav ul {
  width: 100dvw;
  margin: 0;
  padding: 0;
}

.menu nav ul li {
  padding: 1.5rem 0;
  text-align: center;
  border-bottom: solid 1px #FFFFFF11;


}

.menu nav ul li a {
  color: var(--pure-white);
  font-size: 2rem;
  line-height: 2rem;
  position: relative;
  text-decoration: none;
  transition: color 0s linear .2s;
}

.menu nav .services-menu-mobile ul {
  max-height: 400px;
  overflow: auto;
}

.menu nav .services-menu-mobile ul li a {
  font-size: 1.5rem;
  line-height: 2rem;
  position: relative;
  text-decoration: none;
  transition: color 0s linear .2s;
}

.menu nav ul li a .thumb {
  width: calc(100% - 60px);
  margin: auto;
  border-radius: 10px;
  height: 120px;
  margin-bottom: 10px;
  background-position: center center;
  background-size: cover;
}

.menu nav ul li a:hover:before {
  transform: scaleX(.95);
  transition: transform .3s ease-in-out 0s;
}

.mobile-menu .accordion {
  color: var(--pure-white);
  font-size: 2rem !important;
  line-height: 2rem;
  font-weight: 500;
  position: relative;
  text-decoration: none;
  background-color: transparent;
  cursor: pointer;
  width: 100%;
  text-align: center;
  outline: none;
  transition: all 0.4s ease-out;
}

.mobile-menu .accordion:first-child {
  border-radius: 1rem 1rem 0 0;
}

.mobile-menu .accordion:nth-last-child(1) {
  border-radius: 0 0 1rem 1rem;
}

.mobile-menu .accordion:after {
  content: "\25BE";
  color: #eee;
  font-weight: bold;
  margin-left: 1.5rem;
}

.mobile-menu .active-accordion {
  margin-bottom: 2rem;
}

.mobile-menu .active-accordion:after {
  content: "\25B4";
}

.mobile-menu .accordion-content {
  padding: 0 1rem;
  color: #aaa;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  background-color: var(--highlight-color);
}

.mobile-menu .accordion-content ul {
  list-style-type: none;
  width: 100%;
  padding: 0 .2rem;
}

.mobile-menu .accordion-content ul li {
  padding: 1.2rem 0;
}


@media (min-width: 1400px) {
  .sub-menu {
    width: 1320px;
  }
}

@media (max-width: 1100px) {
  header {
    padding: .8rem 1.5rem !important;
  }

  header .desktop-menu {
    width: auto;
  }

  .menu-items {
    display: none !important;
  }

  .navbar {
    /* background-color: var(--pure-white); */
    /* box-shadow: var(--igoal-box-shadow); */
    /* transition: background-color 200ms linear; */
    justify-content: space-between !important;
    padding: 40px 0;
    border-radius: 0;
  }

  .mobile-menu {
    display: flex;
  }
}

@media (max-width: 768px){
  #servicesMenu {
    display: none !important;
  }
}