@import url("https://fonts.googleapis.com/css?family=Raleway:100,300,400,500,700,900");

body {
  font-family: "Raleway", sans-serif;
  font-size: 1.2em;
  color: #707070;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

a {
  transition: all 0.3s ease;
  color: white;
}

a:hover,
a:focus {
  text-decoration: none;
  color: #020135;
}

a:focus {
  outline: none;
}

.btn {
  padding: 8px 32px;
}

.btn:hover {
  background-color: #ced4da;
}

blockquote {
  font-size: 1.2em;
  line-height: 1.8em;
}

.container {
  display: block;
  text-align: center;
}

.tm-section-pad-top {
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: white;
}

.tm-content-box {
  padding-top: 20px;
}

.tm-content-box-text {
  padding-top: 0;
  padding-bottom: 0;
}

.tm-content-box-text.left-align {
  text-align: start;
}

.tm-text-primary {
  color: #020135;
  text-align: center;
}

.tm-mini-title {
  font-weight: 700;
}

.tm-font-big {
  font-size: 1.25rem;
}

.tm-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  background-color: #020135;
  border-bottom: 1px solid black;
}

.tm-navbar.scroll {
  background-color: white;
  border-bottom: 1px solid #e9ecef;
}

.nav-item {
  list-style: none;
}

.tm-nav-link {
  color: white;
}

.tm-navbar.scroll .tm-nav-link {
  color: #369;
}

.tm-navbar.scroll .tm-nav-link:hover,
.tm-navbar.scroll .tm-nav-link.current,
.tm-nav-link:hover {
  color: #fff;
  background-color: #039db6;
}

.navbar-toggler {
  border: 1px solid white;
  padding-left: 10px;
  padding-right: 10px;
}

.navbar-toggler-icon {
  color: white;
  padding-top: 6px;
}

.tm-navbar.scroll .navbar-toggler {
  border: 1px solid #707070;
}

.tm-navbar.scroll .navbar-toggler-icon {
  color: #707070;
}

#infinite {
  background-color: white;
  background-repeat: no-repeat;
  height: 100vh;
  min-height: 375px;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

@media (min-height: 600px) and (min-width: 1920px) {
  #infinite {
    background-size: cover;
  }
}

@media (min-height: 830px) {
  #infinite {
    background-position: center -210px;
  }
}

@media (min-height: 680px) and (max-height: 829px) {
  #infinite {
    background-position: center -300px;
  }
}

@media (min-height: 500px) and (max-height: 679px) {
  #infinite {
    background-position: center -400px;
  }
}

@media (max-height: 499px) {
  #infinite {
    background-position: center -450px;
  }
}

.tm-hero-text-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column;
  justify-content: center;
}

.tm-hero-text-container-inner {
  margin-top: 0;
}

.tm-logo-main {
  width: 50%;
  opacity: 0;
  animation: fadeIn 4s ease-out forwards;
}

.intro-type-container {
  display: flex;
  width: 100%;
  align-content: center;
  align-items: center;
  text-align: center;
  justify-content: center;
  padding-left: 30px;
  padding-right: 30px;
}

.intro-type {
  display: flex;
  width: auto;
  align-content: center;
  align-items: center;
  color: #020135;
  font-size: 1.4rem;
  text-align: center;
}

.line {
  display: block;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  animation: fadeInLeft 4s ease-out forwards, colourChange 6s ease-out forwards;
}

.line1 {
  animation-delay: 0.5s;
}

.line2 {
  animation-delay: 2.5s;
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes colourChange {
  0% {
    color: #05d8e7;
  }
  100% {
    color: #020135;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#infinite .hero-video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

#infinite .hero-video-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.2) 40%,
    rgba(0, 0, 0, 1) 60%,
    rgba(0, 0, 0, 1) 100%
  );
  mask-image: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.2) 40%,
    rgba(0, 0, 0, 1) 60%,
    rgba(0, 0, 0, 1) 100%
  );
}

#infinite .hero-video-bg video.is-ready {
  opacity: 1;
}

#infinite .hero-video-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

.tm-section-title {
  font-size: 2.6rem;
  font-weight: 700;
}

.tm-intro-text-container {
  padding-left: 30px;
  padding-right: 30px;
}

.tm-section-title,
.tm-intro-text-container h2 {
  text-align: center;
  width: 100%;
}

.tm-section-title.left-align {
  text-align: start;
}

.tm-intro-text {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.6 !important;
  color: #005679;
}

.tm-intro-text.left-align {
  text-align: start;
  margin-bottom: 0 !important;
}

.tm-quote-line {
  display: block;
  text-align: start;
  font-style: italic;
  font-weight: 700;
  color: #ff2a6d;
}

.tm-icon {
  display: block;
  color: #ff2a6d;
}

.tm-icon.mid {
  color: #05d8e7;
}

#publications {
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow-x: hidden;
}

.tm-publications-content {
  position: relative;
  z-index: 100;
  width: 90%;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}

.tm-bg-overlay {
  width: 100%;
  height: 100%;
  background: white;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.tm-publications-carousel {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.tm-publications-carousel .slick-list {
  overflow-x: hidden !important;
  overflow-y: visible !important;
}

.tm-publications-carousel .slick-track {
  display: flex !important;
  align-items: stretch;
}

.tm-publications-carousel .slick-slide {
  height: auto !important;
  display: flex !important;
}

.tm-publications-carousel .slick-slide > div {
  display: flex;
  width: 100%;
}

.tm-publications-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  border: 1px solid rgba(2, 1, 53, 0.08);
  box-shadow: 0 2px 6px rgba(2, 1, 53, 0.06);
  height: 100%;
  margin: 5px;
}

.tm-publications-item .pub-title {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: #005679;
  text-decoration: none;
  line-height: 1.4;
  transition: all 0.3s ease;
}

.tm-publications-item .pub-title:hover {
  color: #ff2a6d;
}

.tm-publications-item .pub-authors {
  margin-top: auto;
  padding-top: 15px;
  font-size: 1rem;
  color: #005679;
  line-height: 1.4;
}

.tm-gallery-container {
  padding-top: 20px;
  padding-bottom: 40px;
}

.slick-dots {
  bottom: -65px;
  color: #005679;
  transition: all 0.3s ease;
}

.slick-dots li {
  margin: 0 13px;
}

.slick-dots li button:before {
  font-size: 18px;
}

.tm-publications-carousel .slick-dots li button:before {
  color: #005679;
  opacity: 0.5;
}

.tm-publications-carousel .slick-dots li button:hover:before,
.tm-publications-carousel .slick-dots li button:focus:before,
.tm-publications-carousel .slick-dots li.slick-active button:before {
  color: #ff2a6d;
  opacity: 1;
}

#contact {
  background: #ffffff;
  color: #005679;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 980px;
  position: relative;
}

#contact .tm-section-title,
#contact .tm-text-primary {
  color: #020135 !important;
}

#contact .tm-intro-text {
  color: #005679 !important;
}

.contact-item {
  margin-bottom: 50px;
}

.item-link {
  display: flex;
  align-items: center;
}

#contact .item-link i,
#contact .item-link span {
  color: #039db6;
  transition: all 0.3s ease;
}

#contact .item-link:hover i,
#contact .item-link:hover span {
  color: #ff2a6d;
}

.tm-input {
  margin: 0 0 20px 0;
  width: 90%;
  padding: 8px 20px;
  border-radius: 6px;
  border: 1px solid white;
  background: transparent;
  color: white;
}

#contact .tm-input {
  width: 100%;
  background: #ffffff;
  color: #020135;
  border: 1px solid rgba(2, 1, 53, 0.2);
}

#contact .tm-input:focus {
  outline: none;
  border-color: #05d8e7;
  box-shadow: 0 0 0 3px rgba(5, 216, 231, 0.2);
}

#contact ::placeholder {
  color: rgba(0, 86, 121, 0.6);
  opacity: 1;
}

#contact .tm-btn-submit {
  background-color: #039db6;
  color: #ffffff;
  width: auto;
  min-width: 180px;
  border: 0;
}

#contact .tm-btn-submit:hover {
  background-color: #ff2a6d;
  color: #ffffff;
}

.map-responsive {
  position: relative;
  margin-top: 40px;
  margin-bottom: 30px;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#contact .map-responsive {
  border: 1px solid rgba(2, 1, 53, 0.12);
  box-shadow: 0 8px 24px rgba(2, 1, 53, 0.06);
}

.tm-footer {
  position: absolute;
  bottom: 35px;
  left: 0;
  right: 0;
  padding: 0 15px;
}

#contact .tm-footer {
  position: relative;
  bottom: auto;
  padding-top: 20px;
}

#contact .footer-copyright,
#contact .footer-copyright a {
  color: #005679;
}

#contact .footer-copyright a:hover {
  color: #ff2a6d;
}

#contact .contact-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  border: 1px solid rgba(2, 1, 53, 0.08);
  box-shadow: 0 8px 24px rgba(2, 1, 53, 0.06);
  height: 100%;
  box-sizing: border-box;
}

#services .service-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  border: 1px solid rgba(2, 1, 53, 0.08);
  box-shadow: 0 8px 24px rgba(2, 1, 53, 0.06);
  height: 100%;
  box-sizing: border-box;
  width: 100%;
}

#services .row.tm-content-box-text > [class*="col-"] {
  display: flex;
}

li {
  font-size: 1.1rem;
  padding-left: 5px;
  margin-left: 0 !important;
}

ul {
  margin-left: 0;
  padding-left: 30px;
}

.thank-you-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.thank-you-content {
  background: #fff;
  max-width: 400px;
  margin: 15% auto;
  padding: 30px;
  text-align: center;
  border-radius: 8px;
  color: #020135;
}

.thank-you-content button {
  margin-top: 20px;
  color: white;
  background-color: #020135;
  transition: all 0.3s ease;
  border: 0;
}

.thank-you-content button:hover {
  cursor: pointer;
  color: white;
  background-color: #ff2a6d;
}

.col-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-image {
  object-fit: contain;
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

#about .row.tm-content-box {
  display: flex;
  align-items: stretch;
}

#about .col-lg-7,
#about .col-xl-7 {
  display: flex;
}

.about-image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 5px;
  width: 100%;
  height: 100%;
}

.about-image-col {
  display: none;
  width: 100%;
  height: 100%;
}

@media (max-width: 991.98px) {
  .about-image-grid {
    display: none;
  }
  .about-image-col {
    display: block;
  }
}

.service-card-img {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(2, 1, 53, 0.08);
  box-shadow: 0 8px 24px rgba(2, 1, 53, 0.06);
  height: 100%;
  box-sizing: border-box;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.philosophy-text-col {
  display: flex;
  align-items: center;
}

@media (min-width: 991.98px) {
  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 30px;
    padding-left: 30px;
  }

  .container {
    max-width: 1275px;
  }

  .tm-container-contact {
    max-width: 1063px;
  }
}

@media (max-width: 991.98px) {
  .tm-logo-main {
    width: 90% !important;
  }

  .intro-type {
    font-size: 14px !important;
    line-height: 1.3;
  }

  .tm-intro-text.center-align {
    text-align: center !important;
  }

  .section-image {
    display: none !important;
  }

  #about .row.tm-content-box {
    display: block;
  }

  #about .col-lg-7,
  #about .col-xl-7 {
    display: block;
  }

  .about-image-grid {
    height: auto;
  }

  .tm-section-title.left-align,
  .tm-intro-text.left-align {
    text-align: center;
  }

  .tm-intro-text.left-align {
    margin-bottom: 50px !important;
  }

  .tm-quote-line {
    text-align: center;
  }

  .tm-intro-text-container {
    padding-top: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }

  .tm-btn-submit {
    margin-left: 0;
    margin-top: 20px;
  }

  .navbar-nav {
    text-align: center;
  }

  .navbar-collapse {
    padding: 10px;
    border-radius: 3px;
  }

  .tm-footer {
    padding-top: 30px !important;
  }
}

@media (max-width: 480px) {
  .tm-gallery-container {
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
  }

  .tm-gallery-container-2 {
    max-width: 350px;
  }

  .slick-dots li {
    margin: 0 8px;
  }
}
