.projects-section {
  margin-bottom: -50px;
  background: linear-gradient(
    135deg,
    #17173e 0%,
    #0f0f23 50%,
    #0a0a1a 100%
  );
  padding-bottom: -35px;
  min-height: 100vh;
}

.projects-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%; 
}

.slider-container-projects {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  width: 100%; 
  max-width: 1000px; 
  margin: 0 auto;
  height: 70vh;
  max-height: 800px; 
  min-height: 500px; 
}

.projects-slides {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

.project-slide {
  flex: 0 0 100%;
  position: relative;
  height: 100%;
}

.project-slide img {
  width: 100%;     
  height: 100%;  
  object-fit: cover;
  display: block;
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 30px;
  color: white;
}

.project-info h3 {
  font-size: 36px;
  margin-bottom: 10px;
  font-weight: 600;
}

.project-info p {
  font-size: 24px;
  opacity: 0.9;
}

.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
}

.slider-arrow {
  background: rgba(255,255,255,0.7);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.slider-arrow:hover {
  background: white;
  transform: scale(1.1);
}

.slider-arrow i {
  font-size: 24px;
  color: #333;
}

.slider-indicators {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
}

.slider-indicators .indicator {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: all 0.3s;
}

.slider-indicators .indicator.active {
  background-color: #e67e00;
  transform: scale(1.2);
}

.section-transition-projects {
  background: linear-gradient(135deg, #e67e00, #d35400);
  padding: 30px 0; 
  margin-bottom: 10px; 
  margin-top: -48px;
  text-align: center;
  position: relative;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  overflow: hidden;
}

.section-transition-projects::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  z-index: -1;
}

.section-transition-projects h2 {
  font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 3.4vw, 3.5rem);
  color: #fff;
  text-shadow: 0 2px 15px rgba(0,0,0,0.4);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
  padding: 15px 0;
  position: relative;
  display: inline-block;
}

.section-transition-projects h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 270px;
  height: 4px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
}