.big-title{
    font-size: 5.5rem;
    margin-bottom: 0;
}

.subtitle{
    color: white;
    background: #25ba97;
    padding: 18px;
    font-style: italic;
    letter-spacing: 0.02rem;
    margin-top: 0;
    font-family: var(--font-sans);
}


.main{
    margin-top: 65px;
}

h2{
    border-bottom: 8px solid #25ba97;
    padding-bottom: 4px;
}

.hairline-bottom{
    border-bottom: 1px solid #25ba97;
}

.block-border-top{
    border-top: 16px solid #25ba97;
    margin-top: 75px;
}


ul.tag-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  ul.tag-list li {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #e0e0e0;
    color: #333;
    border-radius: 999px;
    font-size: 0.875rem;
    line-height: 1;
    white-space: nowrap;
  }
  

  .caseStudy{
    border: 1px solid #25ba97;
  border-radius: 8px;
  margin-bottom: 40px;
  padding: 0px 22px 24px 22px;
  }

  .tint-image{
    filter: brightness(0) saturate(100%) invert(55%) sepia(45%) saturate(728%) hue-rotate(120deg) brightness(95%) contrast(87%);

  }

  h2{
    margin-top: 75px;
  }



.spacer{
    margin-top: 25px;
}

.email-button {
  display: inline-block;
  background-color: #159e7e;
  color: white;
  padding: 0.2em 0.8em;

  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.email-button:hover {
  background-color: #37b195; 
  color: white;
}



.card-container {
  perspective: 1000px;
margin-top: 20px;
}
.float-card {
  width: 100%;
  height: 100%;
 padding: 10px 15px;
  border-radius: 16px;
  transition: transform 0.1s ease-out;
  transform-style: preserve-3d;
  will-change: transform;

  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1), 
              0 8px 20px rgba(0, 0, 0, 0.15);
}


.bio-pic{
  margin-top: 10px;
  border-radius: 16px;
}


.polaroid-stack {
  position: relative;
  width: 320px;
  height: 320px;
  perspective: 1000px;
  cursor: pointer;
  margin-top: 1rem;
  transition: transform 0.3s ease;
}

.polaroid-stack:hover {
  transform: scale(1.05);
}

.polaroid-stack:hover .polaroid:nth-child(1) {
  --angle: -15deg;
  --depth: 0px;
}
.polaroid-stack:hover .polaroid:nth-child(2) {
  --angle: 0deg;
  --depth: 15px;
}
.polaroid-stack:hover .polaroid:nth-child(3) {
  --angle: 15deg;
  --depth: 30px;
}


.polaroid-stack .polaroid {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 300px;
  background: white;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  transform-origin: center center;
  transition: transform 0.4s ease, z-index 0s;
  transform: rotateZ(var(--angle, 0deg)) translateZ(var(--depth, 0px));
}

.polaroid-stack .polaroid:nth-child(1) { --angle: -6deg; --depth: 0px; z-index: 1; }
.polaroid-stack .polaroid:nth-child(2) { --angle: 3deg; --depth: 10px; z-index: 2; }
.polaroid-stack .polaroid:nth-child(3) { --angle: -2deg; --depth: 20px; z-index: 3; }
/* Add more if needed */


.caseStudy-content {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.caseStudy-content.row-reverse {
  flex-direction: row-reverse;
}

.caseStudy-text {
  flex: 2 1 60%;
  min-width: 300px;
}

.caseStudy-images {
  flex: 1 1 30%;
  min-width: 240px;
}


.caseStudy:nth-of-type(even) .caseStudy-images{
  position: relative;
  left: -60px !important;
}

.caseStudy-text p strong {
  color: #444;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 0.25em;
}

.caseStudy-text p:nth-of-type(2) {
  font-size: 1.05em;
}
