* {
  margin: 0; padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}
 body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(120deg, #0f172a, #1e293b, #0f172a) !important;
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: white;
    overflow-x: hidden;
  }
.login-container {
  width: 100%;           
  max-width: 360px;      
  margin: auto;          
}

.login-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.avatar img {
  width: 150px; 
  height: 150px;
  margin-bottom: 5px;
}

.login-card h2 {
  color: #2575fc;
  margin-bottom: 30px;
}

.input-group {
  position: relative;
  margin-bottom: 25px;
}

.input-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #aaa;
  border-radius: 4px;
  outline: none;
}

.input-group label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #777;
  font-size: 14px;
  pointer-events: none;
  transition: all 0.2s ease-out;
}

.input-group input:focus + label,
.input-group input:valid + label {
  top: -8px;
  left: 8px;
  background: #fff;
  padding: 0 4px;
  font-size: 12px;
  color: #2575fc;
}

.form-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 4px;
  background: #2575fc;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-btn:hover {
  background: #1a5bcc;
}

.links {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  font-size: 14px;
  
}

.links a {
  color: #2575fc;
  text-decoration: none;
}

.links a:hover {
  text-decoration: underline;
}

/* 📱 Responsive fix */
@media (max-width: 480px) {
  .login-card {
    padding: 20px 15px; /* smaller padding */
  }
  .avatar img {
    width: 100px;
    height: 100px;
  }
  .links {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 13px;
  }
}




/* home page */


    nav {
      backdrop-filter: blur(10px);
      background: rgba(255, 255, 255, 0.1);
      padding: 1rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: last baseline;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .logo {
      font-size: 1.8rem;
      color: white;
      font-weight: bold;
    }

    .nav-links {
      display: flex;
      gap: 2rem;
    }

   .nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease, font-size 0.3s ease;
  position: relative;
}



    .nav-links a::after {
      content: '';
      height: 2px;
      background: rgba(255, 0, 0, 0.281);
      position: absolute;
      width: 0;
      left: 0;
      bottom: -4px;
      transition: width 0.3s ease;
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    
    .hamburger {
      
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  transition: all 0.3s ease;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  transition: all 0.3s ease;
}

.close-btn span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.close-btn span:nth-child(2) {
  opacity: 0;
}
.close-btn span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.hamburger span {
  transition: transform 0.3s ease, opacity 0.3s ease;
}



    @media (max-width: 768px) {
      .hamburger {
        display: flex; 
      }


      .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 0px;
      background-color: #0f172aef;
        flex-direction: column;
        display: none;
        justify-content: center;
        align-items: center;
        padding-bottom: 40px;
      }

      .nav-links a {
        padding: 1rem 2rem;
        font-size: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
      }

      .nav-links.active {
        display: flex;
        height: 300px;
        animation: slideDown .5s ease-in-out forwards;
      }
      .nav-links.notActive {
        display: flex;
        height: 0px;
        animation: slideup .5s ease-in-out forwards;
      }

@keyframes slideup {
        from { height: 100vh;}
        to { height: 0px;}}

      @keyframes slideDown {
        from { height: 0px;}
        to {height: 100vh;}}
    }
    #sout, #sin{
        height: 30px;
        padding: 3px;
        width: 70px;
background-color: rgb(218, 93, 89);
    }
    #sout:hover{
        background-color: rgb(150, 93, 89);}
    #sin{
      background-color: #1a5bcc;}
    #sin:hover{
        background-color: #2575fc;}


    /* hero section */

     
  @keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

  /* Floating shapes */
  .shapes {
    position: fixed;
    background:linear-gradient(90deg, #ee0979, #ff6a00);
    opacity: 0.3;
    border-radius: 50%;
    z-index: -1;
    animation: floatShape 12s ease-in-out infinite alternate;
  }
  .shapes:nth-child(1) { width: 150px; height: 150px; top: 5%; left: 5%; animation-duration: 18s; }
  .shapes:nth-child(2) { width: 250px; height: 250px; bottom: 10%; right: 50%; animation-duration: 22s; }
  .shapes:nth-child(3) { width: 100px; height: 100px; top: 30%; right: 10%; animation-duration: 16s; }
  @keyframes floatShape {
    0% { transform: translate(0,0) rotate(0deg); }
    50% { transform: translate(30px, -40px) rotate(180deg); }
    100% { transform: translate(-20px, 20px) rotate(360deg); }
  }

  /* Hero layout */
  .hero {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 60px 8%;
    z-index: 1;
    text-align: center;
  }

  @media (max-width: 900px) {
  .hero {
    flex-direction: column-reverse; 
  }
}
  @media (min-width: 900px) {
    .hero {
      flex-direction: row;
      text-align: left;
      justify-content: space-between;
    }
  }

  /* Left text */
  .hero-text {
    max-width: 500px;
    overflow: hidden;
  }
  .hero-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .highlight {
    background: linear-gradient(90deg, #ff6a00, #ee0979);
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .hero-text p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 30px;
  }
  .hero-text button {
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: bold;
    background: linear-gradient(90deg, #ee0979, #ff6a00);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transform-origin: center;
  }
  .hero-text button:hover {
    transform: scale(1.08);
  }

  /* Right image */
  .hero-img {
    margin-top: 40px;
  }
  @media (min-width: 900px) {
    .hero-img {
      margin-top: 0;
    }
  }
  .hero-img img {
    max-width: 100%;
    width: 450px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    animation: floatImg 6s ease-in-out infinite;
  }
  @keyframes floatImg {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
  }

/* developer page */

  .add-item{
    background-color: #0f172a;
    height: 50px;
border-radius: 10px !important;
}
.add-item:hover{
cursor: pointer;
}

.task-list{
  margin-top: 10%;
}

.task-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 15px;
  margin: 10px;
  width: 250px;
  text-align: center;
  display: inline-block;
  vertical-align: top;
}

.task-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.task-name {
  font-weight: bold;
  margin-top: 10px;
  font-size: 1.2rem;
}

.task-desc {
  font-size: 0.9rem;
  color: #666;
  margin: 5px 0;
}

.task-price {
  font-size: 1rem;
  color: #27ae60;
  margin-bottom: 10px;
}

.task-actions button {
  margin: 3px;
  padding: 5px 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.task-actions button:hover {
  opacity: 0.8;
}