.embla .subheading {
  font-size: 18px !important;
}
.embla {
  max-width: 90%;
  margin: auto;
  margin-bottom: 12px;
  --slide-height: 9rem;
  --slide-spacing: 1rem;
  --slide-size: 15%; /* Default slide size for larger screens */
}

.embla__viewport {
  overflow: hidden;
}

.embla__container {
  display: flex;
  touch-action: pan-y pinch-zoom;
  margin-left: calc(var(--slide-spacing) * -1);
}

.embla__slide {
  transform: translate3d(0, 0, 0);
  flex: 0 0 var(--slide-size);
  min-width: 0;
  padding-left: var(--slide-spacing);
}
.large-state{
  display: none !important;
}
.embla__slide__number {
  border-radius: 1rem;
  font-size: 4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--slide-height);
  user-select: none;
  background: #f5f5f5;
  color: #333;
}

/* Mobile (small devices) */
@media (max-width: 500px) {
  .embla {
    --slide-size: 60%; /* Larger slides for mobile */
  }
}

/* Tablet (medium devices) */
@media (min-width: 501px) and (max-width: 700px) {
  .embla {
    --slide-size: 40%; /* Medium slides for tablets */
  }
}

@media (min-width: 701px) and (max-width: 900px) {
  .embla {
    --slide-size: 30%; /* Medium slides for tablets */
  }
}
/* Laptop (large devices) */
@media (min-width: 901px) {
  .embla {
    --slide-size: 15%; /* Default slide size for laptops */
  }
}

/* Style for the card hover effect */
.card:hover h3 {
  color: white !important; /* Change the h3 text color to white on hover */
}

/* Reduce the gap between the list items (li) in the dropdown */
ul.shadow-box {
  padding-left: 0 !important;
  padding-right: 0 !important;
  column-count: 2 !important; /* Split the dropdown into two columns */
  column-gap: 10px !important; /* Adjust space between columns */
}

/* Remove margin and padding from individual list items */
ul.shadow-box > li {
  margin: 0 !important;
  padding: 5px 10px !important; /* Adjust padding as needed */
}

/* Reduce space between dropdown links */
ul.shadow-box > li > a {
  padding: 5px 0px !important; /* Adjust padding to reduce space between the links */
}

/* Adjust the space on hover (if needed) */
/* ul.shadow-box > li:hover {
    background-color: #f1f1f1 !important;
} */

/* Ensure no extra margin on submenus */
ul.shadow-box .dropdown-submenu {
  margin: 0 !important;
}

/* Optional: Make sure submenu links also have reduced space */
ul.shadow-box .dropdown-submenu > a {
  padding: 5px 10px !important; /* Adjust padding for the submenu links */
}

/* Media query for small screens, ensuring proper alignment */
@media (max-width: 768px) {
  ul.shadow-box {
    column-count: 1 !important; /* Make it a single column on smaller screens */
  }
}
/* Style for the parent dropdown */
.dropdown-submenu {
  position: relative; /* Ensure submenu positioning is relative to this parent */
}

@media screen and (max-width: 1200px) {
  .dropdown .big-menu {
    display: none !important;
  }
}
@media screen and (min-width: 1200px) {
  .dropdown .small-menu {
    display: none !important;
  }
  /* General styles for the dropdown */
  .shadow-box {
    position: absolute;
    top: 0;
    left: -100% !important; /* Default position for dropdown (to the right) */
    margin-top: -1px;
    display: none;
  }

  /* Show the nested dropdown when hovering over its parent */
  .dropdown-submenu:hover > .shadow-box {
    display: block;
  }

  /* Adjust the nested dropdown position to the left */
  .dropdown-submenu .shadow-box {
    left: auto; /* Reset the default left position */
    right: 100%; /* Position the dropdown to the left */
    top: 0;
  }

  /* Dropdown menu link styles */
  .dropdown-submenu > a {
    padding: 10px;
    color: #333;
    text-decoration: none;
    display: block;
    background-color: #f9f9f9;
  }

  /* .dropdown-submenu > a:hover {
    background-color: #e9e9e9;
} */

  /* Nested dropdown shadow and spacing adjustments */
  .shadow-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
}
/* Show the nested dropdown when the parent is hovered */
.dropdown-submenu:hover > .shadow-box {
  display: block;
}

/* Optional: Style for hovering over nested menu items */
/* .dropdown-submenu > .shadow-box > li > a:hover {
    background-color: #f1f1f1;
} */
/* Position the submenu to the left of the parent item */
.dropdown-submenu > .shadow-box {
  position: absolute !important;
  right: 100% !important; /* Open to the left */
  top: 0 !important; /* Align with top of the parent item */
  z-index: 9999 !important; /* Ensure it is above other content */
  display: none !important; /* Initially hidden */
}

/* Display the nested menu on hover */
.dropdown-submenu:hover > .shadow-box {
  display: block !important;
}

/* Optional: Style for hovering over nested menu items */
/* .dropdown-submenu > .shadow-box > li > a:hover {
    background-color: #f1f1f1 !important;
} */



.page-wrapper {
  overflow: visible !important;
  /* overflow: hidden; */
}
.sidebar{
  position: sticky;
  top: 100px;
}
@media (min-width: 1535px){
  .services-two__tab-box .tab-buttons{
    margin-left: 1%;
  }
}
.large-menu{
  display: none !important;
}
.about-one__counter{
  display: block  ;
}
@media (max-width: 767px){
  .about-one__counter{
    display: none;
  }
  .about-one{
    padding-top: 10px;
  }
}