.project-card {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    overflow: hidden;
    border-radius: 10px;
    height: 100%;
}
.html {
  background-color: #d3d6db
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.project-description {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.7s ease, opacity 0.7s ease;
    padding: 0 15px;
}

.project-card:hover .project-description {
    max-height: 250px;
    opacity: 1;
    margin-top: 10px;
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-img-top {
    width: 100%;
    max-height: 250px; 
    object-fit: cover; 
}
.container {
  max-width: 1200px; 
  margin: 2rem auto; 
  padding: 0 15px; 
}
.filter-button {
  padding: 8px 16px; 
  border: none;
  background-color: #f0f0f0; 
  color: #333; 
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease; 
}

.filter-button:hover {
  background-color: #ddd; 
}

.filter-button.active {
  background-color: #007bff; /* when active */
  color: white;
}

.underline-title {
  position: relative;
  display: inline-block;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.underline-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  height: 3px;
  width: 0;
  background-color: #333; 
  transition: width 1s ease; 
}

.underline-title.in-view::after {
  width: 100%; 
}

.contact-section {
  background-color: #d3d6db; 
  color: #333;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  bottom: 0;
  width: 100%;
  font-family: 'Raleway', sans-serif;
}

.contact-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #333;
}


.contact-info {
  display: flex;
  justify-content: center; 
  align-items: center; 
  gap: 30px; 
  text-align: center;
  width: 100%;
}

.contact-item {
  background-color: #ffffff; 
  padding: 20px;
  border: 2px solid #555;
  border-radius: 8px;
  width: 250px; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item i {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #007bff; 
}

.contact-item p {
  font-size: 1.1rem;
  color: #333; 
}

.contact-item a {
  color: #007bff; 
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline; 
}


.contact-item:hover {
  transform: translateY(-5px); 
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
@media (max-height: 750px) {
  .scroll-down {
    bottom: 10px; 
  }
}

.contact-section {
  text-align: center;
  margin: 50px auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  width: 80%;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}


.contact-line {
  height: 4px;
  width: 60px;
  background-color: #333;
  margin: 10px auto;
  border-radius: 2px;
}


.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.contact-item {
  width: 250px;
  text-align: left;
  background: #ffffff;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
  transform: scale(1.05);
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
}

.contact-item i {
  font-size: 24px;
  color: #333;
  margin-right: 10px;
}


.transition-line {
  width: 80%;
  height: 3px;
  background-color: #333;
  margin: 40px auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.9s ease-out;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}


.contact-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 250px; 
  height: 150px; 
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  margin: 10px;
}

.contact-item {
  display: flex;
  justify-content: center;
  gap: 20px; 
}
