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

body {
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', sans-serif;
  background: #FFFFFF;
  color: #212121;
  overflow-x: hidden;
  overflow-y: hidden;
  /* overflow-y: hidden; */
  /* border: 5px solid red; For testing only*/
  height: 100%;
  scrollbar-width: none;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: #FBFCFF;
  z-index: 3000;
}

.menu-toggle {
  display: none;
}

#hamburger {
  position: fixed;
  top: 1rem;
  left: 2rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 3001;
}

#hamburger div {
  height: 2px;
  background-color: #212121;
  transition: 0.4s ease-in-out;
}

/* When checked: transform hamburger to X */
.menu-toggle:checked ~ #hamburger div:nth-child(1) {
  transform: translateY(15px) rotate(45deg);
}
.menu-toggle:checked ~ #hamburger div:nth-child(2) {
  opacity: 0;
}
.menu-toggle:checked ~ #hamburger div:nth-child(3) {
  transform: translateY(-15px) rotate(-45deg);
}

/* Toggle menu visibility */
.fullscreen-menu {
  transform: translateX(-100vw);
  transition: transform 0.5s ease-in-out;
  background: #9BC13B;
}

.menu-toggle:checked ~ #fullscreen-menu {
  transform: translateX(0);
}

/* Ensure nav fills screen */
.fullscreen-menu {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 2rem;
  z-index: 2000;
  padding-left: 0;
}

.fullscreen-nav {
  display: flex;
  flex-direction: column;
  padding-left: 10px;
}

.fullscreen-nav a {
  font-size: 3rem;
  margin: 1rem 0;
  color: #212121;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

.fullscreen-nav a:hover {
  color: #FBFCFF;
  transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.3s;
}

/* Center logo in nav */
.center-logo {
    margin: 0 auto;
    font-size: 1.5rem;
    font-weight: 200;
    text-align: right;
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 3000;
}


.logo {
  font-weight: 300;
  font-size: 2rem;
  font-family: 'Montserrat', sans-serif;
  color: #212121;
}

.logo a {
  text-decoration: none;
  color: inherit;
}

.logo a:hover {
  color: #9BC13B;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav-links.hidden {
  display: none;
}

/* Page scrolls vertically; we’ll translate the track horizontally */
html, body { height: 100%; }
body { overflow-y: auto; overflow-x: hidden; background:#FBFCFF; }

/* Horizontal strip wrapper */
.hs-container {
  position: relative;
  /* height gets set by JS: scrollableX + viewportHeight */
  overflow: visible;
}

/* The pinned track that we translate with JS */
.hs-track {
  position: sticky;   /* stays in place while we scroll this strip */
  top: 0;
  left: 0;
  height: 100vh;      /* visible area = one viewport tall */
  display: flex;      /* lay panels in a row */
  align-items: stretch;
  will-change: transform;
  transform: translate3d(0,0,0);
}

/* Each panel takes exactly one viewport width */
.section {
  flex: 0 0 100vw;
  min-width: 100vw;
  height: 100vh;      /* most hero/sections want full height */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem .5rem;
}

/* If some panels should scroll internally, give them overflow */
.section .scrollable { overflow-y: auto; }

/* --- Mobile: disable horizontal, stack vertically --- */
@media (max-width: 768px) {
  .hs-track {
    position: static;      /* no pinning */
    display: block;        /* stack sections naturally */
    height: auto;
    transform: none !important;
  }
  .section {
    min-width: auto;
    width: 100%;
    height: auto;
    min-height: 100vh;     /* keep nice full views if you like */
  }
}

.section-landing {
    align-items: center;
    text-align: center;
}

/* Landing Section Centering */
.landing {
  align-items: center;
  text-align: center;
  justify-content: center;
}

.intro-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

/* Landing */
.landing h1 {
  font-size: clamp(6rem, 10vw, 22rem);
  margin-bottom: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  /* letter-spacing: -5px; */
}

.landing p {
    font-size: 1.5rem;
    text-transform: uppercase;
    color: #212121;
    font-weight: 200;
}

#animated-word {
  color: #212121;
  font-weight: 1000;
}

/* About */
#about {
  display: grid;                                   /* overrides .section's flex */
  grid-template-columns: 1fr 1fr;                  /* 50/50 */
  align-items: center;
  column-gap: 2rem;
  padding-left: 4rem;
  padding-right: 4rem;
}

#about .about-text {
  max-width: 100ch;                                 /* readable line length */
}

#about .about-image {
  justify-self: start;                               /* push image to the right edge */
}

/* Big rounded image “card” */
#about .about-image img {
  display: block;
  width: clamp(300px, 40vw, 550px);                /* grows but stays inside its half */
  height: auto;
  aspect-ratio: 4 / 3;                             /* consistent shape */
  object-fit: cover;
  border-radius: 50% 0 50% 0;                  /* large curve on the left side */
  margin-top: 0;                                   /* cancel old margin */
}

/* Tidy the paragraph styling */
#about p {
  font-size: 1.2rem;
  line-height: 1.5;
  color: #212121;
  font-weight: 200;
  margin-right: 2rem;
}

.about-text .reveal {
  font-weight: 900;
}

/* === Mobile: stack, image first === */
@media (max-width: 768px) {
  #about {
    grid-template-columns: 1fr;
    row-gap: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #about .about-image { order: -1; }               /* image above text */

  #about .about-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 0 140px 0 140px;                /* slightly smaller curve on small screens */
  }

  #about .about-text { max-width: 100%; }
}

/* Portfolio projects */
/* Read more */
.follow-through {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 1rem 1rem;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 2rem;
    font-weight: bold;
    color: #212121;
    text-decoration: none;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease;
}

.follow-through::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3rem;
    height: 3rem;
    background-color: #9bc13b;
    border-radius: 50%;
    z-index: -1;
    transition: all 0.4s ease-in-out;
}

.follow-through:hover::before {
    width: 100%;
    height: 100%;
    border-radius: 800px;
    
}

.follow-through:hover {
    color: #212121;
}

/* Portfolio section shared styles */
.portfolio {
  display: flex;
  justify-content: center;
  align-items: center;

}

/* Row inside portfolio */
.portfolio-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(2rem, 3vw, 4rem);
  /* max-width: 1200px; */
  width: 100%;
  padding: 0rem;
  flex-wrap: wrap;
}

/* Left: Intro */
.portfolio-intro {
  flex: 1;
  min-width: 280px;
  max-width: 40%;
  width: 100%;
}

/* Right: Project */
.project {
  flex: 1;
  min-width: 280px;
  max-width: 50%;
  margin-top: 2rem;
  margin-bottom: 0;
  width: 100%;
}

.project img {
  width: 80%;
  height: 200px;
  object-fit: contain;
  border-radius: 12px;
  margin: 2rem 0rem;
  padding: 2rem 0;
}

.project img:hover {
    cursor: url("/images/eye-pointer-icon.png") 16 16, none;
}

.view-project {
  position: fixed;
  width: 48px;
  height: 48px;
  background-color: #9bc13b;
  border-radius: 50%;
  background-image: url('/images/eye-pointer-icon.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 9999;
  display: none;
}

.portfolio-intro h2 {
  font-size: 4.5rem;
  font-weight: 800;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 1rem;
}

.portfolio-intro p {
  font-size: 1.2rem;
  color: #212121;
  font-weight: 200;
  line-height: 1.5;
  margin-right: 2rem;
}

.project h3 {
  font-size: 1.5rem;
  font-weight: 600 !important;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 0.5rem;
  margin-top: 0;
  padding-bottom: 1rem;
}


.highlight {
    color: #9BC13B;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
}

.project p {
  font-size: 1rem;
  color: #212121;
  font-weight: 200;
  line-height: 1.5;
  padding-right: 1rem;
  width: 80%;
}

.project h3,
.project img,
.project p {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.4s ease-in-out;
}

/* When project becomes visible */
.project.visible h3 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.project.visible img {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.project.visible p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

@media (max-width: 768px) {
  .project h3,
  .project img,
  .project p {
    transform: translateX(-40px);
  }

  .project.visible h3,
  .project.visible img,
  .project.visible p {
    transform: translateX(0);
  }

  .project p {
    width: 100%;
    padding-right: 0;
  }

  .project img {
    width: 100%;
  }
}

/* Final Portfolio Row */
.final-row {
  align-items: center;
  justify-content: space-between;
}

/* Browse Projects Callout */
.browse-projects {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 2rem;
  min-height: 100%;
}

.browse-projects h2 {
  font-size: 7vw;
  font-weight: 900;
  line-height: 1.1;
  /* letter-spacing: -5px; */
  text-align: left;
  color: #212121;
  font-family: "Montserrat", sans-serif;
  transition: color 0.3s ease-in-out;
}

.browse-link:hover h2 {
  color: #9BC13B;
  cursor: pointer;
  text-decoration: none;
}

.browse-link {
  text-decoration: none;
  display: inline-block;
}

.browse-projects .mobile-only {
  display: none;
}

/* Tech Stack */
/* .tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
} */

/* .tech-tags span {
  background: #9BC13B;
  color: #EEEEEE;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: bold;
} */

.tech-heading {
  padding: 4rem 2rem 2rem;
  text-align: left;
}

.tech-heading h2 {
  font-size: 7vw;
  /* letter-spacing: -5px; */
  font-weight: 900;
  font-family: "Montserrat", sans-serif;
  margin: 0;
  line-height: 1.2;
}

.tech-heading .plain {
  display: inline-block;
  color: #212121;
  margin-right: 0.5rem;
}

.tech-heading .highlight {
  background-color: #212121;
  color: #EEEEEE;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  margin-right: 0.5rem;
}

/* --- Floating Words --- */
.falling-words-container {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  padding-top: 2rem;
}

.falling-word {
  position: absolute;
  bottom: 0;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 1rem;
  color: #000;
  animation: floatLoop 9s ease-in-out infinite;
  white-space: nowrap;
  transform: rotate(var(--rotation, 0deg));
  opacity: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

@keyframes floatLoop {
  0% {
    transform: translateY(0) rotate(var(--rotation));
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  80% {
    transform: translateY(-250px) rotate(var(--rotation));
    opacity: 1;
  }
  100% {
    transform: translateY(-300px) rotate(var(--rotation));
    opacity: 0;
  }
}

/* Get in touch */
.typewriter-heading {
  font-size: 8rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  line-height: 1.1;
  /* letter-spacing: -5px; */
  white-space: nowrap;
  overflow: hidden;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.reveal {
  display: inline-block;
  color: transparent;
  background: linear-gradient(
    90deg,
    rgba(155, 193, 59, 1) 0%,
    rgba(155, 193, 59, 1) 100%
  ) no-repeat;
  background-size: 0% 100%;
  background-clip: text;
  -webkit-background-clip: text;
}

/* Animation only runs when 'visible' class is added */
.reveal.visible {
  animation: text-reveal 2s forwards ease-out;
}

.reveal.delay.visible {
  animation-delay: 0.2s;
}

@keyframes text-reveal {
  to {
    background-size: 100% 100%;
  }
}

/* Description paragraph */
.get-in-touch-description {
  font-size: 1.2rem;
  color: #212121;
  font-weight: 200;
  margin: 1rem 0 2rem 0;
  line-height: 1.5;
}

.get-in-touch-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    /* margin: 0 auto; */
    /* padding: 2rem; */
}

#get-in-touch {
    background-image: url("/images/get-in-touch-bg.svg");
    background-repeat: no-repeat;
    background-position: 80%;
}

.email-link {
  color: #9BC13B;
  text-decoration: none;
  font-weight: 900;
}

/* Social icons */
.social-icons {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  /* margin: 0 auto; */
}

.icon-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #212121;
  font-weight: 600;
}

.icon-link img {
  width: 42px !important;
  height: 42px !important;
  margin-right: 0.5rem;
}

/* Social icons */
.social-icons {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.icon-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #212121;
  font-weight: 600;
  transition: color 0.3s ease;
}

.icon-link img {
  width: 2rem;
  height: 2rem;
  margin-right: 0.5rem;
}

.icon-mobile {
  display: none;
}

.icon-link:hover {
  color: #9BC13B;
}


/* Contact */
/* Wraps form + image side-by-side */
.contact-wrapper {
  display: flex;
  gap: 4rem;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Form stays narrow */
.story-form {
  flex: 1;
  min-width: 360px;
  max-width: 600px;
  padding: 2rem;;
}

/* Image on the side */
.contact-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  text-align: center;
}

.contact-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: none;
  opacity: 0.4;
  /* box-shadow: 0 8px 24px rgba(0,0,0,0.1); */
}


.story-form {
  font-size: 1.6rem;
  color: #212121;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  max-width: 900px;
  min-height: 90vh;
  justify-content: center;
  padding-top: 2rem;
}

/* All form lines */
.story-line {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Inline layout for name, email, and captcha */
.story-line.inline {
  flex-direction: row;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Label styling */
.story-line label {
  font-size: 1.6rem;
  white-space: nowrap;
  font-weight: 200;
}

/* Input styling */
.story-line input {
  flex: 1;
  font-size: 1.6rem;
  border: none;
  border-bottom: 4px solid #9BC13B;
  /* border-radius: 0 30px 30px 30px; */
  background: linear-gradient(
    to right,
    rgba(238, 238, 238, 1) 0%,
    rgba(179, 206, 110, 1) 36%,
    rgba(155, 193, 59, 1) 59%,
    rgba(155, 193, 59, 1) 100%
  );
  background-size: 100% 0%;
  background-repeat: no-repeat;
  background-position: bottom;
  padding: 0.4rem 0;
  transition: background-size 0.5s ease-in-out;
  color: #212121d8;
  font-weight: 200;;
}

.story-line input::placeholder {
    color: #21212167;
    line-height: normal;
    text-align: center;
    font-size: 0.9rem;
    padding: 0;
}

/* Focused input placeholder */
.story-line input:focus::placeholder {
    color: transparent;
}

/* Hover + focus = animated fill */
.story-line input:hover,
.story-line input:focus {
  background-size: 100% 100%;
  border: none;
  outline: none;
}

#num1,
#num2 {
  display: inline-block;
  padding: 0 0.2rem;
  font-weight: bold;
}

form .follow-through {
    border: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-weight: bold;
    color: #212121;
    text-decoration: none;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease;
    font-size: 1.2rem;
    border: none;
    background: none;
    cursor: pointer;
    margin-top: 1rem;

    /* Prevent full-width */
    width: fit-content;
    max-width: 100%;
}

/* Mobile */
@media (max-width: 768px) {

    body {
        font-size: 1rem;
    }
    .scroll-container {
        flex-direction: column;
        overflow-x: hidden;
        overflow-y: auto;
        height: auto;
        scroll-snap-type: none;
    }

    .section {
        min-width: 100%;  /* Let each section adapt to mobile width */
        width: 100vw;     /* Ensure it stretches correctly */
        height: auto;     /* Allow vertical height to expand */
        padding: 4rem 1rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        overflow: visible;
    }

    .fullscreen-nav a:hover {
        color: #FBFCFF;
        transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.3s;
    }

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

    .about-text {
      margin-top: 0;
    }

    #about p {
      font-size: 1rem;
      line-height: 1.5;
      color: #212121;
      font-weight: 200;
      margin-right: 0;
}

    .about-text p {
        font-size: 1rem !important;
        text-align: justify;
    }

    .portfolio-row {
        flex-direction: column;
        align-items: stretch;
        gap: 3rem;
    }

    .portfolio-intro,
    .project,
    .section {
        max-width: 100%;
        width: 100vw;
    }

    .project img {
        width: 50%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    
    .project p {
        font-size: 1rem;
        text-align: justify;
    }

    .project-3 {
      padding-top: 4rem;
    }
    .typewriter-heading {
        font-size: 3rem;
        text-align: center;
    }

    .browse-projects h2 {
        font-size: 1rem;
        text-align: center;
        display: none;
    }

    .browse-projects .mobile-only {
        display: block;
        font-size: 2rem;
        text-align: center;
        margin-top: 2rem;
        width: 100%;
        color: #FFFFFF;
        padding-left: 0 !important;
        padding-right: 0;
        border-radius: 0;
    }

    .browse-projects .mobile-only:hover {
        color: #9BC13B;
        text-decoration: none;
        cursor: pointer;
    }

    .browse-projects {
        justify-content: center;
        text-align: center;
        margin-top: 10rem;
        width: 100vw;
        background: #212121;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        padding: 1.5rem 1rem;
        z-index: 1;
    }

    /* .hamburger {
        display: block;
    } */

    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 4rem;
        right: 2rem;
        background: white;
        padding: 1rem;
        border: 1px solid #ccc;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }

    #animated-word {
        font-weight: 900;
        font-size: 3rem;
        text-align: justify;
        text-align-last: center;
    }

    .landing {
        align-items: center;
        justify-content: center;
        text-align: center;
    }   

    #landing p {
        font-size: 1.2rem;
        text-align: center;
    }

    /* #landing {
        margin-top: 100px;
        margin-bottom: 150px;
    } */

    .about {
        flex-direction: column;
    }

    .about-image {
        order: -1;
    }

    .portfolio-intro h2 {
        font-size: 3rem;
        /* letter-spacing: -5px; */
        text-align: center;
    }

    .portfolio-intro p {
        text-align: left;
        font-size: 1rem;
        text-align: justify;
        margin-right: 0;
    }


    .portfolio-row {
        flex-direction: column;
        align-items: left;
        text-align: left;
    }

    #stack {
        display: none;
    }

    .get-in-touch-text {
        align-items: flex-start;
        text-align: left;
        width: 100%;
    }

    .typewriter-heading {
        font-size: 5rem;
        text-align: left;
    }

    .get-in-touch-description {
        font-size: 1rem !important;
        text-align: justify;
        padding-bottom: 50px;
        padding-top: 10px;
    }

    .get-in-touch-description a {
        color: #9BC13B;
        text-decoration: none;
        font-weight: 900;
    }

    #get-in-touch {
        background-image: none;
    }

    .social-icons {
        flex-direction: column;
        align-items: flex-start;
        background-color: #212121;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        padding: 1rem;
        gap: 1rem;
        width: 100vw;
        display: flex;
    }

    .icon-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        width: 100%;
        color: #FFFFFF;
        font-size: 1.2rem;
        text-decoration: none;
        padding-bottom: 0.5rem;
        transition: color 0.3s ease;
    }

    .icon-link img {
        width: 24px;
        height: 24px;
    }

    .icon-link:hover {
        color: #9BC13B;
        text-decoration: none;
    }

    .icon-desktop {
        display: none;
    }

    .icon-mobile {
        display: block;
        width: 24px;
        height: 24px;
    }

    .contact-wrapper {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 2rem 2rem 0;
    }

    .story-form {
        align-items: flex-start;
        width: 100%;
        padding: 0;
    }

    .story-line,
    .story-line.inline {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .story-line input {
        width: 100%;
    }

    .story-line label {
        display: block;
        white-space: normal !important;
        word-wrap: break-word;
        max-width: 100%;
        }

    .story-line.inline label {
        flex: 1 1 auto;
        }

    #confirmation{
      display:none;
      opacity:0;
      transform: translateY(6px);
      transition: opacity .5s ease, transform .5s ease;
      color:#212121;
      font-weight:400 !important;
      font-size: 2rem !important;
      font-style: italic;
    }

    #confirmation.show{
      display:block;
      text-align: left;
      margin-left: 0 !important;
      opacity:1;
      transform: translateY(0);
    }
  }


@media (max-width: 768px) {
  /* 1) Never use 100vw inside the page on mobile */
  .section,
  .portfolio-intro,
  .project { width: 100%; } /* not 100vw */

  /* 2) Remove full-bleed offsets that cause overflow */
  /* .browse-projects {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  } */
  /* .social-icons {
    left: auto;            
    right: auto;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  } */

  /* 3) Make sure the horizontal strip never overflows */
  .hs-container,
  .hs-track { overflow-x: hidden; }
}


/* confirmation message animation */
#confirmation{
  display:none;
  opacity:0;
  transform: translateY(6px);
  transition: opacity .5s ease, transform .5s ease;
  color:#212121;
  font-weight:600;
  font-size: 2.5rem;
}
#confirmation.show{
  display:block;
  margin-left: 25%;
  opacity:1;
  transform: translateY(0);
}
#confirmation.fade{
  opacity:0;
  transform: translateY(6px);
}