@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&family=Nunito:wght@300;400;600;700;800;900&display=swap");
.about-container {
background: url(//www.petstopclinic.com/wp-content/uploads/2021/07/about-bg@2x.png);
height: 450px;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
display: flex;
align-items: center;
position: relative;
}
#primary .about-container .ab-text{
width: 48%;
padding-left: 9%;
}
#primary .about-container .ab-text h1 {
font-size: 50px;
line-height: 79px;
font-weight: 700;
}
#primary .about-container .ab-text p.ab-sub-descp {
font-size: 30px;
line-height: 50px;
margin-top: 25px;
}
section.individual-services h1.ab-main-head {
font-size: 46px;
line-height: 56px;
padding-top: 80px;
text-align: center;
padding-bottom: 19px;
}
section.individual-services p{
font-size: 25px;
line-height: 48px;
}
section.grey-bg{
background: #f9f9f9;
padding: 89px 121px 118px;
}
section.individual-services p:last-of-type {
padding-bottom: 8rem;
}
section.grey-bg .president .text-pres {
padding-right: 36px;
}
section.grey-bg .president p.pres {
font-size: 30px;
}
section.grey-bg .president p {
font-size: 25px;
line-height: 50px;
}
section.testimonial{
background: url(//www.petstopclinic.com/wp-content/uploads/2021/07/about-1.png);
height: 620px;
background-repeat: no-repeat;
background-size: cover;
}
section.testimonial .testimonial-container {
width: 640px;
height: 440px;
background: #fff;
border-radius: 8px;
padding: 30px 44px 30px 33px;
position: relative;
top: 72px;
left: 106px;
}
section.testimonial .testimonial-container h2{
font-size: 40px;
width: 407px;
font-weight: 800 !important;
line-height: 0.95;
font-family: 'Nunito';
}
.testimonial .testimonial-container img.comma {
padding-top: 14px;
}
.testimonial .testimonial-container .testimonial-footer {
display: flex;
justify-content: space-between;
align-items: center;
}
.testimonial .testimonial-container .testimonial-footer .arrow-container {
display: flex;
}
.testimonial .testimonial-footer p {
font-size: 26px;
font-weight: bold;
}
.testimonial .testimonial-container .testimonial-footer .arrow-container img{
cursor: pointer;
}
.testimonial .testimonial-container .testimonial-footer .arrow-container img:first-of-type {
padding-right: 30px;
}
section.testimonial .testimonial-container .tst-text p {
font-size: 24px;
height: 180px;
padding-bottom: 10px;
width: 90%;
}
section.testimonial .testimonial-container p.comma {
font-size: 37px;
color: #3777ab;
} @media (max-width :1410px){
#primary .about-container .ab-text {
width: 52%;
padding-left: 9%;
}
#primary .about-container .ab-text h1 {
font-size: 46px;
line-height: 70px;
}
}
@media (max-width:1200px){
#primary .about-container .ab-text h1 {
font-size: 40px;
line-height: 62px;
}
#primary .about-container .ab-text p.ab-sub-descp {
font-size: 26px;
line-height: 44px;
}
.about-container{
height: 330px;
}
#primary .about-container .ab-text {
width: 55%;
padding-left: 9%;
}
section.grey-bg{
padding: 60px;
}
section.testimonial{
height: 500px;
background-position:60%;
}
section.testimonial .testimonial-container {
width: 640px;
height: auto;
position: relative;
top: 50%;
left: 5%;
transform: translateY(-50%);
}
section.testimonial .testimonial-container h2 {
font-size: 38px;
width: 65%;
}
section.testimonial .testimonial-container p.text {
font-size: 24px;
height: 175px;
padding-bottom: 20px;
width: 85%;
}
.testimonial .testimonial-container .testimonial-footer .arrow-container img{
height: 45px;
}
}
@media (max-width:991px){
#primary .about-container .ab-text h1 {
font-size: 34px;
line-height: 54px;
}
#primary .about-container .ab-text p.ab-sub-descp {
font-size: 22px;
line-height: 32px;
}
#primary .about-container .ab-text {
width: 62%;
}
.about-container{
height: 300px;
}
section.individual-services h1.ab-main-head{
font-size: 42px;        
}
section.individual-services p {
font-size: 24px;
line-height: 42px;
}
section.grey-bg{
padding: 50px 0;
}
section.grey-bg .president .text-pres {
padding-right: 0;
}
section.grey-bg .president p {
font-size: 24px;
line-height: 48px;
}
section.testimonial{
height: 500px;
background-position: 60%;
}
section.testimonial .testimonial-container {
width: 60%;
height: auto;
position: relative;
top: 50%;
left: 5%;
transform: translateY(-50%);
}
section.testimonial .testimonial-container h2 {
font-size: 35px;
width: 76%;
}
section.testimonial .testimonial-container p.text {
font-size: 22px;
height: 190px;
padding-bottom: 25px;
width: 90%;
}
.testimonial .testimonial-footer p {
font-size: 24px;
font-weight: bold;
margin-bottom: 0;
}
.testimonial .testimonial-container .testimonial-footer .arrow-container img{
height: 40px;
}
#masthead .main-nav .tel-num a.phn-icon {
padding-right: 15px;
}
}
@media (max-width:767px){
.about-container{
height: 300px;
background-position: 65%;
}
#primary .about-container .ab-text {
width: 68%;
padding-left: 5%;
}
#primary .about-container .ab-text h1 {
font-size: 34px;
line-height: 40px;
}
#primary .about-container .ab-text p.ab-sub-descp{
font-size: 20px;
line-height: 28px;
width: 85%;
}
section.individual-services h1.ab-main-head{
font-size: 38px;
}
section.individual-services p {
font-size: 22px;
line-height: 40px;
}
section.grey-bg .president p.pres {
font-size: 26px;
}
section.grey-bg .president p {
font-size: 22px;
line-height: 44px;
}
section.testimonial{
height: 420px;
background-position: 70%;
}
section.testimonial .testimonial-container{
width: 70%;
height: auto;
position: relative;
top: 50%;
left: 4%;
transform: translateY(-50%);
}
section.testimonial .testimonial-container h2{
font-size: 30px;
width: 90%;
}
section.testimonial .testimonial-container p.text {
font-size: 18px;
height: 145px;
padding-bottom: 20px;
width: 95%;
}
.testimonial .testimonial-footer p {
font-size: 22px;
margin-bottom: 0;
}
.testimonial .testimonial-container .testimonial-footer .arrow-container img:first-of-type {
padding-right: 30px;
}
.testimonial .testimonial-container .testimonial-footer .arrow-container img{
height: 35px;
}
.testimonial .testimonial-container img.comma {
padding-top: 10px;
height: 40px;
}
}
@media (max-width:575px){
.about-container{
height: 250px;
background-position: 70%;
}
#primary .about-container .ab-text{
width: 72%;
}
#primary .about-container .ab-text h1{
font-size: 22px;
line-height: 36px;
}
#primary .about-container .ab-text p.ab-sub-descp{
font-size: 16px;
line-height: 26px;
margin-top: 10px;
}
section.individual-services,
section.grey-bg {
padding: 20px;
}
section.individual-services h1.ab-main-head{
font-size: 32px;
padding-top: 40px;
}
section.individual-services p {
font-size: 20px;
line-height: 38px;
}
section.grey-bg .president p {
font-size: 20px;
line-height: 38px;
}
section.grey-bg .president p.pres {
font-size: 25px;
}
section.testimonial{
background-position: 72%;
height: 320px;
}
section.testimonial .testimonial-container{
width: 90%;
height: auto;
padding: 20px;
position: relative;
top: 50%;
left: 5%;
transform: translateY(-50%);
}
section.testimonial .testimonial-container h2{
font-size: 22px;
width: 70%;
}
section.testimonial .testimonial-container p.text{
font-size: 15px;
height: 100px;
padding-bottom: 10px;
width: 100%;
}
.testimonial .testimonial-footer p {
font-size: 17px;
margin-bottom: 0;
}
.testimonial .testimonial-container .testimonial-footer .arrow-container img:first-of-type {
padding-right: 22px;
}
.testimonial .testimonial-container .testimonial-footer .arrow-container img {
height: 30px;
}    
}