/* Desktop */
.l2-dropdown-wrap {
  display: none;
}

.l2-filter {
  width: 100%;
  position: relative;
  padding: 0px 100px;
  background: #f8fafc;
  border-radius: 20px;
  box-shadow:
    0 10px 10px rgba(37, 55, 97, 0.06),
    0 20px 25px rgba(37, 55, 97, 0.07),
    0 0 10px rgba(37, 55, 97, 0.02);
  border: 2px solid #dbeafe;
  margin-bottom: 20px;
}

.l2-filter .swiper-slide {
  height: initial;
}

.l2-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px 20px;
  background: transparent;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  text-align: center;
  border: 0;
  height: 100%;
}

.l2-item:hover {
  background: #4165BA;
  color: #FFFFFF;
}

.l2-item.active {
  background: #4165BA;
  color: #FFFFFF;
  font-weight: 600;
}

.l2-item.active .slider-icon img, .l2-item:hover .slider-icon img  {
  filter: brightness(0) invert(1);
}

.slider-icon {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.slider-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter 0.25s ease;
}

.l2-item .title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: #253761;
  white-space: normal;
  word-break: break-word;
}

.l2-item.active .title, .l2-item:hover .title {
  color: var(--e-global-color-ec6316a);
  font-weight: 600;
}

/* Navigation arrows */
.l2-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(37, 55, 97, 0.15);
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
}

.l2-nav:hover:not(.swiper-button-disabled) {
  background: #f1f5f9;
  box-shadow: 0 6px 16px rgba(37, 55, 97, 0.2);
}

.l2-nav.swiper-button-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.l2-arrow-path {
  fill: #253761;
  transition: fill 0.25s ease;
}

.l2-nav.swiper-button-disabled .l2-arrow-path {
  fill: #85a3ea;
}

.l2-prev {
  left: 32px;
}

.l2-next {
  right: 32px;
}

.l2-nav::after {
  content: "";
  display: none;
}

.l2-prev::after {
  display: none;
}

.l2-next::after {
  display: none;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0;
  margin-top: 20px;
}

.solutions-grid .solution-card {
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
}

.solutions-grid .ast-grid-common-col {
  padding-left: 0px;
  padding-right: 0px;
}

.l3-accordion {
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.l3-accordion-item {
  background: transparent;
  border-radius: 0;
  margin-bottom: 0;
  box-shadow: none;
  overflow: visible;
}

.l3-accordion-title {
  width: 100%;
  background: transparent;
  border: none;
  padding: 0px 0px !important;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--e-global-color-primary);
  transition: all 0.25s ease;
  border-radius: 8px;
  margin-bottom: 0px;
}

.l3-accordion-title:hover,
.l3-accordion-title:focus,
.l3-accordion-title:active {
  color: var(--e-global-color-primary);
  background: transparent;
}

.l3-accordion-item.active .l3-accordion-title {
  background: transparent;
}

.l3-accordion-content {
  display: none;
  padding: 0;
  background: transparent;
}

.l3-accordion-item.active .l3-accordion-content {
  display: block;
}

/* arrow */
.l3-accordion-arrow {
  width: 24px;
  height: 24px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  color: var(--e-global-color-primary);
}

.l3-accordion-arrow svg {
  width: 17px;
  height: 10px;
}

.l3-arrow-path {
  fill: var(--e-global-color-primary);
  transition: fill 0.25s ease;
}

.l3-accordion-item.active .l3-accordion-arrow {
  transform: rotate(180deg);
}

.assessment-btn {
  color: #ffffff;
  text-transform: capitalize;
}

.assessment-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.assessment-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  text-transform: capitalize;
  transition: all 0.25s ease;
  cursor: pointer;
  flex-wrap: wrap;
}

.assessment-btn:hover,
.assessment-btn:focus,
.assessment-btn:active {
  color: #ffffff;
  opacity: 0.85;
}

.assessment-btn img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.solution-card-content p:not(:last-child) {
  margin-bottom: 10px;
}

.solution-card-content ul,
ol {
  margin: 0 0 10px 16px;
}

#l3-results-wrapper.loading {
    opacity: .5;
    pointer-events: none;
}

#l3-results-wrapper {
    position: relative;
    min-height: 200px;
}

.l3-spinner {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.spinner {
    width: 44px;
    height: 44px;
    border: 4px solid #ddd;
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


@media (max-width: 1024px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .l3-accordion-title {
    font-size: 16px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .l2-slider-wrap {
    display: none;
  }

  .l2-filter {
    padding: 12px 16px;
  }

  .l2-dropdown-wrap {
    display: block;
    width: 100%;
  }

  .l2-dropdown {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #dbeafe;
    font-size: 16px;
    background: #ffffff;
    color: #253761;
    font-weight: 500;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23253761' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(37, 55, 97, 0.08);
    transition: all 0.25s ease;
  }

  .l2-dropdown:focus {
    outline: none;
    border-color: #327abc;
    box-shadow: 0 4px 12px rgba(37, 55, 97, 0.15);
  }

  .l2-dropdown option {
    padding: 10px;
    background: #ffffff;
    color: #253761;
  }
}
