/* Root variables */
:root {
  /* Color-Combination */
  --bg-main: #0d1217;
  --bg-secondary: #141b23;
  --bg-card: #1c2430;
  --bg-soft: #253040;
  --text-primary: #f4f5f7;
  --text-secondary: #c9d0da;
  --text-muted: #8e97a3;

  --accent: #c87452;
  --accent-soft: #e3a58e;
  --accent-dim: rgba(200, 116, 82, 0.32);

  --border-soft: rgba(201, 208, 218, 0.14);
  --border-accent: rgba(200, 116, 82, 0.42);

  --glow-soft: rgba(200, 116, 82, 0.18);
  --glow-strong: rgba(200, 116, 82, 0.35);

  --loader-bg: #0b1015;
  --loader-accent: #c87452;
  --loader-overlay: #141b23;

  --hover-bg: #c87452;
  --hover-text-dark: #090c10;

  --pill-bg: rgba(255, 255, 255, 0.92);
  --pill-text: #1a1f24;
  --project-hover-1: rgba(198, 124, 96, 0.62);
  --project-hover-2: rgba(214, 148, 88, 0.5);
  --project-hover-3: rgba(192, 92, 86, 0.72);
  --project-hover-4: rgba(162, 98, 76, 0.52);
  --project-hover-5: rgba(220, 79, 14, 0.52);

  --pill-border: rgba(0, 0, 0, 0.08);
  --pill-accent-text: var(--accent);

  --img-btn-bg: rgba(255, 255, 255, 0.95);
  --img-btn-text: var(--accent);
  --img-btn-border: rgba(200, 116, 82, 0.45);
  --img-btn-bg-hover: var(--accent);
  --img-btn-text-hover: var(--hover-text-dark);

  --img-icon-border: var(--accent);
  --img-icon-text: var(--accent);
  --img-icon-bg-hover: var(--accent);
  --img-icon-text-hover: var(--hover-text-dark);

  --img-text-primary: #111418;
  --img-text-secondary: #3a3f45;
  --globe-accent-start: #c87452;
  --globe-accent-end: #e3a58e;

  /* z-index:  */

  --z-negative: -1;

  /* Base content */
  --z-base: 1;

  /* Decorative elements */
  --z-bg: 2;
  --z-glow: 3;
  --z-particles: 4;

  /* Section content */
  --z-content: 5;

  /* Interactive elements */
  --z-interactive: 10;

  /* Floating UI */
  --z-nav: 100;
  --z-nav-overlay: 500;
  --z-cursor: 200;

  /* Overlays */
  --z-overlay: 500;

  /* Loader (highest) */
  --z-loader: 1000;

  /* #Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
}

/* General Css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Gilroy", sans-serif;
}

/* Selection Css */
*::selection {
  color: var(--accent-soft);
  background-color: var(--bg-soft);
}

html {
  font-size: 14px; 
}

html,
body {
  height: 100%;
  background: var(--bg-main);
  color: var(--text-primary);
}


/* Main Css */
main {
  position: relative;
  overflow: visible;
  min-height: 100vh;
}

/* LOADER CSS  */
#loader {
  height: 100vh;
  width: 100%;
  z-index: var(--z-loader);
  position: fixed;
  pointer-events: none;
  /* display: none; */
}

#loader-first {
  height: 100vh;
  width: 100%;
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 2vh;
  background-color: var(--loader-bg);
  color: var(--text-primary);
}
#loader-first > * {
  margin-bottom: 1vh;
}


/* Reveal text css */
.reveal {
  display: inline-block;
}
.parent {
  display: inline-block;
  overflow: hidden;
}
.child {
  display: inline-block;
  transform: translate(0, 0);
}

#top-heading {
  display: flex;
  align-items: center;
  flex-direction: column;
}
#top-heading,
#top-heading h3,
#top-heading h3 span {
  font-family: "Nothing You Could", cursive;
  font-weight: 400;
}
#top-heading h3 {
  font-size: 1.1vw;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.1vw;
}

#top-heading h3 .cross,
#top-heading #copyright,
.hero-title .lname,
#loader-first > h2 i {
  color: var(--accent);
}

#top-heading h3 .cross {
  font-weight: 900;
}

#top-heading #copyright {
  font-weight: 900;
  font-size: 1.2vw;
}
.hero-title {
  text-align: center;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-title .fname {
  display: block;
  font-size: clamp(3.8rem, 8vw, 6.5rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.fname {
  background: linear-gradient(
    90deg,
    #f4f5f7 0%,
    #f1eae6 45%,
    rgba(200, 116, 82, 0.85) 120%
  );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}
.hero-title .lname {
  display: block;
  margin-top: -0.6vw;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
}
.hero-title .descriptor {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1vw;
  font-size: clamp(0.9rem, 1.7vw, 1.8rem);
  font-family: "Nothing You Could", cursive;
  letter-spacing: 0.45em;
  opacity: 0.6;
}

#loader-first h2 i {
  display: inline-block;
  font-size: 3vw;
  font-weight: 100;
  animation: rotate 1s linear infinite;
}
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
#overlay-1 {
  height: 0;
  width: 100%;
  background-color: var(--accent);
  position: absolute;
  bottom: 0;
  z-index: 99;
}
#overlay-2 {
  height: 0;
  width: 100%;
  background-color: var(--loader-overlay);
  position: absolute;
  bottom: 0;
  z-index: 99;
}

/* NAV CSS  */
#explore-trigger {
  position: fixed;
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-nav);

  background: none;
  border: none;

  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;

  cursor: pointer;
  opacity: 0.9;

  transition: opacity 0.3s ease, transform 0.3s ease;
}

#explore-trigger:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(-1px);
}

/* Explore Overlay Css*/
#explore-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-nav-overlay);
  background: rgba(11, 16, 32, 0.88);
  backdrop-filter: blur(14px);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.35s ease;
}

#explore-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

#explore-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: radial-gradient(
    circle at 50% 50%,
    var(--glow-soft),
    transparent 60%
  );

  opacity: 0.35;
}

.explore-close {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  z-index: var(--z-interactive);

  background: none;
  border: none;

  color: var(--text-muted);
  font-size: 1.8rem;

  cursor: pointer;

  transition: color 0.3s ease, transform 0.35s ease;
}

.explore-close:hover {
  color: var(--accent);
  transform: rotate(90deg) scale(1.05);
}

.explore-menu {
  position: relative;
  z-index: var(--z-content);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  gap: 1.6rem;
  height: 60vh;
  text-align: center;
}

.explore-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;

  color: var(--accent);
  font-weight: 600;
  opacity: 0.9;

  margin-bottom: 1.8rem;
  position: relative;
}

/* eyebrow divider */
.explore-eyebrow::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin: 0.9rem auto 0;

  background: linear-gradient(90deg, transparent, var(--accent), transparent);

  opacity: 0.6;
}

.explore-menu a {
  position: relative;
  font-family: "Nothing You Could", cursive;
  font-size: clamp(1.7rem, 3vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: var(--text-primary);
  text-decoration: none;

  opacity: 1;

  transition: opacity 0.3s ease, transform 0.35s ease, letter-spacing 0.35s ease,
    color 0.35s ease;
}

/* hover / focus */
.explore-menu a:hover,
.explore-menu a:focus-visible {
  opacity: 1;
  transform: translateY(-4px);
  letter-spacing: 0.18em;
  color: var(--accent-soft);
}

/* underline glow */
.explore-menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;

  width: 0%;
  height: 1px;
  transform: translateX(-50%);

  background: linear-gradient(90deg, transparent, var(--accent), transparent);

  opacity: 0.9;
  transition: width 0.35s ease;
}

.explore-menu a:hover::after,
.explore-menu a:focus-visible::after {
  width: 62%;
}

.explore-menu a.active {
  opacity: 1;
  color: var(--accent);
}

/* GENERAL SECTION CSS */
.section {
  min-height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: var(--z-base);
}

/* SECTION-1  */
#section-1 {
  min-height: 120vh;
  padding-top: 20vh;
  /* display: none; */
}

.row {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.row-text {
  width: 100%;
  display: flex;
  justify-content: center;
}
.full-stack-title,
#developer {
  font-family: "Gilroy", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.08em;
  text-align: center;
}

.full-stack-title,
.full-stack-title .child {
  display: inline-block;

  background: linear-gradient(
    90deg,
    rgba(200, 116, 82, 0.75) 0%,
    #f4f5f7 38%,
    #f4f5f7 62%,
    rgba(200, 116, 82, 0.9) 100%
  );

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;
  color: transparent;

  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  font-size: 11vw;
}

.full-stack-title {
  font-size: clamp(3rem, 10vw, 11rem);
}
#developer {
  font-size: clamp(2.5rem, 8vw, 9rem);
}


/* Ui/Ux Css */
.row-svg {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: row;
  align-content: flex-end;
}
.row-svg span {
  display: none;
}
.stack-heading.uiux {
  height: 16vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stack-heading svg {
  height: 100%;
  width: auto;
  overflow: visible;
}

.stack-heading.uiux text {
  font-family: "Nothing You Could", cursive;
  font-size: 10vw;
  font-weight: 900;
  fill: transparent;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;

  stroke-dasharray: 2200;
  stroke-dashoffset: 2200;

  animation: paintDraw 2.3s cubic-bezier(0.65, 0, 0.35, 1) forwards,
    fillIn 0.6s ease 1s forwards;
  animation-play-state: paused;
}

@keyframes paintDraw {
  0% {
    stroke-dashoffset: 2200;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes fillIn {
  from {
    fill: transparent;
  }
  to {
    fill: var(--accent);
  }
}

@keyframes paintUnderline {
  to {
    stroke-dashoffset: 0;
  }
}

#down-arrow-container {
  position: absolute;
  bottom: 6vh;
  width: 100%;
  display: flex;
  justify-content: center;
}

#down-arrow-container i {
  display: inline-block;
  text-decoration: none;
  color: var(--accent);
  font-size: 3vw;
  font-weight: 700;
  cursor: pointer;
}

/* MOBILE HERO EXTENSION */
.hero-mobile-extension {
  display: none;
  margin-top: 13vh;
  text-align: center;
}

.hero-tagline {
  font-size: clamp(1rem, 3.8vw, 1.15rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.8rem;
  padding: 0 6vw;
}

.hero-chips {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}

.hero-chips .chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.02)
  );

  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.hero-chips .chip i {
  font-size: 0.85rem;
  color: var(--accent, #e5b29a);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  padding: 0.85rem 1.8rem;
  border-radius: 999px;

  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;

  color: var(--bg-main, #0b0b0b);
  background: linear-gradient(135deg, #e5b29a 0%, #d58c6a 100%);

  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;

  box-shadow: 0 12px 32px rgba(213, 140, 106, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);

  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.35s ease;
}

.hero-cta span {
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-cta i {
  font-size: 1rem;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-cta:hover,
.hero-cta:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.05);

  box-shadow: 0 18px 44px rgba(213, 140, 106, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.hero-cta:hover i,
.hero-cta:focus-visible i {
  transform: translateX(3px) translateY(-3px);
}

.hero-cta:active {
  transform: scale(0.96);
  box-shadow: 0 10px 24px rgba(213, 140, 106, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

#down-arrow-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  opacity: 0.6;
}

.scroll-hint {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/*HORIZONTAL & VERTCIAL STRING SVG CSS  */
.interactive-horizontal-string path,
.interactive-vertical-string path {
  stroke: var(--accent);
}

.interactive-horizontal-string {
  width: 100%;
  position: relative;
  cursor: grab;
  pointer-events: auto;
}

.interactive-horizontal-string:active,
.interactive-vertical-string:active {
  cursor: grabbing;
}

.interactive-horizontal-string svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
}

.interactive-vertical-string {
  width: 100px;
  margin: auto;
  position: relative;
  cursor: grab;
  pointer-events: auto;
  height: 90vh;
}

.interactive-vertical-string svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
}

.interactive-horizontal-string,
.interactive-vertical-string {
  position: relative;
  z-index: var(--z-interactive);
}



/* SECTION-2  */
#section-2 {
  background-color: var(--bg-secondary);
  min-height: 100vh;
  height: auto;
  /* display: none; */
}
#section-2-part-1 {
  min-height: 80vh;
  height: auto;
  padding-top: 10vh;
  margin-bottom: 10vh;
}
#section-2 #about-section {
  height: 100%;
  width: 100%;

  padding-left: 3vw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10vw;
  padding-top: 5vw;
}

#about-left p {
  max-width: 42vw;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-top: 1.2vw;
}
#about-left p,
.header p,
.card p,
.case-left .description,
.decision-why,
.decision-impact {
  font-size: 1rem;
}

.about-heading {
  font-size: clamp(1.2rem, 2vw, 2.2rem);
  line-height: 2.9vw;
  font-weight: 500;
  color: var(--text-secondary);
  max-width: 44vw;
}
.about-heading .accent,
.about-heading .accent-soft {
  color: var(--accent);
}

.about-heading .accent {
  font-family: "Nothing You Could", cursive;
  font-style: italic;
  font-weight: 600;
}

.about-heading .soft {
  font-weight: 600;
  color: var(--text-muted);
}

.about-heading .accent-soft {
  font-weight: 500;
}

#last-span-of-h1 {
  font-weight: 700;
  color: var(--text-primary);
  display: inline-block;
  margin-top: 1vw;
}

#section-2 #about-section #about-right {
  width: 40%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  perspective: 1200px;
  height: 100px;
}

.about-right-img-conatiner {
  width: 25vw;
  height: 28vw;

  position: absolute;
  top: 50%;
  left: 40%;

  border-radius: 1.5vw;
  background-size: cover;
  background-position: 50% 5%;

  filter: grayscale(100%);

  transform-origin: center center;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  z-index: var(--z-content);

  transition: transform 0.9s cubic-bezier(0.19, 1, 0.22, 1), filter 0.6s ease;

  will-change: transform;
}

.about-right-img-conatiner:nth-child(1) {
  transform: translate3d(-73%, -66%, 0) rotate(-18deg) scale(0.95);
  background-image: url("assets/images/About-image/about-img-1.webp");
}

.about-right-img-conatiner:nth-child(2) {
  transform: translate3d(-63%, -60%, 0) rotate(-10deg) scale(0.98);
  background-image: url("assets/images/About-image/about-image-2.webp");
}
.about-right-img-conatiner:nth-child(3) {
  transform: translate3d(-51%, -50%, 0) rotate(0deg) scale(1);
  background-image: url("assets/images/About-image/about-img-1.webp");
}

.about-right-img-conatiner:hover {
  z-index: var(--z-interactive);
}

.about-right-img-conatiner:nth-child(1):hover {
  transform: translate3d(-54%, -52%, 0) rotate(0deg) scale(1.06);
  filter: grayscale(0);
}

.about-right-img-conatiner:nth-child(2):hover {
  transform: translate3d(-46%, -48%, 0) rotate(1deg) scale(1.07);
  filter: grayscale(0);
}

.about-right-img-conatiner:nth-child(3):hover {
  transform: translate3d(-42%, -44%, 0) rotate(1deg) scale(1.07);
  filter: grayscale(0);
}

#section-2
  #about-section
  #about-right:hover
  .about-right-img-conatiner:not(:hover) {
  transform: scale(0.92) rotate(-25deg);
  opacity: 0.75;
}

#section-2-part-2 {
  min-height: 100vh;
  height: auto;
  background-color: var(--bg-secondary);
}

#about-values {
  padding: 2vw 0vw;
}
.header {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.header h2 {
  position: relative;
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
}
.generic.reveal {
  font-family: "Nothing You Could", cursive;
  display: inline-block;
  vertical-align: middle;
  color: var(--accent);
}
.header h2 span {
  font-family: "Nothing You Could", cursive;
}

.header h2::after {
  content: "";
  position: absolute;
  left: 37%;
  transform: translateX(-50%);
  bottom: -0.6vw;
  width: 70%;
  height: 0.3vw;

  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.header p {
  font-weight: 500;
  text-align: center;
}
.header p span {
  font-weight: 700;
}

.header,
.project-details,
.case-left,
.context-column {
  position: relative;
  z-index: var(--z-content);
}

.values-list-row {
  display: flex;
  gap: 2vw;
  padding: 0 4vw;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 5vw;
}

.value-item-card {
  height: 20vw;
  width: 20vw;
  border-radius: 2vw;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all ease 0.6s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-card);
  color: var(--text-primary);
}
.value-item-card .value-index {
  font-weight: 900;
  font-size: 2.5vw;
  margin-bottom: 0.5vw;
  color: var(--text-muted);
}
.value-item-card h3 {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 2vw;
  margin-top: 0.3vw;
}
.value-item-card-overlay {
  position: absolute;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all ease 0.6s;
  opacity: 0;
  background-color: var(--accent);
  color: var(--hover-text-dark);
}

.value-item-card:hover .value-item-card-overlay {
  opacity: 1;
}
.value-item-card:hover {
  transform: rotate3d(-1, 1, 0, 15deg);
}

.value-item-card-overlay h4 {
  font-size: 1.4vw;
  margin-bottom: 0.8vw;
  text-align: center;
}

.value-item-card-overlay p {
  font-size: 1vw;
  line-height: 1.7vw;
  text-align: center;
}

#section2-line {
  padding: 0vw 6vw;
  height: 20vh;
}


/* SECTION-3 */
#section-3 {
  min-height: 100vh;
  height: auto;
  background-color: var(--bg-secondary);
  position: relative;
  transition: background-color cubic-bezier(0.19, 1, 0.22, 1) 2s;
  /* display: none; */
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  padding: 2vw;
  gap: 3vw;
  position: relative;
}
.scroll-whisper,
#typing-para {
  color: var(--text-muted);
}
.scroll-whisper {
  position: absolute;
  right: 3vw;
  top: 50%;
  writing-mode: vertical-rl;
  font-size: 1vw;
  letter-spacing: 0.4em;
  opacity: 0.9;
  text-transform: uppercase;
}
.scroll-whisper i {
  font-size: 1.5vw;
}

#typing-para {
  font-size: 1.3vw;
  opacity: 0.85;
  white-space: nowrap;
  font-weight: 900;
}

.typing-letter {
  display: inline-block;
  opacity: 0;
}

#work-section-projects {
  min-height: 100vh;
  height: auto;
}

#work-section-projects .project-rows {
  width: 100%;
  height: 110vh;
  position: relative;
  padding: 3vw 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7vw;
}
#work-section-projects .project-rows.row-2 {
  justify-content: center;
}

#work-section-projects .projects {
  position: relative;
  overflow: hidden;
}

#work-section-projects .projects * {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.project-card-1 {
  --project-hover-color: var(--project-hover-1);
}
.project-card-2 {
  --project-hover-color: var(--project-hover-2);
}
[data-index="2"] {
  --project-hover-color: var(--project-hover-3);
}
[data-index="3"] {
  --project-hover-color: var(--project-hover-4);
}
[data-index="4"] {
  --project-hover-color: var(--project-hover-5);
}

.projects:hover::before {
  background: radial-gradient(
    circle at center,
    var(--project-hover-color),
    rgba(11, 16, 32, 0.9) 70%
  );
}

.projects {
  position: relative;
  z-index: var(--z-content);
}

.projects::before {
  z-index: var(--z-bg);
}

.project-details {
  position: absolute;
  z-index: var(--z-content);
  bottom: 2vw;
  left: 2vw;
  width: 70%;
  display: flex;
  flex-direction: column;
  gap: 1.2vw;
}

.project-about {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1vw;
}

.project-about .pill {
  display: inline-block;
  width: 10vw;
  padding: 0.6vw 1.4vw;
  border-radius: 100px;
  font-size: 0.9vw;
  font-weight: 600;
  white-space: nowrap;

  background: var(--pill-bg);
  color: var(--pill-text);
  border: 1px solid var(--pill-border);
}

.project-about .pill.desc {
  width: 18vw;
}

.project-button {
  border-radius: 100px;
  padding: 1vw 1.5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: fit-content;
  gap: 2vw;

  background: var(--img-btn-bg);
  color: var(--img-btn-text);
  border: 1.5px solid var(--img-btn-border);

  transition: background 0.5s ease, color 0.3s ease;
  cursor: pointer;
}

.project-button a {
  font-size: 1.7vw;
  font-weight: 700;
  font-family: "Nothing You Could", cursive;
  transition: letter-spacing 0.5s ease, transform 0.5s ease;
  text-decoration: none;
  color: inherit;
}
.project-button .arrow {
  width: 3vw;
  height: 3vw;
  border-radius: 50%;
  border: 2px solid var(--img-icon-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease, border 0.4s ease, color 0.4s ease;
}
.project-button .arrow i {
  transition: background 0.4s ease, border 0.4s ease, color 0.4s ease;
}

.projects:hover .project-button .project-title {
  letter-spacing: 0.17em;
  transform: translateX(10px);
}
.projects:hover .project-button {
  background: var(--img-btn-bg-hover);
  color: var(--img-btn-text-hover);
}
.projects:hover .project-button .arrow {
  border-color: var(--bg-main);
}
.projects:hover .project-button .arrow i {
  color: var(--bg-main);
}

#work-section-projects .projects img {
  width: 100%;
  object-fit: cover;
  transition: filter cubic-bezier(0.19, 1, 0.22, 1) 2s;
  pointer-events: none;
  object-position: center 10%;
}
#work-section-projects .project-card-1 {
  width: 55%;
  height: 105vh;
  border-radius: 4vw;
}

#work-section-projects .project-card-2 {
  width: 35%;
  height: 70vh;
  border-radius: 3vw;
}

/* ================= CURSOR ROOT ================= */
#cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 17vw;
  min-width: 260px;
  pointer-events: none;
  opacity: 0;
  z-index: var(--z-cursor);
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.projects-cursor {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8vw;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.projects-cursor .crow {
  display: flex;
  align-items: center;
  gap: 1vw;
  padding: 0.5vw 0vw;
  /* background-color: red; */
}

.crow .ccircle {
  width: 1.8vw;
  height: 1.8vw;
  min-width: 18px;
  min-height: 18px;
  border-radius: 50%;
  border: 2px solid var(--text-primary);
}

.crow .ccapsule {
  padding: 0.6vw 2.4vw;
  border-radius: 999px;
  background: var(--text-primary);
  color: var(--hover-text-dark);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.projects-cursor .elem {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  height: 14vw;
  min-height: 180px;
}

.projects-cursor .elem img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  animation: cursorImageCycle 6s linear infinite;
  border-radius: 18px;
}

.projects-cursor .elem img:nth-child(1) {
  animation-delay: 0s;
}
.projects-cursor .elem img:nth-child(2) {
  animation-delay: 1.2s;
}
.projects-cursor .elem img:nth-child(3) {
  animation-delay: 2.4s;
}
.projects-cursor .elem img:nth-child(4) {
  animation-delay: 3.6s;
}
.projects-cursor .elem img:nth-child(5) {
  animation-delay: 4.8s;
}

@keyframes cursorImageCycle {
  0% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  95% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}




/* SECTION-4 */
#section-4 {
  padding: 7vw 8vw 0vw 8vw;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  /* display: none; */
}
#section-4 .header p {
  font-size: 1.2vw;
  font-weight: 500;
  text-align: center;
  color: var(--text-secondary);
}
#section-4 .header p span {
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 1vw;
  margin-top: 1vw;
}

.workflow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
  position: relative;
  margin-top: 3vw;
}

.card {
  background-color: var(--bg-card);
  padding: 3vw;
  border-radius: 2vw;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
}

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

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--x, 50%) var(--y, 50%),
    var(--glow-soft),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.card:hover::after {
  opacity: 1;
}

.card .phase-label {
  display: inline-block;
  color: var(--accent);
  letter-spacing: 0.2em;
  font-size: 0.85vw;
  text-transform: uppercase;
}

.card h3 {
  font-size: 2.2vw;
  margin: 1.2vw 0;
}

.card p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Swiper JS CSS */

.case-cards-section {
  width: 100%;
  /* background-color: red; */
}
#achievements-heading {
  /* background-color: rgb(93, 93, 1); */
  text-align: center;
  font-size: 2vw;
  font-family: "Nothing You Could", cursive;
  margin-bottom: 1vw;
  color: var(--accent);
}
#achievements-heading {
  text-align: center;
  font-size: 2vw;
  font-family: "Nothing You Could", cursive;
  margin-bottom: 1vw;
  color: var(--accent);
}
.caseSwiper {
  width: 100%;
  overflow: hidden;
  height: 50vh;
  padding-top: 2vw;
}

.caseSwiper .swiper-wrapper {
  display: flex;
  flex-direction: row;
}
.caseSwiper .swiper-slide {
  width: 30vw;
  flex-shrink: 0;
  padding: 2vw;
}

/* SECTION-5 */
#section-5 {
  min-height: 100vh;
  height: auto;
  width: 100%;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

.hero-section {
  position: relative;
}

#section-5 .header {
  padding-top: 3vw;
}
#section-5 .header p {
  color: var(--text-secondary);
  margin-bottom: 3vw;
  font-family: "Nothing You Could", cursive;
}

.particles-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: var(--z-particles);
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow-strong), transparent 70%);
  filter: blur(0.5px);
  opacity: 0.6;
  will-change: transform;
}

.particle.small {
  width: 5px;
  height: 5px;
  opacity: 0.35;
}

.particle.medium {
  width: 10px;
  height: 10px;
  opacity: 0.5;
}

.particle.large {
  width: 15px;
  height: 15px;
  opacity: 0.7;
  filter: blur(1px);
}
#section-5 > *:not(.particles-container) {
  position: relative;
  z-index: var(--z-content);
}

.case-container {
  display: flex;
  gap: 5vw;
  position: relative;
  overflow: hidden;
  padding-left: 3vw;
  /* background-color: red; */
  margin-bottom: 3vw;
}

.case-left {
  display: flex;
  justify-content: center;
  width: 40%;
  text-align: center;
}

.case-left h3 {
  font-size: 3vw;
  margin-bottom: 1vw;
  white-space: nowrap;
}
.case-left .role {
  color: var(--accent);
}
.case-left .description strong {
  color: var(--accent);
}
.case-left .role {
  font-family: "Nothing You Could", cursive;
  font-size: 1vw;
  margin-bottom: 1vw;
  color: var(--text-secondary);
}
.case-left .timeline {
  color: var(--text-muted);
  margin-bottom: 1vw;
}
.case-left .description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2vw;
}

.ml-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.3vw;
  margin-top: 3vw;
}
.ml-stats dt {
  font-size: 0.9vw;
  color: var(--text-muted);
  margin-bottom: 0.4vw;
}

.ml-stats dd {
  font-size: 2.2vw;
  font-family: "Nothing You Could", cursive;
  color: var(--accent);
}
.case-subtitle {
  font-size: 1.1vw;
  color: var(--text-secondary);
  margin-bottom: 1vw;
}

.case-right {
  width: 60%;
  min-height: 50vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.cdss-globe {
  /* width: 80%; */
  max-width: 400px;
}

.case-right {
  position: relative;
  z-index: var(--z-content);
}

.cdss-globe {
  z-index: var(--z-interactive);
}

.cdss-globe,
.cdss-globe * {
  transform-box: fill-box;
  transform-origin: 50% 50%;
}

/* Nodes slightly larger */
.node {
  fill: var(--globe-accent-end);
  filter: url(#softGlow);
  animation: nodePulse 2s ease-in-out infinite alternate;
}

.inner-globe {
  transform-origin: 50% 50%;
  transform-box: fill-box;
}

.core {
  fill: var(--globe-accent-start);
  filter: url(#softGlow);
  animation: pulse 2.8s ease-in-out infinite;
}
.node {
  fill: var(--globe-accent-end);
  filter: url(#softGlow);
  animation: nodePulse 2s ease-in-out infinite alternate;
}

.orbit {
  fill: none;
  stroke: url(#neonGrad);
  stroke-width: 1.2;
  opacity: 0.35;
}

.orbit-inner {
  animation: spin 18s linear infinite;
}

.orbit-mid {
  opacity: 0.25;
  animation: spinReverse 28s linear infinite;
}

.orbit-outer {
  opacity: 0.15;
  animation: spin 40s linear infinite;
}

/* =========================
   CORE
========================= */

.core {
  fill: var(--globe-accent-start);
  filter: url(#softGlow);
  animation: pulse 2.8s ease-in-out infinite;
}

.node {
  fill: var(--globe-accent-end);
  filter: url(#softGlow);
  animation: nodePulse 2s ease-in-out infinite alternate;
}

.n1 {
  animation-delay: 0s;
}
.n2 {
  animation-delay: 0.6s;
}
.n3 {
  animation-delay: 1.2s;
}
.n4 {
  animation-delay: 1.8s;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinReverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.85;
  }
}

@keyframes nodePulse {
  from {
    transform: scale(0.9);
    opacity: 0.6;
  }
  to {
    transform: scale(1.4);
    opacity: 1;
  }
}

.case-card {
  width: 480px;
  height: 300px;

  border-radius: 1.5vw;
  position: relative;
  overflow: hidden;

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.card-image {
  position: absolute;
  inset: 0;
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

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

.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.85)
  );
}
.card-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 2vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.card-content h4 {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
}

.case-card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 0px 14px var(--glow-soft);
}

.case-card:hover .card-image {
  transform: scale(1.3) rotate(8deg);
  opacity: 0;
  filter: blur(12px);
}

.case-card:hover .card-content {
  opacity: 1;
  transform: translateY(0);
}

/* SECTION-6 */
#section-6 {
  padding: 3vw 8vw 2vw 8vw;
  background: var(--bg-secondary);
  position: relative;
}

.context-header {
  margin-bottom: 6vw;
  display: flex;
  flex-direction: column;
  gap: 1.5vw;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.context-header h2 {
  font-size: clamp(2.8rem, 4vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5vw;
  font-weight: 600;
}

.context-header h2 span,
.context-label {
  color: var(--accent);
}
.context-header h2 span {
  font-family: "Nothing You Could", cursive;
}

.context-header p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.context-header strong {
  font-weight: 500;
}

.context-grid {
  display: flex;
  gap: 5vw;
}
.context-column {
  position: relative;
  width: min(20vw, 260px);
  text-align: center;
}

.context-label {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 1.5vw;
  text-transform: uppercase;
}

.context-column h3 {
  font-size: 1.6rem;
  line-height: 1.3;
  margin-bottom: 2.5vw;
  font-weight: 500;
}
.context-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.8vw;
}

.context-list li strong {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.3vw;
}

.context-list li em {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.context-footer {
  margin-top: 8vw;
  max-width: 700px;
}

.context-footer p {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #d1d5db;
}

.context-footer strong {
  color: var(--accent);
  font-weight: 500;
}

/* SECTION-7 */
#section-7 {
  padding: 5vw 8vw;
  background-color: var(--bg-main);
  position: relative;
  overflow: hidden;

  min-height: 100vh;
  height: auto;
}

#section-7::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 20%,
    rgba(255, 255, 255, 0.05),
    transparent 40%
  );
  pointer-events: none;
}

.decisions-header {
  display: flex;
  justify-content: center;
  gap: 4rem;
  min-height: 50vh;
  margin-bottom: 6rem;
  width: 100%;
}

.decisions-header-content,
.decisions-visual {
  width: 50%;
}

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

.decision-compass .compass-needle {
  animation: compass-drift 14s ease-in-out infinite;
}

@keyframes compass-drift {
  0% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(3deg);
  }
  100% {
    transform: rotate(-10deg);
  }
}

.decisions-title {
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.decisions-title span {
  font-weight: 300;
  opacity: 0.75;
  color: var(--accent);
  font-family: "Nothing You Could", cursive;
}

.decisions-subtitle {
  margin-top: 4rem;
  max-width: 520px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}
.decisions-subtitle span {
  font-family: "Nothing You Could", cursive;
  font-size: 1.3vw;
  color: var(--text-muted);
}

.decisions-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4vw 6vw;
  margin-bottom: 5vw;
}

.decision-item {
  position: relative;
  padding-left: 2.5rem;
  transition: transform 0.4s ease;
}

.decision-item::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0.2rem;
  font-size: 1.5rem;
  color: var(--text-muted);
}

.decision-item:hover {
  transform: translateY(-4px);
}

.decision-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(248, 250, 252, 0.6), var(--accent));
  transition: width 0.4s ease;
}
.decision-item:hover .decision-title {
  text-shadow: 0 0 12px var(--glow-soft);
}

.decision-item:hover .decision-title::after {
  width: 100%;
}

.decision-why,
.decision-impact {
  line-height: 1.6;
}

.decision-why {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.decisions-footer-marquee {
  position: relative;
  padding: 3vw 0;
  overflow: hidden;
  background-color: var(--bg-main);
}

.decisions-footer-marquee::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 120px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to right, var(--glow-soft), transparent);
  filter: blur(60px);
}

.decisions-footer-marquee::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 120px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to left, var(--glow-soft), transparent);
  filter: blur(60px);
}

.decisions-footer-marquee {
  position: relative;
  z-index: var(--z-content);
}

.decisions-footer-marquee::before,
.decisions-footer-marquee::after {
  z-index: var(--z-bg);
}

.decisions-marquee-track {
  display: flex;
  gap: 4vw;
}

.decisions-marquee {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2vw;
  transform: translateX(-100%);
}

.decisions-marquee p {
  display: flex;
  align-items: center;
  gap: 1.6vw;

  font-size: 3.2vw;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.decisions-marquee p span {
  color: var(--accent);
  font-family: "Nothing You Could", cursive;
}

.decisions-marquee svg {
  width: 2.8em;
  height: auto;
  stroke: var(--accent);
  display: block;
}


/* Footer section */
.footer-final {
  position: relative;
  min-height: 120vh;
  padding: 6vw 6vw 6vw 6vw;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  background: linear-gradient(
      to bottom,
      rgba(14, 19, 24, 0),
      rgba(14, 19, 24, 0.35) 40%,
      rgba(14, 19, 24, 0.75) 100%
    ),
    var(--bg-main);

  color: var(--text-primary);
}

.footer-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: radial-gradient(
    circle at var(--gx, 50%) var(--gy, 45%),
    rgba(194, 106, 74, 0.22),
    var(--bg-main) 72%
  );
}

.footer-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.04),
    var(--bg-main) 68%
  );
}

.footer-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  text-align: center;
}

.footer-structure-text {
  font-size: clamp(2.2rem, 14vw, 5rem);
  letter-spacing: -0.045em;
  opacity: 0.75;
  margin-bottom: 0.6vw;
}

.footer-hero-text {
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  margin-bottom: 2vw;

  color: color-mix(in srgb, var(--accent) 72%, var(--text-primary));
}

.intent-line-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2.4vw;
}

.intent-line {
  width: 0%;
  max-width: 420px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(194, 106, 74, 0.6),
    transparent
  );
}

.footer-identity {
  margin-bottom: 3vw;
}

.footer-name {
  font-size: 1.45rem;
  font-weight: 600;
}

.footer-name span {
  font-family: "Nothing You Could", cursive;
  color: var(--accent);
}

.footer-role {
  font-size: 1rem;
  color: var(--text-muted);
  font-family: "Nothing You Could", cursive;
  letter-spacing: 0.06em;
}

.footer-nav {
  margin-top: 3vw;
  margin-bottom: 3vw;
}

.footer-nav ul {
  display: flex;
  justify-content: center;
  gap: 3.5vw;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;

  text-decoration: none;
  background: none;
  border: none;
  box-shadow: none;

  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;

  position: relative;
  transition: color 0.35s ease;
}

.footer-nav .nav-label {
  position: relative;
}

.footer-nav i {
  font-size: 1.05rem;
  color: var(--accent);
  opacity: 0.65;
  transform: translateY(1px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.footer-nav .nav-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transition: width 0.35s ease;
}

.footer-nav a:hover {
  color: var(--text-primary);
}

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

.footer-nav a:hover i {
  opacity: 1;
  transform: translateY(-1px);
}

.footer-closure-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-closure-text i {
  color: var(--accent);
  font-size: 1.1rem;
}

.footer-meta {
  text-align: center;
  margin-top: 2vw;
  font-size: 0.5rem;
  color: var(--text-muted);
  pointer-events: none;
}

.footer-bg,
#section-7::before,
.particles-container {
  position: absolute;
  z-index: var(--z-bg);
  pointer-events: none;
}



/*MEDIA QUERIES FONT CHART  */
@media (min-width: 640px) {
  html {
    font-size: 16px;
  }
}

@media (min-width: 768px) {
  html {
    font-size: 18px;
  }
}

@media (min-width: 1024px) {
  html {
    font-size: 20px;
  }
}

@media (min-width: 1280px) {
  html {
    font-size: 22px;
  }
}

/* LOADER — MOBILE FIX */
@media (max-width: 520px) {
  #loader-first {
    padding: 4vh 4vw;
    justify-content: space-around;
  }

  /* TOP HEADING */
  #top-heading h3 {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
  }

  #top-heading #copyright {
    font-size: 0.75rem;
    margin-top: 0.4rem;
  }

  /* HERO TITLE */
  .hero-title {
    line-height: 1;
  }

  .hero-title .fname {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
    letter-spacing: 0.04em;
  }

  .hero-title .lname {
    font-size: clamp(1.8rem, 9vw, 2.6rem);
    margin-top: -0.2rem;
  }

  .hero-title .descriptor {
    margin-top: 0.8rem;
    gap: 0.6rem;
    font-size: 0.8rem;
    letter-spacing: 0.35em;
  }
  #loader-first h2 i {
    font-size: 1.8rem;
  }
}

/*NAVBAR — MOBILE FIX */
@media (max-width: 520px) {
  .explore-menu {
    height: auto;
    gap: 1.8rem;
  }

  .explore-menu a {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    letter-spacing: 0.16em;
  }
}

/*SECTION-1 Media Queries */
@media (max-width: 520px) {
  #section-1 {
    min-height: 90vh;
    padding-top: 14vh;
  }

  .full-stack-title {
    font-size: clamp(2.4rem, 11vw, 3.2rem);
    letter-spacing: 0.06em;
  }

  #developer {
    font-size: clamp(2.2rem, 10vw, 3rem);
    letter-spacing: 0.06em;
  }

  .stack-heading.uiux {
    height: 26vw;
  }

  .stack-heading.uiux text {
    font-size: 22vw;
  }

  #down-arrow-container {
    bottom: 3vh;
  }

  #down-arrow-container i {
    font-size: 6vw;
  }
}

/*SECTION-1 MOBILE HERO EXTENSION */
@media (max-width: 520px) {
  .hero-mobile-extension {
    display: block;
  }
}

/*INTERACTIUVE HORIZONTAL MEDIA QUERIES*/
@media (max-width: 520px) {
  #section2-line {
    height: 5vh;
    padding: 0 4vw;
  }

  .interactive-horizontal-string {
    cursor: default;
    height: 100px;
  }
}

/* SECTION-2  PART-1 CSS  Media Queries*/
@media (max-width: 520px) {
  #section-2-part-1 {
    min-height: auto;
    padding: 1vh 6vw 6vh;
  }

  #section-2 #about-section {
    flex-direction: column;
    align-items: center;
    gap: 20vh;
  }

  /* LEFT TEXT */
  #about-left {
    width: 100%;
    /* background-color: #fff; */
  }

  .about-heading {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    line-height: 1.25;
    max-width: 100%;
    
  }
  .about-heading span {
    font-family: "Gilroy", sans-serif !important;
    font-style: normal !important;
  }

  #about-left p {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 1rem;
  }

  #last-span-of-h1 {
    display: block;
    margin-top: 1.4rem;
    font-size: 1.05rem;
  }

  #about-right {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    perspective: none;
  }

  .about-stack {
    position: relative;
    width: 220px;
    height: 200px;
    /* background-color: red; */
  }

  .about-right-img-conatiner {
    width: 150px;
    height: 200px;
    border-radius: 16px;

    position: absolute;
    top: 50%;
    left: 50%;

    transform-origin: center;
    filter: grayscale(0);
    transition: transform 0.6s ease;
  }

  /* Card positions (stacked properly) */
  .about-right-img-conatiner:nth-child(1) {
    transform: translate(-50%, -50%) rotate(-36deg) scale(0.95);
    z-index: 1;
    opacity: 0.7;
  }

  .about-right-img-conatiner:nth-child(2) {
    transform: translate(-50%, -52%) rotate(-20deg) scale(0.98);
    z-index: 2;
    opacity: 0.85;
  }

  .about-right-img-conatiner:nth-child(3) {
    transform: translate(-50%, -54%) rotate(0deg) scale(1);
    z-index: 3;
    opacity: 1;
  }

  /* Disable desktop hover chaos */
  .about-right-img-conatiner:hover {
    transform: none;
  }
}

/* SECTION-2  PART-2 CSS  Media Queries*/
@media (max-width: 520px) {
  #section-2-part-2 {
    padding-bottom: 5vh;
    height: 120vh;
  }

  .header h2 {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .header h2::after {
    left: 50%;
    width: 60%;
    bottom: -0.8rem;
  }

  .header p {
    max-width: 90%;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 1rem;
  }

  /* VALUES LIST */
  .values-list-row {
    flex-direction: column;
    gap: 1.4rem;
    padding: 0 6vw;
    margin-top: 4vh;
    align-items: center;
  }

  .value-item-card {
    width: 100%;
    height: auto;
    padding: 2rem 1.6rem;
    border-radius: 1.2rem;
    transform: none !important;
  }

  .value-item-card .value-index {
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }

  .value-item-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--accent);
  }

  /* REMOVE HOVER DEPENDENCY */
  .value-item-card-overlay {
    position: static;
    opacity: 1;
    background: none;
    color: var(--text-secondary);
    padding: 0;
  }

  .value-item-card-overlay h4 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    display: none;
  }

  .value-item-card-overlay p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

/* SECTION-3 MEDIA QUERIES  */
@media (max-width: 520px) {
  /* Section spacing */
  #section-3 {
    padding-bottom: 8vh;
    padding: 0;
  }

  /* Hide scroll whisper on mobile */
  .scroll-whisper {
    display: none;
  }

  /* Header text */
  #section-3 .header {
    padding: 6vh 6vw 2vh;
    gap: 1.2rem;
  }

  #typing-para {
    font-size: 0.95rem;
    white-space: normal;
    text-align: center;
    opacity: 0.75;
  }
  #work-section-projects .project-rows {
    padding: 0 6vw;
    margin-bottom: 6vh;
    margin-top: 5vh;
    height: auto;
    flex-direction: column;
    gap: 4vh;
  }
  .projects {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 1 / 1;
    height: auto !important;
    min-height: unset !important;

    border-radius: 1.6rem;
    overflow: hidden;
    position: relative;
  }

  /* REMOVE DESKTOP WIDTH LIMITS */
  .project-card-1,
  .project-card-2 {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  /* IMAGE */
  .projects img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Overlay for readability */
  .projects::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(11, 16, 32, 0.85),
      rgba(11, 16, 32, 0.45),
      transparent 65%
    );
    z-index: 1;
  }
  .project-details {
    position: absolute;
    bottom: 1.4rem;
    left: 1.4rem;
    right: 1.4rem;
    width: auto;
    gap: 1rem;
    z-index: 2;
  }

  /* Pills */
  .project-about {
    gap: 0.5rem;
  }

  .project-about .pill {
    font-size: 0.7rem;
    padding: 0.35rem 0.75rem;
    width: 30vw;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
  }
  .project-about .pill.desc {
    width: 50vw;
  }
  .project-button {
    padding: 0.7rem 1.1rem;
    gap: 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
  }

  .project-button .project-title {
    font-size: 1rem;
    letter-spacing: 0.08em;
  }

  .project-button .arrow {
    width: 2.1rem;
    height: 2.1rem;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
  }

  .project-button i {
    font-size: 1.1rem;
  }

  #cursor,
  .projects-cursor {
    display: none;
  }
}
/* SECTION-4 MEDIA QUERIES  */
@media (max-width:520px){
  #section-4 .header p{
       font-size: 0.8rem;
    white-space: normal;
    text-align: center;
    margin-top: 4vh;
    margin-bottom: 4vh;

  }
  .card  .phase-label{
    font-size: 0.6rem;
    font-weight: 900;
  }
  .card  h3{
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1vh;
  }
  .card  p{
    font-size: 0.8rem;
  }
}
/* SECTION-5 : MEDIA QUERIES */
@media (max-width: 520px) {
  #section-5 {
    padding: 10vh 6vw 8vh;
    /* background-color: darkgreen; */
    height: auto;
  }

  /* ===== HEADER ===== */
  #section-5 .header h2 {
    font-size: clamp(2.2rem, 7vw, 3rem);
    line-height: 1.15;
    text-align: center;
  }

  #section-5 .header p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    margin-top: 1rem;
  }

  /* ===== CASE LAYOUT → COLUMN ===== */
  .case-container {
    flex-direction: column;
    gap: 5vh;
    padding-left: 0;
  }

  /* ===== LEFT CONTENT ===== */
  .case-left {
    width: 100%;
    text-align: center;
  }

  .case-left h3 {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
    white-space: normal;
  }

  .case-subtitle {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
  }

  .case-left .role {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
    opacity: 0.9;
  }

  .case-left .timeline {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.5;
  }

  .case-left .description {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
  }

  .ml-stats {
    justify-content: center;
    gap: 1.8rem;
    margin-top: 2rem;
  }

  .ml-stats dt {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.2rem;
  }

  .ml-stats dd {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1;
  }

  /* ===== RIGHT VISUAL ===== */
  .case-right {
    width: 100%;
    justify-content: center;
    margin-top: 2vh;
  }

  .cdss-globe {
    max-width: 260px;
    opacity: 0.85;
  }
  /* ===== ACHIEVEMENT CARDS ===== */
  #achievements-heading {
    font-size: 1.2rem;
    margin-bottom: 3.5rem;
    letter-spacing: 0.08em;
    text-align: center;
    color: var(--accent);
  }

  /* Disable swiper layout influence */
  .caseSwiper {
    height: auto;
    overflow: visible;
  }

  .caseSwiper .swiper-wrapper {
    display: flex;
    flex-direction: column;
    transform: none !important;
  }

  .caseSwiper .swiper-slide {
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
  }

  /* Card styling */
  .swiper-slide.case-card {
    width: 100%;
    height: 240px;
    border-radius: 1.2rem;
    background: var(--bg-card);
    overflow: hidden;
    margin-bottom: 2.5rem;
  }

  .card-content h4 {
    font-size: 1rem;
  }

  .card-content p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
}

/* SECTION-6 : MEDIA QUERIES */
@media (max-width: 520px) {
  #section-6 {
    padding: 10vh 6vw 8vh;
  }

  .context-header {
    margin-bottom: 6vh;
    text-align: center;
  }

  .context-header h2 {
    font-size: clamp(2.2rem, 7vw, 3rem);
    line-height: 1.15;
  }

  .context-header p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 90%;
    margin: 1rem auto 0;
  }

  /* GRID → COLUMN */
  .context-grid {
    flex-direction: column;
    gap: 6vh;
    align-items: stretch;
  }

  /* HIDE VERTICAL STRINGS */
  .interactive-vertical-string {
    display: none !important;
  }

  /* CONTEXT COLUMN */
  .context-column {
    width: 100%;
    text-align: left;
  }

  .context-label {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    margin-bottom: 0.6rem;
  }

  .context-column h3 {
    font-size: 1.35rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
  }

  /* LIST */
  .context-list {
    gap: 1.4rem;
  }

  .context-list li strong {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }

  .context-list li em {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
  }

  /* FOOTER */
  .context-footer {
    margin-top: 8vh;
    padding: 0 11vw;
    text-align: center;
  }

  .context-footer p {
    font-size: 1.1rem;
    line-height: 1.6;
  }
  .interactive-horizontal-string {
    margin-top: 6vh;
    opacity: 0.8;
  }
}
/*SECTION-7 : MEDIA QUERIES */
@media (max-width: 520px) {
  /* SECTION SPACING */
  #section-7 {
    padding: 10vh 6vw 8vh;
  }

  /* HEADER LAYOUT */
  .decisions-header {
    flex-direction: column;
    gap: 4vh;
    min-height: auto;
    margin-bottom: 6vh;
  }

  .decisions-header-content,
  .decisions-visual {
    width: 100%;
  }

  /* TITLE */
  .decisions-title {
    font-size: clamp(2.4rem, 8vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-align: left;
  }

  /* SUBTITLE FIX (IMPORTANT) */
  .decisions-subtitle {
    margin-top: 1.6rem;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 100%;
  }

  .decisions-subtitle span {
    font-size: 0.85rem; /* FIXED */
    letter-spacing: 0.12em;
    display: inline-block;
    margin-bottom: 0.4rem;
  }

  /* COMPASS */
  .decisions-visual svg {
    width: 220px;
    height: 220px;
    opacity: 0.9;
  }

  /* DECISIONS LIST */
  .decisions-list {
    grid-template-columns: 1fr;
    gap: 3.5vh;
    margin-bottom: 8vh;
  }

  .decision-item {
    padding-left: 2rem;
  }

  .decision-item::before {
    font-size: 1.2rem;
    top: 0.15rem;
  }

  .decision-item h3 {
    font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: 0.4rem;
  }

  .decision-why {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.35rem;
  }

  .decision-impact {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
  }

  /* MARQUEE */
  .decisions-footer-marquee {
    padding: 6vh 0;
  }

  .decisions-marquee p {
    font-size: 1.2rem;
    letter-spacing: 0.06em;
  }

  .decisions-marquee svg {
    width: 2.2rem;
  }
}

/* FOOTER : MEDIA QUERIES */
@media (max-width: 520px) {
  .footer-final {
    padding: 10vh 10vw 0vh 10vw;
    min-height: auto;
  }

  .footer-inner {
    text-align: center;
  }
  .footer-structure-text {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
    opacity: 0.65;
    margin-bottom: 1.2rem;
  }
  .footer-hero-text {
    font-size: clamp(2.6rem, 9vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 2.2rem;
  }
  .intent-line-wrapper {
    margin-bottom: 2.6rem;
  }

  .intent-line {
    max-width: 200px;
  }
  .footer-identity {
    margin-bottom: 3rem;
  }

  .footer-name {
    font-size: 1.15rem;
    line-height: 1.4;
  }
  .footer-name span {
    font-family: "Gilroy", sans-serif;
  }

  .footer-role {
    font-size: 1rem;
    margin-top: 0.4rem;
    letter-spacing: 0.07em;
    font-family: "Gilroy", sans-serif;
  }
  .footer-nav {
    margin: 3rem 0;
  }

  .footer-nav ul {
    flex-direction: column;
    gap: 1.4rem;
    align-items: center;
  }

  .footer-nav a {
    font-size: 0.99rem;
  }
  .footer-closure-text {
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    margin-bottom: 0rem;
  }
  .footer-meta {
    margin-top: 2rem;
    font-size: 0.75rem;
    opacity: 0.95;
    text-align: center;
    margin-bottom: 3rem;
  }
}
