/* Extra large devices (1440px and down) */

@media screen and (max-width: 1440px) {
  :root {
    --th-fs-h1: calc(180px * 0.9);
    --th-fs-h2: calc(100px * 0.9);
    --th-fs-h3: calc(40px);
    --th-fs-h4: calc(32px);
    --th-fs-h5: calc(20px);
    --th-color-1: #3157a7;
    --th-color-2: #020202;
    --th-color-3: #7e7e7e;
    --th-color-4: #545454;
    --th-color-5: #ffffff;
    --th-color-6: #fdda16;
  }
}
/* Extra large devices (1200px and down) */

@media screen and (max-width: 1200px) {
  :root {
    --th-fs-h1: calc(180px * 0.7);
    --th-fs-h2: calc(100px * 0.8);
    --th-fs-h3: calc(40px * 0.8);
    --th-fs-h4: calc(32px);
    --th-fs-h5: calc(20px);
  }

  .ntb {
    height: 3px;
  }

  .ntb-t {
    width: 20px;
    margin-left: auto;
  }

  .ntb-m {
    width: 40px;
    margin: 11px 0;
  }

  .ntb-b {
    width: 20px;
  }

  .navbar.active .ntb-t {
    width: 40px;
  }

  .navbar.active .ntb-b {
    width: 40px;
  }
}

/* Large devices (992px and down) */

@media screen and (max-width: 992px) {
  :root {
    --th-fs-h1: calc(180px * 0.6);
    --th-fs-h2: calc(100px * 0.6);
    --th-fs-h3: calc(40px * 0.65);
    --th-fs-h4: calc(32px * 0.6);
    --th-fs-h5: calc(20px * 0.8);
  }
  .fixed-heart {
    width: 150px;
  }
  #home-page .fixed-heart {
    top: 760px;
  }
  #about-page .fixed-heart {
    top: 400px;
  }

  /* .header-bottom {
    max-width: 600px;
  } */
  .navbar {
    padding: 0;
  }

  .h1 .h1-light {
    margin-right: 80px;
  }

  .h1 .h1-black {
    margin-left: 80px;
  }

  .ow-text {
    padding: 20px;
  }

  .ow-btn {
    margin-top: 66px;
  }
  /* Contact page  */
  .chd-ul {
    max-width: 200px;
  }
  .chd-ul .fab {
    width: 40px;
    height: 40px;
    line-height: 40px;
  }
  .project-hero {
    padding: 80px 0;
    height: auto;
  }
  #project-page .our-work {
    padding: 0px;
  }

  #about-page .write-to-us {
    padding-top: 50px;
  }
  .pm-box {
    margin-bottom: 100px;
  }
  .oa-card .th-p {
    font-size: var(--th-fs-h4);
  }
  #pricing-page .fixed-heart {
    top: 400px;
    width: 200px;
  }
  .get-in-touch{
    padding: 40px;
  }
  .pm-card .pm-btn {
    margin-top: 20px;
    margin-bottom: 30px;
  }
}

/* Medium devices (768px and down) */

@media screen and (max-width: 768px) {
  :root {
    --th-fs-h1: calc(180px * 0.5);
    --th-fs-h2: calc(100px * 0.5);
    --th-fs-h3: calc(40px * 0.6);
    --th-fs-h4: calc(32px * 0.6);
    --th-fs-h5: calc(22px * 0.75);
  }
  #home-page .fixed-heart {
    top: 730px;
    width: 200px;
  }
  #about-page .fixed-heart {
    top: 400px;
    width: 200px;
  }
  #pricing-page .fixed-heart {
    top: 380px;
    width: 140px;
  }
  .hero,
  .approach,
  .more-project {
    padding: 60px 0;
  }
  #service-page .write-to-us {
    padding-top: 50px;
  }
  /* main {
    padding-top: 70px;
  } */
  /* Navigation  */
  .nav-logo {
    max-width: 150px;
  }

  .nav-container {
    padding-top: 120px;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
  }

  .nav-container ul li {
    margin: 10px 0px;
  }

  .nav-container ul li a {
    font-size: 40px;
  }
  .ht-left {
    max-width: 150px;
  }
  .ht-right #heart {
    width: 50px;
    height: 50px;
  }

  #contact-page .fixed-heart {
    width: 140px;
  }
  .header-top .container-xxl {
    padding: 0 10px;
  }
  .header-bottom {
    max-width: 430px;
  }
  .hb-container .hb-box {
    padding: 10px 5px;
  }
  .hb-container .nav-item a {
    margin: 0px 4px;
    transition: all 0.5s;
  }
  .ow-text .h3:first-child {
    font-weight: 500;
    color: var(--th-color-3);
  }

  .specialize {
    padding: 50px 0;
  }
  .ss-box-cus{
    padding: 30px 20px;
  }
  .ss-box-cus .th-btn{
   margin-top: 50px;
  }
  .h1 .h1-light {
    margin-right: 30px;
  }

  .h1 .h1-black {
    margin-left: 30px;
  }
  .mouse-icon {
    margin: 100px 0 0 0;
  }
  .our-project {
    padding: 80px 0 40px;
  }

  /* About Page  */
  .ah-text {
    padding-top: 80px;
  }
  .th-p {
    font-size: var(--th-fs-h5) !important;
  }
  .oa-card {
    min-height: auto;
    padding: 40px;
  }
  .oa-box {
    padding: 40px 0;
  }
  .oa-card .h3 {
    margin-bottom: 20px;
  }
  /* Pricing Page  */
  .pm-service {
    margin-top: 30px;
  }
  .pm-box .pmb-1,
  .pm-box .pmb-2 {
    padding: 0 20px;
  }
  .pm-box .pmb-1 .pm-card,
  .pm-box .pmb-2 .pm-card {
    height: 100%;
  }
  .pm-box .pmb-3 {
    padding: 40px 20px;
  }
  .pm-card {
    background-color: rgba(255, 255, 255);
    padding: 45px 30px;
    border-radius: 50px;
  }
  /* case study page  */
  .result .r-box {
    padding: 50px 0;
  }
  .case-study-logo {
    padding-top: 0;
  }
  .case-study-logo .col-md-5,
  .case-study-logo .col-md-7 {
    padding: 10px !important;
  }
  .approach-slider {
    margin-top: 70px;
  }
  .more-project .h3 {
    padding: 20px 0 !important;
  }
  .c-suite-impact .case-study-logo {
    padding-top: 50px;
  }
  .c-suite-impact .case-study-logo .col-md-5 {
    margin-top: 20px;
  }
  .ah-text,
  .ph-text {
    padding: 30px 0 0 0;
  }
  .pricing-hero {
    padding-bottom: 0px;
  }
  .oa-box .col-md-4:nth-child(2),
  .oa-box .col-md-4:nth-child(3) {
    right: 0px;
  }
  .get-in-touch{
    padding: 20px !important;
  }
  .csh-img #youtube {
    height: 450px;
}
.oa-box .row{
  position: relative;
  left: 0px;
}
.pricing-form{
  padding: 30px;
}
.pricing-form-wrapper{
  overflow-y: scroll;
}
.pricing-form .pf-box .pf-input{
  margin-top: 16px;
}
.pricing-form-wrapper .fas{
  width: 40px;
  height: 40px;
  line-height: 40px;
}
.pricing-form .pf-box .pf-input .th-btn:hover:before {
  top: -110%;
}
.thank-you .far{
  width: 50px;
  height: 50px;
  line-height: 50px;
}.thank-you .h3{
  font-size: var(--th-fs-h2);
}
.pm-service .pms-item{
  padding: 20px;
}
}

/* Small devices (576px and down) */

@media screen and (max-width: 576px) {
  :root {
    --th-fs-h1: calc(180px * 0.3);
    --th-fs-h2: calc(100px * 0.3);
    --th-fs-h3: calc(40px * 0.65);
    --th-fs-h4: calc(32px * 0.6);
    --th-fs-h5: calc(22px * 0.6);
  }
  .container-xxl{
    padding: 0px 20px;
  }
  #cardstack{
    padding: 0px 20px;
  }
  /* .th-btn::before{
height: 200px;
  } */
  
  /* MOBILE BUTTON - CHANGE */
  .th-btn{
    font-size: calc(var(--th-fs-h4) * 1.1) !important;
  }
  .th-btn .far {
    font-size: calc(var(--th-fs-h4) * 1.1) !important;
  }
  /* MOBILE BUTTON - CHANGE */

  .opi-overlay .th-btn{
    font-size: var(--th-fs-h5);
    padding: 5px 15px;
  }
  .opi-overlay .th-btn .far{
    font-size: var(--th-fs-h5);
  }
  #about-page .fixed-heart {
    top: 600px;
    width: 150px;
  }
  #pricing-page .fixed-heart {
    top: 500px;
    width: 120px;
  }
  
  .header-bottom {
    position: fixed;
    top: 0;
    left: 0%;
    width: 100%;
    max-width: 100%;
    height: 100%;
    padding: 20px 0px;
    background-color: #fff !important;
    transform: translateX(100%);
    transition: all 0.5s;
  }
  .pm-border-box {
    padding: 0px 0px;
    border: none;
  }
  .pm-service {
    margin-top: 0px;
  }
  .pm-service .pms-item{
    padding: 10px;
  }
  .pm-card{
    padding: 40px 20px;
  }
  .pm-card .th-p{
     margin: 10px 0px 20px;
     line-height: 140%;
  }
  .pm-card .pm-btn{
    margin-top: 20px;
  }
  .header-top {
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--th-color-5);
  }

  .banner {
    padding-top: 40px;
  }
  .space {
    display: none !important;
  }
  .oa-box .col-md-4{
    margin-bottom: 20px;
  }
  .our-project {
    padding: 40px 0 20px;
  }
  .ow-text {
    padding: 0px;
  }
  .ow-text .ow-btn {
    margin: 20px 0px !important;
  }

  .op-slider-arrow .far {
    width: 40px;
    height: 40px;
    line-height: 40px;
  }
  .opi-overlay .ow-text {
    padding: 40px;
  }
  .header-bottom.active {
    transform: translateX(0%);
    padding-top: 0px;
    border-radius: 0px;
  }
  .header-bottom .hb-box {
    height: 100vh;
    margin-top: 100px;
  }
  .header-bottom .hb-box ul {
    width: 100%;
  }
  .header-bottom .hb-box li {
    text-align: center;
    margin: 20px 0px;
  }
  .header-bottom .hb-box li a {
    font-size: var(--th-fs-h3);
  }
  .th-btn:hover:before {
    top: -90%;
  }
  .our-work {
    padding-bottom: 0px;
  }

  .write-to-us,
  .challenge {
    padding: 50px 0;
  }
  .hero.pricing-hero {
    padding-top: 60px;
  }
  main {
    padding-top: 80px;
  }
  .ah-text,
  .ph-text {
    padding: 20px 0 0 0;
  }
  .pricing-main {
    padding: 100px 0 50px 0px;
  }
  .pricing-main .container-xxl{
    padding: 0 !important;
  }
  .pm-border-box,
  .pm-card{
    border-radius: 0;
  }
  #contact-page .ch-details .h1 {
    font-size: calc(180px * 0.29);
  }
  .our-approach {
    padding-top: 100px;
  }
  .fixed-heart {
    width: 100px;
  }
  .nav-logo {
    max-width: 140px;
  }
  .foot-up {
    padding-top: 0;
  }
  .foot-up .fal {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 22px;
  }
  /* Pricing Page  */
  .pm-box .pmb-1,
  .pm-box .pmb-2,
  .pm-box .pmb-3 {
    margin-top: 30px;
  }
  .pm-box .pmb-3 {
    padding: 0px 20px;
  }
  .pm-tab-box {
    display: flex;
    flex-direction: column;
    border: none;
    padding-top: 15px;
  }
  .pm-tab-box .pmtb-btn {
    padding: 0;
    margin-bottom: 15px;
  }
  .pm-tab-box .pmtb-btn .h5 {
    font-size: var(--th-fs-h4);
  }
  .pm-tab-box .pmtb-btn-line {
    width: 0px;
  }
  .pm-tab-box .pmtb-btn.active {
    border-bottom: 5px solid var(--th-color-1);
    opacity: 1;
  }
  .ss-box-cus{
    padding:20px;
  }
  .ss-box-cus .th-btn{
   margin-top: 20px;
  }
  .ss-box-cus .sr-t {
    margin-left: 20px !important;
  }
  .ss-box-cus .sr-t .h5 {
    padding: 4px !important;
  }
  .phtb a {
    opacity: 1;
  }
  .pm-tab-box .pmtb-btn {
    opacity: 1;
  }
  .ph-tab-btn{
    /* gap: 15px; */
    margin-bottom: 20px;
  }
  .csh-img #youtube {
    height: 300px;
}
.more-project{
  padding-top: 0px;
}
.np-box .npb-left .h3,
.np-box .npb-right .h3{
font-size: 18px;
}
.np-box .npb-right .v-line{
  min-height: 40px;
  transition: all 1.5s;
}
.np-box .npb-right{
  margin-top: 10px;
}
.pricing-form-wrapper{
  display: block;
  overflow-y: scroll;
}
.pricing-form {
margin-top: 45px;
}
.pricing-form .pf-box .pf-input label,
.pricing-form .pf-box .pf-input input::placeholder,
.pricing-form .pf-box .pf-input textarea::placeholder,
.pricing-form .pf-box .pf-input .th-btn,
.pricing-form .pf-box .pf-input .th-btn .far{
  font-size:var(--th-fs-h5) !important;
}
}
