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

:root {

  --clr-dark: #171717;
  --clr-body: #7C7C7C;
  --clr-white: #FFFFFF;
  --clr-cyan: #00E5FF;
  --clr-green: #2ECC71;
  --clr-footer: #525CEB;
  --clr-card-bg: #1E1E1E;
  --clr-border: #2A2A2A;

  --ff-sans: 'Inter', system-ui, -apple-system, sans-serif;

  --sp-4: 4px;
  --sp-8: 8px;
  --sp-12: 12px;
  --sp-16: 16px;
  --sp-20: 20px;
  --sp-24: 24px;
  --sp-28: 28px;
  --sp-32: 32px;
  --sp-36: 36px;
  --sp-38: 38px;
  --sp-40: 40px;
  --sp-48: 48px;
  --sp-56: 56px;
  --sp-64: 64px;
  --sp-80: 80px;
  --sp-96: 96px;
  --sp-120: 120px;

  --container-max: 1232px;
  --container-max-2: 1100px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --radius-circle: 50%;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff-sans);
  color: var(--clr-body);
  background-color: var(--clr-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;

}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-24);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #171717;
  border-bottom: 1px solid var(--clr-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  font-size: 18px;
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: -0.02em;
}

.logo svg {
  width: 28px;
  height: 28px;
}

.logo-img {
  height: 36px;
  width: auto;
  filter: invert(1) brightness(2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-36);
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-white);
  position: relative;
  padding-block: var(--sp-4);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--clr-white);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--clr-cyan);
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  padding: 10px 20px;
  background: transparent;
  color: var(--clr-white);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid var(--clr-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.nav-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.4);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: var(--sp-8);
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: var(--transition);
}

.hero {
  background: var(--clr-white);
  padding-block: var(--sp-120);

}

/* .hero .container {
  max-width: 62%;
  margin-inline-start: var(--sp-48);
  margin-inline-end: auto;
  padding: var(--sp-48) var(--sp-64) var(--sp-48) var(--sp-64);
  background: #F0F0F0;
  border-radius: var(--radius-lg);
} */


.styling_hero_container {

  /* margin-inline-start: var(--sp-48);
  margin-inline-end: auto; */
  padding: var(--sp-48) var(--sp-64) var(--sp-48) var(--sp-64);
  background: #F0F0F0;
  border-radius: var(--radius-lg);
  /* width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-24); */

}



.hero-profile {
  display: flex;
  align-items: center;
  gap: var(--sp-24);
  margin-bottom: var(--sp-48);
}

.hero-avatar {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-circle);
  object-fit: cover;
  border: 3px solid #e5e5e5;
}

.hero-meta h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--clr-dark);
  line-height: 1.3;
}

.hero-meta p {
  font-size: 20px;
  color: var(--clr-body);
  margin-top: 4px;
}

.hero-headline {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 600;
  color: var(--clr-dark);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-28);
}

.hero-subtext {
  font-size: clamp(16px, 1.5vw, 22px);
  color: var(--clr-body);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: var(--sp-48);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--clr-dark);
  color: var(--clr-white);
}

.btn-primary:hover {
  background: #2a2a2a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--clr-dark);
  border: 2px solid var(--clr-dark);
}

.btn-outline:hover {
  background: var(--clr-dark);
  color: var(--clr-white);
  transform: translateY(-2px);
}

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

.features {
  /* background: var(--clr-dark); */
  padding-block: var(--sp-96);
}

.features .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-64);
  align-items: start;
}

.features-text h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-20);
}

.features-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--clr-body);
  margin-bottom: var(--sp-32);
  max-width: 420px;
}

.btn-cyan {
  background: var(--clr-cyan);
  color: var(--clr-dark);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  transition: all var(--transition);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.3);
}

.features-cards {
  display: flex;
  flex-direction: column;
  gap: var(--sp-24);
}

.feature-card {
  display: flex;
  gap: var(--sp-20);
  padding: var(--sp-24);
  background: var(--clr-card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  transition: transform var(--transition), border-color var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.1);
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.feature-icon.purple {
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
}

.feature-icon.blue {
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
}

.feature-icon.green {
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: var(--sp-4);
}

.feature-card p {
  font-size: 14px;
  color: var(--clr-body);
  line-height: 1.6;
}

.about_text_bg {
  background: #1c1c1c;
  /* padding-block: var(--sp-64); */
}

.about {
  background: #1c1c1c;
  /* padding-block: var(--sp-28); */
  justify-content: center;
}

.about_para_bg {
  background: #1c1c1c;
  padding-block: var(--sp-96);
  justify-content: center;
}

.about .container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  align-items: start;
  position: relative;
}

.about-img {
  border-radius: var(--radius-lg);
  object-fit: cover;
  width: 100%;
  transition: transform var(--transition);
}

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

.about-img-main {
  grid-column: 1 / 6;
  grid-row: 1 / 3;
  height: 580px;
  object-position: center top;
  z-index: 1;
}

.about-img-bl {
  grid-column: 2 / 7;
  grid-row: 2;
  height: 300px;
  object-position: center;
  margin-top: 40px;
  z-index: 2;
}

.about-img-br {
  grid-column: 7 / 12;
  grid-row: 2;
  height: 400px;
  object-position: center;
  margin-top: 40px;
  z-index: 1;
}

.about-text {
  grid-column: 7 / 13;
  grid-row: 1;
  /* padding-block: var(--sp-96); */
  z-index: 2;
}

.about-divider {
  width: 40px;
  height: 2px;
  background: var(--clr-white);
  margin-bottom: var(--sp-24);
}

.about-text h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: var(--sp-24);
  letter-spacing: -0.02em;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--clr-body);
  margin-bottom: var(--sp-28);
  max-width: 820px;
  text-align: justify;
}

.btn-white {
  display: inline-block;
  background: var(--clr-white);
  color: var(--clr-dark);
  padding: 12px 28px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  font-size: 15px;
  transition: all var(--transition);
}

.btn-white:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

.skills {
  background: var(--clr-dark);
  padding-block: var(--sp-96);
  /* border-top: 1px solid var(--clr-border); */
}

.skills .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-64);
}

.skills-heading {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: var(--sp-8);
  letter-spacing: -0.02em;
}

.skills-col h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: var(--sp-40);
  letter-spacing: -0.02em;
}

.skill-group {
  margin-bottom: var(--sp-40);
}

.skill-group h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-body);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-20);
}

.skill-bar {
  margin-bottom: var(--sp-20);
}

.skill-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-8);
}

.skill-bar-header span {
  font-size: 15px;
  font-weight: 500;
  color: var(--clr-white);
}

.skill-bar-header .percent {
  font-size: 13px;
  color: var(--clr-body);
}

.skill-bar-track {
  width: 100%;
  height: 6px;
  background: var(--clr-card-bg);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: var(--clr-green);
  border-radius: var(--radius-pill);
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0;
}

.research-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8);
  margin-bottom: var(--sp-40);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--clr-card-bg);
  color: var(--clr-white);
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  border: 1px solid var(--clr-border);
  transition: all var(--transition);
}

.tag:hover {
  color: var(--clr-white);
  border-color: rgba(255, 255, 255, 0.15);
  background: #262626;
}

.research-card {
  background: var(--clr-card-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-28);
}

.research-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: var(--sp-20);
}

.research-card ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
}

.research-card li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-12);
  font-size: 14px;
  color: var(--clr-white);
  line-height: 1.6;
}

.research-card li .check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-sm);
  background: #f0f0f0cc;
  color: var(--clr-card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 2px;
}

.site-footer {
  background: #F0F0F0;
  padding-block: var(--sp-80);
  text-align: center;
}

.site-footer h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  color: var(--clr-dark);
  margin-bottom: var(--sp-8);
  letter-spacing: -0.02em;
}

.site-footer .tagline {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  color: var(--clr-dark);
  margin-bottom: var(--sp-40);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-16);
  margin-bottom: var(--sp-40);
}

.footer-links a {
  font-size: 15px;
  color: var(--clr-body);
  font-weight: 500;
  position: relative;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--clr-dark);
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.footer-links a:hover::after {
  transform: scaleX(1);
}

.footer-bottom {
  font-size: 13px;
  color: var(--clr-body);
}

.footer-logo {
  margin-bottom: var(--sp-24);
}

.footer-logo-img {
  height: 48px;
  width: auto;
  margin-inline: auto;
  /* filter: invert(1) brightness(2); */
  opacity: 0.7;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {


  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #171717;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--sp-40);
    z-index: 9999;
  }

  .nav-links.active {
    display: flex !important;
  }

  .nav-links a {
    font-size: 28px;
    color: var(--clr-white);
    font-weight: 600;
    letter-spacing: -0.01em;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    margin-top: var(--sp-16);
    padding: 16px 40px;
    font-size: 18px;
  }

  .mobile-toggle {
    display: flex;
    z-index: 10000;
  }

  .features .container {
    grid-template-columns: 1fr;
    gap: var(--sp-48);
  }

  /* .hero .container {
    max-width: calc(100% - var(--sp-48));
    margin-inline: auto;
    padding: var(--sp-32);
  } */

  .styling_hero_container {

    /* margin-inline-start: var(--sp-48);
  margin-inline-end: auto; */
    padding: var(--sp-32);
    background: #F0F0F0;
    border-radius: var(--radius-lg);
    /* width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-24); */

  }

  .about .container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: var(--sp-24);
  }

  .about-img-main {
    grid-column: 1;
    grid-row: 1;
    height: 400px;
    margin-top: 0;
  }

  .about-text {
    grid-column: 1;
    grid-row: 1;
    padding-top: var(--sp-16);
  }

  .about-img-bl {
    grid-column: 1;
    grid-row: 2;
    height: 260px;
    margin-top: 0;
  }

  .about-img-br {
    grid-column: 2;
    grid-row: 2;
    height: 260px;
    margin-top: 0;
  }

  .skills .container {
    grid-template-columns: 1fr;
    gap: var(--sp-48);
  }
}

@media (max-width: 768px) {

  .site-header .container {
    height: 64px;
  }

  .hero {
    padding-top: calc(64px + var(--sp-40));
    padding-bottom: var(--sp-48);
  }

  .hero-headline {
    font-size: clamp(32px, 8vw, 48px);
  }

  .hero-actions {
    flex-direction: row;
    align-items: flex-start;
  }

  /* .hero .container {
    max-width: calc(100% - var(--sp-32));
    margin-inline: auto;
    padding: var(--sp-24);
  } */

  .styling_hero_container {

    /* margin-inline-start: var(--sp-48);
  margin-inline-end: auto; */
    padding: var(--sp-24);
    background: #F0F0F0;
    border-radius: var(--radius-lg);
    /* width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-24); */

  }

  .about .container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 12px;
  }

  .about-text {
    grid-column: 1 / -1;
    grid-row: 1;
    order: -1;
    padding-top: 0;
  }

  .about-img-main {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 280px;
    margin-top: 0;
  }

  .about-img-bl {
    grid-column: 1;
    grid-row: 3;
    height: 220px;
    margin-top: 0;
  }

  .about-img-br {
    grid-column: 2;
    grid-row: 3;
    height: 220px;
    margin-top: -40px;
  }

  .footer-links {
    flex-direction: column;
    gap: var(--sp-16);
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: var(--sp-16);
  }

  .new_container_styling_css {

    padding-inline: var(--sp-16);
  }


  .hero-profile {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-12);

    margin-bottom: var(--sp-24);

  }

  .hero-headline {
    font-size: 20px;
    font-weight: 600;
    color: var(--clr-dark);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: var(--sp-24);
  }

  .hero-subtext {
    font-size: clamp(16px, 1.5vw, 22px);
    color: var(--clr-body);
    line-height: 1.7;
    max-width: 580px;
    margin-bottom: var(--sp-24);
  }


  .btn {

    padding: 10px 15px;
    font-size: 12px;
    border: 2px solid #000;

  }


  .research-tags {
    gap: var(--sp-4);
  }

  .tag {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* --- Updates to existing index.html styles --- */
.about-img-link {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  transition: transform var(--transition);
}

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

.about-img-link .about-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: none;
  /* remove hover from img, handled by a */
}

.about-img-link:hover .about-img {
  transform: none;
}

.about-img-link.about-img-main {
  grid-column: 1 / 6;
  grid-row: 1 / 3;
  height: 580px;
  z-index: 1;
}

.about-img-link.about-img-bl {
  grid-column: 2 / 7;
  grid-row: 2;
  height: 400px;
  margin-top: 40px;
  z-index: 2;
}

.about-img-link.about-img-br {
  grid-column: 7 / 12;
  grid-row: 2;
  height: 400px;
  margin-top: 40px;
  z-index: 1;
}

/* Fix Mobile specific grid mapping for anchor tags */
@media (max-width: 1024px) {
  .about-img-link.about-img-main {
    grid-column: 1;
    grid-row: 1;
    height: 400px;
    margin-top: 0;
  }



  .about-img-link.about-img-bl {
    grid-column: 1;
    grid-row: 2;
    height: 260px;
    margin-top: 0;
  }

  .about-img-link.about-img-br {
    grid-column: 2;
    grid-row: 2;
    height: 260px;
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .about-img-link.about-img-main {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 280px;
    margin-top: 0;
  }

  .about-img-link.about-img-bl {
    grid-column: 1;
    grid-row: 3;
    height: 220px;
    margin-top: 0;
  }

  .about-img-link.about-img-br {
    grid-column: 2;
    grid-row: 3;
    height: 220px;
    margin-top: -40px;
  }
}


/* ==========================================================================
   CASE STUDY PAGE STYLES (project.html)
   ========================================================================== */

/* Variables specifically for the case study */
:root {
  --cs-bg-white: #FFFFFF;
  --cs-bg-light: #FAFAFA;
  --cs-bg-gray: #F8F8F8;
  --cs-bg-dark: #2A2A2A;
  --cs-bg-darker: #1E1E1E;
  --cs-bg-purple: #FAF6FF;

  --cs-text-main: #333333;
  --cs-text-light: #666666;
  --cs-border: #EAEAEA;
}

.case-study-page {
  background-color: var(--cs-bg-white);
  color: var(--cs-text-main);
}



.cs-container {
  width: 100%;
  max-width: 1100px;
  /* margin: 0 var(--sp-28); */
  /* padding: 0 var(--sp-38); */
}

/* .cs-container.cs-narrow {
  max-width: 800px;
} */

/* .cs-narrow.cs-margin-context {
  margin: auto !important;
} */

/* Typography Overrides */
.cs-section-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 600;
  margin-bottom: var(--sp-24);
  letter-spacing: -0.01em;
}

.cs-section-subtitle {
  font-size: 18px;
  color: var(--cs-text-light);
  margin-bottom: var(--sp-48);
}

.cs-center {
  text-align: center;
}

.text-white {
  color: #fff !important;
}

.text-gray {
  color: #A0A0A0 !important;
}

.mt-4 {
  margin-top: 16px;
}

.mt-6 {
  margin-top: 24px;
}

.mt-8 {
  margin-top: 32px;
}

.mb-6 {
  margin-bottom: 24px;
}

.mb-8 {
  margin-bottom: 32px;
}

.mb-12 {
  margin-bottom: 48px;
}

.pl-8 {
  padding-left: 32px;
}

.font-medium {
  font-weight: 500;
}

.font-bold {
  font-weight: 600;
}

.cs-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--cs-text-light);
  margin-bottom: 16px;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* General Layout Utils */
.cs-section {
  padding: 40px 0;
}

/* .cs-section.thinking_image_padding {
  padding: 40px 60px 0px 40px;
} */


.lg-padding-bottom {
  padding-bottom: 6em;
}

.cs-bg-light {
  background-color: var(--cs-bg-light);
}

.cs-bg-dark {
  background-color: var(--cs-bg-darker);
}

.cs-bg-purple {
  background-color: var(--cs-bg-purple);
}

.cs-bg-gray {
  background-color: var(--cs-bg-gray);
}

.cs-border-top {
  border-top: 1px solid var(--cs-border);
}

.cs-list {
  list-style: none;
  margin-bottom: 24px;
}

.cs-list li {
  font-size: 16px;
  color: var(--cs-text-light);
  line-height: 1.7;
  margin-bottom: 8px;
}

.cs-list-small {
  list-style: none;
}

.cs-list-small li {
  font-size: 14px;
  color: var(--cs-text-light);
  line-height: 1.6;
  margin-bottom: 6px;
}

/* Hero Section */
.cs-hero {
  background-color: #1F1F1F;
  color: #fff;
  padding: 120px 0 0 0;
  /* Removing bottom padding to let the figure touch bottom if needed, or keep 80px */
  position: relative;
  /* overflow: hidden; */
}

.cs-hero-bg {
  position: absolute;
  top: 5%;
  right: 15%;
  width: 50%;
  height: 50%;
  background-image: url('images/p1_1.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right center;
  pointer-events: none;
  z-index: 1;
  /* opacity: 0.3; */
  /* faint effect */
}

.cs-hero .cs-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

.new_container_styling_css {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-24);
}

.cs-hero-top-content {
  max-width: 800px;
  margin-bottom: 10px;
}

.cs-hero-main {
  width: 100%;
}

.cs-project-label {
  font-size: 15px;
  color: #B0B0B0;
  display: block;
  margin-bottom: 20px;
  font-weight: 500;
}

.cs-title {
  font-size: clamp(48px, 6vw, 80px);
  /* Larger title */
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

.cs-subtitle {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 500;
  color: #999;
  line-height: 1.4;
  margin-bottom: 48px;
  max-width: 750px;
}

.cs-meta-grid p {
  font-size: 15px;
  color: #999;
  margin-bottom: 10px;
  font-weight: 500;
}

.cs-hero-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: centers;
  /* Align bottom */
  gap: 40px;
  /* margin-top: 10px; */
}

.cs-hero-figure {
  flex: 1;
  max-width: 500px;
  /* margin-bottom: -10px; */
  /* Let it sit naturally on the section bottom */
}

.cs-hero-figure svg {
  width: 100%;
  height: auto;
  display: block;
}

.cs-hero-sidebar {
  flex: 1;
  max-width: 480px;
  background: transparent;
  margin-top: 8em;
  /* Remove background */
  padding: 0 0 60px 0;
  /* Add bottom padding to align with figure visually */
  border-radius: 0;
  align-self: center;
}

.cs-hero-sidebar h3 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 500;
}

.cs-hero-sidebar p {
  font-size: 15px;
  color: #E0E0E0;
  line-height: 1.6;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .cs-hero-bottom-content {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 0px;
  }

  .cs-center {
    text-align: start;
  }

  .lg-padding-bottom {
    padding-bottom: none;
  }

  .cs-hero-sidebar p {
    font-size: 15px;
    color: #E0E0E0;
    line-height: 1.6;
    margin-bottom: 10px;
  }

  .cs-hero-sidebar {
    padding-bottom: 0;
    max-width: 100%;
    margin-top: 10px;
  }

  .cs-hero-figure {
    max-width: 80%;
    margin: 00px auto 0;
  }
}

/* Sec 1: Context */
.cs-bg-light {
  background-color: #F8F8F8;
  color: #333;
}

.cs-bg-light .cs-section-title {
  color: #111;
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 48px;
  font-weight: 700;
  text-align: left;
}

.cs-bg-light .cs-text {
  color: #555;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.cs-bg-light .cs-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.cs-bg-light .cs-list li {
  color: #555;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.cs-context-image {
  margin-top: 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0px;
  /* max-width: 900px; */
  margin-inline: auto;
}

.cs-thinking-svg {
  width: 100%;
  max-width: 500px;
  height: auto;
}

.cs-speech-box {
  background: #EAEAEA;
  border-radius: 6px;
  padding: 15px 15px;
  position: relative;
  max-width: 600px;
  width: 70%;
  /* top: 30%; */
  box-shadow: -4px 0 0 calc(0px) #C4C4C4;
  /* Left bar effect */
}

.cs-speech-box::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 12px 14px 12px 0;
  border-style: solid;
  border-color: transparent #C4C4C4 transparent transparent;
}

.cs-speech-box::after {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 10px 12px 10px 0;
  border-style: solid;
  border-color: transparent #EAEAEA transparent transparent;
}

.cs-speech-box p {
  color: #333;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .cs-context-image {
    flex-direction: column;
    text-align: center;
  }

  .cs-speech-box {
    box-shadow: 0 -4px 0 calc(0px) #C4C4C4;
    /* Top bar effect instead on mobile */
    margin-top: 20px;
    width: 100%;
  }

  .cs-speech-box::before {
    left: 50%;
    top: -12px;
    transform: translateX(-50%);
    border-width: 0 12px 14px 12px;
    border-color: transparent transparent #C4C4C4 transparent;
  }

  .cs-speech-box::after {
    left: 50%;
    top: -8px;
    transform: translateX(-50%);
    border-width: 0 10px 12px 10px;
    border-color: transparent transparent #EAEAEA transparent;
  }
}

.cs-context-image img {
  border-radius: 12px;
  width: 100%;
}

/* Sec 2: Research Grid */

/* .cs-container.cs-grid-container {
  margin: 0px 70px;
} */



.cs-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;

  background: repeating-linear-gradient(90deg, transparent, transparent calc(33.333% - 1px), #E0E0E0 calc(33.333% - 1px), #E0E0E0 33.333%);
}

.cs-research-card {
  padding: 0 40px;
  display: flex;
  flex-direction: column;
}

.cs-research-card:first-child {
  padding-left: 0;
}

.cs-research-card:last-child {
  padding-right: 0;
}

.cs-tag {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 32px;
  align-self: flex-start;
  transform: translateY(-50%);
  position: relative;
  z-index: 2;
}

.cs-tag.dark {
  background: #222;
  color: #fff;
  border: 1px solid #222;
}

.cs-tag.light {
  background: #FAFAFA;
  color: #333;
  border: 1px solid #E0E0E0;
}

.cs-grid-3::before {
  content: '';
  position: absolute;
  top: 0;
  left: -20px;
  right: -20px;
  height: 40px;
  background: repeating-linear-gradient(90deg, transparent, transparent 2px, #E0E0E0 4px, #E0E0E0 4px);
  z-index: 1;
}

.cs-research-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 24px;
  margin-top: 20px;
}


.cs-research-card li {
  font-size: 14px;
  color: #666;
  line-height: 1;
  /* margin-bottom: 24px; */
}

.cs-research-card img {
  margin-top: auto;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .cs-grid-3 {
    grid-template-columns: 1fr;
    background: none;
    gap: 60px;
  }

  .cs-container.cs-grid-container {
    margin: 0px 0px;
  }

  .cs-tag {

    margin-bottom: 10px;
    align-self: flex-start;
    transform: translateY(-50%);
    position: relative;
    z-index: 2;
  }

  .cs-research-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
    margin-top: 10px;
  }


  .cs-research-card {
    padding: 0 !important;
  }
}

/* Sec 3: Insights & Sec 7: Decisions */
.cs-insight-list,
.cs-decision-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Center horizontally */
  gap: 32px;
  margin-top: 60px;
}

.cs-insight-item,
.cs-decision-item {
  display: flex;
  align-items: start;
  justify-content: center;
  gap: 24px;
  /* max-width: 660px; */
  width: 100%;
}

.cs-insight-item svg,
.cs-decision-item svg {
  width: 60px;
  height: 24px;
  flex-shrink: 0;
  color: #111;
  margin-top: 0;
}

.cs-insight-item p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin: 0;
  white-space: nowrap;
}

.cs-decision-item p {
  font-size: 15px;
  color: #888;
  line-height: 1.8;
  margin: 0;
  white-space: normal;
  text-align: center;
}

.cs-insight-item p strong,
.cs-decision-item p strong {
  color: #111;
  font-weight: 700;
}

.heading-bold {
  font-weight: 700 !important;
  color: #111 !important;
  font-size: clamp(36px, 4vw, 48px) !important;
}

/* Sec 4: Design Principles Checkerboard */
.cs-principles-checkerboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  max-width: 1100px;
  margin: 60px auto 0;
  border: none;
}

.cs-checker-cell {
  padding: 40px 32px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* internal borders only */
.cs-checker-cell:not(:nth-child(4n)) {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.cs-checker-cell:nth-child(-n+4) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cs-checker-filled {
  background: linear-gradient(185deg, #C3B9FE33 0%, #23232300 100%);
}

.cs-checker-empty {
  background-color: transparent;
}

.cs-checker-cell .cs-p-icon {
  width: 32px;
  height: 32px;
  color: #ffffff;
}

.cs-checker-cell .cs-p-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.cs-checker-cell h3 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.cs-checker-cell p {
  color: #999999;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1024px) {
  .cs-principles-checkerboard {
    grid-template-columns: repeat(2, 1fr);
    border: none;
    gap: 24px;
  }

  .cs-checker-empty {
    display: none;
  }

  .cs-checker-cell {
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 12px;
    background-color: #292929;
  }
}

@media (max-width: 600px) {
  .cs-principles-checkerboard {
    grid-template-columns: 1fr;
  }
}

/* Sec 5: Prototypes */
.cs-proto-block {
  margin-bottom: 80px;
}

.cs-proto-text {
  max-width: 800px;
  /* margin: 0 auto 40px auto; */
}

.cs-proto-text p {
  font-size: 16px;
  color: var(--cs-text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}



.relative {
  position: relative;
}

/* The Dark Section */
.cs-proto-bg-dark {
  background: #232323;
  /* Darker grey as seen in image */
  border-radius: 0;
  /* Image shows sharp edges, change to 16px if you want round */
  padding: 0px 20px;
  min-height: 450px;
  display: flex;
  align-items: flex-end;
  width: 90%;
  /* Pushes validation box to the bottom */
}

.cs-proto-image-container {
  position: relative;
  width: 100%;
  margin-top: 40px;
  /* padding: 20px 40px 0px 40px; */
  display: flex;
  justify-content: center;
}

.cs-validation-box {
  background: #232323;
  backdrop-filter: blur(10px);
  padding: 24px;
  border-radius: 12px;
  color: #fff;
  position: relative;
  z-index: 10;
  max-width: 420px;
  color: #fff;
}

.cs-validation-box h4 {
  /* color: #fff;
  margin-bottom: 12px; */
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 600;
}

.cs-validation-box p {
  font-size: 14px;
  color: #ddddddd6;
  margin-bottom: 6px;
  line-height: 1.5;


}

/* The Overlapping Phone */
.cs-proto-img-overlay {
  position: absolute;
  /* This negative top value creates the overlap effect */
  bottom: 0%;
  right: 8%;
  width: 65%;
  /* Adjust size to match the hand proportion */
  max-width: 650px;
  z-index: 5;
  pointer-events: none;
}

.cs-divider-line {
  height: 1px;
  background: var(--cs-border);
  width: 300px;
  margin: 0 auto 80px;
}

/* 
.cs-flex-row {
  display: flex;
  gap: 40px;
}

.align-center {
  align-items: center;
}

.cs-proto-img-side {
  flex: 1;
  text-align: center;
}

.cs-proto-img-side img {
  border-radius: 24px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cs-proto-img-side.wide img {
  max-width: 100%;
  box-shadow: none;
  border-radius: 0;
}

.cs-proto-text-side {
  flex: 1;
}

.cs-grid-2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
} */


/* Container */
.cs-nav-restructure {
  max-width: 1100px;
  margin: 50px auto;
  padding: 0 24px;
}

/* 1. Header with the line */
.cs-nav-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 60px;
}

.cs-nav-line-side {
  padding-top: 12px;
}

.cs-nav-line {
  height: 1px;
  background: #CCC;
  width: 100%;
  position: relative;
}

.cs-nav-line::after {
  content: '';
  position: absolute;
  right: 0;
  top: -2px;
  width: 5px;
  height: 5px;
  background: #888;
  border-radius: 50%;
}

.cs-nav-text-side h3 {
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin-bottom: 16px;
}

.cs-nav-text-side p {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
}

/* 2. Mockup Section */
.cs-nav-mockup-bg {
  /* background: #F8F8F8; */
  /* Light gray background from image */
  /* border-radius: 4px; */
  width: 100%;
  margin-bottom: 60px;
  padding: 0;
  display: flex;
  justify-content: end;
  overflow: hidden;
}

.cs-nav-mockup-container {
  position: relative;
  max-width: 73%;
  width: 100%;
  text-align: end;
}

.cs-nav-main-img {
  width: 100%;
  /* max-width: 550px; */
  height: auto;
  display: block;
  margin: 0 auto;
}

.cs-nav-floating-icon {
  position: absolute;
  right: 20px;
  top: 15%;
  width: 80px;
  height: 80px;
  border: 1.5px solid #9B82B2;
  /* Purple circle */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
}

.cs-nav-floating-icon img {
  width: 50%;
}

/* 3. Bottom Grid */
.cs-nav-bottom-grid {
  display: flex;
  flex-direction: row;
  gap: 130px;
  justify-content: space-between !important;
}

.cs-nav-col h4 {
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin-bottom: 20px;
}

.cs-nav-list {
  list-style: none;
  padding: 0;
}

.cs-nav-list li {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {

  .cs-nav-header,
  .cs-nav-bottom-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cs-nav-line-side {
    display: none;
    /* Hide line on small mobile */
  }

  .cs-nav-floating-icon {
    width: 60px;
    height: 60px;
  }
}

/* Section Background */
.cs-ai-transparency {
  /* background-color: #F5F1FB; */
  background: linear-gradient(180deg, #F5F1FB 65%, #F8F8F8 50%);


  /* Light purple tint as per image */
  padding: 50px 0;
  color: #333;
}

.cs-ai-header {
  max-width: 800px;
  margin-bottom: 60px;
}

.cs-ai-header h3 {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  text-transform: none;
  margin-bottom: 12px;
}

.cs-ai-header p {
  font-size: 14px;
  color: #666;
  font-weight: 400;
}

/* Layout Grid */
.cs-ai-layout-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  /* Reduced gap to allow the staggered look */
}

.cs-ai-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

/* Second row swaps text to left, phone to right */
.cs-ai-reverse {
  direction: ltr;
}

/* Text Content Styling */
.cs-ai-text-content {
  max-width: 380px;
}

.cs-ai-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
  margin-bottom: 48px;
}

.cs-ai-text-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin-bottom: 20px;
}

.cs-ai-list {
  list-style: none;
  padding: 0;
}

.cs-ai-list li {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.5;
}

/* Mockup Scaling */
.cs-ai-mockup-wrapper {
  display: flex;
  justify-content: center;
}

.cs-ai-phone {
  width: 100%;
  max-width: 360px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.08));
}

/* Offset for the second phone to create the staggered effect */
.cs-mt-offset {
  margin-top: -80px;
}

.cs-val-box {
  align-self: center;
  margin-top: 100px;
}

/* Responsive Logic */
@media (max-width: 1024px) {
  .cs-ai-row {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .cs-ai-transparency {
    padding: 30px 20px;
  }

  .cs-ai-row {
    grid-template-columns: 1fr;
    /* Stack on mobile */
    text-align: left;
    gap: 40px;
  }

  /* Reset offsets for mobile stack */
  .cs-mt-offset,
  .cs-val-box {
    margin-top: 0;
  }

  /* Ensure natural reading order on mobile */
  .cs-ai-reverse {
    display: flex;
    flex-direction: column-reverse;
  }

  .cs-ai-text-content {
    max-width: 100%;
  }

  .cs-ai-phone {
    max-width: 300px;
  }
}

.cs-validation-inline {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cs-journaling-mockups img {
  width: 100%;
  border-radius: 16px;
}

/* Section Base */
.cs-journaling-section {
  background-color: #F8F9FB;
  /* Very light gray/blue background */
  padding: 20px 34px;
  font-family: 'Inter', sans-serif;
}

/* 1. Header Grid */
.cs-journal-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  /* margin-bottom: 30px; */
  /* Space for the overflowing phones */
}

.cs-header-title h3 {
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

.cs-header-desc p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 450px;
}

/* Container for the whole showcase */
.cs-journal-showcase {
  /* position: relative; */
  display: flex;
  justify-content: center;
  align-items: center;
  /* Margin top and bottom provides space for the image to overflow the dark box */
  margin: 50px 0;
}

/* The dark purple background box */
.cs-journal-bg-box {
  position: absolute;
  /* width: 100%;
  height: 400px; */
  /* Adjust this height to control how much image overflows */
  /* background: #1C0B24; */
  /* Deep dark purple */
  z-index: 1;
}

/* The container holding your single image */
.cs-mockup-wrapper {
  position: relative;
  z-index: 2;
  /* Sits on top of the dark box */
  /* width: 95%; */
  /* max-width: 1050px; */
  /* Match the size of your reference image */
  display: flex;
  justify-content: center;
}

/* Your single image containing the 3 phones */
.cs-single-mockup-img {
  width: 90%;
  height: auto;
  display: block;
  /* Adds depth like the original image */
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.35));
}

.cs-mockup-flex {
  position: relative;
  z-index: 2;
  /* Sits above the box */
  display: flex;
  gap: 30px;
  width: 90%;
  justify-content: center;
}

.cs-phone-img {
  width: 30%;
  max-width: 280px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* 3. Bottom Grid */
.cs-journal-bottom-grid {
  /* display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; */
  display: flex;
  flex-direction: row;
  gap: 130px;
  justify-content: space-between !important;
}

.cs-journal-bottom-grid h4 {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 24px;
}

.cs-asterisk-list {
  list-style: none;
  padding: 0;
}

.cs-asterisk-list li {
  font-size: 14px;
  color: #555;
  line-height: 2;
  font-weight: 500;
}

/* --- Responsive Design --- */

@media (max-width: 1024px) {
  .cs-mockup-flex {
    gap: 15px;
  }
}

@media (max-width: 768px) {

  .cs-journal-header,
  .cs-journal-bottom-grid {
    grid-template-columns: 1fr;
    /* Stack on mobile */
    gap: 30px;
  }

  .cs-journal-header {
    margin-bottom: 80px;
  }

  .cs-journal-showcase {
    margin: 60px 0;
  }

  .cs-journal-bg-box {
    height: 250px;
    /* Shrink the box height on mobile */
  }

  .cs-mockup-wrapper {
    width: 100%;
  }

  .cs-mockup-flex {
    width: 100%;
    gap: 10px;
  }

  .cs-phone-img {
    max-width: 200px;
  }
}

@media (max-width: 900px) {
  .cs-proto-image-container {
    background: #232323;
    width: 100%;
    height: 100%;
    /* padding: 20px 40px 0px 40px; */
  }

  .cs-journal-bottom-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center !important;
  }

  /* 3. Bottom Grid */
  .cs-nav-bottom-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center !important;
  }

  .cs-grid-3::before {

    background: none;

  }
}

@media (max-width: 480px) {
  .cs-mockup-flex {
    flex-direction: column;
    align-items: center;
  }

  .cs-phone-img {
    width: 80%;
    max-width: none;
  }


  .cs-journal-bg-box {
    height: 180px;
    /* Even smaller for small phones */

  }
}

/* Base Section Styling */
.cs-support-section {
  padding: 100px 0;
  background-color: #ffffff;
  font-family: 'Inter', sans-serif;
}

/* Header Spacing */
.cs-support-header {
  max-width: 800px;
  margin-bottom: 60px;
}

.cs-support-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}

.cs-support-header p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Middle Grid: Image Left (2/3 width), Text Right (1/3 width) */
.cs-support-mid-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  /* Phones take more space than text */
  gap: 60px;
  align-items: center;
  /* Vertically centers text relative to phones */
  margin-bottom: 40px;
}

.cs-support-top-img-wrap {
  width: 100%;
}

.cs-support-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Sidebar Text Styling */
.cs-support-side-text {
  padding-bottom: 2em;
}

.cs-support-side-text h4 {
  font-size: 20px;
  font-weight: 600;
  color: #111;
  margin-bottom: 24px;
}

.cs-support-list {
  list-style: none;
  padding: 0;
  margin-bottom: 32px;
}

.cs-support-list li {
  font-size: 15px;
  color: #555;
  margin-bottom: 12px;
  line-height: 1.4;
}

.cs-support-desc {
  font-size: 14px;
  color: #888;
  line-height: 1.7;
  max-width: 320px;
}

/* Bottom Row (3 Phones) */
.cs-support-bottom-row {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/* --- Responsive Adjustments --- */

@media (max-width: 1024px) {
  .cs-support-mid-grid {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .cs-support-section {
    padding: 60px 20px;
  }

  .cs-support-mid-grid {
    grid-template-columns: 1fr;
    /* Stack on mobile */
    text-align: left;
  }

  .cs-support-side-text {
    order: 2;
    /* Text goes below the first set of phones */
  }

  .cs-support-desc {
    max-width: 100%;
  }

  .cs-support-bottom-row {
    margin-top: 40px;
  }
}

@media (max-width: 900px) {
  .cs-flex-row {
    flex-direction: column;
  }

  .cs-grid-2-cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cs-proto-bg-dark {


    background: #232323;
    /* Darker grey as seen in image */
    border-radius: 0;
    /* Image shows sharp edges, change to 16px if you want round */
    padding: 0px 15px;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Pushes validation box to the bottom */

  }

  .cs-proto-img-overlay {
    /* position: relative; */
    transform: none;
    /* top: auto; */
    left: auto;
    /* width: 100%; */
    /* margin-top: -150px; */

    position: relative;
    top: 0;
    width: 100%;
    margin-top: 20px;
  }

  .pl-8 {
    padding-left: 0;
  }
}

/* Sec 6: Impact Grid */
.cs-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.cs-impact-box {
  background: #EBEBFF;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 0;
  font-size: 24px;
  font-weight: 500;
  height: 240px;
}

@media (max-width: 600px) {
  .cs-impact-grid {
    grid-template-columns: 1fr;
  }
}

/* Sec 8: Capabilities */
.cs-cap-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  margin: 60px auto 0;
  align-items: flex-start;
}

.cs-cap-item {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
  border: none;
  padding: 16px 60px 16px 48px;
  border-radius: 0;
  color: #B0B0B0;
  font-size: 15px;
  font-weight: 500;
  position: relative;
}

.cs-cap-item::before {
  content: '•';
  position: absolute;
  left: 24px;
  color: #777;
}

.cs-cap-item:nth-child(1),
.cs-cap-item:nth-child(5) {
  margin-left: 80px;
}

@media (max-width: 768px) {
  .cs-cap-item {
    padding-right: 24px;
  }

  .cs-cap-item:nth-child(1),
  .cs-cap-item:nth-child(5) {
    margin-left: 20px;
  }
}

/* Global Mobile/Tablet Responsiveness for Case Study */
@media (max-width: 900px) {
  .cs-section {
    padding: 60px 0;
  }
}

@media (max-width: 600px) {
  .cs-section {
    padding: 40px 0;
  }

  .cs-hero {
    padding: 80px 0 0 0;
  }

  .cs-insight-item,
  .cs-decision-item {
    flex-direction: row;
    text-align: start;
    gap: 16px;
  }

  .cs-insight-item p {
    white-space: normal;
  }

  .cs-cap-item {
    padding: 12px 24px 12px 48px;
    width: 100%;
  }

  .cs-hero-sidebar h3 {
    margin-top: 20px;
  }
}



/* ======================PROJECT_2======================================== */


/* ══════════════════════════════════════════
   HERO  — dark #1F1F1F background
══════════════════════════════════════════ */
.ps-hero {
  background: #1F1F1F;
  color: #fff;
  /* padding: 120px 64px 30px 40px; */
}

.ps-hero-label {
  font-size: 13px;
  color: #888;
  margin-bottom: 16px;
  display: block;
}

.ps-hero h1 {
  font-size: clamp(36px, 10vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 20px;
  color: #fff;
  letter-spacing: -0.02em;
}

.ps-hero-subtitle {
  font-size: clamp(16px, 10vw, 30px);
  color: #aaa;
  margin-bottom: 24px;
  font-weight: 400;
}

.ps-hero-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
  color: #888;
  margin-bottom: 40px;
}

.ps-hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  /* margin-bottom: 1em; */
}

.ps-hero-img-wrap {
  width: 100%;
}

.ps-hero-bw-img {
  width: 100%;
  display: block;
  border-radius: 0;
  /* Simulated B&W bus stop photo via gradient */
  aspect-ratio: 4/3.2;
  background:
    linear-gradient(180deg,
      #1a1a1a 0%,
      #2a2a2a 15%,
      #3a3a3a 30%,
      #1e1e1e 100%);
  position: relative;
  overflow: hidden;
}

/* SVG illustration inside */
/* .ps-hero-overview {
  padding-bottom: 48px;
} */

.ps-hero-overview-label {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
  display: block;
}

.ps-hero-overview-text {
  font-size: 14px;
  color: #bbb;
  line-height: 1.75;
}

.ps-hero-overview-text p {
  margin-bottom: 14px;
}

/* ══════════════════════════════════════════
   SHARED SECTION BASE
══════════════════════════════════════════ */
.ps-section {
  padding: 72px 35px 72px 40px;
  border-top: none !important;
}

.ps-bg-white {
  background: #fff;
  box-shadow: 0 0 0 1px #ffffff;
  /* Creates a 1px 'safety' border */

  border: none;
}

.ps-bg-light {
  background: #f5f5f5;
  box-shadow: 0 0 0 1px #F5F1FB;
}

.ps-bg-purple {
  background: #ede8f5;
  box-shadow: 0 0 0 1px #F5F1FB;
}

.ps-section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.ps-section-title.ps-center {
  text-align: center;
}

.ps-section-sub {
  font-size: 14px;
  color: #666;
  margin-bottom: 40px;
  max-width: 680px;
}

.ps-section-sub.ps-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* bullet list used in many sections */
.ps-ul {
  list-style: none;
}

.ps-ul li {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 4px;
}

.ps-ul li::before {
  content: '• ';
}

/* ══════════════════════════════════════════
   S1 – Context & Core Problem   (white bg)
══════════════════════════════════════════ */
.ps-s1-block {
  margin-bottom: 28px;
}

.ps-s1-block h3 {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
}

.ps-s1-block p {
  font-size: 14px;
  color: #444;
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   S2 – My Contribution   (light grey bg)
══════════════════════════════════════════ */
.ps-contrib-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
}

.ps-contrib-item {
  background: linear-gradient(90deg, #B57EDC 0%, #FFFFFF 100%);
  position: relative;
  border-radius: 4px;
  padding: 12px 18px;
  font-size: 14px;
  color: #2a1a4a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ps-contrib-item::before {
  content: '•';
  font-weight: bold;
}

/* ══════════════════════════════════════════
   S3 – Problem   (white bg)
══════════════════════════════════════════ */
/* .ps-s3-bold {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin-bottom: 24px;
}

.ps-s3-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.ps-s3-left p {
  font-size: 14px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 14px;
}

.ps-s3-points {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ps-s3-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

.ps-s3-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #111;
  flex-shrink: 0;
  margin-top: 5px;
} */

/* Full-width bus stop photo */
/* .ps-s3-photo {
  width: 100%;
  aspect-ratio: 16/7;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(160deg, #a08060 0%, #b89878 20%, #c8aa88 40%, #a08060 55%, #707050 70%, #504030 100%);
  position: relative;
  margin-top: 8px;
}

.ps-s3-photo svg {
  width: 100%;
  height: 100%;
} */
/* Container Spacing */


/* Typography */
.ps-section-title {
  font-size: 42px;
  font-weight: 700;
  color: #000;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.ps-s3-intro {
  font-size: 16px;
  font-weight: 600;
  color: #111;
  margin-bottom: 64px;
}

/* Grid Layout */
.ps-s3-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: start;
}

.ps-s3-left p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

.ps-mt-large {
  margin-top: 48px;
}

/* Timeline/Points Style */
.ps-s3-timeline-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  /* Spacing between points */
  padding-left: 10px;
}

/* The Vertical Line */
.ps-s3-timeline-line {
  position: absolute;
  left: 14px;
  /* Centered with the dots */
  top: 5px;
  bottom: 5px;
  width: 1px;
  background-color: #311b92;
  /* Deep purple/black line */
  opacity: 0.3;
}

.ps-s3-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.ps-s3-dot {
  width: 9px;
  height: 9px;
  background-color: #311b92;
  /* Match the line color */
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.ps-s3-timeline-item span {
  font-size: 15px;
  color: #666;
  line-height: 1.4;
}

/* Main Context Image */
.ps-s3-image-wrap {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
}

.ps-s3-main-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ══════════════════════════════════════════
   RESPONSIVE DESIGN
   ══════════════════════════════════════════ */

@media (max-width: 900px) {
  .ps-section {
    padding: 60px 24px;
  }

  .ps-s3-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ps-mt-large {
    margin-top: 24px;
  }

  .ps-section-title {
    font-size: 32px;
  }
}

@media (max-width: 600px) {
  .ps-s3-timeline-wrapper {
    gap: 32px;
  }

  .ps-s3-timeline-item span {
    font-size: 14px;
  }
}

/* ══════════════════════════════════════════
   S4 – Research Question
══════════════════════════════════════════ */



.ps-s4-wrap {

  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 100px 0;

}

.question_mark_bg {
  display: flex;
  align-items: center;
  justify-content: center;
}

.question_mark_bg img {
  width: 70%;
  height: 70%;
}

/* ── Responsive Adjustments ── */


@media (max-width: 768px) {
  .ps-s4-wrap {
    padding: 60px 0;
    min-height: auto;
  }

}

/* ══════════════════════════════════════════
   S5 – Research Approach   (white bg)
══════════════════════════════════════════ */

.ps-s5-section {
  background-color: #fff;
}

/* --- PROCESS DIAGRAM BOX --- */
.ps-s5-process-container {
  /* background: #D9D9D9; */
  /* Light gray box background */
  /* padding: 80px 40px; */
  border-radius: 4px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.ps-s5-process-img {
  width: 80%;
  /* max-width: 900px; */
  height: auto;
}

/* --- 1. Methods Grid Styles --- */
.ps-s5-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 0.2fr);
  /* 3 Columns exactly */
  gap: 15px;
  margin: 60px 100px;
  justify-content: center;
}

.ps-methods-label {
  font-weight: 600;
  font-size: 24px;
  color: #111;
  display: flex;
  align-items: start;
  justify-content: start;
}

.ps-card {
  background: #F5F5F5;
  padding: 25px 25px;
  font-size: 14px;
  color: #444;
  width: 250px;
  height: 200px;
  display: flex;
  align-items: end;
  line-height: 1.5;
}

.ps-card-purple {
  background: #29004E;
  color: #fff;
}

.ps-s5-eval-text {
  font-size: 24px;
  font-weight: 600;
  color: #000;

}

/* --- 2. Evaluation Divider Styles --- */
.ps-s5-eval-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 80px;
  align-items: start;
  padding-left: 4em;
}

.ps-s5-line-with-dot {
  height: 2px;
  background: #DDD;
  width: 80%;
  position: relative;
  margin-top: 14px;
}

.ps-s5-line-with-dot::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  background: #888;
  border-radius: 50%;
}

.ps-s5-bullet-list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.ps-s5-bullet-list li {
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
  padding-left: 15px;
  position: relative;
}

.ps-s5-bullet-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #AAA;
}

/* --- 3. CSS TIMELINE (THE BOX) --- */
.ps-s5-process-wrapper {
  background: #E0E0E0;
  /* Gray background box */
  padding: 100px 40px;
  border-radius: 4px;
  overflow: hidden;
}

.ps-timeline-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
}

.ps-timeline-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #333;
  transform: translateY(-50%);
  z-index: 1;
}

.ps-timeline-item {
  position: relative;
  z-index: 2;
  width: 15%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ps-timeline-dot {
  width: 14px;
  height: 14px;
  background: #000;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.ps-timeline-content {
  width: 140px;
  text-align: center;
  position: absolute;
}

/* Above the line */
.ps-above .ps-timeline-content {
  bottom: 30px;
  /* Push text up */
}

/* Below the line */
.ps-below .ps-timeline-content {
  top: 30px;
  /* Push text down */
}

.ps-step-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
}

.ps-timeline-content p {
  font-size: 11px;
  color: #555;
  line-height: 1.4;
}

/* --- 4. RESPONSIVE --- */
@media (max-width: 1024px) {
  .ps-timeline-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
  }

  .ps-timeline-line {
    display: none;
  }

  .ps-timeline-item {
    width: 40%;
    margin-bottom: 20px;
  }

  .ps-timeline-content {
    position: static;
    width: 100%;
  }

  .ps-timeline-dot {
    display: none;
  }

  .ps-s5-process-wrapper {
    padding: 40px 20px;
  }
}

@media (max-width: 768px) {
  .ps-s5-methods-grid {
    grid-template-columns: 1fr;
    /* Stack boxes on mobile */
  }

  .ps-methods-label {
    justify-content: flex-start;
    margin-bottom: 10px;
  }

  .ps-s5-eval-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ps-s5-line-side {
    display: none;
  }

  .ps-timeline-item {
    width: 100%;
  }
}

/* ══════════════════════════════════════════
   S6 – User Journey Analysis
══════════════════════════════════════════ */
/* --- S6 User Journey Analysis --- */
.ps-s6-journey {
  max-width: 900px;
  margin: 60px auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
  position: relative;
}

.ps-s6-item {
  display: flex;
  width: 100%;
  position: relative;
}

.ps-s6-left {
  justify-content: flex-start;
}

.ps-s6-right {
  justify-content: flex-end;
}

.ps-s6-card {
  width: 240px;
  height: 120px;
  padding: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
  background-color: #F2F2F2;
  z-index: 2;
  position: relative;
}

.ps-s6-purple {
  background-color: #B57EDC4A;
}

.ps-s6-item::after {
  content: '';
  position: absolute;
  border: 1.5px dashed #B8A8D9;
  z-index: 1;
  pointer-events: none;
}

.ps-s6-left:not(:last-child)::after {
  top: 50%;
  left: 240px;
  right: 120px;
  height: 100px;
  border-left: none;
  border-bottom: none;
  border-top-right-radius: 20px;
}

.ps-s6-right:not(:last-child)::after {
  top: 50%;
  right: 240px;
  left: 120px;
  height: 100px;
  border-right: none;
  border-bottom: none;
  border-top-left-radius: 20px;
}

.ps-s6-item:not(:first-child)::before {
  content: '';
  position: absolute;
  top: -15px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 10px solid #B8A8D9;
  z-index: 3;
}

.ps-s6-right::before {
  right: 114px;
}

.ps-s6-left::before {
  left: 114px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .ps-s6-journey {
    gap: 60px;
  }

  .ps-s6-item {
    justify-content: center;
  }

  .ps-s6-card {
    width: 100%;
    max-width: 280px;
    height: 80px;
  }

  .ps-s6-item::after {
    left: 50% !important;
    right: auto !important;
    top: 80px !important;
    /* Starts right at the bottom of the card */
    width: 0 !important;
    height: 60px !important;
    border-left: 1.5px dashed #B8A8D9 !important;
    border-top: none !important;
    border-radius: 0 !important;
  }

  /* FIX: Remove the dashed line from the bottom of the last item */
  .ps-s6-item:last-child::after {
    display: none !important;
  }

  .ps-s6-item:not(:first-child)::before {
    left: calc(50% - 6px) !important;
    right: auto !important;
    top: -10px !important;
  }
}

/* ══════════════════════════════════════════
   S7 – Design Concept
══════════════════════════════════════════ */
.ps-s7-intro {
  text-align: center;
  font-size: 14px;
  color: #555;
  /* max-width: 520px; */
  margin: 0 auto 10px;
}

.ps-s7-intro2 {
  text-align: center;
  font-size: 14px;
  color: #555;
  max-width: 700px;
  margin: 0 auto 48px;
}

/* Stage block: text left, image right OR image left, text right */
.ps-s7-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 64px;
}

.ps-s7-stage:last-child {
  margin-bottom: 0;
}

.ps-s7-stage-text h3 {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}

.ps-s7-stage-text p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 10px;
}

.ps-s7-stage-text h4 {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
}

/* AR image frames */
.ps-s7-img {
  width: 100%;
  /* aspect-ratio: 4/3;
  border-radius: 6px;
  overflow: hidden;
  background: #111;
  display: flex;
  align-items: stretch; */
}




/* Real photo-like placeholders for stages */
.ps-s7-img-photo {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 6px;
  overflow: hidden;
}

.ps-img-stage1 {
  /* Dark AR screenshot - dinosaur */
  background: #0d0d1a;
  display: flex;
  align-items: stretch;
}

.ps-img-stage2 {
  /* Balloons on AR */
  background: #131318;
  display: flex;
  align-items: stretch;
}

.ps-img-stage3-photo {
  /* Outdoor bus stop sunny photo */
  background: linear-gradient(160deg, #87ceeb 0%, #6ab0d0 20%, #5a8060 60%, #3a5040 100%);
  aspect-ratio: 4/3;
  border-radius: 6px;
  width: 100%;
}

.ps-img-stage4-photo {
  /* VIBES poster AR photo - outdoor */
  background: linear-gradient(150deg, #4a7040 0%, #6a9050 30%, #5a8040 60%, #3a6030 100%);
  aspect-ratio: 4/3;
  border-radius: 6px;
  width: 100%;
}

.ps-img-stage5 {
  /* Your bus has arrived screen */
  background: #0a0a18;
  display: flex;
  align-items: stretch;
}

/* "Leature" dark banner */
.ps-leature-banner {
  background: #1a1a1a;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 8px 0;
  margin: -72px -64px 48px;
  text-align: right;
  padding-right: 64px;
}

/* ══════════════════════════════════════════
   S8 – Key UX Insights  (petal layout)
══════════════════════════════════════════ */
/* --- S8 Key UX Insights --- */

.ps-s8-layout {
  display: grid;
  /* Grid: [Text Column] [Image Column] [Text Column] */
  grid-template-columns: 1fr 400px 1fr;
  gap: 30px;
  align-items: start;
  margin-top: 60px;
  max-width: 1200px;
  margin-inline: auto;
  justify-content: center;
}

.insights_oadding_css {
  padding: 40px 60px;
}

.ps-s8-col {
  display: flex;
  flex-direction: column;
  /* height: 500px; */
  justify-content: space-between;
  /* Spreads top and bottom blocks */
  padding: 0px 0;
  align-items: end;
}

.ps-s8-card {
  max-width: 320px;
  height: 100%;
}

/* Typography matching reference image */
.ps-s8-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  margin-bottom: 12px;
}

.ps-s8-card p {
  font-size: 15px;
  color: #777;
  line-height: 1.6;
}

.ps-s8-quote {
  font-size: 14px !important;
  font-style: italic;
  color: #999 !important;
  margin-top: 12px;
}

/* Alignment Logic */
.ps-s8-col-left {
  align-items: flex-end;
  /* Pushes content toward center image */
}

.ps-s8-text-right {
  text-align: right;
}

.ps-s8-col-right {
  align-items: flex-start;
  /* Pushes content toward center image */
}

.ps-s8-text-left {
  text-align: left;
}

/* Central Graphic Container */
.ps-s8-center {
  display: flex;
  justify-content: center;
  align-items: start !important;
}

.ps-s8-main-img {
  width: 100%;
  height: auto;
  max-width: 450px;
  /* Adjust based on your actual image size */
}

/* Helper for spacing */
.mt-auto {
  margin-top: 150px;
}

.align-self-css {
  justify-self: right;
}

/* ══════════════════════════════════════════
   RESPONSIVE DESIGN
   ══════════════════════════════════════════ */

@media (max-width: 1100px) {
  .ps-s8-layout {
    grid-template-columns: 1fr 300px 1fr;
  }
}

@media (max-width: 900px) {
  .ps-s8-layout {
    grid-template-columns: 1fr;
    /* Stack on mobile */
    text-align: left !important;
    gap: 40px;
  }

  .ps-s8-col {
    padding: 0;
    align-items: flex-start;
    gap: 40px;
  }

  .ps-s8-text-right,
  .ps-s8-text-left {
    text-align: left;
  }

  .ps-s8-card {
    max-width: 100%;
  }

  .ps-s8-center {
    order: -1;
    /* Move image to top on mobile */
    margin-bottom: 20px;
  }

  .mt-auto {
    margin-top: 0;
  }
}

/* ══════════════════════════════════════════
   S9 – UX Design Principles
══════════════════════════════════════════ */
.ps-s9-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 8px;
}

.ps-s9-grid-btm {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 32px;
  max-width: 66%;
}

.ps-s9-num {
  font-size: 52px;
  font-weight: 700;
  color: #ddd;
  line-height: 1;
  margin-bottom: 6px;
}

.ps-s9-title {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  margin-bottom: 5px;
}

.ps-s9-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   S10 – Final Concept   (purple bg)
══════════════════════════════════════════ */
/* --- S10 Final Concept Styles --- */


.ps-s10-intro {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 680px;
}

.ps-s10-label {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}

.ps-s10-list {
  list-style: none;
  padding: 0;
  margin-bottom: 48px;
}

.ps-s10-list li {
  font-size: 14px;
  color: #666;
  margin-bottom: 6px;
  padding-left: 15px;
  position: relative;
}

.ps-s10-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #999;
}

/* --- The Staggered Grid --- */
.ps-s10-image-grid {
  /* display: grid; */
  /* Col 1 is the vertical image, Cols 2 & 3 are the horizontal ones */
  /* grid-template-columns: 1fr 1.6fr 1.6fr; */
  /* Row 1 is the offset (350px), Row 2 contains the horizontal images */
  /* grid-template-rows: 350px auto;
  gap: 12px; */
}


.ps-s10-img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}


/* Vertical Image positioning */
.ps-s10-vertical {
  grid-column: 1;
  grid-row: 1 / span 2;
  /* Spans from top to bottom */
  align-self: start;
  /* Stays at the very top */
}

/* Horizontal Images positioning */
.ps-s10-horizontal {
  grid-row: 2;
  /* Starts only at the second row (the stagger) */
  align-self: start;
  aspect-ratio: 4 / 3;
  /* Keeps them horizontal */
}

/* --- Responsive Adjustments --- */

@media (max-width: 1024px) {
  .ps-s10-image-grid {
    grid-template-rows: 200px auto;
    /* Smaller offset for tablets */
  }
}

@media (max-width: 768px) {
  .ps-s10-image-grid {
    grid-template-columns: 1fr;
    /* Stack everything on mobile */
    grid-template-rows: auto;
    gap: 20px;
  }

  .ps-s10-vertical,
  .ps-s10-horizontal {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: auto;
  }

  .ps-s10-vertical {
    max-width: 320px;
    /* Keep the vertical image from becoming too wide */
    margin-bottom: 10px;
  }
}

/* --- RESPONSIVE --- */

@media (max-width: 1024px) {
  .ps-s10-grid {
    grid-template-rows: 60px auto;
    /* Smaller offset on tablets */
  }
}

@media (max-width: 768px) {
  .ps-s10-grid {
    grid-template-columns: 1fr 1fr;
    /* 2x2 grid on mobile */
    grid-template-rows: auto;
    gap: 15px;
  }

  .ps-s10-grid .vertical {
    grid-column: 1 / -1;
    /* Vertical image takes top full width */
    grid-row: auto;
    max-width: 300px;
    margin: 0 auto;
  }

  .ps-s10-grid .horizontal {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 480px) {
  .ps-s10-grid {
    grid-template-columns: 1fr;
    /* Single column on small phones */
  }
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

@media (max-width: 1800px) {
  .container {
    width: 100%;
    max-width: var(--container-max-2);
    margin-inline: auto;
    padding-inline: var(--sp-24);
  }

  .new_container_styling_css {
    width: 100%;
    max-width: var(--container-max-2);
    margin-inline: auto;
    padding-inline: var(--sp-24);
  }

  /* 
  .hero .container {
    max-width: 83%;
   
    padding: var(--sp-48) var(--sp-64) var(--sp-48) var(--sp-64);
    background: #F0F0F0;
    border-radius: var(--radius-lg);
  } */

  .styling_hero_container {

    /* margin-inline-start: var(--sp-48);
  margin-inline-end: auto; */
    padding: var(--sp-48) var(--sp-64) var(--sp-48) var(--sp-64);
    background: #F0F0F0;
    border-radius: var(--radius-lg);
    /* width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-24); */

  }

}


@media (max-width: 900px) {
  .ps-nav {
    padding: 0 20px;
  }

  .ps-hero {
    padding: 36px 24px 0;
  }

  .ps-hero-bottom {
    grid-template-columns: 1fr;
  }

  .ps-section {
    padding: 48px 24px;
  }

  .ps-s4-wrap {
    padding: 60px 24px;
  }

  .ps-s4-content {
    margin-left: 12%;
    max-width: 100%;
  }

  .ps-s4-qmark {
    font-size: 200px;
    left: -4%;
  }

  .ps-s3-grid {
    grid-template-columns: 1fr;
  }

  .ps-s5-cards {
    grid-template-columns: 1fr 1fr;
  }

  .ps-s5-methods-row {
    grid-template-columns: 1fr;
  }

  .ps-s7-stage {
    grid-template-columns: 1fr;
  }

  .ps-s8-grid {
    grid-template-columns: 1fr;
  }

  .ps-s8-card.ps-s8-left {
    text-align: left;
    padding-right: 0;
  }

  .ps-s8-card.ps-s8-right {
    padding-left: 0;
  }

  .ps-s8-petals {
    display: none;
  }

  .ps-s9-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ps-s9-grid-btm {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }

  .ps-s10-imgs {
    grid-template-columns: 1fr;
  }

  .ps-leature-banner {
    margin: -48px -24px 40px;
    padding-right: 24px;
  }
}

@media (max-width: 600px) {
  .ps-nav-links {
    display: none;
  }

  /* .ps-hero {
    padding: 100px 16px 0;
  } */

  .ps-section {
    padding: 36px 16px;
  }

  .ps-s4-wrap {
    padding: 40px 16px;
  }

  .ps-s4-qmark {
    display: none;
  }

  .ps-s4-content {
    margin-left: 0;
  }

  .ps-s5-cards {
    grid-template-columns: 1fr;
  }

  .ps-s9-grid {
    grid-template-columns: 1fr;
  }

  .ps-s9-grid-btm {
    grid-template-columns: 1fr;
  }

  .ps-leature-banner {
    margin: -36px -16px 32px;
    padding-right: 16px;
  }
}

.ps-section,
.cs-section,
.cs-hero,
.ps-hero {
  width: 100%;
  display: block;
  overflow: hidden;
  /* This prevents internal margins from creating gaps outside the section */
  box-sizing: border-box;
}

.ps-section,
.cs-section,
.cs-hero,
.ps-hero {
  margin-top: -1px;
  /* Pulls the section up by 1px to cover the gap */
  position: relative;
  z-index: 1;
  /* Add this if you feel the 1px overlap is cutting your padding slightly */
  padding-top: calc(inherit + 1px);
}

section {
  border: none !important;
  outline: none !important;
  -webkit-backface-visibility: hidden;
  /* Helps with rendering glitches on mobile */
}