body {
  margin: 0;
  padding: 0;
  font-family: "Poppins";
  justify-content: center;
  padding: 0px 0;
}

.card-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  overflow-x: auto;
  gap: 50px;
}

.card {
  background-color: #ffffff;
  width: 385px;
  overflow: hidden;
  border: 1px solid #55525266;
  border-radius: 19px;
}

.card-image {
  width: 100%;
  display: block;
  height: 260px;
}

.card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 0px;
  color: #000;
  padding-top: 0%;
}

.card-text {
  width: 370px;
  text-align: left;
  font-size: 18px;
  font-family: "Poppins";
  color: #00000099;
  margin-bottom: 10px;
  padding-right: 15px;
}

.card-content {
  padding: 15px;
}

.view-project {
  font-family: "Poppins";
  color: #000;
  font-size: 18px;
  text-decoration: none;
}

.view-project:hover {
  text-decoration: none;
}

.image-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0%;
  justify-items: center;
}

.bg-img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
}

.logo-img {
  position: absolute;
  top: 30%; /* center vertically */
  left: 38%; /* center horizontally */
  transform: translate(-50%, -50%);
  width: 20%; /* control size of logo */
  height: auto;
}

.logo-img-flat-tummy {
  position: absolute;
  top: 42%; /* center vertically */
  left: 28%; /* center horizontally */
  transform: translate(-50%, -50%);
  width: 20%; /* control size of logo */
  height: auto;
}

.logo-img-30-day {
  position: absolute;
  top: 33%; 
  left: 40%; 
  transform: translate(-50%, -50%);
  width: 20%; 
  height: auto;
}

.logo-img-spice-hub {
  position: absolute;
  top: 40%; 
  left: 25%; 
  transform: translate(-50%, -50%);
  width: 20%; 
  height: auto;
}

.overlay-text {
  position: absolute;
  top: 48%;
  left: 38%;
  transform: translate(-50%, -50%);
  color: #203a73;
  font-size: 20px;
  font-weight: 100;
  font-family: "Poppins";
  text-align: center;
  width: 20%;
}

.overlay-text-flat-tummy {
  position: absolute;
  top: 54%;
  left: 28%;
  transform: translate(-50%, -50%);
  color: #65666a;
  font-size: 25px;
  font-weight: 400;
  font-family: "Poppins";
  text-align: center;
  width: 30%;
}

.overlay-text-30-day {
  position: absolute;
  top: 54%;
  left: 41%;
  transform: translate(-50%, -50%);
  color: #65666a;
  font-size: 29px;
  font-weight: 400;
  font-family: "Poppins";
  text-align: center;
  width: 20%;
}

.overlay-text-spice-hub {
  position: absolute;
  top: 54%;
  left: 25%;
  transform: translate(-50%, -50%);
  color: #000000;
  font-size: 20px;
  font-weight: 400;
  font-family: "Poppins";
  text-align: center;
  width: 20%;
}

.head-img {
  display: block;
  width: 90%;
  max-width: 1200px;
  height: auto;
}

.intro-section {
  margin: 20px auto;
  justify-content: center;
  max-width: 1200px;
}

.intro-card {
  display: flex;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #55525266;
  padding: 30px;
}

.intro-left {
  flex: 1;
  text-align: center;
  padding: 20px;
}

.intro-img {
  max-width: 300px;
  border-radius: 10px;
}

.intro-right {
  flex: 2;
  padding: 20px;
}

.intro-right h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #000000;
  font-weight: 600;
}

.intro-right p {
  font-size: 16px;
  color: #00000099;
}

.app-buttons img {
  height: 40px;
  margin-right: 10px;
  margin-top: 10px;
}

.content-left {
  display: flex;
  margin: 20px 20px;
  justify-items: center;
}

.block {
  margin-bottom: 40px;
}

.block h2 {
  font-size: 24px;
  margin-bottom: 12px;
  font-weight: 600;
  color: #000000;
}

.block p {
  line-height: 1.6;
  color: #00000099;
  font-size: 16px;
  margin-bottom: 20px;
}

.block li {
  line-height: 1.6;
  font-size: 16px;
  color: #00000099;
}

.image-right {
  display: flex;
  margin: 20px 40px;
  align-items: center;
}

.image-right img {
  max-width: 450px;
  height: fit-content;
}

.tech-stack-section {
  background-color: #fff;
  margin: 40px 20px;
}

.tech-stack-section h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #000000;
}

.tech-stack-container {
  display: flex;
  justify-content: center;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #1E1E1E;
  text-align: center;
  width: 100%;
  padding-left: 0%;
  padding-right: 0%;
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 70px;
}

.tech-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #000;
}

.tech-item img {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  padding: 10px;
  background-color: #FFFFFF;
  border : 1px solid #DCDCDC;
}

.tech-item span {
  font-size: 22px;
  color: #1E1E1E;
  font-weight: 100;
}

.approach-section {
  margin: 40px auto;
  padding: 0 20px;
}

.approach-section h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #000000;
}

.approach-section .intro {
  color: #00000099;
  font-size: 16px;
  margin-bottom: 20px;
}

.approach-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.approach-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 16px;
  color: #1e1e1e;
  line-height: 1.5;
}

.approach-list li img {
  width: 25px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.result-box {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 30px;
  margin: 40px auto;
  font-family: Arial, sans-serif;
  background-color: #fff;
}

.result-box h3 {
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #000000;
}

.result-box li {
  font-size: 16px;
  line-height: 1.6;
  color: #00000099;
}

.result-box hr {
  margin: 20px 0;
  border: none;
  border-top: 2px solid #ccc;
}

.result-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-card {
  flex: 1;
  min-width: 200px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  text-align: left;
}

.stat-card h2 {
  color: #0154a3;
  font-size: 48px;
  margin: 0 0 10px 0;
  font-weight: bold;
}

.stat-card p {
  font-size: 16px;
  color: #00000099;
  margin: 0;
}

.conclusion-box {
  margin: 40px auto;
}

.conclusion-box h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}

.conclusion-box p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
  color: #00000099;
}

.conclusion-box a {
  color: #0154a3;
  text-decoration: none;
}

.conclusion-box a:hover {
  text-decoration: underline;
}

@media (max-width: 1440px) {
  .bg-img {
    width: 95%;
  }

  .logo-img-30-day {
    top: 33%;
    left: 33%;
    width: 35%;
  }

  .overlay-text-30-day {
    top: 54%;
    left: 34%;
    color: #65666a;
    font-size: 28px;
    font-weight: 400;
    width: 35%;
  }
}

@media (max-width: 1024px) {
  .intro-section {
    margin: 0px 20px;
  }

  .overlay-text {
    top: 52%;
    width: 25%;
  }

  .overlay-text-flat-tummy {
    top: 57%;
    width: 34%;
    font-size: 20px;
  }

  .logo-img-30-day {
    top: 33%;
    left: 32%;
    width: 38%;
  }

  .overlay-text-30-day {
    top: 54%;
    left: 33%;
    font-size: 22px;
    font-weight: 400;
    width: 33%;
  }

  .overlay-text-spice-hub {
    top:54%;
    left: 25%;
    width:25%;
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .intro-card {
    flex-direction: column;
    align-items: center;
  }

  .intro-right {
    text-align: center;
  }

  .app-buttons {
    justify-content: center;
  }

  .problem-solution-section {
    flex-direction: column;
    padding: 40px 20px;
    text-align: center;
  }

  .content-left {
    flex-direction: column;
    margin: 10px;
  }

  .image-right {
    max-width: 100%;
    justify-content: center;
  }

  .overlay-text {
    font-size: 15px;
    top: 52%;
  }

  .overlay-text-flat-tummy {
    top: 57%;
    width: 36%;
    font-size: 16px;
  }

  .overlay-text-30-day {
    top: 54%;
    left: 34%;
    font-size: 18px;
    font-weight: 400;
    width: 36%;
  }

  .overlay-text-spice-hub {
    font-size: 12px;
  }
}

@media (max-width: 425px) {
  .head-img {
    width: 100%;
  }

  .card-text {
    font-size: 1.2rem;
    text-align: center;
    width: 100%;
  }

  .view-project { 
    display: block;
    text-align: center;
  }

  .card {
    width: 100%;
  }

  .image-right img {
    max-width: 100%;
  }

  .intro-img {
    width: 100%;
  }

  .bg-img{
    width: 90%;
  }

  .overlay-text {
    font-size: 10px;
    top: 55%;
    width: 30%;
  }

  .overlay-text-flat-tummy {
    top: 60%;
    width: 45%;
    font-size: 12px;
  }

  .logo-img-30-day {
    top: 33%;
    left: 29%;
    width: 42%;
  }

  .overlay-text-30-day {
    top: 56%;
    left: 33%;
    color: #65666a;
    font-size: 10px;
    font-weight: 400;
    width: 42%;
  }

  .overlay-text-spice-hub {
    font-size: 7px;
  }
}

@media (max-width: 375px) {

  .bg-img{
    width: 100%;
  }
  .overlay-text {
    font-size: 8px;
    top: 60%;
    width: 30%;
  }

  .overlay-text-flat-tummy {
    top: 62%;
    width: 40%;
    font-size: 10px;
  }

  .overlay-text-30-day {
    top: 56%;
    left: 33%;
    font-size: 9px;
    width: 45%;
  }
}

@media (max-width: 320px) {

  .bg-img{
    width: 90%;
  }
}
