:root {
  --color-border: color-mix(in srgb, var(--text) 10%, white);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", Monaco, Menlo, Consolas, "Courier New", monospace;

  --spacing-unit: 8px;
  --border-radius: 8px;

  --transition: 0.3s ease;

  --text: #e8edee;
  --background: #0a0f10;
  --primary: #aecbd0;
  --secondary: #34616a;
  --accent: #51a3b3;
}

::-webkit-scrollbar {
  display: none;
}

body {
    color: var(--text);
    background-color: var(--background);
    margin: 0;
    padding: 0;
    height: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-x: hidden;
    width: 100%;
}

main {
  flex: 1;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 calc(var(--spacing-unit) * 3);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--secondary);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.navbar {
  background-color: var(--color-background);
  border-bottom: 1px solid var(--color-border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.nav-container {
  margin: 8px 3.35vw;
  padding: calc(var(--spacing-unit) * 0.5) calc(var(--spacing-unit) * 2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.675rem;
  font-weight: 700;
  color: var(--accent);
  transition: transform var(--transition);
  font-family: 'Fira Code', monospace;
}

.logo:hover {
  transform: scale(1.05);
}

  .nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: calc(var(--spacing-unit) / 2);
    z-index: 101;
    position: relative;
  }

  .nav-toggle span {
    width: 24px;
    height: 2px;
    margin: 3px 0;
    transition: var(--transition);
    transform-origin: center;
    background-color: var(--text);
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

.nav-menu {
  display: flex;
  list-style: none;
  gap: calc(var(--spacing-unit) * 2.68);
}

.nav-link {
  color: var(--color-text);
  font-weight: 500;
  padding: calc(var(--spacing-unit) / 2) 0;
  position: relative;
  font-size: 1rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--accent);
}

.hero-section {
        position: relative;
        background: var(--background);
        display: flex;
        align-items: center;
        padding: 1.34rem;
      }

      .grid-background {
        position: absolute;
        inset: 0;
        background-image:
          linear-gradient(to right, rgba(81, 163, 179, 0.05) 1px, transparent 1px),
          linear-gradient(to bottom, rgba(81, 163, 179, 0.05) 1px, transparent 1px);
        background-size: 40px 40px;
        opacity: 0.4;
      }

      .blob {
        position: absolute;
        border-radius: 50%;
        filter: blur(54px);
        opacity: 0.2;
        mix-blend-mode: screen;
        animation: blob 8s ease-in-out infinite;
      }

      .blob1 {
        width: 335px;
        height: 335px;
        background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
        top: 10%;
        left: 10%;
        animation-delay: 0s;
      }

      .blob2 {
        width: 268px;
        height: 268px;
        background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
        top: 20%;
        right: 10%;
        animation-delay: 2s;
      }

      .blob3 {
        width: 302px;
        height: 302px;
        background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
        bottom: 10%;
        left: 50%;
        transform: translateX(-50%);
        animation-delay: 4s;
        animation-fill-mode: both;
      }

      @keyframes blob {
        0%, 100% {
          transform: translate(0, 0) scale(1);
        }
        33% {
          transform: translate(27px, -40px) scale(1.15);
        }
        66% {
          transform: translate(-20px, 20px) scale(0.9);
        }
      }

      .cursor-glow {
        position: absolute;
        width: 402px;
        height: 402px;
        background: radial-gradient(circle, rgba(81, 163, 179, 0.15) 0%, transparent 70%);
        pointer-events: none;
        transition: transform 0.2s ease-out;
        z-index: 1;
      }

      .content {
        position: relative;
        z-index: 10;
        text-align: left;
        max-width: 1340px;
        width: 100%;
        margin: 0 auto;
        animation: fadeInUp 1.2s ease-out;
      }

      @keyframes fadeInUp {
        from {
          opacity: 0;
          transform: translateY(27px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .badge {
        display: inline-flex;
        align-items: center;
        gap: 0.335rem;
        padding: 0.5rem 1rem;
        background: rgba(81, 163, 179, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(81, 163, 179, 0.2);
        border-radius: 50px;
        color: var(--accent);
        font-size: 0.587rem;
        font-weight: 500;
        margin-bottom: 1.34rem;
        transition: all 0.3s ease;
      }

      .badge:hover {
        border-color: rgba(81, 163, 179, 0.5);
        box-shadow: 0 0 20px rgba(81, 163, 179, 0.2);
      }

      .sparkle {
        width: 11px;
        height: 11px;
        display: inline-block;
        animation: pulse 2s ease-in-out infinite;
        color: var(--accent);
      }

      @keyframes pulse {
        0%, 100% {
          opacity: 1;
          transform: scale(1);
        }
        50% {
          opacity: 0.6;
          transform: scale(0.95);
        }
      }

      .main-heading {
        font-size: clamp(2.35rem, 10vw, 5.36rem);
        font-weight: 900;
        margin-bottom: 1rem;
        letter-spacing: -0.02em;
      }

      .gradient-text {
        background: linear-gradient(90deg, var(--text) 0%, var(--primary) 50%, var(--text) 100%);
        background-size: 200% auto;
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: gradientShift 3s ease infinite;
      }

      .gradient-text-accent {
        background: linear-gradient(90deg, var(--accent) 0%, var(--secondary) 50%, var(--accent) 100%);
        background-size: 200% auto;
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: gradientShift 3s ease infinite;
      }

      @keyframes gradientShift {
        0%, 100% {
          background-position: 0% 50%;
        }
        50% {
          background-position: 100% 50%;
        }
      }

      .subtitle {
        font-size: clamp(0.838rem, 2.5vw, 1.173rem);
        color: var(--text);
        opacity: 0.7;
        font-weight: 300;
        max-width: 469px;
        margin-bottom: 2rem;
        line-height: 1.6;
      }

      .subtitle .highlight {
        color: var(--accent);
        font-weight: 500;
        opacity: 1;
      }

      .subtitle .highlight-alt {
        color: var(--secondary);
        font-weight: 500;
        opacity: 1;
      }

      .cta-buttons {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
      }

      .btn-primary {
        position: relative;
        padding: 0.838rem 1.675rem;
        background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
        color: var(--background);
        font-weight: 600;
        font-size: 0.67rem;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        overflow: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 7px 20px rgba(81, 163, 179, 0.3);
      }

      .btn-primary:hover {
        transform: translateY(-1.34px) scale(1.05);
        box-shadow: 0 10px 27px rgba(81, 163, 179, 0.4);
      }

      .btn-primary::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 0;
      }

      .btn-primary:hover::before {
        opacity: 1;
      }

      .btn-primary span {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        gap: 0.335rem;
      }

      .arrow {
        display: inline-block;
        transition: transform 0.3s ease;
      }

      .btn-primary:hover .arrow {
        transform: translateX(3.35px);
      }

      .btn-secondary {
        padding: 0.838rem 1.675rem;
        background: transparent;
        color: var(--text);
        font-weight: 600;
        font-size: 0.67rem;
        border: 2px solid var(--primary);
        border-radius: 8px;
        cursor: pointer;
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
      }

      .btn-secondary:hover {
        border-color: var(--accent);
        background: rgba(81, 163, 179, 0.1);
        transform: translateY(-1.34px);
      }

      .scroll-indicator {
        position: absolute;
        bottom: 6%;
        left: 50%;
        transform: translateX(-50%);
        animation: bounce 3s ease-in-out infinite;
      }

      .scroll-indicator svg {
        width: 21px;
        height: 21px;
        stroke: var(--primary);
        stroke-width: 2;
        fill: none;
        opacity: 0.5;
      }

      @keyframes bounce {
        0%, 100% {
          transform: translateX(-50%) translateY(0);
        }
        50% {
          transform: translateX(-50%) translateY(7px);
        }
      }

      @media (max-width: 768px) {
        .content {
          text-align: center;
        }

        .badge,
        .subtitle,
        .cta-buttons {
          text-align: center;
          margin-left: auto;
          margin-right: auto;
        }

        .cta-buttons {
          justify-content: center;
        }

        .hero-section {
          padding: 0.67rem;
        }
      }

.transition-section {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(to bottom, rgba(81, 163, 179, 0.05) 0%, var(--background) 100%);
  transition: opacity 0.2s ease;
}

.section {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.6s ease;
}

#about {
  background: var(--background);
}

#projects {
  background: var(--background);
}

#contact {
  background: var(--background);
}

.featured-projects {
  padding: calc(var(--spacing-unit) * 5.36) 0;
  background-color: var(--background);
  color: var(--text);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(201px, 1fr));
  gap: calc(var(--spacing-unit) * 2.68);
  margin-bottom: calc(var(--spacing-unit) * 4);
}

.project-card {
  background-color: var(--background);
  border-radius: calc(var(--border-radius) * 2);
  overflow: hidden;
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.07);
  transition: transform var(--transition), box-shadow var(--transition);
}

.project-card:hover {
  transform: translateY(-5.36px);
  box-shadow: 0 8px 23px rgba(81, 163, 179, 0.25);
}

.project-image {
  width: 100%;
  height: 214px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-content {
  padding: calc(var(--spacing-unit) * 2);
}

.project-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--accent);
  margin-bottom: 0px;
}

.project-description {
  color: var(--text);
  opacity: 0.75;
  line-height: 1.6;
  margin-bottom: calc(var(--spacing-unit) * 1.34);
  font-size: 0.871rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-unit);
}

.tag {
  background-color: rgba(81, 163, 179, 0.1);
  color: var(--accent);
  padding: calc(var(--spacing-unit) / 2) calc(var(--spacing-unit) * 1);
  border-radius: calc(var(--border-radius) / 2);
  font-size: 0.57rem;
  font-weight: 500;
}

.projects-container {
    width: 85%;
}

.project-heading {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.68rem;
    background: var(--background);
    margin-top: 6rem;
}

.about-section {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.34rem 1rem;
  background: var(--background);
  overflow-y: auto;
}

.about-container {
  width: 85%;
  margin: 0 auto;
}

.about-content {
  display: flex;
  flex-direction: column;
}

.about-title {
  font-size: clamp(1.34rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 0.167rem;
}

.about-intro {
  font-size: 1.106rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
  max-width: 90%;
}


.skills-section {
  margin-top: 0.335rem;
}

.skills-title {
  font-size: clamp(0.938rem, 2.5vw, 1.173rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.67rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(161px, 1fr));
  gap: 0.838rem;
  margin-top: 0.67rem;
}

.skill-category {
  background: var(--secondary);
  padding: 0.838rem;
  border-radius: 8px;
  border: 1px solid var(--accent);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.skill-category:hover {
  transform: translateY(-1.34px);
  border-color: var(--primary);
}

.skill-category h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.587rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.335rem;
    margin-top: 8px;
}

.skill-category ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.335rem;
}

.skill-category li {
  font-size: 0.804rem;
  color: var(--text);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
  opacity: 0.9;
}

.skill-category li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

@media (max-width: 768px) {
  .about-section {
    padding: 1rem 0.67rem;
  }

  .about-content {
    gap: 0.838rem;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 0.67rem;
  }

  .skill-category {
    padding: 0.67rem;
  }
}

.accent {
    color: var(--primary);
    font-weight: 600;
}

/* contact */

      .contact-section {
        min-height: 100vh;
        width: 100vw;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2rem;
        animation: fadeInUp 1.2s ease-out;
      }

      .contact-container {
        width: 100%;
        max-width: 1200px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 3rem;
        align-items: center;
      }

      @media (min-width: 1024px) {
        .contact-container {
          grid-template-columns: 1fr 1fr;
        }
      }

      .content-side {
        display: flex;
        flex-direction: column;
        gap: 2rem;
      }

      .heading-group {
        display: flex;
        flex-direction: column;
        gap: 1rem;
      }

      h1 {
        font-size: 3rem;
        font-weight: bold;
        color: var(--primary);
        line-height: 1.1;
      }

      @media (min-width: 1024px) {
        h1 {
          font-size: 3.75rem;
        }
      }

      .subtitle {
        font-size: 1.125rem;
        color: var(--text);
        opacity: 0.8;
      }

      @media (min-width: 1024px) {
        .subtitle {
          font-size: 1.25rem;
        }
      }

      .features {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
      }

      .feature-item {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
      }

      .feature-item:hover .icon-box {
        transform: scale(1.1);
      }

      .icon-box {
        padding: 0.75rem;
        background-color: var(--secondary);
        border-radius: 0.5rem;
        transition: transform 0.3s ease;
        flex-shrink: 0;
      }

      .icon {
        width: 24px;
        height: 24px;
        color: var(--accent);
      }

      .feature-content h3 {
        font-size: 1.125rem;
        font-weight: 600;
        color: var(--primary);
        margin-bottom: 0.25rem;
      }

      .feature-content p {
        color: var(--text);
        opacity: 0.7;
      }

      .form-side {
        width: 100%;
      }

      .contact-form {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem;
        background-color: rgba(52, 97, 106, 0.1);
        border: 1px solid var(--secondary);
        border-radius: 1rem;
        backdrop-filter: blur(8px);
        box-shadow: 0 8px 32px rgba(81, 163, 179, 0.1);
        transition: box-shadow 0.3s ease;
      }

      .contact-form:hover {
        box-shadow: 0 20px 60px rgba(81, 163, 179, 0.2);
      }

      .form-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
      }

      label {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.875rem;
        font-weight: 500;
        color: var(--primary);
      }

      label svg {
        width: 16px;
        height: 16px;
      }

      input,
      textarea {
        padding: 0.75rem 1rem;
        background-color: rgba(10, 15, 16, 0.5);
        border: 1px solid var(--secondary);
        border-radius: 0.5rem;
        color: var(--text);
        font-family: inherit;
        font-size: 1rem;
        outline: none;
        transition: border-color 0.3s ease;
      }

      input:focus,
      textarea:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 2px var(--accent); 
        outline: none; 
      }

      input::placeholder,
      textarea::placeholder {
        color: var(--text);
        opacity: 0.5;
      }

      textarea {
        resize: none;
        min-height: 150px;
      }

      button[type="submit"] {
        width: 100%;
        padding: 1rem 1.5rem;
        background-color: var(--accent);
        color: var(--background);
        font-size: 1rem;
        font-weight: 600;
        border: none;
        border-radius: 0.5rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        transition: all 0.3s ease;
      }

      button[type="submit"]:hover {
        transform: scale(1.02);
        box-shadow: 0 10px 30px rgba(81, 163, 179, 0.3);
      }

      button[type="submit"]:active {
        transform: scale(0.98);
      }

      button[type="submit"]:disabled {
        opacity: 0.5;
        cursor: not-allowed;
      }

      .success-message {
        text-align: center;
        padding: 0.75rem;
        background-color: rgba(81, 163, 179, 0.2);
        color: var(--accent);
        border-radius: 0.5rem;
        animation: fadeIn 0.3s ease;
        display: none;
      }

      .success-message.show {
        display: block;
      }

      @keyframes fadeIn {
        from {
          opacity: 0;
          transform: translateY(-10px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

/* footer */
.footer {
  height: 100vh;
  width: 100vw;
  background: var(--background);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.footer-content {
  width: 90%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 90%;
  animation: fadeIn 1.5s ease;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  margin-top: auto;
}

.footer-column h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.footer-column ul {
  list-style: none;
  padding-left: 0;
}

.footer-column ul li {
  margin-bottom: 0.6rem;
}

.footer-column a {
  text-decoration: none;
  color: var(--text);
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.footer-column a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.socials a {
  color: var(--text);
  transition: transform 0.3s ease, color 0.3s ease;
}

.socials a:hover {
  color: var(--accent);
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--secondary);
  padding-top: 1.5rem;
  margin-top: 3rem;
}

.tagline {
  color: var(--primary);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  animation: slideUp 1s ease forwards;
}

.copyright {
  color: var(--text);
  font-size: 0.8rem;
  opacity: 0.7;
  animation: slideUp 1.2s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .footer-grid {
    text-align: center;
  }
  .footer-column a:hover {
    transform: none;
  }
}

.privacy a {
    font-size: 0.85rem;
}

/* 404 */
.error-section {
        width: 100vw;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding-top: 1.5rem;
        background: linear-gradient(135deg, var(--background) 0%, #0f1819 50%, var(--background) 100%);
        position: relative;
        overflow: hidden;
        animation: fadeInUp 1.2s ease-out;
      }

      .error-section::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(81, 163, 179, 0.1) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
      }

      .error-code {
        font-size: clamp(6rem, 20vw, 12rem);
        font-weight: 800;
        color: var(--primary);
        line-height: 1;
        margin-bottom: 1rem;
        text-shadow: 0 0 30px rgba(174, 203, 208, 0.3);
        position: relative;
        z-index: 1;
      }

      .error-title {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
        font-weight: 600;
        color: var(--text);
        margin-bottom: 1rem;
        position: relative;
        z-index: 1;
      }

      .error-message {
        font-size: clamp(1rem, 2vw, 1.25rem);
        color: var(--primary);
        max-width: 600px;
        margin-bottom: 2.5rem;
        line-height: 1.6;
        opacity: 0.9;
        position: relative;
        z-index: 1;
      }

      .back-button {
        display: inline-block;
        padding: 1rem 2.5rem;
        background-color: var(--accent);
        color: var(--background);
        text-decoration: none;
        font-size: 1.125rem;
        font-weight: 600;
        border-radius: 8px;
        transition: all 0.3s ease;
        position: relative;
        z-index: 1;
        border: 2px solid var(--accent);
      }

      .back-button:hover {
        background-color: transparent;
        color: var(--accent);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(81, 163, 179, 0.3);
      }

      .decorative-line {
        width: 100px;
        height: 3px;
        background: linear-gradient(90deg, transparent, var(--secondary), transparent);
        margin: 2rem auto;
        position: relative;
        z-index: 1;
      }

body.projects .main-heading {
    margin-top: 10rem;
}

body.projects .projects-container {
    margin-top: 7.5rem;
}

body.about .main-heading {
    margin-top: 10rem;
}

.about-h2 {
  font-size: clamp(1.34rem, 4vw, 2rem);
  color: var(--accent);
}

.about-h3 {
  font-size: clamp(1.34rem, 4vw, 2rem);
  color: var(--accent);
}

.about-p {
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--text);
}

.about-me-container {
  max-width: 76.5%;
  margin-top: 5rem;
}

    .bio, .skills, .approach {
      max-width: 900px;
      text-align: center;
    }

    .skills-list {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem;
      margin-top: 2rem;
      padding-left: 0;
    }

    .skill {
      background: #1a1a1a;
      padding: 0.75rem 1.25rem;
      border-radius: 10px;
      font-size: 0.9rem;
      letter-spacing: 0.5px;
    }

    .approach ul {
      list-style: none;
      padding: 0;
    }

    .approach li {
      margin: 1rem 0;
      opacity: 0.8;
    }

    .cta button {
      background: #00bcd4;
      color: #fff;
      border: none;
      padding: 1rem 2rem;
      border-radius: 8px;
      font-size: 1rem;
      cursor: pointer;
      margin-top: 2rem;
      transition: background 0.2s ease;
    }

    .cta button:hover {
      background: #0097a7;
    }


body.about .skills-section {
  padding: calc(var(--spacing-unit) * 5) 0;
  background-color: var(--color-background-alt);
}

body.about .skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: calc(var(--spacing-unit) * 4);
}

body.about .skill-category {
  background-color: var(--color-background);
  padding: calc(var(--spacing-unit) * 4);
  border-radius: calc(var(--border-radius) * 2);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

body.about .skill-category-title {
  font-size: 20px;
  margin-bottom: calc(var(--spacing-unit) * 3);
  color: var(--color-primary);
  line-height: 1.2;
}

body.about .skills-list {
  list-style: none;
  list-style-type: none;
}

body.about .skills-list li {
  padding: var(--spacing-unit) 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-light);
  list-style-type: none;
}

body.about .skills-list li:last-child {
  border-bottom: none;
}

body.about .skills-container {
    width: 85%;
}

body.about .skill-category li::before {
  content: '';
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

body.contact h1 {
  font-size: 27px;
}