body,
button,
input,
textarea,
select,
p,
span,
a,
li,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Noto Sans Bengali", "Hind Siliguri", "Nirmala UI", "Vrinda",
    "Poppins", "Spline Sans", Arial, sans-serif;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.tf__main_menu .navbar-brand img {
  max-height: 66px;
  object-fit: contain;
}
.tf__service_video_link {
  position: relative;
  display: block;
  height: 100%;
}
.tf__service_video_link img {
  height: 100%;
  object-fit: cover;
}
.tf__service_play {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 68px !important;
  height: 68px !important;
  line-height: 68px !important;
  border-radius: 50% !important;
  transform: translate(-50%, -50%);
  z-index: 4;
  font-size: 25px !important;
}
@media (max-width: 1199.98px) {
  .tf__banner {
    height: auto;
    min-height: 100vh;
  }
  .tf__banner_img {
    display: block !important;
    width: min(82vw, 480px) !important;
    height: min(82vw, 480px) !important;
    margin: 15px auto 45px;
  }
  .tf__banner_img::after {
    display: block;
    width: 100% !important;
    height: 100% !important;
  }
  .tf__banner_img img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
  }
}
@media (max-width: 575.98px) {
  .tf__banner {
    padding: 105px 0 70px !important;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }
  .tf__banner .container-fluid {
    width: 100%;
    max-width: 100%;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .tf__banner_img {
    width: 100% !important;
    max-width: 390px !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto 30px !important;
    overflow: visible !important;
  }
  .tf__banner_img::after {
    display: none !important;
  }
  .tf__banner_img img {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
  }
  .tf__banner_text {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
  }
  .tf__banner_text h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(30px, 9vw, 38px) !important;
    line-height: 1.12 !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  .tf__banner_text h3 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(20px, 6.3vw, 27px) !important;
    line-height: 1.3 !important;
    overflow-wrap: anywhere;
  }
  .tf__banner_text p {
    width: 100%;
    max-width: 100% !important;
  }
  .tf__banner_text ul {
    width: 100%;
    max-width: 100%;
    margin-top: 32px;
  }
  .tf__banner_text ul li {
    max-width: 100%;
    margin-right: 12px;
  }
  .tf__banner_text .tf__common_btn {
    max-width: 100%;
    white-space: normal;
  }
}
/* Perfect About section alignment */
.tf__about .container {
  max-width: 1320px;
}

.tf__about .row {
  display: grid !important;
  grid-template-columns: minmax(0, 42%) minmax(0, 58%);
  align-items: start !important;
  gap: 50px;
  margin: 0 !important;
}

.tf__about .col-xl-4,
.tf__about .col-lg-4,
.tf__about .col-xl-8,
.tf__about .col-lg-8 {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}

.tf__about_text {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tf__about_text h5 {
  margin-top: 0 !important;
  margin-bottom: 35px !important;
}

.tf__about_text h2:empty {
  display: none;
}

.tf__about_text p {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  font-size: 16px;
  line-height: 1.65;
}

.tf__about_img {
  width: 100% !important;
  height: 560px !important;
  margin: 0 !important;
  overflow: hidden;
}

.tf__about_img img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

/* Tablet and mobile */
@media (max-width: 991.98px) {
  .tf__about .row {
    display: flex !important;
    gap: 0;
  }

  .tf__about_text {
    margin-bottom: 35px !important;
  }

  .tf__about_img {
    height: auto !important;
  }

  .tf__about_img img {
    height: auto !important;
    object-fit: contain;
  }
}