@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --et-primary: #1463ff;
  --et-primary-dark: #0e4ed1;
  --et-primary-soft: #eaf1ff;
  --et-dark: #0f172a;
  --et-text: #1e293b;
  --et-muted: #64748b;
  --et-bg: #f8fafc;
  --et-border: #e2e8f0;
  --et-radius: 1rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  line-height: 1.6;
  font-family: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, Arial, sans-serif;
  background: radial-gradient(circle at top right, #e0f2fe 0%, #f8fafc 45%, #f0fdf4 100%);
  color: var(--et-text);
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 2rem, 1140px);
}

.navbar {
  backdrop-filter: saturate(140%) blur(8px);
}

.navbar .navbar-brand {
  letter-spacing: 0.2px;
}

.et-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
}

.et-brand-mark {
  position: relative;
  width: 40px;
  height: 20px;
  display: inline-block;
  animation: brandTrainBob 1.8s ease-in-out infinite;
}

.et-brand-engine,
.et-brand-car {
  position: absolute;
  bottom: 5px;
  height: 10px;
  border-radius: 0.28rem;
}

.et-brand-engine {
  left: 1px;
  width: 16px;
  background: linear-gradient(140deg, #1463ff 0%, #0e4ed1 100%);
  border-top-right-radius: 0.6rem;
}

.et-brand-car {
  left: 19px;
  width: 14px;
  background: linear-gradient(145deg, #06b6d4 0%, #0ea5e9 100%);
}

.et-brand-engine::before,
.et-brand-car::before {
  content: "";
  position: absolute;
  inset: 2px 2px auto;
  height: 3px;
  background: rgba(224, 242, 254, 0.95);
  border-radius: 999px;
}

.et-brand-smoke {
  position: absolute;
  left: 6px;
  bottom: 13px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(100, 116, 139, 0.5);
  animation: brandSmoke 1.5s ease-out infinite;
}

.et-brand-wheel {
  position: absolute;
  width: 5px;
  height: 5px;
  bottom: 1px;
  border-radius: 50%;
  background: #1e293b;
  border: 1px solid #94a3b8;
  animation: brandWheel 0.9s linear infinite;
}

.et-brand-wheel.wheel-1 { left: 3px; }
.et-brand-wheel.wheel-2 { left: 13px; }
.et-brand-wheel.wheel-3 { left: 24px; }

.et-brand-text {
  position: relative;
}

.et-brand-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(20, 99, 255, 0.2), rgba(20, 99, 255, 0.55), rgba(20, 99, 255, 0.2));
  transform-origin: center;
  animation: brandLine 2.4s ease-in-out infinite;
}

.navbar .nav-link {
  color: #334155;
  font-weight: 500;
  transition: color 0.2s ease;
}

.navbar .nav-link:hover {
  color: var(--et-primary-dark);
}

.navbar .btn {
  border-radius: 0.7rem;
}

.btn {
  border-radius: 0.7rem;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(135deg, #1463ff 0%, #0e4ed1 100%);
  border: 0;
  box-shadow: 0 10px 20px rgba(20, 99, 255, 0.22);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #0f56de 0%, #0c46bd 100%);
  box-shadow: 0 12px 22px rgba(20, 99, 255, 0.28);
}

.btn-outline-primary {
  border-color: #bfd3ff;
}

.btn-outline-primary:hover {
  background-color: var(--et-primary-soft);
  color: var(--et-primary-dark);
  border-color: #9ebdff;
}

.hero-wrap .carousel-caption {
  background: rgba(2, 6, 23, 0.62);
  padding: clamp(0.9rem, 1.8vw, 1.2rem);
  border-radius: 0.9rem;
  left: 8%;
  right: 8%;
  bottom: 1.5rem;
}

.hero-wrap .carousel-caption h1 {
  font-size: clamp(1.35rem, 2.5vw, 2.4rem);
  line-height: 1.2;
}

.hero-wrap .carousel-caption p {
  font-size: clamp(0.92rem, 1.5vw, 1.02rem);
}

.hero-wrap .carousel-inner {
  border: 1px solid #dbeafe;
  box-shadow: 0 24px 45px rgba(15, 23, 42, 0.14);
}

.hero-wrap .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.2) 50%, transparent 66%);
  transform: translateX(-120%);
  animation: heroShine 7.5s linear infinite;
  pointer-events: none;
}

.hero-wrap .carousel-caption {
  animation: heroCaptionIn 0.75s ease both;
}

.hero-wrap .carousel-caption .btn {
  animation: ctaPulse 2.8s ease-in-out infinite;
}

.hero-img {
  height: clamp(300px, 60vh, 680px);
  object-fit: cover;
}

.train-showcase {
  position: relative;
}

.train-stage {
  background: linear-gradient(130deg, #ebf3ff 0%, #f2fbff 55%, #ecfdf5 100%);
  border: 1px solid #dbeafe;
  border-radius: 1rem;
  padding: clamp(0.85rem, 1.8vw, 1.1rem);
  overflow: hidden;
}

.train-stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.train-stage-head p {
  color: #475569;
  font-size: 0.92rem;
}

.train-badge {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0e4ed1;
  background: #dbeafe;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  white-space: nowrap;
}

.train-rail {
  position: relative;
  height: 78px;
  border-radius: 0.85rem;
  border: 1px solid #d7e7ff;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 42%, #f8fafc 100%);
  overflow: hidden;
}

.train-sky {
  position: absolute;
  inset: 0 0 auto 0;
  height: 26px;
  pointer-events: none;
}

.cloud {
  position: absolute;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 7px rgba(148, 163, 184, 0.2);
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

.cloud::before {
  width: 12px;
  height: 12px;
  left: 4px;
  top: -6px;
}

.cloud::after {
  width: 9px;
  height: 9px;
  right: 6px;
  top: -4px;
}

.cloud-a {
  width: 64px;
  left: -80px;
  top: 5px;
  animation: cloudDrift 16s linear infinite;
}

.cloud-b {
  width: 52px;
  left: -140px;
  top: 13px;
  opacity: 0.88;
  animation: cloudDrift 22s linear infinite;
  animation-delay: -6s;
}

.cloud-c {
  width: 72px;
  left: -220px;
  top: 8px;
  opacity: 0.82;
  animation: cloudDrift 27s linear infinite;
  animation-delay: -11s;
}

.train-track {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 7px;
  top: 29px;
  background:
    repeating-linear-gradient(90deg, #64748b 0 12px, transparent 12px 24px),
    linear-gradient(90deg, #334155, #334155);
  border-radius: 999px;
  opacity: 0.85;
  animation: railFlow 1.8s linear infinite;
}

.train-track-bottom {
  top: 53px;
  opacity: 0.68;
  animation-duration: 2.4s;
}

.train {
  position: absolute;
  display: flex;
  align-items: flex-end;
  gap: 0.3rem;
  top: 3px;
}

.train .engine,
.train .car {
  position: relative;
  display: inline-block;
  height: 26px;
  border-radius: 0.4rem;
  border: 1px solid rgba(15, 23, 42, 0.2);
  box-shadow: inset 0 -5px 0 rgba(15, 23, 42, 0.22);
}

.train .engine {
  width: 58px;
  background: linear-gradient(145deg, #1d4ed8 0%, #2563eb 100%);
  border-top-right-radius: 1rem;
}

.train .engine i {
  position: absolute;
  width: 11px;
  height: 11px;
  top: -9px;
  left: 11px;
  background: #1e293b;
  border-radius: 2px 2px 0 0;
}

.train .engine i::before,
.train .engine i::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  left: 2px;
  top: -5px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.58);
  filter: blur(0.3px);
  animation: smokeRise 1.4s ease-out infinite;
}

.train .engine i::after {
  width: 6px;
  height: 6px;
  left: -4px;
  top: -3px;
  opacity: 0.8;
  animation-duration: 1.7s;
  animation-delay: 0.35s;
}

.train .engine::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 9px;
  width: 39px;
  height: 7px;
  background: repeating-linear-gradient(90deg, #dbeafe 0 9px, transparent 9px 12px);
}

.train .car {
  width: 44px;
  background: linear-gradient(145deg, #0891b2 0%, #06b6d4 100%);
}

.train .car::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 7px;
  width: 29px;
  height: 7px;
  background: repeating-linear-gradient(90deg, #cffafe 0 7px, transparent 7px 10px);
}

.convoy-a {
  left: -220px;
  animation: trainRun 13s linear infinite;
}

.convoy-b {
  left: -300px;
  top: 31px;
  opacity: 0.82;
  animation: trainRunSmall 18s linear infinite;
  animation-delay: -7s;
}

.convoy-b .engine,
.convoy-b .car {
  background: linear-gradient(145deg, #0ea5e9 0%, #38bdf8 100%);
}

.content-card {
  background: #fff;
  border: 1px solid var(--et-border);
  border-radius: var(--et-radius);
  padding: clamp(1rem, 2vw, 1.25rem);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.card {
  border-radius: var(--et-radius);
  border: 1px solid #eef2f7;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.card-body p:last-child {
  margin-bottom: 0;
}

.list-clean {
  padding-left: 1.2rem;
  margin: 0;
}

.list-clean li {
  margin-bottom: 0.65rem;
  color: #334155;
}

.stars {
  color: #f59e0b;
  letter-spacing: 2px;
}

.footer-edutrain {
  background: var(--et-dark);
  color: #e2e8f0;
}

.floating-btn {
  position: fixed;
  right: 18px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
  z-index: 1030;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 15px 28px rgba(0, 0, 0, 0.24);
}

.wa-btn {
  bottom: 80px;
  background: #25d366;
}

.ig-btn {
  bottom: 20px;
  background: #e1306c;
}

.mimin-chat {
  position: fixed;
  right: 20px;
  bottom: 146px;
  z-index: 1032;
  width: min(320px, calc(100vw - 1.25rem));
  padding: 0.68rem 0.7rem 0.72rem;
  border: 1px solid #dbeafe;
  border-radius: 0.95rem;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.97), rgba(239, 246, 255, 0.96));
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.17);
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  transform: translateX(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.42s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.32s ease;
}

.mimin-chat.is-visible {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.mimin-chat-close {
  position: absolute;
  top: 0.28rem;
  right: 0.32rem;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  line-height: 1;
  font-size: 1rem;
  color: #64748b;
  background: #f1f5f9;
  cursor: pointer;
}

.mimin-chat-close:hover {
  background: #e2e8f0;
  color: #334155;
}

.mimin-avatar {
  width: 46px;
  height: 56px;
  flex: 0 0 46px;
  position: relative;
  animation: miminBob 1.9s ease-in-out infinite;
}

.mimin-hair {
  position: absolute;
  left: 7px;
  top: 4px;
  width: 31px;
  height: 20px;
  border-radius: 0.9rem 0.9rem 0.7rem 0.7rem;
  background: linear-gradient(145deg, #334155 0%, #475569 100%);
  z-index: 0;
}

.mimin-hair::after {
  content: "";
  position: absolute;
  left: 10px;
  top: -3px;
  width: 11px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
}

.mimin-hair::before {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  bottom: -9px;
  height: 14px;
  border-radius: 0 0 1rem 1rem;
  background: linear-gradient(145deg, #334155 0%, #475569 100%);
}

.mimin-face {
  position: absolute;
  left: 10px;
  top: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f8d9bd;
  box-shadow: inset 0 -3px 0 rgba(217, 119, 6, 0.14), 0 0 0 2px rgba(255, 255, 255, 0.45);
  z-index: 1;
}

.mimin-face::before,
.mimin-face::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  top: 10px;
  background: #1e293b;
  animation: miminBlink 3.2s infinite;
}

.mimin-face::before {
  left: 6px;
}

.mimin-face::after {
  right: 6px;
}

.mimin-hand {
  position: absolute;
  right: 2px;
  top: 31px;
  width: 16px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
  transform-origin: left center;
  animation: miminWave 1.2s ease-in-out infinite;
}

.mimin-bubble p {
  margin: 0;
  color: #1e293b;
  font-size: 0.86rem;
  line-height: 1.4;
  padding-right: 0.85rem;
}

.mimin-bubble .btn {
  border-radius: 0.6rem;
  font-size: 0.79rem;
  padding: 0.35rem 0.6rem;
}

.wa-contact-modal .modal-content {
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.22);
}

.wa-contact-modal .modal-header {
  border-bottom: 0;
  padding: 1rem 1.1rem 0.65rem;
  background: linear-gradient(140deg, #e8fff1 0%, #f3fff8 45%, #ffffff 100%);
}

.wa-contact-modal .modal-title {
  font-weight: 700;
  color: #0f5132;
}

.wa-contact-modal .btn-close {
  background-size: 0.7rem;
}

.wa-contact-modal .modal-body {
  padding: 0.75rem 1.1rem 1.1rem;
}

.wa-contact-modal .list-group {
  gap: 0.65rem;
}

.wa-contact-modal .list-group-item {
  border: 1px solid #dcfce7;
  border-radius: 0.75rem;
  padding: 0.8rem 0.9rem;
  background: #fff;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.wa-contact-modal .list-group-item span {
  font-weight: 600;
  color: #0f172a;
}

.wa-contact-modal .list-group-item small {
  font-weight: 500;
}

.wa-contact-modal .list-group-item:hover {
  transform: translateY(-2px);
  border-color: #86efac;
  background: #f8fffb;
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.15);
}

.wa-contact-modal .list-group-item:focus {
  box-shadow: 0 0 0 0.2rem rgba(37, 211, 102, 0.22);
}

.form-control,
.form-select {
  border-radius: 0.7rem;
  border-color: #dbe3ef;
  min-height: 44px;
}

.form-control:focus,
.form-select:focus {
  border-color: #9ab9ff;
  box-shadow: 0 0 0 0.2rem rgba(20, 99, 255, 0.16);
}

.alert {
  border-radius: 0.8rem;
}

.badge.text-bg-secondary {
  background-color: #dbe5f7 !important;
  color: #344155 !important;
}

.accordion-item {
  border: 1px solid var(--et-border);
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 0.65rem;
}

.accordion-button {
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  color: var(--et-primary-dark);
  background-color: #eef4ff;
}

.mobile-sticky-cta {
  display: none;
}

.package-card-img {
  width: 100%;
  height: clamp(180px, 27vw, 230px);
  object-fit: cover;
}

.package-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.package-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.detail-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.gallery-thumb {
  width: 100%;
  height: 110px;
  object-fit: cover;
}

.activity-photo-card {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

@media (max-width: 991.98px) {
  .container {
    width: min(100% - 1.5rem, 960px);
  }

  .navbar .navbar-collapse {
    margin-top: 0.75rem;
    padding: 0.85rem;
    border: 1px solid var(--et-border);
    border-radius: 0.85rem;
    background: #fff;
  }

  .navbar .btn {
    width: 100%;
    margin-top: 0.5rem;
  }

  .hero-wrap .carousel-caption {
    position: static;
    border-radius: 0;
    margin-top: -4px;
  }

  .hero-wrap .carousel-caption .btn {
    width: 100%;
    animation: none;
  }

  .gallery-thumb {
    height: 95px;
  }

  .activity-photo-card {
    height: 210px;
  }

  .train-stage-head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0.65rem;
  }

  .train-rail {
    height: 72px;
  }

  .train-track {
    top: 26px;
  }

  .train-track-bottom {
    top: 48px;
  }

  .mobile-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--et-border);
    backdrop-filter: blur(8px);
    z-index: 1035;
    box-shadow: 0 -8px 22px rgba(15, 23, 42, 0.08);
  }

  .mobile-sticky-cta .btn {
    border-radius: 0.7rem;
    font-weight: 600;
  }

  .mimin-chat {
    display: flex;
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
    max-width: none;
    bottom: calc(5.2rem + env(safe-area-inset-bottom));
    padding: 0.58rem 0.62rem 0.62rem;
    border-radius: 0.85rem;
  }

  .mimin-avatar {
    width: 40px;
    height: 50px;
    flex-basis: 40px;
  }

  .mimin-bubble p {
    font-size: 0.81rem;
    line-height: 1.35;
  }

  .mimin-bubble .btn {
    font-size: 0.75rem;
    padding: 0.32rem 0.56rem;
  }

  body {
    padding-bottom: 9.4rem;
  }

  .floating-btn {
    display: none;
  }

  .hero-wrap .carousel-control-prev,
  .hero-wrap .carousel-control-next {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .container {
    width: min(100% - 1rem, 540px);
  }

  .hero-img {
    height: 250px;
  }

  .hero-wrap .carousel-item::after {
    display: none;
  }

  .content-card {
    border-radius: 0.85rem;
  }

  .package-card-img {
    height: 175px;
  }

  .detail-cover {
    max-height: 260px;
  }

  .activity-photo-card {
    height: 155px;
  }

  .train-stage {
    border-radius: 0.85rem;
    padding: 0.75rem;
  }

  .train-stage-head p {
    font-size: 0.84rem;
  }

  .train-rail {
    height: 66px;
  }

  .train-sky {
    height: 22px;
  }

  .cloud-a {
    width: 54px;
  }

  .cloud-b {
    width: 45px;
  }

  .cloud-c {
    width: 58px;
  }

  .train-track {
    top: 24px;
    height: 6px;
  }

  .train-track-bottom {
    top: 44px;
  }

  .train .engine,
  .train .car {
    height: 22px;
  }

  .train .engine {
    width: 50px;
  }

  .train .car {
    width: 38px;
  }

  .mimin-chat {
    right: 0.55rem;
    left: 0.55rem;
    bottom: calc(5rem + env(safe-area-inset-bottom));
    padding: 0.52rem 0.56rem 0.56rem;
  }

  .mimin-chat-close {
    width: 20px;
    height: 20px;
    top: 0.22rem;
    right: 0.24rem;
  }

  .mimin-avatar {
    width: 36px;
    height: 45px;
    flex-basis: 36px;
  }

  .mimin-bubble p {
    font-size: 0.78rem;
    padding-right: 0.75rem;
  }

  .mimin-bubble .btn {
    font-size: 0.72rem;
    padding: 0.3rem 0.52rem;
  }

  .floating-btn {
    width: 44px;
    height: 44px;
    right: 12px;
    font-size: 0.75rem;
  }

  .wa-btn {
    bottom: 68px;
  }

  .ig-btn {
    bottom: 14px;
  }

  .wa-contact-modal .modal-dialog {
    margin: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mimin-chat,
  .mimin-avatar,
  .mimin-face::before,
  .mimin-face::after,
  .mimin-hand,
  .et-brand-mark,
  .et-brand-smoke,
  .et-brand-wheel,
  .et-brand-text::after,
  .hero-wrap .carousel-item::after,
  .hero-wrap .carousel-caption,
  .hero-wrap .carousel-caption .btn,
  .cloud,
  .train-track,
  .convoy-a,
  .convoy-b,
  .train .engine i::before,
  .train .engine i::after {
    animation: none !important;
    transition: none !important;
  }
}

@keyframes miminBob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1px);
  }
}

@keyframes miminWave {
  0%,
  100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(16deg);
  }
}

@keyframes miminBlink {
  0%,
  46%,
  50%,
  100% {
    transform: scaleY(1);
  }
  48% {
    transform: scaleY(0.2);
  }
}

@keyframes brandTrainBob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1px);
  }
}

@keyframes brandWheel {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes brandSmoke {
  0% {
    opacity: 0.7;
    transform: translateY(0) scale(0.85);
  }
  100% {
    opacity: 0;
    transform: translateY(-7px) translateX(-3px) scale(1.4);
  }
}

@keyframes brandLine {
  0%,
  100% {
    transform: scaleX(0.7);
    opacity: 0.5;
  }
  50% {
    transform: scaleX(1);
    opacity: 0.9;
  }
}

@keyframes heroShine {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(140%);
  }
}

@keyframes heroCaptionIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ctaPulse {
  0%,
  100% {
    box-shadow: 0 10px 20px rgba(20, 99, 255, 0.22);
  }
  50% {
    box-shadow: 0 14px 30px rgba(20, 99, 255, 0.36);
  }
}

@keyframes railFlow {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 24px 0, 0 0;
  }
}

@keyframes cloudDrift {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(100vw + 360px));
  }
}

@keyframes trainRun {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(100vw + 420px));
  }
}

@keyframes trainRunSmall {
  0% {
    transform: translateX(0) scale(0.92);
  }
  100% {
    transform: translateX(calc(100vw + 420px)) scale(0.92);
  }
}

@keyframes smokeRise {
  0% {
    opacity: 0.75;
    transform: translateY(0) scale(0.8);
  }
  70% {
    opacity: 0.3;
  }
  100% {
    opacity: 0;
    transform: translateY(-14px) translateX(-5px) scale(1.55);
  }
}

