/*
0 - 600px:      Phone
600 - 900px:    Tablet portrait
900 - 1200px:   Tablet landscape
[1200 - 1800] is where our normal styles apply
1800px + :      Big desktop
$breakpoint arguement choices:
- phone
- tab-port
- tab-land
- big-desktop

Inside media queries 1em is always 16px i.e 1em = 16px at every screen size only inside media queries
*/
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
  font-family: inherit;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

@media only screen and (max-width: 75em) {
  html {
    font-size: 59%;
  }
}

@media only screen and (max-width: 56.25em) {
  html {
    font-size: 56%;
  }
}

@media only screen and (min-width: 112.5em) {
  html {
    font-size: 65%;
  }
}

body {
  box-sizing: border-box;
  position: relative;
  line-height: 1.5;
  overflow-x: hidden;
  overflow-y: scroll;
  font-family: 'DM Sans', sans-serif;
}

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

li {
  list-style: none;
}

input:focus,
button:focus,
a:focus,
textarea:focus {
  outline: none;
}

button {
  border: none;
  cursor: pointer;
}

textarea {
  resize: none;
}

.heading-primary {
  font-size: 4rem;
  text-align: left;
}

@media only screen and (max-width: 37.5em) {
  .heading-primary {
    font-size: 4.5rem;
  }
}

.heading-sec__mb-bg {
  margin-bottom: 11rem;
}

@media only screen and (max-width: 56.25em) {
  .heading-sec__mb-bg {
    margin-bottom: 8rem;
  }
}

.heading-sec__mb-med {
  margin-bottom: 3rem;
  margin-top: -8rem;
}

@media only screen and (max-width: 56.25em) {
  .heading-sec__mb-med {
    margin-bottom: 2rem;
  }
}

.heading-sec__main {
  display: block;
  font-size: 2rem;
  text-align: left;
  font-weight: 400;
  margin-bottom: 2rem;
  position: relative;
}

.heading-sec__main--lt {
  color: #fff;
}

@media only screen and (max-width: 37.5em) {
  .heading-sec__main::after {
    top: calc(100% + 1.2rem);
  }
}

.heading-sm {
  font-size: 2.2rem;
  letter-spacing: 1px;
}

.main-container {
  max-width: 120rem;
  margin: auto;
  width: 92%;
}

@media only screen and (max-width: 37.5em) {
  .main-container {
    width: 100%;
    padding: 0 2rem;
    /* Ensure 2rem spacing on edges */
  }
}

@media only screen and (min-width: 75em) {
  .main-container {
    width: 88%;
  }
}

@media only screen and (min-width: 112.5em) {
  .main-container {
    width: 82%;
    max-width: 110rem;
  }
}

.btn1 {
  background: #fff;
  color: #333;
  display: inline-block;
  border-radius: 5px;
}

.btn1:hover {
  background-color: blue;
}

.btn {
  background: #fff;
  color: #333;
  display: inline-block;
  font-weight: 700;
  border-radius: 5px;
  box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.15);
  transition: transform .3s;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn--bg {
  padding: 1.5rem 8rem;
  font-size: 2rem;
}

.btn--med {
  padding: 1.2rem 3rem;
  font-size: 1.6rem;
}

.btn--theme {
  background: #000000;
  color: #fff;
}

.sec-pad {
  padding: 12rem 0;
}

@media only screen and (max-width: 56.25em) {
  .sec-pad {
    padding: 8rem 0;
  }
}

.btn.btn--med.btn--theme.dynamicBgClr.archive {
  background: #272727;
  color: rgb(135, 135, 135);
}

.btn.btn--med.btn--theme.dynamicBgClr:hover {
  background: #F8FFAD;
  color: #2f2f2c;
}

.btn.btn--med.btn--theme.dynamicBgClr.archive:hover {
  box-shadow: 0 0 30px 10px #303128;
  background: #F8FFAD;
  color: #2f2f2c;
}

.text-primary {
  color: rgb(0, 0, 0);
  font-size: 2.2rem;
  text-align: left;
  width: 100%;
  line-height: 1.6;
}

@media only screen and (max-width: 37.5em) {
  .text-primary {
    font-size: 2rem;
  }
}

.d-none {
  display: none;
}

strong {
  position: relative;
}

strong::before {
  /* Highlight color */
  background-color: #F8FFAD;

  content: "";
  position: absolute;
  width: calc(100% + 4px);
  height: 60%;
  left: -2px;
  bottom: 0;
  z-index: -1;
  transform: rotate(-2deg);
}

.home-hero {
  display: flex;
  /* flex to center content */
  flex-direction: column;
  justify-content: center;
  /* vertical center */
  align-items: center;
  /* horizontal center */
  width: 100%;
  min-height: 60vh;
  /* scales with viewport */
  height: 80vh;
  /* default height */
  max-height: 90vh;
  /* cap on very tall screens */
  position: relative;
  color: rgb(0, 0, 0);
  background-size: cover;
  background-position: center;
  background-color: rgb(255, 255, 255);
  overflow: hidden;
}

@media only screen and (max-width: 37.5em) {
  .home-hero {
    height: 70vh;
    min-height: auto;
    /* let content define height */
  }

  .home-hero__content {
    width: 95%;
    padding: 0 1rem;
  }
}

.about {
  background: #ffffff;
}

.about__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media only screen and (max-width: 56.25em) {
  .about__content {
    word-wrap: break-word
  }
}

.about__content-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  color: black;
  font-size: 4rem;
  font-family: DM Serif Text;
  font-weight: 600;
  word-wrap: break-word
}

.about__headshot {
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  object-fit: cover;
}

@media only screen and (max-width: 37.5em) {
  .about__content-title {
    font-size: 2.4rem;
  }
}

.about__content-details-para {
  font-size: 1.8rem;
  color: rgb(0, 0, 0);
  max-width: 80rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.about__content-details-para--hl {
  font-weight: 700;
  margin: 0 3px;
}

.about__content-details-para:last-child {
  margin-bottom: 4rem;
}

.about__subtitle {
  color: #7E7E7E;
  font-size: 2rem;
  font-family: 'DM Sans', sans-serif;
  font-style: italic;
  font-weight: 400;
  word-wrap: break-word;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.about__content-main {
  width: 100%;
}

.about__content-image {
  width: 80%;
  margin-top: 2rem;
}

.projects__row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-gap: 5rem;
  margin-bottom: 11rem;
}

@media only screen and (max-width: 56.25em) {
  .projects__row {
    grid-template-columns: 1fr;
    grid-gap: 2rem;
    margin-bottom: 8rem;
  }
}

@media only screen and (max-width: 56.25em) {
  .projects__row {
    text-align: center;
  }
}

.projects__row:last-child {
  margin-bottom: 0;
}

.projects__row-img-cont {
  overflow: hidden;
  border-radius: 8px;
  width: 80%;
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  line-height: 0;
}

.projects__row-img-cont a {
  display: block;
  text-decoration: none;
  width: 100%;
  height: 100%;
}

.projects__row-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease;
  transform-origin: center center;
}

.projects__row-img-cont:hover .projects__row-img {
  transform: scale(1.1);
}

.projects__row-content {
  margin-left: -30%;
  display: flex;
  justify-content: top;
  flex-direction: column;
  align-items: flex-start;
}

@media only screen and (max-width: 56.25em) {
  .projects__row-content {
    align-items: center;
  }
}

.projects__row-content-title {
  font-weight: 400;
  font-family: DM Serif Text;
  font-size: 2.8rem;
  margin-bottom: 2rem;
}

@media only screen and (max-width: 37.5em) {
  .projects__row-content-title {
    font-size: 2.4rem;
  }
}

.projects__date {
  font-size: 1.6rem;
  font-weight: 500;
  color: #7E7E7E;
  opacity: 70%;
  margin-bottom: 1rem;
  margin-top: -1rem;
}

.projects__row-content-desc {
  font-size: 1.8rem;
  color: black;
  max-width: 60rem;
  line-height: 1.7;
  margin-bottom: 3rem;
}

@media only screen and (max-width: 37.5em) {
  .projects__row-content-desc {
    font-size: 1.7rem;
  }
}

/* later change the contact from about to a different name */
.contact {
  background: black;
  background-size: cover;
  background-position: center;
}

.contact__form-container {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background: white;
  padding: 4rem;
  margin-top: 6rem;
  max-width: 80rem;
  text-align: right;
  width: 95%;
  border-radius: 5px;
  margin: 5rem auto 0 auto;
}

@media only screen and (min-width: 112.5em) {
  .contact__form-container {
    max-width: 70rem;
  }
}

@media only screen and (max-width: 37.5em) {
  .contact__form-container {
    padding: 3rem;
  }
}

.contact__form-field {
  margin-bottom: 4rem;
}

@media only screen and (max-width: 37.5em) {
  .contact__form-field {
    margin-bottom: 3rem;
  }
}

.contact__form-label {
  color: #666;
  font-size: 1.4rem;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 1rem;
  display: block;
  text-align: left;
}

.contact__form-input {
  color: #333;
  padding: 2rem;
  width: 100%;
  border: 1px solid #ffffff;
  font-size: 1.6rem;
  letter-spacing: 0px;
  background: #f0f0f0;
  border-radius: 5px;
  font-weight: 600;
  /* Code for Modern Browsers */
  /* Code for WebKit, Blink, Edge */
  /* Code for Internet Explorer 10-11 */
  /* Code for Microsoft Edge */
  /* Code for Mozilla Firefox 4 to 18 */
  /* Code for Mozilla Firefox 19+ */
}

.contact__form-input::placeholder {
  color: #999;
  font-weight: 600;
  font-size: 1.6rem;
}

.contact__form-input::-webkit-input-placeholder {
  color: #999;
  font-weight: 600;
  font-size: 1.6rem;
}

.contact__form-input:-ms-input-placeholder {
  color: #999;
  font-weight: 600;
  font-size: 1.6rem;
}

.contact__form-input::-ms-input-placeholder {
  color: #999;
  font-weight: 600;
  font-size: 1.6rem;
}

.contact__form-input:-moz-placeholder {
  opacity: 1;
  color: #999;
  font-weight: 600;
  font-size: 1.6rem;
}

.contact__form-input::-moz-placeholder {
  opacity: 1;
  color: #999;
  font-weight: 600;
  font-size: 1.6rem;
}

.contact__btn {
  width: 30%;
  padding: 2rem 4rem;
  font-size: 1.6rem;
}

@media only screen and (max-width: 37.5em) {
  .contact__btn {
    width: 100%;
  }
}

.button__content {
  background-color: none;
}

.project-cs-hero {
  color: #fff;
  background: white;
  background-size: cover;
  background-position: center;
  position: relative;
}

@media only screen and (max-width: 37.5em) {
  .project-cs-hero {
    height: unset;
    min-height: unset;
  }
}

.project-cs-hero__content {
  padding: 15rem 0 5rem 0;
  max-width: 120rem;
  width: 92%;
  margin: auto;
}

@media only screen and (min-width: 112.5em) {
  .project-cs-hero__content {
    max-width: 110rem;
    width: 82%;
  }
}

@media only screen and (max-width: 37.5em) {
  .project-cs-hero__content {
    padding: 19rem 0 13rem 0;
    margin: auto;
    position: static;
    transform: translate(0, 0);
  }
}

.project-cs-hero__info {
  margin: 3rem auto 0 auto;
  max-width: 80rem;
}

.project-cs-hero__cta {
  margin-top: 5rem;
  text-align: center;
}


.project-details__content {
  padding: 2rem 0;
  max-width: 120rem;
  margin: auto;
  align-items: center;
}

@media only screen and (min-width: 112.5em) {
  .project-details__content {
    max-width: 110rem;
  }
}

.project-details__content-title {
  font-weight: 700;
  font-size: 2.8rem;
  margin-bottom: 3rem;
}

@media only screen and (max-width: 37.5em) {
  .project-details__content-title {
    font-size: 2.4rem;
  }
}

.project-details__showcase-img-cont {
  width: 100%;
  margin-bottom: 6rem;
}

.project-details__showcase-img {
  width: 100%;
}

.project-details__content-main {
  width: 100%;
  max-width: 120rem;
  margin: auto;
  margin-left: 0rem;
}

@media only screen and (min-width: 112.5em) {
  .project-details__content-main {
    max-width: 110rem;
  }
}

.project-details__desc {
  margin: 0 0 7rem 0;
}

.project-details__desc-para {
  font-size: 1.8rem;
  line-height: 1.7;
  font-weight: 400;
  color: rgb(49, 49, 49);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.project-details__tools-used {
  margin: 0 0 7rem 0;
}

.project-details__tools-used-list {
  display: flex;
  flex-wrap: wrap;
}

.project-details__tools-used-item {
  padding: 1rem 2rem;
  margin-bottom: 1.5rem;
  margin-right: 1.5rem;
  font-size: 1.6rem;
  background: rgba(153, 153, 153, 0.2);
  border-radius: 5px;
  font-weight: 600;
  color: #777;
}

.project-details__links {
  margin: 0 0;
}

.project-details__links-btn {
  margin-right: 2rem;
}

@media only screen and (max-width: 37.5em) {
  .project-details__links-btn {
    margin-right: 0;
    width: 70%;
    margin-bottom: 2rem;
    text-align: center;
  }
}

.project-details__links-btn:last-child {
  margin: 0;
}

@media only screen and (max-width: 37.5em) {
  .project-details__links-btn:last-child {
    margin: 0;
  }
}

.header {
  position: fixed;
  width: 100%;
  z-index: 1000;

}

.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0rem 5rem;
}

@media only screen and (max-width: 56.25em) {
  .header__content {
    padding: 0 2rem;
  }
}

.header__logo-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #333;
  transition: color .3s;
}

.header__logo-img-cont {
  width: 5rem;
  height: 5rem;
  border-radius: 50px;
  overflow: hidden;
  margin-right: 1.5rem;
}

@media only screen and (max-width: 56.25em) {
  .header__logo-img-cont {
    width: 4.5rem;
    height: 4.5rem;
    margin-right: 1.2rem;
  }
}

.header__logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.header__logo-sub {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.header__links {
  display: flex;
}

@media only screen and (max-width: 37.5em) {
  .header__links {
    display: none;
  }
}

.header__link {
  padding: 2.2rem 3rem;
  display: inline-block;
  font-size: 1.6rem;
  color: rgb(0, 0, 0);
  font-weight: 400;
  transition: color .3s;
}

.header__link:hover {
  color: rgba(152, 152, 152, 0.918);
}

.header__link--active {
  text-decoration: underline;
  text-underline-offset: 0.5rem;
}

@media only screen and (max-width: 56.25em) {
  .header__link {
    padding: 3rem 1.8rem;
    font-size: 1.5rem;
  }
}

.header__main-ham-menu-cont {
  display: none;
  width: 3rem;
  padding: 2.2rem 0;
}

@media only screen and (max-width: 37.5em) {
  .header__main-ham-menu-cont {
    display: block;
  }
}

.header__main-ham-menu {
  width: 100%;
}

.header__main-ham-menu-close {
  width: 100%;
}

.header__sm-menu {
  background: #fff;
  position: absolute;
  width: 100%;
  top: 100%;
  visibility: hidden;
  opacity: 0;
  transition: all .3s;
  box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.1);
}

.header__sm-menu--active {
  visibility: hidden;
  opacity: 0;
}

@media only screen and (max-width: 37.5em) {
  .header__sm-menu--active {
    visibility: visible;
    opacity: 1;
  }
}

.header__sm-menu-link a {
  display: block;
  text-decoration: none;
  padding: 2.5rem 3rem;
  font-size: 2rem;
  font-family: 'DM Sans', sans-serif;
  color: #333;
  text-align: right;
  border-bottom: 1px solid #eee;
  font-weight: 400;
  transition: color .3s;
}

/* .header__sm-menu-link a:hover {
      color: rgba(74,82,155,0.9178265056022409)} */
.header__sm-menu-link--active a {
  text-decoration: underline;
  text-underline-offset: 0.5rem;
}

.header__sm-menu-link:first-child a {
  border-top: 1px solid #eee;
}

.header__sm-menu-link-last {
  border-bottom: 0;
}

.main-footer {
  background: rgb(255, 255, 255);
  color: #fff;
}

/* .footer__logo-img-cont {
    width: 1rem;
    height: 1rem;
    border-radius: 50px;
    margin-right: 1.5rem; }
    @media only screen and (max-width: 56.25em) {
      .footer__logo-img-cont {
        width: 1rem;
        height: 1rem;
        margin-right: 1.2rem; } } */

.main-footer__upper {
  display: flex;
  justify-content: space-between;
  padding: 8rem 0;
}

@media only screen and (max-width: 56.25em) {
  .main-footer__upper {
    padding: 6rem 0;
  }
}

@media only screen and (max-width: 37.5em) {
  .main-footer__upper {
    display: block;
  }
}

.main-footer__row-1 {
  order: 2;
}

@media only screen and (max-width: 56.25em) {
  .main-footer__row-1 {
    margin-bottom: 5rem;
  }
}

.main-footer__row-2 {
  width: 40%;
  order: 1;
  max-width: 50rem;
}

@media only screen and (max-width: 56.25em) {
  .main-footer__row-2 {
    width: 100%;
  }
}

.main-footer__logo-img {
  max-width: 20%;
}

.main-footer__short-desc {
  margin-top: 2rem;
  color: rgb(0, 0, 0);
  font-size: 1.2rem;
  line-height: 1.7;
}

.main-footer__social-cont {
  margin-top: 2rem;
}

.main-footer__icon {
  margin-right: 1rem;
  width: 2.5rem;
}

.main-footer__icon--mr-none {
  margin-right: 0;
}

.main-footer__lower {
  padding: 4rem 0;
  font-size: 1.2rem;
  text-align: left;
  text-align: center;
}

.main-footer__lower a {
  font-weight: bold;
  margin-left: 2px;
}

@media only screen and (max-width: 56.25em) {
  .main-footer__lower {
    padding: 3.5rem 0;
  }
}

.skills {
  display: flex;
  flex-wrap: wrap;
}

.skills__skill {
  padding: 1rem 1rem;
  margin-bottom: 1.5rem;
  margin-right: 1.5rem;
  font-size: 1.6rem;
  font-family: 'DM Sans', sans-serif;
  background: rgba(153, 153, 153, 0.2);
  border-radius: 5px;
  font-weight: 500;
  color: #777;
}


/* .mouse {
  width: 25px;
  height: 40px;
  border: 2px solid #eee;
  border-radius: 60px;
  position: relative;
  overflow: hidden; }
  .mouse::before {
    content: '';
    width: 5px;
    height: 5px;
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #eee;
    border-radius: 50%;
    opacity: 1;
    animation: wheel 1.3s infinite;
    -webkit-animation: wheel 1.3s infinite; }

@keyframes wheel {
  to {
    opacity: 0;
    top: 27px; } }

@-webkit-keyframes wheel {
  to {
    opacity: 0;
    top: 27px; } } */

.heading-sec__main.heading-sec__main--lt.archive {
  color: grey;
  font-size: 2rem;
  font-weight: 400;

}


a.squiggly:hover {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 20 4'%3E%3Cstyle type='text/css'%3E.squiggle{animation:shift .3s linear infinite;}@keyframes shift {from {transform:translateX(0);}to {transform:translateX(-20px);}}%3C/style%3E%3Cpath fill='none' stroke='%23ff9800' stroke-width='2' class='squiggle' d='M0,3.5 c 5,0,5,-3,10,-3 s 5,3,10,3 c 5,0,5,-3,10,-3 s 5,3,10,3'/%3E%3C/svg%3E");
  background-position: 0 100%;
  background-size: auto 6px;
  background-repeat: repeat-x;
  text-decoration: none;
}

/* projects-specific css */

.text-primary.bolded {
  font-weight: 600;
  color: black;
}

.text-primary-bar.bolded {
  font-weight: 600;
  color: black;
}

.project-intro__column {
  flex: 1;
  width: 50%;
  text-align: left;
}

.project-intro__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.project-intro__row:after {
  content: "";
  display: table;
  clear: both;
}

.text-primary-bar.standard {
  padding-top: 1rem;
  padding-bottom: 4rem;
}

.text-primary-bar {
  padding-top: 4rem;
  font-size: 2rem;
  color: #000;
}

.project-intro-bar__column {
  flex: 1;
  width: 25%;
}


.project-intro-bar__column .text-primary {
  font-size: 2rem;
  padding-top: 0.5rem;
}

.project-intro-bar__row {
  display: flex;
  flex-wrap: wrap;
}

.project-intro-bar__row:after {
  content: "";
  display: table;
  clear: both;
}

.project-details__showcase-img-cont.uipathimage,
.project-details__showcase-img-cont.healthcareimage {
  width: 100vw;
  height: 500px;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  margin-bottom: 6rem;
}

.uipathimage img,
.healthcareimage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-details__showcase-img-cont.uipathresearch {
  width: 100%;
  max-width: 100%;
  padding: 2rem;
}

.project__column {
  flex: 1;
  width: 50%;
  text-align: left;
}

.project__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.project__row:after {
  content: "";
  display: table;
  clear: both;
}

/* OVERVIEW STYLING  */
.project-details-overview__column {
  flex: 1;
  text-align: left;
}

.project-details-overview__column:nth-child(1) {
  flex: 0 0 55%;
  width: 55%;
  padding-right: 4rem;
}

.project-details-overview__column:nth-child(2) {
  flex: 0 0 45%;
  width: 45%;
  display: flex;
  justify-content: flex-start;
}

.project-details-overview__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.project-details-overview__row:after {
  content: "";
  display: table;
  width: 30%;
  clear: both;
}

.project-details__showcase-img.uipath-macbook {
  width: 100%;
}

.project-details__showcase-img.uipathoriginal {
  width: 100%;
  margin: 2rem 0;
}

.project-details__desc-para.bolded {
  font-weight: 600;
  color: black;
  font-size: 4rem;
  font-family: DM Serif Text;
  word-wrap: break-word;
}

.project__column .project-details__desc-para.initial-research {
  max-width: 100%;
  padding-right: 2rem;
}

.project-details__showcase-img-cont.uipath-prototyping {
  width: 100%;
}

.project-details__showcase-img-cont.uipath-final-prototype {
  width: 100%;
}

.project-details__desc-para.uipath-final-prototype {
  margin-left: 0;
  width: 100%;
  padding: 0 2rem;
}

.project-details__showcase-img-cont.uipathtesting {
  width: 100%;
}

.project-details__showcase-img-cont.uipathcharacter {
  margin-left: auto;
  padding-top: 4rem;
  width: 15rem;
}

.project__column .project-details__desc-para.conclusion {
  width: 100%;
  padding-right: 2rem;
}

.project-details-overview__row:after {
  content: "";
  display: table;
  width: 30%;
  clear: both;
}

.project-details__showcase-img.uipath-macbook {
  width: 200%;
}

.project-details__showcase-img.uipathoriginal {
  width: 150%;
  margin: 2rem;
  margin-left: -5rem;
}

.project-details__desc-para.bolded {
  font-weight: 600;
  color: black;
  font-size: 4rem;
  font-family: DM Serif Text;
  word-wrap: break-word;
}

.project__column .project-details__desc-para.initial-research {
  max-width: 85%;
}

.project-details__showcase-img-cont.uipath-prototyping {
  width: 100%;
}

.project-details__showcase-img-cont.uipath-final-prototype {
  width: 100%;
}

.project-details__desc-para.uipath-final-prototype {
  margin-left: 0;
  width: 100%;
  padding: 0 2rem;
}

.project-details__showcase-img-cont.uipathtesting {
  width: 80rem;
}

.project-details__showcase-img-cont.healthcare-visit-summary {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-bottom: 6rem;
}

.healthcare-visit-summary img {
  width: 100%;
  height: auto;
  display: block;
}

.project-details__showcase-img-cont.uipathcharacter {
  margin-left: 25rem;
  padding-top: 8rem;
  width: 15rem;
}

.project__column .project-details__desc-para.conclusion {
  width: 130%;
}

.project-details__showcase-img .yxb-overview {
  size: 2rem;
}

.project-details__showcase-img.yxb-skus {
  margin-left: -2rem;
  width: 200%;
}

.project__column .project-details__desc-para.yxb-skus {
  margin-left: 0rem;
  width: 90%;
}

.project-details__showcase-img.yxb-surveying {
  width: 50%;
}

.project-details-overview__column .project-details__showcase-img.spotify-overview {
  margin-top: 9rem;
  margin-left: 6rem;
  width: 120%;
}

.project-details-overview__column .project-details__showcase-img.retail-overview {
  margin-top: 2rem;
  margin-left: 3rem;
  width: 50%;
}

.project-details__showcase-img.spotifyresearch {
  width: 90%;
  margin-left: 3rem;
}

.project-details__desc-para.spotify-research {
  width: 110%;
}

.project-details__showcase-img.spotifyresearch2 {
  width: 120%;
  margin-left: 4rem;
  margin-top: 8rem;
}

.project-details__showcase-img.spotify-final-prototype1 {
  width: 120%;
  margin-left: -9rem;
}

.project-details__showcase-img.spotify-final-prototype2 {
  width: 135%;
  margin-left: -15rem;
  margin-top: -3.5rem;
}

.project-details__showcase-img-cont.spotifyicon {
  margin-top: 15rem;
  margin-left: 18rem;
  width: 30%;
}

.visitsummaries-final-prototype img {
  width: 60%;
  max-width: 500px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.project__column .visitsummaries-final-prototype {
  padding-left: 0;
}

.vacc2-prototyping img {
  width: 70%;
  max-width: 700px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.project-details__showcase-img.visitsummaries-original {
  width: 100%;
  margin: 2rem;
}

.retail-final-prototype1 {
  border: 1px solid #cbc7dd;
  /* light purple outline */
  border-radius: 8px;
  /* soft rounded corners */
  box-shadow: 0 4px 12px rgba(170, 158, 202, 0.1);
  /* subtle drop shadow */
  display: inline-block;
  /* ensures shadow works around GIF */
}

.retail-final-prototype1:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.skills__skill {
  display: inline-block;
  padding: 6px 12px;
  margin: 8px;
  border-radius: 6px;
  background-color: #f5f5f5;
  /* subtle neutral background */
  color: #333;
  /* text color */
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  margin-left: 0rem;
}

.skills__skill:hover {
  background-color: #989898;
  /* light purple highlight */
  color: #fff;
  /* text contrast on hover */
  transform: scale(1.05);
  /* slight pop/zoom */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* subtle shadow */
}


.text-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  color: rgb(17, 17, 17);
  text-decoration: none;
  position: relative;
  cursor: pointer;
}


/* Custom underline */
.text-arrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: calc(100% - 1.5em);
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}


.text-arrow:hover::after {
  transform: scaleX(1);
}


.text-underline-link {
  text-decoration: none;
  position: relative;
  color: inherit;
  display: inline-block;
}

.text-underline-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.text-underline-link:hover::after {
  transform: scaleX(1);
}

.projects__row-content-desc--grey {
  color: #7E7E7E;
  opacity: 0.7;
}

/* Arrow motion */
.text-arrow .arrow {
  transition: transform 0.25s ease;
}

.text-arrow:hover .arrow {
  transform: translateX(4px);
}

.skills__skill--sub {
  background: #d5e6ff;
  color: rgb(44, 112, 221);
  font-weight: 500;
}

.skills__skill--sub:hover {
  background: #d5e6ff;
  /* light purple highlight */
  color: rgb(44, 112, 221);
  /* text contrast on hover */
  transform: scale(1.05);
  /* slight pop/zoom */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* subtle shadow */
}

.skills__skill--sub2 {
  background: #e9fff8;
  color: #44daa8;
  font-weight: 500;
}

.skills__skill--sub2:hover {
  background: #e9fff8;
  color: #44daa8;
  transform: scale(1.05);
  /* slight pop/zoom */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* subtle shadow */
}


.projects.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.confidential-box {
  background-color: #f5f5f5;
  border-radius: 12px;
  padding: 2rem 2.5rem;
  margin: 2rem 0;
  text-align: left;
}

.confidential-box__text {
  font-size: 1.8rem;
  color: #333;
  line-height: 1.6;
}

.confidential-box__link {
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.confidential-box__link:hover {
  color: #777;
}

.projects__row {
  opacity: 0.3;
  /* default “dimmed” */
  transform: scale(0.98);
  /* subtle shrink */
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.projects__row.is-active {
  opacity: 1;
  transform: scale(1);
}

.projects {
  transform: translateY(-4rem);
  z-index: 1;
  position: relative;
  border-top-left-radius: 4rem;
  border-top-right-radius: 4rem;
  padding: 10rem 2rem;

}

/* Page transition reveal */
body {
  opacity: 0;
}

body.page-reveal {
  opacity: 1;
  transition: opacity 1.2s ease-in-out;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-reveal-animate {
  animation: pageFadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Scroll animations for project detail pages */
.scroll-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Stagger animations for child elements */
.project-details-overview__row.scroll-hidden .project-details-overview__column:nth-child(1) {
  transition-delay: 0.1s;
}

.project-details-overview__row.scroll-hidden .project-details-overview__column:nth-child(2) {
  transition-delay: 0.2s;
}

.project__row.scroll-hidden .project__column:nth-child(1) {
  transition-delay: 0.1s;
}

.project__row.scroll-hidden .project__column:nth-child(2) {
  transition-delay: 0.2s;
}

body {
  cursor: none;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  background-color: rgba(103, 103, 103, 0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 10000;
  transition: width 0.25s cubic-bezier(0.25, 0.1, 0.25, 1),
    height 0.25s cubic-bezier(0.25, 0.1, 0.25, 1),
    background-color 0.25s ease,
    transform 0.1s ease;
}

.custom-cursor.click {
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%) scale(0.9);
}

.custom-cursor.hover {
  width: 48px;
  height: 48px;
  background-color: rgba(103, 103, 103, 0.2);
}

.custom-cursor.caption {
  width: auto;
  height: auto;
  min-width: 120px;
  min-height: 40px;
  padding: 0.8rem 1.6rem;
  background-color: rgba(79, 79, 79, 0.5);
  color: #fff;
  border-radius: 1rem;
  font-size: 1.4rem;
  font-weight: 500;
  transform: translate(2rem, -50%);
  /* Skewed to the right */
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, transform 0.2s ease, border-radius 0.3s ease;
}

a,
button,
input,
textarea,
[role="button"] {
  cursor: none !important;
}

.divider {
  width: 80%;
  /* not full width */
  height: 1px;
  background-color: #e5e5e5;
  margin: 6rem auto;
  /* ← this centers it */
}

.hero-carousel {
  position: relative;
  width: 100%;
  margin: 0 auto 6rem auto;
  overflow: hidden;
  height: 50rem;
  cursor: grab;
}

.hero-carousel:active {
  cursor: grabbing;
}

.hero-carousel__track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
  align-items: center;
}

.hero-carousel__slide {
  min-width: auto;
  width: auto;
  height: 100%;
  object-fit: contain;
  flex-shrink: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  opacity: 0.4;
  transform: scale(0.9);
  margin: 0 1rem;
  border-radius: 12px;
}

.hero-carousel__slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  font-size: 1.8rem;
  color: #333;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-carousel__btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
}

.hero-carousel__btn--prev {
  left: 1rem;
}

.hero-carousel__btn--next {
  right: 1rem;
}

.hero-carousel__dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
}

.hero-carousel__dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.hero-carousel__dot.active,
.hero-carousel__dot:hover {
  background: rgba(255, 255, 255, 1);
}

@media only screen and (max-width: 37.5em) {
  .hero-carousel__btn {
    width: 3rem;
    height: 3rem;
    font-size: 1.4rem;
  }
}

/* Art Section */
.art {
  background: #ffffff;
  padding: 2rem 0 10rem 0;
  /* Reduced top padding */
}

.art__title {
  color: #7E7E7E !important;
  font-size: 1.8rem !important;
  font-weight: 400 !important;
  font-family: 'DM Sans', sans-serif !important;
  font-style: italic;
  text-transform: none;
  margin-bottom: 4rem;
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 3rem;
  width: 100%;
  max-width: 80rem;
  /* Match about text width */
  margin: 0 auto;
  /* Center it */
}

@media only screen and (max-width: 56.25em) {
  .art-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2rem;
  }
}

@media only screen and (max-width: 37.5em) {
  .art-grid {
    grid-template-columns: 1fr;
    grid-gap: 2rem;
  }
}

.art-grid__item {
  width: 100%;
  height: auto;
  overflow: visible;
  line-height: 0;
  transition: all 0.3s ease;
  background: transparent;
  padding: 0;
  border: none;
  /* Center content for unbound images */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Fun tilts applied to images now */
.art-grid__item:nth-child(odd) .art-grid__img {
  transform: rotate(-3deg);
}

.art-grid__item:nth-child(even) .art-grid__img {
  transform: rotate(2deg);
}

.art-grid__item:nth-child(3n) .art-grid__img {
  transform: rotate(4deg);
}

.art-grid__item:hover .art-grid__img {
  transform: scale(1.05) rotate(0deg);
  /* Slightly less zoom */
  z-index: 10;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.art-grid__img {
  width: auto;
  /* Natural width */
  max-width: 100%;
  /* Bounded by container */
  height: auto;
  max-height: 150px;
  /* Constrain height further */
  display: block;
  object-fit: contain;
  /* Ensure image shows fully */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  /* Shadow on image */
  transition: all 0.3s ease;
  cursor: pointer;
  /* Clickable */
}

/* Art Modal */
.art-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
}

.art-modal__content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.3s;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.art-modal__close {
  position: absolute;
  top: 2rem;
  right: 4rem;
  color: #fff;
  font-size: 4rem;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 2001;
}

.art-modal__close:hover,
.art-modal__close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* Scroll Animation Styles */
.scroll-animate {
  transition: opacity 1s ease, transform 1s ease;
}

.scroll-animate.is-active {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.scroll-animate.is-inactive {
  opacity: 0.3;
  /* Dimmed */
  transform: scale(0.98);
  /* Slightly smaller */
}

/* Project Overlay Styles */
.project-overlay-container {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 1.5rem;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.project-overlay-container:hover .project-overlay {
  opacity: 1;
}

.lock-icon {
  width: 4rem;
  height: 4rem;
  fill: #ffffff;
}