

/* Machine Learning Section 1 */
.ml-explanation-section {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  overflow: hidden;
  padding: 2rem;
}

.ml-parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/machine\ learning.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -1;
  filter: brightness(0.7);
}

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

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

.ml-content h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 2px 15px rgba(0,0,0,0.4);
  font-weight: 700;
}

.ml-subtitle {
  font-size: 1.5rem;
  margin-bottom: 4rem;
  color: rgba(255,255,255,0.9);
  font-weight: 300;
}

/* Features Section */
.ml-features {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

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

.ml-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;
}

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

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

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .ml-explanation-section {
    height: auto;
    padding: 4rem 0;
  }

  .ml-content h2 {
    font-size: 2.5rem;
  }

  .ml-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
  }

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

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

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



 /* Machine Learning Section 2 */
.ml-features-section {
  background-color: #121212;
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ml-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;
}

.ml-features-grid {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
}

.ml-feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(79, 209, 180, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  width: 260px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

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

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

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

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

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

/* Responsive */
@media (max-width: 768px) {
  .ml-intro-heading {
    font-size: 2.4rem;
  }
  .ml-intro-text {
    font-size: 1.2rem;
  }
  .ml-features-heading {
    font-size: 2.2rem;
  }
  .ml-feature-card {
    width: 200px;
    padding: 1.5rem;
  }
  .ml-feature-title {
    font-size: 1.1rem;
  }
  .ml-feature-text {
    font-size: 0.9rem;
  }
}


.ml-features-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #000000, #0f172a);
  color: white;
  text-align: center;
}

.ml-features-heading {
  font-size: 3rem;
  margin-bottom: 3rem;
  color: #4fd1b4;
  font-weight: 700;
}

.ml-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  justify-items: center;
}

.ml-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;
}

.ml-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 30px rgba(79, 209, 180, 0.3);
}

.ml-feature-icon {
  font-size: 3rem;
  color: #4fd1b4;
  margin-bottom: 1rem;
}

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

.ml-feature-text {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  line-height: 1.5;
}
.ml-features-section {
  position: relative;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #000000, #0f172a);
  color: white;
  text-align: center;
  overflow: hidden;
}

.ml-features-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/MachineLearning.jpg");

  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -2;
  filter: brightness(0.5);
}

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


.ml-features-section {
  position: relative;
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

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

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



/* Machine Learning Section 1 - Updated with WebDev feature styles */
.ml-explanation-section {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  overflow: hidden;
  padding: 2rem;
}

.ml-parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/machine\ learning.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -1;
  filter: brightness(0.7);
}

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

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

.ml-content h2 {
  font-size: 3.0rem;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 2px 15px rgba(0,0,0,0.4);
  font-weight: 700;
}

.ml-subtitle {
  font-size: 1.3rem;
  margin-bottom: 4rem;
  color: rgba(255,255,255,0.9);
  font-weight: 300;
}

/* Updated Features Section with WebDev styles */
.ml-features {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

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

/* ✅ UPDATED COLORS (same as Voice AI) */
.ml-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;
}

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

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

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

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

/* Machine Learning Section 2 - Keeping original structure but with updated colors */
.ml-features-section {
  position: relative;
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.ml-features-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/machine\ learning.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -2;
  filter: brightness(0.5);
}

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

.ml-features-heading {
  font-size: 3rem;
  margin-bottom: 3rem;
  font-weight: 700;
  color: #4fd1b4; /* Updated color */
}

.ml-features-grid {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
}

.ml-feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(79, 209, 180, 0.2); /* Updated color */
  backdrop-filter: blur(8px);
  border-radius: 12px;
  width: 260px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

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

.ml-feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(79, 209, 180, 0.4); /* Updated color */
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.ml-feature-icon {
  font-size: 2.5rem;
  color: #4fd1b4; /* Updated color */
  margin-bottom: 1rem;
  z-index: 1;
  position: relative;
}

.ml-feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #4fd1b4; /* Updated color */
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .ml-explanation-section {
    height: auto;
    padding: 4rem 0;
  }

  .ml-content h2 {
    font-size: 2.2rem;
  }

  .ml-subtitle {
    font-size: 1.0rem;
    margin-bottom: 3rem;
  }

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

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

  .ml-feature i {
    font-size: 2rem;
  }
  
  .ml-features-heading {
    font-size: 2.2rem;
  }
  
  .ml-feature-card {
    width: 200px;
    padding: 1.5rem;
  }
  
  .ml-feature-title {
    font-size: 1.1rem;
  }
  
  .ml-feature-text {
    font-size: 0.9rem;
  }
}