/* web development page */
/* introduction section */

.webdev-header-section {
  padding: 4rem 2rem;
  background-color: var(--Background-Color);
  text-align: center;
  margin-top: 100px;
  margin-bottom: 100px;
}

.webdev-header-container {
  max-width: 1000px;
  margin: 0 auto;
}

.webdev-header-container h1 {
  font-size: 3.5rem;
  font-family: var(--Inter-font-family);
  margin-bottom: 1.5rem;
  color: var(--text-color);
  line-height: 1.3;
}

.webdev-intro {
  font-size: 1.1rem;
  font-family: var(--Nunito-font-family);
  line-height: 1.7;
  color: var(--text-color);
  max-width: 800px;
  margin: 0 auto;
}





/* feature section */

.web-dev-feature-section {
  margin: 100px auto;
  padding: 0 2rem;
  max-width: 1200px;
}

/* Individual Feature Article */
.feature-section {
  padding: 4rem 0;
  background-color: var(--Background-Color);
  color: var(--Text-Color);
}

.feature-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--Accent-Color);
  margin-bottom: 1rem;
  text-align: center;
}


.feature-icon svg {
  width: 100%;
  height: 100%;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  fill: none;
}

h2{
  font-size: 3rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.feature-container h3 {
  font-size: 2.2rem;
  font-family: var(--Inter-font-family);
  margin-bottom: 1rem;
  color: var(--text-color);
  line-height: 1.3;
}

.feature-container p {
  font-size: 1.1rem;
  font-family: var(--Nunito-font-family);
  line-height: 1.7;
  color: var(--text-color);
  max-width: 800px;
  margin: 0 auto;
}

.feature-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-section.visible {
  opacity: 1;
  transform: translateY(0);
}



/* how it works section */

.how-it-works-section {
  padding: 4rem 2rem;
  background-color: var(--Background-Color);
}

.how-container {
  max-width: 1000px;
  margin: 0 auto;
}

.how-container h2 {
  text-align: left;
  font-size: 3rem;
  font-family: var(--Inter-font-family);
  margin-bottom: 3rem;
  color: var(--Text-Color);
  line-height: 1.3;
}

.how-steps {
  list-style: none;
  padding: 0;
  counter-reset: step;
}

.how-steps li {
  margin-bottom: 2.5rem;
  padding-left: 2rem;
  padding: 1.5rem;
  background-color: var(--Secondary-Background-Color);
  border-left: 4px solid var(--Accent-Color);
  position: relative;
  opacity: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.how-steps li.visible {
  opacity: 1;
  transform: translateY(0);
}

.how-steps li::before {
  position: absolute;
  left: -1.5rem;
  top: 0;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--Accent-Color);
}

.how-steps h3 {
  font-size: 1.5rem;
  font-family: var(--Inter-font-family);
  margin-bottom: 0.5rem;
  color: var(--Text-Color);
}

.how-steps p {
  font-size: 1.1rem;
  font-family: var(--Nunito-font-family);
  line-height: 1.7;
  color: var(--text-color);
  max-width: 800px;
}


@media (max-width:768px){
  /* intro header section */
  .webdev-header-section {
    padding: 3rem 1.5rem;
  }

  .webdev-header-container h1 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
  }

  .webdev-intro {
    font-size: 1rem;
    padding: 0 1rem;
  }

  /* feature section */
  .web-dev-feature-section {
    padding: 0 1.5rem;
  }

  .feature-section {
    padding: 3rem 0;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem; 
    display: block; 
  }

  .feature-container h3 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
  }

  .feature-container p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  /* how it works section */
  .how-it-works-section {
    padding: 3rem 1.5rem;
  }

  .how-container h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .how-steps li {
    padding-left: 1.5rem;
  }

  .how-steps h3 {
    font-size: 1.3rem;
  }

  .how-steps p {
    font-size: 1rem;
  }
}
