/* -------------------------------------------------------
QnSmart i : Custom Style

------------------------------------------------------- */

/* ===================================
    CSS color variable
====================================== */
:root {
   --primary: #00834E;
    --secondary: #AF5725;
}

/* ===================================
    FYUGP
====================================== */
body{
  font-family: "Urbanist", sans-serif;
}
.btn{
  text-transform: capitalize;
}
.text-primary{
  color: var(--primary) !important;
}
.btn-primary{
  background-color: var(--primary);
  border: none !important;
}
.text-primary-color{
  color: var(--primary) !important;

}
.btn-primary:hover{
  background-color: var(--primary);
  border: none !important;
}
.btn-secondary{
  background-color: var(--secondary) !important;
  border: none !important;
}
.cta-btn2{
  background-color: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}
.cta-btn2:hover{
  background-color: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}
.cta-btn3{
  background-color: transparent;
  border: 1px solid white;
  color: white;
}
.cta-btn3:hover{
  background-color: transparent;
  border: 1px solid white;
  color: white;
}


h2{
  font-family: "Figtree", sans-serif;
  font-size: 34px !important;
  line-height: 40px !important;
  font-weight: 700 !important;
  letter-spacing: 0px !important;
  margin-bottom: 20px !important;
}
h3{
  font-size: 22px;
}
h4{
  font-size: 20px;
}
h5{
  font-size: 18px;
}

.bg-primary{
  background: var(--primary) !important;
}
.bg-light-primary{
  background: #e4fff4 !important;
}
.bg-secondary{
  background: var(--secondary) !important;
}

section {
    padding-top: 70px;
    padding-bottom: 70px;
}
p{
  font-family: "Urbanist", sans-serif;
  font-size: 18px;
}


/************************ Banner ************************/
.qn-banner{

}


.qn-banner h2{
  font-size: 45px !important;
  margin-bottom: 20px !important;
}
.qn-banner h3{
  font-size: 25px;
  line-height: 35px;
}

.qn-banner{
  height: 500px;
}
/************************ Abt 1 ************************/
.abt-qn{
  padding-top: 0px;
}
.abt-qn h1{
  font-size: 36px;
  line-height: 48px;
  margin-bottom: 20px;
}
.abt-qn h5{
  font-size: 20px;
  font-weight: 600;
}
.about-qn img{
  height: 500px;
}
.question1{
  border-radius: 20px;
  border: 1px solid var(--secondary);
}
.question1 h3{
  /* color: white; */
  /* color: var(--primary); */
  color: var(--secondary);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0px;
}
/************************ Counter ************************/

.qn-counter {
    /* background-color: var(--primary); */
    background: url(../img/counter-bg1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* background: linear-gradient(to left, #FFC7A7, #CADCAE); */

}
.qn-counter .feature-box{
  border: 1px solid white;
  align-items: center !important;
    height: 145px;
}
.qn-counter h3{
  color: white;
      font-size: 40px;
}
.qn-counter h4{
  color: #E3E3E3;
      font-size: 20px;
    line-height: 30px;
}
.qn-counter .counter1{
  padding: 10px;
}

/************************ Core Features ************************/

.qn-features{

}
.qn-features .front-side, .qn-features .back-side{
  height: 230px !important;
}
.qn-features .back-side p{
  margin: 0;
}
.qn-features .front-side i{
      margin-bottom: 15px;
}
.qn-features .rotate-box-style-02{
  height: 230px !important;
}

/************************ ************************/
.qn-question1 h3{
  font-size: 20px;
  font-weight: 600;
      margin-bottom: 10px;
}

/************************ Qn Helps ************************/

.qn-helps{
  /* background: url(../img/bg1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; */
}
.qn-helps .qn-help1 img{
  height: 200px;
  width: auto;
  object-fit: cover;
  object-position: center;
  margin: 0 auto;
  display: block;
}
/************************ Qn How Works ************************/
.qn-how-works .feature-box{
  background: #004127;
  padding: 20px 40px;
  height: 140px;
}
.qn-how-works .feature-box:hover .feature-box-content{
  color: black;
}
/************************ Institutions ************************/

.qn-institutions p{
      font-size: 15px;
    line-height: 24px;
}
.qn-institutions h3{
  /* color: var(--primary); */
    font-size: 21px;
    font-weight: 600;
}
/************************ Team ************************/
.qn-team img{
  object-fit: cover;
  object-position: top;
}
.qn-team .team1{
  height: 270px !important;
}
.qn-team .team-members img{
  height: 100px;
  width: 100px;
  max-width: unset;
  border-radius: 50% !important;
  margin: 0 auto;
  display: block;
  /* width: 100%; */
  object-fit: cover;
  object-position: top;
}
.qn-team .team2{
    /* border: 2px dotted var(--primary); */
    justify-content: center;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 10px;
    border-radius: 10px;

    background: url(../img/counter-bg1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 200px;
}
.qn-team .team2 h4{
  font-size: 22px;
  font-weight: 500;
  line-height: 30px;
  color: white !important;
}
.team3{
  padding: 10px 15px;
  min-height: 255px;
}
.qn-team .team-style-01{
  margin-bottom: 20px;
}
.team-main1 img{
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
.team-main2 img{
  height: 300px;
    width: 100%;
    object-fit: cover;
    object-position: top;
}
/************************ Responsive ************************/

@media (max-width: 1200px) {
  .qn-banner {
    height: 400px;
}
  .team3 {
    min-height: 200px;
}
.team-main1 img{
  max-height: 250px !important;
}
.team-main3{
  text-align: left !important;
  padding: 20px 30px !important;
}

}
@media (max-width: 992px) {
   .qn-banner {
    height: 350px;
}
 .process-step-icon-box{
  margin-top: 15px !important;
 }
 .process-step-icon{
  width: 45px !important;
  height: 45px !important;
 }
   .team3{
    /* display: inline-block !important; */
    width: 100%;
    /* text-align: center; */
  }
  .team-main2{
    display: flex !important;
  }
  .team2{
    text-align: center !important;
  }
  .team-main1 img {
        max-height: 350px !important;
    }
    .process-step-style-02 .progress-step-separator{
      display: none;
    }
}

@media (max-width: 768px) {
  .qn-banner{
    height: 300px !important;
    margin-bottom: 40px;
  }
  .qn-institutions p{
    /* text-align: left; */
    font-size: 12px;
    line-height: 18px;
  }
  .team-main1 img{
            height: 200px;
        width: 100%;
  }

  .abt-qn img, .qn-question1 img{
    height: 300px;
    width: auto !important;
    margin: 0 auto;
    display: block;
  }

}
@media (max-width: 576px) {

  .team-main1 img{
      height: 150px;
  }
  .qn-team .team-members img {
    height: 80px;
    width: 80px;
  }
}
.main-cta h5 {
    font-size: 20px;
}
.video-thumb {
    position: relative;
    cursor: pointer;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 576px) {
    .play-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}
@media (min-width: 1200px) {
  .modal-xl {
    --bs-modal-width: 1024px;
  }
}
/* Mobile CTA layout fix */
@media (max-width: 767px) {

  .main-cta .row {
    flex-direction: column;
    text-align: center !important;
  }

  .main-cta .feature-box {
    flex-direction: column;
    align-items: center;
  }

  .main-cta .feature-box-icon {
    margin: 0 0 15px 0 !important;
  }

  .main-cta h5 {
    font-size: 22px;
    line-height: 1.3;
    text-align: center;
  }

  .main-cta .col-lg-6.text-lg-end {
    text-align: center !important;
    margin-top: 20px;
  }

  .main-cta .btn {
    display: block;
    margin: 10px auto;
    width: fit-content;
  }

  .main-cta p {
    margin-top: 20px;
    font-size: 16px;
  }
}

/* Tablet CTA fix (768px – 991px) */
@media (min-width: 768px) and (max-width: 991px) {

  .main-cta .row {
    text-align: center !important;
  }

  .main-cta .col-lg-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .main-cta .feature-box {
    justify-content: center;
    flex-direction: column;
  }

  .main-cta .feature-box-icon {
    margin: 0 auto 15px auto !important;
  }

  .main-cta h5 {
    font-size: 24px;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 20px;
  }

  .main-cta .col-lg-6.text-lg-end {
    text-align: center !important;
    margin-top: 10px;
  }

  .main-cta .btn {
    margin: 8px 6px;
  }

  .main-cta p {
    margin-top: 20px;
    font-size: 16px;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
  }
}
