/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  background: transparent;
  transition: all 0.3s ease;
}

/* header.scrolled { */
/* background: white !important; */
/* /* Ensure override */ */
/* box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1); */
/* } */

.navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar-nav .nav-link {
  color: #333 !important;
  font-weight: 500;
  padding: 0.75rem 1rem !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: white !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.signLink
{
  color: #333 !important;
  font-weight: 500;
  padding: 0.75rem 1rem !important;
  transition: color 0.3s ease;
}

.signLink:hover {
  color: white !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.btn-contact {
  background: white;
  border: 1px solid #e5e7eb;
  color: #333;
  border-radius: 25px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-contact:hover {
  background: #f8f9fa;
  border-color: #f59e0b;
  color: #f59e0b;
}

.megamenu {
  position: absolute;
  top: 80%;
  left: 60%;
  transform: translateX(-50%) translateY(-10px);
  width: 900px;
  max-width: 95vw;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border: 1px solid #e5e7eb;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  margin-top: 8px;
  pointer-events: auto;
}

.nav-item.dropdown.position-static {
  position: static;
  /* Important for proper positioning */
}

.dropdown:hover .megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.megamenu-header {
  /* background: #f8f9fa; */
  /* padding: 20px 24px; */
  /* border-bottom: 1px solid #e5e7eb; */
  border-radius: 16px 16px 0 0;
}

.megamenu-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.megamenu-body {
  padding: 10px;
}

.category-section {
  margin-bottom: 24px;
}

.category-section:last-child {
  margin-bottom: 0;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 5px;
}

.category-icon {
  width: 32px;
  height: 32px;
  /* background: #fef3c7; */
  color: #d97706;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.category-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.product-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.featured-list {
  display: block;
  /* or display: initial */
  flex-direction: column;
  /* optional, if display: flex was being inherited */
}

.product-list li {
  margin-bottom: 10px;
}

.product-list a {
  color: #6b7280;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.5;
  transition: color 0.2s ease;
  /* white-space: nowrap; */
}

.product-list a:hover {
  color: #d97706;
  text-decoration: none;
}

.featured-sidebar {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  height: 100%;
}

.featured-sidebar h5 {
  margin: 0 0 16px 0;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.featured-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.featured-list li {
  margin-bottom: 12px;
}

.featured-list li:last-child {
  margin-bottom: 0;
}

.featured-list a {
  color: #6b7280;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.featured-list a:hover {
  color: #f59e0b;
  text-decoration: none;
}



/* Responsive */
@media (max-width: 991px) {
  .megamenu {
    width: 100%;
    left: 0;
    transform: none;
    border-radius: 0;
    margin-top: 0;
  }

  .dropdown:hover .megamenu {
    transform: none;
  }
}

@media (max-width: 768px) {
  .megamenu {
    display: none !important;
  }


}

/* Animation for background elements */
.bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.bg-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.bg-circle:nth-child(1) {
  width: 300px;
  height: 300px;
  background: #f59e0b;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.bg-circle:nth-child(2) {
  width: 200px;
  height: 200px;
  background: #3b82f6;
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.bg-circle:nth-child(3) {
  width: 150px;
  height: 150px;
  background: #10b981;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.dropdown-menu[data-bs-popper] {
  top: 100%;
  left: 50%;
  margin-top: var(--bs-dropdown-spacer);
}

.dropdown-toggle::after {
  display: none;
}

/*
.animation-section {
  padding: 40px 20px;
} */

.left-stack,
.right-sticky {
  flex: 1 1 500px;
  /* allow both to shrink but maintain min width */
  max-width: 600px;
  min-width: 300px;
}

.right-sticky {
  position: sticky;
  top: 80px;
}

/* .hero-img {
      box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    } */

/* Add this to your existing CSS */
body {
  position: relative;
}

/* Vertical lines container */
.vertical-lines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  display: none;
}

/* Individual lines */
.vertical-line {
  width: 1px;
  height: 100%;
  background-color: rgba(200, 200, 200, 0.3);
  /* Light grey with transparency */
  position: relative;
}

/* Left line */
.vertical-line:first-child {
  margin-left: 15%;
  /* Adjust this value to position the left line */
}

/* Right line */
.vertical-line:last-child {
  margin-right: 15%;
  /* Adjust this value to position the right line */
}

@media (min-width: 1200px) {}



/* Adjust for mobile */
@media (max-width: 768px) {
  .vertical-lines {
    display: none;
    /* Hide on mobile if desired */
  }
}

.hero .vertical-lines {
  display: none !important;
}



/* Add to your existing CSS */
.customer-text {
  position: relative;
}

.read-more {
  margin-top: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  color: var(--amber-500);
  width: max-content;
  text-decoration: none;
}

.read-more.expanded .arrow-icon {
  transform: rotate(90deg);
}

.arrow-icon {
  transition: transform 0.3s ease;
}

.customer-left {
  width: 550px;
}

@media screen and (max-width: 450px) {
  .customer-left {
    width: 100%;
  }
}

.text-preview {
  font-size: 1.02rem;
  font-weight: normal;
}

.full-text {
  font-size: 1.02rem;
  font-weight: 300;
  font-family: "HelveticaNeueCyr", sans-serif;
  line-height: 24px;
}

.customer-text {
  font-size: 1.02rem;
  font-weight: 300;
  font-family: "HelveticaNeueCyr", sans-serif;
  line-height: 24px;
}

.gap-30 {
  gap: 1rem;
}

.ps-4-7 {
  padding-left: 2.8rem;
}

/* Solutions Megamenu Styles */
.solutions-megamenu {
  position: absolute;
  top: 80%;
  left: 58%;
  transform: translateX(-50%) translateY(-10px);
  width: 800px;
  max-width: 95vw;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border: 1px solid #e5e7eb;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  margin-top: 8px;
  pointer-events: auto;
}

.nav-item.dropdown.position-static {
  position: static;
}

.dropdown:hover .megamenu,
.dropdown:hover .solutions-megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Solutions Megamenu Content */
.solutions-megamenu-body {
  padding: 0;
  display: flex;
  min-height: 400px;
}

.solutions-sidebar {
  width: 200px;
  background: #f8f9fa;
  border-radius: 16px 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.solutions-tab {
  margin-bottom: 8px;
  text-align: left;
  font-weight: 500;
  font-size: 14px;
  color: rgb(107, 114, 128);
  cursor: pointer;
  padding: 12px 16px;
  border-width: initial;
  border-style: none;
  border-color: initial;
  border-image: initial;
  background: transparent;
  transition: 0.3s;
  border-radius: 8px;
}

.solutions-tabs {
  display: flex;
  flex-direction: column;
}

.solutions-tab.active {
  /* background-color: #fef3c7; */
  color: #d97706;
}

.solutions-tab:hover:not(.active) {
  /* background: #fef3c7; */
  color: #d97706;
}

.solutions-content {
  flex: 1;
  padding: 24px;
}

.solutions-content h3 {
  margin: 0 0 24px 0;
  font-size: 20px;
  font-weight: 600;
  color: #111827;
}

.industry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.industry-item {
  margin-bottom: 12px;
}

.industry-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 12px;
}

.industry-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.industry-item li {
  margin-bottom: 6px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
}

.industry-item li:last-child {
  margin-bottom: 0;
}

/* Organization content (hidden by default) */
.organization-content {
  display: none;
}

.organization-content.active {
  display: block;
}

.organization-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.organization-item {
  margin-bottom: 12px;
}

.organization-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 12px;
}

.organization-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.organization-item li {
  margin-bottom: 6px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 991px) {

  .megamenu,
  .solutions-megamenu {
    width: 100%;
    left: 0;
    transform: none;
    border-radius: 0;
    margin-top: 0;
  }

  .dropdown:hover .megamenu,
  .dropdown:hover .solutions-megamenu {
    transform: none;
  }

  /* .hero h1 {
    font-size: 3rem;
  } */
}

@media (max-width: 768px) {

  .megamenu,
  .solutions-megamenu {
    display: none !important;
  }

  /* .hero {
    padding-top: 80px;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  } */

  .solutions-megamenu-body {
    flex-direction: column;
  }

  .solutions-sidebar {
    width: 100%;
    border-radius: 16px 16px 0 0;
  }

  .industry-grid,
  .organization-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Style for clickable industry/organization headings */
.industry-link,
.organization-link {
  text-decoration: none;
  /* Remove underline */
  color: inherit;
  /* Inherit text color from parent */
  display: block;
  /* Ensure full clickable area */
}

.industry-link:hover h4,
.organization-link:hover h4 {
  color: #f59e0b;
  /* Change color on hover (blue) */
  text-decoration: underline;
  /* Optional: Add underline on hover */
}

/* Enable hover-based dropdowns */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
  /* Remove any unwanted gap */
}

/* Smooth transitions */
.dropdown-menu {
  transition: all 0.3s ease;
}

/* Mobile behavior (optional) */
@media (max-width: 991.98px) {
  .nav-item.dropdown .dropdown-menu {
    display: none !important;
    /* Force click on mobile */
  }

  .nav-item.dropdown.show .dropdown-menu {
    display: block !important;
  }
}


@media (min-width: 1280px) and (max-height: 720px) {
  .vertical-line:first-child {
    margin-left: 8%;
  }
}

@media (min-width: 1536px) and (max-height: 864px) {


  .vertical-line:first-child {
    margin-left: 8%;
  }
}

@media (min-width: 1536px) and (max-height: 864px) {
  .vertical-line:first-child {
    margin-left: 9%;
  }
}

@media (min-width: 1400px) and (max-width: 1599px) {
  .vertical-line:first-child {
    margin-left: 12%;
  }


  /* Right line */
  .vertical-line:last-child {
    margin-right: 16%;
    /* Adjust this value to position the right line */
  }


}

@media (min-width: 1600px) {
  .vertical-line:first-child {
    margin-left: 16%;
  }


}

@media (min-width: 1366px) and (max-height: 768px) {
  .vertical-line:first-child {
    margin-left: 16%;
  }


}



.btn-contact {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
  display: flex;
  align-items: center;
}

.btn-contact img {
  margin-left: 4px;
  margin-right: 0;
  padding: 0;
  vertical-align: middle;
  width: 1rem;
  height: auto;
}



/* Add these styles to your existing CSS */
.featured-sidebar {
  position: relative;
}

.featured-list a {
  display: block;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.featured-list a.active,
.featured-list a:hover {
  /* background-color: #fef3c7; */
  color: #d97706;
  font-weight: 500;
}

#selected-category-container .category-section {
  margin-bottom: 20px;
}

/* Smooth transitions */
#categories-left-column,
#categories-right-column,
#selected-category-container {
  transition: all 0.3s ease;
}

/* Resource List Styles */
.resource-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.resource-list a {
  font-weight: 600;
  color: #111827;
  font-size: 14px;
}

.resource-list li {
  margin: 0;
  break-inside: avoid;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}


.resource-icon {
  width: 32px;
  height: 32px;
  /* background: #fef3c7; */
  color: #d97706;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* Adjust megamenu width */
.resources-megamenu {
  width: 600px;
}

/* Partner Megamenu */
.partner-megamenu {
  width: 550px;
  left: 83%;
}

.partner-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.partner-list li {
  margin-bottom: 12px;
}

.partner-list li:last-child {
  margin-bottom: 0;
}


.dropdown-item:hover {
  /* background-color: #fef3c7; */
  color: #d97706;
}

.partner-icon {
  width: 40px;
  height: 40px;
  /* background: #fef3c7; */
  color: #d97706;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.partner-title {
  font-weight: 600;
  color: #111827;
  font-size: 14px;
}

.partner-title:hover {
  color: #d97706;
}

.partner-desc {
  color: #6b7280;
  font-size: 12px;
  margin-top: 2px;
}

/* Contact Megamenu */
.contact-megamenu {
  width: 350px;
  right: 0;
  left: -200px;
  transform: translateY(-10px);
  top: 120%;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  margin-bottom: 12px;
}

.contact-list li:last-child {
  margin-bottom: 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.contact-icon {
  width: 40px;
  height: 40px;
  /* background: #fef3c7; */
  color: #d97706;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-title {
  font-weight: 600;
  color: #111827;
  font-size: 14px;
}

.contact-title:hover {
  color: #d97706;
}

.contact-desc {
  color: #6b7280;
  font-size: 12px;
  margin-top: 2px;
}

/* Show menu on hover */
.dropdown:hover .contact-megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* .contact-megamenu ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
} */

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}


/*  New dropdown Rotation */
.dropdown-arrow {
  transition: transform 0.3s ease;
}

.nav-item.dropdown.show .dropdown-arrow,
.nav-item.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.btn-rotate.show .dropdown-arrow,
.btn-rotate:hover .dropdown-arrow {
  transform: rotate(180deg);
}


/*********** DASHBOARD MODAL *************/
.modal {
  z-index: 1050;
  overflow-x: hidden;
  overflow-y: hidden;
}

.modal-backdrop.show {
  background-color: rgba(0, 0, 0, 0.5);
  /* Dim only the background */
  z-index: 1040;
}

.modal-dialog {
  max-width: 95%;
  margin: 1.75rem auto;
  height: auto;
}

.modal-content {
  height: 90vh;
  overflow: auto;
}


.modal-body {
  flex: 1 1 auto;
  overflow: hidden;
  /* Prevent double scroll */
  padding: 0;
}

#dashboardFrame {
  width: 100%;
  height: 100%;
  border: none;
}


.customer-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  overflow: auto;
}

.modal-content-customer {
  background-color: #fff;
  margin: 5% auto;
  padding: 2rem;
  width: 90%;
  max-width: 600px;
  position: relative;
  border-radius: 8px;
  text-align: center;
}

.modal-close-customer {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

.modal-image-customer {
  max-width: 100px;
  height: auto;
  margin-bottom: 1rem;
}

.modal-title-customer {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.modal-designation-customer {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
}

.modal-full-text-customer {
  font-size: 1rem;
  line-height: 1.6;
}




/* Mobile Menu Styles */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 85%;
  max-width: 350px;
  height: 100%;
  background-color: #fff;
  z-index: 1000;
  overflow-y: auto;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.mobile-logo {
  height: 30px;
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.mobile-menu-content {
  padding: 15px;
}

.mobile-menu-accordion {
  margin-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.accordion-btn {
  width: 100%;
  text-align: left;
  padding: 15px 0;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  cursor: pointer;
}

.accordion-arrow {
  width: 12px;
  height: auto;
  transition: transform 0.3s ease;
}

.accordion-btn.active .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 15px;
}

.accordion-content.active {
  max-height: 1000px;
  padding-bottom: 15px;
}

.accordion-content a {
  display: block;
  padding: 10px 0;
  color: #333;
  text-decoration: none;
}

.accordion-content a.active {
  font-weight: bold;
}

.mobile-tabs {
  display: flex;
  margin-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.mobile-tab {
  padding: 8px 12px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.mobile-tab.active {
  font-weight: bold;
  border-bottom: 2px solid #007bff;
}

.mobile-tab-content {
  display: none;
}

.mobile-tab-content.active {
  display: block;
}

.mobile-contact-btn {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 15px;
  background-color: #007bff;
  color: white;
  text-align: center;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 1199.98px) {
  .nav-actions-wrapper {
    display: none !important;
  }

  .navbar-toggler {
    display: block !important;
  }
}

@media (min-width: 1200px) {

  .mobile-menu,
  .mobile-menu-overlay {
    display: none !important;
  }

  .nav-actions-wrapper {
    display: flex !important;
    align-items: center;
    gap: 15px;
  }

  .megamenu-scroll-container {
    max-height: 65vh;
    /* Adjust based on your needs */
    overflow-y: auto;
    display: flex;
  }
}

/* Nav container styles */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* padding: 15px; */
  position: relative;
}

/* Ensure proper z-index for dropdowns */
.megamenu {
  z-index: 1001;
}






/* mobile version */

@media (max-width: 991.98px) {
  .navbar {
    padding: 1rem;
    width: 100%;
  }

  .navbar>.container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
  }

  /* Hide the Bootstrap navbar collapse completely on mobile */
  .navbar-collapse {
    display: none !important;
  }

  /* Ensure the navbar toggler is visible and functional */
  .navbar-toggler {
    display: block !important;
    margin-left: auto;
    order: 2;
    border: none;
    padding: 0.5rem;
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5em;
    height: 1.5em;
  }

  /* Custom Mobile Menu Styles (accordion-like dropdown) */
  .mobile-menu {
    /* position: absolute; */
    /* Position relative to .nav-container */
    /* top: 100%; */
    /* Start below the main navbar */
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 1000;
    /* Ensure it's above other content */
    max-height: 0;
    /* Hidden by default */
    overflow: hidden;
    /* Crucial for the transition */
    visibility: hidden;
    /* Ensure it's not visible initially */
    transition: max-height 0.3s ease-out, box-shadow 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .mobile-menu.show {
    max-height: 100%;
    /* A large enough value to show all content */
    overflow-y: auto;
    /* Allow scrolling if content exceeds max-height */
    visibility: visible;
    /* Make it visible when shown */
  }

  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
  }

  .mobile-logo {
    height: 40px;
  }

  .mobile-menu-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
  }

  .mobile-menu-content {
    padding: 1rem;
  }

  .mobile-menu-accordion {
    border-bottom: 1px solid #eee;
    margin-bottom: 0.5rem;
  }

  .accordion-btn {
    width: 100%;
    padding: 1rem 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: #333;
  }

  .accordion-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
  }

  .accordion-btn.active .accordion-arrow {
    transform: rotate(180deg);
  }

  .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 1rem;
  }

  .accordion-content.active {
    max-height: 500px;
    /* Adjust as needed for content height */
    padding-bottom: 1rem;
  }

  .accordion-content a {
    display: block;
    padding: 0.5rem 0;
    color: #666;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
  }

  .accordion-content a:hover {
    color: #007bff;
  }

  .mobile-contact-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: #007bff;
    color: black;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 2rem;
    font-weight: 500;
    border: 1px solid #eee;
    border-radius: 20px;
  }

  .mobile-contact-btn:hover {
    background-color: #0056b3;
    color: white;
  }

  /* Mobile menu overlay */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    /* Below the mobile menu */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
  }

  .mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
  }

  /* /* Ensure navbar stays on top when scrolled */ */
  /* header.scrolled { */
  /* background: white !important; */
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
  /* } */
}

/* Keep desktop functionality intact */
@media (min-width: 992px) {

  /* Hide custom mobile menu and overlay on desktop */
  #customMobileMenu,
  .mobile-menu-overlay {
    display: none !important;
  }

  /* Ensure Bootstrap navbar collapse is visible on desktop */
  #navbarNav {
    display: flex !important;
    /* Or whatever Bootstrap's default is for navbar-expand-lg */
  }

  /* Hide the custom toggler on desktop */
  .navbar-toggler {
    display: none !important;
  }
}



.megamenu-scroll-container {
  max-height: 65vh;
  /* Adjust based on your needs */
  overflow-y: auto;
  display: flex;
}

/* For the featured sidebar */
.megamenu-scroll-container .featured-sidebar {
  height: 100%;
  position: sticky;
  top: 0;
}

/* For the main content */
.megamenu-scroll-container>.col-lg-8 {
  flex: 1;
}

/* Custom scrollbar styling (optional) */
.megamenu-scroll-container::-webkit-scrollbar {
  width: 8px;
}

.megamenu-scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.megamenu-scroll-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.megamenu-scroll-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}