
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

* {

  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
}

body {
  color: #222;
}

.ps-overall {
  width: 100%;
  height: auto;
  background: linear-gradient(250.15deg, #AFC4F9 1.6%, #FFFFFF 51.18%, #AAC0F9 92.57%);
  text-align: center;
  z-index: 1;
}


.ps-header {
  background: #2D64ED;
  color: white;
  text-align: center;
  padding: 30px 20px;
}

.ps-header h1 {

  font-weight: 900;
  font-size: 64px;
  line-height: 100px;

}

.ps-intro {
  padding: 30px 16px;
}

.ps-intro h2 {
  font-weight: 900;
  font-size: 45px;
  color: #2D64ED;
  line-height: 75px;
}

.ps-intro p {
  font-weight: 400;
  font-size: 20px;
  line-height: 20px;
}

.ps-buttons {
  margin-top: 16px;
}

button {
  margin: 10px;
  padding: 16px;
  background-color: #276ef1;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  box-shadow: 4px 4px 4px 0px #00000040;
}

button:hover {
  background-color: #1d50b0;
}

.ps-section {
  padding: 30px;
  background-color: #2D64ED;
  color: white;
}


.ps-slant-downwords {
  background: linear-gradient(to bottom,
      #2D64ED 0%,
      #2D64ED 70%,
      transparent 70%,
      transparent 100%);
  position: relative;
  z-index: 3;
  overflow: visible;
}

.ps-slant-downwords::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background: #2D64ED;
  transform: skewY(188deg);
  transform-origin: top left;
  z-index: -1;
}



.slanted-div {
  position: relative;
  /*padding-bottom: 20px;*/
  padding:0px 30px 20px 30px;
  z-index: 1;
  overflow: visible;
  background: linear-gradient(to bottom,
      transparent 0%,
      transparent 80%,
      #2D64ED 80%,
      #2D64ED 100%);
}

.slanted-div::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20%;
  /* Adjust to control the skew depth */
  background: #2D64ED;
  transform: skewY(356deg);
  /* Approximate the slant (adjust if needed) */
  transform-origin: top left;
  z-index: -1;
}


.ps-section-above {
  display: flex;
  align-items: center;
  justify-content: space-between;

}

.ps-section-above p {
  width: 50%;
  text-align: justify;
}

.ps-section h3 {
  font-weight: 700;
  font-size: 36px;

}

.ps-section p {
  font-weight: 400;
  font-size: 16px;

}

.ps-card h4 {
  font-weight: 600;
  font-size: 19px;
  line-height: 35px;
  text-align: left;

}

.ps-card p {
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;

}

.ps-card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-top: 30px;
}

.ps-card {
  background: white;
  color: #222;
  border-radius: 15px;
  padding: 20px;
  width: 375px;
  height: 225px;
  border: 1px solid #CAC5C5;
  box-shadow: 4px 4px 4px 0px #00000040;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: justify;
}

.for-anchor {
  /* background-color: red; */
  /* margin-top: 30px; */
  text-align: right;
  position: relative;
  top: 12%;
}

.for-anchor a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.for-anchor img {
  width: 45px;
  height: 25px;
}


.ps-card:hover {
  transform: translateY(-8px);
  box-shadow: 6px 6px 12px 0px #00000040;
}


/* a {
  text-decoration: none;
  color: #2D64ED;
  font-weight: 600;
}
 */



.ps-services h3 ,.our-solutions-heading{
  font-weight: 900;
  font-size: 64px;
  line-height: 82px;
  color: #2D64ED;
  text-shadow: 3px 3px black;
  text-align: left;
  padding-left: 30px;

}

.our-solutions-heading{
  color: white;
  padding-left: 0px;
  margin-bottom: 15px;
}

/*.lending-grid{*/
/*  justify-content: flex-start;*/
/*  margin-left: 70px;*/
/*}*/

@media (min-width: 1600px) {

  .ps-card {
    height: 190px;
  }

  .ps-section p {
    font-size: 18px;
  }

  .ps-intro p,
  .ps-card p,
  button,
  .ps-card h4 {

    font-size: 18px;
    line-height: 28px;

  }

  .ps-card-grid {
  gap: 102px;
}
}


@media (min-width: 2000px) {

  .ps-intro h2 {
    font-size: 45px;
  }

  .ps-dark h3 {
    font-size: 40px;
  }

  .ps-section p {
    font-size: 24px;
    line-height: 36px;
  }

  .ps-intro p,
  .ps-card p,
  button,
  .ps-card h4 {
    font-size: 24px;
  }

  .ps-card h4,
  .ps-card p {
    line-height: 50px;
  }

    .ps-card {
        width: 550px;
        height: 381px;
    }


  button {
    line-height: 40px;
  }

  .for-anchor img {
    width: 80px;
    height: 45px;
  }

}

@media (min-width: 2500px) {

  .ps-intro h2 {
    font-size: 50px;
  }

  .ps-dark h3 {
    font-size: 45px;
  }

  .ps-section p {
    font-size: 28px;
    line-height: 40px;
  }

  .ps-intro p,
  .ps-card p,
  button,
  .ps-card h4 {
    font-size: 28px;
    line-height: 45px;
  }

  .ps-card h4,
  .ps-card p {
    line-height: 50px;
  }

    .ps-card {
        width: 640px;
        height: 385px;
    }

  .ps-card-grid{
    gap: 190px;
  }

}


@media (max-width: 805px) {
    
    .ps-header h1 {
        font-size: 48px;
        line-height: 56px;
    }

  .ps-header,
  .ps-services h3,.our-solutions-heading {
    font-size: 40px;
  }

  .ps-intro h2 {
    font-size: 35px;
    line-height: 45px;
  }

  .ps-section h3 {
    font-size: 32px;
  }

  .ps-section-above {
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
  }

  .ps-section-above p {
    width: 80%;
    text-align: center;
  }
  
  .ps-intro p {
    font-size: 18px;
    line-height: 25px;
}

  .ps-card {
    width: 340px;
    height: 250px;
 }

/*  .lending-grid{*/
/*  margin-left: 5px;*/
/*}*/


.ps-card-grid{
  justify-content: center;

}

@media (max-width: 425px) {
    
      .ps-card {
    width: 350px;
  }


  .ps-header h1,
  .ps-services h3 ,.our-solutions-heading{
    font-size: 36px;
    line-height: 50px;
  }

  .ps-intro h2 {
    font-size: 28px;
  }


  .ps-card p,
  .ps-intro p {
    font-size: 14px;
  }

  .our-solutions-heading{
    text-align: center;
  }
}

@media (max-width: 376px) {
  .ps-card {
    height: 245px;
    width: 315px;
  }

}

@media (max-width: 320px) {

  .ps-card h4 {
    font-size: 18px;
    line-height: 25px;
  }

  .ps-card {
        width: 275px;
        height: 255px;
  }


  .for-anchor {
    top: 7%;
  }
}