.project-slider-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 0;
  width: 100%;
  background: #ffffff;
}

.project-section-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px;
  isolation: isolate;
  width: 100%;
  max-width: 1512px;
  margin: 0 auto;
  position: relative;
  background-color: #ffffff;
}

/* Left content side */
.project-section-content {
  width: 50%;
  height: 487px;
  position: relative;
  z-index: 1;
}

.project-section-content-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: #ffffff;
}

.project-section-content-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 60px;
  gap: 32px;
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
}

.project-section-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 16px;
  width: 100%;
}

.project-section-title {
  width: 100%;
  font-family: "DM Sans", sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 56px;
  line-height: 120%;
  color: #ad2324;
  margin: 0;
}

.project-section-description {
  width: 100%;
  max-width: 493px;
  font-family: "DM Sans", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 21px;
  color: #000000;
  margin: 0;
}

.project-section-button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 12px 24px;
  gap: 10px;
  background: #ad2324;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.project-section-button:hover {
  background-color: #8e1d1e;
}

.project-section-button-text {
  font-family: "DM Sans", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 21px;
  text-align: center;
  color: #ffffff;
}

.project-section-button-icon {
  width: 20px;
  height: 20px;
  position: relative;
}

.project-section-button-icon::after {
  content: "";
  position: absolute;
  left: 16.67%;
  right: 16.66%;
  top: 29.17%;
  bottom: 29.17%;
  border: 1.5px solid #ffffff;
  border-left: none;
  border-bottom: none;
  transform: rotate(45deg);
  width: 8px;
  height: 8px;
}

/* Right image side */
.project-section-image-container {
  width: 50%;
  height: 420px;
  position: relative;
  background-color: #ffffff;
}

.project-section-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 5px;
}

/* Responsive styles */
@media (max-width: 1400px) {
  .project-section-title {
    font-size: 48px;
  }
}

@media (max-width: 1200px) {
  .project-section-container {
    flex-direction: column;
  }

  .project-section-content,
  .project-section-image-container {
    width: 100%;
  }

  .project-section-content {
    height: auto;
    padding: 40px 0;
  }

  .project-section-content-inner {
    position: relative;
    top: 0;
    transform: none;
    padding: 40px;
  }

  .project-section-content-bg {
    position: relative;
  }

  .project-section-title {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .project-slider-section {
    padding: 40px 0;
  }

  .project-section-content-inner {
    padding: 30px;
  }

  .project-section-title {
    font-size: 36px;
  }

  .project-section-description {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .project-slider-section {
    padding: 30px 0;
  }

  .project-section-content-inner {
    padding: 20px;
  }

  .project-section-title {
    font-size: 28px;
  }

  .project-section-button {
    width: 100%;
  }
}
