details#e-n-accordion-item-7180 .e-n-accordion-item-title {
  border: 0;
}

.carousel-wrapper {
  position: relative;
}

.blogcards {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding: 1rem;
  scroll-behavior: smooth;
}

.blogcards::-webkit-scrollbar {
  height: 0;
}

.blogcards::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 50px;
}

.blogcards::-webkit-scrollbar-thumb {
  background: #f6851f;
  border-radius: 50px;
}

.blogcards::-webkit-scrollbar-thumb:hover {
  background: #5667af;
}

.blogcard {
  flex: 0 0 25%;
  width: 25%;
  height: auto;
  margin: 0 0.5rem;
}

.blogimages {
  width: 100%;
  height: 200px;
  border-radius: 18px;
}

.blogheding {
  display: flex;
  color: #041717;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.blogheding h2 {
  width: 85%;
  font-weight: 600;
  letter-spacing: -0.56px;
  font-size: 27px;
}

.blogheding span {
  width: 15%;
}

.blogheding h2 a {
  color: #041717 !important;
}

.arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background-color: #fff;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  z-index: 2;
  display: flex;
}

.arrow svg {
  width: 32px;
  height: 32px;
  fill: #f6851f;
}

button.arrow:focus,
button.arrow:hover {
  color: #fff;
  background-color: #fff;
  text-decoration: none;
}

.arrow.left {
  left: -2.5rem;
}

.arrow.right {
  right: -2.5rem;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(150px, auto);
  grid-auto-flow: dense;
  gap: 20px;
  max-width: 1920px;
  width: 100%;
}

.card {
  background-image: linear-gradient(108deg, #909fdb 0%, #5667af 87%);
  color: #fff;
  padding: 20px;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center !important;
  min-height: 260px;
}

.card.open {
  background-image: linear-gradient(126deg, #f6851f 0%, #181c2e 100%);
  grid-column: span 2;
  transform: scaleX(1.01);
  padding-right: 60px !important;
  overflow: hidden;
}

.card.open::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/logobg.webp");
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 150px;
  z-index: 0;
  pointer-events: none;
}

.card h3 {
  margin: 0 0 5px;
  font-family: "SF Pro Rounded", sans-serif !important;
  font-size: 30px;
  font-weight: 600;
  color: #fff;
  position: relative;
  z-index: 1;
}

.card p {
  margin: 0 !important;
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.2em;
  color: #fff;
  font-family: "Segoe UI", sans-serif !important;
  position: relative;
  z-index: 1;
}

.card.open p {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.icon {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 24px;
  height: 24px;
  z-index: 1;
}

.icon svg {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.card.open .icon {
  transform: rotate(10deg);
}

.icon svg.active-icon path {
  fill: #f6851f !important;
}

.icon svg.icon path {
  fill: #000;
}

.shadow-box {
  height: 100%;
}

@media (min-width: 1910px) {
  .blogheding h2 a {
    font-size: 32px;
  }

  .blogcard p {
    font-size: 22px !important;
  }

  .blogimages {
    height: 335px;
  }

  .card h3 {
    font-size: 40px;
  }

  .card p {
    font-size: 22px !important;
  }

  .card {
    min-height: 360px;
  }

  .features-container {
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  .blogheding h2 a {
    font-size: 26px;
  }

  .blogcard p {
    font-size: 18px !important;
    line-height: 1.2em;
  }

  .blogcard {
    flex: 0 0 33.33%;
    width: 33.33%;
  }

  .arrow.left {
    left: -1.5rem;
  }

  .arrow.right {
    right: -1.5rem;
  }

  .card h3 {
    font-size: 28px;
  }

  .card p {
    font-size: 18px !important;
    line-height: 1.2em;
  }
}

@media (max-width: 992px) {
  .features-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .card.open {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .blogheding h2 a {
    font-size: 24px;
  }

  .blogcard p {
    font-size: 16px !important;
    line-height: 1.2em;
  }

  .blogcard {
    flex: 0 0 80.33%;
    width: 80.33%;
  }

  .arrow.left {
    left: -0.5rem;
  }

  .arrow.right {
    right: -0.5rem;
  }

  .card h3 {
    font-size: 26px;
  }

  .card p {
    font-size: 16px !important;
    line-height: 1.2em;
  }
}

@media (max-width: 576px) {
  .features-container {
    grid-template-columns: 1fr;
  }

  .card.open {
    grid-column: span 1;
    min-height: 20px !important;
  }

  .card {
    min-height: 20px !important;
  }
}
