/* Finishing Section Styles */
:root {
  --primary-color: #ff6b6b;
  --primary-hover: #e65a5a;
  --dark-overlay: rgba(0, 0, 0, 0.8); /* Darker overlay for better text visibility */
  --light-text: #ffffff;
  --step-bg: rgba(255, 255, 255, 0.15);
  --step-hover: rgba(255, 255, 255, 0.25);
}

.finishing-section {
  padding: 6rem 0;
  position: relative;
  color: var(--light-text);
  text-align: center;
  background-image: url('../images/decorative/south-india-map.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.finishing-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(16 12 6 / 44%);
  z-index: 1;
}

.finishing-section .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.finishing-content {
  max-width: 1200px;
  margin: 0 auto;
}

.finishing-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.finishing-title span {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.finishing-title span::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
}

.finishing-description {
  font-size: 1.2rem;
  margin: auto;
  padding: 20px 0 30px 0;
  line-height: 1.6;
  opacity: 0.95;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  color: white;
}

.finishing-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.finishing-step {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  padding: 2rem;
  background: var(--step-bg);
  border-radius: 10px;
  transition: transform 0.3s ease, background 0.3s ease;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.finishing-step:hover {
  transform: translateY(-10px);
  background: var(--step-hover);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.step-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.step-description {
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.9;
  color: white;
}

.finishing-cta {
  margin-top: 2rem;
}

.finishing-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
  color: white;
}

.finishing-note a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.finishing-note a:hover {
  text-decoration: underline;
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .finishing-title {
    font-size: 2rem;
  }
  
  .finishing-steps {
    flex-direction: column;
    align-items: center;
  }
  
  .finishing-step {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .finishing-section {
    padding: 4rem 0;
  }
  
  .finishing-title {
    font-size: 1.8rem;
  }
  
  .finishing-description {
    font-size: 1rem;
  }
}