.lm-aboutus {
  position: relative;
  z-index: 1;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 60px 0;
  /* margin-top: 120px; */
  /* Espacio para el formulario superpuesto */
}

/* Form Wrapper - Superpuesto en el borde superior */
.lm-aboutus__form-wrapper {
  position: absolute;
  top: -150px;
  /* Mitad del formulario fuera del contenedor */
  left: 0;
  right: 0;
  z-index: 1000 !important;
}

/* Form Card */
.lm-aboutus__form-card {
  padding: 32px !important;
  border-radius: 24px !important;
  background-color: white;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
}

/* Form Grid */
.lm-aboutus__form-grid {
  margin: 0 !important;
}

/* Form Input */
.lm-aboutus__form-input {
  /* Estilos base para los inputs */
}

/* Form Button Wrapper */
.lm-aboutus__form-btn-wrapper {
  display: flex !important;
  align-items: center !important;
}

/* Form Button */
.lm-aboutus__form-btn {
  height: 56px !important;
  font-weight: bold !important;
  background: var(--logicmind-accent) !important;
  border-radius: 50px !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 0 32px 0 24px !important;
  box-shadow: 0 4px 15px rgba(253, 189, 18, 0.4) !important;
}

.lm-aboutus__form-btn-text {
  position: relative;
  z-index: 1;
}

.lm-aboutus__form-btn-arrows {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: -2px;
  transition: transform 0.3s ease;
}

.lm-aboutus__form-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(244, 151, 45, 0.6) !important;
}

.lm-aboutus__form-btn:hover .lm-aboutus__form-btn-arrows {
  transform: translateX(4px);
}

/* About Us - Container */
.lm-aboutus__container {
  width: 100%;
}

/* About Us - Stack */
.lm-aboutus__stack {
  width: 100%;
  gap: 16px;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

/* Stack variants for order control */
.lm-aboutus__stack--image-first {
  flex-direction: row;
}

.lm-aboutus__stack--content-first {
  flex-direction: row-reverse;
}

/* About Us - Image Wrapper */
.lm-aboutus__image-wrapper {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* About Us - Image */
.lm-aboutus__image {
  width: 130%;
  height: 600px;
  border-radius: 8px;
  margin-left: -20%;
  margin-top: -20%;
}

/* About Us - Overlay */
.lm-aboutus__overlay {
  background-color: #fff;
  position: absolute;
  top: -12%;
  left: -14%;
  width: 104%;
  height: 90.5%;
  overflow-y: scroll;
  overflow-x: hidden;
}

/* About Us - Content */
.lm-aboutus__content {
  width: 50%;
  min-height: 600px;
  font-size: 1.2rem;
  color: var(--logicmind-black);
}

/* Scrollbar styling for overlay */
.lm-aboutus__overlay::-webkit-scrollbar {
  width: 8px;
}

.lm-aboutus__overlay::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.lm-aboutus__overlay::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.lm-aboutus__overlay::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.5);
}

.lm-aboutus__card {
  background-color: #e2e0e0;
  padding: 24px;
  border-left: 3px solid var(--logicmind-primary);
  color: var(--logicmind-primary);
}

.lm-aboutus__learn-more-button {
  background: var(--logicmind-secondary) !important;
  color: var(--logicmind-white) !important;
  padding: 14px 32px;
  width: fit-content;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-top: 16px;
  z-index: 1;
}

.lm-aboutus__learn-more-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  transition: left 0.4s ease;
  z-index: -1;
}

.lm-aboutus__learn-more-button:hover {
  background: var(--logicmind-primary) !important;
  color: var(--logicmind-white) !important;
  transform: translateY(-2px);
}

.lm-aboutus__learn-more-button:hover::before {
  left: 0;
}

.lm-aboutus__learn-more-button:active {
  background: var(--logicmind-primary) !important;
  transform: translateY(0);
}

.lm-aboutus__card-description {
  color: var(--logicmind-black);
}

/* Pulse animation on load */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@media (max-width: 768px) {
  .lm-aboutus {
    /* margin-top: 250px; */
    /* Más espacio en móvil */
  }

  .lm-aboutus__form-wrapper {
    top: -350px;
    /* Ajuste para móvil */
  }

  .lm-aboutus__form-card {
    padding: 20px !important;
  }

  .lm-aboutus__stack {
    flex-direction: column !important;
  }

  .lm-aboutus__image-wrapper,
  .lm-aboutus__content {
    width: 100%;
  }

  .lm-aboutus__image-wrapper {
    position: relative;
  }

  /* About Us - Image */
  .lm-aboutus__image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    margin: 0;
    padding: 0;
  }

  /* About Us - Overlay */
  .lm-aboutus__overlay {
    background-color: #fff;
    position: absolute;
    top: 12.5%;
    left: 7.8%;
    width: 80.5%;
    height: 70.5%;
    overflow-y: scroll;
    overflow-x: hidden;
  }

  .lm-aboutus__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: auto;
    margin-top: 24px;
    color: var(--logicmind-black);
  }
}
