/* ============================================================
   BRANDIN HALL — CREATIVE DIRECTOR — PORTFOLIO
   ============================================================ */

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #0A0A0A;
  --white: #ffffff;
  --red: #E05A00;
  --red-dark: #C44E00;
  --steel-blue: #005F73;
  --steel-blue-light: #007A94;
  --gray: rgba(255, 255, 255, 0.65);
  --gray-dark: #1a1a1a;
  --off-white: #f5f5f5;
  --border-light: rgba(255, 255, 255, 0.1);
  --border-dark: rgba(0, 0, 0, 0.1);
  --text-muted: rgba(255, 255, 255, 0.72);
  --text-muted-dark: rgba(0, 0, 0, 0.72);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Fira Code', 'Courier New', monospace;
  --font-jp: 'Noto Sans Tamil', 'Noto Sans JP', sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  scroll-behavior: auto !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.5;
}

body.no-scroll {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

::selection {
  background: var(--red);
  color: var(--white);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--red-dark);
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}

.preloader.loaded {
  display: none !important;
}

.preloader-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(11px, 2.8vw, 36px);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  gap: 0.8em;
  position: relative;
  letter-spacing: 0.05em;
}

.preloader-name {
  opacity: 0;
  will-change: transform, opacity;
}

.preloader-center-x {
  color: var(--red);
  font-size: 1.5em;
  opacity: 0;
  will-change: transform, opacity;
  display: inline-block;
  line-height: 1;
}

.preloader-role {
  opacity: 0;
  will-change: transform, opacity;
  color: #ffffff;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  opacity: 0;
  pointer-events: none;
  transition: background 0.4s ease, backdrop-filter 0.4s ease,
    padding 0.4s ease, opacity 0.4s ease;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 16px 40px;
  opacity: 1;
  pointer-events: auto;
}

/* ----- COURSES LOGOS AUTO-SCROLL MARQUEE ----- */
@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

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

.courses-logos {
  overflow: hidden;
  width: 100%;
  position: relative;
  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%);
}

.courses-logos-track {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
  padding: 1.5rem 0;
}

.courses-logos:hover .courses-logos-track {
  animation-play-state: paused;
}

.course-logo-item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.course-logo-item img {
  width: 160px;
  height: 120px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.75rem;
  filter: grayscale(0%) brightness(1);
  transition: filter 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.course-logo-item:hover img {
  filter: grayscale(0%) brightness(1.1);
  transform: scale(1.08);
  box-shadow: 0 0 24px rgba(224, 90, 0, 0.35);
}

.course-logo-item figcaption {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.course-logo-item:hover figcaption {
  color: #ff6a33;
  text-shadow: 0 0 8px rgba(224, 90, 0, 0.4);
}

/* Mobile responsive for course logos */
@media (max-width: 768px) {
  .courses-logos-track {
    gap: 2rem;
    animation-duration: 25s;
    padding: 1rem 0;
  }

  .course-logo-item img {
    width: 120px;
    height: 90px;
    padding: 0.5rem;
    border-radius: 10px;
  }

  .course-logo-item figcaption {
    font-size: 0.7rem;
  }
}

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

.nav-logo-full,
.nav-logo-short {
  color: var(--red);
  font-weight: 900;
  letter-spacing: -0.5px;
  transition: color 0.3s ease;
}

.nav-logo-full {
  display: inline-block;
  font-size: 19px;
}

.nav-logo-short {
  display: none;
  font-size: 24px;
}

@media (max-width: 768px) {
  .nav-logo-full {
    display: none !important;
  }

  .nav-logo-short {
    display: inline-block !important;
  }
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-cta {
  padding: 10px 26px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.35s var(--ease-out-expo);
}

.nav-cta:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  transform: translateY(-1px);
}

.nav-menu-btn {
  position: relative;
  top: auto;
  right: auto;
  z-index: 1002;
  transition: all 0.3s ease;
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-menu-btn.scrolled {
  top: auto;
}

.nav-menu-btn span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.4s var(--ease-out-expo), opacity 0.3s ease;
  transform-origin: center;
}

.nav-menu-btn.active span:first-child {
  transform: translateY(4.25px) rotate(45deg);
}

.nav-menu-btn.active span:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

/* ===== ROADMAP VISIBILITY: OPTION 1 (NAVBAR & DRAWER) ===== */
.nav-cta-roadmap {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  margin-right: 12px;
  background: rgba(230, 0, 41, 0.1) !important;
  border: 1px solid rgba(230, 0, 41, 0.5) !important;
  color: #ffffff !important;
  padding: 8px 16px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  transition: all 0.25s ease !important;
  position: relative;
  overflow: hidden;
}

.nav-cta-roadmap:hover {
  background: #e60029 !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(230, 0, 41, 0.6);
  border-color: #e60029 !important;
  transform: translateY(-1px);
}

.nav-roadmap-pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e60029;
  box-shadow: 0 0 8px #e60029;
  animation: hud-dot-pulse 1.8s infinite ease-in-out;
}

.nav-cta-roadmap:hover .nav-roadmap-pulse {
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff;
}

body.light-theme .nav-cta-roadmap {
  background: rgba(230, 0, 41, 0.08) !important;
  border-color: rgba(230, 0, 41, 0.4) !important;
  color: #111111 !important;
}

body.light-theme .nav-cta-roadmap:hover {
  background: #e60029 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(230, 0, 41, 0.35);
}

.menu-option-roadmap {
  display: flex !important;
  align-items: center;
  gap: 12px;
  color: var(--red) !important;
}

.roadmap-drawer-badge {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 6px;
  background: rgba(230, 0, 41, 0.2);
  border: 1px solid var(--red);
  border-radius: 4px;
  letter-spacing: 0.1em;
}

/* ===== SIDE BADGE (ORIGINAL DESIGN) ===== */
.side-badge {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) !important;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none !important;
  border-radius: 8px 0 0 8px;
  overflow: hidden;
  box-shadow: -6px 0 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease, background-color 0.3s ease;
  background: var(--white) !important;
  color: var(--black) !important;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-right: none;
}

.side-badge:hover {
  transform: translateY(-50%) translateX(-6px) !important;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.45);
  background: #f5f5f5 !important;
}

.badge-w {
  display: none !important;
}

.badge-text {
  writing-mode: vertical-rl;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 18px 12px;
  background: transparent !important;
  color: inherit !important;
  font-family: var(--font-main);
  transition: color 0.3s ease;
}

.badge-arrow {
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  transition: transform 0.3s ease;
}

.side-badge:hover .badge-arrow {
  transform: translateY(3px) scale(1.1);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0, 0, 0, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s var(--ease-out-expo);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.mobile-menu-content a {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s var(--ease-out-expo), color 0.2s ease;
}

.mobile-menu.open .mobile-menu-content a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-content a:nth-child(1) {
  transition-delay: 0.08s;
}

.mobile-menu-content a:nth-child(2) {
  transition-delay: 0.13s;
}

.mobile-menu-content a:nth-child(3) {
  transition-delay: 0.18s;
}

.mobile-menu-content a:nth-child(4) {
  transition-delay: 0.23s;
}

.mobile-menu-content a:nth-child(5) {
  transition-delay: 0.28s;
}

.mobile-menu-content a:nth-child(6) {
  transition-delay: 0.33s;
}

.mobile-menu-content a:hover {
  color: var(--red);
}

/* ===== SECTION 1: SPLIT HERO & 180° CANVAS SEQUENCE TRACK ===== */

/* --- Outer Scroll Track (Provides 160vh of scroll scrub travel) --- */
.hero-scroll-track {
  position: relative;
  width: 100%;
  height: 260vh;
  background: var(--black);
}

@media (max-width: 768px) {
  .hero-scroll-track {
    height: 200vh;
  }
}

/* --- Sticky Hero Container --- */
.hero-scroll-track .split-hero {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  z-index: 5;
}

.split-hero {
  display: flex;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

/* --- LEFT PANEL (dark cyber character container) --- */
.split-hero-left {
  flex: 1 1 0;
  position: relative;
  background: #000000;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}

/* Top-bar controls inside left panel */
.split-hero-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 22px 28px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.split-hero-topbar.hidden,
body.scrolled .split-hero-topbar {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.split-hero-cta {
  padding: 9px 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 30px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  transition: all 0.35s var(--ease-out-expo);
}

.split-hero-cta:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.split-hero-menu-btn {
  width: 28px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 0;
  cursor: pointer;
  background: none;
  border: none;
}

.split-hero-menu-btn span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.4s var(--ease-out-expo), opacity 0.3s ease;
  transform-origin: center;
}

.split-hero-menu-btn.active span:first-child {
  transform: translateY(4.25px) rotate(45deg);
}

.split-hero-menu-btn.active span:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

/* Hero Canvas Background */
.intro-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000000;
  overflow: hidden;
}

.hero-sequence-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  pointer-events: none;
}

.hero-sequence-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.hero-sequence-fallback.ready {
  opacity: 0;
}

.hero-sequence-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.intro-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.intro-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.55) 38%, rgba(0, 0, 0, 0.1) 75%, rgba(0, 0, 0, 0.4) 100%),
              radial-gradient(ellipse at 58% 35%, rgba(224, 90, 0, 0.08) 0%, transparent 65%);
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 900px) {
  .intro-hero-bg::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0.8) 75%, rgba(0, 0, 0, 0.98) 100%);
  }
}

/* Perspective HUD & Angle Controllers */
.hero-name-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.hero-perspective-hud {
  background: rgba(10, 10, 10, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 250px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 10;
}

.hero-perspective-hud:hover {
  border-color: rgba(224, 90, 0, 0.45);
  box-shadow: 0 14px 40px rgba(224, 90, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-perspective-hud .hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hero-perspective-hud .hud-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: hudDotPulse 1.8s infinite;
  flex-shrink: 0;
}

@keyframes hudDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

.hero-perspective-hud .hud-title {
  flex: 1;
}

.hero-perspective-hud .hud-degree {
  color: var(--white);
  font-weight: 700;
  font-family: var(--font-mono, monospace);
  letter-spacing: 0.05em;
}

.hero-perspective-hud .hud-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.hero-perspective-hud .hud-angle-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  color: rgba(255, 255, 255, 0.65);
}

.hero-perspective-hud .hud-angle-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.hero-perspective-hud .hud-angle-btn.active {
  background: rgba(224, 90, 0, 0.16);
  border-color: var(--red);
  color: var(--white);
  box-shadow: 0 0 12px rgba(224, 90, 0, 0.35);
}

.hero-perspective-hud .hud-angle-num {
  font-family: var(--font-mono, monospace);
  font-size: 8px;
  opacity: 0.6;
}

.hero-perspective-hud .hud-angle-txt {
  font-family: var(--font-main);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-perspective-hud .hud-track-wrap {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.hero-perspective-hud .hud-track-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red), #ff7a1a);
  box-shadow: 0 0 6px var(--red);
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* Animated Scroll to Rotate Hint */
.hero-scroll-rotate-hint {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.65);
  z-index: 4;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  user-select: none;
}

.hero-scroll-rotate-hint.faded {
  opacity: 0;
  transform: translate(-50%, 15px);
}

.scroll-rotate-mouse {
  width: 18px;
  height: 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.scroll-rotate-wheel {
  width: 3px;
  height: 6px;
  background: var(--red);
  border-radius: 2px;
  animation: mouseWheelScrub 1.6s ease-in-out infinite;
}

@keyframes mouseWheelScrub {
  0% { transform: translateY(0); opacity: 1; }
  75% { transform: translateY(8px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@media (max-width: 900px) {
  .hero-name-wrap {
    align-items: flex-start;
  }
  .hero-perspective-hud {
    min-width: unset;
    width: 100%;
    max-width: 320px;
  }
  .hero-scroll-rotate-hint {
    bottom: 92px;
    font-size: 9px;
  }
}

/* Each slide fills the panel and sits on top of each other */
.hero-slide {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 92%;
  width: auto;
  max-width: 90%;
  object-fit: contain;
  object-position: bottom center;
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out-expo);
  pointer-events: none;
  user-select: none;
}

.hero-slide.active {
  opacity: 0.9;
}

.split-hero-left:hover .hero-slide.active {
  opacity: 1;
}

/* Mobile: hero slides — large, centred, bottom-anchored (matches expertise banner style) */
@media (max-width: 900px) {
  .hero-slide {
    height: 92%;
    width: auto;
    max-width: none;
    left: 50%;
    right: auto;
    top: auto;
    bottom: 0;
    margin: 0;
    transform: translateX(-50%) !important;
    object-fit: contain;
    object-position: bottom center;
  }
}

/* Hero text content */
.intro-hero-content {
  position: absolute;
  top: 50%;
  left: 2.5%;
  right: 2.5%;
  transform: translateY(-50%);
  z-index: 3;
  text-align: left;
  padding: 0;
}

.hero-split-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  width: 100%;
}

.hero-split-left {
  flex: 1;
  min-width: 0;
}

.hero-split-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.intro-hero-subtitle {
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  border-left: 2px solid var(--red);
  padding-left: 20px;
  margin-bottom: 0;
}

.hero-sub-line {
  display: block;
  font-size: clamp(20px, 2.6vw, 42px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.hero-sub-line:nth-child(1) {
  transition-delay: 0s;
}

.hero-sub-line:nth-child(2) {
  transition-delay: 0.08s;
}

.hero-sub-line:nth-child(3) {
  transition-delay: 0.16s;
}

.hero-sub-line:nth-child(4) {
  transition-delay: 0.24s;
}

.intro-hero-subtitle.animate .hero-sub-line {
  opacity: 1;
  transform: translateY(0);
}

.hero-sub-line.amp-char {
  font-size: clamp(26px, 3.4vw, 56px);
  font-weight: 300;
  color: var(--red);
  margin: 0.05em 0;
}

.intro-hero-name {
  font-size: clamp(70px, 12vw, 180px);
  font-weight: 900;
  color: var(--white);
  line-height: 0.85;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.1s var(--ease-out-expo), transform 1.1s var(--ease-out-expo), color 0.3s ease, -webkit-text-stroke 0.3s ease;
}

.intro-hero-name.animate {
  opacity: 1;
  transform: translateY(0);
}

.intro-hero-name:hover {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--white);
}

.intro-hero-name .hero-dot {
  color: var(--red);
  transition: color 0.3s ease;
}

.intro-hero-name:hover .hero-dot {
  color: var(--white);
  -webkit-text-stroke: 0px transparent;
}

/* Bottom metadata */
.intro-hero-bottom {
  position: absolute;
  bottom: 36px;
  left: 28px;
  right: 28px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.intro-hero-bottom span {
  font-size: clamp(10px, 1.2vw, 13px);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.intro-hero-bottom span.animate {
  opacity: 1;
  transform: translateY(0);
}

/* --- RIGHT PANEL (black navigation) --- */
/* Right panel — hidden by default on desktop, opens on hamburger click */
.split-hero-right {
  flex: 0 0 auto;
  width: 0;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: width 0.55s var(--ease-out-expo), padding 0.55s var(--ease-out-expo);
  border-left: 1px solid rgba(224, 90, 0, 0);
}

/* Desktop open state */
.split-hero-right.open {
  width: 58%;
  padding: 100px 50px 50px;
  overflow-y: auto;
  overflow-x: hidden;
  border-left: 1px solid rgba(224, 90, 0, 0.2);
}

/* Close button — visible on both desktop and mobile */
.split-hero-close {
  display: block;
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 26px;
  line-height: 1;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.split-hero-close:hover {
  opacity: 1;
}

/* Navigation links grid */
.split-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  margin-top: auto;
  margin-bottom: auto;
}

.split-nav-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.split-nav-col-header {
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  user-select: none;
}

.split-nav-col-header .cyber-bracket {
  color: rgba(255, 255, 255, 0.15);
}

.split-nav-col-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.split-nav-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: clamp(15px, 1.4vw, 21px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.22;
  color: var(--white);
  opacity: 0;
  transform: translateX(30px);
  transition: color 0.25s ease,
    opacity 0.55s var(--ease-out-expo),
    transform 0.55s var(--ease-out-expo),
    text-shadow 0.25s ease;
}

.split-nav-link .link-num {
  font-size: 0.65em;
  font-weight: 400;
  opacity: 0.35;
  color: var(--white);
  transition: color 0.25s ease, opacity 0.25s ease;
}

/* Stagger links on reveal */
.split-hero-right.visible .split-nav-link {
  opacity: 1;
  transform: translateX(0);
}

.split-nav-col:nth-child(1) .split-nav-link:nth-child(1) {
  transition-delay: 0.05s;
}

.split-nav-col:nth-child(1) .split-nav-link:nth-child(2) {
  transition-delay: 0.10s;
}

.split-nav-col:nth-child(1) .split-nav-link:nth-child(3) {
  transition-delay: 0.15s;
}

.split-nav-col:nth-child(1) .split-nav-link:nth-child(4) {
  transition-delay: 0.20s;
}

.split-nav-col:nth-child(1) .split-nav-link:nth-child(5) {
  transition-delay: 0.25s;
}

.split-nav-col:nth-child(2) .split-nav-link:nth-child(1) {
  transition-delay: 0.08s;
}

.split-nav-col:nth-child(2) .split-nav-link:nth-child(2) {
  transition-delay: 0.13s;
}

.split-nav-col:nth-child(2) .split-nav-link:nth-child(3) {
  transition-delay: 0.18s;
}

.split-nav-col:nth-child(2) .split-nav-link:nth-child(4) {
  transition-delay: 0.23s;
}

.split-nav-col:nth-child(2) .split-nav-link:nth-child(5) {
  transition-delay: 0.28s;
}

.split-nav-col:nth-child(3) .split-nav-link:nth-child(1) {
  transition-delay: 0.11s;
}

.split-nav-col:nth-child(3) .split-nav-link:nth-child(2) {
  transition-delay: 0.16s;
}

.split-nav-col:nth-child(3) .split-nav-link:nth-child(3) {
  transition-delay: 0.21s;
}

.split-nav-col:nth-child(3) .split-nav-link:nth-child(4) {
  transition-delay: 0.26s;
}

.split-nav-col:nth-child(3) .split-nav-link:nth-child(5) {
  transition-delay: 0.31s;
}

.split-nav-link:hover {
  color: var(--red);
  text-shadow: 0 0 10px rgba(224, 90, 0, 0.4);
}

.split-nav-link:hover .link-num {
  opacity: 1;
  color: var(--red);
}

/* Status Footer */
.split-nav-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-top: 1px solid rgba(224, 90, 0, 0.15);
  padding-top: 25px;
  margin-top: 50px;
  font-size: 0.65rem;
  font-family: var(--font-main);
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
}

.nav-footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-indicator-dot {
  width: 6px;
  height: 6px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 0 8px #25D366;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}


/* ===== SPLIT HERO — MOBILE (≤900 px) ===== */
@media (max-width: 900px) {
  .split-hero {
    flex-direction: column;
  }

  /* Left panel fills full screen on mobile */
  .split-hero-left {
    flex: 1 1 auto;
    width: 100%;
  }

  /* Right panel becomes a right-side slide-in overlay.
     Left 22 % of screen stays visible showing the orange panel. */
  .split-hero-right {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 22%;
    width: auto !important;
    flex: none;
    z-index: 1000;
    padding: 80px 48px 60px !important;
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 0.55s var(--ease-out-expo);
  }

  .split-hero-right.open {
    transform: translateX(0);
    overflow-y: auto;
    padding: 80px 30px 40px !important;
  }

  .split-nav-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
    margin-bottom: 30px;
  }

  .split-nav-col {
    gap: 12px;
  }

  .split-nav-col-header {
    margin-bottom: 6px;
    font-size: 0.65rem;
  }

  .split-nav-link {
    font-size: 18px;
    transform: translateX(20px);
  }

  .split-nav-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 30px;
    padding-top: 15px;
  }

  /* Close button already block by default; keep it on mobile */
  .split-hero-close {
    display: block;
  }

  /* Put hamburger on left side of topbar on mobile */
  .split-hero-topbar {
    justify-content: space-between;
  }

  /* Hide "Call Us" text CTA from left panel topbar on mobile
     (it lives in the nav panel instead) */
  .split-hero-cta {
    display: none;
  }

  /* Shrink bottom metadata for small screens */
  .intro-hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    bottom: 24px;
    left: 20px;
    right: 20px;
  }

  /* Mobile fixed navbar: hidden in hero, active on scroll */
  .navbar {
    opacity: 0;
    pointer-events: none;
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(224, 90, 0, 0.15);
    transition: opacity 0.4s ease, background 0.4s ease, padding 0.4s ease;
  }

  .navbar.scrolled {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  body.light-theme .navbar.scrolled {
    background: rgba(245, 246, 248, 0.95) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  }

  /* Show split hero topbar on mobile in the hero section */
  .split-hero-topbar {
    display: flex !important;
  }
}

/* ===== SECTION 2: HERO TYPOGRAPHY ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 80px;
  background: var(--black);
}

.hero-content {
  max-width: 1300px;
  width: 100%;
  text-align: center;
}

.hero-title {
  font-size: clamp(38px, 7.2vw, 96px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.hero-line {
  display: block;
  overflow: hidden;
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.hero-line.animate {
  opacity: 1;
  transform: translateY(0);
}

.hero-line-gray {
  color: var(--gray);
}

.hero-img-inline {
  display: inline-block;
  width: clamp(70px, 9.5vw, 130px);
  height: clamp(44px, 5.5vw, 82px);
  border-radius: 8px;
  overflow: hidden;
  vertical-align: middle;
  position: relative;
  top: -3px;
}

.hero-img-inline img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.hero-img-inline:hover img {
  transform: scale(1.1);
}

.hero-img-color {
  border: 2px solid rgba(255, 200, 0, 0.45);
}

/* ===== SECTION LABELS ===== */
.section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 6px;
}

.section-label-jp {
  font-family: 'Noto Sans Tamil', sans-serif !important;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700 !important;
  color: var(--white);
  margin-bottom: 30px;
  letter-spacing: 0.05em;
  display: inline-block;
  cursor: pointer;
  position: relative;
  text-shadow: 0 0 12px rgba(224, 90, 0, 0.35);
  transition: all 0.3s var(--ease-out-expo);
}

.section-label-jp:hover,
.expertise-label-jp:hover,
.expertise-banner-sticky-jp:hover {
  color: var(--red) !important;
  text-shadow: 0 0 18px rgba(224, 90, 0, 0.8);
  transform: scale(1.05);
}

.section-label-jp-dark:hover {
  color: var(--red) !important;
  transform: scale(1.05);
}

.section-label-jp::after,
.section-label-jp-dark::after,
.expertise-label-jp::after {
  content: ' ⇄';
  font-family: 'Inter', sans-serif;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 900;
  color: var(--red);
  opacity: 0.65;
  margin-left: 8px;
  vertical-align: middle;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.section-label-jp:hover::after,
.section-label-jp-dark:hover::after,
.expertise-label-jp:hover::after {
  opacity: 1;
  transform: scale(1.2);
}

.section-label-dark {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.72);
  margin-bottom: 6px;
}

.section-label-jp-dark {
  font-family: 'Noto Sans Tamil', sans-serif !important;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700 !important;
  color: var(--black);
  margin-bottom: 30px;
  letter-spacing: 0.05em;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
}

/* ===== SECTION 3: FEATURED WORK ===== */
.featured-work {
  background: var(--black);
  position: relative;
}

.featured-work-top-bar {
  height: 5px;
  background: var(--red);
}

.featured-work-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px 100px;
}

.featured-work-header {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 80px;
}

.featured-work-heading {
  font-size: clamp(36px, 4.2vw, 54px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.featured-work-list {
  display: flex;
  flex-direction: column;
}

.work-item {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.35s var(--ease-out-expo);
  overflow: visible;
}

.work-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.work-item-name {
  font-size: clamp(38px, 5.2vw, 72px);
  font-weight: 300;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 2;
  transition: all 0.4s var(--ease-out-expo);
}

.work-item-arrow {
  position: relative;
  z-index: 2;
  opacity: 0.3;
  transition: all 0.35s var(--ease-out-expo);
}

.work-item-preview {
  position: absolute;
  right: 100px;
  top: 50%;
  transform: translateY(-50%) scale(0.85) rotate(-2deg);
  width: 300px;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s var(--ease-out-expo);
  z-index: 3;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.work-item-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-item::before {
  content: '';
  position: absolute;
  left: -20px;
  right: -20px;
  top: 0;
  bottom: 0;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out-expo);
  z-index: 0;
  border-radius: 2px;
}

.work-item:hover::before {
  transform: scaleX(1);
}

.work-item:hover .work-item-name {
  padding-left: 24px;
  color: var(--black);
}

.work-item:hover .work-item-arrow {
  opacity: 1;
  color: var(--black);
  padding-right: 8px;
}

#publications .work-item-preview {
  height: auto;
  min-height: 180px;
}

/* ===== SECTION 4: EXPERTISE ===== */
.expertise {
  background: var(--black);
}

.expertise-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 80px 40px 50px;
  max-width: 1400px;
  margin: 0 auto;
  gap: 60px;
}

.expertise-right-header {
  flex: 1;
  max-width: 800px;
}

.expertise-main-heading {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.expertise-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.expertise-label-jp {
  font-family: 'Noto Sans Tamil', sans-serif !important;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700 !important;
  color: var(--white);
  margin-top: 8px;
  letter-spacing: 0.05em;
  display: inline-block;
  cursor: pointer;
  text-shadow: 0 0 12px rgba(224, 90, 0, 0.35);
  transition: all 0.3s var(--ease-out-expo);
}

/* Expertise Sticky Bar */
.expertise-banner-sticky-bar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  background: var(--black);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}

.expertise-banner-sticky-jp {
  font-family: 'Noto Sans Tamil', sans-serif !important;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
}

/* Expertise Banner */
.expertise-banner {
  position: relative;
  overflow: hidden;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.expertise-banner-red {
  background: var(--red);
}

.expertise-banner-bg-text {
  font-family: var(--font-main);
  font-size: clamp(80px, 15vw, 220px);
  font-weight: 900;
  color: #000000;
  position: absolute;
  top: 32%;
  /* shifted up to prevent overlap with white text at the bottom */
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
  user-select: none;
  letter-spacing: -0.04em;
}

.expertise-banner-image {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.expertise-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  opacity: 0.88;
  /* no transition — image stays still */
}

/* Removed hover scale — image stays fixed */

/* Banner 03 style — cutout figure sits at bottom-right (used for all character images) */
.expertise-banner-03 .expertise-banner-image {
  align-items: flex-end;
  justify-content: flex-end;
  overflow: visible;
}

.expertise-banner-03 .expertise-banner-image img {
  width: auto;
  height: 115%;
  max-height: 115%;
  object-fit: contain;
  object-position: bottom center;
  mix-blend-mode: normal;
  opacity: 1;
  position: absolute;
  bottom: 0;
  right: 6%;
  z-index: 4;
  pointer-events: none;
  filter: drop-shadow(-8px 0 32px rgba(0, 0, 0, 0.45));
  transform: translateY(-80px);
  will-change: transform, opacity;
  /* no transition — GSAP handles animation */
}

.expertise-banner-content {
  position: relative;
  z-index: 3;
  padding: 40px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.expertise-banner-num {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--white);
  display: block;
  margin-bottom: 12px;
  opacity: 0.85;
}

.expertise-banner-title {
  font-size: clamp(26px, 4.8vw, 58px);
  font-weight: 900;
  color: var(--white) !important;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

/* Expertise Detail */
.expertise-detail {
  padding: 80px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.expertise-detail-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: start;
}

.expertise-number {
  font-size: clamp(110px, 18vw, 260px);
  font-weight: 900;
  line-height: 0.85;
  color: var(--white);
  letter-spacing: -0.05em;
  opacity: 0.95;
  position: sticky;
  top: 100px;
  align-self: start;
}

.expertise-info-title {
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.expertise-info-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 680px;
}

.expertise-list {
  display: flex;
  flex-direction: column;
}

.expertise-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 18px;
  font-weight: 400;
  color: var(--white);
  transition: all 0.25s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  user-select: none;
  cursor: default;
}

.expertise-list-item:first-child {
  border-top: 1px solid var(--border-light);
}

.expertise-list-item:hover {
  background: rgba(255, 255, 255, 0.03);
  padding-left: 28px;
}

.expertise-list-item.highlight {
  background: var(--white);
  color: var(--black);
  border-radius: 6px;
  border-color: transparent;
  font-weight: 500;
  transform: translateX(8px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
  transition: all 0.3s var(--ease-out-expo);
}

.expertise-list-item.mouse-highlight {
  background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
  transform: translateX(12px) scale(1.02);
}

.expertise-list-item span:last-child {
  font-weight: 600;
  opacity: 0.5;
  font-size: 18px;
}

/* ===== SECTION 5: STATS ===== */
.stats {
  background: var(--red);
  position: relative;
  overflow: hidden;
  padding: 80px 40px;
}

.stats-dot-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.12) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  pointer-events: none;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 44px 0;
}

.stat-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.12);
}

.stat-number {
  font-size: clamp(96px, 16vw, 180px);
  font-weight: 900;
  font-style: italic;
  color: var(--black);
  line-height: 1;
  letter-spacing: -0.045em;
}

.stat-number sup {
  font-size: 0.28em;
  vertical-align: super;
  font-style: normal;
}

.stat-label {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 600;
  color: var(--black);
  line-height: 1.2;
  text-align: right;
}

/* ===== SECTION 6: AWARDS ===== */
.awards {
  background: var(--black);
  padding: 80px 40px 60px;
  position: relative;
}

.awards::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--red);
}

.awards-container {
  max-width: 1400px;
  margin: 0 auto;
}

.awards-header {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 70px;
}

.awards-heading {
  font-size: clamp(36px, 4.2vw, 54px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

/* ===== RECOMMENDATIONS CAROUSEL ===== */
.rec-carousel-container {
  position: relative;
  width: 100%;
  height: 520px;
  margin: 60px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.rec-carousel-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.rec-card {
  position: absolute;
  width: 320px;
  height: 400px;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%);
  border: 1px solid rgba(224, 90, 0, 0.15);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  cursor: pointer;
  user-select: none;
  transform-style: preserve-3d;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.rec-card:hover {
  border-color: var(--red);
  box-shadow: 0 20px 40px rgba(224, 90, 0, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.rec-card.active {
  border-color: var(--red);
  box-shadow: 0 25px 50px rgba(224, 90, 0, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

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

.rec-stars {
  font-size: 14px;
  letter-spacing: 2px;
}

.rec-card-body {
  flex-grow: 1;
  display: flex;
  align-items: center;
  margin: 20px 0;
}

.rec-text {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rec-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
}

.rec-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.rec-title {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Curved Arch overlay at the bottom */
.rec-carousel-arch {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 140px;
  background: radial-gradient(ellipse at top, rgba(20, 20, 20, 0.9) 0%, rgba(0, 0, 0, 1) 70%);
  border-top: 2px solid rgba(224, 90, 0, 0.2);
  border-radius: 50% 50% 0 0;
  pointer-events: none;
  z-index: 15;
  box-shadow: 0 -20px 40px rgba(224, 90, 0, 0.05);
}

/* Navigation controls */
.rec-controls {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 20;
}

.rec-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(10, 10, 10, 0.85);
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.rec-btn:hover {
  background: var(--red);
  border-color: var(--red);
  transform: scale(1.1);
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .rec-carousel-container {
    height: 460px;
  }

  .rec-card {
    width: 250px;
    height: 340px;
    padding: 20px;
  }

  .rec-text {
    font-size: 14px;
    -webkit-line-clamp: 6;
    line-clamp: 6;
  }

  .rec-name {
    font-size: 15px;
  }

  .rec-title {
    font-size: 11px;
  }
}

/* ===== SECTION 7: ABOUT ===== */
.about {
  background: var(--black);
  position: relative;
  min-height: auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 40px 80px;
}

.about-aura-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===== FOOTER SOCIAL LINKS ===== */
.footer-social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s ease;
  position: relative;
}

.footer-social-link::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1.5px;
  background: var(--red);
  flex-shrink: 0;
  transition: width 0.3s ease;
}

.footer-social-link:hover {
  color: var(--white);
}

.footer-social-link:hover::before {
  width: 28px;
}

.about-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.about-bg-text span {
  display: block;
  font-size: clamp(80px, 14vw, 200px);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  line-height: 0.88;
  text-align: center;
  letter-spacing: -0.04em;
}

.about-dot-pattern {
  position: absolute;
  width: 180px;
  height: 180px;
  background-image: radial-gradient(circle, var(--red) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  opacity: 0.35;
  pointer-events: none;
}

.about-dot-tl {
  top: 6%;
  left: 6%;
}

.about-dot-tr {
  top: 6%;
  right: 6%;
}

.about-dot-bl {
  bottom: 15%;
  left: 10%;
}

.about-portrait {
  position: relative;
  z-index: 1;
  width: clamp(280px, 36vw, 440px);
  margin-bottom: 60px;
  border-radius: 36px;
  padding: 10px;
  background: linear-gradient(145deg, rgba(224, 90, 0, 0.45) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(224, 90, 0, 0.25) 100%);
  border: 1.5px solid rgba(224, 90, 0, 0.45);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(224, 90, 0, 0.2);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease, border-color 0.4s ease;
}

.about-portrait:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 90, 0, 0.75);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85), 0 0 45px rgba(224, 90, 0, 0.35);
}

.about-portrait img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 26px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

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

body.light-theme .about-portrait {
  background: linear-gradient(145deg, rgba(224, 90, 0, 0.35) 0%, rgba(0, 0, 0, 0.06) 50%, rgba(224, 90, 0, 0.2) 100%);
  border-color: rgba(224, 90, 0, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12), 0 0 25px rgba(224, 90, 0, 0.15);
}

.about-bio {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 40px;
}

.about-bio p {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

/* ===== SECTION 8: EXPERIENCE ===== */
.experience {
  background: var(--black);
  color: var(--white);
  padding: 80px 40px;
  overflow: hidden;
}

.experience-container {
  max-width: 1400px;
  margin: 0 auto;
}

.experience-header {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 30px;
}

.experience-heading {
  font-size: clamp(36px, 4.2vw, 54px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--white);
}

/* ===== BLUR SCROLLER LAYOUT ===== */
.exp-scroller-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: flex-start;
  margin-top: 30px;
}

.exp-scroller-left {
  position: relative;
  display: flex;
  justify-content: flex-start;
}

.exp-scroller-window {
  height: 440px;
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, #000 0%, #000 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 75%, transparent 100%);
  display: flex;
  align-items: flex-start;
}

.exp-scroller-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  will-change: transform;
}

.exp-scroller-item {
  height: 60px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.35);
  filter: blur(2px);
  transform: scale(0.9) rotateX(15deg);
  transform-origin: left center;
  transition: color 0.4s ease, filter 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  opacity: 0.55;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}

.exp-scroller-item .exp-arrow {
  font-size: 2.5rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--red);
}

.exp-scroller-item .exp-item-text {
  font-size: clamp(24px, 2.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Active Focused Item */
.exp-scroller-item.active {
  color: var(--white);
  filter: blur(0);
  transform: scale(1.15) rotateX(0deg) translateX(15px);
  opacity: 1;
}

.exp-scroller-item.active .exp-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Details Panel (Right Side) */
.exp-scroller-right {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 540px;
  border-left: 1px solid var(--border-light);
  padding-left: 50px;
}

.exp-details-container {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  align-items: start;
  min-height: 540px;
}

.exp-details-content {
  grid-area: 1 / 1 / 2 / 2;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
  transform: translateY(15px);
  width: 100%;
}

.exp-details-content.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.exp-details-role {
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.exp-details-company {
  font-size: clamp(16px, 1.2vw, 20px);
  font-weight: 600;
  color: var(--red);
  margin-bottom: 12px;
}

.exp-details-duration {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.exp-details-bullets {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.exp-details-bullets li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
}

.exp-details-bullets li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--red);
}

/* RESPONSIVE OVERRIDES */
@media (max-width: 900px) {
  .exp-scroller-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 30px;
  }

  .exp-scroller-left {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .exp-scroller-window {
    height: 180px;
    width: 100%;
  }

  .exp-scroller-item .exp-item-text {
    font-size: 20px;
  }

  .exp-scroller-item {
    height: 50px;
    gap: 12px;
    filter: blur(0.8px);
    opacity: 0.65;
    color: rgba(255, 255, 255, 0.45);
  }

  .exp-scroller-item.active {
    filter: blur(0);
    opacity: 1;
    transform: scale(1.1) rotateX(0deg) translateX(5px);
  }

  .exp-scroller-right {
    border-left: none;
    border-top: 1px solid var(--border-light);
    padding-left: 0;
    padding-top: 30px;
    min-height: auto;
  }

  .exp-details-container {
    display: block;
    min-height: auto;
  }

  .exp-details-content {
    grid-area: auto;
    position: relative;
    top: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }

  .exp-details-content.active {
    display: block;
    transform: none;
  }
}

/* ===== SECTION 9: CLIENTS ===== */
.clients {
  background: var(--black);
  padding: 100px 40px 120px;
  position: relative;
  overflow: hidden;
}

.clients-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
  position: relative;
  z-index: 5;
}

.skills-dot-grid-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.clients-heading {
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 50px;
  max-width: 520px;
}

.connect-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 28px;
  background: var(--white);
  color: var(--black);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.4s var(--ease-out-expo);
}

.connect-btn:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 51, 10, 0.25);
}

.connect-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--black);
  border-radius: 50%;
  transition: all 0.35s var(--ease-out-expo);
}

.connect-btn:hover .connect-arrow {
  background: var(--white);
}

.connect-arrow svg {
  width: 10px;
  height: 10px;
  color: var(--white);
  transition: color 0.3s ease;
}

.connect-btn:hover .connect-arrow svg {
  color: var(--black);
}

/* Skills Staircase Layout */
.skills-header-full {
  width: 100%;
  margin-bottom: 40px;
}

.clients-heading-full {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 15px;
  max-width: 800px;
}

.skills-staircase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  width: 100%;
  position: relative;
  padding-bottom: 260px;
  /* space for staircase translation */
}

/* ===== 3D FLIP CARDS ===== */
.skill-card-container {
  perspective: 1500px;
  width: 100%;
  height: 480px;
  position: relative;
  cursor: pointer;
}

.skill-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

/* Hover and active flip logic */
@media (hover: hover) {
  .skill-card-container:hover .skill-card-inner {
    transform: rotateY(180deg);
  }
}

.skill-card-container.flipped .skill-card-inner {
  transform: rotateY(180deg);
}

.skill-card-front,
.skill-card-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  padding: 35px 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(224, 90, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.skill-card-front {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
  z-index: 2;
  transform: rotateY(0deg);
}

.skill-card-back {
  background: linear-gradient(135deg, rgba(15, 15, 15, 0.98) 0%, rgba(5, 5, 5, 1) 100%);
  transform: rotateY(180deg);
  z-index: 1;
}

.skill-card-front::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(224, 90, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* Front Face Elements */
.skill-card-front-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  justify-content: flex-start;
}

.skill-card-front-content .skill-card-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--red);
  font-family: monospace;
  margin-bottom: 10px;
}

.skill-card-front-content .skill-card-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 15px;
}

.skill-card-front-content .skill-card-line {
  width: 40px;
  height: 2px;
  background: var(--red);
  margin-bottom: 20px;
  transition: width 0.3s ease;
}

.skill-card-container:hover .skill-card-front-content .skill-card-line {
  width: 100%;
}

.skill-card-instruction {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  transition: color 0.3s ease, gap 0.3s ease;
  margin-top: auto;
}

.skill-card-container:hover .skill-card-instruction {
  color: var(--red);
  gap: 12px;
}

.flip-arrow {
  transition: transform 0.3s ease;
}

.skill-card-container:hover .flip-arrow {
  transform: translateX(3px);
}

/* Back Face Elements */
.skill-card-num-back {
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  font-family: monospace;
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}

.skill-card-title-back {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

/* List details */
.skill-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  flex-grow: 1;
  scrollbar-width: thin;
  scrollbar-color: rgba(224, 90, 0, 0.3) transparent;
}

.skill-card-list::-webkit-scrollbar {
  width: 4px;
}

.skill-card-list::-webkit-scrollbar-thumb {
  background: rgba(224, 90, 0, 0.3);
  border-radius: 2px;
}

.skill-card-list li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  padding-left: 14px;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.skill-card-container:hover .skill-card-list li {
  color: rgba(255, 255, 255, 0.9);
}

.skill-card-list li::before {
  content: "•";
  color: var(--red);
  position: absolute;
  left: 0;
  top: 0;
}

/* Diagonal placement / staircase shifts */
.card-step-1 {
  transform: translateY(0);
}

.card-step-2 {
  transform: translateY(80px);
}

.card-step-3 {
  transform: translateY(160px);
}

.card-step-4 {
  transform: translateY(240px);
}

/* Staircase Shifts Hover Overrides for Containers */
.card-step-1:hover {
  transform: translateY(-12px) scale(1.03);
}

.card-step-2:hover {
  transform: translateY(68px) scale(1.03);
}

.card-step-3:hover {
  transform: translateY(148px) scale(1.03);
}

.card-step-4:hover {
  transform: translateY(228px) scale(1.03);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .skills-staircase {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding-bottom: 0;
  }

  .skill-card-container {
    height: 480px;
  }

  .card-step-1,
  .card-step-2,
  .card-step-3,
  .card-step-4 {
    transform: none !important;
  }

  .card-step-1:hover,
  .card-step-2:hover,
  .card-step-3:hover,
  .card-step-4:hover {
    transform: translateY(-8px) scale(1.02) !important;
  }
}

@media (max-width: 640px) {
  .skills-staircase {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .skill-card-container {
    height: 420px;
  }
}

/* ===== SECTION 10: FOOTER ===== */
.footer {
  background: var(--red);
  color: var(--black);
  position: relative;
  overflow-x: hidden;
}

.footer-top-bar {
  height: 6px;
  background: var(--black);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px 40px;
}

.footer-contact {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.footer-inquiries h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.footer-email {
  display: flex;
  align-items: center;
  gap: 40px;
}

.footer-email-label {
  font-size: 13px;
  font-weight: 600;
}

.footer-email-address {
  font-size: 13px;
  transition: opacity 0.2s ease;
}

.footer-email-address:hover {
  opacity: 0.65;
}

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 50px;
}

.footer-about-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  align-items: start;
}

.footer-about-label {
  font-size: 13px;
  font-weight: 800;
}

.footer-about-text {
  font-size: 12px;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.65);
  max-width: 680px;
  margin-left: auto;
}

.footer-big-name {
  overflow: visible;
  margin-bottom: 35px;
}

.footer-big-name span {
  display: block;
  font-size: clamp(50px, 13vw, 190px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--black);
  white-space: nowrap;
  transition: letter-spacing 0.6s var(--ease-out-expo);
}

.footer-big-name:hover span {
  letter-spacing: -0.02em;
}

.footer-clocks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 20px;
}

.clock-item {
  display: grid;
  grid-template-areas:
    "dot city"
    "time time";
  grid-template-columns: auto 1fr;
  align-items: center;
  row-gap: 2px;
  column-gap: 6px;
}

.clock-dot {
  grid-area: dot;
  width: 7px;
  height: 7px;
  background: var(--black);
  border-radius: 50%;
  margin-bottom: 0;
  animation: clockPulse 2s ease-in-out infinite;
  align-self: center;
}

@keyframes clockPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.clock-city {
  grid-area: city;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
}

.clock-time {
  grid-area: time;
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  padding-left: 13px;
  /* 7px dot + 6px gap */
  line-height: 1.2;
}

.footer-bottom-line {
  height: 1px;
  background: rgba(0, 0, 0, 0.12);
  margin-top: 30px;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out-expo),
    transform 0.9s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .work-item-preview {
    width: 250px;
    height: 180px;
    right: 80px;
  }
}

/* ===== DESKTOP (LARGE SCREENS) ===== */
@media (min-width: 1025px) {
  .about-bio {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 0 60px;
  }

  .about-bio p {
    font-size: clamp(20px, 2.4vw, 24px);
    line-height: 1.8;
  }
}

@media (max-width: 1024px) {
  .clients-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .expertise-detail-inner {
    grid-template-columns: 200px 1fr;
    gap: 40px;
  }

  .awards-header,
  .experience-header,
  .featured-work-header {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .expertise-header {
    flex-direction: column;
    gap: 24px;
  }

  .exp-meta {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .exp-location {
    text-align: left;
  }

  .awards-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .work-item-preview {
    width: 220px;
    height: 160px;
  }

  .stat-label {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 20px 20px;
  }

  .navbar.scrolled {
    padding: 16px 20px;
  }

  .nav-cta {
    display: none !important;
  }

  .hero {
    padding: 100px 20px 80px;
  }

  .hero-title {
    font-size: clamp(48px, 11vw, 76px) !important;
    line-height: 1.15 !important;
  }

  .hero-img-inline {
    width: clamp(75px, 16vw, 130px) !important;
    height: clamp(52px, 11vw, 90px) !important;
    border-radius: 6px;
  }

  /* Allow inline images to be fully visible on mobile */
  .hero-line {
    overflow: visible;
  }

  .awards-heading,
  .experience-heading {
    font-size: clamp(22px, 5vw, 32px) !important;
    word-break: break-word !important;
  }

  .clients {
    padding: 60px 20px 80px;
  }

  .expertise-header {
    padding: 40px 20px 20px;
  }

  .expertise-banner {
    min-height: 72vh;
    min-height: min(72vh, 560px);
  }

  .expertise-banner .expertise-banner-content {
    padding: 24px 20px;
  }

  .expertise-banner-num {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--white);
    opacity: 0.85;
  }

  .expertise-banner-title {
    font-size: clamp(32px, 8vw, 52px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--white) !important;
  }

  /* Character image on mobile — centered, large */
  .expertise-banner-03 .expertise-banner-image {
    justify-content: center;
    overflow: hidden;
  }

  .expertise-banner-03 .expertise-banner-image img {
    height: 100% !important;
    width: auto;
    max-width: none;
    left: 50%;
    right: auto;
    bottom: 0;
    /* translateX(-50%) centers the image; GSAP animates only translateY */
    transform: translateX(-50%) translateY(0) !important;
    filter: drop-shadow(0 0 28px rgba(0, 0, 0, 0.35));
  }

  .expertise-banner-sticky-bar {
    padding: 10px 20px;
  }

  .intro-hero-bottom {
    flex-direction: column;
    gap: 4px;
    left: 16px;
    right: 16px;
    bottom: 12px;
    align-items: center;
    text-align: center;
    font-size: 9px;
  }

  .intro-hero-bg::after {
    background: linear-gradient(180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 32%,
      rgba(0, 0, 0, 0.4) 44%,
      rgba(0, 0, 0, 0.88) 56%,
      rgba(0, 0, 0, 1) 75%) !important;
  }

  .intro-hero-bg img,
  .hero-sequence-fallback img {
    object-position: center 8%;
    object-fit: contain;
    height: 56%;
  }

  .intro-hero-content {
    position: absolute;
    top: 47%;
    top: 62%;
    bottom: auto;
    left: 0;
    right: 0;
    transform: none;
    z-index: 4;
    text-align: center;
    padding: 0 20px;
    max-width: none;
  }

  .hero-split-layout {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .hero-split-left,
  .hero-split-right {
    flex: none;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .intro-hero-subtitle {
    display: block;
    border-left: none;
    padding-left: 0;
    margin-bottom: 6px;
    margin-bottom: 4px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
  }

  .intro-hero-subtitle.animate {
    opacity: 1;
    transform: translateY(0);
  }

  .hero-sub-line {
    display: inline;
    font-size: clamp(11px, 1.3vw, 18px);
    font-size: clamp(10px, 1.2vw, 15px);
    font-weight: 800;
    letter-spacing: 0.15em;
    letter-spacing: 0.12em;
    color: var(--white);
    text-transform: uppercase;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-sub-line:not(:last-child)::after {
    content: ' ';
  }

  .hero-sub-line.amp-char {
    font-size: clamp(11px, 1.3vw, 18px);
    font-size: clamp(10px, 1.2vw, 15px);
    font-weight: 800;
    color: var(--white);
    margin: 0;
  }

  .dynamic-role-line {
    display: block !important;
    font-size: clamp(12px, 1.5vw, 16px) !important;
    margin-top: 5px !important;
    letter-spacing: 0.08em !important;
  }

  .hero-ctas {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
    margin-bottom: 4px;
    gap: 10px;
    margin-top: 8px;
    margin-bottom: 2px;
  }

  .hero-ctas .hero-cta-btn-primary,
  .hero-ctas .hero-cta-btn-secondary {
    padding: 9px 16px;
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .intro-hero-name {
    font-size: clamp(34px, 8.5vw, 56px);
    font-size: clamp(28px, 7.5vw, 46px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.04em;
    text-align: center;
    margin-top: 2px;
    margin-bottom: 0;
  }

  .intro-hero-name .hero-dot {
    display: none;
  }

  .featured-work-container {
    padding: 50px 20px 60px;
  }

  .work-item-preview {
    display: block;
    width: 110px;
    height: 82px;
    right: 52px;
    top: 50%;
    transform: translateY(-50%) scale(0.85) rotate(-2deg);
    opacity: 0;
  }

  .work-item.touch-active .work-item-preview {
    opacity: 1;
    transform: translateY(-50%) scale(1) rotate(0deg);
  }

  #publications .work-item-preview {
    left: 50% !important;
    right: auto !important;
    width: 90% !important;
    max-width: 320px !important;
    height: auto !important;
    min-height: 140px !important;
    transform: translate(-50%, -50%) scale(0.85) rotate(-2deg) !important;
  }

  #publications .work-item.touch-active .work-item-preview {
    transform: translate(-50%, -50%) scale(1) rotate(0deg) !important;
  }

  .expertise-detail {
    padding: 50px 20px;
  }

  .expertise-detail-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .expertise-number {
    font-size: 80px;
    position: static;
  }

  .stats {
    padding: 50px 20px;
  }

  .stat-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 24px 0;
  }

  .awards {
    padding: 60px 20px 80px;
  }

  .awards-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 18px;
  }

  .about {
    padding: 60px 20px 80px;
  }

  .about-bio {
    padding: 0 20px;
    text-align: center;
  }

  .preloader-wrap {
    flex-direction: column !important;
    white-space: normal !important;
    text-align: center !important;
    gap: 1rem !important;
    width: 100% !important;
    max-width: 90vw !important;
    padding: 0 16px !important;
  }

  .preloader-name {
    font-size: clamp(18px, 5.5vw, 24px) !important;
    line-height: 1.25 !important;
    text-align: center !important;
    letter-spacing: 0.06em !important;
  }

  .preloader-role {
    font-size: clamp(11px, 3.4vw, 15px) !important;
    line-height: 1.3 !important;
    text-align: center !important;
    letter-spacing: 0.08em !important;
  }

  .preloader-center-x {
    margin: 0.2rem 0 !important;
  }

  .experience {
    padding: 60px 20px 80px;
  }

  .footer-container {
    padding: 40px 24px 30px !important;
  }

  .footer-contact {
    flex-direction: column;
    gap: 20px;
  }

  .footer-email {
    gap: 16px;
  }

  .footer-about {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-about-row {
    grid-template-columns: 110px 1fr !important;
    gap: 16px !important;
  }

  .footer-about-label {
    color: var(--black) !important;
    font-weight: 800 !important;
  }

  .footer-about-text {
    margin-left: 0;
    color: var(--black) !important;
    font-weight: 600 !important;
  }

  .footer-social-strip {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px 10px !important;
    padding: 0 10px !important;
    margin-bottom: 3rem !important;
  }

  .footer-social-strip .footer-social-btn {
    width: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
  }

  .footer-big-name {
    margin-top: 3.5rem !important;
    margin-bottom: 3.5rem !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
  }

  .footer-clocks {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px 12px !important;
    margin: 2.5rem 0 !important;
  }

  .footer-bottom-bar {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    text-align: center !important;
  }

  .footer-legal {
    line-height: 1.5 !important;
    font-size: 11px !important;
  }

  .footer-credits {
    font-size: 9px !important;
    line-height: 1.4 !important;
    margin-top: 15px !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 52px !important;
    line-height: 1.1 !important;
    letter-spacing: -0.03em;
  }

  .hero-img-inline {
    width: 82px;
    height: 56px;
    border-radius: 6px;
  }

  .awards-heading,
  .experience-heading {
    font-size: clamp(18px, 6vw, 24px) !important;
  }

  .footer-big-name span {
    font-size: clamp(28px, 11vw, 90px);
  }

  .intro-hero-name {
    font-size: 50px;
  }

  .expertise-banner-title {
    font-size: 24px;
  }

  .work-item-name {
    font-size: 38px;
  }
}

/* ============================================================
   HERO SCROLLTRIGGER ENHANCEMENTS
   ============================================================ */

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--red), #ff7b00);
  z-index: 10000;
  transform-origin: left center;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 10px rgba(224, 90, 0, 0.5);
  will-change: transform;
}

/* Smooth scroll body settings */
html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* Ensure smooth transforms for hero elements */
.intro-hero,
.intro-hero-bg img,
.intro-hero-content,
.intro-hero-bottom,
.hero-line {
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

/* Hero line animations - ensure proper overflow for reveals */
.hero-line {
  overflow: hidden;
  transform-origin: bottom;
}

/* Smooth inline image transforms */
.hero-img-inline {
  overflow: hidden;
}

.hero-img-inline img {
  transition: none;
  /* Let GSAP handle all transforms */
}

/* Ensure hover states don't conflict with GSAP */
.hero-img-inline:hover img {
  transition: none;
  transform: none;
  /* Let GSAP handle hover animations */
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {

  .intro-hero,
  .intro-hero-bg img,
  .intro-hero-content,
  .intro-hero-bottom,
  .hero-line {
    transform: none !important;
    opacity: 1 !important;
  }

  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   ADDITIONAL ANIMATION ENHANCEMENTS
   ============================================================ */

/* ===== TEXT LINE REVEAL STYLES ===== */
.line-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

/* ===== RIPPLE EFFECT STYLES ===== */
.ripple-btn {
  position: relative;
  overflow: hidden;
}

.ripple-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: rippleAnimation 0.6s linear;
  pointer-events: none;
}

@keyframes rippleAnimation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ===== NAV ACTIVE STATE ===== */
.nav-active {
  color: var(--red) !important;
  font-weight: 700 !important;
}

.mobile-menu-content .nav-active {
  color: var(--red) !important;
}

/* ===== ENHANCED HOVER EFFECTS ===== */
.work-item:hover .work-item-name {
  letter-spacing: -0.01em;
  transition: letter-spacing 0.4s var(--ease-out-expo);
}

/* ===== SECTION REVEAL PREPARATION ===== */
.awards-row,
.stat-row,
.exp-item,
.work-item,
.expertise-detail-inner,
.about-portrait,
.about-bio,
.footer-contact,
.footer-about,
.accordion-item {
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

/* ===== EXPERTISE BANNER CLIP PATH SUPPORT ===== */
.expertise-banner {
  clip-path: inset(0% 0 0 0);
}

/* ===== ENHANCED GLOW EFFECTS ===== */
.stat-number {
  transition: color 0.8s ease, text-shadow 0.8s ease;
}

/* ===== PARALLAX LAYER OPTIMIZATIONS ===== */
.about-bg-text,
.about-dot-pattern,
.stats-dot-pattern,
.expertise-banner-image img {
  will-change: transform;
}

/* ============================================================
   ADVANCED PARALLAX ENHANCEMENTS
   ============================================================ */

/* ===== MULTI-LAYER PARALLAX SUPPORT ===== */
.intro-hero-bg img,
.featured-work-top-bar,
.footer-top-bar,
.awards,
.expertise-banner-bg-text,
.expertise-banner-image,
.expertise-banner-content,
.expertise-banner-num,
.expertise-banner-sticky-bar,
.side-badge,
.navbar,
.work-item-preview {
  will-change: transform;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

/* ===== EXPERTISE BANNER INNER PARALLAX ===== */
.expertise-banner {
  overflow: hidden;
  position: relative;
}

.expertise-banner-image {
  transform-origin: center;
  overflow: hidden;
}

.expertise-banner-image img {
  transform-origin: center;
  width: 110%;
  /* Slight oversize to prevent gaps during parallax */
  height: 110%;
  object-fit: cover;
}

/* Banner-03 character cutouts override the parallax defaults */
.expertise-banner-03 .expertise-banner-image img {
  width: auto !important;
  height: 115% !important;
  object-fit: contain !important;
  transform-origin: bottom center;
}

.expertise-banner-bg-text {
  transform-origin: center;
  pointer-events: none;
}

.expertise-banner-content {
  transform-origin: center;
  z-index: 3;
}

.expertise-banner-num {
  transform-origin: center;
}

/* ===== WORK ITEM PREVIEW PARALLAX ===== */
.work-item-preview {
  transform-origin: center;
  pointer-events: none;
}

/* ===== NAVBAR PARALLAX OPTIMIZATION ===== */
.navbar {
  transform-origin: top center;
}

/* ===== SIDE BADGE PARALLAX ===== */
.side-badge {
  transform-origin: center;
}

/* ===== PERFORMANCE OPTIMIZATIONS FOR PARALLAX ===== */
.featured-work-top-bar {
  transform-origin: left center;
}

.footer-top-bar {
  transform-origin: left center;
}

/* ===== AWARDS SECTION BACKGROUND PARALLAX ===== */
.awards {
  background-image: linear-gradient(135deg,
      rgba(224, 90, 0, 0.02) 0%,
      transparent 50%,
      rgba(224, 90, 0, 0.01) 100%);
  background-size: 300% 300%;
  background-position: 0% 50%;
}

/* ===== 3D TRANSFORM CONTEXTS ===== */
.expertise-banner,
.about,
.stats,
.intro-hero,
.featured-work,
.footer {
  transform-style: preserve-3d;
}

/* ===== MOBILE PARALLAX DISABLE ===== */
@media (max-width: 768px) {

  .about-bg-text,
  .about-dot-pattern,
  .stats-dot-pattern,
  .featured-work-top-bar,
  .footer-top-bar,
  .expertise-banner-image,
  .expertise-banner-content,
  .expertise-banner-num,
  .side-badge,
  .work-item-preview {
    transform: none !important;
  }

  /* Non-cutout banner images reset to cover */
  .expertise-banner-image img {
    width: 100% !important;
    height: 100% !important;
  }

  /* Cutout character images — centered, bottom-anchored */
  .expertise-banner-03 .expertise-banner-image img {
    width: auto !important;
    height: 100% !important;
    max-width: none !important;
    left: 50% !important;
    right: auto !important;
    bottom: 0 !important;
    transform: translateX(-50%) translateY(0) !important;
    object-fit: contain !important;
    object-position: bottom center !important;
    filter: drop-shadow(0 0 28px rgba(0, 0, 0, 0.35)) !important;
  }

  /* Hero slides — centered, bottom-anchored */
  .hero-slide {
    height: 92% !important;
    width: auto !important;
    max-width: none !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: 0 !important;
    margin: 0 !important;
    transform: translateX(-50%) !important;
    object-fit: contain !important;
    object-position: bottom center !important;
  }

  .awards {
    background-position: 0% 50% !important;
  }
}

/* ===== REDUCED MOTION PARALLAX OVERRIDES ===== */
@media (prefers-reduced-motion: reduce) {

  .about-bg-text,
  .about-dot-pattern,
  .stats-dot-pattern,
  .intro-hero-bg img,
  .featured-work-top-bar,
  .footer-top-bar,
  .expertise-banner-bg-text,
  .expertise-banner-image,
  .expertise-banner-content,
  .expertise-banner-num,
  .expertise-banner-sticky-bar,
  .side-badge,
  .navbar,
  .work-item-preview {
    transform: none !important;
    will-change: auto !important;
  }

  .awards {
    background-position: 0% 50% !important;
  }
}

/* ============================================================
   ADVANCED INTERACTION EFFECTS
   ============================================================ */

/* ===== CARD TILT PREPARATION ===== */
.work-item,
.awards-row,
.expertise-banner,
.stat-row,
.exp-item {
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform 0.1s ease-out;
}

/* ===== FOOTER NAME GRADIENT ===== */
.footer-big-name {
  cursor: pointer;
}

.footer-big-name span {
  display: block;
  background: linear-gradient(90deg, var(--black) 0%, var(--red-dark) 50%, var(--black) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: background-position 0.8s var(--ease-out-expo);
}

/* ===== ENHANCED CLOCK DOT PULSE ===== */
.clock-dot {
  animation: none;
  /* Override existing animation */
  transform-origin: center;
  will-change: transform, opacity;
}

/* ===== LINK UNDERLINES ===== */
.animated-underline {
  position: relative;
  display: inline-block;
}

.link-underline-element {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  border-radius: 1px;
}

.nav-cta .link-underline-element {
  background: var(--white);
}

.footer-email-address .link-underline-element {
  background: var(--red);
}

.mobile-menu-content a .link-underline-element {
  background: var(--red);
}

/* ===== ICON BOUNCE EFFECTS ===== */
.nav-logo svg,
.nav-menu-btn,
.side-badge {
  transform-origin: center;
  will-change: transform;
}

/* Enhanced side badge floating */
.side-badge {
  transition: none;
  /* Let GSAP handle all transforms */
}

/* Enhanced menu button interaction */
.nav-menu-btn {
  transform-origin: center;
}

/* ===== ENHANCED STAT GLOW ===== */
.stat-number {
  will-change: color, text-shadow;
  transition: none;
  /* Let GSAP handle all transitions */
}

/* ===== SCROLL INDICATOR (if added) ===== */
.scroll-indicator {
  transform-origin: center;
  will-change: transform;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
.work-item,
.awards-row,
.expertise-banner,
.stat-row,
.exp-item,
.nav-logo svg,
.nav-menu-btn,
.side-badge,
.footer-big-name span,
.clock-dot {
  will-change: transform;
}

/* ===== REDUCED MOTION OVERRIDES ===== */
@media (prefers-reduced-motion: reduce) {

  .work-item,
  .awards-row,
  .expertise-banner,
  .stat-row,
  .exp-item {
    transform: none !important;
  }

  .clock-dot {
    transform: none !important;
    opacity: 1 !important;
  }

  .side-badge {
    transform: none !important;
  }

  .nav-logo svg,
  .nav-menu-btn {
    transform: none !important;
  }

  .animated-underline .link-underline-element {
    transform: none !important;
    opacity: 0 !important;
  }
}

/* ============================================================
   SCROLL DIRECTION IMAGE VISIBILITY
   ============================================================ */

/* Initially hide all images except work item previews */
.intro-hero-img,
.hero-img-inline img,
.expertise-banner-image img,
.about-portrait img {
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Show images when visible except work item previews */
.intro-hero-img.visible,
.hero-img-inline.visible img,
.expertise-banner-image.visible img,
.about-portrait.visible img {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Special handling for inline hero images */
.hero-img-inline {
  overflow: hidden;
}

.hero-img-inline.visible {
  overflow: visible;
}

/* Expertise banner images */
.expertise-banner-image {
  overflow: hidden;
}

.expertise-banner-image.visible {
  overflow: visible;
}

/* Work item previews maintain their own hover-based visibility */
.work-item-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Ensure work items don't get interfering transforms from other animations */
.work-item {
  will-change: auto;
}

.work-item:not(:hover) {
  transform: none !important;
}

/* ============================================================
   PORTFOLIO REFINEMENTS & LOCALIZATION ADDITIONS
   ============================================================ */

/* 1. Custom sizing for Certification Banners: Increase height & width for certify 01, 02, 04 (Leave 03 unchanged) */
.expertise-banner-03 .expertise-banner-image img[src*="01image"] {
  height: 145% !important;
  max-height: none !important;
  width: auto !important;
  right: 1% !important;
}

.expertise-banner-03 .expertise-banner-image img[src*="certify1"] {
  height: 195% !important;
  max-height: none !important;
  width: auto !important;
  right: -3% !important;
  bottom: -65% !important;
}

/* Banner 02 Left Image & Right Text Adjustments */
.expertise-banner-left .expertise-banner-image {
  justify-content: flex-start !important;
  align-items: flex-end !important;
}

.expertise-banner-left .expertise-banner-image img,
.expertise-banner-03 .expertise-banner-image img[src*="certify5"] {
  height: 130% !important;
  max-height: none !important;
  width: auto !important;
  left: 6% !important;
  right: auto !important;
  object-fit: contain;
  object-position: bottom left;
  filter: drop-shadow(8px 0 24px rgba(0, 0, 0, 0.45)) !important;
}

.expertise-banner-left .expertise-banner-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  text-align: right !important;
  padding-right: 6% !important;
}

.expertise-banner-left .expertise-banner-num {
  text-align: right !important;
  width: 100%;
}

.expertise-banner-left .expertise-banner-title {
  text-align: right !important;
}

.expertise-banner-03 .expertise-banner-image img[src*="03image"],
.expertise-banner-03 .expertise-banner-image img[src*="certify3"] {
  height: 120% !important;
  max-height: none !important;
  width: auto !important;
  right: 1.5% !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  object-fit: contain;
  object-position: bottom right;
}

.expertise-banner-03 .expertise-banner-image img[src*="04image"],
.expertise-banner-03 .expertise-banner-image img[src*="certify4"] {
  height: 140% !important;
  max-height: none !important;
  width: auto !important;
  right: 1% !important;
}

/* Mobile view scaling for certify 01, 02, 05, 03, 04 */
@media (max-width: 768px) {

  .expertise-banner-03 .expertise-banner-image img[src*="01image"] {
    height: 135% !important;
    width: auto !important;
    max-width: none !important;
  }

  .expertise-banner-03 .expertise-banner-image img[src*="certify1"] {
    height: 140% !important;
    width: auto !important;
    max-width: none !important;
    bottom: -35% !important;
  }

  .expertise-banner-left .expertise-banner-image img,
  .expertise-banner-03 .expertise-banner-image img[src*="certify5"] {
    height: 120% !important;
    width: auto !important;
    max-width: none !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) translateY(0) !important;
  }

  .expertise-banner-left .expertise-banner-content {
    padding-right: 4% !important;
  }

  .expertise-banner-03 .expertise-banner-image img[src*="03image"],
  .expertise-banner-03 .expertise-banner-image img[src*="certify3"] {
    height: 112% !important;
    width: auto !important;
    max-width: none !important;
    mix-blend-mode: normal !important;
    opacity: 1 !important;
  }

  .expertise-banner-03 .expertise-banner-image img[src*="04image"],
  .expertise-banner-03 .expertise-banner-image img[src*="certify4"] {
    height: 130% !important;
    width: auto !important;
    max-width: none !important;
  }
}

/* 2. Mobile Menu Close Button */
.mobile-menu-close {
  position: absolute;
  top: 30px;
  right: 40px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 36px;
  font-weight: 300;
  cursor: pointer;
  z-index: 1002;
  transition: transform 0.4s var(--ease-out-expo), color 0.3s ease;
}

.mobile-menu-close:hover {
  color: var(--red);
  transform: rotate(90deg);
}

/* 3. Running Ticker Footer Name Marquee */
.footer-big-name {
  overflow: hidden;
  margin-bottom: 35px;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  display: flex;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}

.footer-big-name span {
  display: inline-block;
  font-size: clamp(50px, 13vw, 190px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--black);
  padding-right: 4rem;
  transition: letter-spacing 0.6s var(--ease-out-expo);
}

.footer-big-name:hover span {
  letter-spacing: -0.02em;
}

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

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

/* 4. Clickable and interactive stats elements */
.stat-row.clickable {
  cursor: pointer;
  transition: transform 0.35s var(--ease-out-expo), filter 0.3s ease;
  user-select: none;
}

.stat-row.clickable:hover {
  transform: scale(1.02) translateX(10px);
  filter: brightness(1.2);
}

.stat-row.clickable:active {
  transform: scale(0.99) translateX(5px);
}

#skills.clients,
#education.experience,
#certifications.expertise {
  position: relative;
  z-index: 10;
  background: var(--black);
}

#skills.clients::before,
#education.experience::before,
#certifications.expertise::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--red) 0%, #ff6a00 100%);
  box-shadow: 0 4px 20px rgba(224, 90, 0, 0.4);
  z-index: 5;
}

.footer-top-bar {
  height: 8px !important;
  background: linear-gradient(90deg, #ff6a00 0%, var(--red) 100%) !important;
  box-shadow: 0 -4px 20px rgba(224, 90, 0, 0.4);
}

.footer-inquiries h3 {
  font-size: 24px !important;
  font-weight: 900;
  color: var(--white);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}

/* Force clean Tamil font rendering stack & bypass Noto Sans JP to prevent empty box tofu characters */
.section-label-jp,
.section-label-jp-dark,
.expertise-banner-sticky-jp,
.expertise-label-jp {
  font-family: 'Noto Sans Tamil', sans-serif !important;
}

/* ============================================================
   PREMIUM STATS & SERVICES HIGHLIGHTING
   ============================================================ */

/* Glowing highlight state for Certifications counter card */
#stat-certifications {
  position: relative !important;
  background: linear-gradient(135deg, rgba(224, 90, 0, 0.15) 0%, rgba(255, 255, 255, 0.03) 100%) !important;
  border: 1.5px solid rgba(224, 90, 0, 0.4) !important;
  border-radius: 16px !important;
  padding: 30px 40px !important;
  box-shadow: 0 10px 30px rgba(224, 90, 0, 0.15), inset 0 0 15px rgba(224, 90, 0, 0.1) !important;
  transition: all 0.4s var(--ease-out-expo) !important;
}

#stat-certifications:hover {
  transform: scale(1.03) translateY(-4px) !important;
  border-color: var(--red) !important;
  box-shadow: 0 15px 35px rgba(224, 90, 0, 0.25), inset 0 0 20px rgba(224, 90, 0, 0.2) !important;
  background: linear-gradient(135deg, rgba(224, 90, 0, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
}

#stat-certifications::after {
  content: "MILESTONE";
  position: absolute;
  top: -10px;
  right: 25px;
  background: var(--red);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  padding: 3px 12px;
  border-radius: 100px;
  box-shadow: 0 4px 10px rgba(224, 90, 0, 0.4);
}

#stat-certifications .stat-number {
  color: var(--black) !important;
}

#stat-certifications .stat-label {
  color: var(--black) !important;
  font-weight: 600 !important;
}

@media (max-width: 768px) {
  #stat-certifications {
    padding: 24px 30px !important;
    margin: 15px 0 !important;
  }

  #stat-certifications::after {
    top: -8px;
    right: 15px;
  }
}

/* Premium highlighting for Services Offered container */
.services-highlight-box {
  margin-top: 3.5rem;
  background: rgba(224, 90, 0, 0.03) !important;
  border: 1.5px solid rgba(224, 90, 0, 0.2) !important;
  border-top: 4px solid var(--red) !important;
  border-radius: 12px !important;
  padding: 30px 24px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.4s ease !important;
}

.services-highlight-box:hover {
  border-color: rgba(224, 90, 0, 0.35) !important;
  box-shadow: 0 15px 40px rgba(224, 90, 0, 0.08), 0 10px 30px rgba(0, 0, 0, 0.3) !important;
  background: rgba(224, 90, 0, 0.05) !important;
}

.services-highlight-box .section-label {
  display: inline-block !important;
  font-size: 0.7rem !important;
  font-weight: 900 !important;
  color: var(--white) !important;
  background: var(--red) !important;
  border: 1.5px solid var(--red) !important;
  padding: 4px 14px !important;
  border-radius: 100px !important;
  letter-spacing: 0.15em !important;
  margin-bottom: 1.5rem !important;
  box-shadow: 0 4px 10px rgba(224, 90, 0, 0.2) !important;
}

.services-highlight-box .skill-tag {
  border: 1px solid rgba(224, 90, 0, 0.3) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  background: rgba(224, 90, 0, 0.06) !important;
  font-size: clamp(14px, 1.8vw, 16px) !important;
  padding: 0.5rem 1rem !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.services-highlight-box .skill-tag:hover {
  border-color: var(--red) !important;
  color: var(--white) !important;
  background: rgba(224, 90, 0, 0.15) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 15px rgba(224, 90, 0, 0.25) !important;
}

/* ===== EDUCATION TIMELINE COMPONENT ===== */
.education-timeline-container {
  position: relative;
  max-width: 1100px;
  margin: 60px auto 0;
  padding: 40px 0;
}

.education-timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(224, 90, 0, 0.12);
  transform: translateX(-50%);
  z-index: 1;
}

.education-timeline-line-progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  background: var(--red);
  box-shadow: 0 0 10px var(--red), 0 0 20px var(--red);
  transform-origin: top center;
}

.timeline-item {
  position: relative;
  width: 50%;
  box-sizing: border-box;
  opacity: 0;
  /* Animated via GSAP */
  z-index: 2;
}

.timeline-item.left {
  left: 0;
  padding-right: 45px;
}

.timeline-item.right {
  left: 50%;
  padding-left: 45px;
}

/* Offset timeline items vertically to avoid overlaps */
.timeline-item:not(:first-child) {
  margin-top: -20px;
}

.timeline-dot {
  position: absolute;
  top: 35px;
  width: 16px;
  height: 16px;
  background: var(--black);
  border: 2px solid rgba(224, 90, 0, 0.4);
  border-radius: 50%;
  z-index: 10;
}

.timeline-item.left .timeline-dot {
  right: -8px;
}

.timeline-item.right .timeline-dot {
  left: -8px;
}

.timeline-card {
  background: linear-gradient(135deg, rgba(18, 18, 18, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
  border: 1px solid rgba(224, 90, 0, 0.15);
  border-radius: 12px;
  padding: 28px 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
  position: relative;
  overflow: hidden;
}

.timeline-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(224, 90, 0, 0.04) 0%, transparent 55%);
  pointer-events: none;
}

.timeline-card:hover {
  border-color: var(--red);
  box-shadow: 0 20px 45px rgba(224, 90, 0, 0.18), 0 10px 30px rgba(0, 0, 0, 0.45);
  transform: translateY(-4px);
}

.timeline-card-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 15px;
}

.timeline-date {
  font-family: monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.1em;
}

.timeline-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}

.timeline-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 14px;
  border: 1px solid rgba(224, 90, 0, 0.25);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  background: rgba(224, 90, 0, 0.05);
  letter-spacing: 0.02em;
}

.timeline-status {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.timeline-status::before {
  content: '■ ';
  color: var(--red);
  font-size: 10px;
}

.timeline-bullets {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline-bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.timeline-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--red);
}

/* RESPONSIVE TIMELINE */
@media (max-width: 768px) {
  .education-timeline-line {
    left: 20px;
    transform: none;
  }

  .education-timeline-line-progress {
    left: 0;
    transform: none;
  }

  .timeline-item {
    width: 100%;
    margin-top: 0 !important;
    margin-bottom: 30px;
  }

  .timeline-item.left {
    padding-right: 0;
    padding-left: 45px;
    left: 0;
  }

  .timeline-item.right {
    padding-left: 45px;
    left: 0;
  }

  .timeline-item.left .timeline-dot,
  .timeline-item.right .timeline-dot {
    left: 12px;
    right: auto;
    top: 32px;
  }
}

/* ============================================================
   CUSTOM CURSOR & PREMIUM INTERACTIONS
   ============================================================ */

/* Hide default cursor on desktop */
@media (min-width: 769px) {
  body {
    cursor: none;
  }

  a,
  button,
  [role="button"],
  input,
  select,
  textarea,
  .clickable,
  .skill-card-container,
  .rec-card,
  .timeline-card,
  .work-item,
  .exp-scroller-item,
  .stat-row,
  .rec-btn,
  .mobile-menu-close,
  .expertise-banner,
  .awards-row,
  .menu-option-link,
  .nav-drawer,
  .nav-drawer-overlay,
  .page-wrapper-close {
    cursor: none !important;
  }
}

.custom-cursor-dot,
.custom-cursor-follower,
#custom-cursor-canvas {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  pointer-events: none;
  z-index: 10000000 !important;
  will-change: transform;
  display: none;
}

#custom-cursor-canvas {
  z-index: 9999999 !important;
  width: 100vw;
  height: 100vh;
}

@media (min-width: 769px) {

  .custom-cursor-dot,
  .custom-cursor-follower,
  #custom-cursor-canvas {
    display: block;
  }
}

.custom-cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--red);
  border-radius: 50%;
  transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 0 10px var(--red), 0 0 20px var(--red);
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
}

.custom-cursor-follower {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(224, 90, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1),
    height 0.3s cubic-bezier(0.25, 1, 0.5, 1),
    background-color 0.3s ease,
    border-color 0.3s ease,
    border-radius 0.3s ease;
  box-shadow: 0 0 12px rgba(224, 90, 0, 0.35);
}

.custom-cursor-follower .cursor-text {
  color: var(--white, #ffffff);
  font-family: var(--font-mono), monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Hover States for Follower */
.custom-cursor-follower.hover-link {
  width: 56px;
  height: 56px;
  background-color: rgba(224, 90, 0, 0.12);
  border-color: var(--red);
  box-shadow: 0 0 16px rgba(224, 90, 0, 0.6), inset 0 0 8px rgba(224, 90, 0, 0.2);
}

.custom-cursor-follower.hover-card {
  width: 72px;
  height: 72px;
  background-color: rgba(224, 90, 0, 0.15);
  border-color: var(--red);
  border-radius: 14px;
  box-shadow: 0 0 20px rgba(224, 90, 0, 0.5), inset 0 0 10px rgba(224, 90, 0, 0.2);
}

.custom-cursor-follower.hover-view {
  width: 76px;
  height: 76px;
  background-color: rgba(224, 90, 0, 0.15);
  border-color: transparent;
  box-shadow: none;
}

.custom-cursor-follower.hover-view::before {
  content: '';
  position: absolute;
  inset: -3px;
  border: 2px dashed var(--red);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(224, 90, 0, 0.6);
  animation: cursor-spin-clockwise 10s linear infinite;
  pointer-events: none;
}

.custom-cursor-follower.hover-view::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px dotted rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: cursor-spin-counter 6s linear infinite;
  pointer-events: none;
}

@keyframes cursor-spin-clockwise {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes cursor-spin-counter {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

.custom-cursor-follower.hover-zoom {
  width: 65px;
  height: 65px;
  background-color: rgba(224, 90, 0, 0.12);
  border-color: var(--red);
}

.custom-cursor-follower.hover-link .cursor-text,
.custom-cursor-follower.hover-card .cursor-text,
.custom-cursor-follower.hover-view .cursor-text,
.custom-cursor-follower.hover-zoom .cursor-text {
  opacity: 1;
  transform: scale(1);
}

.custom-cursor-dot.hovering {
  width: 8px;
  height: 8px;
  background-color: var(--white, #ffffff);
  box-shadow: 0 0 10px var(--white), 0 0 20px rgba(255, 255, 255, 0.5);
}

/* Card Glow Effect Overlay */
.card-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
  mix-blend-mode: screen;
}

/* Disable transition on skill cards during JS hover tilt to avoid choppiness */
.skill-card-container.is-hovered .skill-card-inner {
  transition: none !important;
}

/* Disable transitions during JS tilt to avoid conflict/lag */
.stat-row.is-hovered,
.exp-item.is-hovered,
.timeline-card.is-hovered,
.vol-block.is-hovered,
.award-showcase.is-hovered {
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0s !important;
}

/* Position Education Section for Canvas Background */
#education {
  position: relative;
}

#education .experience-container {
  position: relative;
  z-index: 5;
}

/* Position Honors Section and Add Divider Line */
#awards {
  position: relative;
}

#awards::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--red);
}

/* ============================================================
   THEME TOGGLE SYSTEM & LIGHT MODE OVERRIDES
   ============================================================ */

/* ===== THEME TOGGLE BUTTON ===== */
.theme-toggle-btn {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  z-index: 1002;
  transition: all 0.3s ease, transform 0.3s ease;
  margin-right: 0;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
  padding: 0;
  flex-shrink: 0;
}

.theme-toggle-btn.scrolled {
  top: 16px;
}

@media (max-width: 900px) {
  .theme-toggle-btn {
    top: 20px;
    right: 72px;
    width: 34px;
    height: 34px;
  }

  .theme-toggle-btn.scrolled {
    top: 15px;
  }

  .theme-toggle-btn-inner {
    width: 16px !important;
    height: 16px !important;
  }

  .nav-menu-btn {
    top: auto;
    right: auto;
  }

  .nav-menu-btn.scrolled {
    top: auto;
  }
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--red);
  color: var(--red);
  transform: scale(1.05);
}

body.light-theme .theme-toggle-btn {
  border-color: rgba(15, 16, 18, 0.15);
  color: var(--white);
}

body.light-theme .theme-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--red);
  color: var(--red);
}

.theme-toggle-btn-inner {
  position: relative;
  width: 20px;
  height: 20px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle-btn .sun-icon,
.theme-toggle-btn .moon-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s ease, transform 0.5s ease;
}

/* Dark mode (default): show Sun to toggle to Light */
.theme-toggle-btn .moon-icon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

.theme-toggle-btn .sun-icon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* Light mode active: rotate and show Moon */
body.light-theme .theme-toggle-btn-inner {
  transform: rotate(360deg);
}

body.light-theme .theme-toggle-btn .sun-icon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

body.light-theme .theme-toggle-btn .moon-icon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* Split-hero topbar toggle override (against red-orange background) */
.split-hero-topbar .theme-toggle-btn {
  border-color: rgba(0, 0, 0, 0.35);
  color: var(--black);
}

.split-hero-topbar .theme-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: var(--black);
  color: var(--black);
}

/* Mobile menu theme toggle link/button */
.mobile-theme-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--white);
  padding: 14px 20px;
  margin-top: 30px;
  width: 100%;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.mobile-theme-toggle:hover {
  border-color: var(--red);
  background: rgba(224, 90, 0, 0.08);
  color: var(--red);
}

body.light-theme .mobile-theme-toggle {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
  color: var(--white);
}

body.light-theme .mobile-theme-toggle:hover {
  border-color: var(--red);
  background: rgba(224, 90, 0, 0.05);
  color: var(--red);
}

/* ===== LIGHT MODE CORE OVERRIDES ===== */
body.light-theme {
  --black: #f5f6f8;
  /* Soft light background */
  --white: #0f1012;
  /* High-contrast dark text */
  --gray: rgba(15, 16, 18, 0.45);
  --gray-dark: #ffffff;
  /* Card backgrounds */
  --off-white: #0a0a0a;
  --border-light: rgba(0, 0, 0, 0.08);
  --border-dark: rgba(255, 255, 255, 0.1);
  --text-muted: rgba(15, 16, 18, 0.6);
  --text-muted-dark: rgba(15, 16, 18, 0.6);
  background-color: #f5f6f8 !important;
  color: #0f1012 !important;
}

/* Smooth theme switching */
body,
.navbar,
.mobile-menu,
.skill-card-front,
.skill-card-back,
.timeline-card,
.rec-card,
.rec-btn,
.rec-carousel-arch,
.expertise-banner-sticky-bar,
.footer-scroller,
.services-highlight-box {
  transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

/* Keep Split Hero left red panel style intact */
body.light-theme .split-hero-left {
  --white: #ffffff;
  --black: #000000;
}

/* Split Hero Right Panel overrides for Light Theme */
body.light-theme .split-hero-right {
  border-left-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .split-nav-col-header .cyber-bracket {
  color: rgba(0, 0, 0, 0.15);
}

body.light-theme .split-nav-footer {
  color: rgba(15, 16, 18, 0.5);
  border-top-color: rgba(224, 90, 0, 0.15);
}

/* Keep Certifications banners style intact */
body.light-theme .expertise-banner {
  --white: #ffffff;
}

/* Navbar Scrolled state in Light Mode */
body.light-theme .navbar.scrolled {
  background: rgba(245, 246, 248, 0.88);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Mobile Menu background in Light Mode */
body.light-theme .mobile-menu {
  background: rgba(245, 246, 248, 0.97);
}

body.light-theme .mobile-menu-close,
body.light-theme .split-hero-close {
  color: var(--white);
}

/* Custom CTA border colors in Light Mode */
body.light-theme .nav-cta,
body.light-theme .split-hero-cta {
  border-color: rgba(15, 16, 18, 0.3);
  color: var(--white);
}

body.light-theme .nav-cert-cta {
  background: var(--red) !important;
  border-color: var(--red) !important;
  color: #ffffff !important;
}

/* Hide hero topbar controls in Light Mode */
body.light-theme .split-hero-topbar {
  display: none !important;
}

body.light-theme .side-badge {
  background: var(--black) !important;
  color: var(--white) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-right: none;
  box-shadow: -6px 0 25px rgba(0, 0, 0, 0.15);
}

body.light-theme .side-badge:hover {
  background: #1a1a1a !important;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
}

/* 3D Flip Cards Light Mode styling */
body.light-theme .skill-card-front {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 245, 245, 0.99) 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(224, 90, 0, 0.25);
}

body.light-theme .skill-card-back {
  background: linear-gradient(135deg, rgba(250, 250, 250, 0.99) 0%, rgba(240, 240, 240, 1) 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(224, 90, 0, 0.25);
}

/* Timeline Cards Light Mode styling */
body.light-theme .timeline-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 248, 248, 0.99) 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(224, 90, 0, 0.25);
}

body.light-theme .timeline-card:hover {
  box-shadow: 0 15px 35px rgba(224, 90, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Recommendations / Reviews Carousel Light Mode styling */
body.light-theme .rec-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 245, 245, 0.99) 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(224, 90, 0, 0.2);
}

body.light-theme .rec-card:hover {
  box-shadow: 0 15px 35px rgba(224, 90, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
}

body.light-theme .rec-card.active {
  box-shadow: 0 20px 45px rgba(224, 90, 0, 0.18), 0 10px 30px rgba(0, 0, 0, 0.06);
}

body.light-theme .rec-text {
  color: rgba(15, 16, 18, 0.85);
}

body.light-theme .rec-card-footer {
  border-top-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .rec-btn {
  border-color: rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.85);
  color: var(--white);
}

body.light-theme .rec-carousel-arch {
  background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.9) 0%, rgba(245, 246, 248, 1) 70%);
  border-top-color: rgba(224, 90, 0, 0.2);
}

/* Giant background typography overrides */
body.light-theme .about-bg-text span {
  color: rgba(0, 0, 0, 0.03);
}

/* Services Offered highlight block overrides */
body.light-theme .services-highlight-box {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme .services-highlight-box:hover {
  box-shadow: 0 15px 40px rgba(224, 90, 0, 0.06), 0 10px 30px rgba(0, 0, 0, 0.04) !important;
}

body.light-theme .services-highlight-box .skill-tag {
  color: rgba(15, 16, 18, 0.85) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

body.light-theme .services-highlight-box .skill-tag:hover {
  color: var(--white) !important;
}

/* Certifications list item overrides */
body.light-theme .expertise-list-item {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .expertise-list-item:hover {
  background: rgba(0, 0, 0, 0.03);
}

body.light-theme .expertise-list-item.highlight {
  background: var(--white) !important;
  color: var(--black) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

body.light-theme .expertise-list-item.mouse-highlight {
  background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%) !important;
  color: var(--black) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Interactive Footer scroller overrides */
body.light-theme .footer-scroller {
  background: #f5f6f8;
}

body.light-theme .footer-header-overlay p {
  color: rgba(15, 16, 18, 0.55);
}

/* Course logos contrast correction */
body.light-theme .course-logo-item img {
  background: rgba(0, 0, 0, 0.04);
  filter: grayscale(0%) brightness(1);
}

/* Storytelling Volunteering overrides */
body.light-theme .vol-story-slide::after {
  background: rgba(245, 246, 248, 0.75);
}

body.light-theme .slide-bg-text-top {
  color: rgba(0, 0, 0, 0.06);
}

body.light-theme .slide-bg-text-bottom {
  color: rgba(0, 0, 0, 0.03);
}

/* Cursor follower overrides for light theme */
body.light-theme .custom-cursor-follower.hover-view {
  background-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .custom-cursor-follower.hover-view::before {
  border-color: var(--red);
  box-shadow: 0 0 12px rgba(224, 90, 0, 0.4);
}

body.light-theme .custom-cursor-follower.hover-view::after {
  border-color: rgba(0, 0, 0, 0.2);
}

body.light-theme .custom-cursor-follower.hover-view .cursor-text {
  color: var(--black, #0a0a0a);
  text-shadow: none;
}

/* Specific overrides for hardcoded colors in Light Mode */
body.light-theme .about-bio p {
  color: #000000 !important;
}

body.light-theme .exp-scroller-item {
  color: rgba(15, 16, 18, 0.65);
  opacity: 0.85;
}

body.light-theme .exp-scroller-item.active {
  color: var(--white);
  opacity: 1;
}

body.light-theme .exp-details-duration {
  color: rgba(15, 16, 18, 0.55) !important;
}

body.light-theme .exp-details-bullets li {
  color: rgba(15, 16, 18, 0.8) !important;
}

body.light-theme .exp-details-content:not(.active) {
  opacity: 0 !important;
  visibility: hidden !important;
}

body.light-theme .slide-bg-text {
  display: none !important;
}

body.light-theme .skill-card-list li {
  color: rgba(15, 16, 18, 0.7);
}

body.light-theme .skill-card-container:hover .skill-card-list li {
  color: rgba(15, 16, 18, 0.95);
}

body.light-theme .vol-date {
  color: rgba(15, 16, 18, 0.5) !important;
}

body.light-theme .vol-desc {
  color: rgba(15, 16, 18, 0.75) !important;
}

body.light-theme .vol-info .vol-date {
  color: rgba(15, 16, 18, 0.55) !important;
}

body.light-theme .vol-info .vol-desc {
  color: rgba(15, 16, 18, 0.8) !important;
}

body.light-theme .vol-info .vol-role {
  text-shadow: none !important;
}

body.light-theme .award-showcase-info .award-showcase-title {
  color: #111111 !important;
}

body.light-theme .section-label {
  color: rgba(15, 16, 18, 0.6) !important;
}

body.light-theme .expertise-label {
  color: rgba(15, 16, 18, 0.6) !important;
}

body.light-theme .section-label-jp,
body.light-theme .section-label-jp-dark,
body.light-theme .expertise-label-jp,
body.light-theme .expertise-banner-sticky-jp {
  text-shadow: none !important;
  color: #0f1012 !important;
}

body.light-theme .education-timeline-line {
  background: rgba(0, 0, 0, 0.06);
}

body.light-theme .timeline-dot {
  background: var(--black);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .work-item,
body.light-theme .work-item:first-child {
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .about-dot-pattern {
  background-image: radial-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px);
}

body.light-theme .skills-dot-grid {
  background-image: radial-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1px);
}

body.light-theme .footer-content-panel {
  --black: #000000;
  --white: #ffffff;
}

body.light-theme .skill-tag {
  color: rgba(15, 16, 18, 0.75) !important;
  background: rgba(0, 0, 0, 0.04) !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
}

body.light-theme .skill-tag:hover {
  color: rgba(15, 16, 18, 0.95) !important;
  border-color: var(--red) !important;
}

/* ============================================================
   BRD ADDITIONS —  PORTFOLIO
   ============================================================ */

/* ===== HERO TAGLINE ===== */
.intro-hero-tagline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: clamp(0.6rem, 1.1vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.tagline-accent {
  color: var(--red);
}

.tagline-sep {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.7em;
}

/* ===== DOMAIN EXPERTISE CARDS ===== */
.domains {
  background: var(--black);
  padding: 6rem 4vw;
  position: relative;
  overflow: hidden;
}

.domains::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(224, 90, 0, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.domains-container {
  max-width: 1400px;
  margin: 0 auto;
}

.domains-header {
  margin-bottom: 3.5rem;
}

.domains-heading {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 0.75rem;
}

.domains-flow {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  width: 100%;
  max-width: 900px;
  margin: 3.5rem auto 0;
  padding: 2rem 0;
}

/* Timeline vertical connector line */
.domains-flow::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--red);
  transform: translateX(-50%);
  z-index: 1;
  opacity: 0.8;
}

body.light-theme .domains-flow::before {
  background: #ff2a5f;
  /* the pink connector line from the reference image */
  opacity: 1;
}

.domain-flow-item {
  width: 60%;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.domain-flow-item:nth-child(odd) {
  align-self: flex-start;
}

.domain-flow-item:nth-child(even) {
  align-self: flex-end;
}

.domain-flow-item:nth-child(7) {
  align-self: center;
  width: 70%;
}

/* Neo-Brutalist Domain Card */
.domain-card {
  background: rgba(13, 13, 13, 0.96);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 6px 6px 0px rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

body.light-theme .domain-card {
  background: #ffffff !important;
  border: 2.5px solid #111111 !important;
  box-shadow: 6px 6px 0px #111111 !important;
  color: #111111 !important;
}

/* Hover effects */
.domain-card:hover {
  transform: translate(-3px, -3px);
  border-color: var(--red);
  box-shadow: 9px 9px 0px var(--red);
}

body.light-theme .domain-card:hover {
  border-color: #111111 !important;
  box-shadow: 9px 9px 0px #111111 !important;
  background: #E6FFB8 !important;
  /* light lime background as requested */
}

/* Expanded Active State */
.domain-card.expanded {
  transform: translate(-3px, -3px);
  border-color: var(--red);
  box-shadow: 9px 9px 0px var(--red);
  background: rgba(224, 90, 0, 0.08);
}

body.light-theme .domain-card.expanded {
  border-color: #111111 !important;
  box-shadow: 9px 9px 0px #111111 !important;
  background: #E6FFB8 !important;
}

/* Badge styled like framer design badge */
.domain-card-badge {
  font-size: 0.8rem;
  font-weight: 800;
  font-family: var(--font-mono, monospace);
  border: 2px solid rgba(255, 255, 255, 0.25);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  width: fit-content;
  margin-bottom: 1.25rem;
  color: var(--red);
  background: rgba(255, 255, 255, 0.03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

body.light-theme .domain-card-badge {
  border: 2px solid #111111 !important;
  color: #111111 !important;
  background: #ffffff !important;
}

.domain-card-title {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  text-transform: none;
  color: var(--white);
  line-height: 1.3;
}

body.light-theme .domain-card-title {
  color: #111111 !important;
}

.domain-card-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

body.light-theme .domain-card-desc {
  color: #444444 !important;
}

/* Inline Expandable Detail Accordion */
.domain-card-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.domain-card.expanded .domain-card-details {
  max-height: 800px;
  opacity: 1;
  margin-top: 1.5rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
}

body.light-theme .domain-card.expanded .domain-card-details {
  border-top: 1.5px dashed rgba(0, 0, 0, 0.15) !important;
}

.domain-detail-section {
  margin-bottom: 1.25rem;
}

.domain-detail-section:last-child {
  margin-bottom: 0;
}

.domain-detail-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

body.light-theme .domain-detail-label {
  color: #111111 !important;
}

/* Progress bar styling */
.domain-progress-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.domain-progress-track {
  flex-grow: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

body.light-theme .domain-progress-track {
  background: rgba(0, 0, 0, 0.08) !important;
  border: 1.5px solid #111111 !important;
  border-radius: 6px;
  height: 10px;
}

.domain-progress-fill {
  height: 100%;
  background: var(--red);
  border-radius: 4px;
}

body.light-theme .domain-progress-fill {
  background: #ff2a5f !important;
}

.domain-progress-val {
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-mono, monospace);
  color: var(--white);
}

body.light-theme .domain-progress-val {
  color: #111111 !important;
}

/* Modules list inside card */
.domain-modules-list {
  padding-left: 1.2rem;
  margin: 0;
}

.domain-modules-list li {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.4rem;
  line-height: 1.5;
  list-style-type: square;
}

body.light-theme .domain-modules-list li {
  color: #333333 !important;
}

/* Tools badges */
.domain-tools-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.domain-tool-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

body.light-theme .domain-tool-tag {
  background: #ffffff !important;
  border: 1.5px solid #111111 !important;
  color: #111111 !important;
  box-shadow: 2px 2px 0px #111111 !important;
}

/* Mobile responsive flow styles */
@media (max-width: 768px) {
  .domains-flow {
    gap: 2rem;
    padding: 1rem 0;
  }

  .domains-flow::before {
    left: 1.5rem;
  }

  .domain-flow-item {
    width: 100% !important;
    align-self: stretch !important;
    padding-left: 3rem;
  }

  .domain-card {
    padding: 1.75rem;
  }
}

/* ===== WHY CHOOSE ME ===== */
.why-choose {
  background: #0d0d0d;
  padding: 6rem 4vw;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.why-choose-container {
  max-width: 1400px;
  margin: 0 auto;
}

.why-choose-heading {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 0.75rem 0 3.5rem;
  line-height: 1.1;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.005) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(224, 90, 0, 0.45);
  box-shadow: 0 15px 35px rgba(224, 90, 0, 0.12), 0 5px 15px rgba(0, 0, 0, 0.3);
}

.why-card-accent {
  background: linear-gradient(135deg, rgba(224, 90, 0, 0.12) 0%, rgba(224, 90, 0, 0.02) 100%) !important;
  border-color: rgba(224, 90, 0, 0.35) !important;
  box-shadow: 0 10px 30px rgba(224, 90, 0, 0.06);
}

.why-card-num {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 1.25rem;
  font-family: var(--font-mono, monospace);
  background: rgba(224, 90, 0, 0.08);
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  border: 1px solid rgba(224, 90, 0, 0.2);
}

.why-card-icon {
  color: var(--red);
  margin-bottom: 1.25rem;
  opacity: 0.9;
  transition: transform 0.4s ease;
}

.why-card:hover .why-card-icon {
  transform: scale(1.1) translateY(-2px);
}

.why-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.why-card-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* ===== 10-YEAR VISION ===== */
.vision {
  background: var(--black);
  padding: 6rem 4vw;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.vision-container {
  max-width: 1400px;
  margin: 0 auto;
}

.vision-heading {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 0.75rem 0 1rem;
  line-height: 1.1;
}

.vision-arrow {
  color: var(--red);
}

.vision-sub {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 4rem;
}

.vision-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 180px;
}

.vision-timeline::before {
  content: '';
  position: absolute;
  left: 140px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: linear-gradient(to bottom, var(--red), rgba(224, 90, 0, 0.1));
}

.vision-node {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  position: relative;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.vision-node:last-child {
  border-bottom: none;
}

.vision-node-year {
  position: absolute;
  left: -180px;
  top: 2rem;
  font-size: 1.2rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.05em;
  width: 120px;
  text-align: right;
  font-family: 'Courier New', monospace;
  transition: color 0.3s ease;
}

.vision-node:hover .vision-node-year {
  color: var(--red);
}

.vision-node-dot {
  position: absolute;
  left: -46px;
  top: 2.4rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.vision-node-dot-active {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 16px rgba(224, 90, 0, 0.5);
}

.vision-node-dot-goal {
  background: var(--steel-blue);
  border-color: var(--steel-blue);
  box-shadow: 0 0 16px rgba(0, 95, 115, 0.5);
}

.vision-node:hover .vision-node-dot {
  background: var(--red);
  border-color: var(--red);
}

.vision-node-content h4 {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.vision-node-content p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  max-width: 600px;
}

/* ===== ABOUT CTA ROW ===== */
.about-cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.about-cv-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--red);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.about-cv-btn:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.about-invite-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  background: var(--red);
  color: #ffffff !important;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 15px rgba(224, 90, 0, 0.3);
}

.about-invite-btn:hover {
  background: var(--red-dark);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(224, 90, 0, 0.5);
}

/* ===== SERVICES SECTION ===== */
.services-section {
  background: #0d0d0d;
  padding: 6rem 4vw;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.services-section-container {
  max-width: 1400px;
  margin: 0 auto;
}

.services-section-header {
  margin-bottom: 3.5rem;
}

.services-section-heading {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-top: 0.75rem;
  line-height: 1.1;
}

.services-section-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.svc-card {
  background: rgba(0, 0, 0, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-top: 4.5px solid var(--red);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.svc-card:hover {
  background: rgba(0, 0, 0, 0.65);
  border-color: rgba(224, 90, 0, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(224, 90, 0, 0.05);
}

.svc-card-featured {
  background: rgba(224, 90, 0, 0.04);
  border-color: rgba(224, 90, 0, 0.25);
  border-top: 4.5px solid var(--red);
}

.svc-card-num {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 1.25rem;
  font-family: var(--font-mono, monospace);
}

.svc-card-icon {
  color: var(--red);
  margin-bottom: 1.25rem;
  opacity: 0.85;
}

.svc-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

.svc-card-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.svc-card-deliverables {
  list-style: none;
  margin-bottom: 1.5rem;
  flex: 1;
}

.svc-card-deliverables li {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.4rem 0 0.4rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.svc-card-deliverables li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 0.7rem;
}

.svc-card-btn {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border: 1px solid rgba(224, 90, 0, 0.4);
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.3s ease, color 0.3s ease;
  border-radius: 2px;
}

.svc-card-btn:hover {
  background: var(--red);
  color: #fff;
}

/* ===== TRAINING PROGRAMS ===== */
.training {
  background: var(--black);
  padding: 6rem 4vw;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.training-container {
  max-width: 1400px;
  margin: 0 auto;
}

.training-header {
  margin-bottom: 3.5rem;
  max-width: 700px;
}

.training-heading {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-top: 0.75rem;
  line-height: 1.1;
}

.training-sub {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.training-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 10px;
}

.training-card:hover {
  transform: translateY(-5px);
  border-color: rgba(224, 90, 0, 0.4);
  box-shadow: 0 12px 30px rgba(224, 90, 0, 0.08), 0 5px 15px rgba(0, 0, 0, 0.2);
}

.training-card-featured {
  background: rgba(224, 90, 0, 0.04);
  border-color: rgba(224, 90, 0, 0.3);
  box-shadow: 0 8px 24px rgba(224, 90, 0, 0.05);
}

.training-card-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-bottom: 1.25rem;
  align-self: flex-start;
}

.training-card-badge-gold {
  background: rgba(224, 90, 0, 0.12);
  border-color: rgba(224, 90, 0, 0.35);
  color: var(--red);
}

.training-card-num {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 0.75rem;
  font-family: var(--font-mono, monospace);
}

.training-card-title {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.training-card-duration {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.training-card-best {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.5rem;
}

.training-card-modules {
  list-style: none;
  margin-bottom: 1.5rem;
  flex: 1;
}

.training-card-modules li {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.4rem 0 0.4rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.training-card-modules li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 0.65rem;
  top: 0.45rem;
}

.training-card-mode {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.mode-tag {
  padding: 0.25rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
}

.training-card-cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(224, 90, 0, 0.35);
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.3s ease, color 0.3s ease;
  border-radius: 2px;
}

.training-card-cta:hover {
  background: var(--red);
  color: #fff;
}

.training-card-cta-featured {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.training-card-cta-featured:hover {
  background: var(--red-dark);
}

.training-cert-roadmap {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 3rem;
}

.cert-roadmap-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cert-roadmap-step {
  flex: 1;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

.cert-roadmap-step:hover {
  border-color: rgba(224, 90, 0, 0.25);
}

.cert-roadmap-step-active {
  border-color: rgba(224, 90, 0, 0.3);
  background: rgba(224, 90, 0, 0.04);
}

.cert-step-level {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.cert-step-certs {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.cert-roadmap-arrow {
  font-size: 1.5rem;
  color: var(--red);
  flex-shrink: 0;
  opacity: 0.5;
}

/* ===== PROJECTS & LABS ===== */
.projects {
  background: #0d0d0d;
  padding: 6rem 4vw;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.projects-container {
  max-width: 1400px;
  margin: 0 auto;
}

.projects-header {
  margin-bottom: 3.5rem;
}

.projects-heading {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-top: 0.75rem;
  line-height: 1.1;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: #0c0c0e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 3.5rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.project-card::before {
  content: '● ● ●';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 8px;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 2px;
  padding-left: 1.5rem;
  line-height: 32px;
  font-family: monospace;
}

.project-card:hover {
  border-color: rgba(224, 90, 0, 0.4);
  background: rgba(224, 90, 0, 0.02);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(224, 90, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.project-card:hover::before {
  background: rgba(224, 90, 0, 0.06);
  border-bottom-color: rgba(224, 90, 0, 0.15);
  color: var(--red);
}

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

.project-card-num {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--red);
  font-family: var(--font-mono, monospace);
}

.project-badge {
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-badge-beginner {
  background: rgba(0, 95, 115, 0.15);
  color: #00a3c4;
  border: 1px solid rgba(0, 95, 115, 0.3);
}

.project-badge-intermediate {
  background: rgba(224, 90, 0, 0.1);
  color: var(--red);
  border: 1px solid rgba(224, 90, 0, 0.25);
}

.project-badge-advanced {
  background: rgba(255, 50, 50, 0.08);
  color: #ff5a5a;
  border: 1px solid rgba(255, 80, 80, 0.25);
}

.project-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  margin: 0;
}

.project-card-desc {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  flex: 1;
}

.project-card-tools {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.project-tool {
  padding: 0.3rem 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
}

.project-card-footer {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.project-github-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
}

.project-github-btn:hover {
  color: var(--white);
}

/* ===== RESEARCH ===== */
.research {
  background: var(--black);
  padding: 6rem 4vw;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.research-container {
  max-width: 1400px;
  margin: 0 auto;
}

.research-header {
  margin-bottom: 3.5rem;
}

.research-heading {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-top: 0.75rem;
  line-height: 1.1;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.research-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 3.5px solid var(--steel-blue, #00a3c4);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.research-card:hover {
  border-color: var(--steel-blue, #00a3c4);
  background: rgba(0, 163, 196, 0.04);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 163, 196, 0.08), 0 4px 10px rgba(0, 0, 0, 0.25);
}

.research-card-coming {
  border-style: dashed;
  border-color: rgba(0, 95, 115, 0.25);
  background: rgba(0, 95, 115, 0.03);
}

.research-card-category {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--steel-blue, #00a3c4);
  text-transform: uppercase;
}

.research-card-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--white);
  margin: 0;
}

.research-card-meta {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.04em;
}

.research-card-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  flex: 1;
}

.research-card-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.research-tag {
  padding: 0.25rem 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
}

.research-read-btn {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-blue, #00a3c4);
  text-decoration: none;
  transition: opacity 0.2s ease;
  margin-top: 0.5rem;
}

.research-read-btn:hover {
  opacity: 0.7;
}

/* ===== BLOG ===== */
.blog {
  background: #0d0d0d;
  padding: 6rem 4vw;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-container {
  max-width: 1400px;
  margin: 0 auto;
}

.blog-header {
  margin-bottom: 3.5rem;
  max-width: 700px;
}

.blog-heading {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-top: 0.75rem;
  line-height: 1.1;
}

.blog-sub {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

.blog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.blog-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.blog-card:hover {
  border-color: var(--red);
  background: rgba(224, 90, 0, 0.02);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(224, 90, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.25);
}

.blog-card-featured {
  background: rgba(224, 90, 0, 0.05);
  border-color: rgba(224, 90, 0, 0.35);
  box-shadow: 0 8px 30px rgba(224, 90, 0, 0.1);
}

.blog-card-category {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
}

.blog-card-date {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
}

.blog-card-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--white);
  margin: 0;
  flex: 1;
}

.blog-card-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  flex: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
}

.blog-read-btn {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.blog-read-btn:hover {
  opacity: 0.7;
}

.blog-card-read-time {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.65);
}

.blog-subscribe {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: rgba(224, 90, 0, 0.05);
  border: 1px solid rgba(224, 90, 0, 0.15);
  padding: 2rem 2.5rem;
  flex-wrap: wrap;
}

.blog-subscribe-text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  flex-shrink: 0;
}

.blog-subscribe-form {
  display: flex;
  gap: 0;
  flex: 1;
  min-width: 280px;
}

.blog-subscribe-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-right: none;
  padding: 0.65rem 1rem;
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.blog-subscribe-input:focus {
  border-color: var(--red);
}

.blog-subscribe-btn {
  background: var(--red);
  border: none;
  padding: 0.65rem 1.25rem;
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.3s ease;
}

.blog-subscribe-btn:hover {
  background: var(--red-dark);
}

/* ===== FLOATING WHATSAPP & LINKEDIN ===== */
@keyframes float-pulse-whatsapp {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
  }
  50% {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.7);
  }
}

@keyframes float-pulse-linkedin {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 6px 25px rgba(10, 102, 194, 0.45);
  }
  50% {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(10, 102, 194, 0.7);
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9990;
  width: 68px;
  height: 68px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
  text-decoration: none;
  animation: float-pulse-whatsapp 3.2s infinite ease-in-out;
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
}

.whatsapp-float:hover {
  animation: none;
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.75);
}

.whatsapp-float-tooltip {
  position: absolute;
  right: 78px;
  background: rgba(0, 0, 0, 0.88);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.whatsapp-float:hover .whatsapp-float-tooltip {
  opacity: 1;
}

.linkedin-float {
  position: fixed;
  bottom: 7.2rem;
  right: 2rem;
  z-index: 9990;
  width: 68px;
  height: 68px;
  background: #0A66C2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 25px rgba(10, 102, 194, 0.45);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
  text-decoration: none;
  animation: float-pulse-linkedin 3.2s infinite ease-in-out;
  animation-delay: 1.6s;
}

.linkedin-float svg {
  width: 32px;
  height: 32px;
}

.linkedin-float:hover {
  animation: none;
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 35px rgba(10, 102, 194, 0.75);
}

.linkedin-float-tooltip {
  position: absolute;
  right: 78px;
  background: rgba(0, 0, 0, 0.88);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.linkedin-float:hover .linkedin-float-tooltip {
  opacity: 1;
}

/* ===== FOOTER CONTACT FORM ===== */
.footer-contact-form-section {
  grid-column: 1 / -1;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  padding: 2.5rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.footer-contact-form-section:hover {
  border-color: rgba(224, 90, 0, 0.4);
}

body.light-theme .footer-contact-form-section {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

body.light-theme .footer-contact-form-section:hover {
  border-color: var(--red);
}

.footer-contact-form-title {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  color: var(--white);
}

body.light-theme .footer-contact-form-title {
  color: #1A1A1A;
}

.footer-reply-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #25D366;
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 3px;
  margin-bottom: 1.5rem;
}

.footer-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.footer-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-form-group-full {
  grid-column: 1 / -1;
}

.footer-form-group label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

body.light-theme .footer-form-group label {
  color: rgba(0, 0, 0, 0.65);
}

.footer-form-group input,
.footer-form-group select,
.footer-form-group textarea {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.85rem;
  outline: none;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.footer-form-group input::placeholder,
.footer-form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
  opacity: 1;
}

body.light-theme .footer-form-group input,
body.light-theme .footer-form-group select,
body.light-theme .footer-form-group textarea {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #111111;
}

body.light-theme .footer-form-group input::placeholder,
body.light-theme .footer-form-group textarea::placeholder {
  color: rgba(0, 0, 0, 0.45) !important;
  opacity: 1;
}

.footer-form-group select option {
  background: #1a1a1a;
  color: #ffffff;
}

body.light-theme .footer-form-group select option {
  background: #ffffff;
  color: #111111;
}

.footer-form-group input:focus,
.footer-form-group select:focus,
.footer-form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 10px rgba(224, 90, 0, 0.25);
  background: rgba(0, 0, 0, 0.5);
}

body.light-theme .footer-form-group input:focus,
body.light-theme .footer-form-group select:focus,
body.light-theme .footer-form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 10px rgba(224, 90, 0, 0.15);
  background: #ffffff;
}

.footer-form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.footer-form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-form-submit {
  padding: 0.75rem 1.75rem;
  background: var(--red);
  border: none;
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease;
  border-radius: 2px;
}

.footer-form-submit:hover {
  background: var(--red-dark);
}

.footer-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.25);
  color: #25D366;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.3s ease;
}

.footer-whatsapp-btn:hover {
  background: rgba(37, 211, 102, 0.2);
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
}

.footer-social-btn:hover {
  background: rgba(224, 90, 0, 0.12);
  border-color: rgba(224, 90, 0, 0.35);
  color: var(--red);
}

.footer-social-wa:hover {
  background: rgba(37, 211, 102, 0.1) !important;
  border-color: rgba(37, 211, 102, 0.3) !important;
  color: #25D366 !important;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0 0.75rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-brand {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.9);
}

.footer-brand span {
  color: var(--black) !important;
}

.footer-legal {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.04em;
}

.footer-legal a {
  color: #ffffff !important;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--black) !important;
}

/* ===== RESPONSIVE — NEW SECTIONS ===== */
@media (max-width: 1100px) {
  .why-choose-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-section-grid {
    grid-template-columns: 1fr;
  }

  .training-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .research-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .vision-timeline {
    padding-left: 60px;
  }

  .vision-timeline::before {
    left: 20px;
  }

  .vision-node-year {
    left: -60px;
    width: 50px;
    font-size: 0.9rem;
  }

  .vision-node-dot {
    left: -30px;
  }

  .cert-roadmap-track {
    flex-direction: column;
  }

  .cert-roadmap-arrow {
    transform: rotate(90deg);
  }

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

  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
  }

  .linkedin-float {
    bottom: 5.8rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
  }

  .intro-hero-tagline {
    padding: 0.75rem 1.25rem;
    gap: 0.35rem;
    font-size: 0.6rem;
  }

  .about-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== LIGHT MODE OVERRIDES FOR NEW SECTIONS ===== */
body.light-theme .projects,
body.light-theme .blog,
body.light-theme .services-section,
body.light-theme .why-choose {
  background: var(--black);
  border-top-color: var(--border-light);
}

body.light-theme .domains {
  background: #FAF8F3 !important;
}

body.light-theme .why-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 100%) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04) !important;
  border-radius: 12px !important;
}

body.light-theme .why-card-accent {
  background: linear-gradient(135deg, rgba(224, 90, 0, 0.06) 0%, rgba(224, 90, 0, 0.01) 100%) !important;
  border-color: rgba(224, 90, 0, 0.25) !important;
}

body.light-theme .why-card:hover {
  border-color: rgba(224, 90, 0, 0.35) !important;
  box-shadow: 0 12px 30px rgba(224, 90, 0, 0.06), 0 4px 10px rgba(0, 0, 0, 0.02) !important;
}

body.light-theme .about-invite-btn {
  background: var(--red) !important;
  color: #ffffff !important;
  border: none !important;
}

body.light-theme .about-invite-btn:hover {
  background: var(--red-dark) !important;
  color: #ffffff !important;
}

body.light-theme .svc-card {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  border-top: 4.5px solid var(--red) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

body.light-theme .svc-card-desc {
  color: rgba(15, 16, 18, 0.7) !important;
}

body.light-theme .svc-card-deliverables li {
  color: rgba(15, 16, 18, 0.6) !important;
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .svc-card:hover {
  background: #ffffff !important;
  border-color: rgba(224, 90, 0, 0.3) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), inset 0 0 20px rgba(224, 90, 0, 0.02) !important;
}

body.light-theme .training-card {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
  border-radius: 10px !important;
}

body.light-theme .training-card:hover {
  background: #ffffff !important;
  border-color: rgba(224, 90, 0, 0.35) !important;
  box-shadow: 0 12px 30px rgba(224, 90, 0, 0.06), 0 4px 10px rgba(0, 0, 0, 0.02) !important;
}

body.light-theme .training-card-featured {
  background: rgba(224, 90, 0, 0.03) !important;
  border-color: rgba(224, 90, 0, 0.2) !important;
}

body.light-theme .cert-roadmap-step {
  background: var(--gray-dark) !important;
  border-color: var(--border-light) !important;
}

body.light-theme .cert-roadmap-step:hover {
  background: rgba(224, 90, 0, 0.03) !important;
  border-color: rgba(224, 90, 0, 0.25) !important;
}

body.light-theme .project-card {
  background: #fdfdfd !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
  border-radius: 6px !important;
}

body.light-theme .project-card::before {
  background: rgba(0, 0, 0, 0.03) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
  color: rgba(0, 0, 0, 0.25) !important;
}

body.light-theme .project-card:hover {
  background: #ffffff !important;
  border-color: rgba(224, 90, 0, 0.35) !important;
  box-shadow: 0 12px 30px rgba(224, 90, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.02) !important;
}

body.light-theme .project-card:hover::before {
  background: rgba(224, 90, 0, 0.04) !important;
  border-bottom: 1px solid rgba(224, 90, 0, 0.12) !important;
  color: var(--red) !important;
}

body.light-theme .research-card {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(0, 0, 0, 0.07) !important;
  border-left: 3.5px solid var(--steel-blue, #00a3c4) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
  border-radius: 4px !important;
}

body.light-theme .research-card:hover {
  background: #ffffff !important;
  border-color: var(--steel-blue, #00a3c4) !important;
  box-shadow: 0 10px 25px rgba(0, 163, 196, 0.05), 0 4px 10px rgba(0, 0, 0, 0.02) !important;
}

body.light-theme .blog-card {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
  border-radius: 6px !important;
}

body.light-theme .blog-card:hover {
  background: #ffffff !important;
  border-color: var(--red) !important;
  box-shadow: 0 10px 25px rgba(224, 90, 0, 0.06), 0 4px 10px rgba(0, 0, 0, 0.02) !important;
}

body.light-theme .blog-card-featured {
  background: rgba(224, 90, 0, 0.03) !important;
  border-color: rgba(224, 90, 0, 0.2) !important;
}

body.light-theme .domain-card-num,
body.light-theme .domain-card-desc,
body.light-theme .why-card-desc,
body.light-theme .svc-card-desc,
body.light-theme .svc-card-deliverables li,
body.light-theme .training-sub,
body.light-theme .training-card-num,
body.light-theme .training-card-best,
body.light-theme .training-card-modules li,
body.light-theme .cert-step-certs,
body.light-theme .project-card-desc,
body.light-theme .project-tool,
body.light-theme .project-github-btn,
body.light-theme .research-card-meta,
body.light-theme .research-card-desc,
body.light-theme .research-tag,
body.light-theme .blog-sub,
body.light-theme .blog-card-desc,
body.light-theme .blog-card-date,
body.light-theme .blog-card-read-time,
body.light-theme .blog-subscribe-text,
body.light-theme .vision-node-year,
body.light-theme .vision-node-content p {
  color: var(--text-muted) !important;
}

body.light-theme .domain-card-num,
body.light-theme .training-card-num,
body.light-theme .vision-node-year {
  color: rgba(0, 0, 0, 0.35) !important;
}

body.light-theme .vision-node {
  border-bottom-color: var(--border-light) !important;
}

body.light-theme .vision-node-dot {
  background: rgba(0, 0, 0, 0.1) !important;
  border-color: rgba(0, 0, 0, 0.25) !important;
}

body.light-theme .vision-node-dot-active {
  background: var(--red) !important;
  border-color: var(--red) !important;
}

body.light-theme .vision-node-dot-goal {
  background: var(--steel-blue) !important;
  border-color: var(--steel-blue) !important;
}

body.light-theme .svc-card-deliverables li,
body.light-theme .training-card-modules li,
body.light-theme .project-card-footer,
body.light-theme .blog-card-footer {
  border-top-color: var(--border-light) !important;
  border-bottom-color: var(--border-light) !important;
}

body.light-theme .project-tool,
body.light-theme .research-tag {
  background: rgba(0, 0, 0, 0.03) !important;
  border-color: var(--border-light) !important;
}

body.light-theme .research-card-coming {
  border-style: dashed !important;
  border-color: rgba(0, 95, 115, 0.25) !important;
  background: rgba(0, 95, 115, 0.02) !important;
}

body.light-theme .blog-subscribe {
  background: rgba(224, 90, 0, 0.03) !important;
  border-color: rgba(224, 90, 0, 0.2) !important;
}

body.light-theme .blog-subscribe-input {
  background: #ffffff !important;
  border-color: var(--border-light) !important;
  color: var(--white) !important;
}

body.light-theme .training-cert-roadmap {
  border-top-color: var(--border-light) !important;
}

body.light-theme .intro-hero-tagline {
  border-top-color: var(--border-light) !important;
  color: var(--text-muted) !important;
}

/* ============================================================
   NEW PREMIUM FEATURES & BRD SYNCHRONIZATION STYLES
   ============================================================ */

/* --- Hero Canvas Matrix Rain --- */
.hero-matrix-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: screen;
  transition: opacity 0.5s ease;
}

body.light-theme .hero-matrix-canvas {
  opacity: 0.08;
  mix-blend-mode: multiply;
}


/* --- Hero CTAs --- */
.hero-ctas {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
  transition-delay: 0.35s;
  z-index: 4;
}

.intro-hero-subtitle.animate+.hero-ctas,
.hero-ctas.animate {
  opacity: 1;
  transform: translateY(0);
}

.hero-cta-btn-primary {
  padding: 0.85rem 1.75rem;
  background: var(--red);
  border: 1px solid var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.35s ease;
  box-shadow: 0 4px 15px rgba(224, 90, 0, 0.3);
  text-decoration: none;
}

.hero-cta-btn-primary:hover {
  background: transparent;
  color: var(--red);
  box-shadow: 0 6px 20px rgba(224, 90, 0, 0.5);
  transform: translateY(-2px);
}

.hero-cta-btn-secondary {
  padding: 0.85rem 1.75rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.35s ease;
  text-decoration: none;
}

.hero-cta-btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .hero-ctas {
    justify-content: center;
    margin-top: 1.5rem;
  }

  .hero-cta-btn-primary,
  .hero-cta-btn-secondary {
    padding: 0.7rem 1.25rem;
    font-size: 0.65rem;
  }
}

/* --- Social Proof Strip --- */
.social-proof-strip {
  background: #0d0d0d;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.06);
  padding: 2rem 4vw;
  overflow: hidden;
  position: relative;
  z-index: 5;
}

body.light-theme .social-proof-strip {
  background: #f7f7f7;
  border-bottom-color: var(--border-light);
}

.social-proof-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.social-proof-stats {
  display: flex;
  gap: 3rem;
  flex-shrink: 0;
}

.proof-stat-item {
  display: flex;
  flex-direction: column;
}

.proof-number {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--red);
  font-family: 'Inter', sans-serif;
  line-height: 1.1;
}

.proof-number sup {
  font-size: 0.65em;
  vertical-align: super;
  font-style: normal;
  margin-left: 1px;
}

.proof-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.25rem;
}

body.light-theme .proof-label {
  color: rgba(0, 0, 0, 0.55);
}

.social-proof-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

body.light-theme .social-proof-divider {
  background: rgba(0, 0, 0, 0.1);
}

.social-proof-logos-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.social-proof-logos-wrapper::before,
.social-proof-logos-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50px;
  z-index: 2;
  pointer-events: none;
}

.social-proof-logos-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #0d0d0d, transparent);
}

body.light-theme .social-proof-logos-wrapper::before {
  background: linear-gradient(to right, #f7f7f7, transparent);
}

.social-proof-logos-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #0d0d0d, transparent);
}

body.light-theme .social-proof-logos-wrapper::after {
  background: linear-gradient(to left, #f7f7f7, transparent);
}

.social-proof-logos-track {
  display: flex;
  align-items: center;
  gap: clamp(3rem, 6vw, 6rem);
  width: max-content;
  animation: marquee 30s linear infinite;
}

/* --- Social Proof Track Text Labels --- */
.social-proof-logos-track span {
  font-family: var(--font-main);
  font-size: clamp(1rem, 2.2vh, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
  white-space: nowrap;
}

.social-proof-logos-track span:hover {
  color: var(--red);
  transform: scale(1.1);
}

/* Light Theme Color Overrides */
body.light-theme .social-proof-logos-track span {
  color: rgba(15, 16, 18, 0.4);
}

body.light-theme .social-proof-logos-track span:hover {
  color: var(--red);
}

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

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

@media (max-width: 900px) {
  .social-proof-container {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .social-proof-stats {
    width: 100%;
    justify-content: space-between;
    gap: 1rem;
  }

  .social-proof-divider {
    display: none;
  }

  .social-proof-logos-track {
    gap: 2rem;
  }
}

/* --- About Mission Quote --- */
.about-mission-quote {
  font-family: var(--font-main);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 900;
  color: var(--red);
  line-height: 1.35;
  letter-spacing: -0.01em;
  border-left: 3px solid var(--red);
  padding-left: 20px;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

body.light-theme .about-mission-quote {
  color: var(--white);
  border-left-color: var(--red);
}

/* --- Domain Modal --- */
.domain-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

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

.domain-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.domain-modal-content {
  position: relative;
  background: #0d0d0d;
  border: 2px solid var(--red);
  border-radius: 4px;
  width: 90%;
  max-width: 750px;
  padding: 3rem;
  z-index: 2;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s var(--ease-out-expo);
  box-shadow: 0 0 50px rgba(224, 90, 0, 0.2);
}

.domain-modal.open .domain-modal-content {
  transform: scale(1) translateY(0);
}

.domain-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.domain-modal-close:hover {
  opacity: 1;
  color: var(--red);
}

.domain-modal-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.5rem;
}

.domain-modal-num {
  font-family: 'Courier New', monospace;
  color: var(--red);
  font-size: 1.5rem;
  font-weight: 700;
}

.domain-modal-title {
  font-size: 1.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #fff;
}

.domain-modal-section {
  margin-bottom: 2rem;
}

.domain-modal-section h4,
.domain-modal-col h4 {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1rem;
}

.modal-skill-bar-container {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 12px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.modal-skill-bar-fill {
  background: linear-gradient(90deg, var(--red) 0%, #ff781f 100%);
  height: 100%;
  width: 0;
  transition: width 1s var(--ease-out-expo);
  box-shadow: 0 0 10px rgba(224, 90, 0, 0.7);
}

.modal-skill-percentage {
  position: absolute;
  right: 1rem;
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  z-index: 2;
}

.domain-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.domain-modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.domain-modal-list li {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding-left: 1.25rem;
}

.domain-modal-list li::before {
  content: '⚡';
  color: var(--red);
  position: absolute;
  left: 0;
  font-size: 0.75rem;
}

.domain-modal-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.domain-modal-tool-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(224, 90, 0, 0.08);
  border: 1px solid rgba(224, 90, 0, 0.25);
  color: var(--red);
  padding: 0.4rem 0.85rem;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.domain-modal-tool-badge:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 0 15px rgba(224, 90, 0, 0.4);
}

body.light-theme .domain-modal-content {
  background: #fff;
  border-color: var(--border-light);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

body.light-theme .domain-modal-title,
body.light-theme .domain-modal-close {
  color: var(--white);
}

body.light-theme .domain-modal-section h4,
body.light-theme .domain-modal-col h4 {
  color: rgba(0, 0, 0, 0.5);
}

body.light-theme .modal-skill-bar-container {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .domain-modal-list li,
body.light-theme .modal-skill-percentage {
  color: var(--white);
}

body.light-theme .domain-modal-header {
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .domain-modal-content {
    padding: 2rem 1.5rem;
  }

  .domain-modal-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* --- Tools Cloud --- */
.tools-cloud-section {
  margin-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 4rem;
}

body.light-theme .tools-cloud-section {
  border-top-color: var(--border-light);
}

.tools-cloud-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.tool-cloud-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.tool-cloud-item img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.2);
  transition: filter 0.3s ease;
}

.tool-cloud-item span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
}

.tool-cloud-item:hover {
  border-color: rgba(224, 90, 0, 0.3);
  background: rgba(224, 90, 0, 0.04);
  box-shadow: 0 4px 15px rgba(224, 90, 0, 0.08);
  transform: translateY(-2px);
}

.tool-cloud-item:hover img {
  filter: grayscale(0) brightness(1);
}

.tool-cloud-item:hover span {
  color: var(--white);
}

body.light-theme .tool-cloud-item {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .tool-cloud-item span {
  color: rgba(0, 0, 0, 0.6);
}

body.light-theme .tool-cloud-item:hover span {
  color: var(--black);
}

/* --- Upcoming Batches --- */
.upcoming-batches-section {
  margin-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 4rem;
}

body.light-theme .upcoming-batches-section {
  border-top-color: var(--border-light);
}

.batches-table-wrapper {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.01);
}

body.light-theme .batches-table-wrapper {
  border-color: var(--border-light);
  background: rgba(0, 0, 0, 0.01);
}

.batches-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
}

.batches-table th,
.batches-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

body.light-theme .batches-table th,
body.light-theme .batches-table td {
  border-bottom-color: var(--border-light);
  color: var(--black);
}

.batches-table th {
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.02);
}

body.light-theme .batches-table th {
  color: rgba(0, 0, 0, 0.55);
  background: rgba(0, 0, 0, 0.02);
}

.batches-table tr:last-child td {
  border-bottom: none;
}

.batch-program-name {
  font-weight: 800;
  color: var(--white) !important;
}

body.light-theme .batch-program-name {
  color: var(--black) !important;
}

.batch-date {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  color: var(--red) !important;
}

.batch-mode-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

body.light-theme .batch-mode-badge {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.08);
}

.batch-price {
  font-weight: 700;
  color: #fff !important;
}

body.light-theme .batch-price {
  color: var(--black) !important;
}

.batch-inquiry-btn {
  display: inline-block;
  padding: 0.45rem 1rem;
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s ease;
  text-align: center;
}

.batch-inquiry-btn:hover {
  background: transparent;
  color: var(--red);
  box-shadow: 0 0 15px rgba(224, 90, 0, 0.3);
  border: 1px solid var(--red);
  padding: calc(0.45rem - 1px) calc(1rem - 1px);
}

/* --- Footer Map & Booking --- */
.footer-interactive-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 3rem;
  grid-column: 1 / -1;
}

body.light-theme .footer-interactive-section {
  border-top-color: var(--border-light);
}

.footer-widget-title {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  color: var(--white);
  border-left: 2.5px solid var(--red);
  padding-left: 12px;
}

body.light-theme .footer-widget-title {
  color: var(--black);
}

/* --- Fancy Tech Cards (Map & Booking) --- */
.map-card,
.booking-card {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  padding: 1.75rem;
  border-radius: 8px;
  height: calc(100% - 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
}

.map-card:hover,
.booking-card:hover {
  transform: translateY(-5px);
  border-color: rgba(224, 90, 0, 0.5);
  box-shadow: 0 15px 40px rgba(224, 90, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.4);
}

.map-card::before,
.booking-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.map-card:hover::before,
.booking-card:hover::before {
  opacity: 1;
}

body.light-theme .map-card,
body.light-theme .booking-card {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

body.light-theme .map-card:hover,
body.light-theme .booking-card:hover {
  border-color: var(--red);
  box-shadow: 0 15px 40px rgba(224, 90, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Card Tech Headers */
.card-tech-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono, monospace);
}

body.light-theme .card-tech-header {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.tech-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot.online {
  background: #00E5FF;
  box-shadow: 0 0 8px #00E5FF;
}

.status-dot.booking-dot {
  background: #25D366;
  box-shadow: 0 0 8px #25D366;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.tech-subtag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

body.light-theme .tech-subtag {
  color: rgba(0, 0, 0, 0.5);
  background: rgba(0, 0, 0, 0.04);
}

.map-card iframe {
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
  display: block;
}

body.light-theme .map-card iframe {
  border-color: rgba(0, 0, 0, 0.08);
}

.booking-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

body.light-theme .booking-desc {
  color: rgba(0, 0, 0, 0.7);
}

.booking-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.booking-features-list li {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.booking-features-list li .check-icon {
  color: #25D366;
  font-weight: 800;
}

body.light-theme .booking-features-list li {
  color: #1A1A1A;
}

.booking-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: var(--red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(224, 90, 0, 0.3);
}

.booking-btn:hover {
  background: transparent;
  color: var(--red);
  border: 1px solid var(--red);
  box-shadow: 0 0 15px rgba(224, 90, 0, 0.4);
  padding: calc(0.85rem - 1px) calc(1.5rem - 1px);
  transform: translateY(-2px);
}

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

  .map-card,
  .booking-card {
    padding: 1.5rem;
    height: auto;
  }
}

/* --- Footer Contact Grid & Social Strip --- */
.footer-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 3rem 0 3.5rem 0;
  width: 100%;
}

.contact-grid-card {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.contact-grid-card:hover {
  border-color: var(--white);
  background: rgba(0, 0, 0, 0.85);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(224, 90, 0, 0.15);
  border: 1.5px solid rgba(224, 90, 0, 0.3);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-grid-card:hover .contact-card-icon {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 0 15px rgba(224, 90, 0, 0.5);
}

.contact-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.contact-card-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
}

.contact-card-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white) !important;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.contact-card-value.text-only {
  color: rgba(255, 255, 255, 0.9) !important;
}

.contact-card-value:hover:not(.text-only) {
  color: var(--red) !important;
}

/* Light Theme Overrides */
body.light-theme .contact-grid-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
}

body.light-theme .contact-grid-card:hover {
  background: #ffffff;
  border-color: var(--red);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.15);
}

body.light-theme .contact-card-icon {
  background: rgba(224, 90, 0, 0.08);
  border-color: rgba(224, 90, 0, 0.2);
  color: var(--red);
}

body.light-theme .contact-card-label {
  color: rgba(0, 0, 0, 0.45);
}

body.light-theme .contact-card-value {
  color: #1A1A1A !important;
}

body.light-theme .contact-card-value.text-only {
  color: #1A1A1A !important;
}

body.light-theme .contact-card-value:hover:not(.text-only) {
  color: var(--red) !important;
}

.footer-social-strip {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.footer-social-strip .footer-social-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* --- Brand Backgrounds (Real Brand Colors/Gradients - Permanent) --- */
.footer-social-btn.social-linkedin {
  background: #0A66C2 !important;
}

.footer-social-btn.social-github {
  background: linear-gradient(135deg, #24292e 0%, #0f1115 100%) !important;
}

.footer-social-btn.social-medium {
  background: linear-gradient(135deg, #121212 0%, #000000 100%) !important;
}

.footer-social-btn.social-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
}

.footer-social-btn.social-youtube {
  background: linear-gradient(135deg, #ff0000 0%, #c40000 100%) !important;
}

.footer-social-btn.social-x {
  background: linear-gradient(135deg, #15202b 0%, #000000 100%) !important;
}

.footer-social-btn.social-guru {
  background: linear-gradient(135deg, #2ccb70 0%, #1da859 100%) !important;
}

.footer-social-btn.social-facebook {
  background: linear-gradient(135deg, #1877f2 0%, #3b5998 100%) !important;
}

.footer-social-btn.social-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
}

.footer-social-btn.social-email {
  background: linear-gradient(135deg, #ea4335 0%, #c5221f 100%) !important;
}

/* --- Brand Hover Interactive Transformations & Shadows --- */
.footer-social-strip .footer-social-btn:hover {
  transform: translateY(-5px) scale(1.08) rotate(3deg);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.25);
}

.footer-social-strip .footer-social-btn.social-linkedin:hover {
  box-shadow: 0 8px 25px rgba(10, 102, 194, 0.5);
}

.footer-social-strip .footer-social-btn.social-github:hover {
  box-shadow: 0 8px 25px rgba(36, 41, 46, 0.6);
}

.footer-social-strip .footer-social-btn.social-medium:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.footer-social-strip .footer-social-btn.social-instagram:hover {
  box-shadow: 0 8px 25px rgba(220, 39, 67, 0.5);
}

.footer-social-strip .footer-social-btn.social-youtube:hover {
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.5);
}

.footer-social-strip .footer-social-btn.social-x:hover {
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.footer-social-strip .footer-social-btn.social-guru:hover {
  box-shadow: 0 8px 25px rgba(44, 203, 112, 0.5);
}

.footer-social-strip .footer-social-btn.social-facebook:hover {
  box-shadow: 0 8px 25px rgba(24, 119, 242, 0.5);
}

.footer-social-strip .footer-social-btn.social-whatsapp:hover {
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.footer-social-strip .footer-social-btn.social-email:hover {
  box-shadow: 0 8px 25px rgba(234, 67, 53, 0.5);
}

body.light-theme .footer-social-strip .footer-social-btn {
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 0, 0, 0.05);
}

body.light-theme .footer-social-strip .footer-social-btn:hover {
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1024px) {
  .footer-contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ============================================================
   UNIFIED HUD NAVIGATION DRAWER
   ============================================================ */

.nav-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s;
}

.nav-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

#page-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--black);
  z-index: 10;
}

body.light-theme #page-wrapper {
  background: var(--off-white);
}

/* Page wrapper scale & translate in open menu state */
body.menu-open {
  background: #050505;
  overflow: hidden;
}

body.menu-open #page-wrapper {
  transform: translateX(-50vw) scale(0.85);
  border-radius: 24px;
  box-shadow: -20px 20px 60px rgba(0, 0, 0, 0.8);
  cursor: pointer;
  will-change: transform, border-radius;
}

/* Page wrapper dimming overlay when menu is open */
#page-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 99;
  pointer-events: none;
  transition: background 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.6s;
  border-radius: inherit;
}

body.menu-open #page-wrapper::before {
  background: rgba(0, 0, 0, 0.4);
  pointer-events: auto;
}

/* Close button on the right edge of shifted page wrapper */
.page-wrapper-close {
  position: fixed;
  top: 50%;
  left: 50vw;
  transform: translate(-50%, -50%) scale(0);
  width: 44px;
  height: 44px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  z-index: 10005;
  /* above everything */
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s, color 0.3s, left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

body.menu-open .page-wrapper-close {
  transform: translate(-50%, -50%) scale(1);
}

.page-wrapper-close:hover {
  background: var(--white);
  color: var(--red);
}

/* The Navigation Drawer container behind the page wrapper */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50vw;
  background: #050505;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transform: translateX(50px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 80px clamp(40px, 8vw, 120px);
}

.nav-drawer.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

/* Hide default drawer close button since we have the edge close button */
.nav-drawer-close {
  display: none !important;
}

.nav-drawer-content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.menu-options-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(0.4rem, 1.8vh, 0.9rem);
  width: 100%;
}

.menu-option-link {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.4rem, 3.4vh, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  text-transform: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-align: left;
  padding: 2px 0;
  display: block;
}

.menu-option-link:hover {
  color: var(--white);
  transform: translateX(12px);
}

.menu-option-link.nav-active {
  color: var(--red);
}

/* Responsive Rules */
@media (max-width: 900px) {
  body.menu-open #page-wrapper {
    transform: translateX(-75vw) scale(0.8);
  }

  .nav-drawer {
    width: 75vw;
    padding: 60px clamp(20px, 6vw, 40px);
    justify-content: flex-start !important;
    overflow-y: auto !important;
  }

  .page-wrapper-close {
    left: 25vw;
  }
}

/* Light Mode Overrides for Drawer and Links */
body.light-theme.menu-open {
  background: #e5e6e8;
}

body.light-theme .nav-drawer {
  background: #f5f6f8;
}

body.light-theme .menu-option-link {
  color: rgba(15, 16, 18, 0.6);
}

body.light-theme .menu-option-link:hover {
  color: #0f1012;
}

body.light-theme .menu-option-link.nav-active {
  color: var(--red);
}

/* Ensure navbar translates correctly in the fixed viewport when menu is open */
.navbar {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease, opacity 0.4s ease !important;
}

body.menu-open .navbar {
  transform: translateX(-50vw) scale(0.85) !important;
  transform-origin: center center;
}

@media (max-width: 900px) {
  body.menu-open .navbar {
    transform: translateX(-75vw) scale(0.8) !important;
  }
}

/* HUD Header styling */
.hud-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 20px;
  text-transform: uppercase;
}

.hud-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-status .status-indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 8px #25D366;
}

.hud-system-info {
  color: var(--red);
  text-shadow: 0 0 8px rgba(224, 90, 0, 0.3);
}

/* Fuzzy Search style */
.hud-search-container {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 14px 20px;
  margin-bottom: 10px;
  font-family: monospace;
  font-size: 15px;
  transition: all 0.3s ease;
}

.hud-search-container:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 15px rgba(224, 90, 0, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.hud-search-prompt {
  color: var(--red);
  font-weight: 700;
  margin-right: 12px;
  user-select: none;
}

.hud-search-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  flex-grow: 1;
  font-family: inherit;
  font-size: inherit;
}

.hud-search-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.hud-search-cursor {
  color: var(--red);
  animation: cursor-blink 1s infinite steps(1);
  font-weight: 900;
  margin-left: 2px;
}

@keyframes cursor-blink {
  50% {
    opacity: 0;
  }
}

/* Nav columns grid */
.hud-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  transition: opacity 0.3s ease;
}

.hud-nav-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: all 0.4s ease;
}

.hud-nav-col-header {
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  user-select: none;
  text-transform: uppercase;
}

.hud-nav-col-header .cyber-bracket {
  color: rgba(255, 255, 255, 0.15);
}

.hud-nav-col-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.nav-drawer-link {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  width: fit-content;
}

.nav-drawer-link .link-num {
  font-size: 0.75rem;
  font-family: monospace;
  color: var(--red);
  margin-right: 10px;
  opacity: 0.6;
  font-weight: 400;
}

.nav-drawer-link::after {
  content: ' //';
  color: var(--red);
  opacity: 0;
  font-family: monospace;
  margin-left: 6px;
  transition: opacity 0.3s ease;
}

.nav-drawer-link:hover {
  color: var(--red);
  transform: translateX(6px);
}

.nav-drawer-link:hover::after {
  opacity: 1;
}

/* HUD Footer styling */
.hud-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  margin-top: auto;
}

.hud-clocks {
  display: flex;
  gap: 20px;
}

.hud-clock-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.hud-clock-city {
  color: var(--red);
  font-weight: 700;
}

.mobile-theme-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 18px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.mobile-theme-toggle:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ===== DUAL-PANEL HUD NAVIGATION DRAWER ===== */
.hud-body-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  align-items: start;
  margin-top: 25px;
}

.hud-panel-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hud-panel-right {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hud-cyber-menu {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.hud-menu-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: opacity 0.3s ease;
}

.hud-section-header {
  font-family: monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
  opacity: 0.8;
  text-transform: uppercase;
}

.hud-menu-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hud-menu-item-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  font-family: monospace;
  font-size: 12px;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.hud-menu-item-link:hover {
  background: rgba(224, 90, 0, 0.08);
  border-color: var(--red);
  color: var(--red);
  transform: translateX(4px);
}

.hud-menu-item-link .item-port {
  color: var(--red);
  font-weight: 700;
}

.hud-menu-item-link .item-name {
  flex-grow: 1;
  text-align: left;
  margin-left: 10px;
}

.hud-menu-item-link .item-status {
  font-size: 10px;
  font-weight: 700;
  opacity: 0.5;
}

/* Topology Map and Nodes */
.hud-topology-wrapper {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 15px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.topology-header {
  font-family: monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hud-topology-svg {
  width: 100%;
  height: auto;
  max-width: 100%;
}

.radar-sweep-line {
  transform-origin: 250px 250px;
  animation: radar-sweep 6s linear infinite;
}

.topo-line,
.topo-sub-line {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1.5;
  transition: stroke 0.3s ease;
  stroke-dasharray: 2 2;
}

.topo-sub-line {
  stroke-dasharray: none;
}

.category-circle {
  fill: var(--red);
  filter: drop-shadow(0 0 4px var(--red));
}

.category-ring {
  fill: none;
  stroke: var(--red);
  stroke-width: 1;
  opacity: 0.3;
  transform-origin: center;
  animation: ring-pulse 2s infinite ease-out;
}

.category-label {
  fill: var(--red);
  font-family: monospace;
  font-size: 10px;
  font-weight: 700;
  text-anchor: middle;
}

.node-circle {
  fill: var(--white);
  opacity: 0.5;
  transition: fill 0.3s ease, opacity 0.3s ease;
}

.node-ring {
  fill: none;
  stroke: var(--white);
  stroke-width: 1;
  opacity: 0.15;
  transition: stroke 0.3s ease, opacity 0.3s ease;
}

.node-label {
  fill: rgba(255, 255, 255, 0.5);
  font-family: monospace;
  font-size: 9px;
  text-anchor: middle;
  transition: fill 0.3s ease;
}

.topo-child-node {
  cursor: pointer;
  transition: all 0.3s ease;
}

.topo-child-node:hover .node-circle,
.topo-child-node.hover-active .node-circle {
  fill: var(--red);
  opacity: 1;
}

.topo-child-node:hover .node-ring,
.topo-child-node.hover-active .node-ring {
  stroke: var(--red);
  opacity: 0.6;
}

.topo-child-node:hover .node-label,
.topo-child-node.hover-active .node-label {
  fill: var(--red);
  font-weight: 700;
}

.topo-child-node.dimmed {
  opacity: 0.25;
}

.nexus-circle {
  fill: var(--red);
  filter: drop-shadow(0 0 6px var(--red));
}

.nexus-ring-outer {
  fill: none;
  stroke: var(--red);
  stroke-width: 1.5;
  opacity: 0.3;
}

.nexus-label {
  fill: var(--white);
  font-family: monospace;
  font-size: 11px;
  font-weight: 700;
  text-anchor: middle;
  letter-spacing: 0.05em;
}

.hud-node-info-panel {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 12px;
  font-family: monospace;
}

.info-header {
  color: var(--red);
  font-weight: 700;
  font-size: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 6px;
  margin-bottom: 8px;
}

.info-row {
  display: flex;
  gap: 10px;
  font-size: 11px;
  margin-bottom: 4px;
}

.info-label {
  color: rgba(255, 255, 255, 0.4);
  width: 70px;
}

.info-val {
  color: var(--white);
}

.text-green {
  color: #25D366;
}

@keyframes ring-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Mobile responsive adjustments for dual-panel drawer */
@media (max-width: 900px) {
  .hud-body-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hud-panel-right {
    display: none !important;
  }
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .hud-nav-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hud-nav-col {
    gap: 15px;
  }

  .nav-drawer-link {
    font-size: 1.3rem;
  }
}

/* Light Mode Overrides */
body.light-theme .nav-drawer-overlay {
  background: rgba(255, 255, 255, 0.2);
}

body.light-theme .hud-header {
  border-bottom-color: rgba(0, 0, 0, 0.05) !important;
  color: rgba(15, 16, 18, 0.5) !important;
}

body.light-theme .hud-search-container {
  background: rgba(0, 0, 0, 0.02) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .hud-search-container:focus-within {
  background: rgba(0, 0, 0, 0.04) !important;
}

body.light-theme .hud-search-input {
  color: var(--white) !important;
}

body.light-theme .hud-search-input::placeholder {
  color: rgba(15, 16, 18, 0.4) !important;
}

body.light-theme .hud-nav-col-header .cyber-bracket {
  color: rgba(0, 0, 0, 0.15) !important;
}

body.light-theme .nav-drawer-link {
  color: var(--white) !important;
}

body.light-theme .nav-drawer-link:hover {
  color: var(--red) !important;
}

body.light-theme .hud-footer {
  border-top-color: rgba(0, 0, 0, 0.05) !important;
}

body.light-theme .hud-clock-item {
  color: rgba(15, 16, 18, 0.55) !important;
}

body.light-theme .mobile-theme-toggle {
  border-color: rgba(0, 0, 0, 0.15) !important;
  color: var(--white) !important;
}

body.light-theme .mobile-theme-toggle:hover {
  background: var(--white) !important;
  color: var(--black) !important;
  border-color: var(--white) !important;
}

/* ===== DYNAMIC ROLE CURSOR BLINKING ===== */
.role-cursor {
  display: inline-block;
  color: var(--red);
  animation: blink-cursor 0.8s step-end infinite;
  margin-left: 4px;
  will-change: opacity;
}

@keyframes blink-cursor {
  from,
  to {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

/* ===== ABOUT IDENTITIES GRID ===== */
/* ===== ABOUT ROLES SLIDER ===== */
.about-roles-slider-container {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-bottom: 3.5rem;
  overflow: hidden;
  /* Prevent horizontal scrollbar on viewport breakout */
}

.about-roles-slider {
  display: flex;
  gap: 32px;
  /* Increased gap for larger cards */
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 40px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: center;
  /* Center-align cards vertically */
  padding-left: calc(50% - 210px);
  /* Centers cards based on 420px width */
  padding-right: calc(50% - 210px);
}

.about-roles-slider::-webkit-scrollbar {
  display: none;
}

.role-card {
  flex: 0 0 420px;
  /* Increased card width to 420px */
  height: 560px;
  /* Increased card height to 560px */
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  /* Slightly larger rounded corners */
  overflow: visible;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  scroll-snap-align: center;
  cursor: pointer;
  position: relative;
  opacity: 0.75;
  /* Faded inactive cards to match mockup */
  transform: scale(0.82);
  /* Scaled down inactive cards */
  will-change: transform, opacity;
  /* GPU layer hint */
}

.role-card-img-wrap {
  position: relative;
  width: 100%;
  height: 410px;
  /* Fixed height for images wrapper */
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

.role-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.role-card-img[src*="about3"],
.role-card-img[src*="abou2"] {
  object-position: 50% 25% !important;
}

.role-card-img[src*="abou1"] {
  object-position: center 42% !important;
}

.role-card-img[src*="about10"] {
  object-position: center 40% !important;
}

.role-card-img[src*="about6"] {
  object-position: center center !important;
}

.role-card-badge {
  display: none;
  /* Hide badge text overlays from the image area */
}

.role-card-details {
  padding: 20px 10px 0 10px;
  opacity: 0.5;
  /* Inactive titles are visible but dimmed */
  transform: translateY(0);
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: auto;
}

/* Active center card state */
.role-card.active {
  opacity: 1;
  /* Fully visible when active */
  transform: scale(1.05);
  /* Scaled up in the center */
  z-index: 5;
}

.role-card.active .role-card-img-wrap {
  border-color: rgba(224, 90, 0, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.role-card.active .role-card-img {
  transform: scale(1.02);
}

.role-card.active .role-card-details {
  opacity: 1;
  /* Full opacity when card is centered/active */
}

.role-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.role-card-title {
  font-size: 1.25rem;
  /* Larger font size for larger cards */
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.015em;
}

.role-card-arrow {
  font-size: 1.3rem;
  color: var(--red);
  transition: transform 0.3s ease;
}

.role-card:hover .role-card-arrow,
.role-card.active .role-card-arrow {
  transform: translate(3px, -3px);
}

.role-card-desc {
  font-size: 0.88rem;
  /* Larger description text */
  color: var(--text-muted);
  line-height: 1.5;
  opacity: 0;
  /* Hidden for inactive cards */
  transform: translateY(10px);
  /* Slid down when inactive */
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.role-card.active .role-card-desc {
  opacity: 1;
  /* Faded in when active */
  transform: translateY(0);
  /* Slid up into position */
}

/* Slider Controls */
.roles-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
}

.roles-slider-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
  cursor: pointer;
}

.roles-slider-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: scale(1.05);
}

.roles-slider-progress {
  width: 150px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.roles-slider-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 10%;
  background: var(--red);
  border-radius: 3px;
  transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Light Theme Overrides */
body.light-theme .role-card {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .role-card.active,
body.light-theme .role-card:hover {
  background: rgba(0, 0, 0, 0.03);
  border-color: var(--red);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

body.light-theme .role-card-title {
  color: var(--black);
}

body.light-theme .role-card-desc {
  color: var(--text-muted-dark);
}

body.light-theme .role-card-badge {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.10);
  color: var(--black);
}

body.light-theme .roles-slider-btn {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.06);
  color: var(--black);
}

body.light-theme .roles-slider-btn:hover {
  background: var(--red);
  color: var(--white);
}

body.light-theme .roles-slider-progress {
  background: rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
  .about-roles-slider-container {
    margin-bottom: 2rem;
  }

  .about-roles-slider {
    gap: 16px;
    padding-left: calc(50% - 140px);
    padding-right: calc(50% - 140px);
  }

  .role-card {
    flex: 0 0 280px;
    height: 400px;
  }

  .role-card-img-wrap {
    height: 280px;
  }

  .role-card-details {
    padding: 12px 5px 0 5px;
  }

  .role-card-title {
    font-size: 1.05rem;
  }

  .role-card-desc {
    font-size: 0.8rem;
    line-height: 1.4;
  }
}

/* ============================================================
   PERFORMANCE: GPU COMPOSITING HINTS
   Promotes frequently-animated elements to their own compositor
   layer so transforms & opacity are handled by the GPU instead
   of triggering layout/paint on the main thread.
   ============================================================ */

/* Scroll-driven parallax layers */
.about-bg-text,
.about-dot-pattern,
.stats-dot-pattern,
.expertise-banner-bg-text,
.expertise-banner-image img,
.expertise-banner-content,
.expertise-banner-num,
.featured-work-top-bar,
.footer-top-bar,
.side-badge {
  will-change: transform;
}

/* Hero section scrolls off with scale + opacity */
#intro-hero,
.intro-hero-bg img,
.intro-hero-content,
.intro-hero-bottom {
  will-change: transform, opacity;
}

/* Navbar (transitions scrolled state + opacity) */
.navbar {
  will-change: transform, opacity;
}

/* Interactive cards with 3D tilt */
.stat-row,
.exp-item,
.skill-card-inner,
.rec-card {
  will-change: transform;
}

/* Work item preview floater */
.work-item-preview {
  will-change: transform, opacity;
}

/* Custom cursor elements (move every frame) */
.custom-cursor-dot,
.custom-cursor-follower {
  will-change: transform;
}

/* Scroll progress bar (width changes) */
#scrollProgress {
  will-change: width;
}

/* Preloader exit */
.preloader {
  will-change: transform;
}

/* Hero slideshow images */
.hero-slide {
  will-change: opacity;
}

/* Link underlines */
.link-underline-element {
  will-change: transform;
}

/* Hero line reveals */
.hero-line {
  will-change: transform, opacity;
}

/* ===== EDUCATION SECTION AURA CANVAS ===== */
.education-aura-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

#education .experience-container {
  position: relative;
  z-index: 2;
}

/* ===== SKILLS SECTION SPIDER CANVAS ===== */
.skills-spider-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

#skills .clients-container {
  position: relative;
  z-index: 2;
}

/* ===== LIGHT MODE OVERRIDES FOR SKILLS SECTION ===== */
body.light-theme #skills,
body.light-theme .clients,
body.light-theme #skills.clients {
  background: #f5f6f8 !important;
  background-color: #f5f6f8 !important;
}

body.light-theme #skills .clients-heading-full {
  color: #0f1012 !important;
}

body.light-theme #skills .section-label {
  color: rgba(15, 16, 18, 0.6) !important;
}

body.light-theme #skills .section-label-jp {
  color: #0f1012 !important;
}

body.light-theme #skills .skill-card-num {
  color: rgba(224, 90, 0, 0.15) !important;
}

body.light-theme #skills .skill-card-title {
  color: #0f1012 !important;
}

body.light-theme #skills .skill-card-list li {
  color: rgba(15, 16, 18, 0.7) !important;
}

body.light-theme #skills .skill-card-container:hover .skill-card-list li {
  color: rgba(15, 16, 18, 0.95) !important;
}

body.light-theme #skills .tools-cloud-section {
  border-top-color: rgba(0, 0, 0, 0.08) !important;
}

body.light-theme #skills .tools-cloud-section .section-label {
  color: rgba(15, 16, 18, 0.6) !important;
}

body.light-theme #skills .tool-cloud-item {
  background: rgba(0, 0, 0, 0.02) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

body.light-theme #skills .tool-cloud-item span {
  color: #0f1012 !important;
}

