/* Main Portfolio Stylesheet */
@import url('variables.css');

/* ==================== RESET & BASE ==================== */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--dark-slate) var(--navy);
}

body {
  font-family: var(--font-sans);
  background-color: var(--navy);
  color: var(--slate);
  line-height: 1.6;
  font-size: var(--fz-lg);
  overflow-x: hidden;
}

::selection {
  background-color: var(--lightest-navy);
  color: var(--lightest-slate);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--navy);
}

::-webkit-scrollbar-thumb {
  background-color: var(--dark-slate);
  border: 3px solid var(--navy);
  border-radius: 10px;
}

/* ==================== TYPOGRAPHY ==================== */

h1, h2, h3, h4, h5, h6 {
  color: var(--lightest-slate);
  font-weight: 600;
  line-height: 1.1;
}

h1 {
  font-size: clamp(40px, 8vw, 80px);
}

h2 {
  font-size: clamp(30px, 5vw, 60px);
}

h3 {
  font-size: clamp(24px, 4vw, 32px);
}

a {
  color: var(--green);
  text-decoration: none;
  transition: var(--transition);
}

a:hover, a:focus {
  color: var(--green);
  text-decoration: underline;
}

button {
  font-family: var(--font-mono);
  cursor: pointer;
  border: none;
  background: none;
}

/* ==================== LOADER ==================== */

.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.loader-wrapper.fade-out {
  opacity: 0;
  transform: scale(0);
}

#loader {
  width: 200px;
  height: 200px;
}

#loader-hexagon {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawHexagon 1.5s ease-out forwards;
}

#loader-letter {
  opacity: 0;
  animation: showLetter 0.5s ease-out 1.2s forwards;
}

@keyframes drawHexagon {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes showLetter {
  to {
    opacity: 1;
  }
}

/* ==================== END LOADER ==================== */

/* Numbered Headings */
.numbered-heading {
  display: flex;
  align-items: center;
  position: relative;
  margin: 10px 0 40px;
  width: 100%;
  font-size: clamp(26px, 5vw, var(--fz-heading));
  white-space: nowrap;
}

/* .numbered-heading::before {
  position: relative;
  bottom: 4px;
  counter-increment: section;
  content: "0" counter(section) ".";
  margin-right: 10px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: clamp(var(--fz-md), 3vw, var(--fz-xl));
  font-weight: 400;
} */

.numbered-heading::after {
  content: "";
  display: block;
  position: relative;
  width: 300px;
  height: 1px;
  margin-left: 20px;
  background-color: var(--lightest-navy);
}

/* ==================== LAYOUT ==================== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 50px;
}

section {
  margin: 0 auto;
  padding: 100px 0;
  max-width: 1000px;
}

/* ==================== NAVIGATION ==================== */

nav {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 100px;
  background-color: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -10px var(--navy-shadow);
  transition: var(--transition);
}

nav.scrolled {
  height: 70px;
  box-shadow: 0 10px 30px -10px var(--navy-shadow);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 50px;
}

.nav-logo {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: var(--fz-xxl);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo svg {
  color: var(--green);
  transition: var(--transition);
}

.nav-logo:hover svg {
  transform: scale(1.1);
}

/* ==================== SIDE NAVIGATION ==================== */

.side-nav {
  position: fixed;
  bottom: 0;
  width: 40px;
  z-index: 10;
}

.side-nav-left {
  left: 40px;
}

.side-nav-right {
  right: 40px;
}

.side-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 20px;
}

.side-links li {
  margin: 0;
}

.side-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  color: var(--light-slate);
  transition: var(--transition);
}

.side-links a:hover {
  color: var(--green);
  transform: translateY(-3px);
}

.side-links svg {
  width: 20px;
  height: 20px;
}

.side-email {
  writing-mode: vertical-rl;
  margin-bottom: 20px;
}

.side-email a {
  font-family: var(--font-mono);
  font-size: var(--fz-xs);
  color: var(--light-slate);
  letter-spacing: 0.1em;
  transition: var(--transition);
  text-decoration: none;
}

.side-email a:hover {
  color: var(--green);
  transform: translateY(-3px);
}

.side-line {
  width: 1px;
  height: 90px;
  background-color: var(--light-slate);
  margin: 20px auto 0;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 30px;
}

.nav-links li {
  counter-increment: nav-item;
}

.nav-links a {
  color: var(--lightest-slate);
  font-family: var(--font-mono);
  font-size: var(--fz-xs);
  text-decoration: none;
  padding: 10px;
  transition: var(--transition);
}

/* .nav-links a::before {
  content: "0" counter(nav-item) ".";
  margin-right: 5px;
  color: var(--green);
} */

.nav-links a:hover {
  color: var(--green);
  text-decoration: none;
}

.nav-resume {
  color: var(--green) !important;
  border: 1px solid var(--green);
  border-radius: var(--border-radius);
  padding: 10px 15px !important;
  margin-left: 15px;
}

.nav-resume::before {
  content: "" !important;
}

.nav-resume:hover {
  background-color: var(--green-tint);
}

/* ==================== HERO SECTION ==================== */

#hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 0 50px;
  counter-reset: section 0;
}

.hero-intro {
  font-family: var(--font-mono);
  color: var(--green);
  font-size: clamp(var(--fz-sm), 5vw, var(--fz-md));
  font-weight: 400;
  margin: 0 0 20px 4px;
}

.hero-name {
  margin: 0;
  color: var(--lightest-slate);
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 600;
  line-height: 1.1;
}

.hero-tagline {
  margin: 0;
  color: var(--slate);
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 600;
  line-height: 1.1;
}

.hero-description {
  margin: 20px 0 0 0;
  max-width: 540px;
  color: var(--slate);
}

.hero-cta {
  margin-top: 50px;
}

.btn-primary {
  color: var(--green);
  background-color: transparent;
  border: 1px solid var(--green);
  border-radius: var(--border-radius);
  padding: 1.25rem 1.75rem;
  font-family: var(--font-mono);
  font-size: var(--fz-sm);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
}

.btn-primary:hover {
  background-color: var(--green-tint);
  text-decoration: none;
  transform: translate(-4px, -4px);
  box-shadow: 4px 4px 0 0 var(--green);
}

/* ==================== ABOUT SECTION ==================== */

#about {
  max-width: 900px;
  padding: 0 50px;
  margin-top: 20px;
}

.about-content {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 50px;
  align-items: center;
}

.about-text p {
  margin-bottom: 15px;
}

.about-text a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: var(--green);
}

.about-text a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--green);
  opacity: 0.5;
  transition: var(--transition);
}

.about-text a:hover::after {
  opacity: 1;
}

.skills-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 200px));
  gap: 0 10px;
  padding: 0;
  margin: 20px 0 0 0;
  overflow: hidden;
  list-style: none;
}

.skills-list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 20px;
  font-family: var(--font-mono);
  font-size: var(--fz-xs);
}

.skills-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: var(--fz-sm);
  line-height: 12px;
}

.about-photo {
  position: relative;
  max-width: 300px;
  width: 100%;
}

.photo-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--border-radius);
  background-color: var(--green);
  transition: var(--transition);
}

.photo-wrapper:hover {
  transform: translate(-4px, -4px);
  box-shadow: 4px 4px 0 0 var(--green);
}

.profile-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--border-radius);
  border: 2px solid var(--green);
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.profile-photo:hover {
  filter: grayscale(0%);
}

.photo-placeholder {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--border-radius);
  background-color: var(--light-navy);
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  font-family: var(--font-mono);
  font-size: var(--fz-xs);
  text-align: center;
  padding: 20px;
  position: relative;
}

/* To replace the placeholder with your photo, add this:
.photo-placeholder {
  background-image: url('../assets/profile.jpg');
  background-size: cover;
  background-position: center;
  color: transparent;
}
*/

/* ==================== EXPERIENCE SECTION ==================== */

#jobs {
  max-width: 700px;
  padding: 0 50px;
  margin-top: 100px;
}

.jobs-container {
  display: flex;
  gap: 20px;
}

.job-tabs {
  position: relative;
  z-index: 3;
  width: max-content;
  padding: 0;
  margin: 0;
  list-style: none;
}

.job-tab {
  text-decoration: none;
  text-align: left;
  width: 100%;
  height: 42px;
  padding: 0 20px;
  border-left: 2px solid var(--lightest-navy);
  background-color: transparent;
  color: var(--slate);
  font-family: var(--font-mono);
  font-size: var(--fz-xs);
  text-align: left;
  white-space: nowrap;
  transition: var(--transition);
  display: flex;
  align-items: center;
  cursor: pointer;
}

.job-tab:hover, .job-tab:focus {
  background-color: var(--light-navy);
  color: var(--green);
}

.job-tab.active {
  color: var(--green);
  border-left-color: var(--green);
}

.job-panels {
  position: relative;
  width: 100%;
  margin-left: 20px;
}

.job-panel {
  display: none;
  width: 100%;
  height: auto;
  padding: 10px 5px;
}

.job-panel.active {
  display: block;
}

.job-title {
  margin-bottom: 2px;
  font-size: var(--fz-xxl);
  font-weight: 500;
  line-height: 1.3;
  color: var(--lightest-slate);
}

.job-company {
  color: var(--green);
  text-decoration: none;
}

.job-company:hover {
  text-decoration: underline;
}

.job-date {
  margin-bottom: 25px;
  font-family: var(--font-mono);
  font-size: var(--fz-xs);
  color: var(--light-slate);
}

.job-description {
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: var(--fz-lg);
}

.job-description li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}

.job-description li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: var(--fz-sm);
}

/* ==================== PROJECTS SECTION ==================== */

#projects {
  max-width: 1000px;
  padding: 0 50px;
  margin-top: 100px;
}

.featured-projects {
  margin-bottom: 100px;
}

.featured-project {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  margin-bottom: 100px;
}

.featured-project:nth-of-type(2n+1) .project-content {
  grid-column: 7 / -1;
  text-align: right;
}

.featured-project:nth-of-type(2n+1) .project-image {
  grid-column: 1 / 8;
}

.featured-project:nth-of-type(2n) .project-content {
  grid-column: 1 / 7;
  text-align: left;
}

.featured-project:nth-of-type(2n) .project-image {
  grid-column: 6 / -1;
}

.project-image {
  grid-row: 1 / -1;
  position: relative;
  z-index: 1;
}

.project-image-wrapper {
  position: relative;
  border-radius: var(--border-radius);
  background-color: var(--green);
  overflow: hidden;
  max-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-image-wrapper::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--navy);
  mix-blend-mode: screen;
  transition: var(--transition);
  z-index: 3;
}

.project-image-wrapper:hover::before {
  background: transparent;
}

.project-image-wrapper img {
  width: 100%;
  height: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: var(--border-radius);
  filter: grayscale(100%) contrast(1) brightness(90%);
  transition: var(--transition);
}

.project-image-wrapper:hover img {
  filter: none;
}

.project-content {
  position: relative;
  grid-row: 1 / -1;
  z-index: 2;
}

.project-overline {
  margin: 10px 0;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: var(--fz-xs);
  font-weight: 400;
}

.project-title {
  color: var(--lightest-slate);
  font-size: clamp(24px, 5vw, 28px);
  margin: 0 0 20px;
}

.project-description {
  position: relative;
  padding: 25px;
  border-radius: var(--border-radius);
  background-color: var(--light-navy);
  color: var(--light-slate);
  font-size: var(--fz-lg);
  box-shadow: 0 10px 30px -15px var(--navy-shadow);
}

.featured-project:nth-of-type(2n+1) .project-description {
  text-align: left;
}

.project-tech-list {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  margin: 25px 0 10px;
  padding: 0;
  list-style: none;
}

.featured-project:nth-of-type(2n+1) .project-tech-list {
  justify-content: flex-end;
}

.featured-project:nth-of-type(2n) .project-tech-list {
  justify-content: flex-start;
}

.project-tech-list li {
  margin: 0 20px 5px 0;
  color: var(--light-slate);
  font-family: var(--font-mono);
  font-size: var(--fz-xs);
  white-space: nowrap;
}

.featured-project:nth-of-type(2n+1) .project-tech-list li {
  margin: 0 0 5px 20px;
}

.project-links {
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 10px;
  margin-left: -10px;
  color: var(--lightest-slate);
}

.featured-project:nth-of-type(2n+1) .project-links {
  justify-content: flex-end;
  margin-left: 0;
  margin-right: -10px;
}

.project-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.project-links a:hover {
  color: var(--green);
}

/* Other Projects Grid */
.other-projects {
  margin-top: 50px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 15px;
  position: relative;
  margin: 50px 0;
}

.project-card {
  position: relative;
  cursor: default;
  padding: 2rem 1.75rem;
  background-color: var(--light-navy);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-7px);
}

.project-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
}

.folder-icon {
  color: var(--green);
  font-size: 40px;
}

.project-card-links {
  display: flex;
  align-items: center;
  margin-right: -10px;
  color: var(--light-slate);
}

.project-card-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 7px;
}

.project-card-links a:hover {
  color: var(--green);
}

.project-card-title {
  margin: 0 0 10px;
  color: var(--lightest-slate);
  font-size: var(--fz-xxl);
}

.project-card-description {
  color: var(--light-slate);
  font-size: 17px;
}

.project-card-tech {
  display: flex;
  align-items: flex-end;
  flex-grow: 1;
  flex-wrap: wrap;
  padding: 0;
  margin: 20px 0 0 0;
  list-style: none;
}

.project-card-tech li {
  font-family: var(--font-mono);
  font-size: var(--fz-xxs);
  line-height: 1.75;
  margin-right: 15px;
  color: var(--slate);
}

.show-more-btn {
  color: var(--green);
  background-color: transparent;
  border: 1px solid var(--green);
  border-radius: var(--border-radius);
  padding: 1.25rem 1.75rem;
  font-size: var(--fz-sm);
  font-family: var(--font-mono);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  margin: 80px auto 0;
  display: block;
}

.show-more-btn:hover {
  background-color: var(--green-tint);
}

/* ==================== CONTACT SECTION ==================== */

#contact {
  max-width: 600px;
  margin: 100px auto 100px;
  text-align: center;
  padding: 0 50px;
}

.contact-heading {
  display: block;
  margin-bottom: 20px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: clamp(var(--fz-sm), 5vw, var(--fz-md));
  font-weight: 400;
}

/* .contact-heading::before {
  bottom: 0;
  font-size: var(--fz-sm);
  content: "04.";
  margin-right: 10px;
} */

.contact-title {
  font-size: clamp(40px, 5vw, 60px);
}

.contact-description {
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
  margin-top: 40px;
}

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

.form-group label {
  color: var(--lightest-slate);
  font-family: var(--font-mono);
  font-size: var(--fz-sm);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  background-color: var(--light-navy);
  border: 1px solid var(--lightest-navy);
  border-radius: var(--border-radius);
  color: var(--lightest-slate);
  font-family: var(--font-sans);
  font-size: var(--fz-md);
  padding: 12px 15px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 2px var(--green-tint);
}

.form-group textarea {
  min-height: 75px;
  resize: vertical;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-submit {
  color: var(--green);
  background-color: transparent;
  border: 1px solid var(--green);
  border-radius: var(--border-radius);
  padding: 1.25rem 1.75rem;
  font-family: var(--font-mono);
  font-size: var(--fz-sm);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 20px;
}

.form-submit:hover:not(:disabled) {
  background-color: var(--green-tint);
  transform: translate(-4px, -4px);
  box-shadow: 4px 4px 0 0 var(--green);
}

.form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: var(--border-radius);
  font-family: var(--font-mono);
  font-size: var(--fz-sm);
  text-align: center;
}

.form-message.success {
  background-color: rgba(100, 255, 218, 0.1);
  color: var(--green);
  border: 1px solid var(--green);
}

.form-message.error {
  background-color: rgba(255, 87, 87, 0.1);
  color: #ff5757;
  border: 1px solid #ff5757;
}

/* ==================== FOOTER ==================== */

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: auto;
  min-height: 70px;
  padding: 15px;
  text-align: center;
}

.footer-text {
  color: var(--light-slate);
  font-family: var(--font-mono);
  font-size: var(--fz-xs);
  line-height: 1;
}

.footer-text a {
  padding: 10px;
}

.social-links {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  list-style: none;
}

.social-links a {
  padding: 10px;
  color: var(--light-slate);
  font-size: 20px;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--green);
  transform: translateY(-3px);
}

/* ==================== ANIMATIONS ==================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.645, 0.045, 0.355, 1), 
              transform 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero section animations */
.hero-intro {
  animation: fadeInUp 0.5s cubic-bezier(0.645, 0.045, 0.355, 1) 0.1s both;
}

.hero-name {
  animation: fadeInUp 0.5s cubic-bezier(0.645, 0.045, 0.355, 1) 0.2s both;
}

.hero-tagline {
  animation: fadeInUp 0.5s cubic-bezier(0.645, 0.045, 0.355, 1) 0.3s both;
}

.hero-description {
  animation: fadeInUp 0.5s cubic-bezier(0.645, 0.045, 0.355, 1) 0.4s both;
}

/* Side navigation animations */
.side-nav {
  animation: fadeIn 0.5s cubic-bezier(0.645, 0.045, 0.355, 1) 1s both;
}

/* Smooth transitions for all interactive elements */
a, button {
  transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Project card hover effects */
.project-card {
  transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.project-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 30px -15px rgba(2, 12, 27, 0.7);
}

.project-card-title {
  transition: color 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.project-card:hover .project-card-title {
  color: var(--green);
}

/* Featured project image hover */
.project-image-wrapper {
  transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.project-image-wrapper:hover {
  transform: translateY(-5px);
}

/* Job tabs animation */
.job-tabs button {
  transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Form input animations */
.form-group input,
.form-group textarea {
  transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.form-group input:focus,
.form-group textarea:focus {
  transform: translateY(-2px);
}

/* Button animations */
.btn-primary,
.form-submit,
.show-more-btn {
  transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.btn-primary:hover,
.form-submit:hover,
.show-more-btn:hover {
  transform: translate(-4px, -4px);
}

/* Nav links hover effect */
.nav-links a {
  position: relative;
  transition: color 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--green);
  transition: width 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Skills list animation */
.skills-list li::before {
  transition: color 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.skills-list li:hover::before {
  color: var(--green);
  transform: translateX(5px);
}

/* Technology tags hover */
.project-tech-list li,
.project-card-tech li {
  transition: color 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.project-tech-list li:hover,
.project-card-tech li:hover {
  color: var(--green);
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 768px) {
  .container,
  section,
  #hero,
  #about,
  #jobs,
  #projects,
  #contact {
    padding-left: 25px;
    padding-right: 25px;
  }

  .nav-content {
    padding: 0 25px;
  }

  .nav-links {
    gap: 15px;
  }

  .numbered-heading::after {
    width: 200px;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: 70%;
    margin: 50px auto 0;
  }

  .side-nav {
    display: none;
  }

  .jobs-container {
    flex-direction: column;
  }

  .job-tabs {
    width: 100%;
    display: flex;
    overflow-x: auto;
    margin-bottom: 30px;
  }

  .job-tab {
    border-left: 0;
    border-bottom: 2px solid var(--lightest-navy);
    min-width: 120px;
    padding: 0 15px;
    text-align: center;
  }

  .job-tab.active {
    border-left: 0;
    border-bottom-color: var(--green);
  }

  .job-panels {
    margin-left: 0;
  }

  .featured-project {
    grid-template-columns: 1fr;
  }

  .project-content,
  .featured-project:nth-of-type(2n+1) .project-content,
  .featured-project:nth-of-type(2n) .project-content {
    grid-column: 1 / -1;
    padding: 40px 40px 30px;
    text-align: left;
  }

  .project-image,
  .featured-project:nth-of-type(2n+1) .project-image,
  .featured-project:nth-of-type(2n) .project-image {
    grid-column: 1 / -1;
    opacity: 0.25;
  }

  .project-description {
    padding: 20px 0;
    background-color: transparent;
    box-shadow: none;
  }

  .project-tech-list,
  .featured-project:nth-of-type(2n+1) .project-tech-list {
    justify-content: flex-start;
  }

  .project-tech-list li,
  .featured-project:nth-of-type(2n+1) .project-tech-list li {
    margin: 0 10px 5px 0;
  }

  .project-links,
  .featured-project:nth-of-type(2n+1) .project-links {
    justify-content: flex-start;
    margin-left: -10px;
    margin-right: 0;
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

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

  .projects-grid {
    grid-template-columns: 1fr;
  }
}
