.main_head {
  background: #0f0000 0% 0% no-repeat padding-box;
  width: 100%;
  position: sticky;
  box-shadow: 0px 6px 20px rgba(255, 170, 0, 0.5);
  z-index: 999;
  top: 0;
}

.main_head .main_navbar {
  background: transparent !important;
  display: flex;
  align-items: center;
}

.main_head .logodiv {
  cursor: pointer;
  display: flex;
  align-items: center;
  z-index: 10;
  height: 100%;
  width: 140px;
}

.main_head .logodiv .logo_img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main_head .right_container_holder {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: -12px;
}

.main_head .right_container_holder .strip_1 {
  display: flex;
  justify-content: flex-end;
  padding: 12px 40px 8px 0px;
}

.main_head .right_container_holder .social_icons {
  display: flex;
  gap: 15px;
}

.main_head .right_container_holder .icon_div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #dcdcdc;
  color: #ffffff !important;
  text-decoration: none;
  transition: all 0.3s ease;
}

.main_head .right_container_holder .icon_div .icon {
  font-size: 16px;
  color: #212121;
}

.main_head .right_container_holder .strip_2 {
  background: #ffffff;
  /* Creates the dynamic angled trapezoid/slope cut on the left side */
  clip-path: polygon(40px 0%, 100% 0%, 100% 100%, 0% 100%);
  margin-left: -40px;
  padding: 12px 40px 12px 60px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.main_head .right_container_holder .links_holder {
  width: 100%;
}

.main_head .right_container_holder .nav_menu {
  display: flex;
  justify-content: flex-end !important;
  align-items: center;
  gap: 30px;
  width: 100%;
}

/* Navbar Link Typography matching the image */
.nav_menu .nav-link {
  color: #202020 !important;
  font-weight: 600;
  font-size: 15px;
  padding: 0 !important;
  text-transform: uppercase;
  font-family: 'Exo';
}

/* ================ Media Queries ================ */

@media (min-width: 0px) and (max-width: 767.98px) {
  /* Hide desktop strips */
  .main_head .right_container_holder,
  .main_head .strip_1,
  .main_head .strip_2,
  .main_head .logodiv {
    display: none;
  }

  /* Navbar toggle */
  .main_head .navbar-toggler {
    border: none;
  }

  .main_head .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
  }

  .main_head .navbar-toggler-icon {
    filter: invert(1);
  }

  .main_head .navbar-collapse {
    background: #0f0000 0% 0% no-repeat padding-box;
    padding: 15px;
    margin: 0 15px;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
  }

  /* Mobile top strip */

  .main_head .mobile_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* #mobile-navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0F0000 0% 0% no-repeat padding-box;
        z-index: 9999;
        margin: 0;
    } */

  /* Mobile nav */
  .main_head .mobile_nav {
    display: flex;
    flex-direction: column;
  }

  .main_head .mobile_nav .nav-link {
    padding: 10px 0;
    margin: 0;
    font-size: 14px;
    color: #fff !important;
  }

  .main_head .mobile_nav .nav-link::after {
    bottom: 0;
  }

  .main_head .mobile_nav .register {
    margin-top: 5px;
    text-align: center;
    font-weight: 500;
    border-radius: 5px;
    width: -moz-fit-content;
    width: fit-content;
  }

  /* Mobile button */
  .main_head .mobile_nav .mobile_btn {
    margin-top: 12px;
  }

  .mobile_header .logodiv {
    display: block;
  }

  .mobile_header .logodiv .logo_img {
    width: 90px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .main_head .logodiv {
    width: 100px;
  }

  .nav_menu .nav-link {
    font-size: 13px;
  }

  .main_head .right_container_holder {
    margin-bottom: 0;
  }
}
