
*,
*::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;
  font-family: 'Source Sans Pro', sans-serif;
  overflow-x: hidden;
  background-color: #fafafa;
}

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;
}

/* --- THEME COLOR VARIABLES --- */
:root {
  --theme-color: #e07a5f;
  --theme-grad: linear-gradient(to right, #e07a5f, #f4a261);
  --text-dark: #333;
  --text-light: #fff;
  --text-grey: #777;
  --bg-light: #fafafa;
  --bg-hero-main: #fcf8f0;
  --brush-stroke-color: #4CAF50;
  --highlight-text-color: #e07a5f;
  --secondary-text-color: #555;
  --case-study-bg: #f0f8ff; 
}

.heading-primary {
    font-size: 6rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
    color: var(--text-dark); 
}
@media only screen and (max-width: 37.5em) {
    .heading-primary {
        font-size: 4.5rem;
    }
}
.text-primary {
    font-size: 2rem;
    text-align: center;
    width: 80%;
    margin: 0 auto;
    line-height: 1.6;
    color: var(--text-dark);
}
@media only screen and (max-width: 37.5em) {
    .text-primary {
        font-size: 1.8rem;
    }
}

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

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

.heading-sec__main {
  display: block;
  font-size: 4rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  color: var(--text-dark);
}
.heading-sec__main--lt {
  color: var(--text-light);
}
.heading-sec__main--lt::after {
  background: var(--text-light) !important;
}
.heading-sec__main::after {
  content: '';
  position: absolute;
  top: calc(100% + 1.5rem);
  height: 5px;
  width: 3rem;
  background: var(--theme-color);
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5px;
}
@media only screen and (max-width: 37.5em) {
  .heading-sec__main::after {
    top: calc(100% + 1.2rem);
  }
}

.heading-sec__sub {
  display: block;
  text-align: center;
  color: var(--text-grey);
  font-size: 2rem;
  font-weight: 500;
  max-width: 80rem;
  margin: auto;
  line-height: 1.6;
}
@media only screen and (max-width: 37.5em) {
  .heading-sec__sub {
    font-size: 1.8rem;
  }
}
.heading-sec__sub--lt {
  color: #eee;
}

/* --- BUTTONS --- */
.btn {
  background: var(--text-light);
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
  font-weight: 700;
  border-radius: 5px;
  box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.2);
}
.btn--bg {
    background: var(--theme-color);
    color: #fff;
}
.btn--med {
  padding: 1.5rem 5rem;
  font-size: 1.6rem;
}
.btn--theme {
  background: var(--theme-color);
  color: var(--text-light);
}
.btn--theme-inv {
    background: #fff;
    color: var(--theme-color);
    border: 2px solid var(--theme-color);
}
.btn--theme-inv:hover {
    background: var(--theme-color);
    color: #fff;
}

/* --- LAYOUT & CONTAINERS --- */
.main-container {
  max-width: 120rem;
  margin: auto;
  width: 92%;
}

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

/* --- HEADER --- */
.header {
  position: fixed;
  width: 100%;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 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: var(--text-dark);
  transition: color 0.3s;
}
.header__logo-container:hover {
  color: var(--theme-color);
}
.header__logo-img-cont {
  width: 5rem;
  height: 5rem;
  border-radius: 50px;
  overflow: hidden;
  margin-right: 1.5rem;
  background: var(--theme-color);
}
@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;
  text-transform: uppercase;
  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: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  transition: color 0.3s;
}
.header__link:hover {
  color: var(--theme-color);
}
@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,
.header__main-ham-menu-close {
  width: 100%;
}
.header__sm-menu {
  background: #fff;
  position: absolute;
  width: 100%;
  top: 100%;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
  box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.1);
}
.header__sm-menu--active {
  visibility: visible;
  opacity: 1;
}
.header__sm-menu-link a {
  display: block;
  text-decoration: none;
  padding: 2.5rem 3rem;
  font-size: 1.6rem;
  color: var(--text-dark);
  text-align: right;
  border-bottom: 1px solid #eee;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.3s;
}
.header__sm-menu-link a:hover {
  color: var(--theme-color);
}
.header__sm-menu-link:first-child a {
  border-top: 1px solid #eee;
}

/* --- HERO SECTION --- */
.home-hero {
  background-color: var(--bg-hero-main);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 8rem;
}
.home-hero__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  max-width: 120rem;
}
.home-hero__main-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  padding: 0 2rem;
}
.home-hero__text-content {
  flex: 1;
  min-width: 45rem;
  max-width: 60rem;
  opacity: 0;
  animation: slideInLeft 0.8s 0.2s ease-out forwards;
}
.home-hero__greeting {
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--secondary-text-color);
  margin-bottom: 1.5rem;
}
.home-hero__name {
  font-size: 8rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 3rem;
  white-space: nowrap;
}
.home-hero__description {
  font-size: 2.2rem;
  color: var(--secondary-text-color);
  line-height: 1.6;
  max-width: 60rem;
  margin-bottom: 2rem;
  text-align: justify;
}
.text-highlight {
  font-weight: 700;
  color: var(--highlight-text-color);
}
.home-hero__contact-email {
    font-size: 1.8rem;
    color: var(--highlight-text-color);
    font-weight: 600;
}
.home-hero__photo-content {
  flex: 1;
  display: flex;
  justify-content: right;
  align-items: center;
  min-width: 35rem;
  position: relative;
  opacity: 0;
  animation: slideInRight 0.8s 0.2s ease-out forwards;
  transform: translateX(4rem);
}
.home-hero__brush-stroke {
  position: absolute;
  width: 120%;
  height: 120%;
  background-color: var(--brush-stroke-color);
  mask: url('./assets/svg/brush-stroke.svg') no-repeat center / contain;
  -webkit-mask: url('./assets/svg/brush-stroke.svg') no-repeat center / contain;
  z-index: -1;
  transform: rotate(-10deg);
}
.home-hero__photo {
  width: 100%;
  max-width: 450px;
  height: auto;
  display: block;
  object-fit: contain;
  z-index: 1;
  border-radius: 2rem; 
}

/* --- HERO ICONS --- */
.home-hero__socials {
  position: fixed; 
  z-index: 999;
  top: 50%;
  left: 3rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-radius: 50px;
  background-color: var(--highlight-text-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 1.5rem 1rem;
}

.home-hero__social-icon-link {
  display: block;
  padding: 0.5rem;
  transition: transform 0.3s;
}
.home-hero__social-icon-link:hover {
  transform: scale(1.1);
}
.home-hero__social-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: block;
  filter: brightness(0) invert(1);
}
.home-hero__mouse-scroll-cont {
  position: absolute;
  bottom: 3%;
  left: 50%;
  transform: translateX(-50%);
}
.mouse {
  width: 25px;
  height: 40px;
  border: 2px solid var(--text-dark);
  border-radius: 60px;
  position: relative;
}
.mouse::before {
  content: '';
  width: 5px;
  height: 5px;
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--text-dark);
  border-radius: 50%;
  opacity: 1;
  animation: wheel 1.3s infinite;
}

/* Responsive Adjustments */
@media only screen and (max-width: 75em) {
  .home-hero__name {
    font-size: 7rem;
  }
}
@media only screen and (max-width: 56.25em) {
  .home-hero__content {
    position: static;
    transform: none;
    padding: 15rem 2rem 10rem 2rem;
  }
  .home-hero__main-content {
    flex-direction: column-reverse;
    text-align: center;
    gap: 8rem;
  }
  .home-hero__text-content {
    min-width: unset;
    width: 100%;
  }
  .home-hero__greeting {
    font-size: 3.5rem;
  }
  .home-hero__name {
    font-size: 5.5rem;
    white-space: normal;
  }
  .home-hero__photo-content {
    min-width: unset;
    width: 100%;
    transform: translateX(0);
  }
  .home-hero__photo {
      max-width: 350px;
  }
  .home-hero__description {
      margin: 0 auto 2rem auto;
      text-align: center;
  }
  .home-hero__socials {
    display: none; 
  }
}
@media only screen and (max-width: 37.5em) {
  .home-hero {
    padding-top: 10rem;
  }
  .home-hero__greeting {
    font-size: 3rem;
  }
  .home-hero__name {
    font-size: 4.5rem;
  }
  .home-hero__description {
    font-size: 1.8rem;
  }
  .home-hero__photo {
      max-width: 300px;
  }
  .home-hero__mouse-scroll-cont {
    display: none;
  }
}


/* --- ABOUT SECTION --- */
.about {
  background: var(--bg-light);
}
.about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10rem;
}
@media only screen and (max-width: 56.25em) {
  .about__content {
    grid-template-columns: 1fr;
    grid-gap: 8rem;
  }
  .about__content-main {
    margin-bottom: 5rem;
  }
}
.about__content-title {
  font-weight: 700;
  font-size: 2.8rem;
  margin-bottom: 3rem;
}
@media only screen and (max-width: 37.5em) {
  .about__content-title {
    font-size: 2.4rem;
  }
}
.about__content-details-para {
  font-size: 1.8rem;
  color: var(--text-grey);
  max-width: 60rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  text-align: justify;
}
.about__content-details-para:last-child {
  margin-bottom: 4rem;
}

/* --- SKILLS --- */
.skills__category-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 3.5rem;
  margin-bottom: 2rem;
}
.skills__category-title:first-of-type {
  margin-top: 0;
}
.skills {
  display: flex;
  flex-wrap: wrap;
}
.skills__skill {
  padding: 1rem 2rem;
  margin-bottom: 1.5rem;
  margin-right: 1.5rem;
  font-size: 1.6rem;
  background: rgba(153, 153, 153, 0.1);
  border-radius: 5px;
  font-weight: 600;
  color: var(--text-grey);
  transition: all 0.3s ease;
}
.skills__skill:hover {
  transform: translateY(-3px);
  background: var(--theme-color);
  color: var(--text-light);
  cursor: pointer;
}

/* --- PROJECTS SECTION --- */
.projects {
    background-color: var(--bg-hero-main); 
}

.timeline {
    position: relative;
    max-width: 110rem; 
    margin: 0 auto;
    padding: 4rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--theme-color), #f4a261);
    border-radius: 3px;
}

.timeline-item {
    padding: 2rem 5rem; 
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: calc(5rem + 15px);
}
.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}
.timeline-item:nth-child(odd) .timeline-description {
    text-align: justify;
}
.timeline-item:nth-child(odd) .timeline-button-container {
    text-align: center;
}


.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: calc(5rem + 15px);
}
.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
}
.timeline-item:nth-child(even) .timeline-button-container {
    text-align: center;
}


.timeline-item::after {
    content: '';
    position: absolute;
    top: 3.5rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #fff;
    border: 4px solid var(--theme-color);
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    right: -10px;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    background: #fff;
    padding: 4.5rem; 
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-tags{
    display: block;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-grey);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
}

.timeline-title {
    font-size: 3.2rem; 
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
    text-align: center;
}

.timeline-image-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    
}

.timeline-image {
    width: 100%;
    display: block;
}

.timeline-description {
    font-size: 1.8rem; 
    color: var(--secondary-text-color);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    text-align: justify; 
}

.projects__more-projects {
    text-align: center;
    margin-top: 6rem;
}

@media screen and (max-width: 768px) {
    .timeline::before {
        left: 2rem;
    }
    .timeline {
        max-width: 100%;
    }
    .timeline-item {
        width: 100%;
        padding-left: 6rem;
        padding-right: 2rem;
    }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
    }
    .timeline-item:nth-child(odd) .timeline-button-container,
    .timeline-item:nth-child(even) .timeline-button-container {
        text-align: left;
    }
    .timeline-item:nth-child(odd)::after,
    .timeline-item:nth-child(even)::after {
        left: 10px;
    }
}


/* --- CONTACT SECTION --- */
.contact {
  background-image: var(--theme-grad);
}
.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 (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 #ebebeb;
  font-size: 1.6rem;
  background: #f0f0f0;
  border-radius: 5px;
  font-weight: 600;
}
.contact__form-input::placeholder {
  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%;
  }
}

/* --- FOOTER --- */
.main-footer {
  background: #000;
  color: #fff;
}
.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 {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }
}
.main-footer__row-1 {
  order: 2;
}
@media only screen and (max-width: 37.5em) {
  .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%;
    margin-bottom: 4rem;
  }
}
.main-footer__short-desc {
  margin-top: 2rem;
  color: #eee;
  font-size: 1.5rem;
  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;
  border-top: 1px solid #444;
  color: #eee;
  font-size: 1.2rem;
  text-align: center;
}


/* --- CASE STUDY HERO SECTION --- */
.case-study-hero {
    background-color: rgb(243, 251, 255); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    min-height: 100vh;
}
.case-study-hero__content {
    display: grid;
    grid-template-columns: 1fr 1.2fr; 
    gap: 6rem;
    align-items: center;
    width: 100%; 
    max-width: 120rem; 
    margin: 0 auto; 
}


.case-study-hero__image {
    width: 100%;
    display: block;
    border-radius: 8px;
}

.case-study-hero__subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--theme-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.case-study-hero__title {
    text-align: left;
    font-size: 5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--text-dark); 
}

.case-study-hero__description {
    font-size: 2rem;
    color: var(--secondary-text-color);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.case-study-hero__info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.case-study-hero__info-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.case-study-hero__info-text {
    font-size: 1.8rem;
    color: var(--text-grey);
}

.case-study-hero__cta {
    display: inline-block; 
}


/* --- Responsive Adjustments for Case Study Hero --- */
@media screen and (max-width: 768px) {
    .case-study-hero {
        padding: 8rem 2rem; 
        min-height: unset;
    }
    .case-study-hero__content {
        grid-template-columns: 1fr; 
        text-align: center;
        gap: 4rem;
    }
    .case-study-hero__image-container {
        order: -1;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .case-study-hero__image {
        width: 70%;         
        max-width: 320px;   
        margin: 0 auto;      
    }
    .case-study-hero__title {
        text-align: center;
        font-size: 3.2rem;
    }
    .case-study-hero__description {
        text-align: center; 
        font-size: 1.6rem;
    }
    .case-study-hero__info-grid {
        grid-template-columns: 1fr; 
        text-align: center; 
    }
    .case-study-hero__info-title,
    .case-study-hero__info-text {
        text-align: center;
    }
    .case-study-hero__cta {
        width: 100%; 
        text-align: center;
    }
}

.project-details {
    padding: 10rem 0;
}

.project-details__content {
    max-width: 90rem;
    margin: auto;
}

.project-details__content-main {
    width: 100%;
}

.project-details__desc {
    margin-bottom: 5rem;
}

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

.project-details__desc-para {
    font-size: 1.8rem;
    line-height: 1.7;
    color: var(--text-grey);
    margin-bottom: 2rem;
}

.project-details__tools-used {
    margin-bottom: 5rem;
}
.project-details__tools-used .skills {
    justify-content: flex-start;
}
.project-details__tools-used .skills__skill {
    margin-right: 1.5rem;
}

.project-details__links a {
    margin-right: 2rem;
}
@media only screen and (max-width: 37.5em) {
    .project-details__links a {
        margin-right: 0;
        width: 100%;
        margin-bottom: 2rem;
    }
}
.project-details__links a:last-child {
    margin: 0;
}


/* --- ANIMATIONS & INTERACTIVITY --- */
.reveal {
  position: relative;
  transform: translateY(100px);
  opacity: 0;
  transition: all 1s ease;
}
.reveal.active {
  transform: translateY(0px);
  opacity: 1;
}

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

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

@keyframes slideInLeft {
  from {
    transform: translateX(-40px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(40px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

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

/* --- UTILITIES --- */
.d-none {
  display: none;
}


.user-persona-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.user-persona-card {
    background-color: #f8f9fa;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #eee;
}

.user-persona-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.user-persona-role {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--theme-color);
    margin-bottom: 1.5rem;
}

.user-persona-need {
    font-size: 1.7rem;
    color: var(--text-grey);
    line-height: 1.6;
    font-style: italic;
}

.feature-list {
    list-style-position: inside;
    padding-left: 1rem;
}

.feature-list li {
    font-size: 1.8rem;
    color: var(--text-grey);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.project-details__bottom-link {
    margin-top: 8rem;
    text-align: left;
}

.go-back-link {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--theme-color);
    text-decoration: none;
    transition: all 0.3s;
}

.go-back-link:hover {
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .user-persona-container {
        grid-template-columns: 1fr;
    }
}

