/* IT Consulting India Page - Fix entry-header margin */
.post-9164 .entry-header {
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 40px;
  padding-bottom: 20px;
  box-sizing: border-box;
  width: 100%;
}

/* Fix mega menu dropdown bleed-through */
#mega-menu-wrap-menu-1 #mega-menu-menu-1 li.mega-menu-item .mega-sub-menu {
  background-color: #ffffff !important;
  background: #ffffff !important;
  z-index: 99999 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
  border: 1px solid #e8e8e8 !important;
}

/* Dropdown links */
#mega-menu-wrap-menu-1 #mega-menu-menu-1 li.mega-menu-item .mega-sub-menu li a {
  background-color: #ffffff !important;
  color: #111111 !important;
}

/* Hover effect */
#mega-menu-wrap-menu-1 #mega-menu-menu-1 li.mega-menu-item .mega-sub-menu li a:hover {
  background-color: #f9fafb !important;
  color: #000000 !important;
}

/* Mobile / tablet fix */
@media (max-width: 1024px) {
  #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > ul.mega-sub-menu {
    position: absolute !important;
    width: auto !important;
    background-color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
  }
}

/* Mega menu dropdown fix */
.elementor-element {
    overflow: visible !important;
}
.elementor-location-header,
.elementor-nav-menu--dropdown,
.elementor-nav-menu {
    overflow: visible !important;
}
.elementor-element.elementor-element-edit-mode {
    overflow: visible !important;
}

/* Fix services description text overflow */
.post-9164 .elementor-icon-list-text span,
.post-9164 .elementor-icon-list-text {
  padding-right: 12px;
  box-sizing: border-box;
}

/* Fix Cybersecurity mega menu description text overflow */
#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > ul.mega-sub-menu .mega-description-group .mega-menu-description {
  width: auto !important;
  padding-right: 12px !important;
  white-space: normal !important;
  word-wrap: break-word !important;
}

/* =====================================================
   FIX: Remove gap between heading and description
   ===================================================== */

/* Remove all spacing from the menu link (heading) */
li.mega-menu-item a.mega-menu-link {
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1.3 !important;
}

/* Remove top spacing from description */
li.mega-menu-item .mega-menu-description {
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1.4 !important;
}

/* Remove extra spacing between each menu item */
li.mega-menu-item {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

/* Target the description group wrapper */
li.mega-menu-item .mega-description-group {
  margin: 0 !important;
  padding: 0 !important;
}

/* Fix icon alignment inside circles - stronger fix */
.elementor-icon-box-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.elementor-icon-box-icon .elementor-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.elementor-icon-box-icon .elementor-icon i {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    position: static !important;
}

.elementor-icon-box-icon .elementor-icon svg {
    display: block !important;
    margin: auto !important;
    position: static !important;
}

/* Fix Digital Transformation icon position in mega menu */
.mega-nav-icon-wrapper img {
    margin-top: 0 !important;
}

