* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: #1e293b;
  display: flex;
  flex-direction: column;
}

main {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin-bottom: 160px;
	padding-left: 120px;
	padding-right: 120px;	
}

.logo {
	width:100%;
	height:45vh;

	display:flex;
	justify-content:center; /* Horizontal */
	align-items:center;     /* Vertical */
}

lottie-player{
	width:500px;
	max-width:80%;
}	

h1 {
	width:100%;
	font-size: 28px;
	font-weight: 600;
	margin: 0 0 16px;
	line-height: 1.3;
	color: #111827;
}

.tagline {
	font-size: 17px;
	color: #475569;
	max-width: 720px;
	margin: 0 auto;
	line-height: 1.7;
}

footer {
	text-align: center;
	padding: 24px 20px;
	font-size: 14px;
	color: #64748b;
	background-color:#FFFFFF;
	border-top: 1px solid #e2e8f0;
}

footer a {
	color: #334155;
	text-decoration: none;
}

footer a:hover {
	color: #000000;
	text-decoration: underline;
}

.map-link{
    text-decoration:none;
    color:#6B8DA9;
    align-items:center;
	margin-top: 5px;
    transition:
        transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
        color 0.2s ease,
        filter 0.2s ease;
}

footer .map-link:hover{
    transform:scale(1.15);
    color:#4F748F;
}

.divider {
	margin: 0 10px;
	color: #cbd5e1;
}
	
.header{
	width:100%;
	height:30vh;

	display:flex;
	justify-content:center; /* Horizontal */
	align-items:center;     /* Vertical */
}

/* Step 1: Grey box appears scale-in */
.logo-container {
  width: 440px;
  height: 180px;
  background-color: #939597;
  display: flex;
  align-items: center;
  padding: 0;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  border-radius: 0px;
  animation: boxAppear 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Step 3: T & Blue Circle drops and bounces */
.logo-mark {
  width: 210px;
  height: 210px;
  background-color: #648ba4;
  border: 15px solid #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-300px);
  margin-right: 20px;
  margin-left: -2px;
  animation: dropAndBounce 0.8s 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.t-letter {
  color: #ffffff;
  font-size: 140px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 5px;
}

/* Step 2: "Soft" fades in */
.logo-text {
  color: #ffffff;
  font-size: 95px;
  font-weight: 700;
  margin-left: 0px;
  opacity: 0;
  animation: fadeInText 0.6s 0.2s ease-out forwards;
}

/* --- ANIMATION TIMELINES --- */
@keyframes boxAppear {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeInText {
  0% { opacity: 0; transform: translateX(-10px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes dropAndBounce {
  0% { transform: translateY(-300px); }
  60% { transform: translateY(0); } /* First hit */
  75% { transform: translateY(-15px); } /* Bounce up */
  90% { transform: translateY(0); } /* Second hit */
  95% { transform: translateY(-4px); } /* Tiny bounce */
  100% { transform: translateY(0); } /* Settle */
}

/* Background animation */
.background-animation{
    position:fixed;
    inset:0;
    overflow:hidden;
    z-index:-1;
    background:#ffffff;
}

.blob{
    position:absolute;
    border-radius:50%;
    filter:blur(90px);
    opacity:0.52;
    animation:float 18s ease-in-out infinite;
}

.blob1{
    width:420px;
    height:420px;
    background:#6B8DA9;
    top:-120px;
    left:-120px;
}

.blob2{
    width:320px;
    height:320px;
    background:#9BB6CC;
    bottom:-100px;
    right:-80px;
    animation-delay:4s;
}

.blob3{
    width:260px;
    height:260px;
    background:#D8E4EE;
    top:40%;
    left:55%;
    animation-delay:8s;
}

@keyframes float{
    0%{
        transform:
            translate(0,0)
            scale(1);
    }

    25%{
        transform:
            translate(40px,-30px)
            scale(1.08);
    }

    50%{
        transform:
            translate(-20px,20px)
            scale(0.96);
    }

    75%{
        transform:
            translate(30px,40px)
            scale(1.04);
    }

    100%{
        transform:
            translate(0,0)
            scale(1);
    }
}

@media (max-width: 600px) {
  h1 {
	font-size: 23px;
  }

  .tagline {
	font-size: 15px;
  }

  footer span {
	display: block;
	margin: 6px 0;
  }

  .divider {
	display: none;
  }
}