.philosophy-section {
  min-height: 100vh;
  width: 100%;
  margin-top: 5rem;
  background-image: url("https://projects.synergynexa.com/ps/wp-content/uploads/2025/07/Layer-264-scaled.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  gap: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
}

.philosophy-section h2 {
  font-size: clamp(1.2rem, 3vw, 1.875rem);
  font-family: restore;
  font-weight: 700;
  color: #02afb8;
  letter-spacing: 2px;
  text-align: center;
}

.philosophy-container {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.philosophy-img {
  width: 33%;
}

.philosophy-img img {
  width: 100%;
  height: auto;
}

.left-box {
  position: absolute;
  left: 2%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
}

.right-box {
  position: absolute;
  right: 2%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
}

.card {
  width: 500px;
  height: 200px;
  background-color: #02afb8;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 1rem;
  border-radius: 25px;
  gap: 1rem;
}

.card h3 {
  font-size: 25px;
  line-height: 30px;
  font-weight: 100;
  letter-spacing: 2px;
  text-align: center;
}

.card p {
  width: 80%;
  font-size: 20px;
  text-align: center;
  line-height: 30px;
}

@media (max-width: 1024px) {
  .philosophy-container {
    flex-direction: column;
    gap: 2rem;
  }
  .philosophy-img {
    width: 60%;
  }
  .left-box,
  .right-box {
    width: 100%;
    position: static;
  }
  .card {
    width: 90%;
  }
}

@media (max-width: 767px) {
  .philosophy-section {
    padding: 1rem;
    margin-top: 0;
    gap: 1rem;
  }
  .philosophy-img {
    width: 100%;
  }
  .philosophy-container {
    gap: 1rem;
  }
  .left-box,
  .right-box {
    gap: 1rem;
  }
  .card {
    width: 100%;
    height: auto;
  }
  .card h3 {
    font-size: 20px;
    line-height: 25px;
  }
  .card p {
    width: 100%;
    font-size: 15px;
    line-height: 25px;
  }
}
