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

/* ==========================================================================
   UCLA DevX Website Design System & Styles
   Direct 1:1 Scale Figma Implementation (Node 154:85)
   ========================================================================== */

:root {
  --bg-main: #141519;
  --bg-footer: #0e0e0f;
  --text-white: #ffffff;
  --text-muted: #98999e;
  --border-nav: #4d4e57;
  --accent-blue-start: #486bcd;
  --accent-blue-end: #ffffff;
  --btn-bg: #ffffff;
  --btn-text: #000000;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-header: 'Play', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --max-content-width: 1440px;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-white);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-main);
  color: var(--text-white);
  overflow-x: clip;
  position: relative;
  min-height: 100vh;
  width: 100%;
}

/* Headings & Brand Typography (Figma Design: Font Play) */
h1, h2, h3, h4, h5, h6,
.hero-title,
.who-title,
.dynamic-heading,
.dynamic-word,
.static-phrase,
.section-title,
.footer-brand,
.team-page-title,
.join-hero-title,
.roles-section-title,
.role-title,
.internship-title,
.timeline-title,
.timeline-card-title,
.mission-title,
.story-title,
.moments-title,
.member-stories-title,
.projects-page-title,
.project-title,
.projects-cta-title,
.modal-title {
  font-family: var(--font-header);
}

.footer-heading {
  font-family: var(--font-family);
}

main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==========================================================================
   Ambient Glow Effects (Exact Figma Layer Shapes)
   ========================================================================== */

.page-background,
.ambient-glow-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.ambient-glow {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

/* ==========================================================================
   Hero Top Ambient Gradients (Figma Node 154:86: Ellipse 14, 12, 13)
   ========================================================================== */

.hero-top-gradients,
.hero-glow-blue-topleft {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
  overflow: visible;
  z-index: 0;
}

.hero-glow-ellipse14,
.hero-glow-blue-topleft-inner {
  position: absolute;
  top: -267px;
  left: -442px;
  width: 1127px;
  height: 670px;
}

.hero-glow-ellipse14 img,
.hero-glow-blue-topleft img {
  position: absolute;
  top: -20.28%;
  left: -12.05%;
  width: 124.1%;
  height: 140.56%;
  display: block;
}

.hero-glow-ellipse12 {
  position: absolute;
  top: -592px;
  left: -378px;
  width: 1041px;
  height: 581px;
  transform: rotate(180deg) scaleY(-1);
}

.hero-glow-ellipse12 img {
  position: absolute;
  top: -34.42%;
  left: -19.21%;
  width: 138.42%;
  height: 168.84%;
  display: block;
}

.hero-glow-ellipse13 {
  position: absolute;
  top: -513px;
  left: -764px;
  width: 1041px;
  height: 627px;
  transform: rotate(180deg) scaleY(-1);
}

.hero-glow-ellipse13 img {
  position: absolute;
  top: -31.9%;
  left: -19.21%;
  width: 138.42%;
  height: 163.8%;
  display: block;
}



/* ==========================================================================
   Ambient Binary Texture Fields (Subtle 0/1 Digital Grain Texture)
   ========================================================================== */

.binary-field {
  position: absolute;
  pointer-events: auto;
  user-select: none;
  -webkit-user-drag: none;
  z-index: 0;
  overflow: hidden;
  /* Radial vignette mask so the texture dissolves seamlessly into the background */
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 0) 72%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 0) 72%);
}

.binary-field canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Strategic Section Placements across Homepage */

/* 1. Hero Section: subtle patch behind Join button */
.hero-binary-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 180px;
  pointer-events: none;
  z-index: 0;
}

/* Universal wrapper and texture placement for white action buttons */
.btn-binary-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
}

.btn-binary-wrap .btn,
.btn-binary-wrap .btn-hero-apply,
.btn-binary-wrap .contact-us-btn {
  position: relative;
  z-index: 1;
}

.btn-binary-texture {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 180px;
  pointer-events: none;
  z-index: 0;
}

/* 2. Who We Are Section: upper-right background behind text */
.who-binary-right {
  top: 40px;
  right: -30px;
  width: 440px;
  height: 320px;
}

/* 3. Who We Are Section: behind typed dynamic word */
.who-binary-left {
  position: absolute;
  top: 50%;
  left: -30px;
  transform: translateY(-50%);
  width: 520px;
  height: 170px;
  pointer-events: none;
  z-index: 0;
}

/* 4. Projects Section: left flank */
.projects-binary-left {
  top: 240px;
  left: 20px;
  width: 280px;
  height: 380px;
}

/* 5. Projects Section: right flank */
.projects-binary-right {
  top: 240px;
  right: 20px;
  width: 280px;
  height: 380px;
}

/* 6. Alumni Section: top-left flank */
.alumni-binary-topleft {
  top: 30px;
  left: 40px;
  width: 340px;
  height: 180px;
}

/* 7. Alumni Section: bottom-right flank */
.alumni-binary-bottomright {
  bottom: 20px;
  right: 40px;
  width: 360px;
  height: 180px;
}

/* ==========================================================================
   Navigation Bar (Figma Node 207:720 & 154:102 - 1377px x 80px)
   ========================================================================== */

.navbar-wrapper {
  position: fixed;
  top: 33px;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 31px;
  z-index: 1000;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
  pointer-events: none;
}

.navbar-wrapper .navbar {
  pointer-events: auto;
}

.navbar-wrapper.nav-hidden {
  transform: translateY(-160%);
  opacity: 0;
  pointer-events: none;
}

.navbar {
  width: 100%;
  max-width: 1377px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7px 0 24px;
  border: 1px solid var(--border-nav);
  border-radius: 12px;
  background: rgba(20, 21, 25, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition-smooth);
}

.navbar:hover {
  border-color: rgba(165, 165, 165, 0.5);
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-brand:hover {
  transform: none !important;
}

.brand-logo {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-link {
  color: var(--text-white);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--text-white);
  opacity: 0.82;
  transform: none !important;
  text-shadow: none !important;
  box-shadow: none !important;
  filter: none !important;
}

.nav-link.active {
  color: #437ffe;
  font-weight: 500;
}

.nav-link.active:hover {
  color: #437ffe;
  opacity: 1;
}

.nav-link.active::after {
  display: none !important;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Button Styles (Exact Figma: 24px font, padding 16px 24px, radius 10px) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  outline: none;
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: 400;
  border-radius: 10px;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, opacity 0.2s ease;
  text-decoration: none;
  user-select: none;
}

.btn-primary {
  background-color: var(--btn-bg);
  color: var(--btn-text);
  padding: 16px 24px;
  font-size: 24px;
  line-height: 1.2;
  min-width: 157px;
  height: 61px;
}

.btn-primary:hover {
  background-color: #f3f4f6;
  color: #2970FF;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px -4px rgba(255, 255, 255, 0.22);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

/* Nav Join Button: Compact 16px size matching thinner navbar */
.nav-join-btn {
  height: 42px;
  min-width: 92px;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  border-radius: 9px;
  margin: 0 !important;
}

.nav-join-btn:hover,
.nav-join-btn:active {
  transform: none !important;
  box-shadow: none !important;
  background-color: #f3f4f6;
  color: #2970FF;
}

.btn-large {
  min-width: 157px;
  height: 61px;
  font-size: 24px;
  padding: 16px 24px;
}

/* Action buttons on Home (Join, About Us, View Projects) keep stable size and turn text blue on hover */
#hero-join-trigger:hover,
#about-us-trigger:hover,
#view-projects-trigger:hover {
  transform: none !important;
  box-shadow: none !important;
  background-color: var(--btn-bg) !important;
  color: #2970FF !important;
}

#hero-join-trigger:active,
#about-us-trigger:active,
#view-projects-trigger:active {
  transform: scale(0.98) !important;
  box-shadow: none !important;
  color: #2970FF !important;
}

/* Universal Action Buttons Hover: Text turns vibrant DevX blue on hover */
.btn-primary:hover,
.btn-hero-apply:hover,
.contact-us-btn:hover,
.nav-join-btn:hover,
.btn-calendar:hover,
#add-to-calendar-btn:hover,
#hero-join-trigger:hover,
#about-us-trigger:hover,
#view-projects-trigger:hover,
#hero-start-app-btn:hover,
#projects-contact-trigger:hover {
  color: #2970FF !important;
}

.btn-block {
  width: 100%;
  height: 56px;
  font-size: 20px;
  font-weight: 600;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid var(--border-nav);
  border-radius: 10px;
  cursor: pointer;
}

.mobile-menu-toggle .bar {
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   Hero Section (Figma Node 154:86 - 1440px x 1024px)
   ========================================================================== */

.hero-section {
  position: sticky;
  top: 0;
  width: 100%;
  max-width: 100%;
  background-color: #101216;                      /* Darker background for hero section */
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 48px 24px;
  z-index: 1;
  overflow: hidden;
}

.hero-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(380px, 44%) 1fr;
  align-items: center;
  position: relative;
  gap: 20px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 120px;
  z-index: 5;
}

.hero-title {
  font-family: var(--font-header);
  font-size: clamp(88px, 9.8vw, 142px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--text-white);
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-white);
  max-width: 365px;
  margin-bottom: 28px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  position: relative;
  width: fit-content;
}

.hero-cta .btn {
  position: relative;
  z-index: 1;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

/* Ensure Join button on hero section does not light up or translate up */
.hero-cta .btn:hover,
#hero-join-trigger:hover {
  transform: none;
  box-shadow: none;
  background-color: var(--btn-bg);
  color: #2970FF;
}

.hero-cta .btn:active,
#hero-join-trigger:active {
  transform: scale(0.98);
  box-shadow: none;
}

/* Hero Graphics: Interactive X Glyph Field */
.hero-graphics {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  z-index: 2;
}

/* ── The Xfx Component (Live Simmering ASCII Matrix) ── */
.xfx {
  position: relative;
  color: #437ffe;                                 /* Electric DevX Blue */
  width: min(100vw, 700px);                       /* Ever so slightly smaller to reveal more of the X */
  max-width: 710px;
  margin-left: 10px;
  transform: translateX(35px);                    /* Moves the X slightly towards the right */
  cursor: pointer;
  pointer-events: auto;
}

.xfx img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.xfx canvas {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
}

.xfx.is-live img {
  opacity: 0;                                     /* real <img> stays as fallback / for a11y */
}

/* ==========================================================================
   Who We Are Section (Figma Node 154:113 - 1440px x 721px)
   ========================================================================== */

.who-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: auto;
  height: auto;
  padding: 170px 48px 80px;
  display: flex;
  justify-content: center;
  z-index: 10;
  overflow: hidden;
  background-color: var(--bg-main);
  box-shadow: none;
}

/* Side Glow Container inside Who Section - Subtle edge accent (mostly off-screen) */
.who-glow-container {
  position: absolute;
  top: -120px;
  left: -470px;
  width: 593px;
  height: 960px;
  pointer-events: none;
  z-index: 0;
}

.who-glow-container .glow-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.who-glow-container.glow-theme-blue .glow-blue {
  opacity: 0.75;
}
.who-glow-container.glow-theme-blue .glow-orange {
  opacity: 0;
}

.who-glow-container.glow-theme-orange .glow-blue {
  opacity: 0;
}
.who-glow-container.glow-theme-orange .glow-orange {
  opacity: 0.75;
}

.who-container {
  width: 100%;
  max-width: 1440px;
  display: grid;
  grid-template-columns: 660px 1fr;
  gap: 30px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.who-left {
  padding-left: 70px;
  padding-top: 90px;
}

.dynamic-heading {
  font-size: 64px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  display: flex;
  flex-direction: column;
  width: 653px;
}

.dynamic-word-line {
  display: inline-flex;
  align-items: baseline;
  min-height: 1.25em;
  position: relative;
  width: fit-content;
}

.dynamic-word {
  font-family: var(--font-header);
  display: inline;
  font-weight: 400;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  white-space: pre;
  position: relative;
  z-index: 1;
}

/* Subtle, understated text gradients */
.dynamic-word.theme-blue {
  background-image: linear-gradient(90deg, #7899ec 0%, #b2c5f8 25%, #ffffff 60%);
}

.dynamic-word.theme-orange {
  background-image: linear-gradient(90deg, #e84d38 0%, #f2745d 25%, #ffffff 60%);
}

.typing-cursor {
  display: inline-block;
  color: #ffffff;
  font-weight: 300;
  font-size: 0.9em;
  margin-left: 2px;
  line-height: 1;
  animation: cursorBlink 0.9s infinite;
  user-select: none;
  position: relative;
  z-index: 1;
}

@keyframes cursorBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.static-phrase {
  font-family: var(--font-header);
  font-weight: 400;
  color: var(--text-white);
}

.who-right {
  display: flex;
  flex-direction: column;
  max-width: 550px;
  padding-left: 110px;
}

.who-title {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 34px;
}

.who-description {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 52px;
}

.who-description p {
  color: var(--text-muted);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 400;
}

/* ==========================================================================
   Ongoing Projects Section (Figma Node 154:119 - 1440px x 974px)
   ========================================================================== */

.projects-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 974px;
  height: 974px;
  padding: 130px 48px 0;
  display: flex;
  justify-content: center;
  z-index: 10;
  overflow: hidden;
  background-color: var(--bg-main);
}

.projects-container {
  width: 100%;
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.projects-header {
  margin-bottom: 24px;
}

.section-title {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  font-weight: 400;
}

.projects-stage-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.projects-ambient-glow {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 672px;
  height: 486px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
}

.projects-ambient-glow img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Carousel matches exact Figma dimensions: Center 676px x 400px */
.projects-carousel {
  position: relative;
  width: 100%;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  margin-bottom: 16px;
}

/* ---------------------------------------------------------------
   Pixelated Edge Effect for Project Cards (during slide)
   --------------------------------------------------------------- */

/* A subtle noise texture applied to the ends of the gradient bars when the card moves. */
/* Pixelated overlay always visible for demo */
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2'%3E%3Crect width='1' height='1' fill='%23000000'/%3E%3Crect x='1' y='1' width='1' height='1' fill='%23000000'/%3E%3C/svg%3E");
  background-size: 8px 8px;
  opacity: 0.12; /* subtle grain */
  mix-blend-mode: overlay;
}

/* Remove the variant class rules (they are no longer needed) */
.project-card.pixelate::before,
.project-card.pixelate-flash::before {
  /* No extra styles */
}

.project-card {
  position: absolute;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  user-select: none;
  outline: none;
}

.project-card:focus-visible {
  outline: 2px solid var(--accent-blue-start);
  border-radius: 16px;
}

.phone-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.75);
  background: #000;
  transition: transform 0.35s ease;
}

.phone-frame:hover {
  transform: scale(1.02);
}

.project-screenshot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.card-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* Left Card */
.project-card.left-card {
  left: 20px;
  width: 280px;
  height: 175px;
  opacity: 0.45;
  transform: scale(1) translateZ(0);
  z-index: 2;
}

.project-card.left-card .phone-frame {
  width: 280px;
  height: 175px;
  border-radius: 12px;
}

.project-card.left-card .card-overlay {
  background: linear-gradient(to right, rgba(20, 21, 25, 0.25), rgba(20, 21, 25, 0.85));
}

/* Right Card */
.project-card.right-card {
  right: 20px;
  width: 280px;
  height: 175px;
  opacity: 0.45;
  transform: scale(1) translateZ(0);
  z-index: 2;
}

.project-card.right-card .phone-frame {
  width: 280px;
  height: 175px;
  border-radius: 12px;
}

.project-card.right-card .card-overlay {
  background: linear-gradient(to left, rgba(20, 21, 25, 0.25), rgba(20, 21, 25, 0.85));
}

/* Center Card (Active: 676px x 400px) */
.project-card.center-card {
  width: 676px;
  height: 400px;
  opacity: 1;
  transform: scale(1) translateZ(10px);
  z-index: 5;
}

.project-card.center-card .phone-frame {
  width: 676px;
  height: 400px;
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9), 0 0 50px rgba(7, 51, 175, 0.4);
}

.project-card.center-card .card-overlay {
  opacity: 0;
}

/* Hidden Cards in Carousel */
.project-card.hidden-card {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden;
  transform: scale(0.6) translateZ(-50px);
  z-index: 0;
}



.project-caption {
  font-size: 20px;
  color: var(--text-white);
  margin-top: 12px;
  margin-bottom: 38px;
  font-weight: 400;
  transition: opacity 0.3s ease;
  min-height: 28px;
}

.projects-cta {
  display: flex;
  justify-content: center;
}

.projects-cta .btn {
  min-width: 206px;
  height: 61px;
  font-size: 24px;
}

/* ==========================================================================
   Where Our Members Have Gone (Figma Node 154:128 & 154:85 - 342px Dark Bar)
   ========================================================================== */

.alumni-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 520px;
  height: auto;
  padding: 80px 0 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  overflow: hidden;
  background-color: var(--bg-main);
}

.alumni-container {
  width: 100%;
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  box-sizing: border-box;
}

.alumni-container .section-title {
  font-family: var(--font-header);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 52px;
  padding: 0 24px;
  letter-spacing: -0.01em;
}

/* Dark Company Logos Bar (Figma Node 579:1366: 342px high, #101017, full width) */
.alumni-viewport-bar {
  position: relative;
  width: 100%;
  height: 342px;
  background-color: #101017;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
}

/* Continuous Infinite Left-to-Right Marquee Track */
.alumni-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: alumniMarqueeLTR 40s linear infinite;
  will-change: transform;
}

/* Keyframe for continuous left-to-right motion */
@keyframes alumniMarqueeLTR {
  0% {
    transform: translate3d(-50%, 0, 0);
  }
  100% {
    transform: translate3d(0%, 0, 0);
  }
}

/* Logo Group: horizontal flex container with uniform spacing */
.alumni-logo-group {
  display: flex;
  align-items: center;
  gap: 120px;
  padding-right: 120px;
  flex-shrink: 0;
}

.alumni-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 1;
}

.company-logo {
  display: block;
  object-fit: contain;
}

/* Logo Proportions (Figma Node 154:128 calibrated) */
.logo-coinbase {
  height: 52px;
  width: auto;
}

.logo-google {
  height: 60px;
  width: auto;
}

.logo-meta {
  height: 52px;
  width: auto;
}

.logo-amazon {
  height: 48px;
  width: auto;
}

.logo-apple {
  height: 58px;
  width: auto;
}

.logo-microsoft {
  height: 48px;
  width: auto;
}

.logo-roblox {
  height: 48px;
  width: auto;
}

.logo-adobe {
  height: 44px;
  width: auto;
}

/* ==========================================================================
   Footer (Figma Node 207:668 - 1440px x 316px)
   ========================================================================== */

.site-footer {
  position: relative;
  width: 100%;
  background-color: var(--bg-footer);
  min-height: 316px;
  height: 316px;
  padding: 65px 48px 40px;
  display: flex;
  justify-content: center;
  z-index: 10;
  border-top: none;
}

/* Thin band of blue pixel effect matching the Hero X */
.footer-pixel-band {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  overflow: hidden;
  pointer-events: none;
  z-index: 10;
  display: block;
}

.footer-pixel-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.footer-container {
  width: 100%;
  max-width: 1440px;
  display: grid;
  grid-template-columns: 554px 182px 271px 1fr;
  padding-left: 56px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  font-family: var(--font-header);
  font-size: 64px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-white);
  margin-bottom: 120px;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 2;
}

.footer-heading {
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-links li a {
  color: var(--text-white);
  text-decoration: none;
  font-size: 16px;
  line-height: 2;
  display: inline-block;
}

.footer-links li a:hover {
  color: var(--text-white) !important;
  transform: none !important;
}

.secondary-links {
  margin-top: 44px;
}

.footer-email {
  color: var(--text-white);
  text-decoration: underline;
  text-underline-position: from-font;
  font-size: 16px;
  line-height: 2;
  margin-bottom: 14px;
  display: inline-block;
}

.footer-email:hover {
  color: var(--text-white) !important;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-icon:hover {
  opacity: 0.8 !important;
  transform: translateY(-1px) !important;
}

.social-icon img {
  display: block;
}

/* ==========================================================================
   Join Application Modal
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 540px;
  background: #18191f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 38px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(72, 107, 205, 0.25);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: #ffffff;
}

.modal-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(72, 107, 205, 0.2);
  border: 1px solid rgba(72, 107, 205, 0.4);
  color: #93c5fd;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.modal-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal-description {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.join-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #cbd5e1;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  background: #101115;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #ffffff;
  font-family: var(--font-family);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.25);
}

.form-success-message {
  text-align: center;
  padding: 24px 0;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
  font-size: 28px;
  margin-bottom: 16px;
}

.form-success-message h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.form-success-message p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.5;
}

/* ==========================================================================
   Responsive Scaling for Smaller Laptops & Tablets
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-section {
    position: sticky;
    top: 0;
    z-index: 1;
    height: 100vh;
    min-height: 600px;
    max-height: none;
    padding: 95px 32px 50px;
    overflow: hidden;
  }

  .hero-container {
    grid-template-columns: minmax(320px, 46%) 1fr;
    align-items: center;
    justify-items: start;
    text-align: left;
    position: relative;
    gap: 16px;
  }

  .hero-content {
    align-items: flex-start;
    padding-left: 0;
    padding-top: 0;
    z-index: 5;
  }

  .hero-subtitle {
    max-width: 360px;
  }

  .hero-graphics {
    justify-content: center;
    height: auto;
    overflow: visible;
  }

  .xfx {
    width: 100%;
    max-width: 520px;
    margin: 0;
    transform: translateX(10px);
  }

  .who-section {
    height: auto;
    min-height: auto;
    padding: 70px 24px;
  }

  .who-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .who-left {
    padding-left: 0;
    padding-top: 0;
  }

  .dynamic-heading {
    width: 100%;
  }

  .who-right {
    max-width: 100%;
    padding-left: 0;
  }

  .projects-section {
    height: auto;
    min-height: auto;
    padding: 80px 24px;
  }

  .alumni-section {
    height: auto;
    min-height: auto;
    padding: 70px 0 80px;
  }

  .alumni-container .section-title {
    font-size: 40px;
    margin-bottom: 40px;
  }

  .alumni-viewport-bar {
    height: 280px;
  }

  .alumni-logo-group {
    gap: 80px;
    padding-right: 80px;
  }

  .logo-coinbase { height: 44px; }
  .logo-google { height: 50px; }
  .logo-meta { height: 44px; }
  .logo-amazon { height: 40px; }
  .logo-apple { height: 48px; }
  .logo-microsoft { height: 40px; }
  .logo-roblox { height: 40px; }
  .logo-adobe { height: 38px; }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding-left: 0;
  }

  .site-footer {
    height: auto;
  }
}

@media (max-width: 768px) {
  .navbar-wrapper {
    padding: 0 14px;
    top: 12px;
  }

  .navbar {
    height: 48px;
    padding: 0 8px 0 14px;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
  }

  .navbar-links {
    position: fixed;
    top: 68px;
    left: 14px;
    right: 14px;
    background: rgba(20, 21, 25, 0.96);
    border: 1px solid var(--border-nav);
    border-radius: 16px;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    backdrop-filter: blur(24px);
    display: none;
    z-index: 100;
  }

  .navbar-links.mobile-open {
    display: flex;
  }

  .navbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-menu-toggle {
    display: flex;
    width: 32px;
    height: 32px;
  }

  .nav-join-btn {
    height: 28px;
    min-width: unset;
    padding: 0 11px;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 28px;
    border-radius: 6px;
    margin: 0 !important;
  }

  .btn-primary {
    min-width: 110px;
    height: 44px;
    padding: 10px 18px;
    font-size: 16px;
  }

  .hero-section {
    position: sticky;
    top: 0;
    z-index: 1;
    min-height: 520px;
    height: 100vh;
    height: 100svh;
    max-height: none;
    padding: 85px 16px 40px;
    overflow: hidden;
    display: flex;
    align-items: center;
  }

  .hero-glow-blue-topleft {
    top: -160px;
    left: -200px;
    width: 680px;
    height: 440px;
    opacity: 0.85;
  }

  .hero-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    overflow: visible;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding-left: 0;
    padding-top: 0;
    width: 62%;
    max-width: 340px;
    z-index: 5;
    position: relative;
  }

  .hero-title {
    font-size: clamp(52px, 14vw, 76px);
    line-height: 1;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: clamp(14px, 3.8vw, 17px);
    line-height: 1.38;
    max-width: 250px;
    margin-bottom: 22px;
  }

  .hero-cta {
    position: relative;
    z-index: 6;
  }

  .hero-cta .btn-large {
    min-width: 110px;
    height: 44px;
    font-size: 17px;
    padding: 8px 20px;
  }

  .hero-graphics {
    position: absolute;
    right: -24%;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(260px, 70vw, 420px);
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    overflow: visible;
    pointer-events: auto;
  }

  .xfx {
    width: 100%;
    max-width: 100%;
    margin: 0;
    transform: none;
    cursor: pointer;
    pointer-events: auto;
  }

  .binary-field {
    opacity: 0.55;
  }

  .who-binary-right,
  .projects-binary-right,
  .alumni-binary-bottomright {
    display: none;
  }

  .hero-binary-btn {
    width: 260px;
    height: 140px;
  }

  .who-binary-left {
    width: 320px;
    height: 120px;
    left: -15px;
  }

  .dynamic-heading {
    font-size: 42px;
  }

  .who-description p {
    font-size: 18px;
  }

  .projects-carousel {
    height: 320px;
  }

  .project-card.left-card,
  .project-card.right-card {
    display: none;
  }

  .project-card.center-card {
    width: 100%;
    max-width: 360px;
    height: 280px;
  }

  .project-card.center-card .phone-frame {
    width: 100%;
    height: 280px;
  }

  .alumni-section {
    padding: 50px 0 70px;
    overflow: hidden;
  }

  .alumni-container {
    width: 100%;
    max-width: 100%;
  }

  .alumni-container .section-title {
    font-size: clamp(24px, 6vw, 34px);
    line-height: 1.25;
    margin-bottom: 28px;
    padding: 0 16px;
  }

  .alumni-viewport-bar {
    height: 210px;
  }

  .alumni-logo-group {
    gap: 52px;
    padding-right: 52px;
  }

  .logo-coinbase { height: 32px; }
  .logo-google { height: 38px; }
  .logo-meta { height: 32px; }
  .logo-amazon { height: 30px; }
  .logo-apple { height: 38px; }
  .logo-microsoft { height: 30px; }
  .logo-roblox { height: 30px; }
  .logo-adobe { height: 28px; }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-brand {
    font-size: 48px;
    margin-bottom: 24px;
  }

  .secondary-links {
    margin-top: 0;
  }
}

/* ==========================================================================
   Our Team Page Styles (Figma Node 207:552)
   ========================================================================== */

.team-body {
  position: relative;
  background-color: var(--bg-main);
  color: var(--text-white);
  overflow-x: hidden;
  min-height: auto;
}

.team-main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  zoom: 0.8;
  padding-top: 142px;
  padding-bottom: 35px;
  transform-origin: top center;
}

.team-header-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 32px;
}

.team-page-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-white);
  margin-bottom: 8px;
}

.team-page-subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  color: #9ea1b3;
}

.team-grid-section {
  width: 100%;
  max-width: var(--max-content-width);
  display: flex;
  justify-content: center;
  padding: 0 32px;
}

.team-grid-container {
  width: 100%;
  max-width: 925px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.board-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.board-row.row-2-cols {
  gap: 64px;
}

.board-row.row-3-cols {
  gap: 26px;
}

.board-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 285px;
  cursor: default;
  position: relative;
}

.board-image-frame {
  width: 285px;
  height: 340px;
  border-radius: 16px;
  overflow: hidden;
  background: #18191f;
  box-shadow: none;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.board-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Individual photo alignment & zoom adjustments */
.board-card[data-member="lexi-chua"] .board-photo {
  transform: scale(1.38);
  transform-origin: 50% 65%;
}

.board-card[data-member="arushi-gupta"] .board-photo {
  transform: scale(2.15);
  transform-origin: 41% 68%;
}


/* LinkedIn Pop-up Ease-In in Top Right Corner */
.board-linkedin-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(20, 21, 25, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-6px) scale(0.9);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease;
  z-index: 10;
  cursor: pointer;
  text-decoration: none;
  pointer-events: none;
}

.board-card:hover .board-linkedin-btn,
.board-image-frame:hover .board-linkedin-btn {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.board-linkedin-btn:hover {
  background-color: rgba(10, 102, 194, 0.95);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(0) scale(1.08);
  box-shadow: 0 4px 14px rgba(10, 102, 194, 0.45);
}

.board-linkedin-btn img {
  width: 20px;
  height: 20px;
  display: block;
}

.placeholder-frame {
  background: #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #1e2028;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.avatar-initials {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.board-name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-white);
  margin-top: 16px;
  margin-bottom: 6px;
  text-align: center;
  width: 100%;
}

.board-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  width: 100%;
}

.board-role,
.board-major {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
}

/* Team Page Responsiveness */
@media (max-width: 960px) {
  .board-row.row-2-cols,
  .board-row.row-3-cols {
    flex-wrap: wrap;
    gap: 40px;
  }

  .team-grid-container {
    gap: 48px;
  }
}

@media (max-width: 640px) {
  .team-main {
    padding-top: 130px;
    padding-bottom: 40px;
  }

  .team-header-section {
    margin-bottom: 32px;
  }

  .team-page-title {
    font-size: 36px;
  }

  .team-page-subtitle {
    font-size: 18px;
  }

  .board-card,
  .board-image-frame {
    width: 260px;
  }

  .board-image-frame {
    height: 310px;
  }

  .board-row {
    gap: 36px;
  }
}

/* ==========================================================================
   DevX Join Us Page Styles (Figma Node 207-602)
   ========================================================================== */

.join-body {
  position: relative;
  background-color: var(--bg-main);
  color: var(--text-white);
  overflow-x: hidden;
}

.join-main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 100px;
  position: relative;
  z-index: 1;
}

/* 1. Join Hero Section (Full Viewport Centered Hero) */
.join-hero-section {
  width: 100%;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 80px 24px;
  box-sizing: border-box;
}

.join-hero-container {
  width: 100%;
  max-width: 1240px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  margin: auto 0;
}

.join-hero-media {
  width: 556px;
  height: 371px;
  max-width: 100%;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
}

.join-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

.join-placeholder-box {
  width: 540px;
  height: 350px;
  border-radius: 18px;
  background-color: #d9d9d9;
  flex-shrink: 0;
}

.join-hero-content {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.join-hero-title {
  font-size: 54px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.join-hero-desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #9ea1b3;
  margin-bottom: 36px;
  max-width: 480px;
}

.join-hero-cta {
  display: inline-flex;
  align-items: center;
  position: relative;
  width: fit-content;
}

.join-countdown {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #9ea1b3;
  margin-top: -12px;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

@keyframes liveTextPulse {
  0%, 100% {
    color: #000000;
  }
  50% {
    color: #2970FF;
  }
}

.btn-hero-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background-color: #ffffff;
  color: #000000;
  font-size: 20px;
  font-weight: 600;
  padding: 14px 40px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-family: var(--font-family);
  animation: liveTextPulse 2.8s ease-in-out infinite;
  will-change: color;
  position: relative;
  z-index: 1;
}

.btn-hero-apply:hover {
  opacity: 0.96;
  color: #2970FF !important;
  animation-play-state: paused;
}

.btn-hero-apply:active {
  opacity: 0.85;
}

/* 2. Where You Can Make Your Impact */
.roles-section {
  width: 100%;
  max-width: 1200px;
  padding: 140px 24px 100px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.roles-section-header {
  text-align: center;
  margin-bottom: 56px;
}

.roles-section-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 14px;
}

.roles-section-subtitle {
  font-size: 20px;
  font-weight: 400;
  color: #9ea1b3;
  line-height: 1.2;
}

.roles-grid-container {
  display: grid;
  grid-template-columns: repeat(2, 411px);
  gap: 36px 36px;
  justify-content: center;
}

.role-card {
  width: 411px;
  height: 268px;
  border-radius: 16px;
  border: 1px solid #9ea1b3;
  padding: 24px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-sizing: border-box;
  transform-origin: center center;
}

.role-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.role-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.role-icon {
  display: block;
  transition: stroke 0.25s ease, color 0.25s ease;
}

.role-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  transition: color 0.25s ease;
}

.role-description {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #9ea1b3;
  transition: color 0.25s ease;
}

/* Specific Role Theme Colors - All roles unified to the Dev & Marketer Blue Theme */
.role-card-developer,
.role-card-designer,
.role-card-pm,
.role-card-marketer {
  background-color: rgba(67, 127, 254, 0.1);
  border: 1.5px solid #437ffe;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.role-card-developer .role-title,
.role-card-designer .role-title,
.role-card-pm .role-title,
.role-card-marketer .role-title {
  color: #ffffff;
}

.role-card-developer .role-icon,
.role-card-designer .role-icon,
.role-card-pm .role-icon,
.role-card-marketer .role-icon {
  color: #437ffe;
}

.role-card-developer:hover,
.role-card-developer.active,
.role-card-designer:hover,
.role-card-designer.active,
.role-card-pm:hover,
.role-card-pm.active,
.role-card-marketer:hover,
.role-card-marketer.active {
  background-color: #437ffe;
  border-color: #437ffe;
}

.role-card-developer:hover .role-title,
.role-card-developer.active .role-title,
.role-card-developer:hover .role-description,
.role-card-developer.active .role-description,
.role-card-designer:hover .role-title,
.role-card-designer.active .role-title,
.role-card-designer:hover .role-description,
.role-card-designer.active .role-description,
.role-card-pm:hover .role-title,
.role-card-pm.active .role-title,
.role-card-pm:hover .role-description,
.role-card-pm.active .role-description,
.role-card-marketer:hover .role-title,
.role-card-marketer.active .role-title,
.role-card-marketer:hover .role-description,
.role-card-marketer.active .role-description {
  color: #141519;
}

.role-card-developer:hover .role-icon,
.role-card-developer.active .role-icon,
.role-card-designer:hover .role-icon,
.role-card-designer.active .role-icon,
.role-card-pm:hover .role-icon,
.role-card-pm.active .role-icon,
.role-card-marketer:hover .role-icon,
.role-card-marketer.active .role-icon {
  color: #141519;
}

/* Subtle alternating rotation on hover or active tap */
.role-card-developer:hover,
.role-card-developer.active,
.role-card-pm:hover,
.role-card-pm.active {
  transform: rotate(-1.5deg);
}

.role-card-designer:hover,
.role-card-designer.active,
.role-card-marketer:hover,
.role-card-marketer.active {
  transform: rotate(1.5deg);
}

/* 3. Internship Program Section */
.internship-section {
  width: 100%;
  max-width: 1200px;
  padding: 100px 24px 100px 24px;
  display: flex;
  justify-content: center;
}

.internship-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 72px;
}

.internship-media-card {
  width: 534px;
  height: 400px;
  border-radius: 16px;
  background: #20222a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.internship-placeholder-inner {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #262933 0%, #17181e 100%);
}

.internship-placeholder-text {
  font-size: 28px;
  font-weight: 500;
  color: #9ea1b3;
  letter-spacing: -0.01em;
  text-align: center;
  user-select: none;
}

.internship-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.internship-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.internship-content {
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.internship-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.internship-desc {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: #9ea1b3;
}

/* 4. Recruitment Timeline Section */
.timeline-section {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 120px 24px 140px 24px;
  background: linear-gradient(180deg, rgba(24, 48, 99, 0) 0%, #11254f 100%);
  overflow: hidden;
}

.timeline-header {
  text-align: center;
  margin-bottom: 72px;
  z-index: 2;
}

.timeline-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
}

.timeline-container {
  width: 100%;
  max-width: 920px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 48px;
  z-index: 2;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 190px 48px 1fr;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

.timeline-date-col {
  text-align: right;
  padding-right: 20px;
  padding-top: 37px;
}

.timeline-date {
  font-size: 20px;
  font-weight: 600;
  color: #9ea1b3;
  line-height: 1.2;
  white-space: nowrap;
}

.timeline-node-col {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 35px;
  position: relative;
  z-index: 2;
}

/* Connecting line segments that terminate precisely at the center of the final decision dot */
.timeline-item:not(:last-child) .timeline-node-col::after {
  content: '';
  position: absolute;
  top: 51px;
  bottom: -100px;
  width: 2px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(67, 127, 254, 0.4);
  z-index: 1;
}

.timeline-node-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #203052;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  position: relative;
  z-index: 2;
}

.timeline-node-inner {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background-color: #437ffe;
  display: block;
}

.timeline-card-col {
  width: 100%;
}

.timeline-card {
  width: 100%;
  min-height: 192px;
  border-radius: 16px;
  background-color: rgba(67, 127, 254, 0.25);
  border: 1px solid #3162c9;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}

.timeline-card:hover {
  background-color: rgba(67, 127, 254, 0.35);
  border-color: rgba(90, 145, 255, 0.7);
  box-shadow: 0 4px 20px rgba(67, 127, 254, 0.12);
}

.timeline-card-title {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 12px;
}

.timeline-card-desc {
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.35;
}

.timeline-card-actions {
  margin-top: 20px;
  display: flex;
  align-items: center;
}

.btn-calendar {
  background-color: var(--btn-bg);
  color: var(--btn-text);
  height: 38px;
  min-width: 140px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: color 0.25s ease, background-color 0.25s ease;
  user-select: none;
  font-family: var(--font-family);
  box-shadow: none;
}

.btn-calendar:hover,
.btn-calendar:active,
.btn-calendar:focus,
#add-to-calendar-btn:hover,
#add-to-calendar-btn:active,
#add-to-calendar-btn:focus {
  background-color: #f3f4f6 !important;
  color: #2970FF !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Footer Active Link for Join */
.footer-nav a.active {
  color: #ffffff;
  font-weight: 600;
}

/* ==========================================================================
   Join Page Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
  .join-hero-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .join-hero-content {
    align-items: center;
    text-align: center;
  }

  .internship-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .internship-content {
    align-items: center;
    text-align: center;
  }

  .roles-grid-container {
    grid-template-columns: repeat(2, minmax(0, 380px));
    width: 100%;
  }

  .role-card {
    width: 100%;
    height: auto;
    min-height: 268px;
  }
}

@media (max-width: 820px) {
  .roles-grid-container {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .role-card {
    width: 100%;
  }

  .join-hero-media,
  .join-placeholder-box {
    width: 100%;
    max-width: 515px;
    height: auto;
    aspect-ratio: 556 / 371;
  }

  .internship-media-card {
    width: 100%;
    max-width: 534px;
    height: 320px;
  }

  /* Compact Timeline */
  .timeline-container {
    max-width: 100%;
  }

  .timeline-item {
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }

  .timeline-date-col {
    display: none;
  }

  .timeline-node-col {
    grid-column: 1;
    padding-top: 24px;
    justify-content: center;
  }

  .timeline-item:not(:last-child) .timeline-node-col::after {
    top: 40px;
    bottom: -90px;
  }

  .timeline-card-col {
    grid-column: 2;
  }

  .timeline-card::before {
    content: attr(data-date);
    display: block;
    font-size: 16px;
    color: #9ea1b3;
    margin-bottom: 8px;
    font-weight: 600;
  }
}

@media (max-width: 640px) {
  .join-hero-title,
  .roles-section-title,
  .timeline-title {
    font-size: 36px;
  }

  .internship-title {
    font-size: 28px;
  }

  .timeline-card-title,
  .role-title {
    font-size: 24px;
  }

  .roles-section,
  .internship-section,
  .timeline-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .timeline-card {
    padding: 24px 20px;
  }

  .btn-calendar {
    height: 32px;
    min-width: unset;
    padding: 0 14px;
    font-size: 13px;
    border-radius: 7px;
  }
}

/* ==========================================================================
   DevX About Us Page Styles (Figma Node 207-444)
   ========================================================================== */

.about-body {
  position: relative;
  background-color: var(--bg-main);
  color: var(--text-white);
  overflow-x: hidden;
}

.about-main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 100px;
  position: relative;
  z-index: 1;
}

/* 1. Hero & Mission Section */
.about-mission-section {
  width: 100%;
  background-color: transparent;
  display: flex;
  justify-content: center;
  padding: 40px 24px 80px 24px;
  box-sizing: border-box;
  position: relative;
}

/* Top Left Ambient Glow for Subpages: About, Projects, Team, Join (Figma Node 207:444) */
.page-top-glow,
.about-glow-blue-topleft {
  position: absolute;
  top: -470px;
  left: -650px;
  width: 1550px;
  height: 960px;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  overflow: visible;
  background: radial-gradient(
    ellipse 65% 60% at 22% 25%,
    rgba(67, 140, 255, 0.50) 0%,
    rgba(37, 99, 245, 0.36) 28%,
    rgba(22, 65, 170, 0.20) 52%,
    rgba(16, 40, 110, 0.08) 72%,
    transparent 100%
  );
}

.page-top-glow img,
.about-glow-blue-topleft img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  display: block;
}

.mission-wrapper {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.mission-banner-card {
  width: 777px;
  max-width: 100%;
  height: 402px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: none;
  background-color: transparent;
  flex-shrink: 0;
}

.mission-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.mission-content {
  margin-top: 48px;
  text-align: center;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mission-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.mission-desc {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.45;
  color: #9ea1b3;
}

/* 2. Our Story Section */
.about-story-section {
  width: 100%;
  max-width: 1240px;
  padding: 120px 24px 100px 24px;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

.story-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.story-content {
  max-width: 533px;
  display: flex;
  flex-direction: column;
}

.story-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 24px;
}

.story-text p {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.45;
  color: #9ea1b3;
  margin-bottom: 20px;
}

.story-text p:last-child {
  margin-bottom: 0;
}

.story-media-card {
  width: 534px;
  max-width: 100%;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: none;
  flex-shrink: 0;
}

.story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

/* 3. DevX Moments Gallery Section */
.moments-section {
  width: 100%;
  max-width: 1240px;
  padding: 100px 24px 120px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  box-sizing: border-box;
}

.moments-header {
  text-align: center;
  margin-bottom: 56px;
}

.moments-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
}

.moments-gallery {
  width: 100%;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.moments-row {
  display: flex;
  gap: 18px;
  justify-content: center;
  width: 100%;
}

.moments-item {
  position: relative;
  overflow: hidden;
  box-shadow: none;
  cursor: pointer;
  background-color: #1a1b20;
}

.moments-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.moments-item:hover .moments-img {
  transform: scale(1.035);
}

/* Row 1 Proportions */
.moments-item-warriors {
  width: 411px;
  height: 292px;
  border-radius: 16px;
}

.moments-item-bigbear {
  width: 410px;
  height: 292px;
  border-radius: 16px;
}

/* Row 2 Proportions */
.moments-item-beach {
  width: 308px;
  height: 229px;
  border-radius: 16px;
}

.moments-item-frolicking {
  width: 178px;
  height: 229px;
  border-radius: 16px;
}

.moments-item-dinner {
  width: 310px;
  height: 229px;
  border-radius: 16px;
}

/* Row 3 Proportions */
.moments-item-big-littles {
  width: 340px;
  height: 359px;
  border-radius: 20px;
}

.moments-item-rooftop {
  width: 479px;
  height: 359px;
  border-radius: 20px;
}

/* Custom Floating Cursor Label */
.moments-cursor-label {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  background: rgba(38, 103, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 8px 16px;
  border-radius: 20px;
  box-shadow: none;
  opacity: 0;
  transform: translate(16px, 16px) scale(0.9);
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.moments-cursor-label.active {
  opacity: 1;
  transform: translate(16px, 16px) scale(1);
}

/* 4. Member Stories Section */
.member-stories-section {
  width: 100%;
  max-width: 1240px;
  padding: 80px 24px 140px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.member-stories-header {
  text-align: center;
  margin-bottom: 56px;
}

.member-stories-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
}

.member-stories-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  max-width: 1143px;
}

.member-story-card {
  width: 100%;
  min-height: 222px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  padding: 28px 40px;
  gap: 40px;
  box-sizing: border-box;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-card-featured {
  background: rgba(67, 127, 254, 0.25);
  border: 2px solid #3162c9;
}

.story-card-standard {
  background: #d9d9d9;
  border: 2px solid transparent;
}

.story-avatar-wrapper {
  width: 162px;
  height: 162px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: none;
}

.story-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-member-info {
  width: 220px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.story-member-name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
}

.story-card-featured .story-member-name {
  color: #ffffff;
}

.story-card-standard .story-member-name {
  color: #000000;
}

.story-member-role,
.story-member-major,
.story-member-class {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

.story-card-featured .story-member-role,
.story-card-featured .story-member-major,
.story-card-featured .story-member-class {
  color: #9ea1b3;
}

.story-card-standard .story-member-role,
.story-card-standard .story-member-major,
.story-card-standard .story-member-class {
  color: #707070;
}

.story-quote-box {
  flex: 1;
  padding-left: 10px;
}

.story-quote {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.45;
}

.story-card-featured .story-quote {
  color: #9ea1b3;
}

.story-card-standard .story-quote {
  color: #000000;
}

/* ==========================================================================
   About Us Page: Scroll-Triggered Entrance Animations (Optimized for 60/120fps)
   ========================================================================== */

.about-reveal,
.about-reveal-media {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-reveal.is-revealed,
.about-reveal-media.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Lightweight Stagger delays */
.about-delay-1 {
  transition-delay: 0.08s;
}

.about-delay-2 {
  transition-delay: 0.14s;
}

.about-delay-3 {
  transition-delay: 0.20s;
}

/* Moments Gallery sequential item delays */
.moments-row .moments-item:nth-child(1) {
  transition-delay: 0.04s;
}

.moments-row .moments-item:nth-child(2) {
  transition-delay: 0.08s;
}

.moments-row .moments-item:nth-child(3) {
  transition-delay: 0.12s;
}

/* Accessibility: Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .about-reveal,
  .about-reveal-media {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   About Us Page Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
  .story-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 48px;
  }

  .story-content {
    max-width: 640px;
    align-items: center;
  }

  .moments-gallery {
    max-width: 100%;
  }

  .moments-row {
    flex-wrap: wrap;
  }

  .moments-item-warriors,
  .moments-item-bigbear,
  .moments-item-beach,
  .moments-item-frolicking,
  .moments-item-dinner,
  .moments-item-big-littles,
  .moments-item-rooftop {
    width: calc(50% - 10px);
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .member-story-card {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 36px 24px;
  }

  .story-member-info {
    width: 100%;
    align-items: center;
  }

  .story-quote-box {
    padding-left: 0;
  }
}

@media (max-width: 820px) {
  .mission-banner-card {
    width: 100%;
    height: auto;
    aspect-ratio: 777 / 402;
  }

  .story-media-card {
    width: 100%;
    height: auto;
    aspect-ratio: 534 / 400;
  }
}

@media (max-width: 640px) {
  .mission-title,
  .story-title {
    font-size: 30px;
  }

  .moments-title,
  .member-stories-title {
    font-size: 36px;
  }

  .moments-item-warriors,
  .moments-item-bigbear,
  .moments-item-beach,
  .moments-item-frolicking,
  .moments-item-dinner,
  .moments-item-big-littles,
  .moments-item-rooftop {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .about-mission-section,
  .about-story-section,
  .moments-section,
  .member-stories-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .story-avatar-wrapper {
    width: 120px;
    height: 120px;
  }

  .story-quote {
    font-size: 17px;
  }

  .page-top-glow,
  .about-glow-blue-topleft {
    top: -235px;
    left: -325px;
    width: 580px;
    height: 460px;
  }
}

/* ==========================================================================
   Projects Page Styles (Direct 1:1 Scale Figma Implementation Node 207:502)
   ========================================================================== */

.projects-body {
  position: relative;
  background-color: var(--bg-main);
  color: var(--text-white);
  overflow-x: hidden;
  min-height: 100vh;
}

.projects-main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow-x: hidden;
}

/* 1. Projects Top Hero & Jump Nav (Centered, Lowered, Proportional Logos) */
.projects-hero-section {
  width: 100%;
  padding-top: 172px;
  padding-bottom: 25px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.projects-header-container {
  width: 100%;
  max-width: 1300px;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.projects-page-title {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 36px;
  letter-spacing: -0.5px;
  text-align: center;
}

.projects-icon-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4.5vw, 68px);
  flex-wrap: wrap;
  width: 100%;
}

.project-jump-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0;
  text-decoration: none;
  /* NO hover movement and NO glow */
  transform: none !important;
  transition: opacity 0.2s ease !important;
  box-shadow: none !important;
  outline: none !important;
}

.project-jump-btn:hover,
.project-jump-btn:focus,
.project-jump-btn:active {
  transform: none !important;
  box-shadow: none !important;
  outline: none !important;
  opacity: 0.82;
}

.jump-icon-card {
  width: 80px;
  height: 80px;
  border-radius: 14px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: none !important;
  /* NO glow effect */
  transform: none !important;
  transition: none !important;
}

.project-jump-btn:hover .jump-icon-card,
.project-jump-btn:focus .jump-icon-card {
  box-shadow: none !important;
  border: none !important;
  transform: none !important;
}

.jump-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.jump-label {
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -0.2px;
  text-align: center;
}

/* 2. Feature Sections (Prominent & Proportional Devices with Centered Content) */
.project-feature-section {
  position: relative;
  width: 100%;
  min-height: 760px;
  padding: 50px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.retune-section {
  padding-top: 15px;
}

.bruinplan-section {
  min-height: 760px;
  padding-bottom: 20px;
}

.bruinplan-section .project-content-column {
  margin-top: -36px;
}

@media (max-width: 900px) {
  .bruinplan-section .project-content-column {
    margin-top: 0;
  }
}

/* Ambient Gradient Mesh Bands (Drawn in on Scroll) */
.project-band {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 340px;
  width: 100%;
  pointer-events: none;
  z-index: 0;
  /* Phase 1: Draw in from left to right */
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: clip-path;
  overflow: hidden;
}

.bruinplan-section .project-band {
  height: 360px;
}

/* Subtle Film Grain Texture Overlay on Gradients */
.project-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("assets/icons/noise-grain.svg");
  background-repeat: repeat;
  background-size: 160px 160px;
  opacity: 0.32;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Reverse layout sections draw in from right to left */
.blink-section .project-band,
.sync-section .project-band {
  clip-path: inset(0 0 0 100%);
}

.project-feature-section.in-view .project-band {
  clip-path: inset(0 0% 0 0);
}

.band-retune {
  background: linear-gradient(269.95deg, rgba(20, 21, 25, 0.8) 0%, rgba(5, 0, 42, 0.8) 38.52%, rgba(255, 51, 115, 0.4) 126.95%);
}

.band-blink {
  background: linear-gradient(-89.47deg, rgba(255, 225, 161, 0.4) 24.76%, rgba(49, 42, 105, 0.8) 64.11%, rgba(20, 21, 25, 0.8) 102.82%);
}

.band-bchat {
  background: linear-gradient(-89.47deg, rgba(20, 21, 25, 0.8) 15.32%, rgba(23, 123, 189, 0.8) 58.20%, rgba(229, 123, 66, 0.8) 102.82%);
}

.band-sync {
  background: linear-gradient(-89.47deg, rgba(255, 201, 160, 0.8) 27.89%, rgba(232, 220, 249, 0.8) 42.49%, rgba(252, 223, 250, 0.8) 102.19%);
}

.band-bruinplan {
  background: linear-gradient(-89.47deg, rgba(4, 67, 124, 0.8) 27.89%, rgba(138, 142, 167, 0.8) 102.82%);
}

/* Feature Container - Unified Centered Alignment for Device + Info Pair */
.project-feature-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(36px, 5vw, 84px);
}

.project-feature-container.reverse-layout {
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

/* Device Columns & Mockups (Phase 2: Appear After Band) */
.project-device-column {
  flex: 0 0 auto;
  width: clamp(440px, 40vw, 590px);
  max-width: 590px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  /* Initial hidden state */
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.35s,
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
  will-change: opacity, transform;
}

.project-feature-section.in-view .project-device-column {
  opacity: 1;
  transform: translateY(0);
}

.laptop-column {
  width: clamp(560px, 52vw, 780px);
  max-width: 780px;
}

.device-showcase-wrapper {
  position: relative;
  width: 100%;
  max-width: 590px;
  /* Clean display with no hover tilt or shift */
  transform: none !important;
  transition: none !important;
}

.device-showcase-wrapper:hover,
.device-showcase-wrapper:focus,
.device-showcase-wrapper:active {
  transform: none !important;
}

.laptop-column .device-showcase-wrapper {
  max-width: 780px;
}

.device-screen-stack {
  position: relative;
  width: 100%;
  display: block;
  line-height: 0;
}

.device-screen-img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform: none !important;
}

.device-screen-img:hover {
  transform: none !important;
}

.device-screen-img:not(.active) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.device-screen-img.active {
  position: relative;
  opacity: 1;
}

/* Content Columns (Phase 3: Appear After Device) */
.project-content-column {
  flex: 0 0 auto;
  width: clamp(340px, 28vw, 440px);
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
  /* Initial hidden state */
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.55s,
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.55s;
  will-change: opacity, transform;
}

.project-feature-section.in-view .project-content-column {
  opacity: 1;
  transform: translateY(0);
}

.project-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.project-logo-badge {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  background: #181920;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.project-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-title {
  font-size: 38px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.project-description {
  font-size: 19.5px;
  font-weight: 400;
  color: #9ea1b3;
  line-height: 1.55;
}

/* Sync Section Dark Typography (High Contrast over Pastel Gradient) */
.sync-section .project-title {
  color: #141519;
}

.sync-section .project-description {
  color: #1e2028;
  font-weight: 450;
}

.sync-section .project-logo-badge {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.project-actions-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.app-store-badge-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transform: none !important;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.app-store-badge-link:hover,
.app-store-badge-link:focus {
  transform: none !important;
  filter: brightness(0.85);
}

.app-store-img {
  height: 48px;
  width: auto;
  display: block;
}

/* 3. Bottom CTA Section (Centered between BruinPlan and Footer) */
.projects-cta-section {
  width: 100%;
  padding: 0 40px 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.projects-cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 800px;
}

.projects-cta-title {
  font-size: 38px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.contact-us-btn {
  background: #ffffff;
  color: #0e0e0f;
  font-size: 20px;
  font-weight: 600;
  padding: 15px 34px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s ease;
  box-shadow: none !important;
}

.contact-us-btn:hover,
.contact-us-btn:focus,
.contact-us-btn:active {
  background-color: #f3f4f6;
  color: #2970FF;
  transform: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
}

/* 4. Projects Page Responsive Design */
@media (max-width: 1200px) {
  .project-feature-container,
  .project-feature-container.reverse-layout {
    gap: 32px;
  }

  .project-device-column {
    width: clamp(400px, 38vw, 500px);
  }

  .laptop-column {
    width: clamp(500px, 50vw, 680px);
  }

  .project-content-column {
    width: clamp(300px, 28vw, 400px);
  }
}

@media (max-width: 992px) {
  .project-feature-section {
    min-height: 440px;
    padding: 60px 0;
    display: flex;
    align-items: center;
    position: relative;
  }

  .project-feature-container,
  .project-feature-container.reverse-layout {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: left !important;
    gap: clamp(16px, 3.5vw, 42px);
    padding: 0 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .project-device-column {
    flex: 0 1 auto;
    width: clamp(200px, 44vw, 440px);
    max-width: 48%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .laptop-column {
    width: clamp(240px, 48vw, 520px);
    max-width: 52%;
  }

  .device-showcase-wrapper {
    width: 100%;
    max-width: 100% !important;
  }

  .project-content-column {
    flex: 0 1 auto;
    width: clamp(180px, 44vw, 360px);
    max-width: 46%;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 16px;
  }

  .project-title-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
  }

  .project-title {
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.2;
  }

  .project-description {
    font-size: clamp(14px, 2vw, 17px);
    line-height: 1.48;
    max-width: 300px;
  }

  .project-actions-row {
    justify-content: flex-start;
  }

  .project-band {
    height: 420px;
    top: 50%;
    transform: translateY(-50%);
  }

  .bruinplan-section .project-band {
    height: 440px;
  }
}

@media (max-width: 768px) {
  .projects-hero-section {
    padding-top: 130px;
    padding-bottom: 30px;
  }

  .projects-page-title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .projects-icon-bar {
    justify-content: center;
    gap: clamp(8px, 2.5vw, 14px);
    padding: 0 10px;
  }

  .jump-icon-card {
    width: clamp(52px, 15vw, 64px);
    height: clamp(52px, 15vw, 64px);
    border-radius: 12px;
  }

  .jump-label {
    font-size: 12px;
  }

  .project-feature-section {
    min-height: 380px;
    padding: 40px 0;
  }

  .project-feature-container,
  .project-feature-container.reverse-layout {
    gap: clamp(10px, 3vw, 24px);
    padding: 0 12px;
  }

  .project-device-column {
    width: clamp(130px, 44vw, 240px);
    max-width: 48%;
  }

  .laptop-column {
    width: clamp(155px, 48vw, 290px);
    max-width: 52%;
  }

  .project-content-column {
    width: clamp(140px, 46vw, 260px);
    max-width: 48%;
    gap: 10px;
  }

  .project-title-row {
    gap: 10px;
  }

  .project-logo-badge {
    width: clamp(32px, 7.5vw, 40px);
    height: clamp(32px, 7.5vw, 40px);
    border-radius: 8px;
    flex-shrink: 0;
  }

  .project-title {
    font-size: clamp(19px, 5vw, 26px);
  }

  .project-description {
    font-size: clamp(12px, 3.1vw, 14.5px);
    line-height: 1.4;
    max-width: 220px;
  }

  .app-store-img {
    height: clamp(28px, 6.5vw, 36px);
  }

  .project-band {
    height: 360px;
  }

  .bruinplan-section .project-band {
    height: 380px;
  }

  .projects-cta-section {
    padding: 10px 16px 70px;
  }

  .projects-cta-title {
    font-size: 24px;
  }

  .contact-us-btn {
    font-size: 16px;
    padding: 11px 22px;
  }
}

