:root {
  --tm-green-900: #063d1d;
  --tm-green-800: #0b622d;
  --tm-green-700: #087333;
  --tm-green-500: #14a24a;
  --tm-ink: #111a14;
  --tm-muted: #626961;
  --tm-paper: #fbfdf9;
  --tm-line: rgba(10, 112, 51, 0.48);
  --tm-shadow-soft: 0 24px 70px rgba(24, 57, 32, 0.16);
  --tm-shadow-card: 0 26px 55px rgba(15, 36, 20, 0.22);
  --tm-cursive: "Pacifico", "Brush Script MT", cursive;
  --tm-sans: "Plus Jakarta Sans", "Poppins", sans-serif;
}

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

@supports (overflow-x: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

.tm-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tm-hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  overflow: hidden;
  box-sizing: border-box;
  isolation: isolate;
  padding: 1.7rem clamp(1rem, 2.4vw, 1.9rem) 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(210, 239, 219, 0.5), transparent 22rem),
    radial-gradient(circle at 86% 72%, rgba(226, 244, 232, 0.64), transparent 23rem),
    linear-gradient(180deg, #fefffb 0%, #fbfdf9 62%, #f5fbf1 100%);
  color: var(--tm-ink);
}

.tm-hero *,
.tm-hero *::before,
.tm-hero *::after {
  box-sizing: border-box;
}

.tm-hero__pattern {
  position: absolute;
  inset: 4.4rem 0 2.5rem;
  z-index: -3;
  opacity: 0.42;
  background-image:
    url("data:image/svg+xml,%3Csvg width='96' height='96' viewBox='0 0 96 96' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%230b622d' stroke-opacity='.18' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 64h19l-9-18-10 18Z'/%3E%3Cpath d='M22 64V47M61 67h21M65 67V50h13v17M67 54h9M44 28c6 8 12 8 18 0M45 42h17M49 34v8M76 22l5 8 5-8M78 26h6M14 22h13v9H14zM18 31v6M24 31v6'/%3E%3Ccircle cx='76' cy='67' r='5'/%3E%3Ccircle cx='25' cy='37' r='3'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 104px 104px;
}

.tm-navbar {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 190px 1fr 180px;
  align-items: center;
  width: 100%;
  max-width: 1378px;
  min-height: 58px;
  margin: 0 auto;
  padding: 0.48rem 0.75rem 0.48rem 1.8rem;
  border-radius: 0.82rem;
  background: var(--tm-green-800);
  box-shadow: 0 10px 0 rgba(6, 61, 29, 0.06), 0 16px 36px rgba(0, 42, 16, 0.22);
}

.tm-navbar__brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.tm-navbar__brand img {
  width: 86px;
  height: auto;
  filter: brightness(0) invert(1);
}

.tm-navbar__links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.9rem, 3vw, 2.55rem);
}

.tm-navbar__link,
.tm-navbar__cta {
  font-family: var(--tm-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 220ms ease, color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.tm-navbar__link {
  color: rgba(255, 255, 255, 0.86);
  padding: 0.68rem 1.05rem;
  border-radius: 0.45rem;
}

.tm-navbar__link:hover,
.tm-navbar__link--active {
  color: var(--tm-green-800);
  background: #fff;
  transform: translateY(-1px);
}

.tm-navbar__cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 136px;
  min-height: 32px;
  padding: 0.58rem 1.05rem;
  border-radius: 0.48rem;
  color: var(--tm-green-800);
  background: #fff;
  box-shadow: 0 12px 24px rgba(6, 61, 29, 0.18);
}

.tm-navbar__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(6, 61, 29, 0.24);
}

.tm-navbar__toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.65rem;
  color: var(--tm-green-800);
  background: #fff;
}

.tm-hero__content {
  position: relative;
  z-index: 8;
  max-width: 690px;
  margin: clamp(5.6rem, 12vh, 7.6rem) auto 0;
  text-align: center;
}

.tm-hero__content h1 {
  margin: 0;
  color: var(--tm-green-800);
  font-family: "Allison", var(--tm-cursive);
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 100;
  line-height: 1.04;
  letter-spacing: 1;
  text-shadow: 0 12px 28px rgba(6, 61, 29, 0.08);
}

.tm-hero__subtitle {
  margin: 0.35rem 0 0;
  color: #161616;
  font-family: var(--tm-sans);
  font-size: clamp(1.05rem, 1vw, 1.28rem);
  font-weight: 800;
  letter-spacing: 0;
}

.tm-hero__description {
  max-width: 500px;
  margin: 0.78rem auto 0;
  color: var(--tm-muted);
  font-family: "Poppins", sans-serif;
  font-size: clamp(0.93rem, 0.5vw, 0.5rem);
  line-height: 1.6;
}

.tm-hero__button {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  min-height: 40px;
  margin-top: 1.28rem;
  padding: 0.72rem 1.14rem;
  border-radius: 0.45rem;
  color: #fff;
  background: var(--tm-green-900);
  box-shadow: 0 14px 26px rgba(6, 61, 29, 0.22);
  font-family: var(--tm-sans);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.tm-hero__button:hover {
  transform: translateY(-2px);
  background: var(--tm-green-700);
  box-shadow: 0 18px 34px rgba(6, 61, 29, 0.28);
}

.tm-hero__button .material-symbols-outlined {
  font-size: 1.18rem;
}

.tm-hero__watermark {
  position: absolute;
  right: 30%;
  bottom: 20%;
  z-index: -1;
  margin: 0;
  color: rgba(6, 98, 45, 0.3);
  font-family: "Island Moments", var(--tm-cursive);
  font-size: clamp(3.5rem, 4vw, 6rem);
  line-height: 0.95;
  text-align: right;
  transform: rotate(-45deg);
  pointer-events: none;
}

.tm-route {
  position: absolute;
  inset: 5rem 1.2rem 3.4rem;
  z-index: 2;
  width: auto;
  height: calc(100% - 8.4rem);
  overflow: visible;
  pointer-events: none;
}

.tm-route__path {
  fill: none;
  stroke: var(--tm-line);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-dasharray: 3 8;
  animation: tm-dash-travel 16s linear infinite;
}

.tm-route__path--echo {
  stroke: rgba(6, 61, 29, 0.15);
  stroke-width: 5;
  stroke-dasharray: 1 18;
  animation-duration: 26s;
}

.tm-route__traveller {
  filter: drop-shadow(0 10px 14px rgba(6, 61, 29, 0.18));
}

.tm-float-card,
.tm-decoration {
  position: absolute;
  z-index: 5;
  margin: 0;
  --tm-parallax-x: 0px;
  --tm-parallax-y: 0px;
  transform-style: preserve-3d;
  will-change: transform;
}

.tm-float-card {
  filter: drop-shadow(var(--tm-shadow-card));
  animation: tm-float 6.8s ease-in-out infinite;
  transition: transform 260ms ease, filter 260ms ease;
}

.tm-float-card:hover {
  filter: drop-shadow(0 34px 64px rgba(15, 36, 20, 0.28));
}

.tm-float-card img,
.tm-decoration {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
}

.tm-float-card img {
  transition: transform 260ms ease;
}

.tm-float-card:hover img {
  transform: translateY(-7px) scale(1.015);
}

.tm-float-card--trending {
  top: 20.2%;
  left: 3.1%;
  width: clamp(240px, 22vw, 360px);
  transform: translate3d(var(--tm-parallax-x), var(--tm-parallax-y), 0) rotate(-17deg);
  animation-delay: -1.8s;
}

.tm-float-card--booking {
  top: 20.5%;
  right: 5.8%;
  width: clamp(156px, 15vw, 234px);
  transform: translate3d(var(--tm-parallax-x), var(--tm-parallax-y), 0) rotate(10deg);
  animation-delay: -3.1s;
}

.tm-float-card--coupon {
  left: 27%;
  bottom: 4.6%;
  width: clamp(244px, 18vw, 410px);
  transform: translate3d(var(--tm-parallax-x), var(--tm-parallax-y), 0) rotate(5deg);
  animation-delay: -0.7s;
}

.tm-float-card--polaroid {
  right: 9%;
  bottom: 8%;
  width: clamp(150px, 10vw, 232px);
  transform: translate3d(var(--tm-parallax-x), var(--tm-parallax-y), 0) rotate(-10deg);
  animation-delay: -2.4s;
}

.tm-decoration {
  pointer-events: none;
  filter: drop-shadow(0 14px 22px rgba(6, 61, 29, 0.12));
  animation: tm-float-soft 7.5s ease-in-out infinite;
}

.tm-decoration--bus {
  top: 42.5%;
  left: 30.4%;
  width: clamp(48px, 5.2vw, 72px);
  transform: translate3d(var(--tm-parallax-x), var(--tm-parallax-y), 0) rotate(-12deg);
}

.tm-decoration--booking {
  left: 7.7%;
  bottom: 25%;
  width: clamp(48px, 5vw, 68px);
  transform: translate3d(var(--tm-parallax-x), var(--tm-parallax-y), 0) rotate(-8deg);
  animation-delay: -2.5s;
}

.tm-decoration--destination {
  top: 32%;
  right: 20%;
  width: clamp(42px, 4vw, 62px);
  transform: translate3d(var(--tm-parallax-x), var(--tm-parallax-y), 0) rotate(5deg);
  animation-delay: -4s;
}

.tm-hero__trust {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 46px;
  padding: 0.6rem 1rem;
  color: var(--tm-green-800);
  font-family: var(--tm-sans);
  font-size: clamp(0.95rem, 1.55vw, 1.18rem);
  letter-spacing: 0;
}

.tm-hero__trust .material-symbols-outlined {
  font-size: 1.25rem;
}

.tm-about-showcase__top {
  position: relative;
  overflow: hidden;
  padding: 2rem 1.25rem 4rem;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.12), transparent 32%),
    linear-gradient(180deg, #106534 0%, #6da581 44%, white 100%);
}

.tm-about-showcase__ridge,
.tm-about-showcase__sketch {
  position: absolute;
  pointer-events: none;
}

.tm-about-showcase__ridge {
  top: 0.6rem;
  left: 50%;
  width: min(100%, 1600px);
  height: 21.25rem;
  transform: translateX(-50%);
}

.tm-about-showcase__ridge path {
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tm-about-showcase__sketch {
  top: 0.8rem;
  z-index: 0;
  width: 46rem;
  height: auto;
  opacity: 0.56;
  object-fit: contain;
}

.tm-about-showcase__sketch--left {
  left: clamp(0.25rem, 2vw, 1.5rem);
}

.tm-about-showcase__sketch--right {
  right: clamp(0.25rem, 2vw, 1.5rem);
}

.tm-about-showcase__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.tm-about-showcase__heading {
  text-align: center;
  color: #fff;
}

.tm-about-showcase__eyebrow {
  margin: 0;
  font-family: "Allison", var(--tm-cursive);
  font-size: clamp(3.35rem, 5vw, 4.55rem);
  line-height: 0.9;
}

.tm-about-showcase__heading h4 {
  margin: 0.8rem auto 0;
  max-width: none;
  font-family: var(--tm-sans);
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
  font-weight: 800;
  white-space: nowrap;
  line-height: 1.08;
}

.tm-about-showcase__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 2.8rem;
  margin-top: 2.6rem;
}

.tm-about-card {
  height: 100%;
  max-width: 31.5rem;
  width: 100%;
  margin: 0 auto;
}

.tm-about-card__surface {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 22.5rem;
  overflow: hidden;
  border-radius: 1.2rem;
  padding: 1.8rem 1.4rem 3rem;
  background: linear-gradient(180deg, #effef0 0%, #ddf6e1 100%);
  box-shadow: 0 18px 34px rgba(14, 63, 28, 0.18);
}

.tm-about-card__glow {
  position: absolute;
  inset: auto 12% 1rem;
  height: 4rem;
  border-radius: 999px;
  background: rgba(21, 99, 46, 0.14);
  filter: blur(22px);
}

.tm-about-card__phone-image {
  display: block;
  width: min(100%, 24rem);
  margin: 0 auto;
  transform: translateY(0.65rem);
  filter: drop-shadow(0 24px 30px rgba(22, 67, 33, 0.18));
}

.tm-about-card__dashboard {
  display: block;
  width: min(100%, 25rem);
  margin: 0.8rem auto 0;
  transform: translateY(0.7rem);
  transform-origin: center bottom;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.2));
}

.tm-about-card__label {
  position: absolute;
  bottom: 1.35rem;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  background: #fff;
  color: #111a14;
  font-family: var(--tm-sans);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.tm-about-showcase__content {
  width: min(100%, 1020px);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 0;
  color: #141a15;
  text-align: center;
  font-family: var(--tm-sans);
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  line-height: 1.5;
}

.tm-about-showcase__content p {
  margin: 0;
}

.tm-about-showcase__content p + p {
  margin-top: 0.5rem;
}

.tm-about-showcase__content strong {
  color: var(--tm-green-800);
}

[data-hero-reveal] {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition: opacity 780ms cubic-bezier(0.22, 1, 0.36, 1), transform 780ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-hero-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes tm-dash-travel {
  to {
    stroke-dashoffset: -160;
  }
}

@keyframes tm-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -14px;
  }
}

@keyframes tm-float-soft {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 8px -10px;
  }
}

@media (max-width: 1100px) {
  .tm-navbar {
    grid-template-columns: 150px 1fr 158px;
  }

  .tm-float-card--coupon {
    left: 22%;
  }

  .tm-float-card--polaroid {
    right: 4%;
  }

  .tm-about-showcase__sketch {
    width: 20rem;
    opacity: 0.42;
  }

  .tm-about-card__surface {
    min-height: 21rem;
  }

  .tm-about-card__phone-image {
    width: min(100%, 22rem);
  }

  .tm-about-card__dashboard {
    width: min(100%, 23rem);
    transform: translateY(0.75rem);
  }
}

@media (max-width: 900px) {
  .tm-hero {
    min-height: 940px;
  }

  .tm-navbar {
    grid-template-columns: auto auto;
    gap: 0.75rem;
    padding: 0.62rem 0.7rem 0.62rem 1rem;
  }

  .tm-navbar__brand img {
    width: 76px;
  }

  .tm-navbar__toggle {
    display: inline-flex;
    justify-self: end;
  }

  .tm-navbar__links {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.35rem;
    align-items: stretch;
    padding: 0.6rem 0 0.25rem;
  }

  .tm-navbar__links.is-open {
    display: flex;
  }

  .tm-navbar__link {
    text-align: center;
  }

  .tm-navbar__cta {
    display: none;
  }

  .tm-hero__content {
    margin-top: 5.3rem;
  }

  .tm-route {
    inset: 7.2rem 0.2rem 5.8rem;
    width: auto;
  }

  .tm-float-card--trending {
    top: 57%;
    left: 4%;
  }

  .tm-float-card--booking {
    top: 55%;
    right: 5%;
  }

  .tm-float-card--coupon {
    left: 50%;
    bottom: 8.5%;
    transform: translate3d(calc(-50% + var(--tm-parallax-x)), var(--tm-parallax-y), 0) rotate(4deg);
  }

  .tm-float-card--polaroid,
  .tm-decoration--booking,
  .tm-decoration--destination {
    display: none;
  }

  .tm-decoration--bus {
    top: 48%;
    left: 17%;
  }

  .tm-hero__watermark {
    right: 8%;
    bottom: 15%;
    transform: rotate(-8deg);
  }

  .tm-about-showcase__top {
    padding-bottom: 3.2rem;
  }

  .tm-about-showcase__sketch {
    display: none;
  }

  .tm-about-showcase__grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .tm-about-card__surface {
    min-height: 20rem;
  }

  .tm-about-card__phone-image {
    width: min(100%, 20rem);
  }

  .tm-about-card__dashboard {
    width: min(100%, 21rem);
  }
}

@media (max-width: 640px) {
  .tm-hero {
    min-height: 860px;
    padding-inline: 0.8rem;
  }

  .tm-navbar {
    border-radius: 0.95rem;
  }

  .tm-hero__content {
    margin-top: 4.7rem;
  }

  .tm-hero__content h1 {
    font-size: clamp(3rem, 14vw, 4.2rem);
  }

  .tm-float-card--trending,
  .tm-float-card--booking {
    display: none;
  }

  .tm-hero__description {
    max-width: 20.5rem;
  }

  .tm-route {
    opacity: 0.72;
  }

  .tm-float-card--coupon {
    bottom: 8.2%;
    width: min(78vw, 300px);
  }

  .tm-decoration--bus {
    top: 49.5%;
    left: 11%;
    width: 48px;
  }

  .tm-hero__watermark {
    right: 6%;
    bottom: 16.5%;
    font-size: 2.5rem;
  }

  .tm-hero__trust {
    min-height: 58px;
    text-align: center;
    line-height: 1.35;
  }

  .tm-about-showcase__top {
    padding-inline: 0.85rem;
    padding-top: 1.5rem;
    padding-bottom: 2.75rem;
  }

  .tm-about-showcase__ridge {
    top: 1.3rem;
    width: 175%;
  }

  .tm-about-showcase__heading h4 {
    max-width: 20rem;
    white-space: normal;
  }

  .tm-about-showcase__grid {
    margin-top: 2.2rem;
  }

  .tm-about-card__surface {
    min-height: 17rem;
    padding: 1.5rem 1rem 3.3rem;
    border-radius: 1rem;
  }

  .tm-about-card__phone-image {
    width: min(100%, 15.5rem);
    transform: translateY(0.25rem);
  }

  .tm-about-card__dashboard {
    width: min(100%, 16.5rem);
    margin-top: 0.75rem;
    transform: translateY(0.9rem);
  }

  .tm-about-card__label {
    bottom: 1.1rem;
    padding: 0.65rem 1.1rem;
  }

  .tm-about-showcase__content {
    padding: 1.75rem 1rem 3rem;
    line-height: 1.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tm-route__path,
  .tm-float-card,
  .tm-decoration {
    animation: none;
  }

  .tm-float-card,
  .tm-decoration {
    transition: none;
  }
}
