*,
.navbar {
  padding: 0;
}
.blog .content,
.mega-menu .content {
  grid-template-columns: repeat(4, 1fr);
}
* {
  margin: 0;
  box-sizing: border-box;
  font-family: Poppins, sans-serif;
}
body {
  font-family: Poppins, sans-serif;
}
.navbar {
  background: #fff;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 3px 6px #00000029;
}
.navbar .menu-item:hover,
.navbar li:hover a.menu-item,
.navbar ul li a.page_active {
  color: #fa4317;
}
.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 999;
}
.menu-btn,
.navbar .dropdown,
.navbar .expand-btn {
  position: relative;
}
.navbar .n-sec {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar .logo {
  text-decoration: none;
  color: #122f48;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 20px;
}
.menu-btn {
  display: none;
  justify-content: center;
  align-items: center;
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
  z-index: 2;
}
.navbar .menu-btn__lines::after,
.navbar .menu-btn__lines::before {
  content: "";
  position: absolute;
}
.navbar .menu-btn__lines,
.navbar .menu-btn__lines::after,
.navbar .menu-btn__lines::before {
  width: 1.5rem;
  height: 0.1rem;
  background: #132f48;
  transition: 0.4s ease-in-out;
}
.navbar .menu-btn__lines::before {
  transform: translateY(-0.5rem);
}
.navbar .menu-btn__lines::after {
  transform: translateY(0.5rem);
}
.navbar .menu-items {
  display: flex;
  align-items: center;
}
.navbar ul li {
  list-style: none;
  padding: 0 15px;
}
.navbar ul li .arrow {
  transition: 0.3s ease-out;
}
.navbar ul li a {
  text-decoration: none;
  color: #707070;
}
.expand-btn::before {
  content: "";
  vertical-align: middle;
  display: inline-block;
  border-top: 5px solid #707070;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  transition: 0.5s ease-in-out;
  margin-top: 2px;
  position: absolute;
  right: -6px;
  transform: rotate(0);
}
.menu-right,
.navbar .dropdown-menu,
.navbar .mega-menu {
  border-top: 1px solid #fff;
  opacity: 0;
  visibility: hidden;
}
.active::before {
  transform: rotate(180deg) !important;
}
.menu-right,
.navbar .dropdown-menu {
  position: absolute;
  background: #fff;
  width: 195px;
  line-height: 30px;
  top: 35px;
  left: 0;
  transition: opacity 0.4s;
  box-shadow: 0 20px 50px 0 rgb(0 0 0 / 10%);
  border: 1px solid #ededed;
}
.navbar .menu-right {
  top: 0;
  left: 100%;
}
.menu-left,
.navbar .dropdown-menu {
  left: unset;
  right: -100px;
}
.navbar .dropdown-right:hover .menu-left,
.navbar .menu-left {
  left: -100%;
}
.navbar .menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 5px 0;
  font-size: 15px;
  position: relative;
  line-height: 26px;
}
.navbar li:hover a.menu-item.pl {
  color: #707070;
  font-size: 14px;
  top: 0;
}
.navbar li a.menu-item.pl::after {
  content: "";
  background: 0 0;
}
.navbar li a.menu-item::after {
  content: "";
  position: absolute;
  height: 0;
  width: 100%;
  bottom: 0;
  left: 0;
  background-color: #fa4317;
}
.navbar li a.expand-btn::after {
  content: unset;
}
.navbar li:hover a::after {
  height: 2px;
}
.menu-item.first-item {
  padding: 4px 10px;
}
.menu-items li:hover .mega-menu,
.navbar .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.dropdown:hover ul li .menu-item:hover {
  color: #fa4317 !important;
}
.navbar .dropdown-right:hover .menu-right {
  left: 100%;
  opacity: 1;
  visibility: visible;
}
.navbar .mega-menu {
  position: absolute;
  left: 0;
  width: 100vw;
  top: 65px;
  transition: 0.4s ease-out, visibility 0.1s linear;
}
.mega-menu .content {
  background: #e9ecef;
  padding: 1rem;
  display: grid;
  gap: 1rem;
  width: 100%;
  justify-content: space-between;
  -webkit-box-shadow: 0 20px 50px 0 rgb(0 0 0 / 5%);
  box-shadow: 0 20px 50px 0 rgb(0 0 0 / 5%);
}
.content .col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  line-height: 3rem;
}
.content .col .img-wrapper {
  display: block;
  position: relative;
  width: 100%;
  height: 20vw;
  overflow: hidden;
}
.content .col .img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.content .col img {
  width: 100%;
  transition: transform 0.3s ease-in-out;
}
.content .col .img-wrapper:hover img {
  transform: scale(1.1);
}
.content .col .menu-title {
  color: #ff5722;
  font-size: 1.2rem;
  line-height: 3rem;
  font-weight: 700;
}
.content .col p {
  line-height: 1.2rem;
  margin-top: 5px;
  color: #112f48;
}
.content .col .mega-links {
  border-left: 1px solid #3c3c3c;
}
.content .col .read-more {
  font-size: 16px;
  display: flex;
  padding-top: 1rem;
  color: #03a9f4;
  transition: color 0.3s;
  justify-content: flex-end;
  padding-right: 10px;
}
.col .mega-links li,
.col .mega-links li a {
  padding: 0 1rem;
}
.content .col .read-more:hover {
  color: #ff5722;
}
.menu-btn.open .menu-btn__lines {
  transform: translateX(1rem);
  background: 0 0;
}
.menu-btn.open .menu-btn__lines::before {
  transform: rotate(45deg) translate(-0.5rem, 0.5rem);
  background: #132f48;
}
.menu-btn.open .menu-btn__lines::after {
  transform: rotate(-45deg) translate(-0.5rem, -0.5rem);
  background: #132f48;
}
@media screen and (max-width: 767px) {
  .navbar {
    padding: 10px 0;
  }
  .overflow {
    overflow: hidden;
  }
  .overlay {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 500;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  }
  .overlay--active {
    opacity: 1;
    visibility: visible;
  }
  .menu-btn {
    display: flex;
  }
  .navbar .menu-items {
    position: fixed;
    height: 100%;
    max-height: initial;
    overflow-y: auto;
    width: 100%;
    top: 80px;
    left: 0;
    background: #fcfcfc;
    display: block;
    transform: translateX(-100vw);
    transition: 0.3s ease-out;
    padding-bottom: 100px;
  }
  .menu-items.open {
    transform: translateY(0);
  }
  .menu-items li:first-child {
    margin-top: 20px;
  }
  .menu-items li a {
    padding: 10px 1rem;
    display: block;
    font-size: 18px;
  }
  .menu-items .dropdown-right .right-arrow {
    transform: rotate(90deg);
  }
  .expand-btn.open + .blog.sample,
  .expand-btn.open + .sample {
    max-height: 100%;
    transform: scaleZ(1);
  }
  .menu-item.first-item {
    padding: 0.5rem 0;
  }
  .menu-items .dropdown-menu,
  .menu-items .mega-menu,
  .menu-items .menu-right {
    position: static;
    opacity: 1;
    top: 4rem;
    visibility: visible;
    margin-left: -18px;
    width: auto;
    max-height: 0;
    transform: scaleX(0);
    transform-origin: left;
    overflow: hidden;
    transition: 0.5s;
  }
  .menu-items .dropdown-menu,
  .menu-items .menu-right {
    padding-left: 1rem;
    width: 102%;
    margin-left: -10px;
  }
  .menu-items .mega-menu .col {
    padding-left: 1rem;
  }
  .expand-btn.open + .blog.sample {
    max-width: fit-content;
  }
  .navbar .sample {
    border-top: none;
  }
  .col .mega-links li,
  .sample li {
    margin: 0;
  }
  .sample li:last-child {
    border-bottom: none;
  }
  .sample li a {
    font-size: 1rem;
  }
  .mega-menu .content {
    grid-template-columns: auto;
    padding: 1rem 1rem 0;
  }
  .mega-menu .content .col {
    width: 100%;
    padding-top: 1rem;
    margin-bottom: 0.5rem;
  }
  .col .mega-links li,
  .col .mega-links li a {
    padding: 0 0.5rem;
  }
  .content .col .mega-links {
    border-left: 0;
    padding-left: 0.5rem;
  }
  .navbar li:hover .h-item {
    color: #fa4317;
    border: none;
  }
  .navbar li:hover .a-item,
  .navbar li:hover .b-item,
  .navbar li:hover .c-item {
    color: #fa4317;
    border-bottom: none;
  }
  .navbar ul li {
    list-style: none;
    transition: 0.3s;
    padding: 0 15px;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .navbar li a.menu-item::after {
    background: 0 0;
  }
  .expand-btn::before {
    right: 0;
  }
}
@media (max-width: 768px) {
  .menu-right,
  .navbar .dropdown-menu {
    min-height: unset;
  }
  .menu-items li:first-child {
    margin-top: 5px;
  }
}
.navbar .menu-items .dropdown-menu li:first-child {
  border-bottom: 1px solid #f3f3f3;
}
