/* Hero Section Scoped CSS */
  .portfolio-hero-section {
    text-align: center;
    padding: 80px 20px;
    margin: auto;
    background: linear-gradient(to bottom, #edd2f8, #bdd3ff);
  }

  .portfolio-hero-section .hero-content {
    max-width: 1400px;
    margin: auto;
  }

  .portfolio-hero-section h1 {
    font-size:50px;
    font-weight: 700;
    max-width: 900px;
    margin: auto;
    margin-bottom: 20px;
  }

  .portfolio-hero-section h1 span {
    background: linear-gradient(to right, #6366f1, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .portfolio-hero-section p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: auto;
    font-weight: 400;
    margin-bottom: 40px;
    color: #444;
  }

  .portfolio-hero-section .hero-buttons {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 24px;
  }

  .portfolio-hero-section .btn {
    padding: 0.75rem 4rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .portfolio-hero-section .btn-primary {
    background: linear-gradient(to right, #6366f1, #ec4899);
    color: #fff;
  }

  .portfolio-hero-section .btn-primary:hover {
      transform: scale(1.05);
  opacity: 0.9;
  }

  .portfolio-hero-section .btn-secondary {

  }

  .portfolio-hero-section .btn-secondary:hover {
  transform: scale(1.05);
  opacity: 0.9;
  }

.ai-feedback-badge {
  display: inline-block;
  font-size: 0.9rem;
  background: #f4f4f6;
  color: #7a7a7a;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgb(226, 224, 224);
  font-weight: 500;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: background 0.3s ease;
}

.ai-feedback-badge span {
  font-weight: bold;
  color: #937bca;
}



  /* 📱 Mobile Responsive Styles */
@media (max-width: 768px) {
  .portfolio-hero-section {
    padding: 60px 15px;
  }

  .portfolio-hero-section h1 {
    font-size: 2rem;
    max-width: 100%;
    text-align: left;
  }

  .portfolio-hero-section p {
    font-size: 1rem;
    padding: 0 10px;
  }

  .portfolio-hero-section .hero-buttons {
    flex-direction: column;
    gap: 16px;
  }

  .portfolio-hero-section .btn {
    width: 70%;
    margin: auto;
    padding: 0.75rem 1rem;
  }

}

.portfolio-hero-section {
  position: relative; /* Needed for absolute positioning of waves */
  overflow: hidden;   /* Hide extra parts of waves */
}


.waves {
  position: absolute; 
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  min-height: 100px;
  max-height: 100px;
}

/* Animation stays the same */
.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
/* Mobile adjustments for waves */
@media (max-width: 768px) {
  .portfolio-hero-section {
    position: relative;
    overflow: hidden;
    padding-bottom: 80px; /* Give space for waves under buttons */
  }

  .waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    min-height: 50px;
    z-index: 0; 
  }
}


/* Why Build Your Own Portfolio? */
.why-portfolio {
      padding: 64px 20px;
      font-family: 'Poppins', sans-serif;
    }

    .why-portfolio__title {
      font-size: 2.4rem;
      text-align: center;
      margin: 0 0 40px;
      background: linear-gradient(to right, #6366f1, #ec4899);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .why-portfolio__grid {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 32px;
      align-items: stretch;
      position: relative;
      padding: 0px 10px;
    }

    .wp-card {
      background-color: #ffffff;
      border-radius: 18px;
      padding: 10px 22px 20px;
      text-align: center;
      box-shadow:
        0 6px 18px rgba(18, 24, 36, 0.06),
        0 2px 6px rgba(18, 24, 36, 0.04);
      transition: transform .32s cubic-bezier(.2, .9, .2, 1), box-shadow .32s;
      position: relative;
    }

    .wp-card:hover {
      transform: translateY(-14px) scale(1.04);
      box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16);
    }

    .wp-card__icon {
      width: 150px;
      height: 150px;
      margin: 0 auto 18px;
      display: block;
      filter: drop-shadow(0 8px 20px rgba(99, 102, 241, 0.25));
    }

    .wp-card__title {
      margin: 6px 0 0;
      font-size: 1rem;
      line-height: 1.2;
      font-weight: 600;
      background: linear-gradient(90deg, #6a11cb, #2575fc);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      padding: 0 6px;
    }

    /* connectors bar */
    .why-portfolio__grid::before {
      content: "";
      position: absolute;
      left: 8%;
      right: 8%;
      top: 50%;
      height: 6px;
      transform: translateY(-50%);
      background: linear-gradient(90deg, rgba(13, 16, 240, 0.18), rgba(236, 72, 153, 0.12));
      border-radius: 999px;
      filter: blur(6px);
      pointer-events: none;
      z-index: 0;
    }

    .wp-card::after {
      content: '';
      position: absolute;
      bottom: -20px;
      left: 50%;
      transform: translateX(-50%);
      width: 32px;
      height: 32px;
      border-radius: 50%;

      /* Gradient with more depth */
      background: radial-gradient(circle at 30% 30%, #ffffff 0%, #e0e7ff 60%, #c7d2fe 100%);

      /* Inner shadow for depth */
      box-shadow:
        0 8px 20px rgba(99, 102, 241, 0.25),
        /* outer shadow */
        inset 0 -6px 14px rgba(0, 0, 0, 0.08);
      /* inner shadow */

      z-index: 2;

      /* Smooth hover animation */
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    /* Add hover pop effect on card */
    .wp-card:hover::after {
      transform: translateX(-50%) translateY(-5px) scale(1.2);
      box-shadow:
        0 12px 30px rgba(99, 102, 241, 0.4),
        inset 0 -6px 16px rgba(0, 0, 0, 0.1);
    }

    @media(max-width:992px) {
      .why-portfolio__grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media(max-width:640px) {
      .why-portfolio__grid {
        grid-template-columns: 1fr;
      }

      .why-portfolio__grid::before,
      .wp-card::after {
        display: none;
      }

      .wp-card {
        padding: 10px 20px 15px;
      }

      .why-portfolio__title {
        font-size: 2rem;
      }

      .wp-card__icon {
        width: 120px;
        height: 120px;
      }
    }






/* <!-- Portfolio Tips Section --> */

.portfolio-section {
   max-width: 1400px;
   color: rgb(85, 82, 82);
   display: flex;
   flex-direction: row;
   margin: auto;
   flex-wrap: wrap;
   margin-top: 50px;
   margin-bottom: 50px;
}

.portfolio-content,
.portfolio-card-container {
   flex: 1;
   display: flex;
   flex-direction: column;
   justify-content: center;
   padding: 10px 5%;
   box-sizing: border-box;
}

.portfolio-content h2 {
   color: rgb(48, 46, 46);
   font-size: 3rem;
   font-weight: 900;
   margin: 5px 0;
   max-width: 600px;
   line-height: 1.2;
   text-align: start;
}
.portfolio-highlight{
      background: linear-gradient(to right, #6366f1, #ec4899);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
}
.portfolio-content p {
   text-align: start;
   font-size: 1.2rem;
   color: #696565;
   max-width: 600px;
   margin-bottom: 30px;
}

.portfolio-features {
   display: flex;
   flex-wrap: wrap;
   gap: 20px;
   margin-bottom: 40px;
}

.portfolio-feature {
   background: rgba(75, 53, 244, 0.1);
   padding: 15px 20px;
   border-radius: 10px;
   display: flex;
   align-items: center;
   min-width: 230px;
   flex: 1;
}

.portfolio-feature::before {
   content: "✔️";
   color: #22c55e;
   margin-right: 10px;
   font-size: 1.2rem;
}



.portfolio-card-container {
   position: relative;
   align-items: center;
}

.portfolio-card-container img {
   width: 130%;
}

.portfolio-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #6a11cb;
  padding: 14px 80px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  align-self: flex-start;
}


.portfolio-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}



/* Responsive: stack vertically on small screens */
@media (max-width: 768px) {

   .portfolio-main-section {
       height: auto;
   }

   .portfolio-section {
       flex-direction: column;
       width: 100%;
   }

   .portfolio-card-container {
       flex: 1;
   }

   .portfolio-content,
   .portfolio-card-container {
       width: 100%;
       padding: 30px 5%;
       align-items: center;
       text-align: center;
       margin-top: 0px;
   }

   .portfolio-content h2 {
       font-size: 2rem;
   }

   .portfolio-content p {
       font-size: 1rem;
       margin-bottom: 30px;
   }

   .portfolio-features {
       justify-content: center;
   }

   .portfolio-feature {
       min-width: 80%;
       text-align: left;
   }

.portfolio-more-btn{
       align-self: center;
       padding: 17px 80px;
       width: 100%;
       font-size: 0.9rem;

   }


   .portfolio-card-container img {
       width: 100%;
   }
}




/* ========== Section Container ========== */
    .finisher-header-learning{
      background: linear-gradient(to bottom, #edd2f8, #bdd3ff);
    }
    .portfolio-template-section-main {
      margin-bottom: 50px;
    }
    .portfolio-template-section {
      max-width: 1400px;
      margin: auto;
      padding: 0px 0px;
      text-align: center;
    }

    /* Heading with gradient text */
    .portfolio-template-section h2 {
      font-size: 2.5rem;
       background: linear-gradient(to right, #6366f1, #ec4899);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .portfolio-template-section .subheading{
      font-size: 1rem;
      color: rgb(76, 75, 75);
      margin-top: -30px;
      
    }

    /* ========== Card Container ========== */
    .portfolio-template-section-cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
      gap: 30px;
      justify-content: center;
      align-items: stretch;
     padding-top: 30px;
    }

    /* ========== Single Card  ========== */
 .portfolio-template-section-card {
  border: 2px solid transparent;
  border-radius: 24px; /* smoother rounded corners */
  padding: 20px;
  transition: all 0.3s ease-in-out;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
              rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
  background: #fff;
}

/* Hover Effect */
.portfolio-template-section-card:hover {
  border: 2px solid #7c3aed; /* violet border on hover */
  transform: translateY(-5px) scale(1.03); /* lift and scale */
  box-shadow: rgba(50, 50, 93, 0.35) 0px 20px 30px -5px,
              rgba(0, 0, 0, 0.4) 0px 12px 20px -10px;
  cursor: pointer; /* pointer cursor */
}



    /* Image inside card */
    .portfolio-template-section-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      border-radius: 20px;
      /* match card corners */
      margin-bottom: 15px;
    }

    /* Card heading with gradient */
    .portfolio-template-section-card h3 {
      font-size: 1.5rem;
      margin: 10px 0;
      background: linear-gradient(to right, #6366f1, #ec4899);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    /* Tech stack */
    .portfolio-template-section-tech {
      font-size: 0.95rem;
      margin: 8px 0 15px;
      color: #6b7280;
    }

    /* Buttons */
    .portfolio-template-section-buttons {
      display: flex;
      justify-content: center;
      gap: 12px;
      flex-wrap: wrap;
    }

    .portfolio-template-section-btn {
      padding: 8px 16px;
      border-radius: 10px;
      /* pill style */
      border: 2px solid #6366f1;
      background: transparent;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s ease-in-out;
      color: #6366f1;
    }

    .portfolio-template-section-btn:hover {
      border-color: #ec4899;
      color: #ec4899;
    }

    /* ========== Responsive ========== */
    @media (max-width: 768px) {
       .portfolio-template-section{
        width: 90%;
       }
      .portfolio-template-section h2 {
        font-size: 2rem;
      }

      .portfolio-template-section-card h3 {
        font-size: 1.1rem;
      }
    }


/* ===== Submit Portfolio Section ===== */
.submit-portfolio-section {

  max-width: 1400px;
  margin: auto;
  margin-bottom: 120px;
  padding: 20px;
  perspective: 1200px;
}

/* ===== Main Card ===== */
.submit-portfolio-content {

  max-width: 1200px;
  margin: auto;
  padding: 30px 40px;
  background: linear-gradient(to bottom, #edd2f8, #bdd3ff);
  color: white;
  text-align: center;
  border-radius: 60px 20px 60px 20px;
  position: relative;
  transform-style: preserve-3d;
  transition: all 0.6s ease;
  overflow: hidden;
}

/* Floating Glow */
.submit-portfolio-content::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, #ffffff40, transparent, #ffffff40);
  opacity: 0.3;
  filter: blur(20px);
  z-index: 0;
}

.submit-portfolio-content:hover {
  transform: translateY(-15px) rotateX(3deg);
}

/* ===== Text ===== */
.submit-portfolio-content h2 {
    background: linear-gradient(to right, #6366f1, #ec4899);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: -11px;
  position: relative;
  z-index: 1;
}

.submit-portfolio-content p {
  font-size: 1.15rem;
  margin-bottom: 35px;
  color: #5b5b5c;
  position: relative;
  z-index: 1;
}

/* ===== Inner Cards ===== */
.submit-features {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.feature-card {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  padding: 10px 26px;
  border-radius: 18px;
  width: 220px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  transform: translateZ(30px);
  transition: all 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.05);
}

.feature-card span {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

.feature-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
    color: #6366f1;
}

/* ===== Button ===== */
.submit-btn {
 background: rgba(207, 87, 255, 0.18);
    background: linear-gradient(to right, #6366f1, #ec4899);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
  padding: 14px 34px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.35s ease;
  position: relative;
  z-index: 1;
}

.submit-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.4);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .submit-portfolio-content {
    padding: 45px 20px;
  }

  .submit-portfolio-content h2 {
    font-size: 1.9rem;
  }

  .submit-features {
    gap: 15px;
  }

  .feature-card {
    width: 100%;
    max-width: 260px;
  }
}

@media (max-width: 480px) {
  .submit-portfolio-content h2 {
    font-size: 1.6rem;
  }

  .submit-portfolio-content p {
    font-size: 0.95rem;
  }

  .submit-btn {
    padding: 12px 26px;
    font-size: 0.95rem;
  }
}
