/* Navbar Container */
.navbar-container {
  position: fixed;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
    rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
}

/* Navbar Styles */
.navbar {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  border-radius: 12px;

  padding: 10px 20px;
  transition: all 0.3s ease;
}

.navbar.sticky {
  top: 0;
  padding: 6px !important;
  border-radius: 0;
  color: black !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px;
}

.navbar.sticky .nav-links li a {
  color: black !important;
  font-size: 16px;
}

.bg-white {
  background-color: white;
}

.logo-small {
  width: 100px !important;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  justify-content: center;
  align-items: center;
}
.nav-links {
  margin-bottom: 0 !important;
}
.nav-links li a {
  position: relative;
  text-decoration: none;
  font-size: 20px;
  letter-spacing: 2px;
  color: #fff;
  font-weight: 400;
  transition: color 0.3s;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: -5px; /* Adjust based on spacing */
  left: 0;
  width: 0;
  height: 3px; /* Thickness of the underline */
  background-color: #176b96; /* Hover underline color */
  transition: width 0.3s ease-in-out;
}

.nav-links li a:hover::after {
  width: 100%; /* Expand underline to full width */
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 3px;
}

/* Sidebar styles */

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(135deg, #0047ab, #00bfff); /* Blueish gradient */

  color: #fff;
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  z-index: 99999;
  padding: 20px;
  overflow-y: scroll !important;
  /* scroll-behavior: scroll !important; */
}

/* Sidebar Links */
.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-links li {
  margin: 15px 0;
}

.sidebar-links a {
  text-decoration: none;
  margin-top: 1rem;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  width: 100%;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1); /* Subtle background for hover effect */
  display: inline-block;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

/* Close Button */
.close-btn {
  background: transparent;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0 8px;
  border: none;
  outline: none;
  z-index: 1;
  transition: transform 0.3s ease;
}

/* Responsive Design */
@media (max-width: 994px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  .navbar {
    padding: 10px;
    top: 0 !important;
    position: relative;
    background-color: white;
  }
  .navbar-container {
    position: relative !important;
  }

  .logo img {
    width: 120px !important;
  }
}

.logo {
  background-color: #ffffff30;
  border-radius: 10px;
  padding: 3px;
}

.logo img {
  width: 180px;
  /* filter: brightness(120%); */

  /* filter: drop-shadow(2px .5px rgb(255, 255, 255)) !important; */
}

/* ----------------- */
/* ----------------- */
/* ----------------- */
/* ----------------- */

/* new header  */

@media (min-width: 770px) {
  .display-none {
    display: none !important;
  }
}

@media (max-width: 768px) {
  #main-nav-bar {
    display: none !important;
  }
}

#main-nav-bar {
  width: 100%;
  display: flex;
  height: 13%;
  position: absolute;
  z-index: 9;
}

#main-nav-bar:hover {
  background-color: #fff !important;
  transition: all 0.5s linear;
}
#main-nav-bar:hover a {
  color: #000;
}
#main-nav-bar:hover .nav_mid {
  color: #fff !important;
}

@media (max-width: 950px) {
  #main-nav-bar {
    height: 7%;
  }
}

.left-b-none {
  border-left: none !important;
}

.nav_left_side_section a {
  text-decoration: none;
  color: #f0f1f3;
  font-size: 16px;
}

.nav_left_side {
  width: 45%;
  display: flex;
  height: 100%;
  border-bottom: 1px solid #778c9e;
  display: flex;
}
.nav_mid {
  width: 15%;
  display: flex;
  justify-content: center;
  /* align-items: center; */
  border: 1px solid #778c9e;
  border-top: none !important;
  background-color: #fff;
  padding: 10px;
}

.nav_mid img {
  width: 100%;
  object-fit: contain !important;
}
.nav_right_side {
  width: 45%;
  display: flex;
  height: 100%;
  display: flex;
  border-bottom: 1px solid #778c9e;
}

.nav_right_side_section a {
  text-decoration: none;
  color: #f0f1f3;
  font-size: 16px;
}
.nav_right_side_section {
  width: 33.33%;
  position: relative;
  display: inline-block;
  height: 100%;
  border-right: 1px solid #778c9e;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #f0f1f3;
}
.nav_left_side_section {
  position: relative;
  width: 33.33%;
  height: 100%;
  z-index: 9999;
  border-left: 1px solid #778c9e;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #f0f1f3;
}
.nav_right_side_section i {
  margin: 0 6px;
}

.nav_right_side_section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 100%;
  bottom: 0;
  z-index: -1;
  left: 0;
  /* clip-path: polygon(90% 0, 100% 50%, 90% 100%, 0% 100%, 0 54%, 0% 0%); */
  background-color: #176b96;
  transition: all 0.3s linear;
}

.l1 {
  border-left: none !important;
}
.nav_right_side_section:hover::before {
  right: 0;
}
.nav_right_side_section:hover a {
  color: #fff !important;
  /* transform: scale(1.2); */

  font-weight: bold;
  transition: all 0.3s linear;
}
.nav_right_side_section:hover #browsher-btn {
  color: #176b96;
  /* transform: scale(1.2); */

  font-weight: bold;
  transition: all 0.3s linear;
}
.btn-check:checked + .btn-secondary,
.btn-check:active + .btn-secondary,
.btn-secondary:active,
.btn-secondary.active,
.show > .btn-secondary.dropdown-toggle {
  color: #176b96 !important;
}

.nav_left_side_section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  /* clip-path: polygon(100% 0, 100% 50%, 100% 100%, 10% 100%, 0 54%, 10% 0); */
  left: 100%;
  background-color: #176b96;
  transition: all 0.3s linear;
}

.nav_left_side_section:hover::before {
  left: 0;
}

.nav_left_side_section:hover a {
  color: #fff !important;
  /* transform: scale(1.1); */
  font-weight: bold;
  transition: all 0.3s linear;
}

#browsher-btn {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem; /* Space between text and icon */
  color: #fff; /* Black text for the button */
  background-color: transparent;
  border: none;
  z-index: 99999;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#browsher-btn i {
  font-size: 1rem; /* Icon size */
}

#browsher-btn:hover {
  transform: translateY(-2px); /* Slight lift on hover */
}

#browsher-btn:active {
  transform: translateY(0); /* Reset lift on click */
}

.custom-dropdown-menu {
  position: absolute;
  top: 80%;
  background-color: transparent !important;
  color: #fff !important;
  margin-top: 0; /* Align the dropdown menu */
  display: none; /* Hide by default */
  border: none;
}
.custom-dropdown-menu:hover {
  background-color: transparent !important;
  color: #fff !important;
  margin-top: 0; /* Align the dropdown menu */
  display: none; /* Hide by default */
  margin-top: 2rem;
  border: none;
}
/* Custom button styling */
.custom-btn {
  color: #fff;
  border-radius: 0.375rem; /* Slightly rounded corners */
}

/* Custom dropdown items styling */
.custom-dropdown-menu .dropdown-item {
  color: #fff !important;
  padding: 0.5rem 1rem !important;
}

.browsher-btn:hover #browsher-btn {
  color: #fff !important;
}

#browsher-btn {
  border: 2px solid #0a3265;
  padding: 8px 14px;
  border-radius: 5px;
  background-color: #176b96;
}

.dropdown-menu a {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.dropdown-submenu > a::after {
  content: "◀";
  position: absolute;
  left: 10px;
  color: white;
}

/* Submenu (third level) styling */
.submenu {
  background: #0a1939;
  display: none;
  list-style: none;
  min-width: 200px;
  padding: 0;
  position: absolute;
  right: 100%;
  top: 0;
}

.dropdown-submenu:hover .submenu {
  display: block;
}

/* Base styles */
.premier-navbar {
  background-color: rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 1000;
  font-family: Arial, sans-serif;
}

.premier-nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.premier-nav-item {
  position: relative;
}

/* Main dropdown styling */
.premier-dropdown-menu {
  background: #0f6c95;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  display: block;
  list-style: none;
  min-width: 250px;
  opacity: 0;
  padding: 8px 0;
  position: absolute;
  right: 0;
  top: 100%;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  visibility: hidden;
  z-index: 1001;
  border-radius: 4px;
}

.premier-dropdown:hover .premier-dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.premier-dropdown-item {
  position: relative;
  width: 100%;
}

.premier-dropdown-link {
  color: white;
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  transition: background-color 0.2s ease;
  position: relative;
  border-left: 3px solid transparent;
}

.premier-dropdown-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 3px solid #3498db;
}

/* Submenu indicator */
.premier-has-submenu > .premier-dropdown-link::before {
  content: "\f0d9"; /* Unicode for fa-caret-left */
  font-family: "Font Awesome 6 Free"; /* Ensure correct Font Awesome version */
  font-weight: 900; /* Needed for solid icons */
  position: absolute;
  left: 5px;
  color: white;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.premier-has-submenu:hover > .premier-dropdown-link::before {
  opacity: 1;
  transform: translateX(-3px);
}

/* Submenu (third level) styling */
.premier-submenu {
  background: #0f6c95;
  border-radius: 4px;
  box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.2);
  display: block;
  list-style: none;
  min-width: 250px;
  opacity: 0;
  padding: 8px 0;
  position: absolute;
  right: 100%;
  top: 0;
  transform: translateX(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  visibility: hidden;
  z-index: 1002;
}

.premier-has-submenu:hover .premier-submenu {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}

.premier-submenu-link {
  color: white;
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  transition: background-color 0.2s ease, padding 0.2s ease;
  border-left: 2px solid transparent;
}

.premier-submenu-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  padding-left: 25px;
  border-left: 3px solid #3498db;
}

/* Dropdown toggle icon */
.premier-dropdown-toggle::after {
  content: "\f0d7"; /* Unicode for fa-caret-down */
  font-family: "Font Awesome 6 Free"; /* Ensure correct Font Awesome version */
  font-weight: 900; /* Needed for solid icons */
  display: inline-block;
  font-size: 0.7em;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.premier-dropdown:hover .premier-dropdown-toggle::after {
  transform: rotate(180deg);
}

/* Responsive styles */
@media (max-width: 768px) {
  .premier-nav-links {
    flex-direction: column;
  }

  .premier-dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    display: none;
    opacity: 1;
    transform: none;
  }

  .premier-dropdown.active .premier-dropdown-menu {
    display: block;
    visibility: visible;
  }

  .premier-submenu {
    position: static;
    width: 100%;
    box-shadow: none;
    display: none;
    opacity: 1;
    transform: none;
    padding-left: 20px;
  }

  .premier-has-submenu.active .premier-submenu {
    display: block;
    visibility: visible;
  }

  .premier-has-submenu > .premier-dropdown-link::before {
    content: "\f0d7"; /* Unicode for fa-caret-down */
    font-family: "Font Awesome 6 Free"; /* Ensure correct Font Awesome version */
    font-weight: 900; /* Required for solid icons */
    position: absolute;
    right: 15px;
  }
}

/* side bar  */

/* Add this to your existing CSS */

/* Sidebar Dropdown */
.sidebar-dropdown {
  position: relative;
}

.sidebar-dropdown .dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-dropdown .dropdown-toggle i {
  transition: transform 0.3s ease;
}

.sidebar-dropdown.active .dropdown-toggle i {
  transform: rotate(180deg);
}

.sidebar-submenu {
  list-style: none;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.sidebar-dropdown.active .sidebar-submenu {
  max-height: 1000px; /* Arbitrary large value */
}

.sidebar-submenu li a {
  padding-left: 40px;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.05);
}

/* Nested Submenu */
.sidebar-nested-dropdown {
  position: relative;
}

.sidebar-nested-dropdown .nested-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-nested-dropdown .nested-toggle i {
  transition: transform 0.3s ease;
}

.sidebar-nested-dropdown.active .nested-toggle i {
  transform: rotate(180deg);
}

.sidebar-nested-submenu {
  list-style: none;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.sidebar-nested-dropdown.active .sidebar-nested-submenu {
  max-height: 500px; /* Arbitrary large value */
}

.sidebar-nested-submenu li a {
  padding-left: 60px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.02);
}

/* Animation effects */
.sidebar-submenu li,
.sidebar-nested-submenu li {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.sidebar-dropdown.active .sidebar-submenu li,
.sidebar-nested-dropdown.active .sidebar-nested-submenu li {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered animation for menu items */
.sidebar-submenu li:nth-child(1) {
  transition-delay: 0.05s;
}
.sidebar-submenu li:nth-child(2) {
  transition-delay: 0.1s;
}
.sidebar-submenu li:nth-child(3) {
  transition-delay: 0.15s;
}
.sidebar-submenu li:nth-child(4) {
  transition-delay: 0.2s;
}
.sidebar-submenu li:nth-child(5) {
  transition-delay: 0.25s;
}
.sidebar-submenu li:nth-child(6) {
  transition-delay: 0.3s;
}
.sidebar-submenu li:nth-child(7) {
  transition-delay: 0.35s;
}
.sidebar-submenu li:nth-child(8) {
  transition-delay: 0.4s;
}
.sidebar-submenu li:nth-child(9) {
  transition-delay: 0.45s;
}

.sidebar-nested-submenu li:nth-child(1) {
  transition-delay: 0.1s;
}
.sidebar-nested-submenu li:nth-child(2) {
  transition-delay: 0.15s;
}

#sticky-investor .premier-dropdown-menu a {
  color: #fff !important;
  letter-spacing: unset !important;
}

@media screen and (max-width: 768px) {
  .nav-upper-strip {
    display: none;
  }
}

.nav-upper-strip {
 background: linear-gradient(180deg, #176B96, #176B96);
  color: #fff; 

  padding: 5px 10px;
  text-align: center;
  border-bottom: 1px solid #778C9E;

  font-size: 14px;
} 

.contact-info {
  display: flex;
  justify-content: space-around;
  font-weight: 500;

  gap: 20px;
}

.contact-info i {
  margin-right: 5px;
  color: #fff; /* Green color for icons */
}
