.section {
    padding: 100px 0;
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #ffffff;
    font-family: sans-serif;
}
.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.project {
    background-color: #ffffff;
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px #0000001a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px  #00000033;
}
.project-image {
    height: 200px;
    background-color: aliceblue;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
}

.project-content {
    padding: 20px;
}

.project h3 {
    margin-bottom: 10px;
    color: #f7b016;
}

.project-link {
    display: inline-block;
    margin-top: 15px;
    color: #f7b016;
    text-decoration: none;
    font-weight: 600;
}

.search-container {
    position: sticky;
    border-bottom: 1px solid #ffffff1a;
    top: 0;
    z-index: 999;
    background-color: #780415;
    padding: 20px 0;
    text-align: center;
    margin: 40px 0 20px;
}
  
#searchBar {
    width: 80%;
    max-width: 500px;
    padding: 12px 16px;
    font-size: 1rem;
    border: none;
    border-radius: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    outline: none;
}

.added-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-size: 1rem;
    z-index: 1000;
    animation: fadein 0.3s ease, fadeout 0.5s ease 1.5s;
  }
  
  @keyframes fadein {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes fadeout {
    from { opacity: 1; }
    to   { opacity: 0; }
  }
  
  .price-container {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
  }
  
  .price {
    color: #f7b016; /* Gold color to match the branding */
    font-size: 1.4rem;
    font-weight: bold;
  }
  
  .project-link {
    margin-top: 10px;
    display: inline-block;
    color: #780415; /* Matching color for the button */
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    background-color: #f7b016;
    border-radius: 5px;
  }
  
  .project-link:hover {
    background-color: #f39c12;
  }
  
