



.mega-menu {
  width: 100vw;
  left: 0;
  right: 0;
  padding: 20px;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.menu-left {
  width: 200px;
  border-right: 1px solid #eee;
  padding-right: 20px;
}

.menu-right {
  flex: 1;
  padding-left: 20px;
  width: 32%;
}
/* Base styles for dropdown content */
.content-section {
  display: none;
  position: relative;
  margin-top: 0; /* Default to no margin */
}

/* Active dropdown */
.content-section.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
  .content-section {
      position: absolute; /* Positioned relative to its parent container */
      width: 100%; /* Full width of parent container */
      z-index: 10; /* Ensure it appears above other elements */
      background-color: #fff; /* Optional: background color for better visibility */
  }
}

/* Optional: Add fade-in effect for better UX */
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(-10px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.product-item, .solution-item {
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 4px;
  margin-bottom: 15px;
}

.product-item img, .solution-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.navbar-nav .dropdown-menu {
  display: none;
}

.nav-item:hover .dropdown-menu {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0;
  border: none;
  box-shadow: none;
  width: 1291px;
}
.nav-item1:hover .dropdown-menu{
  display: block;
  position: absolute;
  top: 100%;
  left: -93px;
  right: 0;
  margin-top: 0;
  border: none;
  box-shadow: none;
  width: 833px;
}

.h6, h6 {
  font-size: 1rem;
  font-weight: bold;
}
.dropdown-item {
  padding: 10px 20px;
  color: #333;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #007bff;
}
.menu-left {
  width: 250px;
  border-right: 1px solid #eee;
  padding-right: 20px;
}

.menu-right {
  flex: 1;
  padding-left: 20px;
}

.dropdown-item {
  padding: 10px 15px;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item.active {
  background-color: #f8f9fa;
  color: #007bff;
}

.product-item {
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 4px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.product-item:hover {
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


.content-section {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.content-section.active {
  display: block;
  opacity: 1;
  
}

.product-item {
  text-align: center;
  width: 100%;
  height: 93%;
  max-width: 306px;
}

h2 {
  margin-bottom: 20px;
}

.crm-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: start;
}

.crm-links a {
  text-decoration: none;
  color: #333;
  padding:0px;
}

.col-md-3-1 {
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
  max-width: 33%;
}

.crm-links a:hover {
  color: #007bff;
}
.row1{
  display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -159px;
    margin-left: -15px;
    width: 87%;
}

.col-md-2 {
  -ms-flex: 0 0 16.666667%;
  flex: 0 0 16.666667%;
  max-width: 30.666667%;
}

/* ... (rest of your existing CSS) ... */
 a{
    color:black;
    text-decoration: none;
    background-color: transparent;
}

.product-column {
  display: flex;
  flex-direction: row; /* Aligns items vertically in a column */
  align-items: center; /* Centers items horizontally */
  gap: 20px; /* Adds spacing between items */
}



.product-item-link {
  text-decoration: none;
  color: inherit;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
  /* Hamburger Menu Icon */
  .navbar-toggler {
      display: block;
  }

  /* Mobile Navigation */
  .navbar-collapse {
      position: fixed;
      top: 60px; /* Adjust based on your navbar height */
      left: 0;
      width: 100%;
      height: calc(100vh - 60px);
      background: white;
      overflow-y: auto;
      transition: all 0.3s ease;
      display: none;
  }

  .navbar-collapse.show {
      display: block;
  }

  /* Mega Menu Mobile Styles */
  .mega-menu {
      width: 100%;
      position: static;
      padding: 0;
      box-shadow: none;
  }

  /* Flex Direction for Mobile */
  .d-flex {
      flex-direction: column !important;
  }

  /* Left Menu Mobile Styles */
  .menu-left {
      width: 100%;
      border-right: none;
      padding: 0;
  }

  .menu-left .dropdown-item {
      position: relative;
      padding: 15px;
      border-bottom: 1px solid #eee;
  }

  /* Add toggle icons */
  .menu-left .dropdown-item::after {
      content: '+';
      position: absolute;
      right: 15px;
      top: 50%;
      transform: translateY(-50%);
      transition: transform 0.3s ease;
  }

  .menu-left .dropdown-item.active::after {
      content: '-';
      transform: translateY(-50%);
  }

  /* Right Content Mobile Styles */
  .menu-right {
      padding: 15px;
      display: flex;
  }

  .menu-right.show {
      display: block;
  }

 /* Default styles */
.content-section {
  display: none;
  position: absolute;
  width: 100%;
  z-index: 100;
}

.content-section.active {
  display: block;
}

/* Desktop styles */
@media screen and (min-width: 769px) {
  .content-section {
    position: absolute;
    top: 0;
    left: 0;
  }
}

/* Mobile styles */
@media screen and (max-width: 768px) {
  .content-section {
    position: relative;
    margin-top: 0 !important; /* Override inline styles */
  }
  
  .content-section.active {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
  }
}


  /* Product Items Mobile Styles */
  .product-item {
      margin-bottom: 15px;
      border: 1px solid #eee;
  }

  .row {
      margin: 0;
  }

  .col-md-4 {
      padding: 0;
      margin-bottom: 15px;
  }

  /* Dropdown Menu Mobile Styles */
  .nav-item {
      position: static;
  }
  .h6, h6 {
    font-size: 1rem;
    font-weight: bold;
  }

  .nav-item .dropdown-menu {
      position: static !important;
      transform: none !important;
      padding: 0;
      border: none;
      box-shadow: none;
      display: none;
  }
  

  .nav-item.show .dropdown-menu {
      display: block;
  }

  /* Main Navigation Items */
  .nav-link {
      padding: 15px;
      border-bottom: 1px solid #eee;
      position: relative;
  }

  .nav-link::after {
      content: '+';
      position: absolute;
      right: 15px;
      top: 50%;
      transform: translateY(-50%);
  }

  .nav-link.active::after {
      content: '-';
  }
}

@media (max-width: 768px) {
  .nav-item1:hover .dropdown-menu {
      position: static; /* Stays in the normal flow */
      width: 100%; /* Takes up the full width of the viewport */
      margin-top: 0; /* Optional: can add spacing if needed */
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional: for visibility */
  }
}


