/* custom-dev.css */

.button-hover .elementor-button {
  position: relative;
  border: none;
  background: transparent;
  color: #1f301a;
  padding-bottom: 10px;
}

.button-hover .elementor-button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #1f301a;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.button-hover .elementor-button.border-hide::after {
  transform: scaleX(0);
}

.error-button-hover .elementor-button {
  position: relative;
  border: none;
  background: transparent;
  color: #ffffff;
  padding-bottom: 10px;
}

.error-button-hover .elementor-button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #ffffff;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.error-button-hover .elementor-button.border-hide::after {
  transform: scaleX(0);
}

.elementor-widget-n-tabs .e-n-tab-title[aria-selected="true"],
.elementor-widget-n-tabs .e-n-tab-title[aria-selected="true"] a {
  font-weight: 400 !important;
}

.autoplay-tabs .e-n-tabs-heading {
  z-index: 2 !important;
  transform: translateY(-90px) !important;
}
.about-heading .elementor-heading-title i {
  font-weight: 400;
  font-family: "Playfair Display" !important;
}


.autoplay-tabs .e-n-tab-title.e-active .e-n-tab-title-text {
  font-weight: 500 !important;
}

.autoplay-tabs .e-n-tabs-content {
  position: relative;
  overflow: hidden;
  min-height: 300px;
}
.elementor-widget-n-tabs .e-n-tab-title[aria-selected="true"],
.elementor-widget-n-tabs .e-n-tab-title[aria-selected="true"] a {
  font-weight: 500 !important;
}


@media (max-width: 880px) {
  /* Make the tabs container a flex column */
  .autoplay-tabs.elementor-widget-n-tabs {
    display: flex;
    flex-direction: column;
  }

  /* Tab content comes first */
  .autoplay-tabs.elementor-widget-n-tabs .e-n-tabs-content {
    order: 1;
    display: block !important;
  }

  /* Tab heading comes after content */
  .autoplay-tabs.elementor-widget-n-tabs .e-n-tabs-heading {
    order: 2;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;
    overflow-x: auto;
    white-space: nowrap;
  }

  /* Individual tab titles */
  .autoplay-tabs.elementor-widget-n-tabs .e-n-tab-title {
    display: inline-flex !important;
    flex: 0 0 auto;
    /* margin-right: 10px;  */
  }

  /* Tab text styling */
  .autoplay-tabs.elementor-widget-n-tabs .e-n-tab-title-text {
    font-size: 14px;
  }
}
@media (max-width: 880px) {
  /* Make the tabs container a flex column */
  .custom-mobile-tabs.elementor-widget-n-tabs {
    display: flex;
    flex-direction: column;
  }

  /* Tab content comes first */
  .custom-mobile-tabs.elementor-widget-n-tabs .e-n-tabs-content {
    order: 1;
    display: block !important;
  }

  /* Tab heading comes after content */
  .custom-mobile-tabs.elementor-widget-n-tabs .e-n-tabs-heading {
    order: 2;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;
    overflow-x: auto;
    white-space: nowrap;
    transform: none !important;
  }

  /* Individual tab titles */
  .custom-mobile-tabs.elementor-widget-n-tabs .e-n-tab-title {
    display: inline-flex !important;
    flex: 0 0 auto;
    margin-right: 10px;
  }

  /* Tab text styling */
  .custom-mobile-tabs.elementor-widget-n-tabs .e-n-tab-title-text {
    font-size: 14px;
  }
}
