:root {
    --primary-color: #0e77bc;
    --secondary-color: #ed0004;
    --white: #fff;
    --black: #241f21;
}

/* Common Navbar Styles */
.navbar {
    padding: 0px 50px;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    height: 60px;
}

.bordered-logo {
    /* border: 2px solid var(--primary-color); */
    padding: 4px;
    border-radius: 6px;
}

.navbar-nav {
    margin: 0 auto;
}

.nav-link {
    position: relative;
    color: var(--black) !important;
    font-weight: 500;
    padding: 8px 15px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.join-btn {
    background: var(--secondary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.join-btn:hover {
    background: #b10002;
}

/* Mobile Custom */
.mobile-nav {
    display: none;
    width: 100%;
    background: var(--white);
}

.top-row {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.bottom-row {
    padding: 8px 10px;
    background: var(--white);
    border-top: 1px solid #ddd;
}

.sticky-bottom {
    position: sticky;
    bottom: 0;
    z-index: 1000;
}

.bordered-toggler {
    border: 2px solid var(--primary-color);
    padding: 4px 8px;
    border-radius: 4px;
}

/* Responsive Rules */
@media (max-width: 991px) {
    .desktop-nav {
        display: none;
    }

    .mobile-nav {
        display: block;
    }
}

@media (min-width: 992px) {
    .mobile-nav {
        display: none;
    }
}

/* LOGO BORDER */
.bordered-logo {
  /* border-right: 2px solid var(--primary-color); */
  padding-right: 10px;
  margin-right: 15px;
}

/* NAV TOGGLER (3 LINES ONLY BORDER STYLE) */
.bordered-toggler {
  border: 2px solid var(--primary-color);
  padding: 4px 6px;
  border-radius: 4px;
  background: transparent;
}
.toggler-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  margin: 4px 0;
  border-radius: 2px;
}

/* MOBILE BOTTOM STICKY */
.mobile-bottom {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 2px solid #ddd;
  padding: 10px 15px;
  z-index: 1050;
}
.academy-text {
  font-weight: 700;
  font-size: 16px;
  color: var(--primary-color);
}

/* Responsive */
@media (max-width: 991px) {
  .desktop-nav, .join-btn {
    display: none !important;
  }
}
@media (min-width: 992px) {
  .mobile-bottom {
    display: none !important;
  }
}

@media(max-width:410px){
    .navbar-brand{
        margin-left: -30px;
    }
    .bordered-logo{
        margin-left: -50px;
    }
    .bordered-toggler{

    }
}

@media(min-width:320px){
    .logos-group{
        margin-left: 50px;
    }
}

@media(min-width:426px){
    .logos-group{
        margin-left: 40px;
    }
}

@media(min-width:768px){
    .logos-group{
        margin-left: 200px;
    }
}

@media(min-width:992px){
    .logos-group{
        margin-left: 0px;
    }
}

.offcanvas-body {
    flex-grow: 1;
    padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);
    overflow-y: auto;
    margin-top: 60px;
}

.offcanvas.show:not(.hiding), .offcanvas.showing {
    transform: none;
    width: 250px;
}

/* @media(max-width:) */

@media (max-width: 991px) {
  main, .page-content, .container, .your-main-section {
    margin-top: 120px; /* adjust according to navbar+sticky height */
  }
}
