/* Yash */

/* Desktop hover dropdown menu */

/* Desktop Hover Menu */

@media screen and (min-width: 990px){

  .header__submenu{
      display:block !important;
      opacity:0;
      visibility:hidden;
      transform:translateY(8px);
      transition:all .2s ease;
      pointer-events:none;
  }

  details[open] > .header__submenu{
      opacity:1;
      visibility:visible;
      transform:translateY(0);
      pointer-events:auto;
  }

}

/* Yash */

@media screen and (min-width: 1025px) {
    .grid--3-col-tablet .grid__item {
        width: calc(18.33% - var(--grid-desktop-horizontal-spacing) * 2 / 3);
    }
}

@media screen and (min-width: 750px) {
    .footer-block__newsletter+.footer__list-social {
        margin-top: 15px !important;
    }

}

@media screen and (min-width: 750px) and (max-width: 1024px){

  .grid--4-col-tablet .grid__item {
      width: calc(50% - var(--grid-desktop-horizontal-spacing) * 3 / 4) !important;
    
}

  .footer-block__button{
      margin-top: 30px;
  }
}


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

    .video_overlay_main {
            padding: 70px 0 !important;
    }


    .vide_overlay_title h2{
        font-size: 26px !important;
    }

}

.list-social {
    justify-content: flex-start  !important;
    margin-top: 35px;

}

.list-social__link{
    border: 1px solid white;
    border-radius: 50%;
    margin:10px;
}

/* .svg-wrapper:hover{
    color:#0275F1;
} */

/* .svg-wrapper{
    width: 22px !important;
    height: 22px !important;
} */

.slideshow__controls .slider-button{
    background: #fff !important;
    border-radius: 50% !important;
    color:white !important;
}

.slideshow__controls .slider-button:hover{
   /* background: #000 !important; */
  color:#fff !important;
  border:1px solid #000;
}


.header__icon span {
    color: #fff;
}

.header--top-center .header__heading-link{
    justify-self: flex-start !important;
}

.header__icons{
        gap: 30px !important;

}


@media screen and (min-width: 990px) and (max-width:1257px){

.header__icons{
        gap: 7px !important;

}
.my_project span{
   font-size: 12px !important;
}

.help_num,.help_text {
    font-size: 12px;
}

.header__icon span {
    color: #fff;
    font-size: 12px;
}

}

@media screen and (max-width: 990px){
 .header__icons{
        gap: 7px !important;

}
}

.svg-wrapper g {
        stroke: #fff;

}


.footer-block--newsletter{
    margin-top: 0rem !important;
}

@media screen and (max-width: 749px){
    .newsletter-form{
    align-items:start !important;
    }

}
 

.footer-block__button a:hover{
    background:#000 !important;
    color:white !important;
}

/* header */
/* Main menu */
.mega-menu__list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px;
  overflow: visible !important;
  flex-wrap: wrap !important;
  height: 320px;
}

/* Allow overflow */
.mega-menu,
.mega-menu__content,
.mega-menu__list,
.submenu-parent {
  overflow: visible !important;
}

.mega-menu {
  position: relative;
}

.submenu-parent {
  position: relative;
}

.submenu-list {
  display: none;
  position: absolute;

  top: -30px;
  left: 300px;

  min-width: 450px;
  background: #fff;
  padding: 15px;

  grid-template-columns: repeat(2, 1fr);
  gap: 8px 20px;

  z-index: 9999;
  box-shadow: 0 4px 15px rgba(0,0,0,.1);
}

.submenu-list.active {
  display: grid;
}


.submenu-list.active {
  display: grid;
}
/* Submenu */
.submenu-list {
  display: none;
  position: absolute;
  top: -20px;
  left: 300px;

  min-width: 450px;
  background: #fff;
  padding: 15px;

  grid-template-columns: repeat(2, 1fr);
  gap: 8px 20px;

  z-index: 9999;
  box-shadow: 0 4px 15px rgba(0,0,0,.1);
}

.submenu-list li {
  list-style: none;
}

.submenu-list a {
  display: block;
  padding: 2px 0;
  text-decoration: none;
}

/* Keep submenu visible */
.submenu-parent:hover > .submenu-list,
.submenu-list:hover {
  display: grid;
}

/* Parent link */
.submenu-parent > a {
  display: flex;
  align-items: center;
  justify-content:start;
  text-decoration: none !important;
}

.has-submenu > a::after {
  content: "›";
  font-size: 18px;
  margin-left: 8px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.has-submenu:hover > a::after {
  transform: rotate(90deg);
}

/* Rotate arrow */
.has-submenu:hover > a::after {
  transform: rotate(90deg);
}

/* Remove underline */
.has-submenu> a:hover,
.has-submenu > a:hover::after {
  text-decoration: none !important;
}


.third-level-menu {
  margin-left: 20px;
  padding-left: 15px;
  display: block;
}

.third-level-menu li {
  list-style: none;
  margin: 4px 0;
}

/* .mega-menu__content{
        height: 200vh !important;
} */

.has-third-level >  a {
  font-weight: 600;
}

/* .drawer-third-details {
  width: 100%;
}

.drawer-third-details summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.third-level-drawer {
  padding-left: 20px;
  margin-top: 5px;
}

.list-menu-grandchild{
  margin-left:25px !important;
}
 */


.menu-drawer__submenu--third-level {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  background: var(--color-background);
  transform: translateX(0);
  transition: transform 0.3s ease;
}

/* when details is open */
details[open] > .menu-drawer__submenu--third-level {
  transform: translateX(-100%);
}


.grandchild-parent .menu-drawer__menu-item{
  padding: 0.5rem 1.2rem;
}

.third-level-menus  li{
  margin:10px 15px;
}

.header__submenu{
      background: #fff !important;

}

