* {
  margin: 0;
}

body {
  font-family: sans-serif;
}

h1,
h2 {
  color: #312f2d;
}

.about-me-text h1,
.project-section h1,
.experience-title h1,
.skills-title h1,
.education-title h1,
.reference-left h1 {
  font-size: 1.8rem;
  font-weight: 600;
}

/*  ––––––– header section ––––––– */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 4rem;
  border-bottom: 1px solid #eee;
  background-color: #fff;
  font-family: sans-serif;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo img {
  height: 50px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 5rem;
}

nav a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  position: relative;
  display: inline-block;
}

nav a.nav-home,
.mobile-menu ul li a.nav-home {
  text-decoration: none;
  position: relative;
}

nav a.nav-home::after,
.mobile-menu ul li a.nav-home::after {
  content: "";
  position: absolute;
  left: -0.45em;
  right: -0.45em;
  top: 50%;
  height: 2px;
  background-color: currentColor;
  transform: translateY(-50%);
  pointer-events: none;
}

nav li:hover {
  color: #8e8a86;
  opacity: 0.7;
  transition: all 0.3s ease;
  transform: scale(1.3);
}

button:hover,
.btn-link:hover {
  transition: all 0.4s ease;
  transform: scale(0.95);
}

.logo img:hover {
  transform: scale(1.2);
  transition: all 0.4s ease;
}

button {
  background-color: #a3835f;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  padding: 0.8rem 1.2rem;
  box-shadow: 4px 7px 8px hsl(0deg 0% 0% / 0.38);
  color: #fff;
  font-weight: bold;
  font-size: larger;
  font-family: inherit;
}

.btn-link {
  display: inline-block;
  background-color: #a3835f;
  border-radius: 20px;
  cursor: pointer;
  padding: 0.7rem 1rem;
  box-shadow: 4px 7px 8px hsl(0deg 0% 0% / 0.38);
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  cursor: pointer;
  z-index: 1100;
}

.hamburger-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #312f2d;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger-btn.is-open span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.hamburger-btn.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.is-open span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 54px;
  right: 0;
  background-color: #e5e7eb;
  border-top: 1px solid #eee;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  z-index: 999;
  padding: 1.5rem 2rem 2rem;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  text-align: center;
  padding: 0;
}

.mobile-menu ul li a {
  text-decoration: none;
  color: #312f2d;
  font-weight: bold;
  font-size: 0.8rem;
  transition: color 0.2s ease;
}

.mobile-menu ul li a:hover {
  color: #a3835f;
}

.mobile-menu .mobile-contact-btn {
  margin-top: 0.5rem;
  color: white;
}

/*  ––––––– hero section ––––––– */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 80vh;
}

.top-text,
.star-decoration {
  text-align: center;
  padding: 1.5rem;
  animation: bounce-in-top 1.1s both;
  animation-delay: 1s;
}

/* top text animation */
@keyframes bounce-in-top {
  0% {
    transform: translateY(-300px);
    opacity: 0;
  }

  60% {
    transform: translateY(0);
    opacity: 1;
  }

  80% {
    transform: translateY(-30px);
  }

  100% {
    transform: translateY(0);
  }
}

.top-text,
.side-text,
.star-decoration {
  font-family: "Spline Sans Mono", monospace;
  letter-spacing: 1px;
}

.first-name {
  font-family: "Satoshi", "Satoshi Placeholder", sans-serif;
  font-size: 10rem;
  color: rgb(158, 136, 103);
  margin-right: 10rem;
  font-weight: 400;
}

.last-name {
  font-family: "Satoshi", "Satoshi Placeholder", sans-serif;
  font-size: 10rem;
  color: #312f2d;
  margin-left: 8rem;
  font-weight: 400;
}

.first-name p,
.last-name p {
  animation: focus-in-expand-fwd 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes focus-in-expand-fwd {
  0% {
    letter-spacing: -0.5em;
    transform: translateZ(-800px);
    filter: blur(12px);
    opacity: 0;
  }

  100% {
    transform: translateZ(0);
    filter: blur(0);
    opacity: 1;
  }
}

.side-text {
  transform: rotate(90deg);
  margin-right: 30rem;
  animation: roll-in-left 0.6s ease-out both;
  animation-delay: 2s;
  margin-top: -5rem;
}

/* side text animation */
@keyframes roll-in-left {
  0% {
    -webkit-transform: translateX(-800px) rotate(-540deg);
    transform: translateX(-800px) rotate(-540deg);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateX(0) rotate(90deg);
    transform: translateX(0) rotate(90deg);
    opacity: 1;
  }
}

.about-me-text h1,
.project-section h1,
.experience-title h1,
.skills-title h1,
.reference-left h1 {
  animation: scale-in-hor-left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes scale-in-hor-left {
  0% {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    opacity: 1;
  }

  100% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    opacity: 1;
  }
}

.about-me-text h1 {
  animation-delay: 2s;
}

.project-section h1 {
  animation-delay: 4s;
}

.experience-title h1 {
  animation-delay: 7s;
}

.skills-title h1 {
  animation-delay: 10s;
}
.reference-left h1 {
  animation-delay: 9s;
}

/*  ––––––– about me section ––––––– */
.about-me {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem 4rem;
  padding: 9rem 2rem;
  margin: 10rem auto;
  width: 100%;
  max-width: 68rem;
  box-sizing: border-box;
}

.right-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 40rem;
}

.about-me-text h1 {
  margin-left: 2rem;
  text-align: left;
  width: 100%;
}

.about-me-text p,
.reference-left p {
  padding: 2rem;
  font-size: 1.2rem;
  color: gray;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.5px;
}

.left-side {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  max-width: 320px;
  text-align: center;
}

.profile-picture {
  width: 60%;

  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  box-shadow: 4px 7px 8px hsl(0deg 0% 0% / 0.38);
}

@keyframes puff-in-center {
  0% {
    -webkit-transform: scale(2);
    transform: scale(2);
    -webkit-filter: blur(4px);
    filter: blur(4px);
    opacity: 0;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-filter: blur(0px);
    filter: blur(0px);
    opacity: 1;
  }
}

/* ––––––– video intro section ––––––– */
.video-intro-section {
  width: 72%;
  max-width: 68rem;
  margin: 0 auto 6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.video-intro-section h1 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #312f2d;
}

.video-card {
  width: 100%;
  background-color: #1e1c1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.5rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 24px hsl(0deg 0% 0% / 0.18);
}

.video-card video {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.video-caption {
  color: #8e8a86;
  font-size: 0.9rem;
  font-style: italic;
  text-align: center;
  margin: 0;
}

/* ––––––– project section ––––––– */
.project-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10rem auto;
  width: 72%;
  max-width: 70rem;
  padding: 3rem 2rem;
}

.project-section h1::after,
.show-more-btn-overlay::after {
  content: "...";
  display: inline-block;
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
  0% {
    content: "";
  }

  25% {
    content: ".";
  }

  50% {
    content: "..";
  }

  75% {
    content: "...";
  }

  100% {
    content: "";
  }
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 12rem;
  row-gap: 4rem;
  padding: 6rem 1rem;
  max-width: 53rem;
  width: 100%;
  margin-inline: auto;
  align-items: center;
  text-align: center;
  margin-bottom: 1rem;
}

.project-picture {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #fff;
}

.project-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 20px;
  position: relative;
  z-index: 0;
  transform: scale(0.82);
  transform-origin: center center;
}

.project-picture--fit-contain img {
  object-fit: contain;
  object-position: center;
}

.project-name {
  margin-top: 1rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.title::before {
  content: "●";
  color: goldenrod;
  margin-right: 0.7rem;
  font-size: 1.5rem;
}

.title {
  text-align: left;
}

.title strong {
  color: #595855e6;
  font-size: 1.2rem;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.year {
  color: #595855e6;
  text-align: right;
  padding-right: 1rem;
  align-items: center;
}

.project-picture,
.overlay-content {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.project-picture::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  border-radius: 20px;
}

.project-picture:hover::before {
  opacity: 1;
}

.overlay-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  text-align: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
  padding: 1rem;
}

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

.show-more-btn-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #312f2d;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
}

.show-more-btn:hover .show-more-btn-overlay {
  opacity: 1;
}

.overlay-content .btn {
  display: inline-block;
  padding: 0.4rem 1rem;
  background-color: #a3835f;
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-inline: 1.2rem;
}

.overlay-content .btn:hover {
  background-color: #9b7e53;
  color: white;
  transform: scale(0.95);
}

.overlay-content p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* ––––––– experience & achievements ––––––– */
.experience-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 7rem auto;
  width: 72%;
  max-width: 70rem;
  padding: 3rem 2rem;
  background-color: #fff;
  box-sizing: border-box;
}

#experience-heading {
  margin: 4rem 0 3rem 0;
}
.experience-timeline {
  position: relative;
  width: 100%;
  max-width: 52rem;
  margin: 0 auto;
  padding: 0.5rem 0 2rem;
}

.experience-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background-color: #d8d8d8;
  z-index: 0;
}

.experience-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 0 1.5rem;
  margin-bottom: 2.75rem;
  position: relative;
  z-index: 1;
}

.experience-item:last-child {
  margin-bottom: 0;
}

.experience-spacer {
  min-height: 1px;
}

.experience-axis {
  display: flex;
  justify-content: center;
  padding-top: 0.35rem;
  width: 1.5rem;
  flex-shrink: 0;
}

.experience-dot {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #a3835f;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #d0d0d0;
}

.experience-item--right .experience-spacer {
  grid-column: 1;
}

.experience-item--right .experience-axis {
  grid-column: 2;
}

.experience-item--right .experience-content {
  grid-column: 3;
  text-align: left;
}

.experience-item--left .experience-content {
  grid-column: 1;
  text-align: right;
}

.experience-item--left .experience-axis {
  grid-column: 2;
}

.experience-item--left .experience-spacer {
  grid-column: 3;
}

.experience-date {
  font-size: 0.8rem;
  color: #9a9a9a;
  margin: 0 0 0.35rem;
  font-weight: 400;
}

.experience-role {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.experience-company {
  font-size: 0.95rem;
  font-weight: 600;
  color: #a3835f;
  margin: 0 0 0.65rem;
  line-height: 1.35;
}

.experience-desc {
  font-size: 0.9rem;
  color: #6b6b6b;
  line-height: 1.5;
  margin: 0;
  font-weight: 400;
}

/* ––––––– skills section ––––––– */
.skills-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 6rem auto;
  width: 72%;
  max-width: 70rem;
  padding: 3rem 2rem;
  background-color: #fff;
}

.skills-title,
.education-title {
  color: #1a1a1a;
  margin-bottom: 4rem;
  text-align: center;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  width: 100%;
  max-width: 64rem;
  margin-inline: auto;
  align-items: start;
}

.skills-column h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.25rem;
  text-align: left;
}

.skill-pills {
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.5rem 0.5rem;
}

.skill-pills li {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
  box-sizing: border-box;
}

.skill-pills--technical {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.75rem;
  justify-content: flex-start;
}

.skill-pills--technical li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f1eb;
  color: #a08468;
  border: 1px solid #e7ddd3;
  padding: 0.5rem 0.8rem;

  font-weight: 500;
  line-height: 1.3;
}

.skill-pills--soft {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.skill-pills--soft li {
  background-color: #f3f1f1;
  color: #6b6b6b;
  border: 1px solid #dcdcdc;
}

.skill-pills--languages {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.5rem;
}

.skill-pills--languages li {
  background-color: #a3835f;
  color: #fff;
  border: 1px solid #a3835f;
  font-weight: 400;
}

/* ––––––– education section ––––––– */
.education-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 6rem auto;
  width: 100%;
  max-width: 70rem;
  padding: 3.5rem 2rem 4rem;
  box-sizing: border-box;
}

.education-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #1a1a1a;

  text-align: center;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1.75rem;
  width: 100%;
  max-width: 56rem;
  margin-inline: auto;
}

.education-card {
  background-color: #fff;
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  text-align: left;
  box-sizing: border-box;
}

.education-card-date {
  font-family:
    ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: #9a9a9a;
  margin: 0 0 0.65rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.education-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.education-card-school {
  font-size: 0.95rem;
  font-weight: 400;
  color: #a3835f;
  margin: 0;
  line-height: 1.4;
}

/* ––––––– reference section ––––––– */
.reference-section {
  display: flex;
  align-items: center;
  margin: 12rem auto;
  max-width: 80%;
  padding: 4rem;
  gap: 6rem;
  justify-content: center;
}

.reference-left {
  width: 40%;
}

.reference-left h1 {
  text-align: center;
  margin-left: -5rem;
}

.reference-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  background-color: rgb(226, 225, 225);
  border-radius: 50px;
  padding: 1.5rem;
  width: 25%;
  box-shadow: 4px 7px 8px hsl(0deg 0% 0% / 0.38);
}

.reference-right h2 {
  font-size: 2rem;
  font-weight: 600;
}

.reference-profile p:nth-of-type(2) {
  font-size: 0.85rem;
  color: #646778;
}

.reference-profile img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  margin-top: -1rem;
}

.reference-summary p {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.6px;
  margin-top: 0.5rem;
}

/* ––––––– footer section ––––––– */
.footer {
  position: relative;
  display: flex;

  gap: 2rem;
  min-height: 75vh;
  padding: 4rem 2rem;
  margin: 0 1rem;
  color: white;
}

.left-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex: 1;
  z-index: 1;
  margin-left: 2rem;
}

.input-type {
  color: #312f2d;
}

.input {
  background-color: lightgray;
  border: none;
  padding: 1rem;
  border-radius: 15px;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: inherit;
}

.input[type="text"],
.input[type="email"] {
  height: auto;
}

textarea.input {
  height: 100px;
  resize: vertical;
  min-height: 80px;
  max-height: 200px;
}

.lets-connect {
  background-color: rgba(238, 238, 238);
  border-radius: 20px;
  padding: 3rem;
  width: 100%;
  max-width: 400px;
  justify-content: space-around;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lets-connect h2 {
  text-align: center;
  font-size: 1.5rem;

  color: #585756;
}

.lets-connect h2::after {
  content: " connect";
  color: rgb(50, 49, 49);
  font-size: 3rem;
}

.send-message-btn {
  margin-top: 1rem;
  color: #fff;
  font-weight: bold;
  font-size: larger;
}

.copyright {
  margin-top: 1rem;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  border-radius: 20px;
}

.right-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  margin-right: 8rem;
  flex: 1;
}

.footer-quote {
  font-family: playfair display;
  display: flex;
  flex-direction: column;
}

.footer-quote-text-1 {
  font-size: 6.5rem;
  align-self: flex-start;
  background: linear-gradient(146deg, rgba(0, 0, 0, 0.35), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgb(226, 225, 225);
}

.footer-quote-text-2 {
  font-size: 4.5rem;
  align-self: flex-end;
  background: linear-gradient(207deg, rgb(27 26 14), #c3a384e6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: #00000012;
}

.social-and-contact {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.social-icon {
  display: flex;
  gap: 2rem;
  z-index: 1;
  justify-content: center;
}

.social-icon img {
  width: 40px;
  height: 40px;
  filter: invert(1);
  transition: transform 0.3s ease;
}

.social-icon img:hover {
  transform: scale(1.2);
}

.contact-information p {
  word-spacing: 0.6rem;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background-color: #a3835f;
  color: white;
  text-decoration: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top:hover {
  background-color: #9b7e53;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

html {
  scroll-behavior: smooth;
}

/* ––––––– Mobile responsive ––––––– */

/* Header section  */
@media (max-width: 768px) {
  html {
    scroll-behavior: smooth;
    overflow-x: hidden;
  }

  body {
    overflow-x: hidden;
  }

  * {
    box-sizing: border-box;
  }

  .nav-menu {
    display: none;
  }

  .contact-btn {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  header {
    padding: 0.5rem 1.2rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
  }

  .logo img {
    height: 35px;
    width: auto;
  }

  .btn-link {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
  /* ––––– Hero Section Mobile ––––– */
  .hero {
    overflow: hidden;
    padding: 0;
  }

  .hero-content {
    padding: 1.5rem 1rem;
    height: auto;
    min-height: 70vh;
    gap: 0.25rem;
  }

  .first-name,
  .last-name {
    font-size: 3rem;
    margin: 0;
  }

  .first-name {
    margin-left: 1.5rem;
  }

  .last-name {
    margin-right: 1.5rem;
  }

  .top-text,
  .side-text {
    font-size: 0.75rem !important;
  }

  .top-text {
    padding: 0.5rem;
  }

  .side-text {
    transform: none !important;
    margin: 0.5rem 0 !important;
  }

  .star-decoration h1 {
    font-size: 1.5rem;
  }

  .star-decoration {
    padding: 0.5rem;
  }

  .divider.line p {
    font-size: 0.7rem;
    letter-spacing: -1px;
  }

  /* ––––– About Section Mobile ––––– */
  .about-me {
    flex-direction: column;
    padding: 2rem 1rem;
    margin: 2rem auto;
    width: 95%;
    max-width: none;
    text-align: center;
    align-items: center;
    gap: 1.5rem;
  }

  .left-side {
    width: 100%;
    max-width: none;
    margin: 0 auto;
  }

  .right-side {
    flex: 1 1 auto;
    max-width: 100%;
    width: 100%;
  }

  .about-me-text h1 {
    margin-left: 0;
    font-size: 1.4rem;
    text-align: center;
  }

  .about-me-text p,
  .reference-left p {
    padding: 0.5rem;
    font-size: 0.8rem;
    line-height: 1.5;
    margin-top: 1rem;
  }

  .profile-picture {
    width: 40%;
    max-width: 220px;
  }

  .resume-btn {
    text-align: center;
    margin-top: 0.75rem;
  }

  /* ––––– Projects Section Mobile ––––– */
  .project-section h1::after {
    display: none;
  }

  .video-intro-section {
    width: 90%;
    margin-bottom: 3rem;
  }

  .video-intro-section h1 {
    font-size: 1.4rem;
    text-align: center;
    align-self: center;
  }

  .video-card {
    padding: 1rem;
  }

  .project-section {
    width: 70%;
    padding: 1.5rem 0.75rem;
    margin: 0 auto;
  }

  .project-section h1 {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 1rem;
    width: max-content;
    margin-top: 3rem;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 0;
    column-gap: 0;
  }

  .project {
    margin: 0 auto;
    max-width: 320px;
    width: 100%;
  }

  .project-name {
    margin-top: 0;
  }

  .project-picture img {
    transform: scale(0.65);
  }

  .title strong {
    font-size: 1rem;
  }

  .title {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  .year {
    font-size: 0.9rem;
  }

  .overlay-content {
    gap: 0.8rem;
    padding: 0.75rem 0.6rem 0 0.6rem;
  }

  .overlay-content p {
    font-size: 0.7rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
  }

  .overlay-buttons {
    display: flex;
    white-space: nowrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .overlay-content .btn {
    width: auto;
    font-size: 0.6rem;
    padding: 0.3rem 0.7rem;
    margin-inline: 0;
  }

  .show-more-btn {
    text-align: center;
    margin-top: 1.5rem;
  }

  /* ––––– Experience Section Mobile ––––– */
  .experience-section {
    width: 95%;
    padding: 1.5rem 0.75rem;
    margin: 2rem auto;
  }

  #experience-heading {
    font-size: 1.4rem;
    margin: 2rem 0 1.5rem 0;
    text-align: center;
  }

  .experience-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    padding: 0 0.5rem;
  }

  .experience-timeline::before {
    left: 11px;
    transform: none;
    top: 0;
    bottom: 0;
  }

  .experience-item {
    grid-template-columns: auto 1fr;
    gap: 0 0.75rem;
    margin-bottom: 1.5rem;
    padding-left: 0;
  }

  .experience-item--right .experience-spacer,
  .experience-item--left .experience-spacer {
    display: none;
  }

  .experience-item--right .experience-axis,
  .experience-item--left .experience-axis {
    grid-column: 1;
    grid-row: 1;
    padding-top: 0.25rem;
  }

  .experience-item--right .experience-content,
  .experience-item--left .experience-content {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
  }

  .experience-role {
    font-size: 0.95rem;
  }

  .experience-company {
    font-size: 0.85rem;
  }

  .experience-desc {
    font-size: 0.8rem;
  }

  /* ––––– Skills Section Mobile ––––– */
  .skills-section {
    width: 95%;
    padding: 1.5rem 0.75rem;
    margin: 2rem auto;
  }

  .skills-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: none;
  }

  .skills-column h2 {
    text-align: center;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }

  .skill-pills li {
    font-size: 0.78rem;
    padding: 0.4rem 0.65rem;
  }

  .skill-pills--technical {
    justify-content: center;
    max-width: 100%;
  }

  .skill-pills--soft {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 18rem;
    margin-inline: auto;
  }

  .skill-pills--languages {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* ––––– Education Section Mobile ––––– */
  .education-section {
    margin: 2rem auto;
    padding: 1.5rem 0.75rem;
  }

  .education-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    padding: 0 0.5rem;
    text-align: center;
  }

  .education-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: none;
  }

  .education-card {
    padding: 1.1rem 1.25rem;
  }

  .education-card-title {
    font-size: 0.95rem;
  }

  .education-card-school {
    font-size: 0.85rem;
  }

  /* ––––– Reference Section Mobile ––––– */
  .reference-section {
    flex-direction: column;
    margin: 3rem auto;
    width: 95%;
    padding: 1.5rem 0.75rem;
    gap: 1.5rem;
  }

  .reference-left {
    width: 100%;
    text-align: center;
  }

  .reference-left h1 {
    font-size: 1.4rem;
    margin-left: 0;
    margin-bottom: 0.75rem;
    text-align: center;
  }

  .reference-right {
    width: 100%;
    padding: 1.25rem;
    text-align: center;
    gap: 0;
  }

  .reference-right h2 {
    font-size: 1.75rem;
  }

  .reference-profile img {
    width: 65px;
    height: 65px;
    margin-bottom: 0;
    margin-top: 0;
  }

  .reference-summary p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 1rem;
  }

  .read-more-btn {
    font-size: 0.7rem;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
  }

  /* ––––– Footer Section Mobile ––––– */
  .footer {
    flex-direction: column;
    margin: 0 auto;
    padding: 2rem 1rem 1rem;
    position: relative;
    width: 100%;
    min-height: auto;
  }

  .left-footer {
    margin-left: 0;
    margin-bottom: 2rem;
    width: 100%;
    align-items: center;
  }

  .lets-connect {
    padding: 1.5rem 1.25rem;
    max-width: 90%;
  }

  .lets-connect h2 {
    font-size: 0.9rem;
  }

  .lets-connect h2::after {
    font-size: 1.75rem;
  }

  .input {
    font-size: 0.85rem;
    padding: 0.7rem;
  }

  textarea.input {
    height: 75px;
    min-height: 60px;
    max-height: 130px;
  }

  .send-message-btn {
    padding: 0.7rem;
    font-size: 0.9rem;
  }

  .right-footer {
    margin-right: 0;
    margin-top: 2rem;
    height: auto;
    min-height: 40vh;
    width: 100%;
    align-items: center;
  }

  .footer-quote-text-1 {
    font-size: 2.2rem;
  }

  .footer-quote-text-2 {
    font-size: 1.6rem;
    -webkit-text-fill-color: rgb(158 136 103 / 51%);
  }

  .social-and-contact {
    gap: 0;
    margin-top: 1.5rem;
    align-items: center;
  }

  .social-icon {
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0 1rem 0;
  }

  .social-icon img {
    width: 28px;
    height: 28px;
  }

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

  .contact-information p {
    font-size: 0.85rem;
    margin: 0.5rem 0;
  }

  .copyright {
    display: none;
  }

  .contact-information::after {
    content: "© 2025 Laura Lundin";
    position: absolute;
    bottom: 1rem;
    right: 2rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
  }

  .contact-information {
    padding-bottom: 3rem;
  }

  /* ––––– Back to Top Button Mobile ––––– */
  .back-to-top {
    display: none;
  }
}
