@import url('https://fonts.googleapis.com/css2?family=Arvo&family=Bebas+Neue&family=Open+Sans:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&family=Oswald&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&family=Oswald&family=Playfair+Display&display=swap');

*{
    margin: 0;
    box-sizing: border-box;
    color: white;
}

@font-face {
    font-family: "century-gothic";
    src: url(../fonts/century-gothic/CenturyGothic.ttf);
}

:root{
    --century-gothic: "century-gothic";
    --font1: 'Open Sans', sans-serif;
    --font2: 'Arvo', serif;
    --font3: 'Playfair Display', serif;
    --font4: 'Instrument Serif', serif;
    --font-head: 'Didact Gothic', sans-serif;
    --font-content: 'Oswald', sans-serif;
    --primary-color : #1A7248;
    --secondary--color : #816309;  
    --black1: #191919; 
}

h1{
    font-family: var(--century-gothic);
    font-weight: 400;
}

p{
    font-family: var(--century-gothic);
}

a{
    font-family: var(--century-gothic);
    text-decoration: none;
}


.main{
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: var(--black1);
}


/* ======section -1 ======== */

.section1{
    height: 100%;
    width: 100%;
    /* margin-top: 80px; */
}

.testimonialHero{
    height: 100vh;
    width: 100%;
    background-image: url(../images/testimonials/hero-section-1.jpg);
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 10px;
}

.testimonialHero h1{
    /* width: 50%; */
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    overflow: hidden;
    /* border-bottom: 2px solid var(--primary-color); */
}

.heroLine{
    height: 1.5px;
    width: 15rem;
    background-color: var(--primary-color);
    animation: lineAnimation 0.8s ease-in-out;
}

.testimonialHero p{
    width: 50%;
    font-size: 0.8rem;
}

@keyframes lineAnimation{
    0%{
        width: 0px;
    }
    100%{
        width: 15rem;
    }
}


/* ======section 2 ======== */

.section2{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.trusted{
    height: 100%;
    width: 90%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.trustedTop{
    display: flex;
    height: 300px;
    width: 100%;
    padding: 50px 0px;
}

.trustedLeft{
    height: 100%;
    width: 50%;
    display: flex;
    align-items: center;
    text-align: center;
}

.trustedLeft h1{
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 2px;
}


.trustedRight{
    border-left: 2px solid var(--primary-color);
    height: 100%;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 10px;
}

.trustedRight p{
    font-size: 1.2rem;
}

.trustedBottom{
    height: 100%;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.trustedBottom i{
    color: var(--primary-color);
    font-size: 2.5rem;
}


/* ========section 3======== */

.section3{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonials{
    padding: 50px 0px;
    height: 100%;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.testimonialHead{
    height: 100%;
    width: 100%;
    align-items: start;
    padding: 5px 0px;
    border-bottom: 4px solid var(--primary-color);
}

.testimonialHead h1{
    font-size: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}


.testimonialContent{
    padding: 25px 0px;
    height: 100%;
    width: 100%;
}

swiper-container {
    width: 100%;
    height: 100%;
  }

  swiper-slide {
    height: 100%;
    width: 100%;
    text-align: center;
    font-size: 18px;
    /* background: #fff; */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }


  .test{
    height: 100%;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 25px 0px;
    border: 1px solid var(--primary-color);
    gap: 10px;
  }

  .testImg{
    height: 5rem;
    width: 5rem;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
  }

  .testImg img{
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .testContent{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .testContent p{
    font-size: 0.9rem;
    padding: 5px 20px;
  }

  .testLine{
    height: 1.5px;
    width: 5rem;
    background-color: var(--primary-color);
  }

  .testClient{
    height: 100%;
    width: 100%;
  }

  .testClient h1{
    font-size: 1.6rem;
    letter-spacing: 2px;
  }

  .testClient p{
    font-size: 0.8rem;
  }



  /* ======media query======= */
  @media screen and (max-width: 600px) {
    .testimonialHero p{
        width: 70%;
    }

    .trustedTop{
        flex-direction: column;
        height: 100%;
        gap: 10px;
        padding: 10px 0px;
    }
    .trustedLeft{
        width: 100%;
    }
    .trustedLeft h1{
        font-size: 2rem;
    }
    .trustedRight{
        width: 100%;
    }
    .trustedBottom{
        width: 80%;
        padding: 10px 0px;
    }
    .testimonials{
        padding: 20px 0px;
    }
    .test{
        width: 100%;
    }
  }