/*  General */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

p {
  color: rgb(85, 85, 85);
}

/* Transition */

a,
.btn {
  transition: all 300ms ease;
}

/*  Desktop - Nav  */

nav,
.nav-links {
  display: flex;
}

nav {
  justify-content: space-around;
  align-items: center;
  height: 17vh;
}

.nav-links {
  gap: 2rem;
  list-style: none;
  font-size: 1.5rem;
}

a {
  color: black;
  text-decoration: none;
  text-decoration-color: white;
}

a:hover {
  color: grey;
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color: rgb(181, 181, 181);
}

.logo {
  font-size: 2rem;
}

.logo:hover {
  cursor: default;
}

/*  Hamburger - Nav */

#hamburger-nav {
  display: none;
}

.hamburger-menu {
  position: relative;
  display: inline-block;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: black;
  transition: all 0.3 ease-in-out;
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3 ease-in-out;
}

.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  color: black;
  text-decoration: none;
  transition: all 0.3 ease-in-out;
}

.menu-links li {
  list-style: none;
}

.menu-links.open {
  max-height: 300px;
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
  transform: none;
}

.hamburger-icon span:nth-child(2) {
  opacity: 1;
}

.hamburger-icon span:last-child {
  transform: none;
}

/* - Sections - */

section {
  padding-top: 4vh;
  height: 96vh;
  margin: 0 10rem;
  box-sizing: border-box;
  min-height: fit-content;
}

.section-container {
  display: flex;
}

/* Profile Section */

#profile {
  display: flex;
  justify-content: center;
  gap: 5rem;
  height: 80vh;
}

.section__pic-container {
  display: flex;
  height: 400px;
  width: 400px;
  margin: auto 0;
}

.section__pic-container .main_pic {
  border-radius: 50%;
}

.section__text {
  align-self: center;
  text-align: center;
}

.section__text p {
  font-weight: 600;
}

.section__text__p1 {
  text-align: center;
}

.section__text__p2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.title {
  font-size: 3rem;
  text-align: center;
}

#socials-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}

/* Icons */

.icon {
  cursor: pointer;
  height: 2rem;
}

/* Buttons */

.btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  font-weight: 600;
  transition: all 300ms ease;
  padding: 1rem;
  width: 8rem;
  border-radius: 2rem;
}

.btn-color-1,
.btn-color-2 {
  border: rgb(53, 53, 53) 0.1rem solid;
}

.btn-color-1:hover,
.btn-color-2:hover {
  cursor: pointer;
}

.btn-color-1,
.btn-color-2:hover {
  background: rgb(53, 53, 53);
  color: white;
}

.btn-color-1:hover {
  background: #000;
}

.btn-color-2 {
  background: none;
}

.btn-color-2:hover {
  border: rgb(255, 255, 255) 0.1rem solid;
}

/* About Section */

#about {
  position: relative;
}

.about-containers {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.about-details-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.about-pic {
  border-radius: 2rem;
}

.details-container {
  padding: 1.5rem;
  flex: 1;
  background: white;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  text-align: center;
}

.section-container {
  gap: 4rem;
  height: 80%;
}

.arrow {
  position: absolute;
  right: -5rem;
  bottom: 2.5rem;
}

/* Experience Section */

#about {
  font-size: large;
}

#experience {
  position: relative;
}

.experience-sub-title {
  color: rgb(85, 85, 85);
  font-weight: 600;
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.experience-deatils-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.article-container {
  display: flex;
  text-align: initial;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 2.5rem;
  justify-content: space-around;
}

article {
  display: flex;
  width: 10rem;
  justify-content: space-around;
  gap: 0.5rem;
}

article .icon {
  cursor: default;
}

/* Project Section */

#projects {
  position: relative;
}

#projects .about-containers {
  flex-wrap: wrap;
  justify-content: center;
}

#projects .details-container {
  box-sizing: border-box;
  flex: none;
  width: calc((100% - 4rem) / 3);
}

.color-container {
  border-color: rgb(163, 163, 163);
  background: rgb(250, 250, 250);
}

.project-img {
  border-radius: 2rem;
  width: 90%;
  height: 90%;
}

.project-title {
  margin: 1rem;
  color: black;
}

.project-btn {
  color: black;
  border-color: rgb(163, 163, 163);
}

/* Contact Section */

#contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 70vh;
}

.contact-info-upper-container {
  display: flex;
  justify-content: center;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  background: rgb(250, 250, 250);
  margin: 2rem auto;
  padding: 0.5rem;
}

.contact-info-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem;
}

.contact-info-container p {
  font-size: larger;
}

.contact-icon {
  cursor: default;
}

.email-icon {
  height: 2.5rem;
}

/* Footer Section */

footer {
  height: 26vh;
  margin: 0 1rem;
}

footer p {
  text-align: center;
}

/* Case study page */

.case-study-body {
  min-height: 100vh;
  background: #fff;
}

/* Override global `section` rules (10rem side margins, 96vh height) for case study content */
.case-study-body section.case-block {
  margin: 0;
  height: auto;
  min-height: 0;
  padding-top: 0;
  box-sizing: border-box;
}

.case-study-body .case-nav-bar {
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  height: auto;
  min-height: 17vh;
  padding: 1rem 0;
}

.case-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  list-style: none;
  font-size: 1.1rem;
}

.case-nav-links a {
  font-weight: 500;
}

.case-nav-links li:not(:first-child) a {
  font-weight: 400;
}

.case-nav-links li:not(:first-child)::before {
  content: "|";
  color: rgb(163, 163, 163);
  margin-right: 0.75rem;
  font-weight: 400;
  user-select: none;
}

.case-nav-links li:first-child a {
  font-weight: 600;
  font-size: 1.25rem;
}

.case-nav-sep {
  color: rgb(163, 163, 163);
  user-select: none;
  padding: 0 0.15rem;
}

.case-study-main {
  width: 100%;
  max-width: 52rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 5vw, 2.5rem) clamp(2.5rem, 6vw, 4.5rem);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 3vw, 1.75rem);
}

.case-study-main .section__text__p1 {
  text-align: left;
  margin-bottom: 0.25rem;
}

.case-study-main .title {
  text-align: left;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.2;
  margin-bottom: 0.5rem;
  word-wrap: break-word;
}

.case-study-tagline {
  font-size: 1.05rem;
  font-style: italic;
  color: rgb(85, 85, 85);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.case-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  font-size: clamp(0.9rem, 2.2vw, 0.95rem);
  color: rgb(85, 85, 85);
  margin-bottom: 1.5rem;
}

.case-meta-row span {
  white-space: nowrap;
}

.case-meta-sep {
  color: rgb(200, 200, 200);
  user-select: none;
}

.case-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.case-hero-actions .btn {
  width: auto;
  min-width: min(100%, 10rem);
  max-width: 100%;
  padding: 0.85rem 1.25rem;
  flex: 1 1 auto;
}

/* Borderless document-style sections (no card outline) */
.case-block.case-section,
.case-study-body .case-block {
  margin-top: 0;
  padding: clamp(0.5rem, 1.5vw, 0.75rem) 0 clamp(1.5rem, 3vw, 2rem);
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  text-align: left;
  min-width: 0;
}

.case-block h2 {
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: rgb(53, 53, 53);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.case-block p,
.case-block li {
  color: rgb(85, 85, 85);
  line-height: 1.65;
  font-size: 1rem;
}

.case-block ul {
  margin: 0;
  padding-left: 1.25rem;
}

.case-block li {
  margin-bottom: 0.5rem;
}

.case-block .case-list-check {
  list-style: none;
  padding-left: 0;
}

.case-block .case-list-check li {
  padding-left: 1.5rem;
  position: relative;
}

.case-block .case-list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: rgb(53, 53, 53);
  font-weight: 600;
}

.case-process-line {
  color: rgb(85, 85, 85);
  line-height: 1.65;
  font-size: 1rem;
  margin: 0;
}

.case-component-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.case-component-tags span {
  padding: 0.35rem 0.6rem;
  border-radius: 0.35rem;
  border: none;
  background: rgb(241, 243, 245);
  font-size: 0.85rem;
  color: rgb(53, 53, 53);
}

.case-states-note {
  font-size: 0.9rem;
  margin-top: 0.75rem;
  color: rgb(85, 85, 85);
  line-height: 1.6;
}

.case-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
}

.case-deliverables span {
  font-size: 0.95rem;
  color: rgb(85, 85, 85);
}

.case-next-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: black;
}

.case-next-link:hover {
  color: grey;
}

.case-study-footer {
  width: 100%;
  max-width: 52rem;
  margin: clamp(2rem, 5vw, 3rem) auto 2rem;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem);
  box-sizing: border-box;
  text-align: center;
  min-height: auto;
  height: auto;
}

.case-study-footer p {
  margin-top: 0.5rem;
}

.case-flow-intro {
  margin-top: 0.75rem;
}

.case-deliverables-heading {
  margin-top: 1rem;
  font-weight: 600;
  color: rgb(53, 53, 53);
}

.case-example-line {
  margin-top: 0.5rem;
}

.case-example-gallery {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2rem);
  margin-top: 1.25rem;
}

.case-example-figure {
  margin: 0;
}

.case-example-figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0.5rem;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
}

.case-example-figure figcaption {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: rgb(85, 85, 85);
  line-height: 1.5;
}

.case-video {
  margin-top: 1rem;
}

.case-video video {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0.5rem;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
}

.case-study-body a.logo {
  text-decoration: none;
  align-self: center;
}

.case-study-body a.logo:hover {
  color: grey;
  text-decoration: none;
  cursor: pointer;
}

/* Custom UI/UX Case Study Components for SamaySeva */
.problem-solution-wrapper {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.ps-card {
  flex: 1;
  min-width: 300px;
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border: 1px solid #eaeaea;
  border-top: 4px solid rgb(53, 53, 53);
}

.ps-card.solution {
  border-top: 4px solid #1a5e20;
}

.ps-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  color: rgb(53, 53, 53);
}

.custom-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.timeline-row {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  border-left: 4px solid #1a5e20;
}

.timeline-row .time-duration {
  font-weight: 600;
  color: #1a5e20;
  width: 80px;
  flex-shrink: 0;
}

.timeline-row .time-phase {
  font-weight: 500;
  color: #333;
}

.process-stages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.process-stage-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid #eaeaea;
}

.process-stage-card h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #1a5e20;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.stage-number {
  background: #f1b300;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  font-weight: bold;
}

.color-palette-display {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.color-swatch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.color-circle-shape {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.color-circle-shape.c-primary { background: #f1b300; }
.color-circle-shape.c-red { background: #d32f2f; }
.color-circle-shape.c-brand { background: #1a5e20; }
.color-circle-shape.c-ui { background: #f0f4f8; border: 1px solid #ccc; }

.color-swatch-item span {
  font-size: 0.85rem;
  font-weight: 500;
  color: #555;
}

.persona-cards-wrapper {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.persona-card {
  flex: 1;
  min-width: 280px;
  background: #f8f9fa;
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border: 1px solid #eaeaea;
}

.persona-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #1a5e20;
  flex-shrink: 0;
}

.persona-info h5 {
  font-size: 1.05rem;
  color: #1a5e20;
  margin-bottom: 0.5rem;
}

.persona-info p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

/* High Quality Visual Timeline */
.hq-timeline-container {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  border: 1px solid #f0f0f0;
  margin-top: 1rem;
}

.hq-timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hq-timeline-title h4 {
  font-size: 0.9rem;
  font-weight: 500;
  color: #555;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hq-timeline-title h2 {
  font-size: 2rem;
  color: #1a4a40;
  margin: 0;
}

.hq-timeline-desc {
  max-width: 500px;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

.hq-timeline-board {
  display: flex;
  justify-content: space-between;
  position: relative;
  height: 380px;
}

.hq-timeline-col {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.hq-col-top, .hq-col-bottom {
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  z-index: 3;
  background: #fff;
  padding: 4px 8px;
}

.hq-col-line {
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 50%;
  width: 1px;
  background: #d8d8d8;
  z-index: 1;
}

.hq-pill {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #e6e6e6;
  padding: 10px 30px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  z-index: 2;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.hq-pill.p-research { top: 60px; transform: translateX(-15%); padding-left: 40px; padding-right: 40px; }
.hq-pill.p-examine { top: 140px; transform: translateX(-55%); }
.hq-pill.p-ux { top: 210px; transform: translateX(-20%); }
.hq-pill.p-wireframe { top: 90px; transform: translateX(-50%); }
.hq-pill.p-userflow { top: 160px; transform: translateX(-10%); }
.hq-pill.p-uiux { top: 110px; transform: translateX(-60%); background: #1a4a40; color: white; padding-left: 35px; padding-right: 35px; }
.hq-pill.p-finalui { top: 190px; transform: translateX(-20%); background: #2557d6; color: white; padding-left: 35px; padding-right: 35px; }
.hq-pill.p-designsys { top: 260px; transform: translateX(-65%); }
.hq-pill.p-casestudy { top: 60px; transform: translateX(-50%); background: #fbdca1; color: #333; padding-left: 35px; padding-right: 35px; }

/* ARROW LIGHT THEME SPECIFIC STYLES */
body.arrow-theme {
  background-color: #fafafa;
  color: #333333;
}

body.arrow-theme h1, 
body.arrow-theme h2, 
body.arrow-theme h3, 
body.arrow-theme h4, 
body.arrow-theme h5 {
  color: #111827;
}

body.arrow-theme .section__text__p1,
body.arrow-theme .case-study-tagline,
body.arrow-theme p {
  color: #4b5563;
}

body.arrow-theme .case-meta-row span {
  color: #6b7280;
}

body.arrow-theme .case-meta-sep {
  color: #2563eb; /* Electric Blue separator */
}

/* Nav overrides for light mode */
body.arrow-theme .nav-links a, 
body.arrow-theme .logo {
  color: #111827;
}
body.arrow-theme .nav-links a:hover {
  color: #2563eb;
  text-decoration-color: #2563eb;
}
body.arrow-theme .hamburger-icon span {
  background-color: #111827;
}
body.arrow-theme footer {
  background: #fafafa;
  color: #4b5563;
}
body.arrow-theme footer p {
  color: #6b7280;
}

/* Problem / Solution Overlapping Layout */
.arrow-ps-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2rem;
}

.arrow-ps-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem;
  border-left: 4px solid #2563eb;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  position: relative;
  max-width: 90%;
  border-top: 1px solid #f3f4f6;
  border-right: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
}

.arrow-ps-card.solution {
  border-left: 1px solid #f3f4f6;
  border-right: 4px solid #10b981;
  align-self: flex-end;
  background: linear-gradient(145deg, #ffffff, #f0fdf4);
  box-shadow: 0 10px 40px rgba(16, 185, 129, 0.08);
}

.arrow-ps-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.arrow-ps-card.problem h3 { color: #111827; }
.arrow-ps-card.solution h3 { color: #059669; }

/* Horizontal Subway Map Timeline */
.arrow-timeline-container {
  background: #ffffff;
  padding: 3rem 2rem;
  border-radius: 16px;
  margin-top: 2rem;
  overflow-x: auto;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.arrow-timeline-track {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  min-width: 700px;
  padding: 2rem 0;
}

.arrow-timeline-line {
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 4px;
  background: #e5e7eb;
  transform: translateY(-50%);
  z-index: 1;
}

.arrow-timeline-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 120px;
}

.node-dot {
  width: 24px;
  height: 24px;
  background: #ffffff;
  border: 4px solid #2563eb;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
}

.node-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
}

.node-desc {
  font-size: 0.85rem;
  color: #4b5563;
  text-align: center;
}

.arrow-timeline-node:hover .node-dot {
  background: #2563eb;
  transform: scale(1.2);
}

/* Vertical Elevator Process Grid */
.arrow-elevator-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
  margin-top: 3rem;
}

.arrow-elevator-track {
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  border-left: dashed 2px #cbd5e1;
  z-index: 1;
}

.arrow-elevator-stage {
  display: flex;
  gap: 2rem;
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.elevator-number {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: #ffffff;
  border: 3px solid #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  color: #059669;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.elevator-content {
  flex: 1;
}

.elevator-content h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #111827;
}

.elevator-content p {
  color: #4b5563;
  line-height: 1.6;
}

/* Light Mode Personas */
body.arrow-theme .persona-card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

body.arrow-theme .persona-img {
  border-color: #2563eb;
}

body.arrow-theme .persona-info h5 {
  color: #2563eb;
}

body.arrow-theme .persona-info p {
  color: #4b5563;
}

/* General fixes for light mode */
body.arrow-theme .case-list-check li::before {
  color: #10b981;
}

body.arrow-theme .case-next-link:hover {
  color: #059669;
}

/* New Persona Layout for Arrow */
.arrow-new-persona {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-top: 3rem;
  margin-bottom: 4rem;
}

.arrow-new-persona.reverse {
  flex-direction: row-reverse;
}

/* Image styling */
.arrow-persona-image-wrapper {
  flex-shrink: 0;
  width: 280px;
  height: 320px;
  background: white;
  padding: 12px;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transform: rotate(-3deg);
  position: relative;
}

.arrow-new-persona.reverse .arrow-persona-image-wrapper {
  transform: rotate(3deg);
}

.arrow-persona-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* Connection dot */
.arrow-persona-image-wrapper::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: #cbd5e1;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Content styling */
.arrow-persona-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.arrow-new-persona.reverse .arrow-persona-content {
  align-items: flex-end;
  text-align: right;
}

.arrow-persona-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  color: #3b82f6;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.arrow-persona-name {
  font-family: Georgia, serif;
  font-size: 2.8rem;
  color: #1e1e2f;
  margin-bottom: 1.5rem;
}

.arrow-persona-name span {
  color: #94a3b8;
  font-style: italic;
}

.arrow-persona-quote {
  position: relative;
  font-size: 1.2rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 2rem;
  padding-left: 2rem;
}

.arrow-new-persona.reverse .arrow-persona-quote {
  padding-left: 0;
  padding-right: 2rem;
}

.arrow-persona-quote::before {
  content: '"';
  position: absolute;
  left: -10px;
  top: -10px;
  font-family: Georgia, serif;
  font-size: 4rem;
  color: #e2e8f0;
  line-height: 1;
}

.arrow-new-persona.reverse .arrow-persona-quote::before {
  left: auto;
  right: -10px;
}

.arrow-persona-quote strong {
  color: #1e1e2f;
  font-weight: 600;
}

.arrow-persona-tags {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.arrow-new-persona.reverse .arrow-persona-tags {
  justify-content: flex-end;
}

.arrow-persona-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #f1f5f9;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
}

@media (max-width: 768px) {
  .arrow-new-persona, .arrow-new-persona.reverse {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  .arrow-persona-content, .arrow-new-persona.reverse .arrow-persona-content {
    align-items: center;
    text-align: center;
  }
  .arrow-persona-quote, .arrow-new-persona.reverse .arrow-persona-quote {
    padding-left: 0;
    padding-right: 0;
  }
  .arrow-persona-quote::before, .arrow-new-persona.reverse .arrow-persona-quote::before {
    display: none;
  }
  .arrow-persona-tags, .arrow-new-persona.reverse .arrow-persona-tags {
    justify-content: center;
  }
}

/* Scroll Animations */
.scroll-animate {
  opacity: 0.3;
  filter: blur(5px);
  transform: scale(0.95);
  transition: opacity 0.8s ease-out, filter 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, filter, transform;
}

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

/* Keep Arrow case-study content crisp throughout long sections */
body.arrow-theme .scroll-animate {
  opacity: 1;
  filter: none;
  transform: none;
}

/* SaaS case study visual polish */
body.saas-theme {
  background:
    radial-gradient(circle at 10% -5%, rgba(99, 102, 241, 0.1), transparent 28%),
    radial-gradient(circle at 95% 8%, rgba(56, 189, 248, 0.14), transparent 26%),
    #ffffff;
}

body.saas-theme .case-block.case-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 252, 255, 0.9));
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: 16px;
  padding: clamp(1rem, 2vw, 1.35rem);
  margin-bottom: 1rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

body.saas-theme .title {
  background: linear-gradient(92deg, #111827 10%, #4338ca 55%, #0891b2 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.saas-metrics {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.saas-metric-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.9rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.saas-metric-value {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #312e81;
}

.saas-metric-label {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.4;
}

.saas-foundation-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.saas-foundation-card {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid #dbeafe;
  border-radius: 12px;
  padding: 0.9rem;
}

.saas-foundation-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: #1e3a8a;
}

.saas-foundation-card p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.5;
}

@media screen and (max-width: 900px) {
  .saas-metrics,
  .saas-foundation-grid {
    grid-template-columns: 1fr;
  }
}
