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

.contactHero::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;
}

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

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

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


.contactsBtn {
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;
}

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

.contactsBtn::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;
}

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


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

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

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

.contactHeroInfo 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;
  }
}



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

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

.firstContactDetails {
    padding: 20px 0 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.contactCard {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
}

.contactCard span {
    background: #fb8d03;
    padding: 8px 10px;
    border-radius: 50%;
}

.contactCard span i {
    font-size: 1.25em;
    color: white;
}

.contactCardDetails h4 {
    color: #325488;
    font-size: 1.2em;
}

.contactCardDetails p {
    color: #333;
    opacity: 0.8;
    padding-top: 5px;
}

.secondContactDetails {
    padding: 40px 0 40px;
}

.form {
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 20px;
    width: 100%;
}

.formRow1 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.formRow1 label input,
.formRow2 label input,
.formRow3 textarea  {
    padding: 10px 15px;
    border: 1px solid #bfcedf;
    width: 100%;
    outline: none;
}

.formRow4 input {
    padding: 10px 15px;
    border-radius: 15px;
    outline: none;
    border: none;
    background: #fb8d03;
    color: white;
    cursor: pointer;
}


@media screen and (min-width: 1200px) {
    .mainContactCenter {
        padding: 120px 28px 60px;
        display: grid;
        grid-template-columns: 1fr 2fr;
        grid-gap: 40px;
    }   
    
    .firstContactDetails {
        padding: 0px 0 0px;
    }

    .secondContactDetails {
        padding: 0px 0 0px;
    }


}

