:root {
  --scroll-percent: 0;
  --scroll-percent-skills: 0;
  --image-center-x: calc(40vw + var(--scroll-percent) * 80vw);
  --slant-offset: calc(8vw - var(--scroll-percent) * 8vw);
}

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


html,
body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: lab(99.38% 0.15 1.65);
  /* Grey background */
  color: #737373;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3a3a3a 0%, #1a1a1a 100%);
  /* premium dark metallic gradient background */
  clip-path: polygon(calc(var(--image-center-x) + var(--slant-offset)) 0,
      100% 0,
      100% 100%,
      calc(var(--image-center-x) - var(--slant-offset)) 100%);
  z-index: -1;
  pointer-events: none;
}

#doodle-canvas {
  display: none !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

main {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.hero {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  position: relative; /* Required so .hero-action-buttons absolute positioning is relative to the hero */
}

.hero-container {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  align-items: flex-end;
  /* Align contents to the bottom */
  gap: 0;
}

.hero-image-wrapper {
  width: 50%;
  flex: 0 0 50%;
  transform: translateX(calc(var(--image-center-x) - 25vw));
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  will-change: transform;
}

.profile-container {
  width: 100%;
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  transform: translateY(calc(var(--scroll-percent) * 12vh)) scale(calc(1 - var(--scroll-percent) * 0.15));
  opacity: calc(1 - var(--scroll-percent) * 2);
  will-change: transform, opacity;
}

/* Overlapping Stencil Typography */
.overlapping-text {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(3.5rem, 11vw, 15rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -4px;
  position: absolute;
  top: -2vh;
  /* Lifted above the top level of the image */
  left: calc(25vw - var(--image-center-x) + var(--nav-padding-x, clamp(0.75rem, 1.8vw, 2.2rem)));
  /* Aligns text start exactly with padding from viewport left edge */
  width: 100vw;
  white-space: nowrap;
  pointer-events: none;
  text-transform: uppercase;
  transform: scale(0.72, 2.1) translateX(calc(var(--scroll-percent) * -25vw));
  transform-origin: top left;
  /* Keep top and left edges fixed */
  will-change: transform;
}

.overlapping-text>div:last-child {
  display: inline-block;
  transform: scaleX(0.82);
  /* Compress SAHOO widthwise further */
  transform-origin: left;
}

.background-text {
  color: #2c2c2c;
  /* Significantly darker text */
  z-index: 1;
  /* Below the image */
  opacity: 0.75;
  /* Higher opacity to make it darker */
}

.profile-img,
.profile-img-glass-bg {
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}

.profile-img {
  z-index: 2;
  /* Sits above background-text */
  opacity: 1;
}

.profile-img-left {
  clip-path: polygon(0 0,
      calc(var(--image-center-x) + var(--slant-offset)) 0,
      calc(var(--image-center-x) - var(--slant-offset)) 100%,
      0 100%);
}

.profile-glass-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  clip-path: polygon(calc(var(--image-center-x) + var(--slant-offset)) 0,
      100% 0,
      100% 100%,
      calc(var(--image-center-x) - var(--slant-offset)) 100%);
}

.profile-img-glass-bg {
  opacity: 0.28;
  filter: brightness(1.2) contrast(1.15);
}

.profile-glass-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 85vh;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);

  /* Mask to silhouette so the blur is restricted to the body shape */
  -webkit-mask-image: url('../images/krishna-removebg-preview.png');
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: bottom center;
  mask-image: url('../images/krishna-removebg-preview.png');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: bottom center;
}

/* Navbar Styles */
.navbar-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.75rem var(--nav-padding-x, clamp(0.75rem, 1.8vw, 2.2rem));
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  pointer-events: none;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  pointer-events: auto;
}

.navbar-logo-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

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

.navbar-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.navbar-logo:hover {
  transform: scale(1.08);
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: 2.2rem;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}

.navbar-menu a {
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-block;
  position: relative;
  /* Smooth 0.5s Left-to-Right Text Color Wipe */
  background: linear-gradient(to right, var(--accent-primary, #10B981) 50%, #888888 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: background-position 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s ease;
}

.navbar-menu a:hover {
  background-position: 0 0 !important;
  transform: translateY(-1px);
}

.navbar-menu a.nav-active {
  background-position: 0 0 !important;
}

.navbar-menu a.nav-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-primary, #10B981);
  border-radius: 2px;
}

.navbar-actions {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.btn-resume {
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.65rem 1.6rem;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  /* Dynamically interpolates between white (rgb 255,255,255) and dark charcoal (rgb 17,17,17) */
  color: rgb(calc(255 - 238 * var(--scroll-percent)), calc(255 - 238 * var(--scroll-percent)), calc(255 - 238 * var(--scroll-percent)));
  border: 1.5px solid rgb(calc(255 - 238 * var(--scroll-percent)), calc(255 - 238 * var(--scroll-percent)), calc(255 - 238 * var(--scroll-percent)));
  background: transparent;
  transition: color 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Smooth 0.5s Left-to-Right Background Fill */
.btn-resume::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  border-radius: 50px;
  z-index: -1;
  /* Fills Whitish in Hero Section -> Blackish in Scrolled Sections */
  background-color: rgb(calc(255 - 238 * var(--scroll-percent)), calc(255 - 238 * var(--scroll-percent)), calc(255 - 238 * var(--scroll-percent)));
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-resume:hover::before {
  width: 100%;
}

.btn-resume:hover {
  /* Text flips: Dark in Hero Section -> White in Scrolled Sections */
  color: rgb(calc(17 + 238 * var(--scroll-percent)), calc(17 + 238 * var(--scroll-percent)), calc(17 + 238 * var(--scroll-percent))) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Hero Content Right (Tech Ticker only) */
.hero-content-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  padding-left: 2vw;
  padding-right: var(--nav-padding-x, clamp(0.75rem, 1.8vw, 2.2rem));
  margin-bottom: clamp(2.5rem, 5vh, 4.5rem);
  z-index: 10;
  position: relative;
  transform: translateX(calc(var(--scroll-percent) * 15vw));
  opacity: calc(1 - var(--scroll-percent) * 2);
  will-change: transform, opacity;
  width: 100%;
}

/* ── HERO ACTION BUTTONS — Blogs & Socials ──
   Absolutely pinned to the hero section, independent of the image-wrapper transform.
   Vertically centered between the tagline and the rolling tech ticker. */
.hero-action-buttons {
  position: absolute;
  right: var(--nav-padding-x, clamp(0.75rem, 1.8vw, 2.2rem));
  bottom: clamp(10rem, 20vh, 17rem); /* half-way back down from the over-raised 28vh */
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
  z-index: 50;
  opacity: calc(1 - var(--scroll-percent) * 2);
  transform: translateX(calc(var(--scroll-percent) * 15vw));
  will-change: transform, opacity;
  pointer-events: auto;
}

/* Infinite Greenish Tech Stack Icon Rolling Marquee */
.hero-tech-ticker {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 1.2rem;
  padding: 0.5rem 0;
  display: flex;
  justify-content: flex-start;
  /* Subtle edge fade gradient mask */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  pointer-events: auto;
}

.hero-tech-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: heroTechScroll 25s linear infinite;
  will-change: transform;
}

.hero-tech-track:hover {
  animation-play-state: paused;
}

.hero-tech-group {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 2.8vw, 2.4rem);
  padding-right: clamp(1.5rem, 2.8vw, 2.4rem);
  flex-shrink: 0;
}

.hero-tech-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
  /* Emerald Green Tech Filter (#10B981) */
  filter: invert(52%) sepia(76%) saturate(464%) hue-rotate(113deg) brightness(97%) contrast(92%);
  opacity: 0.85;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, filter 0.25s ease;
  cursor: pointer;
}

.hero-tech-icon:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.15);
  filter: invert(52%) sepia(76%) saturate(464%) hue-rotate(113deg) brightness(97%) contrast(92%);
}

@keyframes heroTechScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.hero-panels-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-top: 1rem;
}

.hero-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100px) scale(0.95);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  background: linear-gradient(135deg, rgba(42, 42, 42, 0.94) 0%, rgba(18, 18, 18, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

.hero-panel.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.hero-panel-overview {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  width: 100%;
  gap: 1.2rem;
}

.hero-buttons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  gap: 1.2rem;
  margin-top: clamp(1rem, 2.5vh, 2.5rem);
  margin-bottom: clamp(1.2rem, 2.5vh, 2.2rem);
  position: relative;
  z-index: 35;
  pointer-events: auto;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 35;
  pointer-events: auto;
  transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

/* Base ::before layer for 0.4s Left-to-Right Fill */
.btn-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  border-radius: 50px;
  z-index: -1;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero:hover::before {
  width: 100%;
}

/* Blogs Button - Transparent with Emerald Border */
.btn-hero-primary {
  background: transparent;
  color: #ffffff !important;
  border: 1.5px solid rgba(16, 185, 129, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-hero-primary::before {
  background-color: #10B981;
}

.btn-hero-primary:hover {
  color: #ffffff !important;
  border-color: #10B981;
  transform: translateY(-3px);
  box-shadow: none;
}

/* Socials Button - Outlined Glassmorphic White */
.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-hero-secondary::before {
  background-color: rgba(255, 255, 255, 0.95);
}

.btn-hero-secondary:hover {
  color: #111111 !important;
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: none;
}

/* Hero Panel Headers & Controls */
.hero-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-title-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.panel-icon {
  font-size: 1.2rem;
}

.panel-title {
  font-family: 'Lato', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.panel-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.panel-switch-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.panel-switch-btn:hover {
  background: rgba(14, 162, 113, 0.2);
  border-color: #0ea271;
  color: #0ea271;
}

.panel-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s ease;
}

.panel-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: #ef4444;
}

/* Vertical Parallax Dual-Column Conveyor for Blogs */
.blogs-vertical-parallax {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  max-height: 260px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

.parallax-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  will-change: transform;
}

.parallax-col-down {
  animation: scroll-v-down 22s linear infinite;
}

.parallax-col-up {
  animation: scroll-v-up 22s linear infinite;
}

.blogs-vertical-parallax:hover .parallax-col {
  animation-play-state: paused;
}

@keyframes scroll-v-down {
  0% {
    transform: translateY(-50%);
  }

  100% {
    transform: translateY(0%);
  }
}

@keyframes scroll-v-up {
  0% {
    transform: translateY(0%);
  }

  100% {
    transform: translateY(-50%);
  }
}

.hero-blog-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.hero-blog-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(14, 162, 113, 0.4);
  transform: scale(1.02);
}

.hero-blog-tag {
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  color: #fff;
}

.tag-hackathon {
  background: rgba(245, 158, 11, 0.25);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.tag-architecture {
  background: rgba(59, 130, 246, 0.25);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.tag-opensource {
  background: rgba(16, 185, 129, 0.25);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.tag-ai {
  background: rgba(168, 85, 247, 0.25);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.hero-blog-title {
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.25;
}

.hero-blog-excerpt {
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-blog-meta {
  font-size: 0.65rem;
  color: #64748b;
  margin-top: 0.2rem;
}

.panel-footer-hint {
  font-size: 0.65rem;
  color: #64748b;
  text-align: center;
  margin-top: 0.75rem;
  letter-spacing: 0.3px;
}

/* Social Grid for Hero Socials Panel */
.hero-social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.hero-social-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 0.95rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
}

.hero-social-card:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-3px);
  border-color: rgba(14, 162, 113, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(14, 162, 113, 0.15);
}

.social-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.social-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.social-handle {
  font-size: 0.68rem;
  color: #94a3b8;
  font-family: monospace;
}

.social-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.social-name {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.social-meta {
  font-size: 0.7rem;
  color: #64748b;
  line-height: 1.25;
}

.social-arrow {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  font-size: 0.9rem;
  color: #64748b;
  transition: transform 0.3s ease, color 0.3s ease;
}

.hero-social-card:hover .social-arrow {
  color: #0ea271;
  transform: translate(2px, -2px);
}

/* Overlapping Stencil Tagline */
.overlapping-text-right {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 5.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -1px;
  position: absolute;
  top: 12vh;
  /* Shifted higher from 18vh for elevated vertical positioning */
  right: calc(var(--image-center-x) - 73.5vw);
  /* positions right edge of text 1.5vw away from the viewport right edge */
  width: 100vw;
  white-space: nowrap;
  pointer-events: none;
  text-transform: none;
  text-align: right;
  /* right-align the text */
  transform: scale(1, 2) translateX(calc(var(--scroll-percent) * 25vw));
  opacity: calc(1 - var(--scroll-percent) * 2);
  transform-origin: top right;
  /* anchor scale to the right */
  will-change: transform, opacity;
}

.background-text-right {
  color: #696969;
  /* Matches KRISHNA SAHOO text color */
  z-index: 1;
  /* sits behind image, above background-text */
  opacity: 0.80;
}

.overlapping-text-right div {
  min-height: 0.95em;
}



/* Responsive Media Queries — Hero section base mobile handling */
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 72px;
    padding-bottom: 1.5rem;
  }
}

/* About Section */
.about-section {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: lab(99.38% 0.15 1.65);
  /* Matches left background of hero */
  position: relative;
  z-index: 10;
  padding: 6rem 2rem;
}

.about-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.about-card-container {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 28px;
  padding: 3.5rem 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.about-title {
  font-family: 'Lato', sans-serif;
  font-size: 2.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.8rem;
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.about-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 65px;
  height: 4px;
  background: linear-gradient(90deg, #0ea271 0%, rgba(14, 162, 113, 0.1) 100%);
  border-radius: 2px;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.4rem;
  color: #334155;
  /* Crisp dark text for max readability on light background */
  font-weight: 400;
}

.about-bio strong {
  font-weight: 700;
  color: #0f172a;
}

.about-tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.8rem;
}

.about-chip {
  background: rgba(14, 162, 113, 0.08);
  border: 1px solid rgba(14, 162, 113, 0.22);
  color: #0ea271;
  padding: 0.4rem 0.95rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
}

.about-chip:hover {
  background: #0ea271;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(14, 162, 113, 0.25);
}

/* Adjustments for Mobile Screens */
@media (max-width: 768px) {
  .about-section {
    padding: 4rem 1rem;
  }

  .about-card {
    padding: 2.5rem 1.75rem;
    transform: none !important;
    /* Disable scroll-driven animations on mobile for smoother scroll */
    opacity: 1 !important;
  }

  .about-card-container {
    padding: 2rem 1.25rem;
    border-radius: 20px;
    transform: none !important;
    opacity: 1 !important;
  }

  .about-title {
    font-size: 2rem;
    letter-spacing: 1px;
  }

  .about-text {
    font-size: 1rem;
    line-height: 1.7;
  }

  .about-chip {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
  }

}

/* ==========================================================================
   Skills Section (Sketch-to-Code Workbench)
   ========================================================================== */

.skills-section {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: lab(99.38% 0.15 1.65);
  /* Matches whitish background of About */
  position: relative;
  z-index: 10;
  padding: 6rem 2rem;
  /* Reduced vertical padding */
  overflow: hidden;
}



.skills-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1.35fr;
  gap: 3.5rem;
  align-items: stretch;
}

/* Left Column: Sketchpad */
.sketchpad-panel {
  display: flex;
  flex-direction: column;
  background: transparent;
  height: 100%;
  min-width: 0;
  /* Prevents button text width from overflowing grid columns */
  overflow: hidden;
  /* Prevent children from expanding container */
}

.skills-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: 0.6rem;
  color: #111827;
  position: relative;
  display: inline-block;
}

.skills-highlight {
  background: linear-gradient(135deg, #10B981 0%, #047857 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.skills-subtitle {
  font-size: 1.05rem;
  line-height: 1.5;
  color: #7a7a7a;
  font-weight: 300;
  margin-top: 0.8rem;
  margin-bottom: 1.2rem;
  /* Reduced spacing */
}

/* Category Navigation Button Grid (2 Columns) */
.skills-categories-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.skills-categories-nav .category-btn:last-child {
  grid-column: span 2;
}

@keyframes categoryBorderTrace {
  0% {
    --border-angle: 0deg;
  }

  100% {
    --border-angle: 360deg;
  }
}

.category-btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 1rem 1.4rem;
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.3s ease, border-color 0.3s ease;
  font-family: 'Lato', sans-serif;
  white-space: normal;
  word-wrap: break-word;
  min-width: 0;
  box-shadow: none !important;
}

.category-btn>* {
  position: relative;
  z-index: 3;
}

/* Crisp 360° Border Line Trace Element (NO glow, NO blur) */
.category-btn::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--border-angle, 0deg),
      transparent 0%,
      #10B981 18%,
      #047857 32%,
      transparent 48%,
      transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.category-btn .btn-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: #888888;
  margin-right: 1.1rem;
  font-family: monospace;
  transition: color 0.3s ease;
}

.category-btn .btn-text {
  font-size: 1.02rem;
  font-weight: 700;
  color: #374151;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

/* Active Selected State - Crisp 360° Border Trace */
.category-btn.active {
  background: #FFFFFF;
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: none !important;
  transform: translateX(4px);
}

.category-btn.active::before {
  opacity: 1;
  animation: categoryBorderTrace 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.category-btn.active .btn-num {
  color: #047857;
}

.category-btn.active .btn-text {
  color: #111827;
  font-weight: 800;
}

/* Hover State - Subtler / Lower Form 360° Border Trace */
.category-btn:hover:not(.active) {
  background: #FFFFFF;
  border-color: rgba(16, 185, 129, 0.25);
  transform: translateX(2px);
}

.category-btn:hover:not(.active)::before {
  opacity: 0.5;
  /* Subtler form for hover */
  animation: categoryBorderTrace 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.category-btn:hover:not(.active) .btn-text {
  color: #111827;
}

/* Drawing Area / Imagery Section */
.sketchpad-canvas-wrapper {
  position: relative;
  flex: 1;
  min-height: 200px;
  background: rgba(255, 255, 255, 0.65);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  overflow: hidden;
  margin-top: 1.2rem;
  transition: border-color 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: none !important;
}

.sketchpad-canvas-wrapper.border-highlight {
  border-color: #10B981 !important;
  transition: border-color 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.sketchpad-canvas-wrapper:hover {
  border-color: rgba(16, 185, 129, 0.35);
}

.sketchpad-grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 20px 20px;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.015) 1px, transparent 1px);
  pointer-events: none;
}

.sketchpad-canvas {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.sketchpad-canvas svg {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

/* Code Editor Column Wrapper */
.code-editor-wrapper {
  position: relative;
  height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

/* Revealed Background Image Container behind Code Editor */
.editor-behind-image-container {
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.editor-behind-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.04));
}

/* Right Column: Code Editor Panel (Matches About Section Whitish Cards) */
.code-editor-panel {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
  min-width: 0;

  background: rgba(255, 255, 255, 0.98);
  border: 1.5px solid rgba(16, 185, 129, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);

  transition: min-height 0.45s cubic-bezier(0.25, 0.8, 0.25, 1), height 0.45s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.4s ease;
}

.code-editor-panel.minimized {
  min-height: 52px !important;
  height: 52px !important;
}

.code-editor-panel:hover:not(.minimized) {
  border-color: rgba(16, 185, 129, 0.25);
}

/* Editor Header Frame */
.editor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.4rem;
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: border-bottom-color 0.3s ease;
}

.code-editor-panel.minimized .editor-header {
  border-bottom-color: transparent;
}

.editor-dots {
  display: flex;
  gap: 0.45rem;
}

.editor-dots .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.editor-dots .dot-red {
  background-color: rgba(255, 95, 86, 0.85);
}

.editor-dots .dot-yellow {
  background-color: rgba(255, 189, 46, 0.85);
}

.editor-dots .dot-green {
  background-color: rgba(39, 201, 63, 0.85);
}

.editor-title-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: none;
  padding: 0.45rem 1.2rem;
  border-radius: 8px 8px 0 0;
  margin-bottom: -0.9rem;
  margin-top: -0.2rem;
  box-shadow: none;
}

.editor-title-tab .file-icon {
  font-size: 0.9rem;
}

.editor-title-tab .file-name {
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #2c2c2c;
  letter-spacing: 0.5px;
}

.editor-window-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.editor-action-btn {
  background: transparent;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  transition: color 0.3s ease, opacity 0.3s ease, transform 0.2s ease;
}

.editor-action-btn.active {
  color: #111827;
  opacity: 1;
  cursor: pointer;
  pointer-events: auto;
}

.editor-action-btn.active:hover {
  color: #047857;
  transform: scale(1.18);
}

.editor-action-btn.disabled {
  color: #9ca3af;
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* Editor Workspace layout */
.editor-workspace {
  display: flex;
  flex: 1;
  padding: 1.6rem 1.4rem;
  overflow: hidden;
  align-items: stretch;
  opacity: 1;
  max-height: 1000px;
  transition: max-height 0.45s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.35s ease, padding 0.45s ease;
}

.code-editor-panel.minimized .editor-workspace {
  max-height: 0 !important;
  opacity: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  pointer-events: none;
}

.editor-workspace .line-numbers {
  font-family: 'Consolas', 'Fira Code', 'Courier New', monospace;
  font-size: 0.88rem;
  text-align: right;
  color: #a8a8a8;
  padding-right: 1.2rem;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  user-select: none;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
}

.editor-workspace .editor-code-container {
  flex: 1;
  margin: 0;
  padding-left: 1.4rem;
  font-family: 'Consolas', 'Fira Code', 'Courier New', monospace;
  font-size: 0.88rem;
  line-height: 1.65;
  white-space: pre-wrap;
  /* Wrap long code lines to fit screen dynamically */
  overflow-x: auto;
  overflow-y: auto;
  color: #24292e;
}

.editor-code-container code {
  font-family: inherit;
  font-size: inherit;
}

/* Light Theme Code Syntax Highlighting */
.code-keyword {
  color: #005cc5;
  /* Blue */
  font-weight: 700;
}

.code-string {
  color: #22863a;
  /* Green */
}

.code-function {
  color: #6f42c1;
  /* Purple */
}

.code-tag {
  color: #d73a49;
  /* Coral Red */
}

.code-comment {
  color: #6a737d;
  /* Muted Grey */
  font-style: italic;
}

.code-number {
  color: #005cc5;
  /* Blue */
}

.code-property {
  color: #e36209;
  /* Orange */
}

.code-punctuation {
  color: #24292e;
  /* Charcoal */
}

.code-type {
  color: #6f42c1;
  /* Purple */
  font-weight: 600;
}

/* SVG Line Drawing Path Styling */
.sketch-path {
  fill: none;
  stroke: #2c2c2c;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.02));
  opacity: 1;
}

/* Secondary stroke paths for logo accents */
.sketch-accent {
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Animate background transparency fills after line completes drawing */
.sketch-fill {
  transition: fill-opacity 0.6s ease-in-out 1.2s, opacity 0.6s ease-in-out 1.2s;
  fill-opacity: 0;
  opacity: 0;
}

.sketch-fill.drawn {
  fill-opacity: 0.08;
  opacity: 1;
}

/* Scroll-Driven Entrance Effect for Skills Section */
.skills-section .sketchpad-panel {
  transform: translateY(calc(100px * (1 - var(--scroll-percent-skills)))) scale(calc(0.94 + var(--scroll-percent-skills) * 0.06));
  opacity: var(--scroll-percent-skills);
  will-change: transform, opacity;
}

.skills-section .code-editor-wrapper {
  transform: translateY(calc(150px * (1 - var(--scroll-percent-skills)))) scale(calc(0.92 + var(--scroll-percent-skills) * 0.08));
  opacity: var(--scroll-percent-skills);
  will-change: transform, opacity;
}

/* ==========================================================================
   Responsive Adaptations for Skills
   ========================================================================== */

@media (max-width: 1200px) {
  .category-btn {
    padding: 0.85rem 1rem;
    /* Slightly smaller button padding on medium desktops */
  }

  .category-btn .btn-num {
    margin-right: 0.65rem;
  }
}

@media (max-width: 992px) {

  .skills-section .sketchpad-panel,
  .skills-section .code-editor-panel {
    transform: none !important;
    opacity: 1 !important;
  }

  .skills-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .sketchpad-canvas-wrapper {
    height: 250px;
  }

  .code-editor-panel {
    min-height: 480px;
  }
}

@media (max-width: 768px) {
  .skills-section {
    padding: 6rem 1.25rem;
  }

  .skills-title {
    font-size: 2.2rem;
  }

  .category-btn {
    padding: 0.85rem 1.1rem;
  }

  .category-btn .btn-text {
    font-size: 0.95rem;
  }

  .editor-header {
    padding: 0.75rem 1rem;
  }

  .editor-workspace {
    padding: 1.2rem 0.9rem;
  }

  .editor-workspace .line-numbers {
    padding-right: 0.8rem;
  }

  .editor-workspace .editor-code-container {
    padding-left: 0.8rem;
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   Resume Modal (Glassmorphic Immersive Overlay)
   ========================================================================== */

.resume-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  /* Above navbar and achievements portal */
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.resume-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.resume-modal-container {
  background: lab(99.38% 0.15 1.65);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 35px 80px rgba(0, 0, 0, 0.15),
    0 10px 30px rgba(0, 0, 0, 0.05);
  width: 90vw;
  height: 85vh;
  max-width: 1000px;
  max-height: 850px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.92) translateY(30px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.resume-modal.active .resume-modal-container {
  transform: scale(1) translateY(0);
}

/* Modal Header styling */
.resume-modal-header {
  height: 70px;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: lab(99.38% 0.15 1.65);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 10;
}

.resume-modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, #111111 0%, #555555 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.resume-modal-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* Circular & pill styled Action buttons */
.resume-action-btn {
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4e4e4e;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.02) 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.5rem 1.1rem;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.resume-action-btn:hover {
  background: linear-gradient(135deg, #7a7a7a 0%, #4e4e4e 100%);
  color: #ffffff;
  border-color: #7a7a7a;
  transform: translateY(-1.5px) scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.resume-action-btn svg {
  stroke: currentColor;
  transition: stroke 0.25s ease, transform 0.25s ease;
}

.resume-action-btn:hover svg {
  stroke: #ffffff;
  transform: scale(1.05);
}

.resume-close-btn {
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem;
  margin-left: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.25s ease;
}

.resume-close-btn:hover {
  color: #111111;
  transform: scale(1.1) rotate(90deg);
}

/* Modal Body / PDF container */
.resume-modal-body {
  flex: 1;
  background: #eaeaea;
  position: relative;
  overflow: hidden;
}

.resume-modal-body iframe {
  border: none;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .resume-modal-container {
    width: 95vw;
    height: 90vh;
  }

  .resume-modal-header {
    padding: 0 1.2rem;
    height: 60px;
  }

  .resume-modal-title {
    font-size: 1.05rem;
  }

  .resume-action-btn span {
    display: none;
    /* Hide text, keep icons on small viewports */
  }

  .resume-action-btn {
    padding: 0.5rem;
    border-radius: 50%;
  }
}

/* ============================================================
   Screen Reader Only — Accessibility
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   Global Focus Visible — Accessibility
   ============================================================ */
*:focus-visible {
  outline: 2px solid var(--accent-primary, #0ea271);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   Navbar — Scrolled Glassmorphic State & Active Link
   ============================================================ */
.navbar-header {
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.navbar-header.scrolled {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  padding: 0.95rem var(--nav-padding-x, clamp(0.75rem, 1.8vw, 2.2rem)) !important;
}

/* Darker links over light-background sections */
.navbar-header.scrolled .navbar-menu a {
  background: linear-gradient(to right, var(--accent-primary, #10B981) 50%, #444444 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-header.scrolled .navbar-menu a:hover,
.navbar-header.scrolled .navbar-menu a.nav-active {
  background-position: 0 0 !important;
}

.navbar-header.scrolled .hamburger-line {
  background: #444444;
}

/* ============================================================
   Mobile Hamburger Menu
   ============================================================ */
.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 300;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.hamburger-btn:hover {
  background: rgba(0, 0, 0, 0.04);
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #888888;
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.hamburger-btn.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
}

.mobile-menu {
  position: absolute;
  top: 0;
  right: 0;
  width: min(300px, 82vw);
  height: 100%;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 5.5rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
}

.mobile-menu-overlay.open .mobile-menu {
  transform: translateX(0);
}

.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.mobile-menu-link {
  display: block;
  padding: 1rem 0;
  font-family: 'Lato', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #2c2c2c;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-menu-link:hover {
  color: var(--accent-primary, #0ea271);
  padding-left: 0.5rem;
}

@media (max-width: 768px) {
  .hamburger-btn {
    display: flex;
  }

  .navbar-menu {
    display: none !important;
  }
}

/* ============================================================
   Hero — Position Relative + Identity Badge + Scroll Hint
   ============================================================ */
.hero {
  position: relative !important;
}

.hero-identity-badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  text-align: right;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: calc(1 - var(--scroll-percent, 0) * 3);
  will-change: opacity;
}

.identity-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-primary, #0ea271);
  box-shadow: 0 0 8px rgba(14, 162, 113, 0.7);
  flex-shrink: 0;
  animation: identity-pulse 2.4s ease-in-out infinite;
}

@keyframes identity-pulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 8px rgba(14, 162, 113, 0.7);
  }

  50% {
    opacity: 0.55;
    box-shadow: 0 0 3px rgba(14, 162, 113, 0.3);
  }
}

.scroll-hint-chevron {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(120, 120, 120, 0.55);
  z-index: 15;
  cursor: pointer;
  animation: bounce-chevron 2s ease-in-out infinite;
  opacity: calc(1 - var(--scroll-percent, 0) * 6);
  will-change: opacity;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.scroll-hint-chevron:hover {
  color: var(--accent-primary, #0ea271);
}

@keyframes bounce-chevron {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(9px);
  }
}

/* ============================================================
   About Section — Two-Column Grid with Stats
   ============================================================ */
/* ============================================================
   Bento Grid — About Section Redesign
   ============================================================ */
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes borderTrace {
  0% {
    --border-angle: 0deg;
  }

  100% {
    --border-angle: 360deg;
  }
}

.about-section {
  min-height: auto !important;
  padding: 5.5rem 2rem !important;
  background: lab(99.38% 0.15 1.65) !important;
  position: relative;
}

.about-bento-grid {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  width: 100%;
}

/* TOP ROW */
.bento-top-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.6rem;
  align-items: stretch;
}

/* Outer Bento Cards (Main Level 2 Containers — No Hover Glow, No Border Trace) */
.bento-bio-card,
.bento-stats-card,
.bento-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.78);
  border: 1.5px solid rgba(16, 185, 129, 0.12);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

/* Individual Inner Sub-Blocks (Level 3 Items — With Traveling Border Trace, NO Box-Shadow Glow) */
.value-card,
.stat-bento-box,
.building-item,
.tech-pill,
.workspace-pill {
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

/* Ensure all text and content inside sub-blocks sit above pseudo-element layers */
.value-card>*,
.stat-bento-box>*,
.building-item>*,
.tech-pill>*,
.workspace-pill>*,
.tech-icon-card>* {
  position: relative;
  z-index: 3;
}

/* Traveling Border Light Beam Effect on Inner Sub-Blocks Only */
.value-card::before,
.stat-bento-box::before,
.building-item::before,
.tech-pill::before,
.workspace-pill::before,
.tech-icon-card::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--border-angle, 0deg), transparent 0%, #10B981 25%, #34D399 50%, #10B981 75%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.value-card:hover::before,
.stat-bento-box:hover::before,
.building-item:hover::before,
.tech-pill:hover::before,
.workspace-pill:hover::before,
.tech-icon-card:hover::before {
  opacity: 1;
  animation: borderTrace 0.85s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.value-card:hover,
.stat-bento-box:hover,
.building-item:hover,
.tech-pill:hover,
.workspace-pill:hover,
.tech-icon-card:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: none !important;
  /* NO box-shadow glow */
}

.bento-bio-card {
  padding: 2.2rem 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: visible !important;
}

.bento-headline {
  font-family: 'Outfit', sans-serif;
  font-size: 3.1rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-top: -4.2rem;
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 25;
  background: linear-gradient(135deg, #111827 15%, #047857 60%, #10B981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  white-space: nowrap;
}

.bento-highlight {
  background: linear-gradient(135deg, #10B981 0%, #047857 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bento-cursive-tagline {
  font-family: 'Caveat', cursive;
  font-size: 1.45rem;
  color: #4B5563;
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.cursive-underline {
  text-decoration: underline;
  text-decoration-color: rgba(16, 185, 129, 0.4);
  text-underline-offset: 4px;
}

.bento-bio-text {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #374151;
  margin-bottom: 1.8rem;
}

.bio-accent {
  color: #047857;
  font-weight: 700;
}

.bio-accent-subtle {
  color: #10B981;
  font-weight: 700;
}

/* 4 Value Cards Grid */
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.value-card {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 1.1rem 0.9rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-card:hover {
  background: #FFFFFF;
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-3px);
}

.value-icon-box {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.value-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.3rem;
}

.value-card p {
  font-family: 'Lato', sans-serif;
  font-size: 0.74rem;
  color: #6B7280;
  line-height: 1.4;
}

/* Stats Bento Grid */
.bento-stats-card {
  background: rgba(255, 255, 255, 0.75);
  border: 1.5px solid rgba(16, 185, 129, 0.12);
  border-radius: 24px;
  padding: 1.6rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  display: flex;
  align-items: center;
}

.stats-bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 0.9rem;
  width: 100%;
  height: 100%;
}

.stat-bento-box {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.stat-bento-box:hover {
  background: #FFFFFF;
  border-color: #10B981;
  transform: translateY(-2px);
}

.stat-icon {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.stat-bento-box .stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: #047857 !important;
  line-height: 1;
  margin-bottom: 0.2rem;
  display: block;
  transition: transform 0.25s ease, color 0.25s ease;
  will-change: transform;
}

@keyframes statCounterPop {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.14);
    color: #059669 !important;
  }

  100% {
    transform: scale(1);
  }
}

.stat-num.counter-finish {
  animation: statCounterPop 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1F2937;
}

.stat-sub {
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  color: #6B7280;
}

/* BOTTOM ROW BENTO CARDS */
.bento-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 1.6rem;
}

.bento-card {
  background: rgba(255, 255, 255, 0.75);
  border: 1.5px solid rgba(16, 185, 129, 0.12);
  border-radius: 24px;
  padding: 1.8rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card-section-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #047857;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.green-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
}

/* Building Items */
.building-item-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.building-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.9rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 14px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s ease, background-color 0.5s ease, box-shadow 0.5s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Bottom border line animation: starts from left-bottom corner to right-bottom corner in 0.5s */
.building-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #10B981 0%, #059669 100%);
  border-radius: 0 0 14px 14px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 5;
}

.building-item:hover::after {
  transform: scaleX(1);
}

.building-item:hover {
  background: #FFFFFF;
  border-color: rgba(16, 185, 129, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(16, 185, 129, 0.12), 0 2px 8px rgba(0, 0, 0, 0.03);
}

/* --- Floating Quick-Look Preview Popover for Currently Building --- */
.building-preview-popover {
  position: fixed;
  z-index: 9999;
  width: 320px;
  background: #FFFFFF;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.18), 0 0 20px rgba(16, 185, 129, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), left 0.4s cubic-bezier(0.16, 1, 0.3, 1), top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, left, top;
}

.building-preview-popover.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Floating Arrow Pointer */
.building-preview-popover::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: #FFFFFF;
  border-left: 1px solid rgba(16, 185, 129, 0.35);
  border-bottom: 1px solid rgba(16, 185, 129, 0.35);
  transform: rotate(45deg);
  z-index: 2;
}

.building-preview-popover.arrow-left::after {
  left: -7px;
  top: var(--arrow-top, 42px);
  transition: top 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.building-preview-popover.arrow-top::after {
  top: -7px;
  left: 42px;
  transform: rotate(135deg);
}

.building-preview-popover.arrow-bottom::after {
  bottom: -7px;
  left: 42px;
  transform: rotate(-45deg);
}

/* Preview Image Box */
.preview-popover-img-wrap {
  width: 100%;
  height: 145px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #F3F4F6;
  margin-bottom: 12px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.preview-popover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.building-preview-popover:hover .preview-popover-img {
  transform: scale(1.04);
}

/* Shimmer Light Reflection Effect */
.preview-popover-img-wrap::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50%;
  height: 200%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.35) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: rotate(30deg);
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.building-preview-popover:hover .preview-popover-img-wrap::after {
  animation: previewShimmer 1.1s ease-in-out;
}

@keyframes previewShimmer {
  0% {
    left: -60%;
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  100% {
    left: 140%;
    opacity: 0;
  }
}

/* Footer Meta & Button inside Popover */
.preview-popover-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2px;
}

.preview-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #047857;
  background: #ECFDF5;
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.2rem 0.55rem;
  border-radius: 50px;
}

.preview-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
  animation: beaconPulse 2s infinite;
}

.preview-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #047857;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0.4rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.preview-more-btn:hover {
  color: #059669;
  background: rgba(16, 185, 129, 0.08);
}

.preview-more-btn svg {
  transition: transform 0.2s ease;
}

.preview-more-btn:hover svg {
  transform: translateX(3px);
}

.item-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ECFDF5;
  color: #047857;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.item-content h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.15rem;
}

.item-content p {
  font-family: 'Lato', sans-serif;
  font-size: 0.73rem;
  color: #6B7280;
}

/* Creative Journey Timeline (Commit Trail & Step Cards) */
.creative-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
  padding-left: 0;
}

.creative-timeline::before {
  content: '';
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 9px;
  width: 2px;
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  background: linear-gradient(to bottom, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.45) 70%, #10B981 100%);
  border-radius: 2px;
  z-index: 1;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.creative-timeline.timeline-animated::before {
  transform: translateX(-50%) scaleY(1);
}

.timeline-step {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px) translateX(-10px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.timeline-step.step-visible {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

.step-connector {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.step-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #10B981;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8);
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease;
}

.timeline-step.step-visible .step-dot {
  transform: scale(1);
}

.step-dot.dot-beacon {
  width: 9px;
  height: 9px;
  background: #10B981;
  border-color: #047857;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
  animation: beaconPulse 2s infinite;
}

@keyframes beaconPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  }

  70% {
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.step-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  padding: 0.32rem 0.65rem;
  transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
  position: relative;
  z-index: 3;
}

.timeline-step:hover .step-card {
  transform: translateX(4px);
  background: #FFFFFF;
  border-color: rgba(16, 185, 129, 0.35);
}

.step-card.card-active {
  background: #ECFDF5;
  border-color: rgba(16, 185, 129, 0.35);
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.15rem;
}

.step-date {
  font-family: 'Outfit', sans-serif;
  font-size: 0.73rem;
  font-weight: 800;
  color: #047857;
  letter-spacing: 0.3px;
}

.step-tag {
  font-family: 'Lato', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.15rem 0.45rem;
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.04);
  color: #6B7280;
}

.step-tag.tag-genesis {
  background: #EFF6FF;
  color: #1D4ED8;
}

.step-tag.tag-finalist {
  background: #FEF3C7;
  color: #B45309;
}

.step-tag.tag-victory {
  background: #ECFDF5;
  color: #047857;
}

.step-tag.tag-active {
  background: #10B981;
  color: #FFFFFF;
}

.step-title {
  font-family: 'Lato', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  color: #1F2937;
  line-height: 1.35;
}

.highlight-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  color: #047857;
  background: rgba(16, 185, 129, 0.15);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-left: 0.3rem;
}

/* Stack & Workspace Card */
.bento-card-stack-workspace {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.75rem;
}

.tech-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem 1.2rem;
  margin-top: 0.5rem;
  justify-items: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.tech-icon-only {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  padding: 0.2rem;
}

.tech-icon-only:hover {
  transform: translateY(-3px) scale(1.18);
}

.tech-pill-grid,
.workspace-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-pill,
.workspace-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  color: #374151;
  transition: all 0.25s ease;
}

.tech-pill:hover,
.workspace-pill:hover {
  background: #FFFFFF;
  border-color: #10B981;
  color: #047857;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.12);
}

.workspace-subsection {
  position: relative;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.workspace-subtext {
  font-family: 'Caveat', cursive;
  font-size: 1.1rem;
  color: #6B7280;
  margin-top: -0.7rem;
  margin-bottom: 0.6rem;
}

.bento-workspace-plant {
  position: absolute;
  right: -5px;
  bottom: -15px;
  width: 90px;
  height: 110px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.04));
  transition: transform 0.4s ease;
}

.bento-card-stack-workspace:hover .bento-workspace-plant {
  transform: scale(1.05) rotate(2deg);
}

/* Responsive Media Queries for Bento Layout */
@media (max-width: 1100px) {
  .bento-top-row {
    grid-template-columns: 1fr;
  }

  .bento-bottom-row {
    grid-template-columns: 1fr 1fr;
  }

  .bento-card-stack-workspace {
    grid-column: span 2;
  }

  .bento-headline {
    white-space: normal;
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .about-values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento-bottom-row {
    grid-template-columns: 1fr;
  }

  .bento-card-stack-workspace {
    grid-column: span 1;
  }

  .bento-headline {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    margin-top: 0;
    white-space: normal;
    word-break: break-word;
  }
}

@media (max-width: 480px) {
  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .stats-bento-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento-headline {
    font-size: clamp(1.4rem, 6.5vw, 1.8rem);
    margin-top: 0;
    white-space: normal;
    word-break: break-word;
  }
}

/* ============================================================
   Skills — 3-Column Category Nav Override
   ============================================================ */
.skills-categories-nav {
  grid-template-columns: 1fr 1fr 1fr !important;
}

.skills-categories-nav .category-btn:last-child {
  grid-column: span 1 !important;
}

/* Category button active accent */
.category-btn.active .btn-num {
  background: var(--accent-primary, #0ea271) !important;
  color: #ffffff !important;
}

/* Cursor blink in code editor */
.editor-cursor {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  background: var(--accent-primary, #0ea271);
  margin-left: 1px;
  vertical-align: text-bottom;
  animation: cursor-blink 1s step-end infinite;
}

@keyframes cursor-blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* ============================================================
   Achievements — Meta Strip + Filter Bar
   ============================================================ */
.achievements-meta-strip {
  text-align: center;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #aaaaaa;
  letter-spacing: 0.5px;
  padding: 0 2rem 0.75rem;
  max-width: 1240px;
  margin: 0 auto;
}

.achievements-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  padding: 0 2rem 2rem;
  max-width: 1240px;
  margin: 0 auto;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.2rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #777777;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
}

.filter-pill:hover {
  background: rgba(255, 255, 255, 0.85);
  color: #2c2c2c;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.filter-pill.active {
  background: var(--accent-primary, #0ea271);
  border-color: var(--accent-primary, #0ea271);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(14, 162, 113, 0.3);
  transform: translateY(-1px);
}

/* ============================================================
   Reusable Section Headers
   ============================================================ */
.section-header-standard {
  text-align: left;
  margin-bottom: 3rem;
}

.section-title-standard {
  font-family: 'Lato', sans-serif;
  font-size: 2.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #2c2c2c 0%, #6e6e73 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.section-title-standard::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-primary, #0ea271) 0%, rgba(14, 162, 113, 0.05) 100%);
  border-radius: 2px;
}

.section-subtitle-standard {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #7a7a7a;
  font-weight: 300;
  margin-top: 1rem;
}

/* ============================================================
   Coming Soon Sections (Blogs & Sketches)
   ============================================================ */
.coming-soon-section {
  min-height: 70vh;
  width: 100%;
  position: relative;
  z-index: 10;
  background-color: lab(99.38% 0.15 1.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 2rem;
}

.sketches-section {
  background: linear-gradient(180deg, lab(99.38% 0.15 1.65) 0%, #f7f4ff 100%);
}

.coming-soon-container {
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.coming-soon-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  background: rgba(14, 162, 113, 0.08);
  border: 1px solid rgba(14, 162, 113, 0.22);
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-primary, #0ea271);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.sketches-pill {
  background: rgba(111, 66, 193, 0.08);
  border-color: rgba(111, 66, 193, 0.22);
  color: #6f42c1;
}

.coming-soon-icon {
  font-size: 3.2rem;
  line-height: 1;
  margin: 0.3rem 0;
}

.coming-soon-title {
  font-family: 'Lato', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #2c2c2c;
  position: relative;
  display: inline-block;
}

.coming-soon-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--accent-primary, #0ea271);
  border-radius: 2px;
}

.sketches-title::after {
  background: #6f42c1;
}

.coming-soon-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #7a7a7a;
  font-weight: 300;
  max-width: 580px;
  margin-top: 0.3rem;
}

/* Blog preview cards */
.blog-previews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
  margin-top: 0.8rem;
}

.blog-preview-card {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 1.4rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.blog-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  border-color: rgba(14, 162, 113, 0.2);
}

.blog-tag {
  display: inline-block;
  padding: 0.22rem 0.7rem;
  background: rgba(14, 162, 113, 0.09);
  color: var(--accent-primary, #0ea271);
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  align-self: flex-start;
}

.blog-preview-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #2c2c2c;
  line-height: 1.45;
  flex: 1;
}

.blog-preview-eta {
  font-size: 0.74rem;
  color: #b0b0b0;
  font-style: italic;
}

/* Sketch grid placeholder */
.sketch-grid-placeholder {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
  margin-top: 0.8rem;
}

.sketch-card-placeholder {
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(220, 210, 240, 0.35) 100%);
  border: 2px dashed rgba(111, 66, 193, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0.9rem;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.sketch-card-placeholder:hover {
  border-color: rgba(111, 66, 193, 0.35);
  background: rgba(111, 66, 193, 0.04);
  transform: translateY(-3px);
}

.sketch-card-placeholder span {
  font-size: 0.7rem;
  font-weight: 700;
  color: #b0a0d0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .blog-previews {
    grid-template-columns: 1fr;
  }

  .sketch-grid-placeholder {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   Testimonials Section
   ============================================================ */
/* ============================================================
   Testimonials Section — Editorial Showcase Redesign
   ============================================================ */
.testimonials-section {
  width: 100%;
  position: relative;
  z-index: 10;
  background-color: lab(99.38% 0.15 1.65);
  padding: 7rem 0 6rem;
  overflow: hidden;
}

.testimonials-bg-decor {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.testim-bg-radial {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(14, 162, 113, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
}

.testim-bg-quote-watermark {
  position: absolute;
  top: 50px;
  left: 4%;
  width: 220px;
  height: 220px;
  color: rgba(14, 162, 113, 0.025);
}

.testimonials-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* Header */
.testimonials-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.testim-section-label {
  display: inline-block;
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--accent-primary, #0ea271);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.testim-section-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #2c2c2c;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.testim-section-title .accent-text {
  color: var(--accent-primary, #0ea271);
}

.testim-section-subtitle {
  font-size: 1rem;
  line-height: 1.65;
  color: #737373;
  font-weight: 400;
}

.testim-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.testim-divider-line {
  width: 48px;
  height: 1px;
  background-color: #e6efe9;
}

.testim-divider-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--accent-primary, #0ea271);
}

/* Infinite Conveyor Belt Track Row (Matching Achievements Conveyor System) */
.testim-conveyor-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1.25rem 0 1.75rem;
  margin: 1rem 0 1rem;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  user-select: none;
}

.testim-conveyor-track {
  display: flex;
  align-items: stretch;
  gap: 1.8rem;
  width: max-content;
  will-change: transform;
  animation: testimConveyorScroll 22s linear infinite;
}

.testim-conveyor-track:has(.testim-card-editorial:hover),
.testim-conveyor-track.is-paused {
  animation-play-state: paused;
}

@keyframes testimConveyorScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}



/* Uniform Testimonial Card Styling */
.testim-card-editorial {
  position: relative;
  flex: 0 0 460px;
  max-width: 460px;
  background: #ffffff;
  border: 1px solid #e6efe9;
  border-radius: 16px;
  padding: 2rem 1.85rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(16, 24, 40, 0.04);
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
  will-change: transform, box-shadow;
}

.testim-card-editorial:hover {
  transform: translateY(-5px);
  border-color: rgba(14, 162, 113, 0.32);
  box-shadow: 0 14px 38px rgba(16, 24, 40, 0.08);
}

/* Card Header: Quote Icon & Badge */
.testim-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testim-quote-icon {
  width: 28px;
  height: 28px;
  color: var(--accent-primary, #0ea271);
  fill: currentColor;
  flex-shrink: 0;
  transition: opacity 200ms ease, transform 200ms ease;
}

.testim-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  background-color: rgba(14, 162, 113, 0.08);
  color: var(--accent-primary, #0ea271);
  border: 1px solid rgba(14, 162, 113, 0.18);
  letter-spacing: 0.02em;
}

.testim-badge svg {
  width: 12px;
  height: 12px;
}

/* Card Body */
.testim-card-body {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.testim-quote-text {
  font-size: 1.125rem;
  line-height: 1.68;
  font-weight: 500;
  color: #2c2c2c;
  margin: 0;
  font-style: normal;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testim-quote-text.is-expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.testim-read-more-btn {
  align-self: flex-start;
  background: none;
  border: none;
  color: var(--accent-primary, #0ea271);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.25rem 0;
  margin-top: 0.5rem;
}

/* Card Footer / Attribution */
.testim-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid #f0f5f2;
  padding-top: 1.25rem;
  position: relative;
}

.testim-author-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  position: relative;
}

/* Avatar & Fallback */
.testim-avatar-container {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.testim-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.testim-avatar-initials {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-primary, #0ea271);
  color: #ffffff;
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(14, 162, 113, 0.2);
}

/* Avatar Floating Tooltip */
.testim-avatar-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #1e293b;
  color: #ffffff;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  font-size: 0.72rem;
  white-space: nowrap;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  z-index: 30;
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}

.testim-avatar-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #1e293b transparent transparent transparent;
}

.testim-avatar-container:hover .testim-avatar-tooltip,
.testim-avatar-container.is-active-tooltip .testim-avatar-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.tooltip-title {
  color: var(--accent-primary, #10b981);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.tooltip-desc {
  font-weight: 500;
  color: #f1f5f9;
}

.tooltip-sub {
  color: #94a3b8;
  font-size: 0.68rem;
  margin-top: 0.15rem;
}

/* Author Info */
.testim-author-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.testim-author-name-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.testim-author-name {
  font-size: 0.94rem;
  font-weight: 600;
  color: #2c2c2c;
  line-height: 1.2;
}

.testim-verified-icon {
  width: 14px;
  height: 14px;
  color: var(--accent-primary, #0ea271);
  flex-shrink: 0;
}

.testim-author-role {
  font-size: 0.78rem;
  color: #737373;
  font-weight: 400;
  line-height: 1.3;
}

.testim-author-event {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-primary, #0ea271);
  margin-top: 0.1rem;
}

/* Linked Project Integration */
.testim-project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-primary, #0ea271);
  text-decoration: none;
  background: rgba(14, 162, 113, 0.06);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(14, 162, 113, 0.15);
  transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease;
  white-space: nowrap;
}

.testim-project-link:hover {
  background: rgba(14, 162, 113, 0.12);
  border-color: rgba(14, 162, 113, 0.3);
  transform: translateX(2px);
}

.testim-project-link svg {
  width: 12px;
  height: 12px;
  transition: transform 200ms ease;
}

.testim-project-link:hover svg {
  transform: translateX(2px);
}

/* Decorative Background Quote Watermark inside Card */
.testim-card-watermark {
  position: absolute;
  bottom: -15px;
  right: -10px;
  width: 90px;
  height: 90px;
  color: #2c2c2c;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

/* Indicators / Dots */
.testim-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.testim-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #d1d5db;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 300ms cubic-bezier(0.22, 0.61, 0.36, 1), background-color 300ms ease, border-radius 300ms ease;
}

.testim-dot.is-active {
  width: 24px;
  border-radius: 12px;
  background-color: var(--accent-primary, #0ea271);
}

/* Impact Statistics Strip */
.impact-strip-container {
  background: #ffffff;
  border: 1px solid #e6efe9;
  border-radius: 16px;
  padding: 2.25rem 2.5rem;
  margin-top: 4rem;
  box-shadow: 0 8px 30px rgba(16, 24, 40, 0.04);
}

.impact-strip-header {
  margin-bottom: 2rem;
}

.impact-label {
  display: block;
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--accent-primary, #0ea271);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.impact-headline {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: clamp(0.82rem, 1.3vw, 1.125rem);
  font-weight: 600;
  color: #2c2c2c;
  margin: 0;
  line-height: 1.3;
  width: 100%;
  max-width: 100%;
  white-space: nowrap !important;
  word-break: keep-all;
}

.impact-metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.impact-metric-col {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  position: relative;
}

.impact-metric-col:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.625rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: #e6efe9;
}

.impact-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(14, 162, 113, 0.08);
  color: var(--accent-primary, #0ea271);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.impact-icon-badge svg {
  width: 20px;
  height: 20px;
}

.impact-metric-info {
  display: flex;
  flex-direction: column;
}

.impact-metric-value {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: #2c2c2c;
  line-height: 1.1;
}

.impact-metric-label {
  font-size: 0.76rem;
  color: #737373;
  font-weight: 500;
  line-height: 1.3;
  margin-top: 0.15rem;
}

/* Trusted By Logos */
.trusted-by-container {
  margin-top: 4rem;
  text-align: center;
}

.trusted-by-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: #737373;
  margin-bottom: 1.5rem;
}

.trusted-by-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.75rem;
  flex-wrap: wrap;
}

.trusted-logo-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  filter: grayscale(100%);
  opacity: 0.65;
  cursor: default;
  transition: filter 200ms ease, opacity 200ms ease, transform 200ms ease;
}

.trusted-logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-2px);
}

.trusted-logo-item .logo-text {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #2c2c2c;
  letter-spacing: -0.01em;
}

.trusted-logo-item .logo-syrus {
  font-weight: 800;
}

.trusted-logo-item .logo-syrus .logo-accent {
  color: var(--accent-primary, #0ea271);
}

.trusted-logo-item .gdg-icon {
  color: #ea4335;
}

.trusted-logo-item .logo-unimerge {
  color: #0ea271;
}

.trusted-logo-item .logo-algominds {
  color: #2563eb;
}

.trusted-logo-item .logo-vesit {
  color: #7c3aed;
}

/* Responsive Adaptations */
@media (max-width: 1024px) {
  .testim-card-editorial.is-featured {
    flex: 0 0 52%;
  }
  .testim-card-editorial.is-side {
    flex: 0 0 24%;
  }
  .impact-metrics-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 1rem;
  }
  .impact-metric-col:nth-child(3)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .testim-showcase-wrapper {
    margin: 0;
  }
  .testim-nav-btn.prev-btn {
    left: -10px;
  }
  .testim-nav-btn.next-btn {
    right: -10px;
  }
  .testim-cards-stage {
    gap: 0.75rem;
  }
  .testim-card-editorial.is-side {
    display: none;
  }
  .testim-card-editorial.is-featured {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .impact-strip-container {
    padding: 1.75rem 1.5rem;
  }
  .impact-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .impact-metric-col::after {
    display: none !important;
  }
  .trusted-by-logos {
    gap: 1.75rem;
  }
}

@media (max-width: 480px) {
  .testim-card-editorial {
    padding: 1.75rem 1.25rem 1.5rem;
  }
  .testim-quote-text {
    font-size: 1rem;
    line-height: 1.6;
  }
  .impact-metrics-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .testim-card-editorial,
  .testim-nav-btn,
  .testim-avatar-tooltip,
  .testim-dot,
  .trusted-logo-item {
    transition: opacity 200ms ease !important;
    transform: none !important;
  }
}


/* ============================================================
   Connect Section — Handcrafted Refined Design System (Matching Prototype)
   ============================================================ */

/* ── Section Background & Engineering Grid ── */
.connect-section {
  width: 100%;
  position: relative;
  z-index: 10;
  background-color: lab(99.38% 0.15 1.65);
  background-image: none;
  padding: 140px 24px 96px;
  scroll-margin-top: 100px;
  overflow: hidden;
}

/* 4x8 Dotted Grid Matrix on Left */
.connect-dotted-matrix {
  position: absolute;
  top: 70px;
  left: 40px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

.connect-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 2;
}

/* ── Full-Width Header Typography & Micro-Doodles ── */
.connect-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 6px;
  width: 100%;
  margin-bottom: 0;
}

.connect-title-wrapper {
  position: relative;
  display: inline-block;
}

/* Sparkle Star & Curved Arrow Doodles (Shifted Down & Perfectly Positioned) */
.connect-sparkle-doodle {
  position: absolute;
  top: -4px;
  right: -30px;
  pointer-events: none;
  transition: transform 0.08s linear;
  opacity: 1;
  width: 30px;
  height: 30px;
  z-index: 5;
}

.heading-curved-arrow {
  position: absolute;
  top: 14px;
  right: -75px;
  width: 72px;
  height: 42px;
  pointer-events: none;
  opacity: 1;
  z-index: 5;
}

.connect-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #111827;
  margin: 0 0 6px 0;
  white-space: nowrap;
}

.connect-title-emerald {
  background: linear-gradient(135deg, #10B981 0%, #059669 50%, #047857 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Handwritten Subtitle & SVG Underline (Positioned Below Title) */
.connect-subtitle-container {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 2px;
  margin-bottom: 4px;
  cursor: default;
}

.connect-subtitle-handwritten {
  font-family: 'Caveat', cursive;
  font-size: 24px;
  color: #374151;
  margin: 0;
  transform: rotate(-1deg);
}

.connect-subtitle-handwritten .underline-target {
  position: relative;
  color: #00A86B;
}

.subtitle-underline-svg {
  width: 190px;
  height: 16px;
  margin-top: -4px;
  overflow: visible;
  pointer-events: none;
}

#subtitle-underline-path {
  stroke-dasharray: 300;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.connect-subtitle-container:hover #subtitle-underline-path,
.connect-subtitle-container.drawn #subtitle-underline-path {
  stroke-dashoffset: 0;
}

.connect-hero-copy {
  font-family: var(--font-sans, 'Lato', sans-serif);
  font-size: 15px;
  line-height: 1.5;
  color: #374151;
  margin: 0;
  max-width: 100%;
}

.hero-emerald-text {
  color: #00A86B;
  font-weight: 700;
}

/* ── Main 2-Column Grid (Left Info & Map | Right "Drop a Message" Card) ── */
.connect-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  width: 100%;
}

.connect-left-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  height: 100%;
}

.connect-right-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  min-width: 0;
  height: 100%;
}

.contact-paper-card {
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.world-map-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ── Single Unified Horizontal Status Card Bar (4 Columns) with Integrated Copy ── */
.trust-cards-bar {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  position: relative;
  overflow: hidden;
}

/* Simultaneous 4-Side Uniform Speed Border Fill Hover Effect (0.5s Linear In & Out) */
.trust-cards-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  border-top: 1px solid #00A86B;
  border-bottom: 1px solid #00A86B;
  border-radius: 20px;
  pointer-events: none;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s linear, opacity 0.5s linear;
  z-index: 2;
}

.trust-cards-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  border-left: 1px solid #00A86B;
  border-right: 1px solid #00A86B;
  border-radius: 20px;
  pointer-events: none;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.5s linear, opacity 0.5s linear;
  z-index: 2;
}

.trust-cards-bar:hover::before {
  opacity: 1;
  transform: scaleX(1);
  transition: transform 0.5s linear, opacity 0.5s linear;
}

.trust-cards-bar:hover::after {
  opacity: 1;
  transform: scaleY(1);
  transition: transform 0.5s linear, opacity 0.5s linear;
}

.trust-cards-copy-header {
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 12px;
}

.trust-cards-cols-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: center;
}

.trust-card-col {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-right: 1px solid #E5E7EB;
}

.trust-card-col:last-child {
  border-right: none;
}

.trust-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #F0FDF4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-card-label {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 10px;
  font-weight: 800;
  color: #6B7280;
  letter-spacing: 0.5px;
}

.trust-card-value {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 12px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

.trust-card-value.emerald,
.trust-card-value .emerald {
  color: #00A86B;
}

.trust-card-value .subtext {
  font-size: 11px;
  color: #6B7280;
  font-weight: 500;
}

/* ── Handcrafted Interactive Story Map (World -> India -> Maharashtra -> Mumbai) ── */
.story-map-wrapper {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 16px 18px 18px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
  transition: border-color 220ms ease, box-shadow 220ms ease;
  outline: none;
}

.story-map-wrapper:hover,
.story-map-wrapper:focus-visible {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.08);
}

/* Breadcrumb Navigation Bar (Top Left) */
.story-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  z-index: 10;
  position: relative;
  min-height: 24px;
}

.breadcrumb-item {
  background: transparent;
  border: none;
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 11px;
  font-weight: 700;
  color: #6B7280;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 180ms ease, background 180ms ease;
  position: relative;
}

.breadcrumb-item.active {
  color: #00A86B;
}

.breadcrumb-item:hover:not(.active) {
  color: #00A86B;
  background: #ECFDF5;
}

.breadcrumb-item.hidden,
.breadcrumb-sep.hidden {
  display: none !important;
}

.breadcrumb-sep {
  font-size: 10px;
  color: #9CA3AF;
  user-select: none;
}

/* Story Map Canvas & View Container */
.story-map-canvas {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
}

.story-view {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 600ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
  cursor: pointer;
}

.story-view.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95) translate3d(0, 8px, 0);
}

/* Layer 0 & 1: World Map View */
.view-world {
  z-index: 1;
}

.world-map-svg,
.india-map-svg,
.mh-map-svg {
  width: 100%;
  height: 100%;
}

.world-india-highlight {
  fill: #00A86B;
  opacity: 0.28;
  stroke: #00A86B;
  stroke-width: 1.5px;
  cursor: pointer;
  transition: opacity 220ms ease, fill 220ms ease;
  filter: drop-shadow(0 0 6px rgba(0, 168, 107, 0.5));
  animation: indiaPulse 2.2s ease-in-out infinite;
}

@keyframes indiaPulse {

  0%,
  100% {
    opacity: 0.28;
  }

  50% {
    opacity: 0.65;
  }
}

.world-india-highlight:hover {
  opacity: 0.88;
  fill: #008f5a;
}

.flight-route-path {
  opacity: 0.35;
  transition: opacity 300ms ease;
}

.story-map-wrapper:hover .flight-route-path {
  opacity: 0.85;
}

.mumbai-pulse-ring {
  transition: opacity 300ms ease;
  animation: idlePulse 2.5s ease-in-out infinite;
}

@keyframes idlePulse {

  0%,
  100% {
    r: 6px;
    opacity: 0.15;
  }

  50% {
    r: 12px;
    opacity: 0.45;
  }
}

.story-map-wrapper:hover .mumbai-pulse-ring {
  animation: mumbaiRipple 1.8s ease-out infinite;
}

@keyframes mumbaiRipple {
  0% {
    r: 6px;
    opacity: 0.9;
    stroke-width: 1.5px;
  }

  100% {
    r: 18px;
    opacity: 0;
    stroke-width: 0.5px;
  }
}

/* Layer 2: India Map View */
.india-state {
  transition: fill 200ms ease, opacity 200ms ease;
}

.mh-highlight-group {
  cursor: pointer;
  outline: none;
}

.mh-state-shape {
  transition: fill 220ms ease, opacity 220ms ease, stroke-width 220ms ease;
}

.mh-highlight-group:hover .mh-state-shape,
.mh-highlight-group:focus-visible .mh-state-shape {
  fill: #00A86B;
  opacity: 0.65;
  stroke-width: 2.8px;
}

.mh-pulse-dot {
  animation: mhDotPulse 2s ease-in-out infinite;
}

@keyframes mhDotPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.4);
    opacity: 1;
  }
}

/* Layer 3: Maharashtra Map View */
.mumbai-spot-group {
  cursor: pointer;
  outline: none;
}

.mumbai-spot-pulse {
  animation: spotPulse 1.6s ease-out infinite;
}

@keyframes spotPulse {
  0% {
    r: 8px;
    opacity: 0.9;
    stroke-width: 2px;
  }

  100% {
    r: 22px;
    opacity: 0;
    stroke-width: 0.5px;
  }
}

.mumbai-spot-group:hover .mumbai-spot-pin,
.mumbai-spot-group:focus-visible .mumbai-spot-pin {
  fill: #008f5a;
  transform: scale(1.2);
}

/* Layer 4: Morphing Unfolding Information Card */
.view-info-card {
  z-index: 5;
}

.info-card-inner {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 4px 20px rgba(0, 168, 107, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-origin: bottom center;
  animation: cardUnfold 500ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardUnfold {
  0% {
    opacity: 0;
    transform: perspective(600px) rotateX(15deg) translateY(12px);
  }

  100% {
    opacity: 1;
    transform: perspective(600px) rotateX(0deg) translateY(0);
  }
}

.info-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid #F1F5F9;
}

.info-card-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 14px;
  font-weight: 800;
  color: #111827;
}

.info-card-badge {
  font-size: 10px;
  font-weight: 700;
  color: #059669;
  background: #ECFDF5;
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.info-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F9FAFB;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid #F1F5F9;
}

.info-item.span-2 {
  grid-column: span 2;
}

.info-icon {
  font-size: 13px;
  flex-shrink: 0;
}

.info-meta {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 9px;
  font-weight: 800;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1;
}

.info-val {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 11px;
  font-weight: 700;
  color: #1F2937;
  line-height: 1.2;
}

.info-val.emerald {
  color: #00A86B;
}

/* Handwritten Story Annotation Note */
.story-note {
  position: absolute;
  bottom: 8px;
  left: 14px;
  font-family: 'Caveat', cursive;
  font-size: 16px;
  font-weight: 700;
  color: #00A86B;
  pointer-events: none;
  z-index: 8;
  transition: opacity 300ms ease, transform 300ms ease;
}

/* Dynamic Floating Tooltip */
.map-tooltip {
  position: absolute;
  top: 10px;
  right: 12px;
  background: #FFFFFF;
  border: 1px solid #10B981;
  color: #111827;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: auto;
  cursor: pointer;
  z-index: 10;
}

.map-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}



.map-note-left {
  position: absolute;
  bottom: 12px;
  left: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
  transform: rotate(-1deg);
}

.map-note-right {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
  transform: rotate(1deg);
}

.handwritten-lines {
  font-family: 'Caveat', cursive;
  font-size: 16px;
  font-weight: 700;
  color: #00A86B;
  line-height: 1.2;
  margin: 0;
  text-align: left;
}

.note-underline {
  position: relative;
  display: inline-block;
}

.note-underline::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #00A86B;
  border-radius: 2px;
}

.note-sparkle-icon {
  margin-top: 2px;
  align-self: flex-end;
}

/* ── Social Cards Grid (FIND ME ON) ── */
.social-section-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-section-label {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 11px;
  font-weight: 800;
  color: #6B7280;
  letter-spacing: 0.5px;
}

/* ── Infinite Rotary Marquee Social Icons ── */
.social-marquee-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  min-width: 0;
  mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  padding: 6px 0;
}

.social-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 36px;
  animation: socialRotaryScroll 18s linear infinite;
  will-change: transform;
}

.social-marquee-wrapper:hover .social-marquee-track {
  animation-play-state: paused;
}

.social-marquee-group {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-shrink: 0;
}

@keyframes socialRotaryScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 18px));
  }
}

.social-mini-card.social-icon-card {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  transition: transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  padding: 0;
  flex-shrink: 0;
}

.social-mini-card.social-icon-card:hover,
.social-mini-card.social-icon-card:focus {
  transform: translateY(-4px) scale(1.18);
  background: transparent !important;
  border: none !important;
  border-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

.social-svg-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  transition: transform 200ms ease;
}

.social-mini-card.social-icon-card:hover .social-svg-icon {
  transform: scale(1.1);
}

/* ── RIGHT COLUMN: Floating White Paper Container ── */
.contact-paper-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 28px;
  padding: 24px 32px 36px 32px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
}

/* ⭐ Dot Field Spring Physics Canvas */
#dot-field-canvas {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
  border-radius: 28px;
}

/* ⭐ Reactive Corner Note (Top-Right) */
.corner-note-wrapper {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 8px;
  pointer-events: none;
  z-index: 3;
}

.corner-note-text-block {
  font-family: 'Caveat', cursive;
  font-size: 19px;
  font-weight: 700;
  color: #059669;
  line-height: 1.15;
  text-align: right;
  transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1), transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: right center;
}

.corner-note-text-block.note-updating {
  opacity: 0.15;
  transform: translateY(-2px) scale(0.96);
}

.corner-arrow-svg {
  width: 38px;
  height: 38px;
  margin-top: 2px;
  flex-shrink: 0;
}

#corner-arrow-path {
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
  stroke: #00A86B;
}

.corner-sparkle-svg {
  position: absolute;
  bottom: -10px;
  right: 4px;
  opacity: 1;
  width: 22px;
  height: 22px;
  fill: #00A86B;
}

/* Subtitled Tabs Bar */
.contact-tabs-bar {
  position: relative;
  display: flex;
  gap: 12px;
  background: #F9FAFB;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid #E5E7EB;
  margin-bottom: 28px;
  z-index: 2;
}

.contact-tab-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: none;
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 180ms ease, background 180ms ease;
  z-index: 2;
  text-align: left;
}

.contact-tab-btn.active {
  background: #FFFFFF;
  opacity: 1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.contact-tab-btn svg {
  color: #00A86B;
}

.tab-btn-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tab-btn-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.tab-btn-sub {
  font-size: 11px;
  color: #6B7280;
}

/* Active Tab Emerald Underline Indicator */
.tab-active-indicator {
  display: none !important;
  position: absolute;
  bottom: -1px;
  left: 6px;
  height: 2.5px;
  background: #00A86B;
  border-radius: 2px;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), width 220ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
}

/* Direct Contact Form Styling */
.contact-pane {
  display: none;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 2;
}

.contact-pane.active {
  display: flex;
}

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

.form-row-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 13px;
  font-weight: 700;
  color: #374151;
}

.form-group label .req {
  color: #00A86B;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

/* Green Bottom Border Transition (Starts from left to right, 0.5s duration) */
.input-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #10B981 0%, #059669 50%, #047857 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  z-index: 3;
}

.input-wrapper:hover::after,
.input-wrapper:focus-within::after {
  transform: scaleX(1);
}

.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  pointer-events: none;
  opacity: 0.7;
}

.input-icon-textarea {
  top: 16px;
  transform: none;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  /* Completely transparent rectangle */
  border: none;
  border-bottom: 1px solid #E5E7EB;
  border-radius: 0;
  font-family: var(--font-sans, 'Lato', sans-serif);
  font-size: 14px;
  color: #111827;
  outline: none;
  transition: border-color 180ms ease-out, box-shadow 180ms ease-out, background 180ms ease;
  caret-color: #00A86B;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%206B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

.textarea-wrapper textarea {
  padding-bottom: 28px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9CA3AF;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-bottom-color: #E5E7EB;
  /* Keep bottom border color grey to let bottom green highlight pop */
  background: transparent;
  box-shadow: none;
  /* Keep completely transparent without focus glow */
}

/* Green Checkmark Badge */
.field-valid-check {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #00A86B;
  font-weight: 800;
  font-size: 13px;
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.input-wrapper.valid .field-valid-check {
  opacity: 1;
}

.char-counter {
  position: absolute;
  bottom: 10px;
  right: 0;
  font-size: 11px;
  color: #9CA3AF;
  pointer-events: none;
}

.char-counter.near-limit {
  color: #00A86B;
  font-weight: 700;
}

/* Form Bottom Action Row */
.form-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  gap: 16px;
}

.privacy-note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6B7280;
}

.privacy-text {
  font-size: 12px;
  line-height: 1.2;
}

.privacy-text .sub {
  color: #9CA3AF;
  font-size: 11px;
  cursor: default;
  user-select: none;
}

.btn-send-message {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #10B981 0%, #059669 50%, #047857 100%);
  background-size: 200% auto;
  color: #FFFFFF;
  border: none;
  border-radius: 14px;
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background-position 300ms ease;
  min-height: 48px;
}

.btn-send-message:hover {
  transform: translateY(-2px);
  background-position: right center;
}

/* ── Card Header Block (Let's Connect + No Bots Note) ── */
.contact-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
  position: relative;
  z-index: 10;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Let's Connect Heading ── */
.appt-heading-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 0;
}

.appt-connect-heading {
  font-family: 'Caveat', cursive;
  font-size: 32px;
  font-weight: 700;
  color: #10B981;
  margin: 0;
  line-height: 1.1;
}

.appt-connect-underline {
  width: 90px;
  height: 10px;
  margin-top: -2px;
}

/* ── Teaser Box Spacing ── */
.appt-teaser-box {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0;
}

/* ── Desktop Journey Map ── */
.journey-desktop {
  display: block;
  position: relative;
  width: 100%;
  height: 290px;
  margin-top: -8px;
  margin-bottom: 28px;
  overflow: visible;
}

.journey-svg-paths {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.diagram-flow-path {
  stroke-dasharray: 8;
  stroke-dashoffset: 8;
  transition: stroke 0.4s ease, stroke-dashoffset 0.4s ease;
}

/* Scroll Animation: Draw path segments on load/reveal */
.journey-desktop.animate-active .diagram-flow-path {
  stroke-dashoffset: 0;
}

/* Hover Segmentation Animation */
.journey-desktop:has(.node-1:hover) .path-1,
.journey-desktop:has(.node-2:hover) .path-2,
.journey-desktop:has(.node-3:hover) .path-3,
.journey-desktop:has(.node-4:hover) .path-4,
.journey-desktop:has(.node-5:hover) .path-5 {
  stroke: #10B981;
  animation: flowDash 0.8s linear infinite;
}

@keyframes flowDash {
  to {
    stroke-dashoffset: -20;
  }
}

/* Center Illustration (Two people sitting across a table) */
.center-illustration-wrapper {
  position: absolute;
  top: 53%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.journey-desktop:hover .center-illustration-wrapper {
  transform: translate(-50%, -53%) scale(1.02);
}

/* Journey Nodes */
.journey-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 130px;
  z-index: 3;
  text-align: center;
  opacity: 0;
  transform: scale(0.8) translateY(15px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

/* Scroll Animation Delay sequence */
.journey-desktop.animate-active .journey-node {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.journey-desktop.animate-active .node-1 {
  transition-delay: 0.1s;
}

.journey-desktop.animate-active .node-2 {
  transition-delay: 0.2s;
}

.journey-desktop.animate-active .node-3 {
  transition-delay: 0.3s;
}

.journey-desktop.animate-active .node-4 {
  transition-delay: 0.4s;
}

.journey-desktop.animate-active .node-5 {
  transition-delay: 0.5s;
}

/* Node hover lifts */
.journey-node:hover {
  transform: translateY(-6px) !important;
}

.node-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid #E8EEF3;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10B981;
  position: relative;
  transition: transform 200ms ease, border-color 200ms ease;
}

.journey-node:hover .node-icon-circle {
  border-color: #10B981;
  transform: scale(1.05);
}

.node-icon-circle svg {
  transition: transform 200ms ease;
}

.journey-node .node-badge {
  position: absolute;
  top: -8px;
  right: -2px;
  background: #10B981;
  color: #FFFFFF;
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}

.node-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  margin: 10px 0 3px 0;
  transition: color 200ms ease;
}

.journey-node:hover .node-title {
  color: #10B981;
}

.node-desc {
  font-size: 11px;
  color: #6B7280;
  margin: 0;
  line-height: 1.35;
  transition: transform 200ms ease, color 200ms ease;
}

.journey-node:hover .node-desc {
  transform: translateY(-2px);
  color: #374151;
}

/* ── Mobile Journey Timeline ── */
.journey-mobile {
  display: none;
}

.mobile-timeline-line {
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 1.5px;
  border-left: 1.5px dashed #E2E8F0;
  z-index: 1;
}

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

.mobile-timeline-badge-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #10B981;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 10px;
  font-weight: 700;
  margin-top: 2px;
  flex-shrink: 0;
}

.mobile-timeline-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.mobile-timeline-content .node-title {
  margin: 0;
}

@media (max-width: 768px) {
  .journey-desktop {
    display: none;
  }

  .journey-mobile {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    padding-left: 12px;
    margin: 24px 0;
  }
}

/* ── Trust Items Bar ── */
.appt-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 16px 20px;
  background: #F9FAFB;
  border: 1px solid #E8EEF3;
  border-radius: 16px;
  margin-top: 32px;
}

.appt-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}

.trust-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10B981;
  flex-shrink: 0;
}

.trust-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-item-info h5 {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 12.5px;
  font-weight: 700;
  color: #374151;
  margin: 0;
}

.trust-item-info p {
  font-size: 11px;
  color: #6B7280;
  margin: 0;
  line-height: 1.3;
}

@media (max-width: 640px) {
  .appt-trust-bar {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 16px;
  }
}

/* ── Appointment Action CTA Button ── */
.btn-open-calendar-modal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 16px;
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background-position 300ms ease;
  min-height: 56px;
  text-decoration: none;
  width: 100%;
}

.btn-open-calendar-modal:hover {
  transform: translateY(-2px);
}

/* Bottom Center Handwritten Quote */
.connect-bottom-quote {
  text-align: center;
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: #059669;
  margin-top: 16px;
}

/* Side-by-Side Column Visibility */
.connect-section .connect-left-col,
.connect-section .connect-right-col {
  opacity: 1 !important;
  transform: none !important;
}

/* Responsive Layout */
@media (max-width: 868px) {
  .connect-split-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  .connect-left-col,
  .connect-right-col,
  .contact-paper-card {
    height: auto;
  }

  .trust-cards-cols-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 0;
  }

  .trust-card-col {
    border-right: none;
  }


}

@media (max-width: 640px) {
  .connect-title {
    white-space: normal;
  }

  .connect-section {
    padding: 48px 16px 64px;
  }

  .form-row-dual {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .form-bottom-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-send-message,
  .btn-open-calendar-modal {
    width: 100%;
  }

  .corner-note-wrapper {
    margin-bottom: 10px;
    justify-content: flex-end;
  }
}

/* ── Reduced Motion System ── */
@media (prefers-reduced-motion: reduce) {

  .connect-section .connect-header,
  .connect-section .connect-split-grid,
  .trust-card,
  .social-mini-card,
  .btn-send-message,
  .world-map-svg {
    transition: opacity 200ms linear !important;
    transform: none !important;
    animation: none !important;
  }
}


/* ============================================================
   GOOGLE CALENDAR APPOINTMENT MODAL STYLES
   ============================================================ */
.calendar-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.calendar-modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.calendar-modal-container {
  width: 100%;
  max-width: 780px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.25);
  padding: 2.2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.calendar-modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calendar-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.calendar-modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 1rem;
}

.modal-header-icon {
  font-size: 2rem;
  width: 52px;
  height: 52px;
  background: rgba(14, 162, 113, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-modal-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.calendar-modal-header p {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0.2rem 0 0;
}

.calendar-picker-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.8rem;
}

/* Calendar Widget */
.calendar-widget {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calendar-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cal-month-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.cal-nav-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  color: #475569;
  transition: all 0.2s ease;
}

.cal-nav-btn:hover {
  background: var(--accent-primary, #0ea271);
  color: #ffffff;
  border-color: var(--accent-primary, #0ea271);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
}

.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-day-btn {
  aspect-ratio: 1;
  border-radius: 10px;
  border: 1px solid transparent;
  background: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cal-day-btn:hover:not(.disabled) {
  background: rgba(14, 162, 113, 0.12);
  color: var(--accent-primary, #0ea271);
}

.cal-day-btn.active {
  background: var(--accent-primary, #0ea271) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(14, 162, 113, 0.3);
}

.cal-day-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: transparent;
}

/* Time Slots & Mode Column */
.time-slots-column {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  text-align: left;
}

.slot-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mode-selector-pills {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mode-pill {
  padding: 0.65rem 0.9rem;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.mode-pill.active {
  background: #ffffff;
  border-color: var(--accent-primary, #0ea271);
  color: var(--accent-primary, #0ea271);
  box-shadow: 0 4px 12px rgba(14, 162, 113, 0.12);
}

.time-slots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.time-chip {
  padding: 0.6rem;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}

.time-chip:hover {
  border-color: var(--accent-primary, #0ea271);
}

.time-chip.active {
  background: var(--accent-primary, #0ea271);
  border-color: var(--accent-primary, #0ea271);
  color: #ffffff;
}

.selected-slot-summary {
  background: rgba(14, 162, 113, 0.08);
  border: 1px solid rgba(14, 162, 113, 0.2);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font-size: 0.82rem;
  color: #047857;
  margin-top: 0.5rem;
  line-height: 1.4;
}

.calendar-booker-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 1.2rem;
}

.btn-submit-appointment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  background: linear-gradient(135deg, var(--accent-primary, #0ea271) 0%, #059669 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(14, 162, 113, 0.25);
}

.btn-submit-appointment:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(14, 162, 113, 0.35);
}

/* Confirmation View */
.calendar-confirmation-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
  padding: 1rem 0;
}

.conf-success-icon {
  font-size: 3rem;
  width: 76px;
  height: 76px;
  background: rgba(14, 162, 113, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-confirmation-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.calendar-confirmation-body p {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
  max-width: 520px;
}

.conf-details-card {
  width: 100%;
  max-width: 480px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  text-align: left;
}

.conf-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #475569;
}

.status-badge-pending {
  background: #fef3c7;
  color: #b45309;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
}

.conf-action-buttons {
  display: flex;
  gap: 1rem;
  width: 100%;
  max-width: 480px;
}

.btn-gcal-link,
.btn-download-ics {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-gcal-link {
  background: #4285f4;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(66, 133, 244, 0.3);
}

.btn-gcal-link:hover {
  background: #3367d6;
  transform: translateY(-2px);
}

.btn-download-ics {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #334155;
}

.btn-download-ics:hover {
  background: #f8fafc;
  border-color: var(--accent-primary, #0ea271);
  color: var(--accent-primary, #0ea271);
}

.conf-footer-note {
  font-size: 0.82rem;
  color: #94a3b8;
}

/* ============================================================
   HOST MANAGEMENT PORTAL MODAL STYLES
   ============================================================ */
.host-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.host-modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.host-modal-container {
  width: 100%;
  max-width: 680px;
  background: #ffffff;
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3);
}

.host-modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
}

.host-modal-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.host-modal-header p {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0.2rem 0 0;
}

.host-auth-row {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.host-auth-row input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
}

.btn-unlock-host {
  padding: 0.8rem 1.4rem;
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  cursor: pointer;
}

.dashboard-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
}

.btn-clear-requests {
  background: transparent;
  border: none;
  color: #ef4444;
  font-size: 0.82rem;
  cursor: pointer;
  font-weight: 600;
}

.host-requests-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 380px;
  overflow-y: auto;
}

.request-card-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: left;
}

.request-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.request-booker-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
}

.request-meta {
  font-size: 0.83rem;
  color: #64748b;
}

.request-notes {
  font-size: 0.85rem;
  color: #334155;
  background: #ffffff;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.request-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.3rem;
}

.btn-host-accept {
  padding: 0.45rem 0.9rem;
  background: #10b981;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-host-reject {
  padding: 0.45rem 0.9rem;
  background: #ef4444;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

/* TOAST NOTIFICATION */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f172a;
  color: #ffffff;
  padding: 0.85rem 1.6rem;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 999999;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast-notification.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* RESPONSIVE DESIGN FOR CONTACT SECTION */
@media (max-width: 900px) {
  .contact-split-card {
    flex-direction: column;
  }

  .contact-diagonal-divider {
    width: 100%;
    height: 3px;
  }

  .calendar-picker-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {

  .contact-card-left,
  .contact-card-right {
    padding: 1.8rem 1.4rem;
  }

  .form-row-dual {
    grid-template-columns: 1fr;
  }

  .social-channels-grid {
    grid-template-columns: 1fr;
  }

  .connect-title {
    font-size: 2rem;
  }
}

/* ============================================================
   Site Footer
   ============================================================ */
.site-footer {
  background: #111111;
  color: rgba(255, 255, 255, 0.65);
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4.5rem 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.footer-tagline {
  font-family: 'Lato', sans-serif;
  font-size: 0.87rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.38);
  font-weight: 300;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-heading {
  font-family: 'Lato', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.3);
  display: block;
  margin-bottom: 0.4rem;
}

.footer-nav-link {
  font-family: 'Lato', sans-serif;
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 400;
}

.footer-nav-link:hover {
  color: var(--accent-primary, #0ea271);
}

.footer-social-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-social-btn:hover {
  background: var(--accent-primary, #0ea271);
  border-color: var(--accent-primary, #0ea271);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 162, 113, 0.35);
}

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1.5rem 0;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.22);
}

.footer-separator {
  color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 580px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .footer-separator {
    display: none;
  }
}

/* ============================================================
   Prefers Reduced Motion — Accessibility
   ============================================================ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .scroll-hint-chevron {
    animation: none;
    opacity: 0.35;
  }

  .identity-dot {
    animation: none;
  }

  .availability-dot {
    animation: none;
  }

  #doodle-canvas {
    display: none;
  }
}

/* ============================================================
   Fade-in Section Entrance (IntersectionObserver triggered)
   ============================================================ */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================================
   NEAR FULL-SCREEN MODAL OVERLAYS (BLOGS & SOCIALS)
   ============================================================ */

.full-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s ease;
}

.full-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.full-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 8, 8, 0.82);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
}

.full-modal-container {
  position: relative;
  width: 92vw;
  max-width: 1350px;
  height: 88vh;
  background: linear-gradient(135deg, rgba(32, 32, 32, 0.96) 0%, rgba(14, 14, 14, 0.99) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  transform: scale(0.93) translateY(20px);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  z-index: 2;
}

.full-modal-overlay.active .full-modal-container {
  transform: scale(1) translateY(0);
}

/* Modal Header */
.full-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0.5rem;
}

.modal-title-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.modal-icon {
  font-size: 2rem;
}

.modal-title {
  font-family: 'Lato', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin: 0;
}

.modal-subtitle {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0.2rem 0 0 0;
}

.modal-header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.modal-switch-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.modal-switch-btn:hover {
  background: rgba(14, 162, 113, 0.3);
  border-color: #0ea271;
  color: #0ea271;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #cbd5e1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s ease;
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #ef4444;
  border-color: #ef4444;
  transform: rotate(90deg);
}

/* Modal Body: 4-Column / 2-Column Infinite Vertical Parallax Conveyor */
.full-modal-body {
  flex: 1;
  overflow: hidden;
  position: relative;
  margin: 1rem 0;
  mask-image: linear-gradient(to bottom, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 6%, black 94%, transparent 100%);
}

/* ============================================================
   SPLIT-VIEW BLOGS MODAL (LEFT CONVEYOR, RIGHT READER PANE)
   ============================================================ */
.blogs-split-body {
  flex: 1;
  display: grid;
  grid-template-columns: 46% 54%;
  gap: 1.5rem;
  overflow: hidden;
  position: relative;
  margin: 0.75rem 0;
  height: calc(100% - 130px);
}

/* Left Half: 2-Column Conveyor Belt */
.blogs-split-left {
  height: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 5%, black 95%, transparent 100%);
  padding-right: 0.5rem;
}

.conveyor-2col-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  height: 100%;
}

.modal-blog-card.active-card {
  border-color: #0ea271 !important;
  background: rgba(14, 162, 113, 0.12) !important;
  box-shadow: 0 0 25px rgba(14, 162, 113, 0.25);
}

/* Right Half: Interactive Article Reader Pane */
.blogs-split-right {
  height: 100%;
  background: rgba(18, 18, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.75rem 2rem;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.blogs-split-right::-webkit-scrollbar {
  width: 6px;
}

.blogs-split-right::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

/* Reader Placeholder State */
.reader-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  gap: 1rem;
  padding: 2rem;
}

.placeholder-icon {
  font-size: 3.2rem;
  opacity: 0.8;
}

.placeholder-title {
  font-family: 'Lato', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.placeholder-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  max-width: 380px;
  line-height: 1.5;
  margin: 0;
}

.btn-read-featured {
  margin-top: 0.5rem;
  background: linear-gradient(135deg, #0ea271 0%, #059669 100%);
  border: none;
  color: #ffffff;
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(14, 162, 113, 0.35);
  transition: all 0.25s ease;
}

.btn-read-featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(14, 162, 113, 0.5);
}

/* Article Display */
.reader-article-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  animation: fadeInReader 0.35s ease-out;
}

.reader-article-content.hidden {
  display: none;
}

@keyframes fadeInReader {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}

.article-readtime {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

.article-main-title {
  font-family: 'Lato', sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.3;
  margin: 0 0 1rem 0;
  letter-spacing: -0.3px;
}

.article-author-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-author-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.article-author-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.article-author-role {
  display: block;
  font-size: 0.75rem;
  color: #0ea271;
  font-weight: 600;
}

.article-body-text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #cbd5e1;
}

.article-body-text h3 {
  font-family: 'Lato', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 1.5rem 0 0.6rem 0;
}

.article-body-text p {
  margin-bottom: 1rem;
}

.article-lead {
  font-size: 1.02rem;
  color: #e2e8f0;
  line-height: 1.65;
}

.article-code-block {
  background: #0d0d0e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  overflow-x: auto;
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.82rem;
  color: #34d399;
}

.article-body-text ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.article-body-text li {
  margin-bottom: 0.4rem;
}

.conveyor-4col-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  height: 100%;
}

.conveyor-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  will-change: transform;
}

.conveyor-col-down {
  animation: scroll-v-down 24s linear infinite;
}

.conveyor-col-up {
  animation: scroll-v-up 24s linear infinite;
}

.conveyor-col:hover {
  animation-play-state: paused;
}

@keyframes scroll-v-down {
  0% {
    transform: translateY(-50%);
  }

  100% {
    transform: translateY(0%);
  }
}

@keyframes scroll-v-up {
  0% {
    transform: translateY(0%);
  }

  100% {
    transform: translateY(-50%);
  }
}

/* Modal Cards */
.modal-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
}

.modal-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(14, 162, 113, 0.5);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}

.card-header-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.card-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
}

.tag-mono {
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tag-featured {
  background: rgba(14, 162, 113, 0.14);
  color: #10b981;
  border: 1px solid rgba(14, 162, 113, 0.35);
}

.card-date {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 600;
}

.card-title {
  font-family: 'Lato', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin: 0;
}

.card-excerpt {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 0.4rem;
}

.card-meta {
  font-size: 0.73rem;
  color: #64748b;
  font-weight: 600;
}

.card-arrow {
  color: #0ea271;
  font-weight: 800;
  font-size: 0.9rem;
}

/* Social Cards in Modal */
.social-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.social-icon {
  color: #0ea271;
}

.social-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.social-title {
  font-family: 'Lato', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0.2rem 0;
}

.social-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.4;
  margin: 0;
}

.social-footer-meta {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0ea271;
  margin-top: 0.5rem;
}

.modal-stat-card {
  background: rgba(14, 162, 113, 0.08);
  border: 1px solid rgba(14, 162, 113, 0.2);
  border-radius: 18px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.3rem;
}

.modal-stat-card .stat-num {
  font-family: 'Lato', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: #ffffff;
}

.stat-lbl {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
}

/* Modal Footer */
.full-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 0.5rem;
}

.modal-footer-hint {
  font-size: 0.78rem;
  color: #64748b;
  letter-spacing: 0.3px;
}

.modal-close-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.modal-close-btn-secondary:hover {
  background: #ffffff;
  color: #0f172a;
}

@media (max-width: 1024px) {
  .conveyor-4col-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .conveyor-4col-grid {
    grid-template-columns: 1fr;
  }

  .full-modal-container {
    width: 96vw;
    height: 94vh;
    padding: 1rem;
  }
}

/* ============================================================
   CINEMATIC VIEWPORT SCROLL TRANSITIONS & POP-UP REVEALS
   (Hero <-> About <-> Skills)
   ============================================================ */

/* HERO SECTION EXIT / PARALLAX PREPARATION */
.hero {
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, filter;
}

.hero.section-receding {
  opacity: 0.25;
  transform: translateY(-40px) scale(0.95);
  filter: blur(8px);
  pointer-events: none;
}

/* ABOUT SECTION ENTRANCE & EXIT */
.about-section {
  opacity: 0;
  transform: translateY(70px) scale(0.95);
  filter: blur(12px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.about-section.section-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
}

.about-section.section-receding {
  opacity: 0.25;
  transform: translateY(-40px) scale(0.95);
  filter: blur(8px);
}

/* Staggered Pop-up Entrance for Bento Cards inside About Section */
.about-section .bento-bio-card,
.about-section .bento-stats-card,
.about-section .bento-card-building,
.about-section .bento-card-timeline,
.about-section .bento-card-stack-workspace {
  opacity: 0;
  transform: translateY(35px) scale(0.97);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-section.section-active .bento-bio-card {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.08s;
}

.about-section.section-active .bento-stats-card {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.16s;
}

.about-section.section-active .bento-card-building {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.24s;
}

.about-section.section-active .bento-card-timeline {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.32s;
}

.about-section.section-active .bento-card-stack-workspace {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.4s;
}

/* SKILLS SECTION ENTRANCE & EXIT */
.skills-section {
  opacity: 0;
  transform: translateY(70px) scale(0.95);
  filter: blur(12px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.skills-section.section-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
}

.skills-section.section-receding {
  opacity: 0.25;
  transform: translateY(-40px) scale(0.95);
  filter: blur(8px);
}

/* Staggered Pop-up Entrance for Panels inside Skills Section */
.skills-section .sketchpad-panel {
  opacity: 0;
  transform: translateX(-35px) scale(0.97);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.skills-section .code-editor-wrapper {
  opacity: 0;
  transform: translateX(35px) scale(0.97);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.skills-section.section-active .sketchpad-panel {
  opacity: 1;
  transform: translateX(0) scale(1);
  transition-delay: 0.15s;
}

.skills-section.section-active .code-editor-wrapper {
  opacity: 1;
  transform: translateX(0) scale(1);
  transition-delay: 0.3s;
}

/* Fallback for reduced motion / non-supported browsers */
@media (prefers-reduced-motion: reduce) {

  .hero,
  .about-section,
  .skills-section,
  .about-section *,
  .skills-section * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* Footer Top Accent Divider with Center Emerald Tick */
.footer-top-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.divider-emerald-tick {
  width: 28px;
  height: 2px;
  background: var(--accent-primary, #0ea271);
  border-radius: 2px;
}

/* ============================================================
   Site Footer — Redesigned Product-Grade Footer
   ============================================================ */
.site-footer {
  width: 100%;
  background: linear-gradient(180deg, #1b1b1b 0%, #141414 100%);
  color: #94a3b8;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-main-grid.footer-grid-3col {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 3rem;
}

.footer-center-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  align-self: stretch;
  pointer-events: none;
  user-select: none;
}

.footer-watermark-img {
  height: 205px;
  max-height: 125%;
  width: auto;
  object-fit: contain;
  transform: translateX(-24px) scale(1.15);
  /* High contrast threshold flattens inner facial features into a solid uniform gray silhouette shape */
  filter: grayscale(100%) contrast(3000%) brightness(0.45) opacity(0.4);
  mix-blend-mode: screen;
}

.footer-right-cols {
  display: flex;
  gap: 5rem;
  align-items: start;
}

/* ============================================================
   Infinite Scrolling Social Icons Ticker (Centered & Masked)
   ============================================================ */
.footer-ticker-wrapper {
  width: 100%;
  max-width: 440px;
  /* Comfortably displays 5 icons at a time */
  margin: 0.6rem auto 0.8rem;
  overflow: hidden;
  position: relative;
  padding: 0.75rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.footer-ticker-track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: footer-ticker-scroll 16s linear infinite;
}

.footer-ticker-wrapper:hover .footer-ticker-track {
  animation-play-state: paused;
}

.ticker-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  text-decoration: none;
  flex-shrink: 0;
  background: transparent;
  border: none;
  padding: 0.4rem;
  transition: color 200ms ease-out, transform 200ms ease-out, opacity 200ms ease-out;
  cursor: pointer;
  opacity: 0.75;
}

.ticker-icon-btn:hover {
  color: #ffffff;
  opacity: 1;
  transform: translateY(-2px);
}

.ticker-img-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0.85);
  transition: filter 200ms ease, transform 200ms ease;
}

.ticker-icon-btn:hover .ticker-img-icon {
  filter: brightness(1.2);
}

@keyframes footer-ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* 1. Left Personal Signature Profile Column */
.footer-profile-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-align: left;
}

.footer-profile-name {
  font-family: 'Dancing Script', 'Great Vibes', 'Caveat', cursive;
  font-size: 2.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.5px;
  line-height: 1.15;
  display: inline-block;
}

.footer-profile-role {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-primary, #0ea271);
  margin: 0;
  min-height: 1.5em;
  display: flex;
  align-items: center;
}

.typewriter-cursor {
  display: inline-block;
  color: var(--accent-primary, #0ea271);
  font-weight: 400;
  margin-left: 2px;
  animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.footer-profile-bio {
  font-family: 'Lato', sans-serif;
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0.2rem 0 0.4rem;
  max-width: 320px;
}

.footer-profile-location {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  color: #64748b;
}

.footer-availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.9rem;
  background: rgba(14, 162, 113, 0.08);
  border: 1px solid rgba(14, 162, 113, 0.2);
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-primary, #0ea271);
  align-self: flex-start;
  margin-top: 0.4rem;
}

.availability-dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-primary, #0ea271);
}

/* 2, 3, 4. Navigation & Connect Columns */
.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.footer-col-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin: 0;
  display: inline-block;
  background: linear-gradient(to right, #10b981 0%, #0ea271 50%, #94a3b8 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.footer-col-title:hover {
  background-position: 0 0;
}

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

.footer-link {
  font-family: 'Lato', sans-serif;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #cbd5e1;
  text-decoration: none;
  display: inline-block;
  background: linear-gradient(to right, #10b981 0%, #0ea271 50%, #cbd5e1 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-link:hover {
  background-position: 0 0;
  transform: translateX(3px);
}

/* Social Buttons */
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.75rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  color: #cbd5e1;
  text-decoration: none;
  transition: background 200ms ease-out, border-color 200ms ease-out, transform 200ms ease-out, color 200ms ease-out;
}

.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-3px) scale(1.02);
}

/* Footer Bottom Information Row */
.footer-bottom-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom-left {
  display: flex;
  justify-content: flex-start;
}

.footer-bottom-center {
  text-align: center;
  line-height: 1.5;
}

.footer-bottom-center strong {
  color: #94a3b8;
  font-weight: 600;
}

.footer-bottom-right {
  text-align: right;
  line-height: 1.5;
}

/* Back to Top Button — Smooth 0.5s Left-to-Right White Fill Hover */
.btn-back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: #cbd5e1;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-back-to-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  border-radius: 50px;
  z-index: -1;
  background-color: #ffffff;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-back-to-top:hover::before {
  width: 100%;
}

.btn-back-to-top:hover {
  color: #0d0d0f;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: none;
}

/* Responsive Scaling */
@media (max-width: 992px) {
  .footer-main-grid.footer-grid-3col {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer-center-logo {
    display: none;
  }

  .footer-right-cols {
    gap: 3.5rem;
  }

  .footer-bottom-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-bottom-left,
  .footer-bottom-center,
  .footer-bottom-right {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .footer-right-cols {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-ticker-wrapper {
    max-width: 320px;
  }
}

@media (max-width: 600px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-cta-title {
    font-size: 1.7rem;
  }

  .footer-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {

  .footer-cta-section,
  .btn-cta-primary,
  .btn-cta-secondary,
  .footer-social-link,
  .btn-back-to-top,
  .btn-back-to-top .arrow-up,
  .btn-back-to-top .btn-text {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE OVERHAUL
   Breakpoints: 1024px (tablet-landscape), 768px (tablet), 480px (mobile)
   ========================================================================== */

/* ── 1024px: Tablet Landscape ──────────────────────────────── */
@media (max-width: 1024px) {

  /* Hero: tighten overlapping text sizes */
  .overlapping-text {
    font-size: clamp(2.8rem, 9vw, 12rem);
  }

  .overlapping-text-right {
    font-size: clamp(1.5rem, 3.5vw, 4.5rem);
  }

  /* Navbar: compact padding */
  .navbar-header {
    padding: 1.2rem var(--nav-padding-x, clamp(0.75rem, 1.8vw, 2.2rem));
  }

  /* About: reduce section padding */
  .about-section {
    padding: 5rem 1.5rem;
  }

  /* Skills: tighter gap */
  .skills-container {
    gap: 2.5rem;
  }
}

/* ── 768px: Tablet / Mobile ────────────────────────────────── */
@media (max-width: 768px) {

  /* ── ROOT: freeze all scroll-driven hero transforms on mobile ── */
  :root {
    --scroll-percent: 0 !important;
    --image-center-x: 50vw !important;
    --slant-offset: 0vw !important;
  }

  /* ── BODY: hide diagonal split ── */
  body::after {
    display: none !important;
  }

  /* ── HERO: Full mobile stack layout ── */
  .hero {
    min-height: 100svh !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding-top: 64px !important;
    padding-bottom: 2rem !important;
    position: relative !important;
    overflow: hidden !important;
  }

  .hero-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.5rem 1rem 0 !important;
    margin: 0 !important;
    gap: 0 !important;
    min-height: auto !important;
  }

  /* Image wrapper: centered container */
  .hero-image-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    transform: none !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Profile container: stacked column layout for title -> image -> tagline */
  .profile-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    transform: none !important;
    opacity: 1 !important;
    margin: 0 auto !important;
  }

  /* 1. Top Stencil Title: KRISHNA SAHOO */
  .overlapping-text {
    order: 1 !important;
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    text-align: center !important;
    white-space: nowrap !important;
    font-size: clamp(2.2rem, 9.5vw, 4.5rem) !important;
    line-height: 0.95 !important;
    letter-spacing: -1.5px !important;
    transform: none !important;
    color: #222222 !important;
    opacity: 1 !important;
    margin: 0.5rem auto 0.5rem auto !important;
    pointer-events: none !important;
    z-index: 5 !important;
  }

  .overlapping-text > div:last-child {
    display: block !important;
    transform: none !important;
  }

  /* 2. Middle Profile Image */
  .profile-img,
  .profile-img-left {
    order: 2 !important;
    position: relative !important;
    width: auto !important;
    max-width: 270px !important;
    height: auto !important;
    max-height: 38vh !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    display: block !important;
    clip-path: none !important;
    transform: none !important;
    z-index: 4 !important;
  }

  /* Hide glass wrapper side image on mobile */
  .profile-glass-wrapper {
    display: none !important;
  }

  /* 3. Subtitle / Tagline */
  .overlapping-text-right {
    order: 3 !important;
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    text-align: center !important;
    white-space: normal !important;
    font-size: clamp(0.95rem, 3.8vw, 1.3rem) !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
    transform: none !important;
    color: #4a4a4a !important;
    opacity: 1 !important;
    margin: 0.75rem auto 0 auto !important;
    padding: 0 0.5rem !important;
    pointer-events: none !important;
    z-index: 5 !important;
  }

  .overlapping-text-right div {
    min-height: auto !important;
    display: block !important;
  }

  /* Hero content right (tech ticker) */
  .hero-content-right {
    width: 100% !important;
    max-width: 100% !important;
    margin: 1.2rem auto 0 auto !important;
    padding: 0 !important;
    transform: none !important;
    opacity: 1 !important;
    order: 2 !important;
    flex: 0 0 auto !important;
  }

  /* Identity badge centered */
  .hero-identity-badge {
    justify-content: center;
    text-align: center;
  }

  /* Action buttons: centered, high-contrast filled pills on mobile */
  .hero-action-buttons {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    opacity: 1 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.85rem !important;
    width: 100% !important;
    padding: 0 1rem !important;
    order: 3 !important;
    margin-top: 1.25rem !important;
    margin-bottom: 1.5rem !important;
    z-index: 10 !important;
  }

  .btn-hero {
    padding: 0.8rem 1.8rem !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    letter-spacing: 1.2px !important;
    border-radius: 50px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
  }

  /* Blogs Button - High Contrast Emerald Filled Pill */
  .btn-hero-primary {
    background: #10B981 !important;
    color: #ffffff !important;
    border: 1.5px solid #10B981 !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35) !important;
  }

  .btn-hero-primary span,
  .btn-hero-primary svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
  }

  .btn-hero-primary:hover {
    background: #0d9668 !important;
    border-color: #0d9668 !important;
    color: #ffffff !important;
  }

  /* Socials Button - High Contrast Dark Charcoal Filled Pill */
  .btn-hero-secondary {
    background: #1a1a1a !important;
    color: #ffffff !important;
    border: 1.5px solid #1a1a1a !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22) !important;
  }

  .btn-hero-secondary span,
  .btn-hero-secondary svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
  }

  .btn-hero-secondary:hover {
    background: #333333 !important;
    border-color: #333333 !important;
    color: #ffffff !important;
  }

  /* Hero panels wrapper: full width */
  .hero-panels-wrapper {
    max-width: 100%;
    width: 100%;
    min-height: auto;
    padding-top: 0;
  }

  /* Tech ticker: full width */
  .hero-tech-ticker {
    width: 100%;
    margin-top: 0.75rem;
  }

  /* Scroll hint positioning */
  #scroll-hint {
    bottom: 1.5rem;
  }

  /* Navbar: compact & high-contrast on mobile */
  .navbar-header {
    padding: 0.85rem var(--nav-padding-x, 1rem);
  }

  .navbar-logo {
    height: 38px;
  }

  .btn-resume {
    font-size: 0.78rem !important;
    padding: 0.55rem 1.3rem !important;
    color: #1a1a1a !important;
    border: 1.5px solid #1a1a1a !important;
    background: rgba(0, 0, 0, 0.04) !important;
    font-weight: 800 !important;
  }

  .btn-resume::before {
    background-color: #1a1a1a !important;
  }

  .btn-resume:hover {
    color: #ffffff !important;
    background-color: #1a1a1a !important;
  }

  .hamburger-line {
    background: #1a1a1a !important;
  }

  /* ── ABOUT SECTION (≤768px) ── */
  .about-section {
    padding: 3.5rem 0.75rem 2rem !important;
    min-height: auto !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  .about-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .about-card-container {
    padding: 1.25rem 0.85rem !important;
    border-radius: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .about-bento-grid {
    gap: 1.25rem !important;
    width: 100% !important;
  }

  .bento-top-row,
  .bento-bottom-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    width: 100% !important;
  }

  .bento-bio-card,
  .bento-stats-card,
  .bento-card {
    padding: 1.5rem 1.15rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border-radius: 18px !important;
  }

  /* About bento headline - fix right-clipping and negative margin */
  .bento-headline {
    font-size: clamp(1.6rem, 7vw, 2.2rem) !important;
    margin-top: 0 !important;
    margin-bottom: 0.6rem !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    line-height: 1.25 !important;
    display: block !important;
    width: 100% !important;
  }

  .bento-cursive-tagline {
    font-size: clamp(1.05rem, 4.2vw, 1.3rem) !important;
    margin-bottom: 0.85rem !important;
    word-break: break-word !important;
    line-height: 1.35 !important;
  }

  .bento-bio-text {
    font-size: clamp(0.88rem, 3.6vw, 0.95rem) !important;
    line-height: 1.6 !important;
    margin-bottom: 1.25rem !important;
    word-break: break-word !important;
  }

  /* 4 Value Cards Grid */
  .about-values-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.65rem !important;
    width: 100% !important;
  }

  .value-card {
    padding: 0.85rem 0.65rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .value-card h4 {
    font-size: 0.82rem !important;
    margin-bottom: 0.2rem !important;
  }

  .value-card p {
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
  }

  /* Stats grid */
  .stats-bento-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.65rem !important;
    width: 100% !important;
  }

  .stat-bento-box {
    padding: 0.85rem 0.65rem !important;
    text-align: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .stat-num {
    font-size: clamp(1.4rem, 5vw, 1.8rem) !important;
  }

  .stat-title {
    font-size: 0.78rem !important;
  }

  .stat-sub {
    font-size: 0.68rem !important;
  }

  /* ── SKILLS SECTION (≤768px) ── */
  .skills-section {
    padding: 3.5rem 0.75rem 2.5rem !important;
  }

  .skills-title {
    font-size: clamp(1.8rem, 7vw, 2.3rem) !important;
    letter-spacing: -0.5px !important;
  }

  .skills-subtitle {
    font-size: clamp(0.85rem, 3.5vw, 0.95rem) !important;
    margin-bottom: 1rem !important;
  }

  /* 2-Column Grid with 7th item centered spanning 2 columns */
  .skills-categories-nav {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.55rem !important;
    width: 100% !important;
  }

  .skills-categories-nav .category-btn {
    padding: 0.72rem 0.65rem !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .skills-categories-nav .category-btn .btn-num {
    font-size: 0.7rem !important;
    margin-right: 0.45rem !important;
    flex-shrink: 0 !important;
  }

  .skills-categories-nav .category-btn .btn-text {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    letter-spacing: 0 !important;
  }

  /* 7th item: Tools — centered in the middle spanning both columns */
  .skills-categories-nav .category-btn:last-child {
    grid-column: span 2 !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .skills-categories-nav .category-btn:last-child .btn-num {
    margin-right: 0.5rem !important;
  }

  /* Sketchpad drawing area */
  .sketchpad-canvas-wrapper {
    min-height: 220px !important;
    height: 240px !important;
    border-radius: 16px !important;
    margin-top: 1rem !important;
  }

  /* ── SECTION HEADER STANDARD ── */
  .section-title-standard {
    font-size: 2.1rem;
    letter-spacing: 1.2px;
  }

  /* ── CONNECT SECTION ── */
  .connect-section {
    padding: 80px 1rem 60px;
  }

  .connect-dotted-matrix {
    display: none;
  }

  /* ── FOOTER ── */
  .footer-cta-title {
    font-size: 2rem;
  }
}

/* ── 480px: Mobile Portrait ────────────────────────────────── */
@media (max-width: 480px) {

  /* Hero: even smaller text */
  .overlapping-text {
    font-size: clamp(2rem, 13vw, 4.5rem);
    letter-spacing: -1.5px;
  }

  .overlapping-text-right {
    font-size: clamp(0.85rem, 4.5vw, 1.3rem);
  }

  .hero-image-wrapper {
    max-width: 290px;
  }

  .profile-container {
    max-width: 290px;
  }

  .profile-img,
  .profile-img-glass-bg {
    max-height: 60vmax;
  }

  .btn-hero {
    padding: 0.72rem 1.4rem !important;
    font-size: 0.78rem !important;
    gap: 0.5rem !important;
  }

  /* About (≤480px) */
  .about-section {
    padding: 2.5rem 0.5rem 1.5rem !important;
  }

  .about-card-container {
    padding: 1rem 0.65rem !important;
    border-radius: 16px !important;
  }

  .bento-bio-card,
  .bento-stats-card,
  .bento-card {
    padding: 1.2rem 0.85rem !important;
    border-radius: 16px !important;
  }

  .bento-headline {
    font-size: clamp(1.45rem, 6.5vw, 1.8rem) !important;
    white-space: normal !important;
    margin-top: 0 !important;
  }

  .about-values-grid {
    grid-template-columns: 1fr !important;
  }

  /* Stats 2-column compact grid */
  .stats-bento-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
  }

  /* Skills (≤480px) */
  .skills-section {
    padding: 2.5rem 0.5rem 2rem !important;
  }

  .skills-title {
    font-size: 1.6rem !important;
  }

  .skills-categories-nav {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.45rem !important;
    width: 100% !important;
  }

  .skills-categories-nav .category-btn {
    padding: 0.65rem 0.5rem !important;
    border-radius: 10px !important;
  }

  .skills-categories-nav .category-btn .btn-num {
    font-size: 0.65rem !important;
    margin-right: 0.35rem !important;
  }

  .skills-categories-nav .category-btn .btn-text {
    font-size: 0.78rem !important;
  }

  .skills-categories-nav .category-btn:last-child {
    grid-column: span 2 !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .sketchpad-canvas-wrapper {
    min-height: 200px !important;
    height: 220px !important;
  }

  /* Section titles */
  .section-title-standard {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }

  .workshop-heading {
    font-size: 1.8rem !important;
    letter-spacing: -0.5px;
  }

  /* Navbar */
  .navbar-logo {
    height: 32px;
  }

  .btn-resume {
    font-size: 0.72rem;
    padding: 0.45rem 1rem;
  }

  /* Connect */
  .connect-section {
    padding: 72px 0.75rem 48px;
  }

  /* Footer */
  .footer-cta-title {
    font-size: 1.7rem;
  }

  .footer-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    justify-content: center;
  }

  /* Mobile menu drawer: larger touch targets */
  .mobile-menu-link {
    padding: 1.1rem 0;
    font-size: 1.1rem;
  }
}

/* ── Hero panel overview: mobile centering ── */
@media (max-width: 768px) {
  .hero-panel-overview {
    align-items: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-social-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  .hero-social-card {
    padding: 0.75rem;
  }

  .social-name {
    font-size: 0.85rem;
  }

  .blogs-vertical-parallax {
    max-height: 220px;
  }
}

/* ── Testimonials mobile override ── */
@media (max-width: 768px) {
  .testimonials-section {
    padding: 5rem 0 4rem;
  }

  .testimonials-container {
    padding: 0 1rem;
  }
}

/* ── About values grid: 1-column on very small ── */
@media (max-width: 400px) {
  .about-values-grid {
    grid-template-columns: 1fr !important;
  }

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