.projects-heading {
  font-size: 4rem;
  background: linear-gradient(90deg, #00f0ff, #3a00ff, #ff00c8);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
  margin-bottom: 2rem;
  font-weight: 800;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}



.cards {
  margin-top: 70px;
  width: 99%;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0);
  position: relative;
  
}

.card-together {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
}

/* Text left */
.text-group {
  flex: 1;
  max-width: 55%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-right: -100px;
  z-index: 2;
  position: relative;
}

/* Text right */
.text-group-right {
  flex: 1;
  max-width: 55%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: -70px;
  z-index: 2;
  position: relative;
}

.title,
.title-right {
  font-size: 1.06rem;
  font-weight: 300;
  margin-bottom: 10px;
  text-align: left;
}

.title-right {
  margin-left: 320px;
}

.about-project{
  color: #2afff4ee;
  font-weight: 400;
}

.text {
  font-weight: 300;
  background: rgba(59, 58, 58, 0.377);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 0 2.5rem rgba(169, 85, 247, 0.267);
  padding: 20px;
  border-radius: 5px;
  width: 100%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  color: #ffffff;
}
.text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -80px;
  width: 100%;
  height: 50%;
  background: radial-gradient(ellipse at center, rgba(10, 3, 3, 0.2), transparent);
  filter: blur(10px);
  z-index: -1;
}

.project-des{
  font-weight: 310;
}

.btn-group-right {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 15px;
}

.button-right {
  padding: 0.6rem 1.3rem;
  font-size: 1rem;
 background: linear-gradient(to right, #003cff, #ea00ff);
  border: none;
  border-radius: 25px;
  color: #fff;
  font-weight: 400;
  transition: all 0.3s ease;
  
  cursor: pointer;
}


.button-right:hover {
  transform: scale(1.05);
}

.btn-group {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.button {
  margin-top: 10px;
  
  font-size: 1.2rem;
  color: #333;
}

.button {
  text-decoration: none;
  padding: 0.6rem 1.3rem;
  font-size: 1rem;
 background: linear-gradient(to right, #003cff, #ea00ff);
  border: none;
  border-radius: 25px;
  color: #fff;
  font-weight: 400;
  transition: all 0.3s ease;
  box-shadow: 0 0 0.5rem 0.1rem rgba(0, 0, 0, 0.2);
  cursor: pointer;
}


.button:hover{
  
  transform: scale(1.05);
}


.image {
  flex: 1;
  max-width: 45%;
  height: 300px;
  
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  z-index: 1;
}

.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}





.glow::before,
.glow::after {
  content: "";
  position: absolute;
  z-index: -1;
}

.glow::before {
  bottom: 37rem;
  left: -6.25rem;
  width: 31.25rem;
  height: 31.25rem;
  background: radial-gradient(circle at center, #DC00D3, #6b21a8);
  filter: blur(9.375rem);
  opacity: 0.3;
}

.glow::after {
  bottom: 16rem;
  right: -7.5rem;
  width: 15rem;
  height: 15rem;
  background: radial-gradient(circle at center, #0CFFFF, #3a86ff);
  filter: blur(8.75rem);
  opacity: 0.2;
}

.more {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}


.more button {
  margin-top: 50px;
  padding: 1rem 1.5rem;
  font-weight: 250;
  font-size: 1rem;
  font-family: 'Josefin Sans', sans-serif;
  background: linear-gradient(to right, #003cff, #ea00ff);
  color: white;
  border: none;
  border-radius: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 0.5rem 0.1rem rgba(0, 0, 0, 0.2);
}

.more button:hover {
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .card-together {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  .text-group,
  .text-group-right {
    max-width: 100%;
    margin: 0;
    align-items: center;
  }

  .title,
  .title-right {
    order: -2; /* Move to the top */
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-align: center;
  }

  .image {
    order: -1; /* Image comes after title */
    max-width: 100%;
    height: auto;
    border-radius: 12px;
  }

  .image img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 12px;
  }

  .text {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
    width: 100%;
  }

  .btn-group,
  .btn-group-right {
    justify-content: center;
    margin-top: 1rem;
  }
}


/* === Mobile Project Section Styling === */
.project-mobile {
  display: none;
}

@media (max-width: 768px) {
  .project-desktop {
    display: none;
  }

  .project-mobile {
    display: block;
    padding: 0 1rem;
    width: 100%;
  }

  .mobile-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 0.7rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
  }

  .mobile-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 0.8rem;
  }

  .mobile-body {
    padding: 0.5rem 0;
  }

  .mobile-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }

  .mobile-text {
    font-size: 0.95rem;
    font-weight: 300;
    color: #f3f3f3;
    margin-bottom: 1rem;
  }

  .mobile-btns {
    display: flex;
    gap: 0.8rem;
  }

  .mobile-btns .button {
    padding: 0.5rem 1.2rem;
    background: linear-gradient(to right, #003cff, #ea00ff);
    border-radius: 25px;
    color: #fff;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .mobile-btns .button:hover {
    transform: scale(1.05);
  }

   .projects-heading {
    font-size: 2.3rem;
    padding: 0 1rem;
    text-align: center;
    margin-bottom: 1.5rem;
  }


}

@media (max-width: 768px) {
  .cards {
    padding: 5px;
    width: 100%;
    box-sizing: border-box;
  }
}


@media (max-width: 768px) {
  .more {
    margin-top: 10px;
  }

  .more button {
    margin-top: 20px;
    font-size: 0.95rem;
    padding: 0.8rem 1.2rem;
  }
}

@media (max-width: 768px) {
  .project-mobile {
    padding: 0 1rem;
  }
}

@media (max-width: 768px) {
  .mobile-btns {
    justify-content: center;
    flex-wrap: wrap;
  }
}

