/**
 * How It Works Section Styles
 *
 * @author    Fhoto Click
 * @copyright Fhoto Click
 */

.how-it-works-section {
  background-color: transparent;
  padding: 40px 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  display: block !important;
  clear: both !important;
}

.header-bar {
  width: 100%;
  height: 2px;
  background-color: #000000;
  margin-bottom: 30px;
}

.how-it-works-container {
  max-width: 1200px;
  margin: 0 auto;
}

.title-section {
  text-align: center;
  margin-bottom: 40px;
}

.main-title {
  font-size: 36px;
  font-weight: bold;
  color: #000000;
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.subtitle {
  font-size: 24px;
  font-weight: bold;
  color: #000000;
  margin: 0;
  line-height: 1.2;
}

.how-it-works-heading {
  font-size: 28px;
  font-weight: bold;
  color: #000000;
  margin: 0 0 40px 0;
  text-align: left;
}

.steps-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.step-item {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Arrow connector between steps */
.step-item:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -35px;
  bottom: 10%;
  transform: translateY(-50%);
  color: #999;
  font-size: 24px;
  font-weight: 300;
  z-index: 1;
}

.step-image-placeholder {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid #333333;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 20px;
}

.step-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Updated step-content design */
.step-content {
  text-align: center;
  background-color: #333333;
  border-radius: 20px;
  padding: 30px 25px 20px;
  width: 100%;
}

/* Icons inside step-content */
.step-content img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: brightness(0) invert(1);
}

.step-description {
  font-size: 14px;
  font-weight: 500;
  color: #F8F6F0;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 1199px) {
  .step-item:not(:last-child)::after {
    right: -27px;
  }
}
/* Responsive Design */
@media (max-width: 768px) {
  .steps-container {
    flex-direction: column;
    align-items: center;
  }
  
  .step-item {
    max-width: 100%;
    width: 100%;
  }
  
  .step-item:not(:last-child)::after {
    display: none;
  }
  
  .main-title {
    font-size: 28px;
  }
  
  .subtitle {
    font-size: 20px;
  }
  
  .how-it-works-heading {
    font-size: 24px;
    text-align: center;
  }
}
