
nav{

}
.megamenu .megamenu-wrapper{
  position: relative;
  /* max-width: 1300px; */
  /* min-width: 974px; */
  height: 136px;
 
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.megamenu-wrapper .logo a{

}
.megamenu-wrapper .nav-links{
	display: inline-flex;
	padding-left: 0;
	margin: 0;
}
.nav-links li{
  list-style: none;
}
.megamenu .menu-item{
 line-height: 136px;
 
}
.nav-links > li > a{
    text-decoration: none;
    transition: all 0.3s ease;
    color: #204A8A;
	letter-spacing: 0.32px;
	text-transform: capitalize;	
	line-height: 1;
	padding: 6px 16px;
	font-weight: 700;
}
.menu-parent{
	position: relative;
	padding-right: 40px;
	 
}
.nav-links li a.menu-parent{
	padding-right: 40px;
}
.menu-parent:before{
	content: url(../img/carret.svg);
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
}
.menu-parent:after{
	content: url(../img/megaarrow.svg);
    position: absolute;
    left: 50%;
    /* bottom: -86px; */
    bottom: -50px;
    transform: translateX(-50%);
	opacity: 0;
	
	 
}
.nav-links li a:hover{
	/* color: #204a8a73; */
	color: #8AC646;
}
.nav-links .mobile-item{
  display: none;
}
.nav-links .drop-menu{
  position: absolute;
  background: #242526;
  width: 180px;
  line-height: 45px;
  top: 105px;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}
.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box{
  transition: all 0.3s ease;
  /* top: 70px; */
  top: 135px;
  opacity: 1;
  visibility: visible;
}
.nav-links li:hover a.menu-parent:after{
	opacity: 1;
	bottom: -56px;
	 transition: all 0.3s ease;
}
.drop-menu li a{
  width: 100%;
  display: block;
  padding: 0 0 0 15px;

  border-radius: 0px;
}
.mega-box{
	position: absolute;
	left: 0;
	width: 100%;
	top: 156px;
	opacity: 0;
	visibility: hidden;
	line-height: 1.4;
	z-index: 900;
	max-width: 1022px;
	    left: 50%;
    transform: translateX(-50%);

}
.nav-links li.menu-item:last-child {
	position: relative;
}
.nav-links li.menu-item:last-child > .mega-box{
	max-width: 167px;
	width: 167px;
}
.mega-box .content{
	background: #242526;
	padding: 40px 24px calc(40px - 12px);
	width: 100%;
	/* box-shadow: 0 6px 10px rgba(0,0,0,0.15); */
	border-radius: 12px;
	background:#F3F6F9;
	position: relative;
	display: block;
}
.mega-box label{
color: #79797A;	
line-height: 22px; /* 137.5% */
letter-spacing: 0.64px;
text-transform: uppercase;
font-weight: 600;
font-size: 14px;
}
.mega-box hr{
    opacity: .5;
    color: #204A8A;
}
.mega-box .content .row{
  /* width: calc(25% - 30px); */
  /* line-height: 45px; */
   /* display: grid; */
  /* grid-template-columns: repeat(3, 1fr); /* Creates 3 equal-width columns */ 
  /* gap: 20px;  */
}
.content .row img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content .row header{
  color: #79797A;
  font-size: 20px;
  font-weight: 500;
}


.mega-links {
	padding-left: 0;
	margin-bottom: 20px;
}

.mega-links > li > a{
	padding: 0px;
	padding: 12px 0px;
	display: block;
	color: #204A8A;
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: 22px; /* 137.5% */
	letter-spacing: 0.32px;
	text-transform: capitalize;
	text-decoration: none;
position: relative;
    display: inline-flex;
    align-items: center;
    column-gap: 12px;
}
.mega-links > li > a:after{
	/* content: url(../img/carret-right.svg); */
    /* right:-12px; */
    /* top: 50%; */
    /* transform: translateY(-50%); */
	
    content: '';
    width: 16px;
    height: 16px;
    background: url(../img/carret-right.svg) no-repeat;
    background-size: contain;
}



.containermegamenu {
  display: flex; /* Use flexbox for the main 3 columns */
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start; /* Align columns to the top, so they don't stretch to equal height */
}

.column {
  flex: 1; /* Makes columns share horizontal space equally */
  min-width: 0; /* Ensures flex items can shrink */
}



@media screen and (max-width: 970px) {
  .megamenu-wrapper .btn{
    display: block;
  }
  .megamenu-wrapper .nav-links{
    position: fixed;
    height: 100vh;
    width: 100%;
    max-width: 350px;
    top: 0;
    left: -100%;
    background: #242526;
    display: block;
    padding: 50px 10px;
    line-height: 50px;
    overflow-y: auto;
    box-shadow: 0px 15px 15px rgba(0,0,0,0.18);
    transition: all 0.3s ease;
  }
  /* custom scroll bar */
  ::-webkit-scrollbar {
    width: 10px;
  }
  ::-webkit-scrollbar-track {
    background: #242526;
  }
  ::-webkit-scrollbar-thumb {
    background: #3A3B3C;
  }
  #menu-btn:checked ~ .nav-links{
    left: 0%;
  }
  #menu-btn:checked ~ .btn.menu-btn{
    display: none;
  }
  #close-btn:checked ~ .btn.menu-btn{
    display: block;
  }
  .nav-links li{
    margin: 15px 10px;
  }
  .nav-links li a{
    padding: 0 20px;
    display: block;
    font-size: 20px;
  }
  .nav-links .drop-menu{
    position: static;
    opacity: 1;
    top: 65px;
    visibility: visible;
    padding-left: 20px;
    width: 100%;
    max-height: 0px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
  }
  #showDrop:checked ~ .drop-menu,
  #showMega:checked ~ .mega-box{
    max-height: 100%;
  }
  .nav-links .desktop-item{
    display: none;
  }
  .nav-links .mobile-item{
    display: block;
    color: #f2f2f2;
    font-size: 20px;
    font-weight: 500;
    padding-left: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
  }
  .nav-links .mobile-item:hover{
    background: #3A3B3C;
  }
  .drop-menu li{
    margin: 0;
  }
  .drop-menu li a{
    border-radius: 5px;
    font-size: 18px;
  }
  .mega-box{
    position: static;
    top: 65px;
    opacity: 1;
    visibility: visible;
    padding: 0 20px;
    max-height: 0px;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  .mega-box .content{
    box-shadow: none;
    flex-direction: column;
    padding: 20px 20px 0 20px;
  }
  .mega-box .content .row{
    width: 100%;
    margin-bottom: 15px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .mega-box .content .row:nth-child(1),
  .mega-box .content .row:nth-child(2){
    border-top: 0px;
  }
  .content .row .mega-links{
    border-left: 0px;
    padding-left: 15px;
  }
  .row .mega-links li{
    margin: 0;
  }
  .content .row header{
    font-size: 19px;
  }
}

nav input{
  display: none;
}