/*

Tooplate 2117 Infinite Loop

https://www.tooplate.com/view/2117-infinite-loop

*/


@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;
}

.container.mid {
 background-color: #005679;
}

.container.dark {
 background-color: #020135;
}

.tm-section-pad-top {
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: white;
}

.tm-section-pad-top.mid {
  background-color: #005679;
}

.tm-content-box {
  padding-top: 20px;
  padding-bottom: 40px;
}

.tm-content-box-text {
  padding-top: 0px;
  padding-bottom: 0px;
}

.tm-content-box-text.left-align {
  text-align: left;
}

.tm-text-primary {
  color: #020135;
  text-align: center !important;
}

.tm-text-primary.mid {
  color: #05d8e7;
  text-align: center !important;
}

.tm-font-big {
  font-size: 1.25rem;
}

.tm-btn-primary {
  color: white;
  background-color: #020135;
  padding: 14px 30px;
}

.tm-btn-primary:hover,
.tm-btn-primary:focus {
  color: white;
  background-color: #020135;
}

/* Navbar */

.tm-navbar {
  position: fixed;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: all 0.3s ease;
  background-color: #020135;
  border-bottom: 1px solid black;
}

.tm-navbar.scroll {
  background-color: white;
  border-bottom: 1px solid #e9ecef;
}

.navbar-brand {
  color: white;
  font-size: 1.4rem;
  font-weight: bold;
}

.navbar-brand:hover,
.tm-navbar.scroll .navbar-brand:hover {
  color: #039db6;
}

.tm-navbar.scroll .navbar-brand {
  color: #039db6;
}

.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;
}

/* Hero */

#infinite {
	background-color: white;
  background-repeat: no-repeat;
  height: 100vh;
  min-height: 375px;
  position: relative;
}

@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: 0px;
}

.tm-hero-title {
  font-size: 3.5rem;
  text-shadow: 2px 2px 2px #333;
}

.tm-hero-subtitle {
  text-shadow: 2px 2px 2px #333;
}

.tm-logo-main {
  width: 60%;
  opacity: 0;                      
  animation: fadeIn 4s ease-out forwards;
}

@media (max-height: 480px) {
  .tm-hero-text-container-inner {
    margin-top: -40px;
  }
}

.tm-down-arrow-link {
  display: block;
  margin-top: 18%;
}

.tm-down-arrow {
  	color: #FFF;
    cursor: pointer;
    background: #020135;;
    padding: 15px 40px;
    transition: all 0.3s ease;
}

.tm-down-arrow:hover,
.tm-down-arrow:focus {
  color: #FFF;
  background: #039db6;
  padding: 20px 50px;
}

/* Introduction */

#introduction {
  padding-bottom: 100px;
}

.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-intro-text {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.8 !important;
  color: #005679;
}

.tm-intro-text.mid {
  color: white;
}

.tm-quote-line {
  display: block;
  text-align: center;
  font-style: italic;
  font-weight: 700;
  color: #ff2a6d; /* change to whatever colour you want */
}

.tm-icon {
  display: block;
  color: #005679;
}

.tm-icon.mid {
  color: #05d8e7;
}

.tm-continue {
	padding: 20px 0 30px 0;
}

/* Testimonials */
#publications {
  background-size: cover;
  background-repeat: no-repeat;
  background-size: 100%;
  position: relative;
}

.tm-publications-content {
  position: relative;
  z-index: 100;
}

.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: 1050px;
  margin: 0 auto;
}

.tm-publications-item {
  max-width: 290px;
  margin-left: 35px;
  margin-right: 35px;
}

.tm-publications-item img {
  border-radius: 50%;
  margin-bottom: 35px;
}

.tm-publications-item figcaption {
  text-align: center;
  font-style: italic;
  font-size: 1em;
}

/* Work */

.tm-section-desc {
  max-width: 650px;
  width: 100%;
  font-size: 0.9rem;
  color: #005679;
}

.tm-gallery-container {
  padding-top: 20px;
  padding-bottom: 40px;
}

.tm-gallery-item {
  margin: 0 15px;
}

.slick-dots {
  bottom: -65px;
  color: #005679;
  transition: all 0.3s ease;
}

.slick-dots li {
  margin: 0 13px;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before,
.slick-dots li.slick-active button:before {
  opacity: 1;
  color: #005679;
}

.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;
}

.slick-dots li button:before {
  font-size: 18px;
}

/* Hover Effect */
/* Common style */
.grid figure {
  position: relative;
  float: left;
  overflow: hidden;
  background: #3085a3;
  text-align: center;
  cursor: pointer;
}

.grid figure img {
  position: relative;
  display: block;
  min-height: 100%;
  max-width: 100%;
  opacity: 0.8;
}

.grid figure figcaption {
  padding: 2em;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.25em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
  pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
  z-index: 1000;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}

.grid figure h2 {
  word-spacing: -0.15em;
  font-size: 0.9em;
  font-weight: 300;
}

.grid figure h2 span {
  font-weight: 600;
}

.grid figure h2,
.grid figure p {
  margin: 0;
}

.grid figure p {
  letter-spacing: 1px;
  font-size: 68.5%;
}

/*---------------*/
/***** Honey *****/
/*---------------*/

figure.effect-honey {
  background: #4a3753;
  max-width: 220px;
}

figure.effect-honey img {
  opacity: 1;
  -webkit-transition: opacity 0.35s;
  transition: opacity 0.35s;
}

figure.effect-honey:hover img {
  opacity: 0.4;
}

figure.effect-honey figcaption::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: #38C;
  content: "";
  -webkit-transform: translate3d(0, 10px, 0);
  transform: translate3d(0, 10px, 0);
}

figure.effect-honey h2 {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1em 1.5em;
  width: 100%;
  text-align: left;
  -webkit-transform: translate3d(0, -30px, 0);
  transform: translate3d(0, -30px, 0);
}

figure.effect-honey h2 i {
  font-style: normal;
  opacity: 0;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(0, -30px, 0);
  transform: translate3d(0, -30px, 0);
}

figure.effect-honey figcaption::before,
figure.effect-honey h2 {
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
}

figure.effect-honey:hover figcaption::before,
figure.effect-honey:hover h2,
figure.effect-honey:hover h2 i {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.tm-container-gallery {
	padding-top: 30px;
	}

/* Contact */

#contact {
  background-position: center;
  background-repeat: no-repeat;
  min-height: 980px;
  position: relative;
}

.contact-item {
  margin-bottom: 50px;
}

.item-link {
  display: flex;
  align-items: center;
}

.item-link i,
.item-link span {
  color: white;
  transition: all 0.3s ease;
}

.item-link:hover i,
.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;
}

.tm-btn-submit {
	font-size: 0.9em;
	color: #020135;
	background-color: white;
	width: 50%;
	margin-bottom: 60px;
	transition: all 0.3s ease;
}

.tm-btn-submit:hover {
	color: white;
	background-color: #ff2a6d;
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: white;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: white;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: white;
}

.tm-footer {
  position: absolute;
  bottom: 35px;
  left: 0;
  right: 0;
  padding: 0 15px;
}

p {
  line-height: 1.9;
}

@media (min-width: 768px) {

  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 30px;
    padding-left: 30px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1275px;
  }

  .tm-container-gallery {
    max-width: 1290px;
  }

  .tm-container-contact {
    max-width: 1063px;
  }
}

@media (max-width: 991px) {
  .tm-intro-text-container {
    padding-top: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }

  .tm-intro-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .tm-btn-submit {
    margin-left: 0;
    margin-top: 20px;
  }
}

@media (max-width: 767px) {

  .navbar-nav {
    max-width: 200px;
    text-align: center;
  }

  .navbar-collapse {
    padding: 10px;
    border-radius: 3px;
  }

}

@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;
  }

  .tm-gallery-item {
    margin: 0;
  }
}

.map-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.pub-authors {
  font-size: 1.1rem;
  color: #005679; 
  margin-bottom: 15px;
  line-height: 1.4;
}

.pub-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: #005679;
  text-decoration: none;
  line-height: 1.4;
}

.pub-title:hover {
  color: #ff2a6d; /* your theme accent */
}

.footer-copyright {
  color: white;
}

li {
  font-size: 1.1rem;
  padding-left: 5px; /* adjust this value */
  margin-left: 0 !important;
}

ul {
  margin-left: 0;
  padding-left: 30px;
}

.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);
  }
}

/* fade text colour from transparent → #020135 → #5A2DE2 */
@keyframes colourChange {
  0% {
    color: #05d8e7;   /* transparent version of start colour */
  }
  100% {
    color: #020135;            /* final colour */
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (max-width: 1000px) {
    .tm-logo-main {
        width: 90% !important;    /* increase for mobile */
    }
}

@media (max-width: 1000px) {
    .intro-type {
        font-size: 14px !important;   /* smaller text */
        line-height: 1.3;
    }
    .intro-type .line {
        display: block;                /* keeps your lines stacked */
    }
}

@media (max-width: 1000px) {
  .tm-footer {
    padding-top: 30px !important;
  }
}

@media (max-width: 1000px) {
  .tm-intro-text.center-align {
    text-align: center !important;
  }
}



/* Radial opacity mask */


.hero-video-bg video {
  -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%
  );
}



/* Ensure hero section is the positioning context */
#infinite {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* Fill the hero with the video layer */
#infinite .hero-video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

/* Video sits at z=1 */
#infinite .hero-video-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Vignette sits ABOVE video at z=2 */
#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.3) 100%
  );
}

/* Keep the down arrow above, but don't override the navbar */
#infinite .tm-next {
  position: relative;
  z-index: 3;
}

/* Keep navbar fixed (as intended) and above video/overlays */
.tm-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}


/* Vignette sits ABOVE video at z=2 */
#philosophy,
#publications .tm-bg-overlay {
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

/* Video starts hidden */
.hero-video-bg video {
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

/* Visible once ready */
.hero-video-bg video.is-ready {
  opacity: 1;
}

