* {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  padding: 0;
  margin: 0;
  z-index: 0;
  box-sizing: border-box;
}

:root {
  --per: 0%;
  --highlight: #5D3FD3;
  --highlight-color: white;
  --gradient-bg: linear-gradient(45deg, #eee, #dbe8fb, #ddd);
  --project-bg: white;
  --project-color: black;
  --project-line: rgba(0, 0, 0, 0.1);
}

.dark {
  --per: 80%;
  --highlight: white;
  --highlight-color: black;
  --gradient-bg: linear-gradient(45deg, #333, #242424, #28282B);
  --project-bg: black;
  --project-color: rgb(196, 196, 196);
  --project-line: rgba(226, 226, 226, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--project-color);
  background-image: var(--gradient-bg);
}

header {
  top: 0;
  position: sticky;
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: end;
  z-index: 9;
}

.p-auto {
  padding: 3rem 1rem;
}

@media (min-width: 769px) {
  .p-auto {
    padding: 5rem 10%;
  }
}

.center-x {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.center-y {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.image-container {
  position: relative;
  overflow: hidden;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  border: 2px solid var(--highlight);
  margin: 1rem;
}

.blur-load {
  background-size: cover;
  background-position: center;
}

.blur-load.loaded>img {
  opacity: 1;
}

.blur-load>img {
  opacity: 0;
  transition: opacity 200ms ease-in-out;
}

.avator {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.highlight {
  color: var(--highlight);
}

.btn {
  cursor: pointer;
  text-decoration: none;
  outline: none;
  border: 1px solid transparent;
  background: rgba(0, 0, 0, 0.1);
  color: var(--highlight);
  padding: 10px 20px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

.btn-outline {
  background: none;
  color: var(--highlight-color);
  border: 1px solid var(--highlight-color);
}

.btn-dark-outline {
  background: none;
  color: black;
  border: 1px solid black;
}

.btn-dark {
  background: black;
  color: white;
}

.p-1 {
  padding: 1rem;
}

.mr-1 {
  margin-right: 1rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt--3 {
  margin-top: -3rem;
}

.mt-auto {
  margin-top: auto;
}

.ml-auto {
  margin-left: auto;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

.b-0 {
  bottom: 0;
}

.fill {
  width: 100%;
  height: 100%;
}

.group-x {
  display: flex;
  flex-direction: row;
}

.group-y {
  display: flex;
  flex-direction: column;
}

.item-center {
  align-items: center;
}

.blur-1 {
  backdrop-filter: blur(50px);
}

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

.card-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.card-item {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  padding: 10px 20px;
  margin-right: 1rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
}

.divider {
  display: flex;
  align-items: center;
  width: 100%;
}

.divider .line {
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
}

.divider .mid {
  margin: 5px;
}

.form {
  display: flex;
  flex-direction: column;
}

.form textarea {
  color: inherit;
  width: 100%;
  min-height: 200px;
  background: none;
  padding: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.project-list {
  list-style: none;
}

.project-item {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  border: 1px solid var(--project-line);
  margin-bottom: 1rem;
  overflow: hidden;
  background: var(--project-bg);
  color: var(--project-color);
}

.project-cover {
  width: 100%;
  height: 200px;
  object-fit: contain;
}

.project-line {
  width: 100%;
  height: 1px;
  background: var(--project-line);
}

.project-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

@media (min-width: 769px) {
  .project-item {
    flex-direction: row;
    margin-right: 1rem;
  }

  .project-cover {
    width: 150px;
    height: 150px;
    object-fit: cover;
  }

  .project-line {
    width: 1px;
    height: 100%;
  }
}

.filter-0 {
  filter: invert(0%);
}

.filter-1 {
  filter: invert(80%);
}

footer {
  color: var(--project-color);
  background: var(--project-bg);
  text-align: center;
  padding: 1rem 0;
  opacity: 0.5;
}

.icon {
  width: 35px;
  height: 35px;
  margin: 10px;
  padding: 8px;
  object-fit: cover;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--project-bg);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.icon svg {
  width: 90%;
  height: 90%;
  color: var(--project-color);
}

.icon:hover {
  transition: 0.3s;
  color: var(--highlight-color);
  background: var(--highlight);
}

.icon:hover svg {
  color: var(--highlight-color);
}

.dropdown-menu {
  position: relative;
  top: 0;
}

.dropdown-content {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  margin: 1rem;
  background: var(--project-bg);
  color: var(--project-color);
  border: 1px solid var(--project-line);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: -1;
}

.dropdown-menu:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  z-index: 1;
}

.dropdown-item {
  text-decoration: none;
  list-style: none;
  color: var(--project-color);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.dropdown-item:first-child {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.dropdown-item:last-child {
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

.dropdown-item:hover {
  background: var(--project-line);
  padding-left: 24px;
}

.dropdown-content img {
  filter: invert(var(--per));
}

.sub-menu {
  list-style: none;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  top: 0;
}

.sub-menu-content {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  min-width: 200px;
  border-radius: 1rem;
  margin: 1rem;
  background: var(--project-bg);
  color: var(--project-color);
  border: 1px solid var(--project-line);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: -1;
  display: flex;
  flex-direction: column;
}

.sub-menu-item {
  padding: 12px 20px;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.sub-menu-item:first-child {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.sub-menu-item:last-child {
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

.sub-menu-item:hover {
  background: var(--project-line);
  padding-left: 24px;
}

.sub-menu:hover .sub-menu-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  z-index: 2;
}

.sub-menu-round {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  padding: 10px 10px;
  margin: 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
}

.aside {
  transition: 0.3s;
  display: none;
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1rem;
  z-index: 10;
}

.aside.active {
  display: flex;
}

.aside-content {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 180px;
  margin: 1rem;
  border-radius: 1rem;
  background: var(--project-bg);
  color: var(--project-color);
  border: 1px solid var(--project-line);
  display: flex;
  flex-direction: column;
}

.aside-item {
  text-decoration: none;
  color: var(--project-color);
  padding: 10px 20px;
}

.aside-list {
  flex: 1;
  list-style: none;
  width: 280px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.aside-header {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--project-line);
}

.aside-footer {
  display: flex;
  align-items: center;
}

.aside-close {
  cursor: pointer;
  margin-left: auto;
  border-radius: 50%;
  border: 1px solid transparent;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aside-close svg {
  width: 90%;
  height: 90%;
}

.aside-close:hover {
  border: 1px solid var(--project-line);
}

.rounded-box {
  border-radius: 20px;
  margin: 10px;
  border: 1px solid var(--project-line);
}

.edit-text {
  border: none;
  outline: none;
  background: none;
  color: inherit;
  padding: 10px 15px;
  flex: 1;
}

.edit-text:not(:placeholder-shown)~.send-message-icon {
  transition: 0.3s;
  color: var(--highlight-color);
  background: var(--highlight);
}

.edit-text:not(:placeholder-shown)~.send-message-icon svg {
  color: var(--highlight-color);
}

.receive-message {
  background: var(--project-line);
  padding: 10px;
  margin: 10px auto 0 10px;
  border-radius: 10px;
  border-top-left-radius: 0;
}

.send-message {
  background: var(--highlight);
  color: var(--highlight-color);
  padding: 10px;
  margin: 10px 10px 0 auto;
  border-radius: 10px;
  border-bottom-right-radius: 0;
}

.scroll-content {
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

/* story view */
.story-view {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0);
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease-in-out;
}

.story-view.active {
  background: rgba(0, 0, 0, 0.5);
  opacity: 1;
  visibility: visible;
}

.story-content {
  transform: scale(0.8) translateY(20px);
  opacity: 0;
  transition: all 0.3s ease-in-out;
  width: 100%;
  height: 100%;
  position: relative;
  top: 0;
  border-radius: 0;
  overflow: hidden;
  backdrop-filter: blur(10px);
  background: var(--project-line);
}

.story-view.active .story-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.story-image {
  width: 100%;
  height: 75%;
  position: relative;
}

.story-image img {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-image .dim {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to bottom, transparent, black);
}

.story {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  color: white;
  background: black;
}

.story-close {
  position: absolute;
  top: 1.45rem;
  right: 1.45rem;
  cursor: pointer;
  border-radius: 50%;
  border: 1px solid #ddd;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-close svg {
  color: #ddd;
  width: 90%;
  height: 90%;
}

@media (min-width: 769px) {
  .story-content {
    width: 50%;
    height: 80%;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--project-line);
  }

  .story-image {
    width: 150px;
    height: 150px;
    margin: 1rem auto 0 auto;
    overflow: hidden;
    border-radius: 50%;
  }

  .story-image .dim {
    background-image: linear-gradient(to right, transparent, transparent);
  }

  .story {
    padding: 2rem;
  }

}

.sm-font {
  font-size: 8px;
  opacity: 0.5;
}

.l-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
}

.l-line {
  width: 2px;
  height: 100%;
  background: #ddd;
}

.l-25px {
  width: 2px;
  height: 25px;
  background: #ddd;
}

.l-gd {
  background: linear-gradient(to bottom, #ddd, transparent) !important;
}

.mt-25px {
  margin-top: 25px;
}

.mb--25px {
  margin-bottom: -25px;
}

/* Expertise Section Styling */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1rem 0;
}

.expertise-card {
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.expertise-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.expertise-card h4 {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.expertise-card h4 svg {
  width: 20px;
  height: 20px;
}

.expertise-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.expertise-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.expertise-list li:last-child {
  border-bottom: none;
}

.expertise-list li::before {
  content: "•";
  font-weight: bold;
}