html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Poppins", sans-serif;
}

@keyframes slowBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.hero-img-animation {
  animation: slowBounce 6s ease-in-out infinite;
}

.hero-title {
  line-height: 1.2 !important;
}

/* typing cursor */
.typed-cursor {
  font-weight: 900;
  font-size: 2.5rem;
  color: #d83920;
  /* Indigo-600 */
  animation: blink 0.7s step-end infinite;
  user-select: none;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.mobile-menu {
  display: block !important;
  position: fixed;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #000000;
  color: #000000;
  width: 100% !important;
  height: 100vh !important;
  bottom: 0 !important;
  top: 0 !important;
  border-radius: 0 !important;
  z-index: 100;
  margin: 0 !important;
  padding: 20px;
  text-align: center;
  transform: translateY(100vh);
  animation: mobile-menu-open 0.5s ease-in-out forwards;
}

.mobile-menu li {
  margin: 0 !important;
  margin-top: 15px !important;
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu.close {
  transform: translateY(100vh);
  animation: mobile-menu-close 0.5s ease-in-out forwards;
}

@keyframes mobile-menu-open {
  0% {
    transform: translateY(100vh);
  }
  100% {
    transform: translateY(0vh);
  }
}

@keyframes mobile-menu-close {
  0% {
    transform: translateY(0vh);
  }
  100% {
    transform: translateY(100vh);
  }
}

#mobile-menu-button {
  z-index: 222;
}

.fix-line-height {
  line-height: 1.1 !important;
}

/* Hamburger button animations */
.hamburger {
  width: 24px;
  height: 18px;
  position: relative;
  cursor: pointer;
  display: inline-block;
  transition: transform 0.4s ease;
}

.hamburger span {
  position: absolute;
  height: 3px;
  width: 100%;
  background: #4f46e5;
  /* Indigo 600 */
  border-radius: 2px;
  opacity: 1;
  left: 0;
  transition: all 0.4s ease;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 7.5px;
}

.hamburger span:nth-child(3) {
  top: 15px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 7.5px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 7.5px;
}

/* Hero headline accent shape */
.headline-accent {
  position: relative;
  display: inline-block;
  z-index: 10;
}

.headline-accent svg {
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: -1;
  width: 120%;
  height: 1.3em;
  fill: #a5b4fc;
  /* Indigo-300 */
  opacity: 0.4;
  filter: blur(10px);
}

/* Background abstract shapes */
.hero-bg-shape1 {
  position: absolute;
  top: -20px;
  left: -200px;
  width: 300px;
  height: 300px;
  background: #0296c393;
  color: #d0f6ff;
  border-radius: 50% 40% 60% 50% / 60% 50% 40% 50%;
  filter: blur(80px);
  opacity: 0.4;
  z-index: 0;
}

.hero-bg-shape2 {
  position: absolute;
  bottom: -60px;
  right: -150px;
  width: 260px;
  height: 260px;
  background: #0296c393;
  /* Indigo-400 */
  border-radius: 60% 50% 40% 50% / 40% 50% 60% 50%;
  filter: blur(90px);
  opacity: 0.4;
  z-index: 0;
  overflow: hidden;
}

.animate-fadeIn {
  animation: fadeIn 0.8s ease forwards;
  opacity: 0;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

/* Smooth continuous draw & erase animation */
@keyframes erase-draw-smooth {
  0% {
    stroke-dasharray: 0 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 200 0;
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dasharray: 0 200;
    stroke-dashoffset: 200;
  }
}

.animate-erase-draw path {
  stroke-dasharray: 200; /* approximate length of your path */
  stroke-dashoffset: 0;
  animation: erase-draw-smooth 3s cubic-bezier(0.65, 0, 0.35, 1) infinite;
  stroke-linecap: round; /* smooth line ends */
}

.selectable-card {
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.selectable-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.selectable-card.selected {
  border-color: #02a7c3;
  background: linear-gradient(135deg, #e0f7fa, #f0feff);
}

@media (min-width: 1024px) {
  .sticky-summary {
    position: sticky;
    top: 2rem;
  }
}

.fade-in {
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.selectable-card {
  transition: all 0.3s ease;
}

.selectable-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.selectable-card.selected {
  border: 2px solid #02a7c3;
  background: linear-gradient(135deg, #e0f7fa 0%, #f0feff 100%);
}

footer svg.shape {
  transform: rotate(180deg);
  margin-top: -120px;
  z-index: -1111;
}

/* confirmation style */
@keyframes drawCircle {
  0% {
    stroke-dasharray: 0 157;
  }
  100% {
    stroke-dasharray: 157 0;
  }
}
@keyframes drawCheck {
  0% {
    stroke-dashoffset: 36;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.circle {
  stroke-dasharray: 157;
  animation: drawCircle 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.check {
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  animation: drawCheck 0.6s ease-in-out forwards 1.1s;
}

.tab-btn {
  padding: 12px 28px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  background: #f6f9fc;
  color: #012735;
  border: 1px solid rgba(1, 39, 53, 0.12);
  box-shadow: 0 6px 18px rgba(1, 39, 53, 0.08);
  transition: all 0.25s ease;
}

.tab-btn:hover {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(2, 150, 195, 0.18);
  color: #0296c3;
  transform: translateY(-1px);
}

.active-tab {
  background: linear-gradient(135deg, #012735 0%, #0296c3 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 14px 40px rgba(2, 150, 195, 0.35);
  transform: scale(1.05);
}
