/* Projects main container */
.pro-main-cont {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  margin: 25px 0;
  /* width: 60%; */
}

/* Section Heading */
.pro-h1 {
  font-size: 48px;
  font-family: Raleway, sans-serif;
  color: #000000;
  text-align: center;
  padding: 30px 0;
  font-weight: 700;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
.pro-h1.show {
  opacity: 1;
  transform: translateY(0);
}

/* Stats Container */
.pro-comp-cont {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  max-width: 834px;
  width: 100%;
  margin: 25px 0;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
.pro-comp-cont.show {
  opacity: 1;
  transform: translateY(0);
}

/* Each Stat Card */
.inner-pro-comp-cont {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 173px;
  height: 108px;
  background-color: #CFDF56;
  border-radius: 6px;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  transition: all 0.6s ease;
}
.inner-pro-comp-cont.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.pro-comp-h1 {
  font-size: 32px;
  font-family: Inter, sans-serif;
  color: #000000;
  font-weight: 700;
}
.pro-comp-p {
  font-size: 16px;
  font-family: Inter, sans-serif;
  color: #000000;
  font-weight: 400;
}

/* Projects grid */
.dif-pro-cont {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1520px;
  width: 100%;
  margin: 40px auto;
  padding: 10px;
}

/* Each project card */
.inner-dif-pro-cont {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 340px;
  padding: 15px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(50px);
}
.inner-dif-pro-cont.show {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover polish */
.inner-dif-pro-cont:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

/* Card Image */
.dif-pro-img {
  width: 100%;
  height: 240px;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.inner-dif-pro-cont:hover .dif-pro-img {
  transform: scale(1.06);
}

/* Card Title + Text */
.dif-pro-title {
  font-size: 22px;
  font-family: Raleway, sans-serif;
  color: #000;
  text-align: center;
  font-weight: 600;
  margin: 14px 0 8px;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.6s ease;
}
.dif-pro-para {
  font-size: 18px;
  font-family: Inter, sans-serif;
  color: #444;
  text-align: center;
  font-weight: 400;
  line-height: 1.5;
  padding: 0 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}
.inner-dif-pro-cont.show .dif-pro-title,
.inner-dif-pro-cont.show .dif-pro-para {
  opacity: 1;
  transform: translateY(0);
}

/* Contact Section */
.pro-contact-cont {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #CFDF56;
  width: 100%;
  height: 249px;
}
.inner-pro-contact-cont {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 60%;
}
.pro-contact-h1 {
  font-size: 40px;
  font-family: Raleway, sans-serif;
  font-weight: 700;
  color: #000;
  max-width: 663px;
}
.pro-contact-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-family: Inter, sans-serif;
  color: #fff;
  background: #000;
  border: none;
  border-radius: 4px;
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.pro-contact-btn:hover {
  background: #e8eccd;
  color: #000;
}
.pro-contact-arrow {
  width: 26px;
  height: 26px;
}

/* ---------------- Responsive Media Queries ---------------- */

/* 2000px - 1200px : 3 cards */
@media (max-width: 2000px) and (min-width: 1200px) {
  .dif-pro-cont {
    justify-content: center;
    gap: 30px;
  }
  .inner-dif-pro-cont {
    flex: 1 1 calc(33.333% - 40px); /* 3 cards */
    max-width: 380px;
  }
}

/* 1199px - 700px : 2 cards */
@media (max-width: 1199px) and (min-width: 700px) {
  .dif-pro-cont {
    justify-content: center;
    gap: 24px;
  }
  .pro-main-cont {
    width: 80%;
  }
  .inner-dif-pro-cont {
    flex: 1 1 calc(50% - 30px); /* 2 cards */
    max-width: 450px;
  }

  .pro-h1 {
    font-size: 38px;
    padding: 20px 0;
  }
  .pro-contact-h1 {
    font-size: 30px;
    max-width: 500px;
  }
}

/* Below 699px : 1 card */
@media (max-width: 699px) {
  .dif-pro-cont {
    justify-content: center;
    gap: 20px;
  }
  

  .pro-h1 {
    font-size: 28px;
    padding: 16px;
  }

  .pro-comp-cont {
    flex-direction: column;
    gap: 18px;
  }
  .inner-pro-comp-cont {
   
    height: auto;
    padding: 18px;
  }

  .pro-contact-cont {
    height: auto;
    padding: 30px 16px;
    text-align: center;
  }
  .inner-pro-contact-cont {
    flex-direction: column;
    gap: 18px;
    width: 100%;
  }
  .pro-contact-h1 {
    font-size: 24px;
  }
  .pro-contact-btn {
    font-size: 16px;
    padding: 10px 20px;
  }
}


@media (max-width: 620px) {
  /* .pro-main-cont {
    width: 100%;
  } */
}