

.projects-section {
    padding-top: 40px;
    padding-bottom: 40px;
    background: #ffffff;
}

.projects-main-title {
    font-family: Outfit, sans-serif;
    color: var(--bs-body-color);
    font-size: 61.8px;
    margin-bottom: 0;
}

.project-block {
    padding: 30px 0; /* Reduced padding to avoid extra space */
    border-bottom: 1px solid #e6e6e6;
    margin-bottom: 30px; /* Adds some spacing between blocks but not too much */
}

.project-block:last-child {
    border-bottom: none;
    margin-bottom: 0; /* Remove bottom margin for the last block */
}

.project-label {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 15px;
    font-family: Outfit, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #5e470b;
    letter-spacing: 1px;
}

.project-label::after {
    content: "";
    width: 80px;
    height: 2px;
    background: #5e470b;
    display: inline-block;
}

.project-block h2 {
    font-family: Outfit, sans-serif;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1f1f1f;
}

.project-block p {
    font-family: Outfit, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #555;
   
    margin-bottom: 28px;
    text-align: justify; /* Added this line to justify the text */
}

.project-gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-gallery a {
    display: block;
    overflow: hidden;
    border-radius: 12px;
}

.project-gallery a:hover img {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
}

@media (max-width: 768px) {
    .projects-main-title {
        font-size: 42px;
    }

    .project-block h2 {
        font-size: 28px;
    }

    .project-gallery img {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .projects-main-title {
        font-size: 34px;
    }

    .project-block {
        padding: 20px 0; /* Less padding on small screens */
    }

    .project-block p {
        font-size: 16px;
    }
}

.card {
  /*background: rgba(255,255,255,0);*/
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  padding: 32px;
  overflow: hidden;
  border-radius: 10px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.card:hover {
  background: rgba(108,117,125,0);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
  padding: 32px;
  overflow: hidden;
  border-radius: 10px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  color: #202020;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.content:hover {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  color: #ffffff;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.content .heading {
  font-weight: 700;
  font-size: 32px;
}

.content .para {
  line-height: 1.5;
}

.content .btn {
  width: 120px;
  font-family: 'Outfit';
  color: #001717;
  text-decoration: none;
  padding: 10px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: #b18840;
  border-radius: 35px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(-45deg, #624605 0%, #b18840 100% );
  z-index: -1;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}

.card:hover::before {
  height: 100%;
}

.card:hover {
  box-shadow: none;
}

.card:hover .btn {
  color: #212121;
  background: #e8e8e8;
}

.content .btn:hover {
  outline: 2px solid #e8e8e8;
  background: transparent;
  color: #e8e8e8;
}

.content .btn:active {
  box-shadow: none;
}

