/* -----------------------------
   Web Scraper - Hero Section
----------------------------- */
.ws-intro-section {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  overflow: hidden;
  padding: 2rem;
}

.ws-parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/web\ scrapering.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -2;
  filter: brightness(0.6);
}

.ws-content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8));
  z-index: -1;
}

.ws-content {
  text-align: center;
  max-width: 900px;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.ws-content h2 {
  font-size: 3.0rem;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.ws-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  margin-top: 1rem;
  margin-bottom: 3rem;
}


/* -----------------------------
   Web Scraper - Features Icons Row
----------------------------- */
.ws-features {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.ws-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 200px;
  text-align: center;
}

.ws-feature-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(79, 209, 180, 0.15);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(79, 209, 180, 0.4);
  transition: all 0.3s ease;
}

.ws-feature-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(79, 209, 180, 0.4);
}

.ws-feature i {
  font-size: 2.8rem;
  color: #4fd1b4;
}

.ws-feature h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.ws-feature-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}


/* -----------------------------
   Web Scraper - Cards Section
----------------------------- */
.ws-features-section {
  position: relative;
  padding: 6rem 2rem;
  color: white;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #000000, #1a1f2b);
}

.ws-features-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/web\ scrapering.jpg'); /* Add your Web Scraper background image */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -2;
  filter: brightness(0.5);
}

.ws-features-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8));
  z-index: -1;
}

.ws-features-heading {
  font-size: 3rem;
  margin-bottom: 3rem;
  font-weight: 700;
  background: linear-gradient(90deg, #4fd1b4, #6a5acd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Grid */
.ws-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.ws-feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(79, 209, 180, 0.3);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  max-width: 300px;
  position: relative;
  overflow: hidden;
}

.ws-feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(79, 209, 180, 0.1),
    rgba(106, 90, 205, 0.2)
  );
  transform: skewX(-25deg);
  transition: left 0.5s ease;
  z-index: 0;
}

.ws-feature-card:hover::before {
  left: 125%;
}

.ws-feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(79, 209, 180, 0.3);
}

.ws-feature-icon {
  font-size: 3rem;
  color: #4fd1b4;
  margin-bottom: 1rem;
  z-index: 1;
  position: relative;
}

.ws-feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  background: linear-gradient(90deg, #4fd1b4, #6a5acd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ws-feature-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.5;
  z-index: 1;
  position: relative;
}


/* -----------------------------
   Responsive
----------------------------- */

@media (max-width: 1024px) {
  .ws-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ws-intro-section {
    height: auto;
    padding: 4rem 1rem;
  }

  .ws-content h2 {
    font-size: 2.1rem;
    padding-top: 2rem;
  }

  .ws-subtitle {
    font-size: 1.0rem;
    margin-bottom: 2.5rem;
  }

  .ws-features {
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
  }

  .ws-feature-circle {
    width: 80px;
    height: 80px;
  }

  .ws-feature i {
    font-size: 2rem;
  }

  .ws-feature h3 {
    font-size: 1.2rem;
  }

  .ws-features-section {
    padding: 4rem 1rem;
  }

  .ws-features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 500px;
    margin: 0 auto;
  }

  .ws-feature-title {
    font-size: 1.2rem;
  }

  .ws-feature-text {
    font-size: 0.9rem;
  }

  .ws-features-heading {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .ws-features-heading {
    font-size: 1.8rem;
  }

  .ws-feature-card {
    padding: 1.5rem;
  }
}
