@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap");


/* variables */
:root {
    /* --font-heading: "Quicksand", serif;
    --font-body: "Merriweather Sans", sans-serif;
    --font-caption: "Epilogue", sans-serif; */
    --font-primary: 'Quicksand', sans-serif;

    /* line heights */
    --lh-tight: 100%;
    --lh-normal: 120%;
    --lh-loose: 150%;

    /* letter spacing */
    --ls-tight: -1%;
    --ls-normal: 0%;
    --ls-wide: 1%;

    /* font weight */
    /* --paragraph-weight: 300; */
    --paragraph-weight: (var(--fw-regular));
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;

     /* Spacing */
    --section-padding: 3rem;
    --mobile-padding: 1.5rem;
    --desktop-padding: 2rem;
    --content-width: 1200px;
    --content-indent: 1.5rem; /* Left alignment adjustment */

    /* color variables */
    --background-color: white;
    --bg-color: #FFF7FC; /* if I want to add color to background */
    --alt-bg-color: #F8F5F9;

    /* accent colors */
    --color-accent-primary: #8F0012;  /* buttons, links, hover states */
    --color-accent-secondary: #DA3245; /* subtle highlights, icons, cards */
    --color-accent-tertiary: #c42d3e; /* decorative highlights, tags */
    --color-gradient-start: #B82132;
    --color-gradient-end: #DA3245;

    /* text colors */
    --color-text-primary: #2E2E2E;   /* for main content */
    --color-text-secondary: #5A5A5A; /* for subheadings, captions, etc. */
    --color-text-inverse: #FFF7FC;  /* for text on dark backgrounds/buttons */

    /* annotation dots' colors */
    --annotation-red: #C42D3E;
    --annotation-blue: #0078C9;
    --annotation-purple: #3C51AD;

    /*--normal-font: 400;
    --bold-font: 700;
    --bolder-font: 900;
    --bg-color: #EDE8F5;
    --primary-color: #3d52a0;
    --secondary-color: #7091E6;
    --primary-shadow: #2C3B78;  slightly darker tone of primary color */
    /*--secondary-shadow: #4A6DB8;  slightly darker tone of secondary color 
    --bottom-margin: 0.5rem;
    --bottom-margin-2: 1rem;
    --line-height: 1.7rem;
    --transition: 0.3s;*/
}
/* end of variables */

html {
    scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

/* CSS Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* A */

a {
    text-decoration: none;
    /* color: var(--primary-color); */
    color: var(--color-accent-primary);
}

a:hover {
    color: var(--color-accent-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  /*display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
   max-width: 900px;
  margin: 0 auto; 
  padding: 2rem;*/
  /* justify-content: center;
  gap: 2.5rem;
  max-width: 68.75rem;
  margin: auto;
  margin-bottom: 3rem;
  scroll-margin-top: 6rem; */
}

.about-image {
  /* flex: 1 1 300px; 
  order: 3;*/
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

/* polaroid effect for image */
.about-image img {
    /* height: 28rem;
    width: 28rem; */
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
    background-color: white;
    padding: 1.5rem 1.5rem 3rem;
    border: 2px solid #fff; /* polaroid border */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-radius: 0;
    transform: rotate(-3deg);
    /* margin-top: 20px; */
    /* transition: transform 0.3s ease; */
    animation: fadeInSkew 1.5s ease forwards;
    box-sizing: border-box;
}

.about-content {
  /* display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start; */
  order: 2;
}

.about-heading {
    margin-top: 2rem; /* Added space below navbar */
    text-align: center;
}

.about-heading h2{
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--color-text-primary);
}

.about-section {
  padding: 6rem 2rem 4rem;
  max-width: 1500px;
  margin: 0 auto;
}

.about-text {
  flex: 2 1 400px;
}

/* .hero img:hover {
    transform: rotate(0deg); /* straightens picture 
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
} */

/* B */

body {
    /* background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
	background-size: 400% 400%;
	animation: gradient 15s ease infinite;
	height: 100vh; */
    font-family: var(--font-primary);
    font-size: 16px;
    /* font-weight: var(--normal-font); */
    color: var(--color-text-primary);
    letter-spacing: 0;
    line-height: var(--lh-loose);
}

body[data-loaded="false"] .navigation {
    transition: none !important;
    opacity: 0 !important;
    transform: translateY(-10px) !important;
    pointer-events: none !important;
}

/* body.home nav {
  background: url("../images/gradient-background.svg");
} */

.burger-menu { /*needs to be hidden on web version */
    color: var(--color-accent-primary);
    font-size: 2rem;
    border: 0;
    background-color: transparent;
    cursor: pointer;
    display: none;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.top-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--color-accent-tertiary); /* Your brand color */
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(87, 85, 254, 0.3);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid white;
}

.top-btn:hover {
  background: var(--color-accent-secondary); /* Your secondary color */
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(87, 85, 254, 0.4);
}

.top-btn:active {
  transform: translateY(0);
}


.bio {
    width: 25rem;
    padding: 0.625rem;
    border-radius: 6px;
    animation: slideInRight 2s ease forwards;
    /* box-shadow: 0px 2px 15px 2px var(--primary-shadow); */
}

/*.bio-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
     margin-bottom: var(--bottom-margin);
    color: var(--primary-color); 
}*/

/* .bio p {
    line-height: var(--line-height);
    padding: 0.3rem 0;
} */

.bio-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  color: var(--color-text-secondary);
}

/* C */
.caption, .label {
  font-family: var(--font-caption);
  font-size: 12px;
  line-height: 140%;
  font-weight: 500;
  letter-spacing: 0%;
  color: var(--color-accent-tertiary);
  text-align: center;
  display: block;
  margin-top: 0.5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--mobile-padding);
}

.challenge-box {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
  border-left: 4px solid var(--color-accent-secondary);
}

.challenge-box h4 {
  margin-top: 0;
  margin-bottom: 10px;
}

.challenge-box ul {
  padding-left: 1.5rem; 
  margin: 0;
  /* margin-top: 10px; */
  list-style-position: outside; 
}

.challenge-box li {
  margin-bottom: 0.5rem;
  padding-left: 0;
  text-indent: 0;
}

.company-name {
  font-size: 1rem;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
  font-weight: var(--fw-regular);
}

.company-name a {
  text-decoration: none;
}

/* contact page */
.contact-page {
  background-color: var(--background-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
    /* grid-template-columns: 1fr; 
    gap: 3rem; */
    align-items: center;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
    min-height: calc(100vh - 80px); /* Adjust based on your navbar height */
}

.contact-content {
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-content h1 {
    font-size: clamp(2.5rem, 5vw, 3rem); /* Responsive font size */
    /* font-size: 3rem; */
    margin-bottom: 1rem;
    color: var(--color-text-primary);
    line-height: 1.2;
    word-break: keep-all;
}

.subtext {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
}

.content-wrapper {
  /* width: 100%;
  max-width: calc(100% - (2 * var(--mobile-padding)));
  margin: 0 auto; */
  /* padding: 0 var(--mobile-padding);
  max-width: var(--content-width);
  margin: 3rem auto; */
  padding-left: var(--mobile-padding);
  padding-right: var(--mobile-padding);
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
  margin-top: var(--section-padding);
  margin-bottom: var(--section-padding);
}

.comparison-subheader {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--color-text-primary);
    text-align: center;
}

.comparison-pair {
  margin-bottom: 3rem;
}

/* contact form */
.contact-form {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.form-group {
    margin-bottom: 2rem;
    text-align: left;
    position: relative; 
}

.form-group label {
    position: absolute;
    top: -1.5rem;
    left: 0;
    /* display: block; 
    margin-bottom: 0.5rem; */
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-accent-secondary);
    pointer-events: none;
    transition: all 0.3s ease;
    /* transform: none !important;  Disable float effect 
    padding: 0 !important;
    background: none !important; */
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    background: rgba(255,255,255,0.8);
    /* transition: all 0.3s ease; */
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-primary);
    /* box-shadow: 0 0 0 2px rgba(87, 85, 254, 0.2); */
}

/* .form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    transform: translateY(-1.8rem) scale(0.9);
    /* background: var(--bg-color); */
    /* padding: 0 0.5rem;
    color: var(--color-accent-primary);
} */

.form-success {
    background: rgba(87, 85, 254, 0.1);
    border: 1px solid var(--color-accent-primary);
    padding: 1rem;
    border-radius: 4px;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: fadeIn 0.3s ease-out;
    transition: opacity 0.3s ease;
}

.form-success svg {
    color: var(--color-accent-primary);
}

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

.submit-btn {
    background: var(--color-accent-secondary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
}

.submit-btn:hover {
    background: #4543e0;
    transform: translateY(-2px);
}

/* D */
.design-process-section {
  text-align: center;
  margin: 4rem 0;
}

.design-process-section h2 {
  color: var(--color-text-primary);
  margin-bottom: 1.5rem;
}

.divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-accent-primary), transparent);
  margin: 3rem auto;
  width: 50%;
}

.details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail-item h4 {
  font-size: 0.95rem;
  font-weight: var(--fw-semibold);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  color: var(--color-accent-secondary);
}

.detail-item p {
  margin: 0;
  font-weight: 300;
}


/* E */
.ears-hero {
  padding: 5rem 0;
  text-align: center;
}

.ears-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

/* F */
@keyframes fadeInSkew {
    0% {
        opacity: 0;
        transform: rotate(-5deg) skew(3deg, 2deg);
    }
    100% {
        opacity: 1;
        transform: rotate(0deg) skew(0deg, 0deg);
    }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* footer styles */
.site-footer {
  /* border-top: 2px var(--color-accent-primary);
  padding: 2rem;
  background-color: var(--background-color);
  margin-top: auto;
  position: relative;
  margin-left: 20px;
  margin-right: 20px; */
  background-color: var(--background-color);
  padding: 4rem var(--mobile-padding) 2rem;
  margin-top: 300px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-header {
  margin-bottom: 2.5rem;
}

.footer-headline {
  font-size: 4rem;
  font-weight: var(--fw-bold);
  line-height: 0.9;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-cta {
  margin-bottom: 3rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-accent-primary);
  color: white;
  text-decoration: none;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: var(--fw-semibold);
  font-size: 1rem;
  /* transition: all 0.3s ease; */
  min-width: 140px;
  justify-content: center;
  /* border: 2px solid var(--color-accent-primary); */
}

.cta-button:hover {
  background-color: white;
  color: var(--color-accent-primary);
  /* transform: translateY(-2px); */
  border: 2px solid var(--color-accent-primary);
  font-family: 'VT323', monospace;
  font-size: 1.2rem;
}

.cta-button svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: baseline; /* Changed from center to baseline */
  /* max-width: 1200px;
  margin: 0 auto; */
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-left {
  flex: 1;
  min-width: 200px;
}

.footer-right {
  display: flex;
  align-items: baseline; /* Changed from center to baseline */
  gap: 2rem; /* Increased from 1.5rem */
}

.footer-email {
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-email:hover {
  color: var(--color-accent-primary);
}

.footer-linkedin svg {
  transition: transform 0.3s ease;
}

.footer-linkedin:hover svg {
  transform: scale(1.1);
}

.footer-divider {
  border-top: 3px solid var(--color-accent-primary);
  margin: 2.5rem 0;
}

.footer-social {
  display: flex;
  gap: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-primary);
  text-decoration: none;
  font-weight: var(--fw-medium);
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--color-accent-primary);
}

.social-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.social-link:hover svg {
  transform: translate(3px, -3px);
}

.footer-copyright {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

/* G */


/* H */
h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-accent-primary);
  font-weight: 400;
  margin-bottom: 1rem;
}

.hamburger-menu {
  display: none; /* Hidden by default on desktop */
  cursor: pointer;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  /* position: relative;
  z-index: 1001; */
  padding: 0;
}

/* TOGGLE ICONS 
.hamburger-menu.active .hamburger-icon {
  opacity: 0;
}

.hamburger-menu.active .close-icon {
  opacity: 1;
}

.hamburger-icon,
.close-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 33px; 
  height: 33px; 
  transition: opacity 0.3s ease;
}

.close-icon {
  opacity: 0;
} */

.subtitle h4,
.metric-value {
  color: var(--color-accent-secondary); /* Lavender for subtitles */
}

/* h1, .h1 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 36px;
    line-height: 102%;
    letter-spacing: -1%;
} */

h2, .h2 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h3, .h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.2rem;
  color: var(--color-accent-secondary);
}

/* .hero {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 96px;
  line-height: 100%;
  letter-spacing: -1%;
} */

/* Hero Section */
.hero {
  display: flex;
  /* align-items: center;
  justify-content: flex-start;
  height: 100vh;
  width: 100vw;
  padding: 10px; */
  flex-direction: column;
  justify-content: center;
  /* min-height: 100vh; */
  min-height: 85dvh;
  padding: 2rem var(--mobile-padding);
  position: relative;  /* Needed for absolute positioning */
  /* background: url("../images/background-image.png"); 
  
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;*/
  /* background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
   background-size: 400% 400%;
   animation: gradient 15s ease infinite; */


   /* background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
   background-size: 400% 400%;
   animation: gradient 15s ease infinite; */
}

@keyframes gradient {
   0% {
      background-position: 0% 50%;
   }
   50% {
      background-position: 100% 50%;
   }
   100% {
      background-position: 0% 50%;
    }
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-tag {
  font-size: 3rem;
  font-weight: var(--fw-regular);
  color: var(--color-accent-primary);
  margin-bottom: 2.5rem;
  font-family: var(--font-primary);
}

.hero-description {
  font-size: 1.5rem;
  font-weight: var(--fw-medium);
  margin-bottom: 2rem;
  max-width: 1000px;
  line-height: 2rem;
}

.highlight-word {
  font-weight: var(--fw-medium);
  color: var(--color-accent-secondary);
}

.hero-subtext {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--color-accent-primary);
  font-weight: var(--fw-light);
}

.current-role {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.current-role:hover .role-title {
  font-family: 'VT323', monospace;
  color: var(--color-text-primary);
  font-size: 1.3rem;
}

.role-label {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-family: var(--font-primary); /* Your main font */
  /* transition: all 0.3s ease; */
}

.role-title {
  font-weight: 500;
  font-family: var(--font-primary); /* Your main font */
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.3s ease;
  color: var(--color-text-primary);
}

.role-arrow svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.current-role:hover .role-arrow {
  transform: translateX(3px); 
}

.view-work-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #0D1012;
  color: white;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: var(--fw-medium);
  /* transition: all 0.3s ease; */
}

.view-work-button:hover {
  background-color: white;
  transform: translateY(-2px);
  color: var(--color-accent-primary);
  border-style: solid;
  border-color: var(--color-accent-primary);
  font-family: 'VT323', monospace;
  font-size: 1.2rem;
}

.view-work-button svg {
  width: 20px;
  height: 20px;
}

.hero-text {
  max-width: 700px; /* 600px */
  /* color: #000; */
  /* color: var(--color-text-inverse); */
  color: var(--color-text-primary);
  /* padding: 10px; */
  padding: 10px 10px 10px 50px;
  font-family: var(--font-body);
  font-weight: lighter;
}

.hero-text h2 {
  font-family: var(--font-heading);
  font-size: 3.5rem; /* 2.5 */
  margin-bottom: 1rem;
  color: var(--color-text-primary);
}

.hero-text p {
  font-size: 1.8rem; /* 1.1 */
  line-height: 1.6;
}

#rotating-word {
  font-weight: var(--fw-light);
  color: var(--color-accent-secondary);
}

s {
  color: var(--color-accent-secondary);
  text-decoration: line-through;
}

.hero-blob {
  position: absolute;  /* Lets you position it freely */
  width: 600px;       /* Adjust to your blob's size */
  max-width: 80%;     /* Prevents overflow on mobile */
  z-index: -1;        /* Puts it behind text */
  
  /* Center positioning */
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  
  /* Optional: fade-in animation */
  opacity: 0;
  animation: fadeIn 1s ease forwards 0.5s;
}

/* I */

.icon {
    width: 11.875rem;
    height: 11.25rem;
}

.icon-card {
    background-color: #fff;
    border-radius: 11px;
    box-shadow: 0 3px 10px var(--secondary-shadow);
    padding: 20px;
    margin: 10px;
}

.ideas-process h4 {
  color: var(--color-accent-secondary);
  margin-bottom: 1rem;
}

.ideas-process h3 {
  font-size: 2rem;
  color: var(--color-text-primary);
  margin-bottom: 1.5rem;
}

.ideas-process img {
  max-height: 500px;
  object-fit: contain;
  /* background: 
    linear-gradient(45deg, #f5f5f5 25%, transparent 25%) -50px 0,
    linear-gradient(-45deg, #f5f5f5 25%, transparent 25%) -50px 0,
    linear-gradient(45deg, transparent 75%, #f5f5f5 75%),
    linear-gradient(-45deg, transparent 75%, #f5f5f5 75%);
  background-size: 100px 100px; */
  padding: 2rem;
  border-radius: 8px;
} 

.image-comparison {
    margin: 2rem 0;
}

.image-comparison img {
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    border-radius: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* annotations on images styling */
.redesign-item {
    margin-bottom: 4rem;
}

.image-with-annotations {
  position: relative;
  display: block; /* Change from inline-block to block */
  width: 100%;
  max-width: 800px; /* Match your container max-width */
  margin: 0 auto 60px;
}

.image-with-annotations img {
  /* width: 100%;
  height: auto;
  display: block;
  border-radius: 0.7rem; */
  width: 100%;
  height: auto;
  max-width: 800px; /* Your desired display size */
  display: block;
  margin: 0 auto;
  border-radius: 0.7rem;
}

.annotation-hint {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin: 1rem 0;
  font-style: italic;
}

.annotation-dot {
  position: absolute;
  cursor: pointer;
  z-index: 10;
}

.dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  /* background: var(--color-accent-primary); */
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}

.dot-red .dot {
  background: var(--annotation-red);
}

.dot-blue .dot {
  background: var(--annotation-blue);
}

.dot-purple .dot {
  background: var(--annotation-purple);
}

.annotation-dot:hover .dot {
  transform: scale(1.2);
}

/* Annotation Text Container - colored backgrounds */
.dot-red .annotation-text {
  background: var(--annotation-red);
}

.dot-blue .annotation-text {
  background: var(--annotation-blue);
}

.dot-purple .annotation-text {
  background: var(--annotation-purple);
}

.annotation-text {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3); /* Depth shadow */
  font-weight: var(--fw-medium);
}

.annotation-dot:hover .annotation-text {
  opacity: 1;
}

.annotation-dot:hover .dot {
  transform: scale(1.2);
}

/* Mobile active state (via JavaScript) */
.annotation-dot.active .annotation-text {
  opacity: 1;
}

.annotation-dot.active .dot {
  transform: scale(1.2);
}



/* J */


/* K */
.key-points {
  margin: 2rem 0;
}

.key-points ul {
  padding-left: 0;
  list-style: none;
}

.key-points li{
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.75rem;
  line-height: 1.6;
  font-weight: 300;
  text-indent: 0;
}

.key-points strong {
  font-weight: 400;
}

.key-points li:before {
  content: ".";
  color: var(--color-accent-secondary);
  font-size: 2.5rem;
  position: absolute;
  left: 0;
  top: -1.1rem;
  line-height: 1;
}

/* L */

.landing-image {
  /* width: 100%;
  overflow: hidden; 
  margin-bottom: 2rem; */
  margin-bottom: 3rem; /* Increased from 2rem */
}

.landing-image img,
.splide__slide img,
.ideas-process img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.landing-image.umrf-hero {
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto 3rem; /* Added top margin */
  padding: 0 var(--mobile-padding);
}

.landing-image.umrf-hero img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain; /* Changed from cover */
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}

.linkedin-icon {
  margin: 0;
}

.linkedin-icon svg {
  fill: black;
  transition: transform 0.3s ease;
}

.linkedin-icon:hover svg {
  transform: scale(1.1);
}

.navigation .linkedin-icon {
  display: none; /* hide by default */
}

.nav-right .linkedin-icon {
  display: inline-block; /* show in mobile menu */
}

.loop-text {
    font-size: clamp(1.0rem, 4vw, 2rem);
    color: var(--color-text-primary);
    line-height: 1.2;
    /* text-transform: uppercase; */
    font-weight: var(--bold-font);
    padding: 0 0.30em;
    animation: loopText 5s infinite linear;
}

@keyframes loopText {
    from {
        transform: translateX(0);
     }

    to {
        transform: translateX(-100%);
    }
}

/* M */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.project-page .metrics-grid.two-metrics {
  grid-template-columns: repeat(2, minmax(250px, 400px));
  justify-content: center;
  gap: 2rem;
}

/* Specific: 1 metric (if needed later) */
.project-page .metrics-grid.one-metric {
    grid-template-columns: minmax(250px, 500px);
    justify-content: center;
}

.metric {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  min-width: 0;
}

.metric-value {
  display: block;
  font-family: var(--font-primary);
  font-size: 2.5rem;
  color: var(--color-accent-tertiary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.more-about {
    /* background-color: var(--bg-color);
    padding: 1rem 6rem; */
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.more-about h2 {
    /* margin-bottom: var(--bottom-margin);
    text-align: center;
    color: var(--primary-color); */
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.more-about ol {
  padding-left: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

/* .more-about p {
    line-height: var(--line-height);
    padding: 0.4rem;
} */

/* more projects section */
.more-projects {
  padding: 4rem 2rem 6rem;
  max-width: 1080px;
  margin: 0 auto;
}

.more-projects-header {
  text-align: center;
  margin-bottom: 3rem;
}

.more-projects-header h4 {
  font-family: var(--font-caption);
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.more-projects-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.more-projects-header h2 em {
  color: var(--color-text-secondary);
  font-style: italic;
}

.more-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.more-project-item {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.more-project-card {
  background: rgb(245, 245, 245);
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
  /* display: flex;
  flex-direction: column; */
}

.more-project-card:hover {
  transform: translateY(-6px);
}

.more-project-image {
  position: relative;
  padding-top: 56.25%; /* 16:9 ratio */
  overflow: hidden;
  /* border-radius: 24px 24px 0 0; */
  border-radius: 24px;
}

.more-project-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.more-project-content {
  /* padding: 1.5rem; */
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-text-primary);
  margin: 0;
}

.more-project-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-text-primary);
  margin: 0;
  margin-bottom: 10px;
}

/* .more-project-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-text-primary);
  margin: 0 0 1rem;
} */

.more-project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.more-project-tag {
  font-family: var(--font-caption);
  font-size: 0.7rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--color-text-primary);
  color: var(--color-text-primary);
  background: white;
}

/* N */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem var(--mobile-padding);
  /* background: transparent; */
  background-color: var(--background-color);
  /* box-shadow: none; */
}

nav h1 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  margin: 0;
  /* font-weight: 700;
  color: var(--primary-color);
  margin: 0;
  padding: 0; */
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo img{
  height: 50px;
  width: auto;
  margin: 0;
  padding: 0;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  /* margin-left: auto; */
}

.navigation {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center; /* Ensure vertical centering */
  height: 100%;
}

.nav-link {
  color: var(--color-text-primary);
  text-decoration: none;
  font-weight: var(--fw-semibold);
  transition: color 0.3s ease;
  /* font-family: var(--font-primary); */
  padding: 0.75rem 0; /* Adjust this value to move them up/down */
  display: flex;
  align-items: center; /* Vertically center text within link */
  height: 100%; 
}

.nav-link:hover {
  color: var(--color-accent-secondary);
}

.navigation.active {
  opacity: 1;
  pointer-events: auto;
  /* transform: translateY(0); */
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.navigation li {
  list-style: none;
  display: flex;
  align-items: center; /* Vertically center each list item */
  height: 100%;
}

.next-steps {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  margin: 3rem 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.next-steps h3 {
  font-size: 1.8rem;
  color: var(--color-text-primary);
  margin-bottom: 1.5rem;
}

.next-steps h4 {
  color: var(--color-accent-tertiary);
  margin: 1.5rem 0 1rem;
  /* margin-bottom: 1.5rem; */
}

.next-steps ol {
  padding-left: 1.5rem;
}

.next-steps ol li {
  margin-bottom: 1rem;
}

/* O */
/* .overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 0 var(--mobile-padding);
  margin-bottom: var(--section-padding);
} */

.overview-grid {
  /* padding: 0 var(--mobile-padding);
  max-width: var(--content-width);
  margin: 3rem auto;
  margin-left: auto;
  margin-right: auto; */
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  /* padding: 0 var(--mobile-padding);
  max-width: var(--content-width);
  margin: 3rem auto; */
}

.value-added-wrapper {
  padding: 0 var(--mobile-padding);
  max-width: var(--content-width);
  margin: 3rem auto
}

/* P */
p, .paragraph {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0%;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.persona-section {
  display: grid;
  /* grid-template-columns: 1fr; */
  gap: 2rem;
  text-align: left;
  margin: 4rem 0; 
} 

.persona-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* .persona-section h3 {
    color: var(--color-text-primary);
} */

.persona-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.4;
  color: var(--color-text-primary);
  /* margin-bottom: 1.5rem;
  white-space: pre-wrap; */
}

/* .persona-description h3 {
  color: var(--color-text-primary);
  margin-bottom: 1.5rem;
} */

.persona-description {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  /* font-weight: 400; */
  color: var(--color-text-secondary);
}

.persona-description p {
  margin-bottom: 1.25rem;
  font-weight: 300;
}

.persona-description span {
  font-weight: 400;
}

.persona-highlight {
  /* font-weight: 700; */
  font-weight: 500;
  /* padding: 0.15rem 0.4rem; */
  border-radius: 4px;
  display: inline-block;
  /* font-style: normal; */
}

.persona-highlight.club-member {
  color: var(--color-accent-secondary);
}

.persona-highlight.transfer-student {
  color: var(--color-accent-tertiary);
}

.persona-highlight.ex-member {
  color: var(--color-accent-primary);
}

.personas-carousel,
.initial-wireframes-carousel,
.updated-wireframes-carousel {
  margin: 3rem 0 4rem 0;
}

.personas-carousel .splide {
  width: 100%;
  margin: 2rem 0;
}

.personas-carousel .splide__slide {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem 2rem;
}

.personas-carousel .splide__slide img {
  width: 100%;
  max-width: 700px; /* larger than before */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.personas-carousel .splide__slide img:hover {
  transform: scale(1.02); /* subtle zoom effect */
}

.personas-carousel .splide__pagination {
  margin-top: 4rem;
}

.initial-wireframes-carousel .splide__pagination {
  /* margin-top: 4rem; */
  bottom: -2em;
}

.updated-wireframes-carousel .splide__pagination {
  bottom: -2em;
}

.personas-carousel .splide__pagination__page.is-active {
  background: var(--color-accent-secondary);
}

.initial-wireframes-carousel .splide__pagination__page.is-active {
  background: var(--color-accent-secondary);
}

.updated-wireframes-carousel .splide__pagination__page.is-active {
  background: var(--color-accent-secondary);
}

.splide {
  width: 100%;
  margin: 2rem 0;
}

.splide__slide {
  display: flex;
  justify-content: center;
  padding: 0 1rem;
}

.splide__slide img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
} 


/* problem section */
.problem-section {
  /* padding: 4rem 0; */
  padding: var(--section-spacing) 0;
}

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--mobile-padding);
}

.section-divider {
  border: none;
  height: 1px;
  background-color: var(--color-text-primary);
  width: 300px;
  /* margin: 0 auto 3rem; */
  margin: 1.5rem auto; 
}

.section-header {
  margin-bottom: 2.5rem;
  text-align: left;
}

.section-subtitle {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  /* text-transform: uppercase; */
  letter-spacing: 1px;
  color: var(--color-accent-secondary);
  margin-bottom: 0.5rem;
}

.section-subtitle.centered {
  text-align: center;
  display: block;
}

.section-title {
  font-size: 2rem;
  font-weight: var(--fw-medium);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--color-text-primary);
  letter-spacing: -0.5px;
}

/* .problem-content {
  max-width: 800px;
  margin: 0 auto;
} */

/* .content-wrapper {
  padding: 0 var(--mobile-padding);
  max-width: var(--content-width);
  margin: 3rem auto;
} */
/* section:not(.overview-grid),
.next-steps {
  padding: 0 var(--mobile-padding);
  max-width: var(--content-width);
  margin: 3rem auto;
} */

.problem-content {
    max-width: calc(100% - (2 * var(--mobile-padding)));
    margin: 0 auto;
}

.problem-subheader {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.problem-text {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: var(--paragraph-weight);
  color: var(--color-text-secondary);
  line-height: 1.6;
  letter-spacing: -0.2px;
}

/* projects page */
.projects-page {
    background-color: var(--background-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 4rem 2rem;
    flex: 1; */
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 0 var(--mobile-padding);
}

/* .projects-container .projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem; */
    /* grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem; 
} */

/* .projects-container .project-card {
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.projects-container .project-image {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.projects-container .project-image img {
    width: 100%;
    height: auto;
    min-height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.projects-container .project-content {
    padding: 0 1rem;
    text-align: left;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
} 

.projects-container .project-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
} */

/* Projects section */

/* .project-header {
  margin-top: 5rem;
  display: flex;
  white-space: nowrap;
  width: 100% !important;
  height: clamp(3em, 10vw, 6em);
  overflow: hidden;
} 

.project-header h1 {
  font-weight: var(--fw-medium);
} */

.project-header {
  max-width: 1200px;
  /* margin: 0 auto 3rem; */
  margin: 0 auto;
  padding: 0 var(--mobile-padding);
  margin-bottom: 3rem;
}

.project-header h1 {
  font-size: 3rem;
  font-weight: var(--fw-medium);
  color: var(--color-accent-primary);
  margin-bottom: 1rem;
}

.project-header .highlight-word {
  color: var(--color-accent-secondary);
}

/* .projects-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
} 

.project-container {
    display: flex;
    flex-direction: column;
    gap: 6rem;
} */

.project-card {
  display: flex;
  gap: 3rem;
  /* align-items: center; */
  padding: 2.5rem;
  border-radius: 16px;
  margin: 20px;
  background: var(--background-color);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

/* .projects-page .project-image {
    width: 100%;
    height: auto;
    min-height: 250px; /* Minimum height for mobile 
    object-fit: cover;
    transition: transform 0.3s ease;
} */

.project-image {
  flex: 1;
  /* min-width: 0; */
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  /* min-height: 300px; */
  min-height: 200px;
}

.project-image img {
  width: 100%;
  height: 100%; /* 400px; */
  object-fit: cover;
  transition: transform 0.5s ease;
  /* border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
}

/* SPECIFIC TARGETING for Audio Dichotics image */
.project-card:nth-child(3) .project-image img,
img[alt="audio dichotics home page mockup"] {
  object-fit: contain !important; /* Zooms out instead of cropping */
}


.project-card:hover .project-image img {
  transform: scale(1.05);
}

/* .project-image:hover img {
    opacity: 0.85;
    transform: translateY(-2px);
}

.project-image.umrf {
    background-color: #E8F6FF;
} */

.project-content {
    flex: 1;
    display: flex;
    /* min-width: 0;
    text-align: left; */
    flex-direction: column;
    justify-content: center;
}

.project-categories {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.project-category {
    display: inline-block;
    /* padding: 0.25rem 0.75rem; */
    flex: 0 0 auto;
    align-self: flex-start;
    /* padding: 0.4rem 0.9rem; */
    padding: 0rem 0.4rem;
    border-radius: 50px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
    background: transparent;
    border: 1px solid var(--color-text-primary);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-weight: 500;
    white-space: nowrap;
}

.project-content span.project-category + span.project-category {
    margin-left: 0.5rem;
}

/* .project-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.project-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-content h3 a:hover {
    color: var(--color-text-secondary);
    text-decoration: underline;
}

.project-content p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 200;
    color: var(--color-text-secondary);
} */

.project-title {
  font-size: 1.5rem;
  font-weight: var(--fw-medium);
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}

.project-description {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-weight: var(--fw-regular);
}

.project-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.project-page .metric-label {
  color: var(--color-text-primary) !important;
}


.metric-label {
  color: var(--color-accent-tertiary);
  font-size: 1.5rem;
  /* margin-top: 0.5rem; */
  font-weight: var(--fw-medium);
}

.project-actions {
  display: flex;
  gap: 1rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  background: var(--background-color);
  color: var(--color-accent-secondary);
  font-weight: var(--fw-medium);
  font-family: var(--font-primary);
  transition: all 0.3s ease;
  font-size: 1rem;
  border-radius: 50px;
  border: 1px solid rgba(90, 90, 90, 0.33);
  text-decoration: none;
}

.project-link:hover {
  background: var(--color-accent-primary);
  color: white;
  gap: 0.75rem;
  /* text-decoration: underline; */
}

.project-link .link-text {
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

/* Underline effect on hover */
.project-link .link-text::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.project-link:hover .link-text::after {
    width: 100%;
}

/* Scale effect on hover */
.project-link:hover .link-text {
    transform: scale(1.05);
    display: inline-block;
}

.project-link .arrow {
  transition: transform 0.3s ease;
}

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

/* Alternate layout for even projects */
/* .reverse-layout {
    flex-direction: row-reverse;
} */

.project-card:nth-child(even) {
    flex-direction: row-reverse;
}

.prototype-wrapper {
  max-width: 100%;
  width: 100%;
  height: auto;
  min-height: 450px;
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* Q */
.quote {
  font-family: var(--font-heading);
  font-size: 20px;
  font-style: italic;
  line-height: 140%;
  letter-spacing: 1%;
}

/* R */
.research-process-section {
  margin-bottom: 3rem;
}

.reflection-card {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-bottom: 1.5rem;
}

.reflection-card h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--color-accent-secondary);
}

.reflection-card p {
  font-weight: 300;
}

/* S */

/* small body text */
.small {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 150%;
  letter-spacing: 0%;
}

.section {
  padding: var(--section-padding);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.section-description {
  font-size: 1.2rem;
  color: var(--color-text-primary);
  margin-bottom: 2rem;
  max-width: 700px;
}

.section-description .highlight-word {
  color: var(--color-text-secondary);
}

/* .site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%; /* Adjust this percentage to control length 
  height: 2px;
  background-color: black;
} */

/* side quests section styles */
#side-quest {
  margin-top: 200px;
}

.side-quests-section {
  /* padding: 2rem 1rem; */
  padding: 2rem var(--mobile-padding);
  max-width: 1200px;
  margin: 0 auto;
  /* margin-top: 100px; */
}

.side-quests-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* grid-template-rows: repeat(2, 1fr); */
  gap: 10px;
}

/* .side-quest-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.side-quest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
} */

.side-quest-item {
  text-align: left;
}

.side-quest-image {
  /* width: 100%; */
  width: 450px;
  height: 250px;
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.side-quest-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.side-quest-card:hover .side-quest-image img {
  transform: scale(1.05);
}

.side-quest-content {
  /* padding: 1.5rem; */
  max-width: 420px;
  margin: 40px 0;
}

.side-quest-content h3 {
  line-height: 2rem;
}

/* .side-quest-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
  line-height: 1.3;
} */

.side-quest-description {
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.side-quest-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-accent-secondary);
  text-decoration: none;
  font-weight: var(--fw-regular);
}

.side-quest-link:hover {
  gap: 0.75rem;
  font-family: 'VT323', monospace;
  font-size: 1.2rem;
}

.arrow-right {
  width: 16px;
  height: 16px;
}

.summary h3 {
  font-size: 1rem;
  color: var(--color-accent-secondary);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: var(--fw-semibold);
}

.summary h2 {
  color: var(--color-text-primary);
  /* margin-bottom: 1.5rem; */
  /* font-size: 1.8rem; */
  margin-bottom: 1rem;
  font-weight: var(--fw-medium);
}

.summary p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--color-text-secondary);
  line-height: 1.6;
  letter-spacing: -0.2px;
}

.final-solution {
  padding: 0 var(--mobile-padding);
  margin-bottom: var(--section-padding);
}

.solution h4 {
  color: var(--color-accent-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.solution h3 {
  margin-bottom: 2rem;
  color: var(--color-text-primary);
}

.steps {
  display: block;
  text-align: center;
  font-family: var(--font-display);
  color: var(--lavender);
  letter-spacing: 1px;
}

/* umrf solution styles */
.solution-section {
  /* padding: 4rem 0; */
  padding: var(--section-spacing) 0;
}

.solution-content {
    max-width: calc(100% - (2 * var(--mobile-padding)));
    margin: 0 auto;
}

.solution-content p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: var(--paragraph-weight);
    color: var(--color-text-secondary);
    line-height: 1.6;
    letter-spacing: -0.2px;
}

/* .solution-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--mobile-padding);
} */

/* T */


/* U */
/* ul {
    list-style-type: none;
} */

/* .updated-wireframes-carousel {
  margin: 3rem 0;
}

.updated-wireframes-carousel.splide__slide {
  display: flex;
  justify-content: center;
  padding: 1rem;
}

.updated-wireframes-carousel.splide__slide img {
  width: 100%;
  max-width: 300px;
  height: auto;
} */

.ui-redesign-section {
  padding: 3rem 0;
}

/* V */
/* umrf site metric cards */
.value-cards {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.value-card {
  background-color: #fff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  flex: 1; 
  min-width: 150px; 
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); 
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-card__percentage {
    display: block;
    font-size: 2.5rem;
    font-weight: var(--fw-medium);
    color: var(--color-accent-tertiary); 
    line-height: 1;
    margin-bottom: 0.5rem;
}

.value-card__label {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-secondary); /
    text-transform: lowercase; 
}

.value-added-wrapper {
  /* padding: 3rem var(--mobile-padding) 1.5rem;
  max-width: var(--content-width);
  margin-bottom: var(--section-spacing); */
  padding: 0 var(--mobile-padding);
  max-width: var(--content-width);
  margin: 3rem auto;
}

.value-added-section {
  width: 100%;
  /* max-width: 800px; 
  margin: 0 auto; */
  max-width: calc(100% - (2 * var(--mobile-padding)));
}

.value-added-heading
/* .section-title */{
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 500;
  /* font-style: italic; */
  color: var(--color-text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.value-added-text {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--color-text-secondary);
  line-height: 1.6;
  letter-spacing: -0.2px;
}

/* figma prototypes styling */
.figma-embed {
  max-width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  width: 375px;
  height: 700px;
  display: block;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.mockup-section {
  padding: 4rem 1rem;
  background-color: #ffffff;
}

.mockup-wrapper {
  display: flex;
  justify-content: center;
  margin: 0 auto 4rem auto;
  width: 100%;
}

.video-mockup {
  /* max-width: 100%;
  margin: 2rem auto 4rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem; */
  border: none;
  /* width: 375px; */
  height: 500px;
  object-fit: cover;
  /* border-radius: 16px; 
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15); */
}

/* .styled-video {
  width: 80%;
  max-width: 700px;
  height: 500px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  display: block;
  object-fit: cover;
} */

/* W */


/* X */


/* Y */


/* Z */
/* Zig Zag Layout */
.zag .project-image {
  order: 2;
}

.zag .project-content {
  order: 1;
  text-align: right;
}




.skills {
    max-width: 68.75rem; 
    margin: auto;
    text-align: center;
    margin-top: 2.5rem;
}

.skills-header {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.skills-header img {
    padding: 1.25rem;
}


/* .projects {
    background-color: var(--bg-color);
    padding: 32px 0;
    margin-top: 2rem;
}
  
.project-pic {
    width: 65%;
    height: 60%;
}
  
.projects-container {
    text-align: center;
    width: 21.875rem;
    padding: 1rem;
}

.project-container p {
    padding: 0.4rem;
}

.projects-title {
    margin-bottom: var(--bottom-margin);
}

.project-details {
    margin-bottom: var(--bottom-margin);
}
  
.project-card {
    background-color: #fff;
    border-radius: 11px;
    box-shadow: 0 3px 10px var(--primary-shadow);
    padding: 20px;
    margin: 10px;
}


/* for min-width: smallest to largest */
/* Default: Mobile styles (no media query) */

/* Responsive  (tablet) */
@media (min-width: 768px) {
    :root {
        --section-padding: 6rem;
        --mobile-padding: 3rem;
    }

    .about-grid {
      /* flex-direction: row;
      justify-content: center;
      align-items: flex-start; */
      grid-template-columns: 1fr 1fr;
      grid-template-areas: 
          "heading image"
          "content image";
      align-items: start;
      gap: 3rem;
    }

    .about-heading {
      grid-area: heading;
      margin-top: 0;
      align-self: end;
      text-align: left;
      padding: 0rem var(--desktop-padding);
    }

    .about-image {
      grid-area: image;
      margin-bottom: 0;
      height: 100%;
      align-items: start;
    }

    .about-image img{
      max-width: 100%;
      height: auto;
      /* flex: 1; 
      height: 28rem;
      width: 28rem;
      object-fit: cover;
      background-color: white;
      padding: 1.5rem 1.5rem 3rem;
      border: 2px solid #fff;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      border-radius: 0;
      transform: rotate(-3deg);
      margin-top: 20px;
      animation: fadeInSkew 1.5s ease forwards;
      max-width: 100%;*/
    }

    .about-content {
      /* flex-direction: column;
      align-items: center;
      text-align: center; 
      max-width: 600px;
      padding: 0 1rem;*/
      grid-area: content;
    }

    .about-text {
      text-align: left;
      padding: 0 1rem;
    }

    .bio-title {
      font-family: var(--font-heading);
      font-size: 2rem;
      margin-bottom: 1rem;
      font-weight: bold;
    }

    .bio-text {
      line-height: 1.7;
      font-size: 1rem;
      margin-bottom: 1rem;
    }

    .contact-container {
      /* grid-template-columns: 1fr 1fr;
      align-items: center; */
      padding: 6rem 2rem;
    }
    
    .contact-content {
      text-align: center;
      margin: 0;
    }

    .comparison-subheader {
      grid-column: 1 / -1;
      margin-top: 0;
    }

    .content-wrapper {
      /* padding: 0 calc(var(--desktop-padding) + 2rem);
      max-width: calc(var(--content-width) - (2 * var(--desktop-padding))); */
      padding: 0 var(--desktop-padding);
    }

    /* .image-comparison {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      align-items: start;
    } */
  
    .hero img {
        height: 22rem;
        width: 22rem;
        padding: 1rem 1rem 2rem; /* adjusted padding for smaller screens */
        transform: rotate(0deg); /* keep it straight for simplicity */
    }

    /* .overview-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    } */

    .landing-image.umrf-hero {
        margin: 3rem auto 4rem; /* Increased top margin */
    }
    
    .landing-image.umrf-hero img {
        max-height: 600px;
    }

    .mobile-hero {
      display: none;
    }

    .desktop-hero {
      display: block;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr 1fr;
    }

    .navigation {
        display: flex !important;
        position: static;
        flex-direction: row;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto;
        padding: 0;
        gap: 2rem;
        background: transparent;
        box-shadow: none;
    }

    .linkedin-icon {
      margin-right: 0;
    }

    .navigation .linkedin-icon {
      display: inline-block;
    }

    .nav-right .linkedin-icon {
      display: none;
    }

    .hamburger-menu {
        display: none;
    }

    .persona-grid {
      grid-template-columns: 1fr 2fr;
      align-items: start;
      gap: 4rem;
    }

    .persona-title {
      font-size: clamp(2rem, 4vw, 3rem);
      line-height: 1.2;
    }

    .persona-description {
      /* display: grid;
       grid-template-columns: 1fr 1fr; 
      gap: 2rem; 
      max-width: 100%; */
      font-size: 1.2rem;
    }

    /* .persona-section {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    } */

    .projects-container {
      padding: 0 var(--desktop-padding);
    }

    .projects-container .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 5rem 3rem;
    }
    
    /* .projects-container .project-image {
        min-height: 320px;
    } */

    .project-header {
      padding: 2rem var(--mobile-padding);
    }

    /* .problem-section,
    .solution-section {
      padding: 6rem 0;  Maintain your vertical padding 
    } */

    /* section:not(.overview-grid),
    .next-steps {
      padding: 0 calc(var(--desktop-padding) + 2rem);
    } */
    
    .section-title {
        font-size: 2.5rem;
    }
    
    /* .problem-content {
        padding: 0 2rem;
    } */
    
    .splide__slide img {
        max-height: 600px;
        max-width: 400px;
    }

    .solution-section {
        padding: 6rem 0;
    }
    
    /* .solution-content {
        padding: 0 2rem;
    } */

    .summary {
        grid-column: 1;
    }

    /* .overview-grid,
    .value-added-wrapper {
        padding: 0 var(--desktop-padding); 
    } */

    .value-added-wrapper,
    .problem-section .container,
    .solution-content {
        /* padding-left: calc(var(--desktop-padding) + var(--content-indent));
        padding-right: calc(var(--desktop-padding) + var(--content-indent)); */

        padding: 0 calc(var(--desktop-padding) + 2rem);
    }
    
    /* Special grid alignment for overview */
    .overview-grid {
        /* grid-template-columns: 1fr 1fr;
        gap: 4rem;
        padding-left: calc(var(--desktop-padding) + 2rem);
        padding-right: calc(var(--desktop-padding) + 2rem); */
        grid-template-columns: 2fr 1fr;
        gap: 4rem;
        /* padding: 0 calc(var(--desktop-padding) + 2rem); */
    }

    .problem-content {
        margin: 0; /* Remove auto centering */
        padding: 0;
    }

    .ui-redesign-section {
        padding: 4rem 0;
    }

    .value-added-heading,
    .section-title {
        font-size: 2.5rem;
    }
    
    .value-added-text,
    .problem-text,
    .solution-content p {
        font-size: 1.2rem;
    }

    .value-added-section,
    .problem-content,
    .solution-content {
        max-width: calc(
            (var(--content-width) / 2) - var(--desktop-padding) - (var(--gap) / 2)
        );
    }

    /* .value-added-wrapper,
    .overview-grid {
        padding: 0 calc(var(--mobile-padding) + 2rem);
    } */
}

/* Hide on mobile menu desktop */
@media (min-width: 769px) {
    .floating-mobile-menu {
        display: none;
    }
}

/* Tablet adjustments (768px-1024px) - keep side-by-side but adjust spacing */
@media (min-width: 768px) and (max-width: 1024px) {
    .landing-image.umrf-hero img {
        max-height: 70vh;
    }

    /* .value-added-wrapper,
    .overview-grid {
        padding: 0 calc(var(--mobile-padding) + 4rem);
    } */

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Optional: Make the third card span full width if you have 3 metrics 
    .metrics-grid .metric:nth-child(3) {
        grid-column: span 2;
        max-width: 50%; 
        justify-self: center;
    } */
  
    .project-card {
        gap: 3rem; /* Slightly reduced gap */
    }
    .project-image {
        flex: 0 0 45%; /* Prevent image from stretching */
        min-width: 0;
    }
    .project-image img {
        height: auto;
        max-height: 300px;
        width: 100%;
        object-fit: contain;
    }
}

@media (min-width: 1024px) {
  :root {
    --section-padding: 8rem;
    --mobile-padding: 5rem;
  }

  .contact-container {
    padding: 8rem 2rem;
  }

  /* .container {
    padding: 0 3rem;
  } */
  
  nav {
    padding: 2rem var(--mobile-padding);
  }
  
  .landing-image img {
    max-height: 70vh;
    /* object-fit: cover; */
  }

  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .project-page .metrics-grid.two-metrics {
      grid-template-columns: repeat(2, minmax(300px, 1fr));
  }

  .metric {
    padding: 2rem;
  }

  .projects-container .project-image img {
    min-height: 380px;
  }
  
  .projects-container .project-title {
    font-size: 2rem;
  }
  
  .project-excerpt {
    font-size: 1.1rem;
  }

  .project-header h1 {
    padding: rem var(--desktop-padding);
  }

  .problem-section {
    padding: 8rem 0;
  }

  .section-description {
    padding: rem var(--desktop-padding);
  }
    
  .section-title {
    font-size: 3rem;
  }

  .solution-section {
    padding: 8rem 0;
  }

  .ui-redesign-section {
    padding: 5rem 0;
  }
}

/* For very large screens (Desktop) */
@media (min-width: 1200px) {
    .about-heading h1 {
        font-size: 4rem;
    }

    .about-grid {
        gap: 4rem;
    }

    .footer-container {
        max-width: 1400px;
        margin: 0 auto;
        /* padding: 0 var(--desktop-padding); */
    }

    .hero-tag {
      font-size: 4rem;
      margin-bottom: 3.5rem;
    }

    .desktop-hero .hero-description {
      font-size: 2.2rem;
      margin-bottom: 3rem;
      line-height: 2.5rem;
    }

    .hero-subtext {
      font-size: 2rem;
      margin-bottom: 1.75rem;
    }

    .role-label {
      font-size: 1.1rem;
    }

    .role-title {

    }
}

/* for max-width: largest to smallest */
/* Default: Desktop styles (no media query) */

@media (max-width: 1024px) {

    :root {
        --desktop-padding: 4rem;
        --gap: 4rem; 
    }

    .project-card {
        /* gap: 4rem;
        margin: 40px; */
        gap: 2rem;
        padding: 2rem;
    }
    
    .project-image img {
        height: 400px; /* Restore original height */
    }

    .project-card,
    .project-card:nth-child(even) {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }

    .project-image {
        width: 100%;
    }
    
    .project-image img {
        /* height: 300px; */
        height: auto;
        max-height: 300px;
        width: 100%;
        object-fit: contain; 
    }

    .project-content {
        width: 100%;
    }

    .project-categories {
      margin-bottom: 1rem;
    }
    
    /* Center only the category tag on mobile */
    .project-category {
        /* display: table; */
        display: inline-block;
        /* margin-left: 0;
        margin-right: 0;
        margin-right: auto; */
        margin: 0;
        padding: 0.35rem 0.8rem;
    }

    /* For projects with multiple categories */
    .project-content span.project-category + span.project-category {
        margin-left: 0.5rem; /* Add space between multiple categories */
    } 
    
    /* Ensure project title text alignment matches other projects */
    .project-content h3 {
        text-align: left;
    }
    
    /* Fix the last project's special layout 
    .project-card:last-child .project-content {
        text-align: left;
    } */

    .project-card:first-child .project-content {
        text-align: left;
    }

    .project-title {
      font-size: 1.6rem;
    }

    .project-description {
      font-size: 1rem;
    }

    .metric-label {
      font-size: 1.1rem;
    }

    .value-added-section {
        padding-right: calc(var(--gap) / 2); 
    }
}

 /* Small Tablets - still side by side */
@media (max-width: 900px) {
    .project-card {
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .project-title {
        font-size: 1.4rem;
    }
    
    .project-image {
        min-height: 250px;
    }
}

/* Maintain side-by-side layout down to 768px */
@media (max-width: 768px) {
    .body {
      padding: 1rem;
    }

    .annotation-text {
      white-space: normal;
      width: 200px; 
      text-align: center;
      line-height: normal;
      max-width: 80vw;
      padding: 0.4rem 0.8rem;
      border-radius: 30px;
      font-size: 0.8rem;
      word-wrap: break-word;
    }

    .annotation-dot:hover .annotation-text {
      /* Disable hover on mobile */
      opacity: 0;
    }
    
    .annotation-dot.active .annotation-text {
      /* Enable active state on mobile */
      opacity: 1;
    }

    .back-to-top {
      bottom: 1.5rem;
      right: 1.5rem;
    }
    
    .top-btn {
      width: 44px;
      height: 44px;
    }

    .contact-container {
      padding: 3rem 1.5rem;
    }

    .footer-header {
      font-size: 3rem;
    }

    .footer-content {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .footer-social {
      order: 1;
      flex-direction: column;
      gap: 1rem;
    }
    
    .footer-copyright {
      order: 2;
    }

    .hamburger-menu {
        display: block;
        position: relative;
        /* order: 3;
        margin-left: auto; */ 
    }

    .hero-tag {
      font-size: 2.5rem;
    }

    .hero-description {
      font-size: 1.2rem;
    }

    .mobile-hero {
      display: block;
    }

    .desktop-hero {
      display: none;
    }
  
    .landing-image {
        margin-bottom: 2.5rem;
    }

    .floating-mobile-menu {
        /* position: fixed;
        right: 0.8rem;
        z-index: 1000; */
        position: relative;
        display: inline-block;
    }

    .menu-toggle {
        /* background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 12px; */
        background: none; 
        backdrop-filter: none; 
        border: none; 
        border-radius: 0;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); */
        transition: all 0.3s ease;
        margin: 0;
        padding: 0;
    }

    /* .menu-toggle:hover {
        background: rgba(255, 255, 255, 1);
        transform: scale(1.05);
    } */

    .menu-toggle img {
      width: 40px;
      height: 40px;
    }

    .close-menu {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        background: none;
        border: none;
        cursor: pointer;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0.7;
        transition: opacity 0.2s ease;
    }

    .close-menu:hover {
        opacity: 1;
    }


    .menu-container {
        background: rgba(255, 255, 255, 0.85); 
        backdrop-filter: blur(20px);
        border-radius: 16px;
        border: 1px solid rgba(0, 0, 0, 0.15);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        padding: 0.75rem;
        /* min-width: 140px; */
        position: absolute;
        /* top: 100%; */
        top: 0;
        right: 0;
        width: auto;
        min-width: 160px;
        /* margin-top: 0.5rem; */
        opacity: 0;
        visibility: hidden;
        /* transform: translateY(-10px); */
        transform-origin: top right;
        transition: all 0.3s ease;
        padding-top: 2rem;
    }

    .floating-mobile-menu.active .menu-container {
        opacity: 1;
        visibility: visible;
        /* transform: translateY(0); */
        transform: scale(1);
    }

    /* Hide the toggle button when menu is open */
    .floating-mobile-menu.active .menu-toggle {
        opacity: 0;
        visibility: hidden;
    }

    .menu-label {
        font-size: 0.8rem;
        font-weight: var(--fw-semibold);
        color: var(--color-text-secondary);
        margin-bottom: 0.5rem;
        padding: 0 0.5rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .menu-items {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .menu-item {
        display: block;
        padding: 0.5rem 0.75rem;
        border-radius: 8px;
        font-size: 0.875rem;
        color: var(--color-text-primary);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.2s ease;
        white-space: nowrap;
    }

    .menu-item:hover {
        background: rgba(87, 85, 254, 0.1);
        color: var(--color-accent-secondary);
    }

    .menu-divider {
        height: 1px;
        background: rgba(0, 0, 0, 0.1);
        margin: 0.5rem 0;
    }

    .navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0; /* Remove gap between items */
        padding: 1rem 0; /* Reduced padding */
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.35s ease, transform 0.35s ease;
        z-index: 999;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        visibility: hidden;
    }

    .nav-right {
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .navigation.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        transition: opacity 0.35s ease, transform 0.35s ease;
    }

    .navigation li {
        width: 100%;
        list-style: none;
    }

    .navigation .nav-link {
        color: var(--color-text-primary) !important;
        text-decoration: none;
        font-weight: var(--fw-semibold);
        padding: 1rem 1.5rem;
        display: block;
        width: 100%;
        text-align: center;
        transition: all 0.3s ease;
        background-color: transparent !important;
        border: none !important;
        margin: 0;
    }

    .navigation .nav-link:hover {
        color: var(--color-accent-secondary) !important;
        background-color: #f8f8f8 !important;
        transform: none;
    }

    /* Style the LinkedIn icon in the menu */
    .navigation .linkedin-icon {
        background-color: transparent !important;
        border: none !important;
        padding: 1rem 1.5rem;
        display: flex;
        justify-content: center;
        margin: 0;
    }

    .navigation .linkedin-icon {
        display: none;
    }

    /* .linkedin-icon {
        margin-right: 0.5rem;
    }

     .nav {
        position: relative;
        flex-wrap: wrap;
    }

    .navigation {
        position: absolute;
        top: 100%;
        right: 0;
        width: 0;
        /* height: 100vh; */
        /* background: var(--alt-bg-color);
        flex-direction: column;
        /* justify-content: center; 
        align-items: center;
        gap: 1rem;
        padding: 1.5rem 0;
        display: none;
        opacity: 0;
        transform: translateX(100%);
        pointer-events: none;
        transition: all 0.3s ease;
        z-index: 999;*/
        /* transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        padding-top: 80px;
        margin: 0;
        display: flex; 
    } */

    /*.navigation.active {
         transform: translateX(0);
        display: flex;
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
    } */
    
    /*.navigation li {
        margin: 1.5rem 0;
    }
    
    .linkedin-icon {
        order: 3;   Positions it between name and hamburger 
        margin-left: auto; 
    }*/
    
    /* When menu is active 
    .hamburger.active .hamburger-icon {
        opacity: 0;
    }

    .hamburger.active .close-icon {
        opacity: 1;
    }*/
    
    .persona-title {
      font-size: 1.5rem;
      text-align: left;
    }

    .persona-section {
      gap: 1.5rem;
    }

    .prototype-wrapper iframe {
        min-height: 300px;
    }
    
    .overview-grid { grid-template-columns: 1fr; }

    .project-actions {
      justify-content: center;
    }
  
    .project-card,
    .project-card:nth-child(even) {
        flex-direction: column;
        /* gap: 2rem; */
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .project-image {
        height: 250px;
        /* max-height: 300px; */
        width: 100%;
        min-height: auto;
    }
    
    .project-image img {
        height: auto;
        max-height: 300px;
        width: 100%;
        object-fit: contain;
    }
    
    .project-content {
        width: 100%;
    }
    
    /* Multiple categories */
    .project-content span.project-category + span.project-category {
        margin-left: 0.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

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

    .site-footer {
      padding: 4rem var(--mobile-padding) 2rem;
    }

    .styled-video {
        max-width: 90vw;
        border-radius: 12px;
    }

    .video-mockup {
        padding: 1rem 0.5rem 5rem 0.5rem;
    }
}

@media (max-width: 767px) {
  .value-added-wrapper,
  .problem-section .container,
  .solution-content {
      padding-left: var(--mobile-padding);
      padding-right: var(--mobile-padding);
  }

  .project-page .metrics-grid.two-metrics {
      grid-template-columns: 1fr;
      max-width: 400px;
      margin-left: auto;
      margin-right: auto;
  }

  .navigation {
    padding: 2rem 1rem 1rem;
  }

  .navigation .linkedin-icon {
      display: none; /* hide inside-nav version */
  }

  .nav-right .linkedin-icon {
      display: inline-block;
  }
}

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-left, .footer-right {
    width: 100%;
    justify-content: center;
  }
}

/* for mobile screens */
@media (max-width: 480px) {
    .annotation-text {
        width: 160px;
        padding: 0.35rem 0.7rem;
        font-size: 0.6rem;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
    }

    .top-btn {
        width: 40px;
        height: 40px;
    }

    .top-btn svg {
        width: 20px;
        height: 20px;
    }
  
    .contact-container {
        padding: 3rem 1.5rem;
    }

    .contact-content h1 {
        font-size: 2.5rem;
    }

    .hero {
      margin-bottom: 100px;
    }

    /* .hero-tag, .hero-description, .hero-subtext, .current-role {
      text-align: center;
    }

    .role-title {
      flex: none;
      width: auto;
      height: auto;
      position: relative;
    }

    .view-work-button {
      display: flex;
        justify-content: center;
        width: 60%;
        margin: 0 auto;
    } */

    .projects-container {
        /* padding: 3rem 1.5rem;
        gap: 2rem; */
        padding: 2rem 1rem;
        gap: 2.5rem;
    }

    /* .project-container .project-image {
        margin-bottom: 1.25rem;
    } */

    .project-image {
        min-height: 200px; /* Reduced from 300px */
        margin-bottom: 0; /* Remove extra gap */
        flex: none; /* Prevent flex growing */
    }

    .project-image img {
        height: 200px; /* Fixed height for consistency */
        object-fit: cover;
    }
    
    .projects-container .project-title {
        font-size: 1.5rem;
    }

    .project-categories {
        justify-content: flex-start; /* Left align */
        gap: 0.375rem; /* Slightly smaller gap */
        margin-bottom: 1rem;
    }

    .project-category {
        font-size: 0.65rem; /* Slightly smaller */
        padding: 0.25rem 0.5rem; /* Adjusted padding */
        margin-bottom: 0; /* Remove individual margin */
        margin-left: 0 !important; /* Force remove left margin */
        align-self: flex-start; /* Ensure left alignment */
    }

    /* Remove the + margin specifically for mobile */
    .project-content span.project-category + span.project-category {
        margin-left: 0.375rem !important;
    }


    .project-header h1 {
      line-height: 1;
    }

    .project-stats {
        flex-direction: column;
        /* align-items: flex-start; */
        align-items: center;
        gap: 1rem;
    }
    
    .project-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .project-link {
        width: 100%;
        justify-content: center;
    }
    
    .project-card {
        /* padding: 1.5rem; */
        padding: 1rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .projects-container {
        gap: 2rem;
    }

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

    .side-quests-section {
        padding: 1.5rem 1rem;
    }

    .side-quests-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* .side-quest-content {
        padding: 1.25rem;
    } */
    
    /* .side-quest-title {
        font-size: 1.25rem;
    } */
    
    .side-quest-image {
        height: 200px;
        width: auto;
    }

    .site-footer {
      padding: 4rem var(--mobile-padding) 2rem;
    }

    .value-added-section {
        padding-right: calc(var(--gap) / 2); 
    }
}

