* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  font-family: Arial, sans-serif;
  background: url("imgs/how.jpg") no-repeat center center fixed;
  background-size: cover;
}

    h2 {
      text-align: center;
      margin: 5% 0 20px;
      font-size: 40px;
      color: #4b0000;
    }

    /* Timeline Section */
    .steps {
      display: flex;
      justify-content: center;
      align-items: flex-start;
      flex-wrap: wrap;
      gap: 30px;
      margin: 40px auto 60px;
      padding: 0 10%;
      position: relative;
    }

    .steps::before {
      content: "";
      position: absolute;
      top: 40px;
      left: 10%;
      width: 80%;
      height: 2px;
      background: #e0d0b88f;
      z-index: -1;
    }

    .step {
      text-align: center;
      width: 150px;
      opacity: 0;
      transform: translateY(30px);
      animation: fadeUp 1s forwards;
      transition: transform 0.3s ease, filter 0.3s ease;
    }

    .step:hover {
      transform: translateY(-10px) scale(1.05);
      filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
    }

    .step:nth-child(1) { animation-delay: 0.2s; }
    .step:nth-child(2) { animation-delay: 0.4s; }
    .step:nth-child(3) { animation-delay: 0.6s; }
    .step:nth-child(4) { animation-delay: 0.8s; }
    .step:nth-child(5) { animation-delay: 1s; }

    @keyframes fadeUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .step .icon {
      width: 80px;
      height: 80px;
      margin: 0 auto 15px;
      background: #fff;
      border-radius: 50%;
      border: 2px solid #e0d0b88f;
      display: flex;
      justify-content: center;
      align-items: center;
      transition: all 0.3s ease;
    }

    .step:hover .icon {
      background: #e0d0b88f;
      border-color: #e0d0b88f;
      transform: scale(1.1);
    }

    .step img {
      width: 40px;
      height: 40px;
      filter: invert(0);
      transition: filter 0.3s ease;
    }

    .step:hover img {
      filter: invert(1); /* Makes icon white on red background */
    }

    .step strong {
      display: block;
      margin-bottom: 8px;
      color: #4b0000;
    }

    .step p {
      font-size: 14px;
      color: #4b0000;
    }

    /* Section with icons left/right */
    .section {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 50px 10%;
      flex-wrap: wrap;
      opacity: 0;
      transform: translateY(50px);
      transition: all 0.8s ease-out;
    }

    .section.show {
      opacity: 1;
      transform: translateY(0);
    }

    .section:nth-child(even) {
      flex-direction: row-reverse;
       
    }

    .section:hover {
      transform: translateY(-10px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

    .section img {
      width: 120px;
      height: auto;
      margin: 20px;
      transition: transform 0.3s ease;
    }

    .section:hover img {
      transform: scale(1.1);
    }

    .text {
      flex: 1;
      padding: 20px;
    }

    .text h3 {
      font-size: 22px;
      color: #4b0000;
      margin-bottom: 10px;
    }

    /* Button */
    .btn {
      display: block;
      width: max-content;
      margin: 30px auto 60px;
      padding: 12px 30px;
      background: #e0d0b88f;
      color: #4b0000;
      font-size: 18px;
      text-decoration: none;
      border-radius: 25px;
      border-color: bisque;
      transition: all 0.3s ease;
      animation: fadeIn 1.5s ease-in-out;
      font-weight: 600;
    }

    .btn:hover {
      background: #4b0000;
      color: #fff;
      transform: scale(1.05);
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: scale(0.9); }
      to { opacity: 1; transform: scale(1); }
    }
    footer {
  text-align: center;
  padding: 60px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #4b0000;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}

.linkedin-icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  transition: transform 0.3s ease, fill 0.3s ease;
}

.linkedin-link:hover .linkedin-icon {
  transform: translateY(-3px) scale(1.1);
  fill: #0077b5; /* LinkedIn blue on hover */
}