/* Scoped styles for section 3540780 and its child elements */
.elementor-element-3540780 {
  /* Section container styles (add or adjust as needed) */
  position: relative;
  box-sizing: border-box;
  width: 100%;
  padding: 0;
  margin: 0;
  margin-top: -109px;
  margin-bottom: 0px;
}

.elementor-element-3540780 > .elementor-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  height: 260px; /* Adjust as needed for your icons/text */
  max-width: 1170px;
  margin: 0 auto;
}

/* Force horizontal row layout for columns inside .elementor-row */
.elementor-element-3540780 .elementor-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  width: 100%;
}
.elementor-element-3540780 .elementor-column {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-sizing: border-box;
}
/* Remove margin and padding between image and text */
.elementor-element-3540780 .jet-inline-svg__wrapper {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.elementor-element-3540780 .elementor-heading-title {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Remove whitespace between inline-block divs by forcing flex children to fill space */
.elementor-element-3540780 .elementor-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  width: 100%;
}
.elementor-element-3540780 .elementor-column {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-sizing: border-box;
}

/* Remove any extra spacing from child divs */
.elementor-element-3540780 .elementor-column-wrap,
.elementor-element-3540780 .elementor-widget-wrap {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  width: 100%;
  box-sizing: border-box;
}

/* Remove any extra spacing from images and headings */
.elementor-element-3540780 img,
.elementor-element-3540780 .elementor-heading-title {
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-element-3540780 .elementor-element-5438df4 {
  /* Column styles */
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.elementor-element-3540780 .elementor-element-5438df4 > .elementor-column-wrap {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-element-3540780
  .elementor-element-5438df4
  > .elementor-column-wrap
  > .elementor-widget-wrap {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-element-3540780 .elementor-element-88b187a {
  /* Heading widget styles */
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: auto;
  border: 0;
  vertical-align: middle;
  text-align: center !important;
}

.elementor-element-3540780 .elementor-element-88b187a .elementor-heading-title {
  width: 100% !important;
  text-align: center !important;
  display: block !important;
}

.elementor-element-3540780 .elementor-element-88b187a .elementor-heading-title {
  width: 130px;
  font-size: 14px;
  font-weight: 300;
  font-family: "Montserrat", sans-serif;
  color: #fff;
  margin: 0;
  padding: 0;
  line-height: 1.857;
  text-align: center;
  text-transform: uppercase;
}

.elementor-element-3540780
  .elementor-element-88b187a
  > .tippy-popper
  .tippy-tooltip
  .tippy-content {
  text-align: center;
}

/* Match old img/svg wrapper rules for icons */
.elementor-element-3540780 .jet-inline-svg__wrapper {
  text-align: left;
}
.elementor-element-3540780
  .elementor-element-4dccde0
  > .tippy-popper
  .tippy-tooltip
  .tippy-content {
  text-align: center;
}

/* Ensure icons and text are centered and spaced well */
.elementor-element-3540780 .jet-inline-svg__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  margin-bottom: 16px;
}

.elementor-element-3540780 .elementor-heading-title {
  font-size: 16px;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
  color: #fff;
  margin: 0;
  padding: 0;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}

/* Ensure all text under images is perfectly centered in each box */
.elementor-element-3540780 .elementor-widget-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.elementor-element-3540780 .elementor-heading-title,
.elementor-element-3540780 .elementor-widget-container p {
  text-align: center !important;
  margin: 0 auto !important;
  width: 100%;
  display: flex;
}

/* Force all <p> inside .elementor-heading-title to be centered */
.elementor-element-3540780 .elementor-heading-title,
.elementor-element-3540780 .elementor-widget-container p,
.elementor-element-3540780 p.elementor-heading-title {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100%;
  display: block;
}

/* If heading is inside another container, center it too */
.elementor-element-3540780 .elementor-widget-heading {
  text-align: center !important;
}

/* Ensure all direct children of .elementor-widget-container are centered */
.elementor-element-3540780 .elementor-widget-container > * {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100%;
  display: block;
}

/* Remove any float or alignment from parent containers */
.elementor-element-3540780 .elementor-widget-container {
  text-align: center !important;
}

/* Make sure all columns have equal height */
.elementor-element-3540780 .elementor-element-5438df4 {
  min-height: 260px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .elementor-element-3540780 > .elementor-container {
    flex-wrap: wrap;
    height: auto;
  }
  .elementor-element-3540780 .elementor-element-5438df4 {
    min-width: 50%;
    min-height: 180px;
  }
  .elementor-element-3540780 .elementor-row {
    flex-wrap: wrap;
  }
  .elementor-element-3540780 .elementor-column {
    min-width: 50%;
    min-height: 180px;
  }
}
@media (max-width: 900px) {
  /* Make icon flex and resize with its own container */
  .elementor-element-3540780 .jet-inline-svg__wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: auto !important;
    margin: 0 auto 8px auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    flex: 1 1 auto !important;
  }
  .elementor-element-3540780 .jet-inline-svg__wrapper > svg,
  .elementor-element-3540780 .jet-inline-svg__wrapper > img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    flex: 1 1 auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
  }
  /* Ensure text stays grouped below icon */
  .elementor-element-3540780 .elementor-heading-title {
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
  }
  .elementor-element-3540780 > .elementor-container {
    flex-direction: column;
    height: auto;
  }
  .elementor-element-3540780 .elementor-element-5438df4 {
    min-width: 100%;
    min-height: auto !important;
  }
  .elementor-element-3540780 .elementor-row {
    flex-direction: column;
  }
  .elementor-element-3540780 .elementor-column {
    min-width: 100%;
    min-height: 120px;
  }

  /* Remove negative margin for mobile to prevent overlap */
  .elementor-element-3540780 {
    margin-top: 0 !important;
  }
}

/* Also target any <p> inside .elementor-element-88b187a */
.elementor-element-3540780 .elementor-element-88b187a p {
  text-align: center !important;
  margin: 0 auto !important;
  width: 100%;
  display: block;
}

/* Add more rules as needed for other child elements */

/* Force section 3540780 to be block and full width on mobile, with solid background */

@media (max-width: 900px) {
  /* Ultra-specific: Box container */
  .elementor-element-3540780,
  .elementor-element-3540780 > .elementor-container,
  .elementor-element-3540780 .elementor-row {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    background: none !important;
  }
  .elementor-element-3540780 .elementor-column,
  .elementor-element-3540780 .elementor-element-5438df4 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    min-height: 200px !important;
    height: 200px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    background: #6d6a2d !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10 !important;
  }
  /* Ultra-specific: Icon wrapper and icon */
  .elementor-element-3540780 .jet-inline-svg__wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 57px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  .elementor-element-3540780 .jet-inline-svg__wrapper > svg,
  .elementor-element-3540780 .jet-inline-svg__wrapper > img {
    display: block !important;
    width: 80px !important;
    max-width: 80px !important;
    height: 57px !important;
    margin-top: 5px !important;
    object-fit: contain !important;
    box-sizing: border-box !important;
  }
  /* Ultra-specific: Text under icon */
  .elementor-element-3540780 .elementor-heading-title,
  .elementor-element-3540780 .elementor-widget-container p,
  .elementor-element-3540780 .elementor-element-88b187a p {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    font-family: "Montserrat", sans-serif !important;
    color: #fff !important;
    line-height: 1.5 !important;
    text-transform: uppercase !important;
    box-sizing: border-box !important;
  }
  /* Hide spacers */
  .elementor-element-3540780 .elementor-widget-spacer {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}
