:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: rgba(17, 17, 17, 0.3);
  --bg-secondary-rgb: 17, 17, 17;
  --accent-blue: #4a90e2;
  --accent-purple: #9b6dff;
  --text: #ffffff;
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}
/* .grecaptcha-badge { above the back to top button
  bottom: 100px !important;
} */
.grecaptcha-badge {
  visibility: hidden;
}
/* #region Modal/lightbox effect -------------*/
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.project-image {
  cursor: pointer;
}

.modal .close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 30px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
}


/* #endregion */

/* #region Card -------------*/
/* Base card styles (shared between both variants) */
.card-base,
.skill-card-horizontal,
.project-card {
  background: var(--glass-bg);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.card-base:hover,
.skill-card-horizontal:hover,
.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(155, 109, 255, 0.3);
  box-shadow: 0 0 30px rgba(155, 109, 255, 0.2);
}

/* Horizontal Card */
.skill-card-horizontal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
}

.skill-card-horizontal img {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.skill-card-horizontal .content {
  flex: 1;
}

/* bigger screens */
@media (min-width: 901px) {
  .showcase-track {
    gap: 1rem;
  }
}

@media (max-width: 900px) {
  .skill-card-horizontal {
    flex-direction: column;
    /* transform: scale(0.7); */
    gap: 0.2rem;
    /*between the image and the content */
    text-align: center;
    padding: 0.4rem 0.5rem;
  }

  .skill-card-horizontal>* {
    margin: 0;
    /* Reset margin for child elements */
    padding: 0;
    /* Reset padding for child elements */
  }

  .showcase-track {
    gap: 0.8rem;
  }
}

/* #endregion */

/* #region Project section -------------*/
.project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Split into two equal columns */
  gap: 2rem;
  padding: 2rem;
  background: var(--glass-bg);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  margin-bottom: .5rem;
}

.project-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-description {
  flex-grow: 1;
  /* Takes up available space between title and tech stack */
  margin: 1rem 0;
}

.project-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

}

.project-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;

}

@media (min-width: 801px) {
  .tech-badge {
    padding: 0.2rem 0.4rem;
    border-radius: 16px;
    padding: 0.5rem 1rem;
    /* border-radius: 20px; */
    font-size: 0.9rem;
  }

  .tech-stack {
    gap: 0.4rem;
  }

  .project-image img {
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
  }
}

@media (max-width: 800px) {

  .project-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }

  .project-card h3 {
    text-align: center;
  }

  .project-image {
    padding: .1rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    overflow: hidden;
    /* max-width: 90%; Makes image slightly smaller than card width */
    margin: 0 auto;
    /* Centers the image */
    /* background: rgba(0, 0, 0, 0.2); */
  }

  .project-image img {
    width: 100%;
    height: auto;
    /* Maintains original aspect ratio */
    object-fit: contain;
    /* Ensures entire image is visible */
  }

  .tech-badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem;
    border-radius: 16px;
  }

  .tech-stack {
    gap: 0.4rem;
  }


}

.tech-stack {
  margin-top: auto;
  /* Pushes tech stack to bottom */
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-badge {
  background: rgba(155, 109, 255, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(155, 109, 255, 0.2);
  color: var(--text);
  /* padding: 0.5rem 1rem; */
  /* border-radius: 20px; */
  /* font-size: 0.9rem; */
  transition: all 0.3s ease;
}

.tech-badge:hover {
  background: rgba(155, 109, 255, 0.2);
  border-color: rgba(155, 109, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(155, 109, 255, 0.3);
}






/* #endregion */


/* #region Certification -------------*/
.certifications {
  padding: 0 2rem 4rem;
  /* Top: 0, Right & Left: 2rem, Bottom: 4rem */
  max-width: 1200px;
  margin: 0 auto;
}

.certifications h2 {
  text-align: center;
  margin-bottom: 1rem;
  /* font-size: 2rem; */
}

.cert-grid {
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
  grid-template-columns: repeat(3, 1fr);
  /* Fixed 3 columns */
  gap: 1.5rem;
  justify-items: center;
}

.cert-card {
  background: var(--glass-bg);
  padding: 1.5rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cert-card:hover {
  transform: translateY(-5px);
  border-color: rgba(155, 109, 255, 0.3);
  box-shadow: 0 0 30px rgba(155, 109, 255, 0.2);
}

.cert-image {
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.cert-card:hover .cert-image {
  transform: scale(1.05);
}

.cert-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cert-card p {
  text-align: center;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 1090px) {
  .cert-card {
    padding: 1rem;
    max-width: 300px;
  }

  .cert-image {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 925px) {
  .cert-card {
    max-width: 250px;
  }
}

/* SMALL DEVICES*/
@media (max-width: 600px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
    /* Fixed 2 columns */
  }

  .cert-card {
    max-width: 200px;
    padding: 0.75rem;
  }

  .cert-image {
    width: 80px;
    height: 80px;
  }
}

/* #endregion */

/* #region background -------------*/
.cloud-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.2;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: orbFloat 10s infinite;
}

.glow-orb:nth-child(1) {
  /* top left */
  width: 400px;
  height: 450px;
  background: var(--accent-blue);
  top: 20%;
  left: 20%;
  animation-delay: -2s;
}

.glow-orb:nth-child(4) {
  /* top right */
  width: 250px;
  height: 250px;
  background: var(--accent-purple);
  top: 18%;
  right: 20%;
  animation-delay: -3s;
}

.glow-orb:nth-child(2) {
  /* bottom right */
  width: 300px;
  height: 300px;
  background: var(--accent-blue);
  top: 60%;
  right: 20%;
  animation-delay: -4s;
}

.glow-orb:nth-child(3) {
  /* bottom left */
  width: 400px;
  height: 400px;
  background: var(--accent-purple);
  bottom: 10%;
  left: 10%;
  animation-delay: -6s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(100px, 100px) scale(1.1);
  }

  50% {
    transform: translate(-80px, 60px) scale(0.9);
  }

  75% {
    transform: translate(60px, -100px) scale(1.2);
  }
}

/* #endregion */
/* #region Navbar -------------*/
/* Hamburger button styles */

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  z-index: 1002;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Navigation styles */
nav {
  background: var(--bg-secondary);
  padding: 1rem;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Default nav-links styles (desktop) */
.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  margin-left: 2rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  text-shadow: 0 0 10px var(--accent-purple);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue));
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Overlay styles */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  /* background: rgba(0, 0, 0, 0.5); */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 99;
  /* Lower than nav-links */
  pointer-events: none;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Resume button styles */
.resume-btn {
  background: none;
  color: rgba(155, 109, 255, 1);
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid;
  border-image-slice: 1;
  border-image-source: linear-gradient(135deg,
      rgba(155, 109, 255, 1) 0%,
      rgba(0, 123, 255, 1) 100%);
}

.resume-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(155, 109, 255, 0.4);
  background: linear-gradient(135deg,
      rgba(155, 109, 255, 0.2) 0%,
      rgba(0, 123, 255, 0.2) 100%);
  color: rgba(255, 255, 255, 1);
}

/* Mobile styles */
@media (max-width:700px) {
  main {
    /* set the main content z-index for the blur*/
    position: relative;
    z-index: 1;
  }

  nav {
    position: relative;
    z-index: 1000;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    /* display: none; */
    visibility: hidden;
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: auto;
    max-height: 80vh;
    background: rgba(var(--bg-secondary-rgb), 0.8);
    /* Update background to use RGB with opacity */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /* For Safari support */
    border-bottom: 1px solid var(--glass-border);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 6rem 2rem 4rem 2rem;

    transition:
      transform 0.5s cubic-bezier(0.33, 1, 0.68, 1),
      visibility 0.5s cubic-bezier(0.33, 1, 0.68, 1),
      opacity 0.4s cubic-bezier(0.33, 1, 0.68, 1);

    transform: translateY(-100%);

    z-index: 1001;
    overflow-y: auto;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .nav-links.active {
    /* Update active state */
    visibility: visible;
    opacity: 1;
    top: 0;
    transform: translateY(0);
  }

  .nav-links a {
    margin: 0;
    font-size: 1.2rem;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
    /* Add transform animation for links */
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
  }

  /* Add animation for links when menu is active */
  .nav-links.active a {
    opacity: 1;
    transform: translateY(0);
  }

  /* Add staggered animation delay for each link */
  .nav-links a:nth-child(1) {
    transition-delay: 0.1s;
  }

  .nav-links a:nth-child(2) {
    transition-delay: 0.15s;
  }

  .nav-links a:nth-child(3) {
    transition-delay: 0.2s;
  }

  .nav-links a:nth-child(4) {
    transition-delay: 0.25s;
  }

  .nav-links a:nth-child(5) {
    transition-delay: 0.3s;
  }

  /* Hamburger animation */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Mobile resume button */
  .resume-btn {
    margin-top: 1rem;
    width: fit-content;
  }

  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }
}

/* #endregion */
/* #region Main -------------*/
/* Back-to-Top Button Styles */
.projects-section {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  /* align-items: center; */
  max-width: 1200px;
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  overflow: hidden;
  z-index: 5;
}

/* Show button with animation */
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Gradient border effect */
.back-to-top::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 1px;
  background: linear-gradient(135deg,
      var(--accent-purple),
      var(--accent-blue),
      var(--accent-purple),
      var(--accent-blue));
  background-size: 400% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.back-to-top:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 20px -10px rgba(155, 109, 255, 0.3),
    0 0 15px rgba(155, 109, 255, 0.2), 0 0 30px rgba(155, 109, 255, 0.1);
  animation: subtleGlow 2s infinite;
}

.back-to-top:hover::before {
  opacity: 1;
  animation: rotateGradient 3s linear infinite;
}

/* Icon styles */
.back-to-top svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.back-to-top:hover svg {
  transform: scale(1.1) translateY(-2px);
}

html {
  scroll-behavior: smooth;
}

main {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0rem 2rem 4rem 2rem;
  /* padding: [top] [right] [bottom] [left];*/
  position: relative;
}

.hero {
  text-align: center;
  margin-bottom: 4rem;
}

.intro {
  max-width: 800px;
  margin: 0 auto 3rem auto;
  padding: 2rem;
  background: var(--glass-bg);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 30px rgba(155, 109, 255, 0.1);
  transition: all 0.3s ease;
}

.intro:hover {
  border-color: rgba(155, 109, 255, 0.6);
  box-shadow: 0 0 40px rgba(155, 109, 255, 0.2);
}

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg,
      var(--accent-purple) 0%,
      var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(155, 109, 255, 0.3);
}

.subtitle {
  font-size: 1.5rem;
  color: var(--accent-blue);
  /* margin-bottom: 2rem; */
  opacity: 0.9;
  text-shadow: 0 0 20px rgba(74, 144, 226, 0.3);
}

.skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

h3,
h2 {
  background: linear-gradient(135deg,
      var(--accent-purple) 0%,
      var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

#certs h2 {
  text-align: center;
}

#projects h2 {
  text-align: center;
}

#skills h2 {
  text-align: center;
}

footer {
  background: var(--bg-secondary);
  padding: 2rem;
  text-align: center;
  margin-top: 4rem;
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--glass-border);
}

#contact-form {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: var(--glass-bg);
  border-radius: 15px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  text-align: center;
}

#contact-form h2 {
  margin-bottom: 1rem;
  color: var(--accent-blue);
}

#contact-form label {
  display: block;
  margin: 1rem 0 0.5rem;
}

#contact-form small {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0.6;
}
#contact-form small:hover {
  opacity: 1;
}
#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  border: 1px solid var(--glass-border);
  background: var(--bg-secondary);
  color: var(--text);
  resize: none;
}

#contact-form button {
  background: var(--accent-blue);
  color: var(--text);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  /* Changed to affect all properties */
  box-shadow: 0 0 0 0 rgba(var(--accent-blue-rgb), 0.5);
  /* Initial state */
}

#contact-form button:hover {
  /* box-shadow: 0 0 20px 0 rgba(var(--accent-blue-rgb), 0.5);  Glowing effect */
  border-color: var(--accent-purple);
  transform: translateY(-1.5px);
  box-shadow: 0 0 15px var(--accent-blue);
}
#contact-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  background: var(--accent-purple);
}
/* #endregion */

/* #region Hero left Section -------------*/
/* Layout */
.hero-section {
  min-height: 35vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Change from space-between to center */
  gap: 4rem;
  /* Adjust this value as needed */
  position: relative;
  padding: 2rem;
  /* Add padding to keep content from edges */
  margin-bottom: 2rem;
}

.hero-content {
  width: 100%;
  max-width: 400px;
  text-align: center;
}

/* Illustration Container */
.illustration-container {
  flex: 1;
  max-width: 400px;
  position: relative;
  padding: 2rem;
  /* Glass morphism base */
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.03) 100%);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  /* box-shadow:
    0 8px 32px rgba(255, 255, 255, 0.1),
    inset 0 0 32px rgba(255, 255, 255, 0.05); */
  overflow: hidden;
  animation: containerFloat 6s ease-in-out infinite;
}

.illustration {
  position: relative;
  width: 100%;
  height: auto;
  /* Change from fixed 200px */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* Container Effects */
.illustration-container::before {
  content: "";
  position: absolute;
  inset: -80%;
  /* background: radial-gradient(circle at 50% 50%,
      rgba(255, 255, 255, 0.1),
      transparent 70%); */
  /* animation: nebulaMove 15s linear infinite; */
}

/* Person Styles */
.person {
  position: relative;
  width: 300px;
  height: auto;
  /* Change from fixed 400px */
  aspect-ratio: 3/4;
  /* Add to maintain proportions */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

/* Person glow effect */
/* .person::before {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  /* background: radial-gradient(circle at center,
      rgba(255, 255, 255, 0.02) 60%) */
/* filter: blur(20px); 
  z-index: -1;
  animation: glowPulse 4s ease-in-out infinite;
} */

.person-base {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(141, 208, 253, 0.2));
}

.waving-arm {
  position: absolute;
  top: 28%;
  left: 48%;
  width: 13%;
  transform-origin: bottom left;
  animation: wave 1.5s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(74, 144, 226, 0.2));
}

/* Animations */
@keyframes containerFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(0.5deg);
  }
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.9);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

@keyframes wave {

  0%,
  100% {
    transform: rotate(-15deg);
  }

  50% {
    transform: rotate(15deg);
  }
}

/* Media Queries */
/* if screen is wider */
@media (min-width: 851px) {
  .hero-section {
    flex-direction: row;
    /* justify-content: space-between; */
  }

  .hero-content {
    text-align: left;
  }

  .buttons-container {
    justify-content: left;
  }
}

/* if screen is smaller 880px */
@media (max-width: 850px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  /* Center typing container */
  .typing-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  /* Make illustration container smaller */
  .illustration-container {
    width: 100%;
    /* Reduce from 100% to 80% */
    max-width: 400px;
    /* Reduce from 400px to 300px */
    margin: 0 auto;
    /* transform: scale(0.8); */
    /* Reduce from 0.9 to 0.8 */
  }

  /* Center buttons container */
  .buttons-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 0 auto;
  }

  .illustration-container::before {
    width: 100px;
    height: 100px;
    top: -30px;
  }

  /* Adjust other mobile styles as needed */
  .illustration {
    height: 250px;
    /* Reduce from 300px */
  }
}

/* #endregion */

/* #region Hero Right Section -------------*/
.hello-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-purple);
  margin-bottom: 0.5rem;
}

.name-text {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

@media (min-width: 768px) {
  .name-text {
    font-size: 3rem;
  }
}

.title-text {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 2rem;
}

.buttons-container {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  /* justify-content: left; */
}

.contact-text {
  /* For the lets get in touch section*/
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
  opacity: 0.9;
  text-shadow: 0 0 20px rgba(74, 144, 226, 0.3);
}

/* New Glassmorphism Button Style */
.glass-btn {
  position: relative;
  min-width: 160px;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  overflow: hidden;
}

/* Hover Effects */
/* Purple version */
.glass-btn-purple:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  box-shadow: 0 10px 20px -10px rgba(155, 109, 255, 0.3),
    0 0 15px rgba(155, 109, 255, 0.2), 0 0 30px rgba(155, 109, 255, 0.1);
  animation: subtleGlowPurple 2s infinite;
}

/* Gradient border effect */
.glass-btn-purple::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 15px;
  padding: 1px;
  background: linear-gradient(135deg,
      var(--accent-purple),
      var(--accent-blue),
      var(--accent-purple),
      var(--accent-blue));
  background-size: 400% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

/* Light glow effect on hover */
.glass-btn-purple::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle at center,
      rgba(155, 109, 255, 0.15) 0%,
      rgba(155, 109, 255, 0.1) 30%,
      transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease, opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

/* Blue version */
.glass-btn-blue:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  box-shadow: 0 10px 20px -10px rgba(74, 144, 226, 0.3),
    0 0 15px rgba(74, 144, 226, 0.2), 0 0 30px rgba(74, 144, 226, 0.1);
  animation: subtleGlowBlue 2s infinite;
}

.glass-btn-blue::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 15px;
  padding: 1px;
  background: linear-gradient(135deg,
      var(--accent-purple),
      var(--accent-blue),
      var(--accent-purple),
      var(--accent-blue));
  background-size: 400% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.glass-btn-blue::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle at center,
      rgba(74, 144, 226, 0.15) 0%,
      rgba(74, 144, 226, 0.1) 30%,
      transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease, opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.glass-btn:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.glass-btn:hover::before {
  opacity: 1;
  animation: rotateGradient 3s linear infinite;
}

.glass-btn:hover svg {
  transform: scale(1.1);
}

/* Button Icon */
.glass-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

/* Active state */
.glass-btn:active {
  transform: translateY(0px);
  background: rgba(255, 255, 255, 0.15);
}

@keyframes rotateGradient {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 360% 0%;
  }
}

/* Add subtle pulsing animation on hover */
/* Animations */
@keyframes subtleGlowPurple {
  0% {
    box-shadow: 0 10px 20px -10px rgba(155, 109, 255, 0.3),
      0 0 15px rgba(155, 109, 255, 0.2), 0 0 30px rgba(155, 109, 255, 0.1);
  }

  50% {
    box-shadow: 0 10px 20px -10px rgba(155, 109, 255, 0.4),
      0 0 20px rgba(155, 109, 255, 0.3), 0 0 40px rgba(155, 109, 255, 0.2);
  }

  100% {
    box-shadow: 0 10px 20px -10px rgba(155, 109, 255, 0.3),
      0 0 15px rgba(155, 109, 255, 0.2), 0 0 30px rgba(155, 109, 255, 0.1);
  }
}

@keyframes subtleGlowBlue {
  0% {
    box-shadow: 0 10px 20px -10px rgba(74, 144, 226, 0.3),
      0 0 15px rgba(74, 144, 226, 0.2), 0 0 30px rgba(74, 144, 226, 0.1);
  }

  50% {
    box-shadow: 0 10px 20px -10px rgba(74, 144, 226, 0.4),
      0 0 20px rgba(74, 144, 226, 0.3), 0 0 40px rgba(74, 144, 226, 0.2);
  }

  100% {
    box-shadow: 0 10px 20px -10px rgba(74, 144, 226, 0.3),
      0 0 15px rgba(74, 144, 226, 0.2), 0 0 30px rgba(74, 144, 226, 0.1);
  }
}

.wave-icon {
  margin-left: 0.5rem;
}

/* Typing Effect */
.typing-container {
  position: relative;
  min-height: 3.5rem;
  margin: 1rem 0;
  display: flex;
  align-items: center;
}

#typing-text {
  font-size: 2.5rem;
  font-weight: bold;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  white-space: nowrap;
  background: linear-gradient(135deg,
      var(--accent-purple) 0%,
      var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.cursor {
  position: relative;
  display: inline-block;
  width: 3px;
  height: 2.8rem;
  background-color: var(--accent-blue);
  margin-left: 4px;
  animation: cursorBlink 0.8s step-end infinite;
  top: -2px;
}

@keyframes cursorBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@media (min-width: 768px) {
  #typing-text {
    font-size: 3rem;
  }

  .cursor {
    height: 3.2rem;
    top: -3px;
  }
}

/* #endregion */

/* #region Showcase -------------*/
.hidden {
  display: none;
}

.filter-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: rgba(155, 109, 255, 0.1);
  border-color: rgba(155, 109, 255, 0.3);
}

.filter-btn.active {
  background: rgba(155, 109, 255, 0.2);
  border-color: rgba(155, 109, 255, 0.5);
}

@media (max-width: 768px) {
  .filter-buttons {
    gap: 0.4rem;
  }

  .filter-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .filter-buttons {
    gap: 0.3rem;
  }

  .filter-btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }
}

.showcase-container {
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
  /* Add borders directly to the container */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin: 0 auto 3rem auto;
  max-width: 90vw;
  -webkit-mask-image: linear-gradient(to right,
      transparent,
      black 10%,
      black 90%,
      transparent);
  mask-image: linear-gradient(to right,
      transparent,
      black 10%,
      black 90%,
      transparent);
}

/*
.showcase-track {
  display: flex;
  gap: 1.5rem;
  animation: scroll 30s linear infinite;
  
  width: fit-content; 
} */

.showcase-track {
  display: flex;
  /* gap: 1rem; */
  width: fit-content;
  transition: transform 0.3s ease-out;
}

/* Wrapper to contain the tracks */
.showcase-wrapper {
  display: flex;
  width: fit-content;
}

.showcase-track:hover {
  animation-play-state: paused;
}

/* Infinite scroll animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Finite scroll animation */
@keyframes scrollOnce {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-100% + 100vw));
  }
}


/* #endregion */
/* TESTING */