.productHero {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.productHero::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(80deg,#325488, #bfcedf);
clip-path: circle(370px at center 790px);
background-size: cover;
background-repeat: no-repeat;
z-index: -1;
}

.productHeroCenter {
width: 90%;
max-width: 1170px;
margin: .1px auto;
margin-top: -12rem;
display: grid;
padding: 0px 10px;
z-index: 99;
}

.productHeroInfo h1 {
  font-size: 2.8rem;
  text-transform: capitalize;
  color: #325488;
  line-height: 4rem;
  letter-spacing: 3.5px;
  margin-bottom: 1.5rem;
}

.productHeroInfo p {
  color: #325488;
  font-size: 1rem;
  margin-bottom: 2rem;
  text-align: justify;
}


.productBtn {
display: inline-block;
position: relative;
padding: 18px 30px;
background: transparent;
border: 1px solid #325488;
border-radius: 5px;
color: #325488;
font-size: 1.1em;
font-weight: 500;
letter-spacing: 1px;
}

.productBtn:hover{
border-color: transparent;
color: #fff;
}

.productBtn::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height:100%;
background: linear-gradient(to right, #325488, #28446ed5 );
z-index: -1;
transition: transform .5s;
transform-origin: right;
transform: scaleX(0);
border-radius: 5px;
}

.productBtn:hover::before {
transition: transform .5s;
transform-origin: left;
transform: scaleX(1);
}


@media screen and (min-width:1200px) {
  
.productHero::before {
    background-size: cover;
    height: 100%;
  }

  .productHeroCenter {
    display: grid;
    margin-top: -5rem;
    grid-template-columns: 2fr 1fr;
    column-gap: 5rem;
  }

.productHeroInfo h1 {
    font-size: 4.3rem;
    line-height: 5.4rem;
    letter-spacing: 1px;
 }

.productHeroInfo p {
    font-size: 1.2rem;
    line-height: 2.2rem;
    margin-bottom: 1.7rem;
}

.heroImg {
    margin-top: -40px;
     height: 350px;
      display: block;
      justify-self: center;
  }

  .heroImg {
    display: block;
  }
}


.product {
    min-height: 100vh;
    position: relative;
}

.productCenter {
    width: 90%;
    margin: .1px auto;
    padding: 30px 15px;
}

.productDetails h2 {
    position: relative;
    font-size: 1.4em;
    color: #325488;
}

.productDetails h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0px;
    width: 60px;
    height: 2px;
    background: #fb8d03;
}


.projectContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: .1px auto;
    row-gap: 40px;
    margin: 20px 0 0;
}

.articleImg {
    position: relative;
    height: 18rem;
    width: 100%;
    margin-bottom: .6rem;
    cursor: pointer;
}

.image{
   opacity: 1;
   display: block;
    object-fit: contain;
    width: 100%;
    height: 100%;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.middle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.8), rgba(0,0,0,0.8));
    overflow: hidden;
    width: 100%;
    height: 100%;
    transform: scale(0);
    transition: 0.3s ease;
    display: grid;
    place-items: center;
}

.overlay  {
    width: 75px;
    height: 75px;
}

.overlay img {
    max-width: 100%;
    object-fit: contain;
}

.articleImg:hover .image {
    opacity: 0.6;
}

.articleImg:hover .middle {
    transform:scale(1) ;
}

.projectCard h3 {
  color: #325488;
  opacity: 0.8;
  font-size: 1.1em;
  padding: 8px 0;
}

.projectCard p {
    color: #333;
    opacity: 0.8;
    line-height: 25px;
}

@media screen and (min-width:768px) {
    .productHero::before {
        clip-path: circle(370px at center 1090px);
        }

        .productCenter {
            padding: 80px 0px 60px;
        }
       
}


@media screen and (min-width:1200px) {

    
.productHero::before {
    background-size: cover;
    height: 100%;
  }

  .productHeroCenter {
    display: grid;
    margin-top: -5rem;
    grid-template-columns: 2fr 1fr;
    column-gap: 5rem;
  }

.productHeroInfo h1 {
    font-size: 4.3rem;
    line-height: 5.4rem;
    letter-spacing: 1px;
 }

.productHeroInfo p {
    font-size: 1.2rem;
    line-height: 2.2rem;
    margin-bottom: 1.7rem;
}

.heroImg {
    margin-top: -40px;
     height: 350px;
      display: block;
      justify-self: center;
  }

  .heroImg {
    display: block;
  }

     
.productCenter {
    padding: 80px 0px 40px;
}

.productDetails h2 {
    font-size: 2em;
    color: #325488;
    padding-bottom:10px;
    text-align: center;
    letter-spacing: 5px;
}

.productDetails h2::before {
   display: none;
}

 .projectContainer {
     max-width: 1000px;
     margin: .1px auto;
    padding: 20px 50px;
    display: grid;
    grid-template-rows: auto auto auto auto;
    grid-template-columns: 1fr 1fr;
    place-content: center;
    align-content: center;
    gap: 10px; 
}

.projectCard {
    display: flex;
    flex-direction: column;
    margin: auto 4.5rem;
    margin-left: 0;
    margin-bottom: 1.3rem;
}

.articleImg {
    position: relative;
    height: 25rem;
    width: 400px;
    margin-bottom: .6rem;
    cursor: pointer;
}

.image{
    object-fit: contain;
    width: 100%;
    height: 100%;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    border-radius:0px;
}
}