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

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --color-bg: #0b0c0e;
  --color-white: #ffffff;
  --color-orange: #ff5018;
  --color-orange-hover: #ff6835;
  --color-gold: #e5a93b;
  --color-blue: #3d7eff;
  --color-green: #10b981;
  --color-text-muted: #b0b0ba;
  --color-text-dim: #8e8e99;
  --radius-pill: 9999px;
  --radius-card: 20px;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max-width: 1720px;
  --section-px: clamp(20px, 3.5vw, 48px);
}

html {
  scroll-behavior: smooth;
  background-color: var(--color-bg);
  color: var(--color-white);
  font-family: var(--font-main);
  overflow-x: hidden;
}

body {
  background: transparent;
  color: var(--color-white);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   BACKGROUND CANVAS SCROLL ANIMATION (DIRECT VISIBILITY)
   ========================================================================== */
#animation-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 0;
  pointer-events: none;
}

/* Foreground content directly over canvas with NO blur or gradient overlays */
.content-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  pointer-events: auto;
  background: transparent;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 24px var(--section-px);
  background: transparent;
  transition: var(--transition-smooth);
}

.nav-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.nav-logo-img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 15px;
  display: block;
  border: 1.5px solid rgba(96, 165, 250, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.75), 0 0 20px rgba(59, 130, 246, 0.25);
  background: #0d0f15;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.logo:hover .nav-logo-img {
  transform: scale(1.07);
  border-color: #60a5fa;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.88), 0 0 28px rgba(96, 165, 250, 0.55);
}

@media (max-width: 768px) {
  .nav-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 13px;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 26px);
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-white);
}

.nav-admin-btn {
  background: rgba(255, 77, 46, 0.12);
  border: 1px solid rgba(255, 77, 46, 0.35);
  color: #ff7a59 !important;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-admin-btn:hover {
  background: rgba(255, 77, 46, 0.28);
  border-color: #ff5018;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(255, 80, 24, 0.35);
  transform: translateY(-1px);
}

/* Pill Button (Nav) */
.btn-pill-nav {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--color-white);
  color: #0b0c0e;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 6px 6px 20px;
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.btn-pill-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.25);
}

.btn-arrow-circle {
  width: 32px;
  height: 32px;
  background-color: var(--color-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: transform 0.3s ease;
}

.btn-pill-nav:hover .btn-arrow-circle {
  transform: scale(1.05) rotate(-15deg);
}

/* Scrolled Navbar Visual State - Keep Header Transparent When Scrolling */
.navbar.scrolled {
  padding: 18px var(--section-px);
  background: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
}

/* Nav Actions Container */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger Toggle Button */
.hamburger-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  z-index: 102;
  position: relative;
}

.hamburger-btn:hover {
  background: rgba(255, 80, 24, 0.12);
  border-color: rgba(255, 80, 24, 0.45);
  box-shadow: 0 4px 20px rgba(255, 80, 24, 0.28);
  transform: translateY(-1px);
}

.hamburger-btn:active {
  transform: scale(0.95);
}

.hamburger-box {
  width: 20px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, background-color 0.25s ease;
  transform-origin: center;
}

.hamburger-btn:hover .hamburger-line {
  background-color: var(--color-orange);
}

/* Hamburger Active / Morph to 'X' */
.hamburger-btn.is-active {
  background: rgba(255, 80, 24, 0.15);
  border-color: rgba(255, 80, 24, 0.5);
  box-shadow: 0 0 20px rgba(255, 80, 24, 0.35);
}

.hamburger-btn.is-active .line-1 {
  transform: translateY(6px) rotate(45deg);
  background-color: var(--color-orange);
}

.hamburger-btn.is-active .line-2 {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn.is-active .line-3 {
  transform: translateY(-6px) rotate(-45deg);
  background-color: var(--color-orange);
}

/* ==========================================================================
   MOBILE NAVIGATION DRAWER & BACKDROP
   ========================================================================== */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 12, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(88vw, 380px);
  background: linear-gradient(168deg, rgba(17, 21, 32, 0.98) 0%, rgba(9, 11, 17, 0.99) 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -15px 0 60px rgba(0, 0, 0, 0.92), 0 0 45px rgba(255, 80, 24, 0.1);
  z-index: 1999;
  transform: translateX(105%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mobile-nav-drawer.is-open {
  transform: translateX(0);
}

body.mobile-nav-active {
  overflow: hidden;
  touch-action: none;
}

/* Drawer Header */
.mobile-drawer-header {
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  flex-shrink: 0;
}

.mobile-drawer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.drawer-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1.5px solid rgba(96, 165, 250, 0.35);
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  background: #0d0f15;
}

.drawer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drawer-brand-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.drawer-brand-role {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-orange);
  letter-spacing: 0.02em;
}

.mobile-drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.mobile-drawer-close:hover {
  background: rgba(255, 80, 24, 0.16);
  border-color: rgba(255, 80, 24, 0.4);
  color: #ffffff;
  transform: rotate(90deg);
}

/* Drawer Body */
.mobile-drawer-body {
  padding: 18px 20px;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: none;
}

.mobile-drawer-body::-webkit-scrollbar {
  display: none;
}

.drawer-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #34d399;
  width: fit-content;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.15);
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {

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

  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

.drawer-section-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 600;
  font-size: 14.5px;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: rgba(255, 80, 24, 0.08);
  border-color: rgba(255, 80, 24, 0.3);
  color: #ffffff;
  transform: translateX(4px);
}

.mobile-nav-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange);
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.mobile-nav-link:hover .mobile-nav-icon {
  background: rgba(255, 80, 24, 0.2);
  transform: scale(1.08);
}

.mobile-nav-text {
  flex: 1;
}

.mobile-nav-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 80, 24, 0.18);
  color: #ff7a59;
  border: 1px solid rgba(255, 80, 24, 0.35);
}

.admin-pulse-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 122, 89, 0.2);
  color: #ff7a59;
  border: 1px solid rgba(255, 122, 89, 0.4);
}

.mobile-nav-arrow {
  color: rgba(255, 255, 255, 0.3);
  transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-nav-link:hover .mobile-nav-arrow {
  color: var(--color-orange);
  transform: translateX(3px);
}

/* Mobile Drawer Action CTAs */
.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-btn-cv {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.mobile-btn-cv:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.mobile-btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff5018 0%, #ff7a59 100%);
  border: none;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(255, 80, 24, 0.38);
  transition: all 0.25s ease;
}

.mobile-btn-cta:hover {
  box-shadow: 0 6px 24px rgba(255, 80, 24, 0.55);
  transform: translateY(-1px);
}

/* Drawer Footer */
.mobile-drawer-footer {
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.mobile-drawer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.drawer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
}

.drawer-social-btn:hover {
  background: rgba(255, 80, 24, 0.15);
  border-color: rgba(255, 80, 24, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
}

.drawer-location-tag {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.42);
  text-align: center;
  margin: 0;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 130px var(--section-px) 50px;
  background: transparent;
  scroll-margin-top: 0;
}

.hero-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.hero-main-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: flex-end;
  gap: 40px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-greeting {
  font-size: 14px;
  font-weight: 600;
  color: #7cb0ff;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-title {
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 440px;
  justify-self: end;
  padding-bottom: 12px;
}

.hero-subhead {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-white);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Hero Services Columns */
.hero-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.service-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-orange);
  letter-spacing: 0.02em;
}

.service-name {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   ABOUT US SECTION (PLATFORM & METRICS)
   ========================================================================== */
.about-platform-section {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px var(--section-px) 100px;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  scroll-margin-top: 0;
}

.about-platform-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.about-main-grid {
  display: flex;
  flex-direction: column;
  max-width: 960px;
}

.about-text-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-main-title {
  font-size: clamp(40px, 4.8vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-white);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.about-main-subtitle {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(56, 189, 248, 0.3);
}

.about-main-desc {
  font-size: 17px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Bottom Stats Metrics Bar */
.about-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 48px;
  gap: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  text-align: center;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.stat-val {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  color: #f5a623;
  letter-spacing: -0.02em;
  line-height: 1;
  text-shadow: 0 4px 16px rgba(245, 166, 35, 0.35);
}

.stat-divider {
  width: 1px;
  height: 54px;
  background: rgba(255, 255, 255, 0.14);
}

/* ==========================================================================
   BRANDS SECTION
   ========================================================================== */
.brands-section {
  padding: 36px var(--section-px);
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brands-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brands-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
  text-transform: capitalize;
  letter-spacing: -0.01em;
  min-width: 180px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.brands-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 36px;
}

.brand-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand-item:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.brand-icon {
  font-size: 19px;
  line-height: 1;
}

/* ==========================================================================
/* ==========================================================================
   3D ARC CARD DECK SHOWCASE (PREMIUM VIBECODING ERA UI)
   ========================================================================== */
.fan-showcase-section {
  position: relative;
  padding: 110px var(--section-px) 120px;
  background: transparent;
  overflow: hidden;
}

.fan-showcase-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Header typography */
.fan-showcase-header {
  text-align: center;
  max-width: 860px;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.fan-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 80, 24, 0.1);
  border: 1px solid rgba(255, 80, 24, 0.3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff7a45;
  backdrop-filter: blur(10px);
}

.fan-badge-dot {
  color: #ff5018;
  font-size: 8px;
  animation: fanPulse 2s infinite ease-in-out;
}

@keyframes fanPulse {

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

  50% {
    opacity: 0.4;
    transform: scale(1.3);
  }
}

.fan-main-title {
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.fan-title-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 70%, #ff6b35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fan-subtitle {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--color-text-muted);
  max-width: 620px;
  line-height: 1.5;
}

/* 3D Arc Stage */
.fan-deck-stage {
  position: relative;
  width: 100%;
  max-width: 1280px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  perspective-origin: 50% 45%;
  margin-bottom: 30px;
  user-select: none;
  cursor: grab;
}

.fan-deck-stage:active {
  cursor: grabbing;
}

.fan-deck-viewport {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.fan-deck-track {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

/* Individual 3D Fan Card */
.fan-card {
  position: absolute;
  width: 270px;
  height: 380px;
  border-radius: 20px;
  will-change: transform, opacity;
  transform-style: preserve-3d;
  transition: box-shadow 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

.fan-card-inner {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: #11131a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.3s ease, transform 0.25s ease;
}

.fan-card.is-active .fan-card-inner {
  border-color: rgba(255, 80, 24, 0.65);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(255, 80, 24, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.fan-card:hover .fan-card-inner {
  border-color: rgba(255, 255, 255, 0.3);
}

.fan-card.is-active:hover .fan-card-inner {
  border-color: #ff5018;
}

/* Card Visual Image & Shine */
.fan-card-image-wrap {
  position: relative;
  width: 100%;
  height: 275px;
  overflow: hidden;
  background: #0d0f14;
}

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

.fan-card:hover .fan-card-img {
  transform: scale(1.05);
}

.fan-card-glass-shine {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.fan-card-top-bar {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.fan-category-pill {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(15, 17, 23, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.fan-live-indicator {
  font-size: 10px;
  font-weight: 700;
  color: #34d399;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.fan-pulse-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

/* Card Content Strip (Clean, focused on UI, no clutter) */
.fan-card-content {
  padding: 14px 16px;
  background: #11131a;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.fan-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.fan-card-quick-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.fan-tech-tag {
  font-size: 10px;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Navigation Arrow Controls */
.fan-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(20, 23, 33, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 120;
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fan-arrow-btn:hover {
  background: #ff5018;
  border-color: #ff5018;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 30px rgba(255, 80, 24, 0.4);
}

.fan-arrow-prev {
  left: 20px;
}

.fan-arrow-next {
  right: 20px;
}

/* Bottom Pagination Dots */
.fan-pagination-dots {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 100;
}

.fan-dot {
  width: 24px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.fan-dot.is-active {
  width: 42px;
  background: #ff5018;
  box-shadow: 0 0 12px rgba(255, 80, 24, 0.6);
}

/* Spotlight Active Project Bar */
.fan-spotlight-bar {
  width: 100%;
  max-width: 1100px;
  background: rgba(18, 20, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: opacity 0.3s ease;
}

.fan-spotlight-left {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}

.fan-spotlight-counter {
  font-family: var(--font-main);
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.fan-active-num {
  font-size: 32px;
  font-weight: 800;
  color: #ff5018;
  line-height: 1;
}

.fan-counter-slash {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.3);
}

.fan-total-num {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}

.fan-spotlight-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 540px;
}

.fan-spotlight-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a5b4fc;
}

.fan-spotlight-name {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.fan-spotlight-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.fan-spotlight-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.fan-gh-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.fan-gh-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .fan-deck-stage {
    height: 440px;
  }

  .fan-card {
    width: 240px;
    height: 350px;
  }

  .fan-spotlight-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .fan-spotlight-counter {
    border-right: none;
    padding-right: 0;
  }

  .fan-spotlight-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .fan-deck-stage {
    height: 400px;
  }

  .fan-card {
    width: 210px;
    height: 310px;
  }

  .fan-arrow-btn {
    width: 38px;
    height: 38px;
  }

  .fan-arrow-prev {
    left: 8px;
  }

  .fan-arrow-next {
    right: 8px;
  }
}

/* ==========================================================================
   BEHIND THE DESIGNS (SHOWCASE) SECTION
   ========================================================================== */
.behind-section {
  padding: 110px var(--section-px) 120px;
  background: transparent;
}

.behind-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.behind-header-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: flex-end;
  gap: 48px;
}

.behind-header-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-tag {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-orange);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.section-heading {
  font-size: clamp(40px, 4.8vw, 64px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--color-white);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.behind-header-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 480px;
  justify-self: end;
}

.behind-statement {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.behind-cta-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cta-subtitle {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.cta-subtitle-bold {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-white);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Orange Pill CTA Button */
.btn-orange-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--color-orange);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 6px 6px 20px;
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(255, 80, 24, 0.4);
}

.btn-orange-pill:hover {
  background-color: var(--color-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 80, 24, 0.6);
}

.btn-arrow-circle-white {
  width: 32px;
  height: 32px;
  background-color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange);
  transition: transform 0.3s ease;
}

.btn-orange-pill:hover .btn-arrow-circle-white {
  transform: scale(1.05) rotate(-15deg);
}

/* Project Showcase Gallery (Featured Cards with Rich Information) */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.showcase-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    background 0.35s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.showcase-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 80, 24, 0.03);
  border-color: rgba(255, 80, 24, 0.45);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 80, 24, 0.15);
}

.card-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: transparent;
}

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

.showcase-card:hover .card-img {
  transform: scale(1.04);
}

.card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 14, 20, 0.5) 0%, transparent 60%);
  transition: opacity 0.3s ease;
}

.showcase-card:hover .card-img-overlay {
  opacity: 0.6;
}

/* Floating Minimal Badges */
.showcase-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 5;
  pointer-events: none;
}

.showcase-cat-pill {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white);
  background: rgba(12, 14, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.showcase-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #10B981;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Bottom Transparent Information Panel (Minimal & Crisp) */
.showcase-info-panel {
  padding: 20px 20px 18px;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  justify-content: space-between;
  transition: background 0.3s ease;
}

.showcase-card:hover .showcase-info-panel {
  background: transparent;
}

.showcase-header-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.showcase-project-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
  letter-spacing: -0.015em;
  transition: color 0.25s ease;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.showcase-card:hover .showcase-project-title {
  color: #ff6e3d;
}

.showcase-project-subtitle {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--color-orange);
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.showcase-project-desc {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.showcase-metric-pill {
  font-size: 11px;
  font-weight: 600;
  color: #e5a93b;
  background: rgba(229, 169, 59, 0.08);
  border: 1px solid rgba(229, 169, 59, 0.22);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.showcase-tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mini-tech-pill {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.showcase-explore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  margin-top: 4px;
}

.showcase-explore-btn:hover {
  background: rgba(255, 80, 24, 0.15);
  border-color: rgba(255, 80, 24, 0.5);
  box-shadow: 0 4px 16px rgba(255, 80, 24, 0.25);
  transform: translateY(-2px);
}

/* ==========================================================================
   SCROLL-TRIGGERED REVEAL ANIMATIONS (SMOOTH ENTRY)
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  will-change: opacity, transform;
}

.scroll-reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger delays for showcase cards */
.showcase-card:nth-child(1) {
  transition-delay: 0.06s;
}

.showcase-card:nth-child(2) {
  transition-delay: 0.18s;
}

.showcase-card:nth-child(3) {
  transition-delay: 0.3s;
}

.showcase-card:nth-child(4) {
  transition-delay: 0.15s;
}

.showcase-card:nth-child(5) {
  transition-delay: 0.28s;
}

.showcase-card:nth-child(6) {
  transition-delay: 0.4s;
}

.certificate-card:nth-child(1) {
  transition-delay: 0.05s;
}

.certificate-card:nth-child(2) {
  transition-delay: 0.12s;
}

.certificate-card:nth-child(3) {
  transition-delay: 0.19s;
}

.certificate-card:nth-child(4) {
  transition-delay: 0.26s;
}

.certificate-card:nth-child(5) {
  transition-delay: 0.33s;
}

.certificate-card:nth-child(6) {
  transition-delay: 0.40s;
}

/* ==========================================================================
   SECTION 1: WORKFLOW PLAN (WORK EXPERIENCE TIMELINE MATRIX)
   ========================================================================== */
.workflow-section {
  position: relative;
  z-index: 10;
  padding: 130px var(--section-px) 110px;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.workflow-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.workflow-badge,
.palette-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #a5b4fc;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  align-self: flex-start;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.badge-dot {
  color: #6366f1;
  font-size: 11px;
}

.workflow-header-wrap,
.workflow-header-grid {
  max-width: 820px;
}

.workflow-title {
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  margin: 0;
}

.serif-accent {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: #c7d2fe;
}

.workflow-desc {
  font-size: 15.5px;
  line-height: 1.68;
  color: rgba(226, 232, 240, 0.74);
  max-width: 520px;
  margin: 0;
}

/* Timeline Matrix */
.workflow-timeline-track {
  position: relative;
  width: 100%;
  min-height: 380px;
  margin: 10px 0;
  padding: 10px 0;
}

/* Full-Section Vertical Grid Guidelines (Spans from Header to Footer) */
.timeline-grid-lines {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--container-max-width);
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  pointer-events: none;
  z-index: 1;
}

.grid-line {
  width: 100%;
  height: 100%;
  border-right: 1px dashed rgba(255, 255, 255, 0.11);
}

.grid-line:last-child {
  border-right: none;
}

.timeline-steps-matrix {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-row {
  display: flex;
  width: 100%;
  box-sizing: border-box;
}

.step-row-1 {
  justify-content: flex-start;
  padding-left: 0;
}

.step-row-2 {
  justify-content: flex-start;
  padding-left: 0;
}

.step-row-3 {
  justify-content: flex-start;
  padding-left: 26%;
}

.step-row-4 {
  justify-content: flex-start;
  padding-left: 51%;
}

.step-row-5 {
  justify-content: flex-start;
  padding-left: 51%;
}

.step-row-6 {
  justify-content: flex-end;
  padding-right: 0;
}

.step-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(18, 20, 36, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  padding: 6px 8px 6px 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 100%;
  box-sizing: border-box;
}

.step-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(26, 30, 54, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.2);
}

.step-pill-current {
  background: rgba(22, 25, 48, 0.75);
  border: 1.5px solid rgba(99, 102, 241, 0.5);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2);
}

.step-pill-current:hover {
  border-color: rgba(129, 140, 248, 0.85);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.35);
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
}

.step-icon svg {
  display: block;
}

.step-label {
  font-size: 14.5px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -0.01em;
}

/* White Capsule Badges Matching Reference Screenshot */
.step-badge {
  background: #ffffff;
  color: #090a12;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 4px 13px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.step-badge:hover {
  transform: scale(1.02);
}

/* Active Live Highlight Badge */
.step-badge-active {
  background: #ffffff !important;
  color: #090a12 !important;
  border: 1px solid #ffffff !important;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.45), 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}

.live-dot {
  font-size: 8px;
  color: #4f46e5;
  animation: pulse-live-dot 1.8s infinite ease-in-out;
}

@keyframes pulse-live-dot {

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

  50% {
    opacity: 0.35;
    transform: scale(0.7);
  }
}

.workflow-footer-note {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 900px;
  margin-top: 24px;
  position: relative;
  z-index: 2;
}

.note-bullet {
  color: #6366f1;
  font-size: 13px;
  text-shadow: 0 0 10px rgba(99, 102, 241, 0.85);
  flex-shrink: 0;
}

.note-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.72);
  margin: 0;
}

/* ==========================================================================
   SECTION 2: COLOR PALETTE
   ========================================================================== */
.palette-section {
  padding: 120px var(--section-px);
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.palette-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.palette-title {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-white);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  max-width: 780px;
}

.palette-visual-wrapper {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

.color-wheel-center {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wheel-svg {
  filter: drop-shadow(0 0 35px rgba(61, 126, 255, 0.25));
}

.pulse-node {
  animation: pulseLight 3s infinite alternate ease-in-out;
}

@keyframes pulseLight {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }

  100% {
    transform: scale(1.08);
    opacity: 1;
    filter: drop-shadow(0 0 10px #3D7EFF);
  }
}

/* Inspector Cards (Architecture Plates) */
.inspect-card {
  position: absolute;
  width: 320px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: none;
  transition: var(--transition-smooth);
  z-index: 2;
}

.inspect-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(255, 255, 255, 0.03);
}

.card-white {
  top: 6%;
  right: 5%;
}

.card-deep-bg {
  bottom: 6%;
  right: 5%;
}

.card-blue {
  bottom: 6%;
  left: 5%;
}

.card-dark-accent {
  top: 6%;
  left: 5%;
}

.inspect-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.inspect-name {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.inspect-close {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: color 0.2s ease;
}

.inspect-close:hover {
  color: #ffffff;
}

.inspect-usage {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.78);
  margin-bottom: 14px;
}

.inspect-specs {
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 12px;
}

.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  gap: 12px;
}

.spec-label {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #a5b4fc;
  text-transform: uppercase;
  flex-shrink: 0;
}

.spec-val {
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  text-align: right;
  word-break: break-word;
}

.spec-pct {
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   SECTION 3: SKILLS & EXPERIENCE (TECH STACK)
   ========================================================================== */
.skills-section {
  padding: 120px 0;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.skills-container {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.skills-header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 0 var(--section-px);
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.skills-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-green);
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(16, 185, 129, 0.4);
}

.skills-title {
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-white);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   ONE-LINE ROTATING SKILLS MARQUEE (INFINITE LOOP)
   ========================================================================== */
.skills-marquee-wrapper {
  position: relative;
  width: 100%;
  padding: 24px 0;
  overflow: hidden;
  user-select: none;
  /* Smooth feathered fade on left and right edges */
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.skills-marquee-track {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: rotateSkillsOneLine 38s linear infinite;
  will-change: transform;
}

/* Pause animation on hover so the user can easily read and inspect */
.skills-marquee-wrapper:hover .skills-marquee-track {
  animation-play-state: paused;
}

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

/* Tech Card in One Line Rotating Marquee */
.tech-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 22px 10px 14px;
  background: rgba(16, 20, 30, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease;
}

.tech-card:hover {
  transform: translateY(-4px) scale(1.05);
  background: rgba(22, 28, 46, 0.94);
  border-color: rgba(61, 126, 255, 0.7);
  box-shadow: 0 10px 30px rgba(61, 126, 255, 0.35), inset 0 0 16px rgba(61, 126, 255, 0.12);
}

.tech-icon-wrap {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: transform 0.28s ease, background 0.28s ease;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.tech-icon-wrap svg {
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
  display: block;
}

.tech-card:hover .tech-icon-wrap {
  transform: rotate(6deg) scale(1.12);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.tech-name {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: color 0.2s ease;
}

.tech-card:hover .tech-name {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(61, 126, 255, 0.7);
}

/* Continuous Horizontal Rotation Keyframes */
@keyframes rotateSkillsOneLine {
  0% {
    transform: translateX(0);
  }

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

/* ==========================================================================
   3D ARC CERTIFICATES & CREDENTIALS SHOWCASE (VIBECODING ERA UI)
   ========================================================================== */
/* ==========================================================================
   3D ARC CERTIFICATES & CREDENTIALS SHOWCASE (PROFESSIONAL DIPLOMA UI)
   ========================================================================== */
.cert-fan-section {
  position: relative;
  padding: 110px var(--section-px) 120px;
  background: transparent;
  overflow: hidden;
}

.cert-fan-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Header typography */
.cert-fan-header {
  text-align: center;
  max-width: 860px;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cert-gold-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  background: rgba(229, 169, 59, 0.12);
  border: 1px solid rgba(229, 169, 59, 0.35);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f6c870;
  backdrop-filter: blur(10px);
}

.cert-gold-dot {
  color: #e5a93b;
  font-size: 8px;
  animation: pulseGold 2s infinite ease-in-out;
}

@keyframes pulseGold {

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

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

.cert-fan-title {
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.cert-title-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #f6c870 70%, #ff5018 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cert-fan-subtitle {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--color-text-muted);
  max-width: 640px;
  line-height: 1.5;
}

/* 3D Arc Stage */
.cert-deck-stage {
  position: relative;
  width: 100%;
  max-width: 1280px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  perspective-origin: 50% 45%;
  margin-bottom: 30px;
  user-select: none;
  cursor: grab;
}

.cert-deck-stage:active {
  cursor: grabbing;
}

.cert-deck-viewport {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.cert-deck-track {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

/* Individual 3D Certificate Card - Professional Executive Diploma Style */
.cert-fan-card {
  position: absolute;
  width: 295px;
  height: 410px;
  border-radius: 22px;
  will-change: transform, opacity;
  transform-style: preserve-3d;
  transition: box-shadow 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

.cert-fan-card-inner {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(20, 24, 36, 0.95) 0%, rgba(10, 12, 18, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 0 24px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
}

.cert-fan-card.is-active .cert-fan-card-inner {
  border-color: rgba(229, 169, 59, 0.85);
  box-shadow: 0 30px 85px rgba(0, 0, 0, 0.85), 0 0 35px rgba(229, 169, 59, 0.28), inset 0 0 24px rgba(229, 169, 59, 0.08);
}

.cert-fan-card:hover .cert-fan-card-inner {
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.8), 0 0 20px rgba(229, 169, 59, 0.15);
}

/* Card Top Bar */
.cert-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.cert-card-org {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cert-card-icon {
  font-size: 15px;
}

.cert-card-org-name {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #f1f5f9;
  text-transform: uppercase;
}

.cert-card-status {
  font-size: 10px;
  font-weight: 800;
  color: #f6c870;
  background: rgba(229, 169, 59, 0.12);
  border: 1px solid rgba(229, 169, 59, 0.35);
  padding: 3px 8px;
  border-radius: 9999px;
  letter-spacing: 0.06em;
}

/* Official Crest & Seal Wrap */
.cert-card-crest-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 18px 10px;
  position: relative;
}

.cert-gold-seal {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(229, 169, 59, 0.22) 0%, rgba(180, 110, 15, 0.08) 70%);
  border: 2px dashed rgba(246, 200, 112, 0.55);
  box-shadow: 0 0 25px rgba(229, 169, 59, 0.2), inset 0 0 16px rgba(229, 169, 59, 0.15);
  color: #f6c870;
  transition: transform 0.4s ease;
}

.cert-fan-card:hover .cert-gold-seal {
  transform: scale(1.08) rotate(5deg);
}

.cert-ribbon-sub {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e5a93b;
  margin-top: 10px;
  text-align: center;
}

/* Card Main Typography */
.cert-card-main-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6px 18px 16px;
  flex: 1;
  justify-content: center;
}

.cert-recipient-sub {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
  margin-bottom: 4px;
}

.cert-degree-name {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin: 4px 0 6px;
  letter-spacing: -0.01em;
}

.cert-conferred-text {
  font-size: 11.5px;
  color: #cbd5e1;
  margin-bottom: 12px;
}

.cert-conferred-text strong {
  color: #ffffff;
  font-weight: 700;
}

.cert-distinction-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(229, 169, 59, 0.1);
  border: 1px solid rgba(229, 169, 59, 0.28);
  color: #f6c870;
  font-size: 11px;
  font-weight: 700;
}

.cert-distinction-pill .star-icon {
  font-size: 11px;
}

/* Card Bottom Verification Strip */
.cert-card-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 10, 16, 0.7);
  margin-top: auto;
}

.cert-serial-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.cert-serial-lbl {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #64748b;
  text-transform: uppercase;
}

.cert-serial-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: #cbd5e1;
  letter-spacing: 0.04em;
}

.cert-doc-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: var(--radius-pill, 9999px);
  background: rgba(255, 80, 24, 0.12);
  border: 1px solid rgba(255, 80, 24, 0.38);
  color: #ff7a59;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  z-index: 10;
  pointer-events: auto;
  white-space: nowrap;
}

.cert-doc-btn:hover {
  background: #ff5018;
  border-color: #ff5018;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 80, 24, 0.45);
}

.cert-doc-btn .arrow {
  font-size: 11px;
  transition: transform 0.2s ease;
}

.cert-doc-btn:hover .arrow {
  transform: translate(2px, -2px);
}

/* Arrow controls */
.cert-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(20, 23, 33, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 120;
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.cert-arrow-btn:hover {
  background: #e5a93b;
  border-color: #e5a93b;
  color: #0b0c10;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 30px rgba(229, 169, 59, 0.4);
}

.cert-arrow-prev {
  left: 20px;
}

.cert-arrow-next {
  right: 20px;
}

/* Pagination Dots */
.cert-pagination-dots {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 100;
}

.cert-dot {
  width: 24px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.cert-dot.is-active {
  width: 42px;
  background: #e5a93b;
  box-shadow: 0 0 12px rgba(229, 169, 59, 0.6);
}

/* Spotlight Bar */
.cert-spotlight-bar {
  width: 100%;
  max-width: 1100px;
  background: rgba(18, 20, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: opacity 0.3s ease;
}

.cert-spotlight-left {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}

.cert-spotlight-counter {
  font-family: var(--font-main);
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-active-num {
  font-size: 32px;
  font-weight: 800;
  color: #e5a93b;
  line-height: 1;
}

.cert-counter-slash {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.3);
}

.cert-total-num {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}

.cert-spotlight-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 540px;
}

.cert-spotlight-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #f6c870;
}

.cert-spotlight-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.cert-spotlight-issuer {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.cert-spotlight-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .cert-deck-stage {
    height: 470px;
  }

  .cert-fan-card {
    width: 260px;
    height: 380px;
  }

  .cert-spotlight-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .cert-spotlight-counter {
    border-right: none;
    padding-right: 0;
  }

  .cert-spotlight-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .cert-deck-stage {
    height: 440px;
  }

  .cert-fan-card {
    width: 235px;
    height: 360px;
  }

  .cert-arrow-btn {
    width: 38px;
    height: 38px;
  }

  .cert-arrow-prev {
    left: 8px;
  }

  .cert-arrow-next {
    right: 8px;
  }
}

.testimonials-section {
  padding: 120px var(--section-px);
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.testimonials-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.testimonials-header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.testimonials-title {
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-white);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  max-width: 800px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-card);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(61, 126, 255, 0.5);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(61, 126, 255, 0.18);
}

.quote-icon {
  font-size: 42px;
  font-weight: 800;
  color: var(--color-blue);
  line-height: 1;
  margin-bottom: -8px;
  text-shadow: 0 2px 10px rgba(61, 126, 255, 0.4);
}

.testimonial-quote-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
}

.testimonial-quote {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  transition: all 0.3s ease;
}

.testimonial-quote.is-expanded {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}

.testimonial-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  color: #60a5fa;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  margin-top: 2px;
  font-family: inherit;
  transition: color 0.2s ease, transform 0.2s ease;
  user-select: none;
}

.testimonial-more-btn:hover {
  color: #93c5fd;
  text-decoration: underline;
  transform: translateX(2px);
}

.testimonial-more-btn .more-icon {
  font-size: 10px;
  transition: transform 0.25s ease;
  display: inline-block;
}

.testimonial-more-btn.is-active .more-icon {
  transform: rotate(180deg);
}

.testimonial-author-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.avatar-1 {
  background: linear-gradient(135deg, #ff5018, #ff8c42);
}

.avatar-2 {
  background: linear-gradient(135deg, #e5a93b, #ffd166);
  color: #0b0c0e;
}

.avatar-3 {
  background: linear-gradient(135deg, #3d7eff, #8ec5fc);
}

.avatar-4 {
  background: linear-gradient(135deg, #10b981, #6ee7b7);
  color: #0b0c0e;
}

.avatar-5 {
  background: linear-gradient(135deg, #8b5cf6, #c084fc);
}

.avatar-6 {
  background: linear-gradient(135deg, #ec4899, #f472b6);
}

.author-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.author-role {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  padding: 120px var(--section-px) 100px;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* Contact Header Centered */
.contact-header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 680px;
  margin: 0 auto;
}

.contact-top-title {
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--color-white);
  text-transform: uppercase;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.contact-accent-bar {
  width: 64px;
  height: 3px;
  background: var(--color-gold);
  border-radius: 2px;
  margin: 4px 0 8px;
}

.contact-top-desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Get In Touch & 3 Cards Row */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  align-items: start;
  gap: 48px;
}

.contact-title-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-huge-heading {
  font-size: clamp(40px, 4.5vw, 62px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-gold);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-info-card {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
}

.contact-info-card:hover {
  transform: translateY(-6px);
  border-color: rgba(229, 169, 59, 0.6);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 25px rgba(229, 169, 59, 0.2);
}

.card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(229, 169, 59, 0.16);
  border: 1px solid rgba(229, 169, 59, 0.3);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-info-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.card-info-text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  flex-grow: 1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.card-info-text strong {
  color: var(--color-white);
  font-weight: 600;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-gold);
  text-decoration: none;
  transition: gap 0.2s ease, opacity 0.2s ease;
  margin-top: 8px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.card-link:hover {
  gap: 12px;
  opacity: 0.9;
}

.card-link-arrow {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.card-link:hover .card-link-arrow {
  transform: translateX(4px);
}

/* Contact Form Box (Two Columns) */
.contact-form-box {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

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

.form-group {
  width: 100%;
}

.custom-input,
.custom-textarea {
  width: 100%;
  background: rgba(15, 17, 21, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 16px 20px;
  font-family: var(--font-main);
  font-size: 15px;
  color: var(--color-white);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.custom-input::placeholder,
.custom-textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.custom-input:focus,
.custom-textarea:focus {
  border-color: var(--color-gold);
  background: rgba(15, 17, 21, 0.85);
}

.custom-textarea {
  resize: vertical;
  min-height: 110px;
}

.btn-send-message {
  align-self: flex-start;
  background: var(--color-gold);
  color: #0b0c0e;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  border: none;
  padding: 14px 36px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 18px rgba(229, 169, 59, 0.3);
  margin-top: 4px;
}

.btn-send-message:hover {
  background: #f0b74d;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(229, 169, 59, 0.45);
}

.form-box-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
}

.query-tag {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.query-heading {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-gold);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.query-description {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.site-footer {
  padding: 90px var(--section-px) 40px;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 60px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-talk-title {
  font-size: clamp(52px, 6vw, 84px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-gold);
  line-height: 1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.social-circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-circle-btn:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #0b0c0e;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(229, 169, 59, 0.4);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  text-align: right;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.footer-address {
  line-height: 1.6;
}

.footer-email,
.footer-phone {
  font-weight: 600;
  color: var(--color-white);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.copyright-text strong {
  color: var(--color-white);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: var(--color-white);
}

.legal-divider {
  color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-form-box {
    grid-template-columns: 1fr;
    padding: 40px;
    gap: 40px;
  }

  .palette-visual-wrapper {
    min-height: auto;
    flex-direction: column;
    gap: 36px;
  }

  .inspect-card {
    position: static;
    width: 100%;
    max-width: 440px;
  }

  .tech-stack-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 36px 20px;
  }
}

@media (max-width: 1024px) {

  .hero-main-grid,
  .behind-header-grid,
  .workflow-header-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-right,
  .behind-header-right {
    justify-self: start;
    max-width: 100%;
  }

  .hero-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .brands-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .brands-list {
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
  }

  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-content: center !important;
  }

  .step-row-4 {
    justify-content: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .tech-stack-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-main-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

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

  .hamburger-btn {
    display: inline-flex;
  }

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

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

  .nav-links {
    display: none;
  }

  .hamburger-btn {
    display: inline-flex;
  }

  .hero-section {
    padding: 95px 18px 36px;
  }

  .hero-greeting {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    background: rgba(124, 176, 255, 0.1);
    border: 1px solid rgba(124, 176, 255, 0.25);
    border-radius: 999px;
    font-size: 11.5px;
    width: fit-content;
  }

  .hero-title {
    font-size: clamp(17px, 4.2vw, 21px);
    line-height: 1.2;
  }

  .hero-subhead {
    font-size: clamp(17px, 4.5vw, 22px);
    line-height: 1.35;
  }

  .hero-desc {
    font-size: 14.5px;
    line-height: 1.6;
  }

  .hero-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding-top: 24px;
  }

  .service-item {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 14px;
    transition: all 0.25s ease;
  }

  .service-item:hover {
    background: rgba(255, 80, 24, 0.08);
    border-color: rgba(255, 80, 24, 0.35);
    transform: translateY(-2px);
  }

  .service-num {
    font-size: 12px;
    padding: 4px 8px;
    background: rgba(255, 80, 24, 0.12);
    border: 1px solid rgba(255, 80, 24, 0.28);
    border-radius: 8px;
    flex-shrink: 0;
  }

  .service-name {
    font-size: 14px;
    font-weight: 600;
  }

  .about-platform-section,
  .brands-section,
  .behind-section,
  .workflow-section,
  .palette-section,
  .skills-section,
  .certificates-section,
  .testimonials-section,
  .contact-section {
    padding: 56px 18px;
  }

  .showcase-grid,
  .certificates-grid,
  .contact-cards-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .about-stats-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
  }

  .about-stats-bar .stat-item {
    padding: 14px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
  }

  .about-stats-bar .stat-label {
    font-size: 12px;
    color: var(--color-text-dim);
  }

  .about-stats-bar .stat-val {
    font-size: 17px !important;
    font-weight: 700;
    color: #ffffff;
  }

  .stat-divider {
    display: none;
  }

  .tech-stack-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 14px;
  }

  .behind-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .behind-cta-group .btn-pill-nav,
  .behind-cta-group .btn-pill-secondary {
    width: 100%;
    justify-content: center;
  }

  .contact-form-box {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .contact-form-box input,
  .contact-form-box textarea,
  .contact-form-box select {
    font-size: 16px !important;
  }

  .contact-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
  }

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

  .footer-right {
    align-items: flex-start;
    text-align: left;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .workflow-timeline-track {
    min-height: auto;
    padding: 10px 0;
  }

  .timeline-grid-lines {
    opacity: 0.25;
  }

  .timeline-steps-matrix {
    gap: 16px;
    align-items: center;
  }

  .step-row {
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
  }

  .step-pill {
    max-width: 100%;
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding: 10px 14px;
    border-radius: 16px;
    gap: 8px 12px;
  }

  .step-label {
    font-size: 13.5px;
    text-align: center;
    word-break: break-word;
  }

  .step-badge {
    font-size: 11px;
    padding: 2px 10px;
  }
}

@media (max-width: 580px) {
  .desktop-nav-action {
    display: none !important;
  }

  .nav-logo-img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .hamburger-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

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

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

  .tech-stack-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 26px;
  }

  .hero-subhead {
    font-size: 16px;
  }

  .contact-cards-grid {
    gap: 12px;
  }
}

/* ==========================================================================
   PROJECTS & CERTIFICATIONS SHOWCASE PAGE
   ========================================================================== */
.projects-page {
  background-color: #0c0e14;
  background-image:
    radial-gradient(circle at 18% 10%, rgba(255, 80, 24, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 82% 20%, rgba(255, 45, 0, 0.06) 0%, transparent 42%),
    radial-gradient(circle at 12% 52%, rgba(230, 60, 20, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 88% 70%, rgba(255, 90, 30, 0.07) 0%, transparent 50%),
    radial-gradient(circle at 50% 92%, rgba(255, 50, 10, 0.05) 0%, transparent 42%);
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  color: var(--color-white);
}

/* Atmospheric Ambient Glowing Orbs with low opacity orange-red */
.ambient-glow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.glow-top-right {
  top: -120px;
  right: -100px;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(255, 80, 24, 0.14) 0%, rgba(255, 40, 0, 0.04) 55%, transparent 75%);
  filter: blur(130px);
}

.glow-mid-left {
  top: 36%;
  left: -180px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(235, 60, 15, 0.11) 0%, rgba(255, 75, 25, 0.03) 55%, transparent 75%);
  filter: blur(140px);
}

.glow-cert-right {
  top: 68%;
  right: -140px;
  width: 660px;
  height: 660px;
  background: radial-gradient(circle, rgba(255, 90, 30, 0.13) 0%, rgba(220, 45, 10, 0.03) 55%, transparent 75%);
  filter: blur(130px);
}

.glow-bottom-left {
  bottom: -150px;
  left: 12%;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(255, 65, 15, 0.09) 0%, transparent 65%);
  filter: blur(120px);
}

.ambient-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(circle at 50% 30%, black 50%, transparent 95%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 50%, transparent 95%);
}

/* Projects Hero Section */
.projects-hero-section {
  padding: 150px var(--section-px) 50px;
  position: relative;
  z-index: 10;
}

.projects-hero-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.back-link-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition-smooth);
  width: fit-content;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.back-link-nav:hover {
  color: var(--color-white);
  border-color: rgba(255, 80, 24, 0.4);
  background: rgba(255, 80, 24, 0.08);
  transform: translateX(-3px);
}

.projects-hero-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.projects-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-orange);
  background: rgba(255, 80, 24, 0.1);
  border: 1px solid rgba(255, 80, 24, 0.25);
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.projects-hero-title {
  font-size: clamp(42px, 6vw, 84px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--color-white);
}

.text-gradient-orange {
  background: linear-gradient(135deg, #ffffff 10%, #ff5018 70%, #ff7845 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.projects-hero-desc {
  font-size: clamp(16px, 1.35vw, 19px);
  color: var(--color-text-muted);
  max-width: 780px;
  line-height: 1.65;
}

/* Quick Metrics Bar */
.projects-metrics-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 28px;
  padding: 20px 28px;
  background: rgba(18, 20, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  width: fit-content;
}

.pmetric-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pmetric-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.pmetric-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-dim);
  line-height: 1.3;
}

.pmetric-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   MASTER VIEW SWITCHER (PROJECTS / CERTIFICATES)
   ========================================================================== */
.master-tabs-section {
  padding: 0 var(--section-px) 40px;
  position: relative;
  z-index: 15;
}

.master-tabs-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.master-tab-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(17, 19, 27, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.master-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.master-tab-btn:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.06);
}

.master-tab-btn.active {
  background: var(--color-white);
  color: #0b0c0e;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.master-tab-btn.active .tab-badge-count {
  background: #0b0c0e;
  color: var(--color-white);
}

.tab-badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 700;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   TOOLBAR: LIVE SEARCH & CATEGORY FILTERS
   ========================================================================== */
.projects-toolbar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 40px;
}

.toolbar-search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.search-box-wrap {
  position: relative;
  flex: 1;
  max-width: 520px;
}

.search-icon-svg {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-dim);
  pointer-events: none;
}

.search-input-field {
  width: 100%;
  padding: 14px 20px 14px 48px;
  background: rgba(18, 20, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: var(--transition-smooth);
  backdrop-filter: blur(12px);
}

.search-input-field:focus {
  border-color: var(--color-orange);
  background: rgba(24, 27, 38, 0.85);
  box-shadow: 0 0 20px rgba(255, 80, 24, 0.2);
}

.search-input-field::placeholder {
  color: var(--color-text-dim);
}

.category-pills-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-pill-btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--color-text-muted);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-pill-btn:hover {
  color: var(--color-white);
  border-color: rgba(255, 80, 24, 0.3);
  background: rgba(255, 80, 24, 0.07);
}

.filter-pill-btn.active {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-white);
  box-shadow: 0 4px 18px rgba(255, 80, 24, 0.35);
}

/* ==========================================================================
   SHOWCASE GRID & PROJECT CARDS
   ========================================================================== */
.projects-showcase-section {
  padding: 0 var(--section-px) 120px;
  position: relative;
  z-index: 10;
}

.projects-showcase-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.projects-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.project-card-full {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  overflow: hidden;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease,
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.4s ease;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  position: relative;
  cursor: pointer;
}

.project-card-full:hover {
  transform: translateY(-8px);
  background: rgba(255, 80, 24, 0.04);
  border-color: rgba(255, 80, 24, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(255, 80, 24, 0.22);
}

.project-card-full.highlight-target-card {
  border-color: #ff5018 !important;
  box-shadow: 0 0 45px rgba(255, 80, 24, 0.6), 0 24px 60px rgba(0, 0, 0, 0.8) !important;
  transform: translateY(-6px);
  animation: pulseCardTarget 1.5s ease-in-out infinite alternate;
}

@keyframes pulseCardTarget {
  0% {
    box-shadow: 0 0 25px rgba(255, 80, 24, 0.4), 0 16px 40px rgba(0, 0, 0, 0.6);
  }

  100% {
    box-shadow: 0 0 50px rgba(255, 80, 24, 0.75), 0 24px 60px rgba(0, 0, 0, 0.9);
  }
}

/* Thumbnail Media */
.project-thumb-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.6;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}

.project-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card-full:hover .project-thumb-img {
  transform: scale(1.04);
}

.project-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 14, 20, 0.7) 0%, rgba(12, 14, 20, 0.1) 60%, transparent 100%);
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.project-card-full:hover .project-thumb-overlay {
  opacity: 0.65;
}

.thumb-tag-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(12, 14, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-white);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 2;
}

.thumb-status-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 11px;
  font-weight: 600;
  color: #10B981;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 2;
}

.thumb-quick-btn {
  position: absolute;
  bottom: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: #0b0c0e;
  font-size: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.project-card-full:hover .thumb-quick-btn {
  opacity: 1;
  transform: translateY(0);
}

.thumb-quick-btn:hover {
  background: var(--color-orange);
  color: var(--color-white);
}

/* Card Body Content */
.project-card-body {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
  justify-content: space-between;
}

.project-card-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.25;
  letter-spacing: -0.015em;
  transition: color 0.25s ease;
}

.project-card-full:hover .project-card-title {
  color: #ff6e3d;
}

.project-card-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* Metrics Pill Strip */
.project-metrics-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.card-metric-pill {
  font-size: 11px;
  font-weight: 600;
  color: #e5a93b;
  background: rgba(229, 169, 59, 0.08);
  border: 1px solid rgba(229, 169, 59, 0.22);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

/* Tech Stack Tags */
.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag-pill {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.project-card-full:hover .tech-tag-pill {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

/* Card Actions Footer */
.project-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-card-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: var(--color-orange);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(255, 80, 24, 0.3);
}

.btn-card-primary:hover {
  background: var(--color-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 80, 24, 0.45);
}

.btn-card-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-card-secondary:hover {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.btn-card-details {
  border: none;
  background: transparent;
  color: var(--color-text-dim);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
  font-family: var(--font-main);
}

.btn-card-details:hover {
  color: var(--color-white);
  text-decoration: underline;
}

/* Empty Search Results State */
.projects-empty-state {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  grid-column: 1 / -1;
  background: rgba(16, 18, 25, 0.5);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  gap: 16px;
}

.empty-icon {
  font-size: 40px;
}

.empty-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
}

.empty-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  max-width: 400px;
}

.btn-reset-filters {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  background: var(--color-orange);
  color: var(--color-white);
  border: none;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
}

/* ==========================================================================
   CERTIFICATIONS SECTION (IN SHOWCASE PAGE)
   ========================================================================== */
.cert-showcase-section {
  padding: 0 var(--section-px) 120px;
  position: relative;
  z-index: 10;
}

.cert-showcase-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.cert-showcase-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
}

.cert-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: rgba(229, 169, 59, 0.1);
  border: 1px solid rgba(229, 169, 59, 0.25);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.cert-showcase-title {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-white);
  line-height: 1.1;
}

.cert-showcase-desc {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--color-text-muted);
  line-height: 1.65;
}

.cert-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Enhanced Certificate Card for dark relevant background */
.cert-card-enhanced {
  background: rgba(16, 18, 26, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  padding: 32px 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  backdrop-filter: blur(16px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}

.cert-card-enhanced:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 80, 24, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 80, 24, 0.18);
}

/* ==========================================================================
   MODAL DIALOG (PROJECT QUICK VIEW & CREDENTIALS)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.modal-window {
  background: #0f1118;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 40px rgba(255, 80, 24, 0.15);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-window {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
  transform: rotate(90deg);
}

.modal-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  position: relative;
}

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

.modal-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modal-header-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-project-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.modal-project-category {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.modal-desc-full {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.modal-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.modal-hl-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-hl-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-dim);
  text-transform: uppercase;
}

.modal-hl-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-white);
}

.modal-actions-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 10px;
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS FOR SHOWCASE
   ========================================================================== */
@media (max-width: 1200px) {
  .cert-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .projects-full-grid {
    grid-template-columns: 1fr;
  }

  .cert-showcase-grid {
    grid-template-columns: 1fr;
  }

  .toolbar-search-row {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box-wrap {
    max-width: 100%;
  }

  .modal-highlights-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .projects-hero-section {
    padding: 120px 20px 30px;
  }

  .projects-showcase-section,
  .cert-showcase-section {
    padding: 0 20px 80px;
  }

  .master-tab-bar {
    width: 100%;
    justify-content: stretch;
  }

  .master-tab-btn {
    flex: 1;
    justify-content: center;
    padding: 10px 14px;
    font-size: 13px;
  }

  .projects-metrics-strip {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
  }

  .pmetric-item {
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
  }

  .pmetric-num {
    font-size: 22px;
    font-weight: 800;
  }

  .pmetric-label {
    font-size: 11.5px;
    line-height: 1.3;
  }

  .pmetric-divider {
    display: none;
  }

  .category-pills-wrap {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    width: 100%;
  }

  .category-pills-wrap::-webkit-scrollbar {
    display: none;
  }

  .filter-pill-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 12.5px;
  }

  .project-card-body {
    padding: 20px;
  }

  .modal-body {
    padding: 20px;
  }
}

/* ==========================================================================
   CERTIFICATE LIGHTBOX / DOCUMENT VIEWER MODAL
   ========================================================================== */
.cert-viewer-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-viewer-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cert-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 12, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.cert-modal-container {
  position: relative;
  width: 95vw;
  max-width: 1200px;
  max-height: 92vh;
  background: linear-gradient(160deg, #131722 0%, #0a0d14 100%);
  border: 1px solid rgba(229, 169, 59, 0.35);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.95), 0 0 50px rgba(229, 169, 59, 0.15);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.94) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  z-index: 1;
}

.cert-viewer-modal.is-open .cert-modal-container {
  transform: scale(1) translateY(0);
}

/* Modal Header */
.cert-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 16px;
  flex-shrink: 0;
}

.cert-modal-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cert-modal-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cert-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f6c870;
}

.cert-live-dot {
  color: #10b981;
  font-size: 10px;
  animation: certPulseLive 1.8s infinite ease-in-out;
}

@keyframes certPulseLive {

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

  50% {
    opacity: 0.4;
    transform: scale(1.3);
  }
}

.cert-modal-id-pill {
  font-family: monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.cert-modal-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cert-modal-issuer {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Modal Actions & Toolbar */
.cert-modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Zoom Toolbar */
.cert-zoom-toolbar {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 2px 4px;
  gap: 2px;
}

.cert-tool-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #cbd5e1;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.cert-tool-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.cert-zoom-display {
  font-family: monospace;
  font-size: 11px;
  font-weight: 700;
  color: #f6c870;
  min-width: 42px;
  text-align: center;
  user-select: none;
}

.cert-modal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cert-modal-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-1px);
}

.cert-modal-download-btn {
  background: rgba(229, 169, 59, 0.15);
  border-color: rgba(229, 169, 59, 0.4);
  color: #f6c870;
}

.cert-modal-download-btn:hover {
  background: #e5a93b;
  border-color: #e5a93b;
  color: #0b0d14;
  box-shadow: 0 4px 16px rgba(229, 169, 59, 0.35);
}

.cert-modal-open-btn:hover {
  background: #ff5018;
  border-color: #ff5018;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 80, 24, 0.35);
}

.cert-modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cert-modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  transform: rotate(90deg);
}

/* Mobile Screen View Switcher Tabs */
.cert-modal-mobile-tabs {
  display: none;
  background: rgba(10, 13, 20, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  gap: 8px;
}

.cert-mobile-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cert-mobile-tab.is-active {
  background: rgba(229, 169, 59, 0.2);
  border-color: #e5a93b;
  color: #f6c870;
}

/* Modal Body - Dual-Pane */
.cert-modal-dual-body {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  min-height: 520px;
  max-height: calc(92vh - 120px);
  overflow: hidden;
  background: #080a10;
  padding: 0 !important;
}

/* Left Canvas Pane */
.cert-modal-canvas-pane {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at center, #111520 0%, #06080d 100%);
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  height: 100%;
}

.cert-canvas-viewport {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: grab;
  user-select: none;
}

.cert-canvas-viewport.is-dragging {
  cursor: grabbing;
}

.cert-canvas-transform-wrapper {
  transform-origin: center center;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.cert-modal-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #94a3b8;
  font-size: 13px;
  background: #080a10;
  z-index: 5;
  transition: opacity 0.2s ease;
}

.cert-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(229, 169, 59, 0.2);
  border-top-color: #e5a93b;
  border-radius: 50%;
  animation: certSpin 0.8s linear infinite;
}

@keyframes certSpin {
  to {
    transform: rotate(360deg);
  }
}

.cert-modal-img {
  max-width: 92%;
  max-height: 64vh;
  height: auto;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: opacity 0.3s ease;
  user-select: none;
  pointer-events: none;
}

.cert-canvas-hint-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(6, 8, 13, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: #94a3b8;
  text-align: center;
}

.cert-hint-icon {
  font-size: 12px;
}

/* Right Dossier Pane */
.cert-modal-dossier-pane {
  position: relative;
  overflow-y: auto;
  padding: 24px 28px;
  background: linear-gradient(180deg, rgba(16, 21, 32, 0.95) 0%, rgba(10, 13, 20, 0.98) 100%);
  display: flex;
  flex-direction: column;
}

.cert-modal-dossier-pane::-webkit-scrollbar {
  width: 6px;
}

.cert-modal-dossier-pane::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

.cert-modal-dossier-pane::-webkit-scrollbar-thumb {
  background: rgba(229, 169, 59, 0.3);
  border-radius: 4px;
}

.cert-modal-dossier-pane::-webkit-scrollbar-thumb:hover {
  background: rgba(229, 169, 59, 0.6);
}

.cert-dossier-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cert-dossier-header-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cert-dossier-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cert-badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(229, 169, 59, 0.15);
  border: 1px solid rgba(229, 169, 59, 0.35);
  color: #f6c870;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

.cert-badge-status {
  display: inline-flex;
  align-items: center;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}

.cert-dossier-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.cert-dossier-org {
  font-size: 13px;
  font-weight: 600;
  color: #f6c870;
  margin: 0;
}

/* Honors Card */
.cert-honors-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(229, 169, 59, 0.12) 0%, rgba(229, 169, 59, 0.03) 100%);
  border: 1px solid rgba(229, 169, 59, 0.3);
  border-radius: 10px;
}

.cert-honors-icon {
  font-size: 20px;
  line-height: 1;
}

.cert-honors-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cert-honors-label {
  font-size: 9.5px;
  font-weight: 800;
  color: #f6c870;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cert-honors-text {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

/* Metadata Matrix */
.cert-metadata-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
}

.cert-meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cert-meta-id-item {
  grid-column: span 2;
}

.cert-meta-label {
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cert-meta-id-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cert-meta-id-code {
  font-family: monospace;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-copy-id-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.cert-copy-id-btn:hover {
  background: rgba(229, 169, 59, 0.2);
  border-color: #e5a93b;
  color: #f6c870;
}

.cert-meta-val {
  font-size: 12.5px;
  font-weight: 600;
  color: #e2e8f0;
}

.cert-meta-recipient {
  color: #f6c870;
  font-weight: 700;
}

/* Subheadings & Description */
.cert-subheading {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.cert-dossier-desc {
  font-size: 12.5px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0;
}

/* Skills Tags */
.cert-skills-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cert-skill-pill {
  font-size: 11px;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.cert-skill-pill:hover {
  border-color: rgba(229, 169, 59, 0.5);
  background: rgba(229, 169, 59, 0.1);
  color: #f6c870;
  transform: translateY(-1px);
}

/* Security Ledger */
.cert-security-ledger {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 10px;
}

.cert-ledger-shield {
  color: #34d399;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-ledger-text strong {
  display: block;
  font-size: 11.5px;
  color: #34d399;
}

.cert-ledger-text p {
  font-size: 10.5px;
  color: #94a3b8;
  margin: 2px 0 0 0;
}

/* Dossier Action Buttons */
.cert-dossier-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.btn-cert-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  background: linear-gradient(135deg, #e5a93b 0%, #d49326 100%);
  border: 1px solid #f6c870;
  border-radius: 10px;
  color: #0b0d14;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(229, 169, 59, 0.3);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cert-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(229, 169, 59, 0.5);
  color: #000000;
  background: linear-gradient(135deg, #f6c870 0%, #e5a93b 100%);
}

.btn-cert-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cert-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-cert-share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 9px 16px;
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cert-share:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #f6c870;
  color: #f6c870;
}

/* Modal Footer */
.cert-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.cert-modal-verified-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #f6c870;
}

.cert-modal-footer-shortcuts {
  font-size: 11px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cert-key-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1px 5px;
  border-radius: 4px;
  color: #cbd5e1;
  font-family: monospace;
  font-size: 10px;
}

/* Toast Feedback Popup */
.cert-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: linear-gradient(135deg, #182030 0%, #0d121c 100%);
  border: 1px solid #e5a93b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(229, 169, 59, 0.3);
  padding: 10px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-toast.is-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cert-toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #10b981;
  color: #0b0d14;
  font-size: 12px;
  font-weight: 900;
}

/* Interactive Cues for Certificate Cards */
.cert-fan-card {
  cursor: pointer;
}

.cert-fan-card .cert-card-topbar {
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.cert-fan-card:hover .cert-card-topbar {
  background: rgba(255, 255, 255, 0.06);
}

.cert-fan-card .cert-card-crest-wrap {
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-fan-card:hover .cert-card-crest-wrap {
  transform: scale(1.05);
}

.cert-fan-card .cert-degree-name {
  cursor: pointer;
  transition: color 0.2s ease;
}

.cert-fan-card:hover .cert-degree-name {
  color: #f6c870;
}

.cert-fan-card.is-active {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(229, 169, 59, 0.25);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .cert-modal-container {
    max-height: 96vh;
    border-radius: 16px;
  }

  .cert-modal-mobile-tabs {
    display: flex;
  }

  .cert-modal-dual-body {
    display: block;
    min-height: auto;
    max-height: calc(96vh - 160px);
    overflow-y: auto;
  }

  .cert-modal-canvas-pane {
    display: none;
    height: 52vh;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .cert-modal-canvas-pane.is-tab-active {
    display: flex;
  }

  .cert-modal-dossier-pane {
    display: none;
    padding: 20px;
    height: auto;
    max-height: none;
  }

  .cert-modal-dossier-pane.is-tab-active {
    display: flex;
  }
}

@media (max-width: 768px) {
  .cert-modal-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 18px;
    gap: 12px;
  }

  .cert-modal-actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
  }

  .cert-zoom-toolbar {
    order: 1;
  }

  .cert-modal-tool-btn,
  .cert-modal-open-btn {
    display: none;
    /* Keep clean on small mobile */
  }

  .cert-metadata-matrix {
    grid-template-columns: 1fr;
  }

  .cert-meta-id-item {
    grid-column: span 1;
  }

  .cert-modal-footer {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    padding: 10px 18px;
  }

  .cert-modal-footer-shortcuts {
    display: none;
  }
}