::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #a0d2db;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #78c0e0;
}

:root {
  --brand-purple: #30195a;
  --brand-pink: #e5007e;
  --light-bg: #f9f8fe;
  --text-dark: #2d2d2d;
  --text-light: #6b6b6b;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--light-bg);
  color: var(--text-dark);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Nunito", sans-serif;
  color: var(--text-dark);
}

.link-button {
  background: linear-gradient(45deg, var(--brand-pink), #9442fe);
}

.modal-content {
  max-height: 70vh;
  overflow-y: auto;
}
.activity-list ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 10px;
}
.activity-list li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.activity-list strong {
  color: #5da9c7;
}
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  position: relative;
}
.parallax::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.parallax > * {
  position: relative;
  z-index: 2;
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu-open {
  animation: menuSlideIn 0.3s ease-out;
}
.mobile-menu-closing {
  animation: menuSlideOut 0.3s ease-out;
}
.header-shadow {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.submenu-open {
  max-height: 300px;
  opacity: 1;
  transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
}
.submenu-closed {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
}
.mobile-menu {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.mobile-nav-item:active {
  transform: scale(0.92);
  background-color: #a0d2db;
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Custom card styling */
.custom-card {
  background-color: white;
  border-radius: 1.5rem; /* 24px */
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  transition: all 0.3s ease-in-out;
}
.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.07),
    0 4px 6px -4px rgb(0 0 0 / 0.07);
}

/* Ikigai quote styling */
.ikigai-quote {
  border-left: 4px solid var(--brand-pink);
  padding-left: 1rem;
  margin-top: 1.5rem;
  font-style: italic;
  color: var(--brand-purple);
}
@supports not (backdrop-filter: blur(10px)) {
  .mobile-menu {
    background: #ffffff;
  }
}
