.edge-section {
  padding-top: 200px;
}

.edge-section .container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  align-items: stretch; /* Important to match heights */
}

.edge-section h2 {
  text-align: center;
  font-size: xx-large;
  font-family: "Philosopher", sans-serif;
  font-size: 2.25rem; 
  color: #00bfa5;
  margin-bottom: 1.875rem;
  font-weight: 400;
  font-style: normal;
}

.edge-section .info {
  max-width: 500px;
  padding-right: 60px;
  flex: 1;
}

.edge-section .media {
  max-width: 600px;
  flex: 1;
}

.edge-section .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.key-points {
  width: 100%;
  margin: 10% 0;
  background: linear-gradient(135deg, #00bfa5, #00aeef),
    radial-gradient(
      circle at top right,
      rgba(0, 174, 239, 0.8),
      transparent 70%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(0, 191, 165, 0.8),
      transparent 70%
    );
}
.key-points .section-keypoints {
  padding: 3rem;
  padding-top: 6rem;
  margin: 2rem;
}
.key-points .section-keypoints .keypoints {
  font-size: xx-large;
}

.card-points {
  gap: 5rem;
  width: 80%;
  height: auto;
  align-items: stretch;
}
.card-points h2 {
  font-family: "Philosopher", sans-serif;
  color: #00bfa5;
  margin-bottom: 10%;
  font-size: rem;
}
.card-points p::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  top: -20px;
  z-index: 10;
  background-color: black;
  opacity: 0.2;
}
.card-points h4 {
  color: #00bfa5;
  margin: 3% auto;
}
.card-in-points {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 10%;
  margin: 9% 13%;
  justify-items: center;
}

.card-child {
  width: 40%;
  padding: 1% 5%;
  padding-bottom: 30px;
  background-color: rgb(66, 66, 66);
  border-radius: 40px;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(0, 191, 165, 0.1),
    transparent
  );
  transition: 0.6s;
}
.card-child:hover::before {
  transform: translateX(100%);
}
.card-child:hover {
  transform: translateY(-0.5rem);
  background-color: #222;
  box-shadow: 0 0 1.25rem #00bfa5;
  cursor: pointer;
}

.card-child-head {
  display: flex;
}
.card-child-head svg {
  margin-top: 15px;
  margin-right: 20px;
}
@media (max-width: 900px) {
  .card-in-points {
    flex-direction: column;
    margin: 0 10%;
    justify-items: center;
  }
  .card-child {
    width: 100%;
    margin-bottom: 10%;
  }

}

@media (max-width: 786px) {
  .edge-section .container {
    margin-left: auto;
    margin-left: 5%;
    flex-direction: column-reverse;
  }
  .edge-section .container .info {
    padding-right: 0;
  }
}
