/*WORK PAGE*/

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

body {
    color: #000;
    margin: 0;
    padding-top: 40px;
    background-color: #F5F5F5;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 65%;
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
  opacity: 1;
  transform: translateY(0);
  transition: none;
}

.header-container.animate-in.run-animation {
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 1.2s ease, transform 1.2s ease;
  animation: slideDownFadeIn 1.2s forwards;
}

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

/*------------------------*/

.logo {
  max-width: 100px;
  height: auto;
}

.nav-links {
  display: flex;
  position: relative;
  align-items: center;
}

.nav-links a {
  margin-left: 20px;
  color: #000;
  text-decoration: none;
  font-size: 16px;
  position: relative;
  z-index: 1;
  padding: 4px 12px;
  border-radius: 12px;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #3764E5;
}

.active-button {
  color: white !important;
  z-index: 2;
}

.nav-links::before {
  content: '';
  position: absolute;
  height: 100%;
  top: 0;
  background-color: #000000;
  border-radius: 16px;
  z-index: 0;
  transform: translateX(var(--highlight-x, 0));
  width: var(--highlight-width, 0);
  transition: none;
}

.nav-links.animate::before {
  transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1),
              width 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

.nav-links.slide-left::before {
  transform-origin: right center;
}

.nav-links.slide-right::before {
  transform-origin: left center;
}

/* TEXT BLURB */
.intro-text {
  width: 65%;
  max-width: 1000px;
  margin: 150px auto;
  text-align: left;
  font-size: 2rem;
  line-height: 1.5;
  color: #000;
}

.intro-text-highlight {
  color: #5B8DFE;
}

/* Animation keyframes */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.line {
  display: block;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-fill-mode: forwards;
}

/*PROJECT BUTTONS*/

.project-link{
  text-decoration: none;
}

.projects {
  width: 65%;
  max-width: 1000px;
  margin: 50px auto 0 auto; 
  padding: 0;           
  box-sizing: border-box;
  display: flex;
  flex-direction: column;    
  gap: 50px;            
}

.project-card {
  text-align: left;
  transition: all 0.3s ease;
}

.project-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: -10px;
}

.project-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: #000;
}

.project-description {
  font-size: 1rem;
  margin-top: -20px;
  line-height: 1.6;
  max-width: 90%;
  color: #333;
  margin-left: 0; 
}

.project-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text-block {
  flex: 1;
}

.arrow-circle {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #000;
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.project-card:hover .project-title,
.project-card:hover .project-description {
  color: #666; 
  transition: color 0.3s ease;
}

.project-card:hover .arrow-circle {
  background-color: #3764E5;
  transition: background-color 0.3s ease;
  color: #ffffff;
  border: none;
}

.project-card:hover .project-image {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.09);
  transition: box-shadow 0.3s ease;
}

/* FOOTER */

.footer {
  text-align: center;
  margin: 100px auto 40px auto;
  padding: 20px 0;
}

.footer-logo {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.footer-item a {
  color: #000;
  text-decoration: none;
}

.footer-icon {
  width: 18px;
  height: 18px;
}

/* ABOUT PAGE */

.about-me-pictures {
  display: flex;
  justify-content: center;
  align-items: flex-start; 
  width: 65%;
  margin: 40px auto 0 auto;
  gap: 30px;
  perspective: 1000px;
}

.flip-card {
  width: 35%;
  aspect-ratio: 3 / 4;
  position: relative;
}

.flip-card-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
  position: relative;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0; 
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0.5px solid #F6F6F6;
  box-shadow: 4px 2px 6px #CFCFCF;
  background: white;
  overflow: hidden;
}

.flip-card-front img,
.flip-card-back img {
  width: 100%;
  height: 100%; 
  object-fit: cover;
  display: block;
}

.flip-card-back {
  transform: rotateY(180deg);
}

/* About Me Section */
.AboutMeBlurb {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 40px auto 100px auto;
  width: 65%;
  max-width: 1000px;
  padding: 0 20px;
  box-sizing: border-box;
}

.Opening {
  color: #3764E5;
  font-size: 18px;
  font-family: Inter, sans-serif;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  margin-bottom: -10px;
  width: 100%;
}

.About-Me-Description {
  color: black;
  font-size: 16px;
  font-family: Inter, sans-serif;
  font-weight: 400;
  line-height: 1.8;
  text-align: left;
  word-wrap: break-word;
  width: 100%;
}

/* Resume Button */
.about-me-page-buttons {
  display: flex;
  justify-content: center; 
  gap: 20px;
  margin: 50px auto 0 auto; 
  width: 65%;
  max-width: 1000px;       
  padding: 0 20px;          
  box-sizing: border-box;   
}

.ResumeButton {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  border: 2px solid #3764E5;
  border-radius: 25px;
  color: #fff;              
  background-color: #3764E5; 
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.ResumeButton:hover {
  background-color: #2c4db2; 
  border-color: #2c4db2;
  color: #fff;
}

/* Skills, Tools, Values Section */
.skills-tools-values {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 20px;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}

.skills-tools-values .column {
  flex: 1;
  min-width: 200px;
}

.skills-tools-values .Opening {
  margin-bottom: 10px;
}

.skills-tools-values ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skills-tools-values li {
  margin-bottom: 8px;
  font-size: 16px;
  font-family: Inter, sans-serif;
  font-weight: 400;
  line-height: 1.8;
  color: black;
  text-align: left;
}


/* PROJECT PAGES*/

.project-overview {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin: 60px auto;
  width: 65%; 
  max-width: 1000px;
  font-size: 15px;
  font-weight: 400;
  padding: 0;
}

.project-overview-title {
  flex: 2; 
  line-height: 1.6;
}

.project-overview-scope,
.project-overview-timeline {
  flex: 1; 
  line-height: 1.6;
}

.project-overview-title:first-line
.project-overview-scope::first-line,
.project-overview-timeline::first-line {
  letter-spacing: 0.5px;
}

.hero-image-container{
  display: flex; 
  flex-direction: column; 
  align-items: center;
  width: 65%; 
  max-width: 1000px; 
  margin: 0 auto; 
}

.project-hero-image{
  width: 100%; 
}

.figma-button{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;             
  max-width: 1000px; 
  max-height: 150px;
  margin: 15px auto 80px;
  padding: 10px 10px;
  box-sizing: border-box; 
  background-color: #D9D9D9;
  color: #000;
  border: none;
  border-radius: 9px;
  font-size: 16px;
  font-weight: 350;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.figma-button:hover {
  background-color: #C7C7C7;
}

.figma-button-text {
  flex-grow: 1;
  text-align: left;
}

.arrow-circle {
  width: 25px;
  height: 25px;
  border: 1px solid #000; 
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #000;
  flex-shrink: 0;
  background: transparent; 
}

.figma-button:hover .arrow-circle {
  background-color: #5B8DFE;
  color: white;
  border-color: #5B8DFE;
}

.project-info-container{
  display: block;
  width: 65%;
  margin: 100px auto 100px; 
}

.project-stage{
  font-size: 12px;
  font-weight: 400;
  margin-bottom: 10px;
}

.project-stage-title{
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
}

.project-stage-blurb{
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5em;
}

.project-info-container-extra{
  display: block;
  width: 65%;
  margin: 20px auto; 
  align-items: center;
  margin-top: -60px;
  margin-bottom: 100px;
}

.research-methodologies {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  width: 65%;
  max-width: 1000px;
  margin: 0 auto 0px;
  transform: translateY(-50px); 
}

.method-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.method-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #E3E3E3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 20px;
  color: #333;
}

.method-title {
  font-size: 14px;
  font-weight: 450;
  margin: 0;
  color: #000;
}

.multiple-images{
  gap: 10px; 
  align-items: center;
}

.image-with-background {
  width: 100%; 
  max-width: 1000px;
  margin: 20px auto 0 auto;
  box-sizing: border-box;
}

.background-container {
  background-color: #E6E6E6;
  border-radius: 10px;
  padding: 30px; 
  display: flex;
  align-items: center;
  justify-content: center;
}

.background-container img {
  width: 100%;
  height: auto;
  border-radius: 0px;
  display: block;
}

.quote-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr); 
  gap: 20px;
  width: 65%;
  max-width: 1000px;
  margin: -60px auto 100px;
}

.quote-card:nth-child(1) {
  grid-column: 2 / 4; 
}

.quote-card:nth-child(2) {
  grid-column: 4 / 6;
}

.quote-card:nth-child(3) {
  grid-column: 1 / 3;
}

.quote-card:nth-child(4) {
  grid-column: 3 / 5;
}


.quote-card:nth-child(5) {
  grid-column: 5 / 7;
}

/* 4 QUOTE CARDS */
.quote-cards-4 {
 display: grid;
 grid-template-columns: repeat(2, 1fr); 
 gap: 20px;
 width: 65%;
 max-width: 1000px;
 margin: -60px auto 100px;
}

.quote-cards-4 .quote-card:nth-child(1) {
 grid-column: 1; 
}

.quote-cards-4 .quote-card:nth-child(2) {
 grid-column: 2;
}

.quote-cards-4 .quote-card:nth-child(3) {
 grid-column: 1;
}

.quote-cards-4 .quote-card:nth-child(4) {
 grid-column: 2;
}


.quote-card {
  background: #C0D2FF;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center; 
  min-height: 200px;
}

.quote-card-initials {
  width: 60px;
  height: 60px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

.quote-card-text {
  font-size: 14px;
  line-height: 1.4;
  color: #333;
  margin: 0;
  font-weight: 400;
}

.quote-card-text em {
  font-style: italic;
  font-weight: 500;
}


.insight-container {
display: flex;
flex-direction: column;
gap: 10px;
width: 50%;
max-width: 700px; 
margin: 0 auto -60px; 
padding: 20px 0;
transform: translateY(-80px);
}

.insight-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; 
  background-color: #F5E6A8;
  border-radius: 10px;
  padding: 30px;
  min-height: auto; 
}

.insight-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px; 
}

.insight-icon {
  margin-right: 15px;
  font-size: 24px;
  color: #333;
}

.insight-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.insight-text {
  font-size: 14px;
  line-height: 1.4; 
  color: #333;
  margin: 0;
  font-weight: 400;
}

.project-goals-card {
  background-color: #EBD4FE;
  border-radius: 10px;
  padding: 30px;
  width: 50%;
  max-width: 1000px;
  margin: -60px auto 100px;
  text-align: center;
  box-sizing: border-box; 
}

.goals-icon {
  margin-bottom: 10px;
  font-size: 32px;
  color: #333;
}

.goals-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 10px 0;
  letter-spacing: 2px;
}

.goals-text {
  font-size: 14px;
  line-height: 1.4;
  color: #333;
  margin: 0;
  font-weight: 400;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.personas{
  margin-top: 100px;
}


.pov-hmw-container {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
  max-width: 1000px;
  margin: 30px auto;
  padding: 40px;
  background-color: #f7f9fc;
  border-radius: 12px;
  box-sizing: border-box;
}

.pov-section, .hmw-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pov-tag, .hmw-tag {
  display: inline-block;
  padding: 8px 24px;
  border-radius: 25px;
  background-color: #5B8DFE;
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  width: fit-content;
  letter-spacing: 1px;
}

.pov-text, .hmw-text {
  font-size: 18px;
  line-height: 1.6;
  color: #000;
  margin: 0;
  font-weight: 400;
}

.arrow-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px; 
}

.pause-card {
  background-color: #FFB4AD;
  border-radius: 10px;
  padding: 30px;
  width: 50%;
  max-width: 1000px;
  margin: -60px auto 100px;
  text-align: center;
  box-sizing: border-box; 
}

.pause-icon {
  margin-bottom: 10px;
  font-size: 32px;
  color: #333;
}

.pause-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 10px 0;
  letter-spacing: 2px;
}

.pause-text {
  font-size: 14px;
  line-height: 1.4;
  color: #333;
  margin: 0;
  font-weight: 400;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.feature-roadmap {
  width: 50%; 
  max-width: 1000px;
  margin: -60px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.phase-tag {
  display: block;
  padding: 8px 20px;
  border-radius: 20px;
  background-color: #5B8DFE;
  color: white;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  width: fit-content;
  letter-spacing: 1px;
  margin: 10px 0 10px 0;
}

.phase-section {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%; 
  margin: 0 0 40px 0; 
}

.feature-card {
  background-color: #C0D2FF;
  border-radius: 15px;
  padding: 25px 30px;
  margin-bottom: 10px;
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.feature-description {
  font-size: 14px;
  line-height: 1.5;
  color: #000;
  margin: 0;
  font-weight: 400;
}

.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 40px;
  height: 40px;
  background-color: #888; 
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px; 
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #3764E5;
  color: #fff;
  transform: translateY(-2px);
}


.project-nav-footer {
    padding: 10px 20px;
    width: 65%;
    margin: 60px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    text-decoration: none;
}

.project-nav-btn--next {
    flex-direction: row-reverse;
}

.project-nav-text-block {
    display: flex;
    flex-direction: column;
}

.project-nav-btn--next .project-nav-text-block {
    text-align: right;
}

.project-nav-descriptor {
    font-size: 12px;
    color: #999;
    margin-bottom: 2px;
    transition: color 0.2s ease;
}

.project-nav-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: color 0.2s ease;
}

.project-nav-btn:hover,
.project-nav-btn:hover .project-nav-descriptor,
.project-nav-btn:hover .project-nav-name {
    color: #3764E5;
}


.popup-img {
    cursor: pointer;
    transition: transform 0.2s;
    -webkit-tap-highlight-color: transparent; 
}

.popup-img:hover {
    transform: scale(1.02);
}

#modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    touch-action: none; 
}

#modal-img {
    display: block;
    margin: 50px auto;
    max-width: 90%;
    max-height: 90%;
    touch-action: none;
}

#close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    padding: 10px; 
    -webkit-tap-highlight-color: transparent;
}

#close:hover {
    opacity: 0.7;
}


/*CAROUSEL*/

.carousel {
  position: relative;
  width: 65%;
  max-width: 1000px;
  margin: -50px auto 0 auto;
  overflow: hidden;
  background-color: #E6E6E6;
  border-radius: 5px;
  padding: 20px 0; 
  box-sizing: border-box;
}

.carousel-images {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-img {
  max-height: 400px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 1;
}

.carousel-btn.prev {
  left: 0;
}

.carousel-btn.next {
  right: 0;
}

.carousel-dots {
  text-align: center;
  margin: 20px 0;
}

.carousel-dot {
  display: inline-block;
  height: 10px;
  width: 10px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
}

.carousel-dot.active {
  background-color: #333;
}

.video{
  max-width: 800px;
}

.background-container video {
  width: 100%;
  height: auto;
  border-radius: 0px;
  display: block;
}

.nav-buttons-footer {
  display: flex;
  justify-content: space-between;
  width: 65vw;
  margin: 0 auto;
}

.nav-btn {
  background: none;
  border: none;
  font-weight: 400;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit; 
}

.nav-btn:hover {
  color: #3764E5;
  transition: color 0.3s ease;
}

/*RESPONSIVE*/

@media (max-width: 600px) {

.projects,
.intro-text{
  width: 80%;
}

  .header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 auto;
  }

  .logo {
    display: block;
    margin: 20px auto 10px auto;
    max-width: 150px;
    height: auto;
  }

  .nav-indicator {
    display: none;
  }

  .nav-links {
    display: flex;
    justify-content: center;
    gap: 45px;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .nav-links a {
    margin-left: 0 !important;
    padding: 8px 12px;
    font-size: 1rem;
    white-space: nowrap;
    font-size: 1.1rem;
  }

  .about-me-pictures {
  flex-direction: column;
  align-items: center;
  width: 80%;
  margin: 40px auto 0 auto;
  gap: 20px;
}

.flip-card {
  width: 80%;
  max-width: 300px; /* Optional: prevent too wide on bigger phones */
  aspect-ratio: 3 / 4;
  margin: 0 auto;
}

.AboutMeBlurb {
  width: 80%;
  margin: 40px auto 100px auto;
  padding: 0 10px;
  box-sizing: border-box;
}

.about-me-page-buttons {
  flex-direction: column;
  align-items: center;
  width: 80%;
  margin: 50px auto 0 auto;
  gap: 15px;
}

.ResumeButton {
  width: 100%;
  max-width: 300px;
  text-align: center;
}

    .intro-text{
      font-size: 1.5rem;
      margin-top: 100px;
      margin-bottom: 75px;
    }

    .project-title {
        font-size: 1.1rem;
        margin-top: 20px;
        margin-bottom: 25px;
    }
    
    .project-description {
        font-size: 0.9rem;
    }

    .footer-links{
     flex-direction: column;
     align-items: center;
    }

    .about-me-pictures{
      flex-direction: column;
      align-items: center;
    }

    .flip-card{
      width: 60%;
    }

    .about-me-page-buttons{
      flex-direction: column;
      align-items: center;
    }

  .project-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 30px;
    width: 80%;
  }

.hero-image-container{
  display: flex;
  align-items: center;
  width: 80%; 
  max-width: 1000px; 
  margin: 0  auto -60px auto;
}

.project-hero-image{
  width: 100%; 
}

.figma-button{
  width: 100%; 
  max-width: 1000px;
  border-radius: 8px;
}
  
.project-overview-title {
    grid-column: 1 / -1; 
    grid-row: 1; 
  }
  
  .project-overview-scope {
    grid-column: 1;
    grid-row: 2; 
  }
  
  .project-overview-timeline {
    grid-column: 2; 
    grid-row: 2; 
  }

  .project-info-container{
    width: 80%;
  }

  .project-info-container-extra{
    width: 80%;
  }

  .case-study-image{
    width: 80%;
  }

  .background-container img {
    width: 100%; 
    border-radius: 5px;
  }

.insight-container{
  width: 65%;
}

  .insight-title{
    font-size: 16px;
  }

  .insight-text{
    font-size: 12px;
  }

  .project-goals-card{
    width: 65%;
  }

  .background-container {
    padding: 15px;
  }

  .pov-hmw-container {
    flex-direction: column;
    width: 100%;
    gap: 30px;
  }
  
  .arrow-connector {
    margin-top: 0;
    transform: rotate(90deg);
  }
  
  .pov-text, .hmw-text {
    font-size: 16px;
  }

  .pause-card {
    width: 65%;
  }

  .feature-roadmap{
    width: 60%;
  }

#close {
        font-size: 50px;
        top: 10px;
        right: 20px;
        padding: 15px;
    }
    
    #modal-img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 95%;
        max-height: 85%;
        margin: 0;
    }

    .carousel{
        width: 65vw !important;
        max-width: none;
    }

    .carousel-dots {
    white-space: nowrap;
    overflow-x: auto;   
  }

  .carousel-dot {
    height: 7px;     
    width: 7px;
    margin: 0 3px;   
  }
}


@media (max-width: 1000px) {

.projects,
.intro-text,
.header-container{
  width: 70%;
}

.pov-hmw-container{
   flex-direction: column;
    width: 100%;
    gap: 30px;
}

 .quote-cards-4 {
   display: flex;
   flex-direction: column;
   gap: 20px;
   width: 70%;
 }
 
 .quote-cards-4 .quote-card {
   grid-column: unset;
   width: 100%;
   margin: 0;
 }

  .quote-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 60%; 
  }
  
  .quote-card {
    grid-column: unset;
    width: 100%;
    margin: 0;
    min-height: 150px;
  }

  #close {
        font-size: 50px;
        top: 10px;
        right: 20px;
        padding: 15px;
    }
    
    #modal-img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 95%;
        max-height: 85%;
        margin: 0;
    }

}

@media (min-width: 1400px){

  .header-container,
  .intro-text,
  .projects,
  .about-me-pictures,
  .AboutMeBlurb,
  .about-me-page-buttons,
  .project-overview,
  .hero-image-container,
  .project-info-container,
  .project-info-container-extra,
  .quote-cards,
  .quote-cards-4,
  .insight-container,
  .project-goals-card,
  .feature-roadmap,
  .carousel,
  .project-nav-footer,
  .nav-buttons-footer {
    width: 75%;
    max-width: 1200px;
  }

.image-with-background,
.pov-hmw-container{
width: 100%;
max-width: 1200px ;
}

.figma-button{
width: 100%;
max-width: 1200px ;
}

.pause-card{
width: 75%;
}

  .quote-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .quote-cards .quote-card {
    grid-column: unset !important;
  }


  .nav-links a {
    font-size: 15px;
    padding: 4px 10px;
  }


  .carousel {
    padding: 30px 10px;
  }

  .carousel-img {
    max-height: 350px;
  }

 
  .insight-title,
  .feature-title,
  .pause-title {
    font-size: 1.1rem;
  }

  .project-title,
  .project-description{
    font-size: 1.5rem;
  }

  .arrow-circle{
font-size: 1rem;
  }

  .project-overview {
    gap: 30px;
  }

  .project-nav-descriptor,
  .project-nav-name,
  .project-nav-arrow{
    font-size: 1rem;
  }
}