* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", sans-serif;
}

body {
  background-color: #fff;
  position: absolute;
  width: 100%;
}

.nav-active a{
  color: #07A550;
}

/* section-one */
.cal-sec1 {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 90px 0px 0px;
}
.cal-img {
  height: auto;
  width: 400px;
  border-radius: 12px;
}
.cal-hero {
  /* width: 1130px; */
  max-width: 85%;
  margin: 40px auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
}
.text {
  width: 540px;
}
.text h2 {
  color: #131313;
  font-size: 46px;
  font-weight: 600;
  font-family: "Plus Jakarta Sans", sans-serif;
    
}
  
.text p {
  color: #626060;
  font-size: 16px;
  line-height: 25px;
  letter-spacing: 1px;
  margin-top: 15px;
  font-family: "DM Sans", serif;
}
.cal-cta {
  margin-top: 30px;
}
.calculate {
  font-family: "DM Sans", serif;
  font-size: 16px;
  background: #07A550;
  color: #fff;
  text-decoration: none;
  border: none;
  padding: 13px 30px;
  border-radius: 50px;
  transition: 0.5s;
}
.calculate:hover {
  background: #131313;
  color: #fff;
}

/* section-two */
.cal-sec2 {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0px 0px 0px;
}
.cal-steps-img {
  height: auto;
  width: 400px;
  border-radius: 12px;
}

.cal-steps-intro {
  max-width: 85%;
  margin: 40px auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
}

.cal-steps-intro .text {
  width: 540px;
}

.cal-steps-intro .text h2 {
  color: #131313;
  font-size: 32px;
  font-weight: 600;
  font-family: "Plus Jakarta Sans", sans-serif;
    
}
  
.cal-steps-intro .text p {
  color: #626060;
  font-size: 16px;
  line-height: 25px;
  letter-spacing: 1px;
  margin-top: 15px;
  font-family: "DM Sans", serif;
}

.section-three{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.steps-section {
  width: 80%;
  max-width: 900px;
}

.step {
  background-color: #EBEEF1;
  border-radius: 10px;
  padding: 30px 20px;
  margin: 40px 0;
  text-align: center;
  position: relative;
  
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: #20a864;
  border: 4px solid #fff;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
}

.step h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 20px 0 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.step p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  font-family: "DM Sans", serif;

}

/* Popup Styles */
.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 70px; 
  z-index: 1001;
  width: 90%;
  max-width: 800px;
}

.popup-header {
  margin-bottom: 50px;
}

.popup-header h2 {
  font-size: 18px;
  margin: 0;
  text-align: center;
}

.close-btn {
  border: none;
  font-size: 20px;
  cursor: pointer;
  background-color: #07A550;
  color: #fff;
  padding: 7px 12px;
  border-radius: 50%;
  top: 10px;
  right: 10px;
  position: absolute;
}

.close-btn:hover{
  background-color: #131313;
}

.popup-content {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  gap: 20px;
}

.card {
  background: #f1f1f1;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.card img{
  width: 40px;
}

.card span{
  font-size: 20px;
  font-weight: 600;
  font-family: "DM Sans", serif;
  color: #131313;
}


.card:hover {
  background-color: #ddd;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}


/* -----------------------------------
---------Responsive view-----------
----------------------------------- */

/* ----------section-one--------- */
/* Tablet View */
@media (max-width: 1024px) {
  .cal-hero {
    flex-direction: column;
    align-items: center;
  }
  
  .cal-img {
    /* width: 300px; */
    width: 70%;
    margin-bottom: 20px;
  }
  
  .text {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }
  
    /* .text h2 {
      font-size: 60px;
    } */
  
  .text h5 {
    font-size: 20px;
  }  
  
  .text p {
    font-size: 16px;
  }
}
  
/* Mobile View */
@media (max-width: 768px) {
  .cal-sec1 {
    padding: 50px 0 0;
  }
  
  .cal-hero {
    width: 90%;
    flex-direction: column;
    gap: 30px;
  }
  
  .cal-img {
    /* width: 250px; */
    width: 70%;
    margin-bottom: 20px;
  }
  
  /* .text h2 {
    font-size: 40px;
  } */
  
  .text h5 {
    font-size: 18px;
  }
  
  .text p {
    font-size: 14px;
    line-height: 22px;
  }
  
  .calculate {
    font-size: 16px;
  }

  .popup-content {
    flex-direction: column;
  }

}


/* ----------section-two--------- */
/* Tablet View */
@media (max-width: 1024px) {
  .cal-steps-intro {
    flex-direction: column;
    align-items: center;
  }
  
  .cal-steps-img {
    /* width: 300px; */
    width: 70%;
    margin-bottom: 20px;
  }
  
  .cal-steps-intro .text {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }
  
  /* .cal-steps-intro .text h2 {
    font-size: 60px;
  } */
  
  .cal-steps-intro .text h5 {
    font-size: 20px;
  }
  
  .cal-steps-intro .text p {
    font-size: 16px;
  }
}

/* Mobile View */
@media (max-width: 768px) {
  .cal-sec2 {
    padding: 0px 0px 50px;
  }
  
  .cal-steps-intro {
    width: 90%;
    flex-direction: column;
    gap: 30px;
  }
  
  .cal-steps-img {
    /* width: 250px; */
    width: 70%;
    margin-bottom: 20px;
  }
  
  /* .cal-steps-intro .text h2 {
    font-size: 40px;
  } */
  
  .cal-steps-intro .text h5 {
    font-size: 18px;
  }
  
  .cal-steps-intro .text p {
    font-size: 14px;
    line-height: 22px;
  }
}