@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

.ourPlatform {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 40px;
  text-align: start;
  background-color: #fff;
}

.ourPlatform__box {
  flex: 1;
  padding: 20px;
  border-right: 1px solid #9b9b9b;
}

.ourPlatform-tabs {
  display: none; /* Hidden by default (desktop) */
}
.ourPlatform__image {
  width: 80px;
  height: auto;
  margin-bottom: 15px;
}

/* .ourPlatform__box {
  text-align: center;
  width: 100%;
} */

@media (max-width: 768px) {
  .ourPlatform-tabs {
    display: flex;
    justify-content: space-around;
    gap: 8px;
    margin-bottom: 16px;
    overflow-x: auto;
  }

  .ourPlatform-tab {
    /* flex: 1; */
    padding: 10px 12px;
    border: none;
    background-color: transparent;
    font-weight: 500;
    /* white-space: nowrap; */
    cursor: pointer;
    border-radius: 0px;
    padding-top: 0;
    transition: background-color 0.3s ease;
    color: #2d2d2d;
  }

  .ourPlatform-tab.active {
    /* background-color: #ffd700; */
    border-bottom: 6px solid #044472;
    color: #000;
  }

  .ourPlatform-content {
    display: block;
  }

  /* Hide the original grid/horizontal cards if needed */
  .ourPlatform__box {
    padding: 1rem;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }
  .ourPlatform__image {
    width: 150px !important;
    height: auto;
    margin-bottom: 12px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

.ourPlatform__box:last-child {
  border-right: none;
}

.ourPlatform__title {
  font-size: 18px;
  font-weight: 500;
  color: var(--color2D2D);
  margin-bottom: 10px;
}

.ourPlatform__description {
  font-size: 14px;
  font-weight: 300;
  color: var(--color2D2D);
  margin: 0;
}
@media screen and (max-width: 768px) {
  .ourPlatform {
    flex-direction: column;
    padding: 20px;
  }

  .ourPlatform__box {
    border-right: none;
    border-bottom: 1px solid #9b9b9b;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }

  .ourPlatform__box:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
}
