:root,
.theme-blue {
  --background: 210 50% 98%;
  --foreground: 215 25% 27%;
  --card: 0 0% 100%;
  --card-foreground: 215 25% 27%;
  --popover: 0 0% 100%;
  --popover-foreground: 215 25% 27%;
  --primary: 220 70% 50%;
  --primary-foreground: 210 40% 98%;
  --secondary: 210 40% 96.1%;
  --secondary-foreground: 220 70% 40%;
  --muted: 210 40% 96.1%;
  --muted-foreground: 215 25% 40%;
  --accent: 220 70% 50%;
  --accent-foreground: 210 40% 98%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;
  --border: 214.3 31.8% 91.4%;
  --input: 214.3 31.8% 91.4%;
  --ring: 215 25% 27%;
  --sidebar-background: 210 50% 98%;
  --sidebar-foreground: 215 25% 40%;
  --sidebar-primary: 220 70% 50%;
  --sidebar-primary-foreground: 0 0% 100%;
  --sidebar-accent: 210 50% 95%;
  --sidebar-accent-foreground: 215 25% 27%;
  --sidebar-border: 214.3 31.8% 91.4%;
  --sidebar-ring: 220 70% 50%;
  --footer-background: hsl(215, 52.2%, 9%);
  --codebg: hsl(0, 0%, 100%);
  --radius: 0.75rem;
}

.theme-dark {
  --background: 222.2 84% 4.9%;
  --foreground: 210 40% 98%;
  --card: 222.2 84% 4.9%;
  --card-foreground: 210 40% 98%;
  --popover: 222.2 84% 4.9%;
  --popover-foreground: 210 40% 98%;
  --primary: 217.2 91.2% 59.8%;
  --primary-foreground: 222.2 47.4% 11.2%;
  --secondary: 217.2 32.6% 17.5%;
  --secondary-foreground: 210 40% 98%;
  --muted: 217.2 32.6% 17.5%;
  --muted-foreground: 215 20.2% 65.1%;
  --accent: 217.2 91.2% 59.8%;
  --accent-foreground: 222.2 47.4% 11.2%;
  --destructive: 0 62.8% 30.6%;
  --destructive-foreground: 210 40% 98%;
  --border: 217.2 32.6% 17.5%;
  --input: 217.2 32.6% 17.5%;
  --ring: 212.7 26.8% 83.9%;
  --sidebar-background: 240 5.9% 10%;
  --sidebar-foreground: 240 4.8% 95.9%;
  --sidebar-primary: 217.2 91.2% 59.8%;
  --sidebar-primary-foreground: 222.2 47.4% 11.2%;
  --sidebar-accent: 240 3.7% 15.9%;
  --sidebar-accent-foreground: 240 4.8% 95.9%;
  --sidebar-border: 240 3.7% 15.9%;
  --sidebar-ring: 217.2 91.2% 59.8%;
  --footer-background: hsl(215, 52.2%, 9%);
  --codebg: hsl(227, 40.9%, 8.6%);
  --radius: 0.75rem;
}

@font-face {
  font-family: "VIRUST";
  src: url("../font/VIRUST.woff2") format("woff2"),
    url("../font/VIRUST.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

* {
  border-color: hsl(var(--border));
}

*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

body {
  background-color: hsl(var(--background));
  font-family: InterVariable, Inter var, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, sans-serif;
  color: hsl(var(--foreground));
}

html {
  scroll-behavior: smooth;
}

.card-hover {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.3s;
  animation-duration: 0.3s;
}

.card-hover:hover {
  --tw-translate-y: -0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y))
    rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y))
    scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color),
    0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
    var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.navbar {
  position: fixed;
  top: 0;
  z-index: 50;
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.nav-rl {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .nav-rl {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .nav-rl {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.nav-it {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
}

.logo {
  display: flex;
  align-items: center;
}

a {
  color: inherit;
  text-decoration: inherit;
}

.logo span {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: hsl(var(--primary));
  font-family: "VIRUST", sans-serif;
  letter-spacing: 0.2rem;
}

.mobile-menu {
  position: absolute;
  top: 100%;
  right: 1rem;
  background-color: white;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }

  .nav-res {
    display: flex;
  }

  .nav-res1 {
    display: none;
  }
}

@media (max-width: 767px) {
  .nav-res {
    display: none;
  }

  .nav-res1 {
    display: flex;
    align-items: center;
  }
}

.nav-items {
  margin-left: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
  color: inherit;
  text-decoration: none;
}

.nav-link:hover {
  color: hsl(var(--primary));
}

.resume-btn {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  background-color: hsl(var(--primary));
  border-radius: calc(var(--radius) - 2px);
  gap: 2.5rem;
  justify-content: center;
  align-items: center;
  height: 2.25rem;
  display: inline-flex;
  color: hsl(var(--primary-foreground));
  margin-left: 2rem;
  transition: color 0.2s, background-color 0.2s;
}

.resume-btn:hover {
  background-color: hsl(var(--primary) / 0.9);
  color: #fff;
}

.toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
  outline: none;
  transition: color 0.2s, background-color 0.2s;
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 9999px;
  pointer-events: auto;
}

.toggle-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px hsl(var(--ring-color)),
    0 0 0 4px hsl(var(--background-color));
}

.toggle-btn:hover {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.toggle-btn:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.toggle-btn svg {
  pointer-events: none;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.open-menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  margin-left: 0.5rem;
  border-radius: 0.375rem;
  color: #9ca3af;
  outline: none;
  transition: color 0.2s ease;
}

.open-menu:hover {
  color: hsl(var(--primary));
}

.open-menu:focus {
  outline: none;
}

.theme-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: hsl(var(--popover));
  color: hsl(var(--popover-foreground));
  border: 1px solid hsl(var(--border));
  border-radius: 4px;
  list-style: none;
  padding: 0;
  margin: 5px 0 0 0;
  min-width: 150px;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.theme-menu li {
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.theme-menu li:hover {
  background-color: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
}

.hidden {
  display: none;
}

.theme-dropdown-container {
  position: relative;
  display: inline-block;
}

.theme-blue {
  background-color: hsl(210, 50%, 98%);
  color: hsl(215, 25%, 27%);
}

.theme-dark {
  background-color: hsl(222, 84%, 4.9%);
  color: hsl(210, 40%, 98%);
}

.theme-purple {
  background-color: hsl(260, 50%, 98%);
  color: hsl(250, 25%, 27%);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
  outline: none;
  transition: color 0.2s, background-color 0.2s;
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 9999px;
  pointer-events: auto;
}

.theme-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px hsl(var(--ring-color)),
    0 0 0 4px hsl(var(--background-color));
}

.theme-toggle:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.theme-toggle:hover {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.theme-toggle svg {
  pointer-events: none;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.ring-offset-background {
  --tw-ring-offset-color: hsl(var(--background));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.section-hero {
  padding-top: 4rem;
  display: flex;
  align-items: center;
  position: relative;
  min-height: 100vh;
}

.div-home {
  opacity: 70;
  z-index: -10;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  position: absolute;
}

.section-container {
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem;
  padding: 6rem 1rem;
}

@media (min-width: 640px) {
  .section-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .section-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .hero-container {
    flex-direction: row;
  }
}

.side-1 {
  text-align: center;
  flex-direction: column;
  max-width: 36rem;
  display: flex;
}

@media (min-width: 1024px) {
  .side-1 {
    text-align: left;
  }
}

.span-text {
  color: hsl(var(--primary));
  font-weight: 500;
}

@media (min-width: 768px) {
  .span-text {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

.hero-name {
  font-weight: 700;
}

.highlight-text {
  position: relative;
  display: inline-block;
  color: hsl(var(--primary));
}

@media (min-width: 768px) {
  .hero-name {
    font-size: 3.75rem;
    line-height: 1rem;
  }
}

@media (min-width: 768px) {
  .hero-name {
    font-size: 3rem;
    line-height: 1rem;
  }
}

.role-p {
  color: hsl(var(--muted-foreground));
  font-weight: 300;
}

@media (min-width: 768px) {
  .role-p {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

.do-p {
  color: hsl(var(--muted-foreground));
}

.social {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem; /* 4 units (1rem = 16px by default in most browsers) */
  position: relative;
  z-index: 10;
}

@media (min-width: 640px) {
  .social {
    flex-direction: row;
    justify-content: center; /* Sm breakpoint: sm:flex-row */
  }
}

@media (min-width: 1024px) {
  .social {
    justify-content: flex-start; /* lg breakpoint: lg:justify-start */
  }
}

.social-btns {
  gap: 1rem;
  align-items: center;
  flex-direction: row;
  display: flex;
}
.touch-target {
  display: inline-block;
  transition: transform 0.2s ease-in-out;
}

.touch-target:hover {
  transform: scale(1.05);
}

.contact-me {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: calc(var(--radius) - 2px);
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
  font-size: 1rem;
  line-height: 1.5rem;
  padding: 0.75rem 1rem;
  min-width: 120px;
  height: 2.5rem;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  outline: none;
}

.contact-me:hover {
  background-color: hsl(var(--primary) / 0.9);
}

.project-btn {
  background-color: hsl(var(--background));
  border-color: hsl(var(--input));
  border-width: 1px;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 1rem;
  padding-right: 1rem;
  border-radius: calc(var(--radius) - 2px);
  white-space: nowrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  min-width: 120px;
  height: 2.5rem;
  display: inline-flex;
  cursor: pointer;
  color: inherit;
}

.project-btn:hover {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.social-items {
  gap: 1rem;
  align-items: center;
  display: flex;
  margin-top: 1rem;
  margin-left: 0;
}

@media (min-width: 1024px) {
  .social-items {
    margin-top: 0;
    margin-left: 1rem;
  }
}

.social-items svg {
  display: block;
  vertical-align: middle;
}
.social-items svg:hover {
  color: hsl(var(--primary));
  transform: rotate(6deg);
}

.to-primary-5 {
  --tw-gradient-to: hsl(var(--primary) / 0.05) var(--tw-gradient-to-position);
}

.from-primary-20 {
  --tw-gradient-from: hsl(var(--primary) / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: hsl(var(--primary) / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

@keyframes gradient-rotate {
  0% {
    background-image: linear-gradient(
      to right,
      hsl(var(--primary) / 0.2) 0%,
      hsl(var(--primary) / 0) 100%
    );
    transform: rotate(-6deg);
  }
  50% {
    background-image: linear-gradient(
      to right,
      hsl(var(--primary) / 0.2) 50%,
      hsl(var(--primary) / 0.05) 100%
    );
    transform: rotate(6deg);
  }
  100% {
    background-image: linear-gradient(
      to right,
      hsl(var(--primary) / 0.2) 0%,
      hsl(var(--primary) / 0) 100%
    );
    transform: rotate(-6deg);
  }
}

.element {
  animation: gradient-rotate 4s ease-in-out infinite;
  background-size: 200% 100%;
  background-position: left center;
}

.side-2 {
  max-width: 28rem;
  min-height: 298px;
  width: 100%;
}

.area-1 {
  position: relative;
}
.element {
  border-radius: 1rem;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
}

.code-bg {
  padding: 1.5rem;
  background-color: var(--codebg);
  --tw-border-opacity: 1;
  border-color: rgba(229, 231, 235, var(--tw-border-opacity, 1));
  border-width: 1px;
  border-radius: 1rem;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.code-bg:hover {
  transform: translateY(-5px);
  box-shadow: 0px 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.code-nav {
  justify-content: space-between;
  align-items: center;
  display: flex;
  margin-bottom: 1.5rem;
}

.code-color {
  display: flex;
}

.red-code {
  background-color: #ef4444;
  border-radius: 9999px;
  width: 0.75rem;
  height: 0.75rem;
}

.yellow-code {
  margin-left: 2px;
  background-color: #eab308;
  border-radius: 9999px;
  width: 0.75rem;
  height: 0.75rem;
}

.green-code {
  margin-left: 2px;
  background-color: #22c55e;
  border-radius: 9999px;
  width: 0.75rem;
  height: 0.75rem;
}

.developer-js {
  color: #6b7280;
  font-size: 0.75rem;
  line-height: 1rem;
}

.div-code {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}

.div-soft {
  color: #6b7280;
}

.text-pink {
  color: #db2777;
}

.text-blue {
  color: #2563eb;
}

.text-gray {
  color: #6b7280;
}

.text-orange {
  color: #f97316;
}

.pdl {
  padding-left: 1.5rem;
}

.text-purple {
  color: #7c3aed;
}

.text-green {
  color: #16a34a;
}
.section-about {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  position: relative;
  background-color: var(--background);
}

.about-div {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(
    to bottom,
    rgba(var(--primary), 0.05),
    var(--background)
  );
  z-index: -10;
}

.about-content {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  gap: 2rem;
}

@media (min-width: 640px) {
  .about-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .about-content {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.section-heading {
  position: relative;
  margin-bottom: 2rem;
  display: inline-block;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  text-align: center;
}

.section-heading:after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  height: 0.25rem;
  width: 33.333333%;
  border-radius: 0.25rem;
  background-color: hsl(var(--primary));
}

@media (min-width: 768px) {
  .section-heading {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

.details {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 3.5rem;
}

@media (min-width: 1024px) {
  .details {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}

.about-side-1 {
  /* For vertical spacing between children */
}

.about-side-1 > * + * {
  margin-top: 1.5rem;
}

@media (min-width: 1024px) {
  .about-side-1 {
    grid-column: span 8 / span 8;
  }
}

.about-side-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .about-side-2 {
    grid-column: span 4 / span 4;
    align-items: flex-start;
  }
}

.bio-heading {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bio-svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
}

.bio-p {
  color: hsl(var(--muted-foreground));
}

.ed-ex {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 768px) {
  .ed-ex {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.edu-card {
  opacity: 1;
  transform: none;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 0px 0px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.edu-card:hover {
  transform: translateY(-5px);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 15px rgba(0, 0, 0, 0.1);
}

.edu-box {
  border-radius: var(--radius);
  border: 1px solid hsl(var(--primary) / 0.1);
  color: hsl(var(--card-foreground));
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  height: 100%;
  background-color: hsl(var(--card) / 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pd {
  padding: 1.5rem;
}

.mgb {
  margin-bottom: 24px;
}

.heading-div {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ed-ex-svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
}

.custom-spacing > * + * {
  margin-top: 0.5rem;
}

.designation {
  font-weight: 500;
}

.other-details {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.custom-relative {
  position: relative;
  opacity: 1;
  transform: none;
  transition: transform 0.3s ease-in-out;
}

.custom-relative:hover {
  transform: scale(1.05);
}

.img-span {
  position: relative;
  display: flex;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 9999px;
  width: 10rem;
  height: 10rem;
  border-width: 2px;
  border-color: hsl(var(--primary), 0.2);
}

.img-user {
  aspect-ratio: 1 / 1;
  height: 100%;
  width: 100%;
}

.gpa {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.role {
  text-align: center;
}

@media (min-width: 1024px) {
  .role {
    text-align: left;
  }
}

.user-name {
  font-size: 1.5rem;
  font-weight: 700;
}

.skill-bio {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

@media (min-width: 1024px) {
  .skill-bio {
    justify-content: flex-start;
  }
}

.skill {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding-left: 0.625rem;
  padding-right: 0.625rem;
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
  font-size: 0.75rem;
  font-weight: 600;
  outline: none;
  border: 1px solid transparent;
  color: hsl(var(--foreground));
  background-color: hsl(var(--primary) / 0.1);
}

.d-resume {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
  outline: none;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  height: 2.5rem;
  gap: 0.5rem;
}

.d-resume:hover {
  transform: scale(1.05);
  background-color: hsl(var(--primary) / 0.9);
}

.d-resume svg {
  pointer-events: none;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.project-section {
  padding-top: 3.5rem;
  background-color: hsl(var(--background) / 0.5);
}

.projection-desc {
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin-bottom: 3rem;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  @media (min-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
  }
  @media (min-width: 1024px) {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  background-color: hsl(var(--card));
  border-color: hsl(var(--border));
  border-width: 1px;
  border-style: solid;
  border-radius: var(--radius);
  overflow: hidden;
}

.project-pics {
  background-color: hsl(var(--muted));
  overflow: hidden;
  height: 12rem;
  position: relative;
}

.pic-overflow {
  overflow: hidden;
}

.span-pic {
  width: 100%;
  height: 100%;
  display: inline-block;
  color: transparent;
}

.project-img {
  transition-property: all;
  transition-duration: 0.5s;
  transform: scale(1);
  filter: blur(0);
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(var(--primary), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.project-overlay:hover {
  opacity: 1;
}

.project-link {
  display: flex;
}

.project-link-a {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  padding: 0.5rem;
  border-radius: 9999px;
}

.pj-content {
  padding: 1.5rem;
}

.project-title {
  color: hsl(var(--foreground));
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.75rem;
  padding-bottom: 1rem;
}

.project-description {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding-bottom: 1rem;
}

.skills {
  gap: 0.5rem;
  flex-wrap: wrap;
  display: flex;
  padding-bottom: 1rem;
}

.project-skill {
  color: hsl(var(--primary));
  font-size: 0.75rem;
  line-height: 1rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  background-color: hsl(var(--primary) / 0.1);
  border-radius: 9999px;
}

.external-link-div {
  display: flex;
  padding-top: 0.5rem;
  gap: 0.75rem;
}

.external-link {
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  background-color: hsl(var(--background));
  border-radius: 12px;
  border-color: hsl(var(--input));
  border-width: 1px;
  white-space: nowrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  height: 2.25rem;
  display: flex;
  text-decoration: none;
}

.external-link:hover {
  color: hsl(var(--accent-foreground));
  background-color: hsl(var(--accent));
}

.skills-desc {
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin-bottom: 3rem;
}

.grid-skills {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .grid-skills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid-skills {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.skills-card {
  padding: 1.5rem;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skills-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.skills-heading-div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.svg-div {
  color: hsl(var(--primary) 220 70% 50%);
  padding: 0.5rem;
  background-color: hsl(var(--primary) / 0.1);
  border-radius: calc(var(--radius) - 2px);
}

.svg-div svg {
  width: 1.25rem;
  height: 1.25rem;
}

.skill-heading {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
}

.skill-area {
  gap: 0.5rem;
  flex-wrap: wrap;
  display: flex;
}

.skill-span {
  display: inline-block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding: 0.25rem 0.75rem;
  background-color: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 9999px;
  transform: scale(1);
  transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.skill-span:hover {
  transform: scale(1.05);
  background-color: hsl(var(--primary), 0.05);
}

.section-achievement {
  background-color: hsl(var(--background) / 0.5);
}

.desc-achievements {
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin-bottom: 3rem;
}

.achievement-slide-menu {
  display: flex;
  margin-bottom: 1.5rem;
  justify-content: space-between;
}

.drag-explore {
  color: hsl(var(--muted-foreground));
  align-items: center;
  display: flex;
}

.drag-explore svg {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}

.drag-explore span {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

@media (min-width: 768px) {
  .show-on-md {
    display: inline;
  }
  .hide-on-md {
    display: none;
  }
}

.show-on-md {
  display: none;
}

.hide-on-md {
  display: inline;
}

.prev-next {
  display: flex;
  --tw-space-x-reverse: 0;
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
  margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
}

.prev-achievement {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--input));
  background-color: hsl(var(--background));
  color: inherit;
  transition: color 0.2s, background-color 0.2s;
}

.prev-achievement:hover {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.prev-achievement:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--ring), 0 0 0 4px var(--ring-offset);
}

.prev-achievement:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.prev-achievement svg {
  pointer-events: none;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.next-achievement {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--input));
  background-color: hsl(var(--background));
  color: inherit;
  transition: color 0.2s, background-color 0.2s;
}

.next-achievement:hover {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.next-achievement:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px hsl(var(--ring)), 0 0 0 4px hsl(var(--ring-offset));
}

.next-achievement:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.next-achievement svg {
  pointer-events: none;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.achievement-content {
  display: flex;
  overflow-x: auto;
  padding-bottom: 1.5rem;
  gap: 1.5rem;
  scroll-snap-type: x mandatory;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.achievement-content::-webkit-scrollbar {
  display: none;
}

.achieve-card {
  width: 300px !important;
  height: 260px !important;
  background-color: hsl(var(--card));
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
  border: 1px solid hsl(var(--border));
  scroll-snap-align: center;
  user-select: none;
  opacity: 1;
  transform: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.achieve-card:hover {
  transform: scale(1.02);
  box-shadow: rgba(0, 0, 0, 0.04) 0px 10px 25px -5px;
}

.content-achiv {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.achieve-svg {
  color: rgb(22 163 74 / 1);
  padding: 0.5rem;
  background-color: #dcfce7cc;
  border-radius: 9999px;
  margin-right: 0.75rem;
}

.achieve-svg svg {
  width: 1.5rem;
  height: 1.5rem;
}

.achieved-year {
  color: hsl(var(--muted-foreground));
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.title-achievement {
  color: hsl(var(--foreground));
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.achievement-desc {
  color: hsl(var(--muted-foreground));
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5rem;
  margin-bottom: 1rem;
}

.tag-achieve {
  color: rgb(22 163 74 / 1);
  background-color: #dcfce7cc;
  font-size: 0.75rem;
  line-height: 1rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-radius: 9999px;
}

.contact-desc {
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin-bottom: 3rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-form {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.contact-infos > * + * {
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .contact-infos {
    grid-column: span 1 / span -1;
  }
}
.contact-sub-head {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: hsl(var(--foreground));
}

.desc-in {
  color: hsl(var(--muted-foreground));
}

.space-y-4 {
  --tw-space-y-reverse: 0;
}

.space-y-4 > * + * {
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

.contact-info {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-info svg {
  color: hsl(var(--primary));
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.25rem;
}

.contact-message {
  color: hsl(var(--foreground));
  font-weight: 500;
}

.contact-dets {
  line-height: 1.25rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.section-contact {
  background-color: hsl(var(--background));
}

.space-y-4 {
  --tw-space-y-reverse: 0;
  margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(2rem * var(--tw-space-y-reverse));
}

.social-title {
  color: hsl(var(--foreground));
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.75rem;
  margin-bottom: 0.75rem;
}

.social-div {
  display: flex;
}

.link-logo {
  color: hsl(var(--muted-foreground));
  padding: 0.75rem;
  background-color: hsl(var(--muted));
  border-radius: 9999px;
}

.link-logo:hover {
  color: hsl(var(--primary-foreground));
  background-color: hsl(var(--primary));
}
@media (min-width: 768px) {
  .contact-forms {
    grid-column: span 1 / span 1;
  }
}

.contact-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--card));
}

.contact-card > * + * {
  margin-top: 1.5rem;
}

.grid-l1 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-l1 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-details > * + * {
  margin-top: 0.5rem;
}

.input-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}

.input-cls {
  display: flex;
  height: 2.5rem;
  width: 100%;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid hsl(var(--input));
  background-color: hsl(var(--background));
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  color: inherit;
}

.input-cls[type="file"] {
  border: 0;
  background-color: transparent;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}

.input-cls::placeholder {
  color: hsl(var(--muted-foreground));
}

.input-cls:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px hsl(var(--ring)), 0 0 0 4px hsl(var(--background));
}

.input-cls:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

@media (min-width: 768px) {
  .input-cls {
    font-size: 0.875rem;
  }
}

.sub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  height: 2.5rem;
  width: 100%;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  transition: background-color 0.2s ease, color 0.2s ease;
  --tw-ring-offset-color: hsl(var(--background));
}

.sub-btn:hover {
  background-color: hsl(var(--primary) / 0.9);
}

.sub-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px hsl(var(--ring)), 0 0 0 4px hsl(var(--background));
}

.sub-btn:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.sub-btn svg {
  pointer-events: none;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.input-textarea {
  min-height: 80px;
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid hsl(var(--input));
  background-color: hsl(var(--background));
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: inherit;
  resize: vertical;
}

.input-textarea::placeholder {
  color: hsl(var(--muted-foreground));
}

.input-textarea:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px hsl(var(--ring)), 0 0 0 4px hsl(var(--background));
}

.input-textarea:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

footer {
  background-color: var(--footer-background);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.footer-container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .footer-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .footer-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.footer-flex {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-flex {
    flex-direction: row;
  }
}

.footer-right {
  margin-bottom: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-right {
    margin-bottom: 0;
    text-align: left;
  }
}

.footer-content {
  margin-top: 0.5rem;
  color: hsl(var(--muted-foreground));
  max-width: 28rem;
}

.social-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .social-section {
    align-items: flex-end;
  }
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.social-link {
  color: #9ca3af;
  transition: color 0.2s ease;
  text-decoration: none;
}

.social-link:hover {
  color: hsl(var(--primary));
}

.icon {
  pointer-events: none;
  width: 20px;
  height: 20px;
}

.footer-text {
  color: #9ca3af;
  font-size: 0.875rem;
  text-align: right;
}

.custom-toast {
  visibility: hidden;
  min-width: 250px;
  margin-left: -125px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 12px;
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: 30px;
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.5s ease, bottom 0.5s ease;
}

.custom-toast.show {
  visibility: visible;
  opacity: 1;
  bottom: 50px;
}

.error-popup {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  background-color: #f44336;
  color: white;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 4px;
  z-index: 999;
  animation: fadeOut 2s forwards;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.form-details {
  position: relative;
}

.achievement-swiper {
  width: 100%;
  overflow: hidden;
}

.swiper-wrapper {
  display: flex;
}

@media (max-width: 768px) {
  .swiper-wrapper {
    flex-direction: column;
  }

  .swiper-slide {
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .achievement-swiper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    padding-right: 1rem;
  }

  .swiper-wrapper {
    display: contents;
  }

  .swiper-slide {
    flex: none;
    width: 100%;
  }

  .prev-next,
  .drag-explore {
    display: none;
  }
}

.logo-footer {
  font-size: 1.5rem;
  font-weight: bold;
  color: hsl(var(--primary));
  letter-spacing: 0.2rem;
}

.logo-footer span {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: hsl(var(--primary));
  font-family: "VIRUST", sans-serif;
}
