@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');
@import url('https://cdn.jsdelivr.net/gh/nicosalvato/satoshi-font@main/css/satoshi.css');

:root {
  /* ─── Monochrome Cyan Palette (near-black + cyan) ─── */
  --bg:            #0D0D0F;   /* near-black background */
  --surface:       #16171A;   /* panels / cards */
  --border:        #2A2C30;
  --violet:        #38C6EC;   /* cyan — primary accent */
  --hot-pink:      #6FDAF4;   /* light cyan — secondary accent */
  --lavender:      #FFFFFF;   /* white — headings / "white" text */
  --muted:         #6E747C;
  --body:          #C2C7CF;

  /* ─── Semantic aliases (map old names → new palette) ─── */
  --dark-teal:         var(--bg);
  --darker-teal:       #0A0A0C;
  --medium-teal:       var(--surface);
  --teal-accent:       var(--violet);
  --teal-glow:         var(--hot-pink);
  --text-white:        var(--lavender);
  --text-gray:         var(--body);
  --text-muted:        var(--muted);

  /* ─── Typography ─── */
  --font-display: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-main:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ─── Gradients & Glass ─── */
  --gradient-primary:     linear-gradient(135deg, #38C6EC, #6FDAF4);
  --glass-bg:             rgba(255, 255, 255, 0.04);
  --glass-border:         rgba(255, 255, 255, 0.12);
  --glass-hover-bg:       rgba(255, 255, 255, 0.07);
  --glass-hover-border:   rgba(56, 198, 236, 0.40);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--body);
  background-color: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========================================
   INTERACTIVE BACKGROUND
   ======================================== */
.interactive-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  --mouse-x: 50%;
  --mouse-y: 50%;
}

.aurora {
  position: absolute;
  width: 60vw;
  height: 60vh;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  animation: drift 25s infinite alternate ease-in-out;
}

.aurora-1 {
  background: var(--violet);
  top: -10%;
  left: -10%;
}

.aurora-2 {
  background: var(--hot-pink);
  bottom: -10%;
  right: -10%;
  animation-duration: 30s;
  animation-direction: alternate-reverse;
}

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10vw, 10vh) scale(1.1); }
  100% { transform: translate(-10vw, 15vh) scale(0.9); }
}

.spotlight-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle 800px at var(--mouse-x) var(--mouse-y),
    rgba(56, 198, 236, 0.07),
    transparent 40%
  );
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(13, 13, 15, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: none;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(8, 8, 10, 0.98);
  box-shadow: 0 4px 30px rgba(56, 198, 236, 0.06);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-brand a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-brand a:hover {
  color: var(--hot-pink);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--teal-accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  position: relative;
}

.nav-links a.active {
  color: var(--teal-accent);
  background: rgba(255, 255, 255, 0.08);
}

.nav-links a:hover {
  color: var(--hot-pink);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--lavender);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Adjust main content to account for fixed navbar */
main {
  padding-top: 70px;
}

.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* ========================================
   HERO SECTION
   ======================================== */
#hero {
  min-height: calc(100vh - 70px);
  background-color: transparent;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0;
}

/* ── Hero inner container ── */
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 40px;
}

/* ── Small round avatar ── */
.hero-avatar {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: visible;
  z-index: 2;
}

.hero-avatar-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border: 2px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 0 0 4px rgba(13, 13, 15, 0.85),
    0 0 30px rgba(255, 255, 255, 0.06);
  transition: all 0.4s ease;
  mix-blend-mode: normal;
  mask-image: none;
  -webkit-mask-image: none;
}

.hero-avatar-img:hover {
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow:
    0 0 0 4px rgba(13, 13, 15, 0.85),
    0 0 40px rgba(255, 255, 255, 0.10);
  transform: scale(1.05);
}

/* Ambient radial glow behind avatar that blends into bg */
.hero-avatar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 40%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

/* Legacy: keep .hero-content working for sub-pages that still use it */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Ensure all content within hero section is above the ::before pseudo-element */
#hero .login-container,
#hero .form-container,
#hero .dashboard-container,
#hero .portfolio-items-container {
  position: relative;
  z-index: 1;
}

/* Hero Eyebrow — label style */
.hero-eyebrow {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  padding: 0.4rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  color: var(--lavender);
  line-height: 1.1;
}

/* Headline reads as solid white in this theme */
.text-violet { color: var(--text-white); }
.text-pink   { color: var(--text-white); }

.hero-subtitle {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--lavender);
  margin-bottom: 2rem;
}

.hero-description {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--body);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

/* Hero CTA Buttons */
.hero-cta {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-cta-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  border: 1px solid rgba(56, 198, 236, 0.5);
  box-shadow: 0 4px 15px rgba(56, 198, 236, 0.25);
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(56, 198, 236, 0.4);
  border-color: rgba(56, 198, 236, 0.8);
}

.btn-cta-outline {
  background: transparent;
  color: var(--teal-accent);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-cta-outline:hover {
  transform: translateY(-3px);
  background: rgba(56, 198, 236, 0.08);
  border-color: rgba(56, 198, 236, 0.4);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ========================================
   SECTION STYLING
   ======================================== */
section {
  padding: 80px 0;
}

.page-header {
  padding: 80px 40px 40px;
  text-align: center;
  background-color: transparent;
}

/* About page: collapse the empty band between the eyebrow and the story so
   content is visible without scrolling (mirrors the Education fix). .page-header
   is shared across pages, so this is scoped with the .about-hero class. */
.page-header.about-hero {
  padding-top: 100px;
  padding-bottom: 0;
}

.page-header.about-hero + .about-story-section {
  padding-top: 28px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--lavender);
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-subheading {
  font-size: 1.1rem;
  color: var(--body);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

#experience-journey {
  background-color: var(--bg);
  background-image: 
    radial-gradient(rgba(56, 198, 236, 0.15) 1px, transparent 1px),
    radial-gradient(circle at 15% 0%, rgba(56, 198, 236, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 85% 100%, rgba(56, 198, 236, 0.12) 0%, transparent 50%);
  background-size: 24px 24px, 100vw 100vh, 100vw 100vh;
  background-attachment: fixed;
  position: relative;
  z-index: 10;
}

#about {
  background-color: transparent;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--lavender);
}

.about-text {
  font-size: 1.05rem;
  color: var(--body);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  max-width: 900px;
}

/* ========================================
   ABOUT PAGE — STORY SECTION
   ======================================== */
.about-story-section {
  padding: 80px 0 28px;
  background-color: transparent;
}

.about-story-container {
  max-width: 800px;
  margin: 0 auto;
}

.about-narrative {
  text-align: left;
}

.about-text-large {
  font-size: 1.15rem;
  color: var(--body);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.about-text-large:last-child {
  margin-bottom: 0;
}

/* ========================================
   ABOUT PAGE — CAPABILITY CARDS
   ======================================== */
.about-capabilities-section {
  padding: 28px 0;
  background-color: transparent;
}

.about-capabilities-container {
  max-width: 1100px;
  margin: 0 auto;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.capability-card {
  background: var(--glass-bg);
  border: none;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.capability-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.capability-card:hover {
  background: var(--glass-hover-bg);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.capability-card:hover::before {
  opacity: 1;
}

.capability-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: var(--violet);
}

.capability-icon svg {
  width: 100%;
  height: 100%;
}

.capability-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--lavender);
  margin-bottom: 0.75rem;
}

.capability-desc {
  font-size: 0.95rem;
  color: var(--body);
  line-height: 1.7;
}

/* ========================================
   ABOUT PAGE — BRANDS STRIP
   ======================================== */
.about-brands-section {
  padding: 28px 0 80px;
  background-color: transparent;
}

.about-brands-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* Label style — 14px uppercase, hot-pink */
.brands-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hot-pink);
  margin-bottom: 1.5rem;
}

.brands-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.brand-item {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--body);
  transition: color 0.3s ease;
}

.brand-item:hover {
  color: var(--lavender);
}

.brand-divider {
  color: var(--muted);
  font-size: 1.5rem;
}

/* ========================================
   CONTACT PAGE — CARDS
   ======================================== */
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 2.5rem;
  background: var(--glass-bg);
  border: none;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 220px;
}

.contact-card:hover {
  background: var(--glass-hover-bg);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.contact-card-icon {
  color: var(--violet);
}

/* Label style */
.contact-card-label {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hot-pink);
}

.contact-card-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--lavender);
}

/* ========================================
   PORTFOLIO SECTION
   ======================================== */
#portfolio {
  background-color: transparent;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.portfolio-card {
  background: var(--glass-bg);
  border: none;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.portfolio-card:hover {
  background: var(--glass-hover-bg);
  transform: translateY(-5px);
}

/* ========================================
   PORTFOLIO — INDUSTRY SECTIONS
   ======================================== */
.portfolio-industry-section {
  padding: 60px 0;
  background-color: transparent;
}

.portfolio-industry-section:nth-child(even) {
  background-color: transparent;
}

.portfolio-industry-container {
  max-width: 1100px;
  margin: 0 auto;
}

.industry-header {
  margin-bottom: 2.5rem;
}

.industry-label-wrapper {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.industry-icon {
  width: 48px;
  height: 48px;
  color: var(--violet);
  flex-shrink: 0;
}

.industry-icon svg {
  width: 100%;
  height: 100%;
}

.industry-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--lavender);
  margin-bottom: 0.25rem;
}

.industry-description {
  font-size: 0.95rem;
  color: var(--body);
  line-height: 1.5;
}

.subcategory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.subcategory-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.subcategory-card-inner {
  background: var(--glass-bg);
  border: none;
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.subcategory-card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.subcategory-card:hover .subcategory-card-inner {
  background: var(--glass-hover-bg);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.subcategory-card:hover .subcategory-card-inner::before {
  opacity: 1;
}

.subcategory-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--lavender);
  margin-bottom: 0.75rem;
}

.subcategory-desc {
  font-size: 0.9rem;
  color: var(--body);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.subcategory-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--violet);
  font-size: 0.85rem;
  font-weight: 500;
}

.subcategory-count {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Sub-subcategory sections (3rd level nesting) */
.subcategory-section {
  grid-column: 1 / -1;
  margin-bottom: 1rem;
}

.subcategory-section-header {
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.subcategory-section-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--lavender);
  margin-bottom: 0.35rem;
}

.subcategory-section-desc {
  font-size: 0.88rem;
  color: var(--body);
  line-height: 1.5;
}

.sub-subcategory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.sub-subcategory-card .subcategory-card-inner {
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 3px solid var(--violet);
}

.sub-subcategory-card .subcategory-title {
  font-size: 1.05rem;
}

.sub-subcategory-card .subcategory-desc {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* Coming Soon Banner */
.coming-soon-banner {
  background: var(--glass-bg);
  border: 1px dashed var(--glass-border);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
}

.coming-soon-icon {
  color: var(--muted);
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.coming-soon-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--body);
  margin-bottom: 0.5rem;
}

.coming-soon-sub {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  color: var(--muted);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--lavender);
}

.card-description {
  font-size: 0.9rem;
  color: var(--body);
  margin-top: 0.75rem;
  line-height: 1.5;
}

/* ========================================
   EXPERIENCE SECTION
   ======================================== */
#experience {
  background-color: transparent;
  padding: 60px 0 100px;
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2rem;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.experience-card {
  background: var(--glass-bg);
  border: none;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
}

.experience-card:hover {
  background: var(--glass-hover-bg);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.experience-item {
  max-width: 800px;
}

.experience-details {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.experience-details li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--body);
  font-size: 0.95rem;
  line-height: 1.6;
}

.experience-details li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--violet);
}

.job-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lavender);
  margin-bottom: 0.5rem;
}

.company {
  font-size: 1rem;
  color: var(--body);
  margin-bottom: 0.25rem;
  font-weight: 400;
}

.dates {
  font-size: 0.95rem;
  color: var(--body);
  font-weight: 300;
}

/* ========================================
   PORTFOLIO CARD LINKS & ITEMS
   ======================================== */
.portfolio-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

#portfolio-items {
  background-color: transparent;
  padding: 60px 0 100px;
}

.portfolio-items-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.portfolio-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.portfolio-item-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.portfolio-item-card {
  background: var(--glass-bg);
  border: none;
  border-radius: 12px;
  padding: 2rem;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.portfolio-item-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  z-index: 0;
}

.portfolio-item-content {
  position: relative;
  z-index: 1;
}

.portfolio-item-card:hover {
  background: var(--glass-hover-bg);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.portfolio-item-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--lavender);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.portfolio-item-description {
  font-size: 0.95rem;
  color: var(--body);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.portfolio-item-link-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--violet);
  font-size: 0.9rem;
  font-weight: 500;
}

.portfolio-item-link-indicator svg {
  width: 18px;
  height: 18px;
}

.back-button-container {
  text-align: center;
  margin-top: 3rem;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--glass-bg);
  border: none;
  border-radius: 8px;
  color: var(--lavender);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.back-button:hover {
  background: var(--glass-hover-bg);
  transform: translateY(-2px);
}

.back-button svg {
  width: 20px;
  height: 20px;
}

/* ========================================
   EMPTY STATE
   ======================================== */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  color: var(--muted);
}

.empty-state-icon svg {
  width: 100%;
  height: 100%;
}

.empty-state-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--lavender);
  margin-bottom: 0.5rem;
}

.empty-state-description {
  font-size: 1rem;
  color: var(--body);
  margin-bottom: 2rem;
}

/* ========================================
   HERO COMPACT (sub-pages)
   ======================================== */
.hero-compact {
  min-height: auto;
  height: auto;
  padding: 120px 0 60px;
  text-align: center;
  background-color: transparent;
  flex-direction: column;
}

.hero-compact .hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-compact .hero-title {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero-compact .hero-description {
  font-size: 1.1rem;
  color: var(--body);
  line-height: 1.7;
}

/* Education page: collapse the full-height hero so the knowledge tree is
   visible without scrolling. The #hero ID selector outranks .hero-compact,
   so this override is written at ID specificity (#hero.education-hero). */
#hero.education-hero {
  min-height: auto;
  padding: 120px 0 20px;
}

/* ========================================
   LOGIN & FORM SECTIONS
   ======================================== */
.login-section,
.form-section {
  background-color: transparent;
  padding: 60px 0 100px;
}

.login-container,
.form-container {
  max-width: 500px;
  margin: 0 auto;
}

.login-form,
.portfolio-form {
  background: var(--glass-bg);
  border: none;
  border-radius: 12px;
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--lavender);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="url"],
.form-group input[type="file"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  background: rgba(13, 13, 15, 0.6);
  border: 1px solid rgba(56, 198, 236, 0.2);
  border-radius: 6px;
  color: var(--lavender);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--violet);
  background: rgba(13, 13, 15, 0.8);
  box-shadow: 0 0 0 3px rgba(56, 198, 236, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-help {
  display: block;
  font-size: 0.85rem;
  color: var(--body);
  margin-top: 0.5rem;
}

.current-image {
  margin-bottom: 1rem;
}

.current-image img {
  max-width: 200px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn svg {
  width: 20px;
  height: 20px;
}

.btn-primary {
  background: var(--violet);
  color: #ffffff;
}

.btn-primary:hover {
  background: rgba(56, 198, 236, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(56, 198, 236, 0.3);
}

.btn-secondary {
  background: var(--glass-hover-bg);
  color: var(--lavender);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: rgba(22, 23, 26, 0.9);
  border-color: var(--glass-hover-border);
}

.btn-icon {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--body);
  transition: all 0.3s ease;
  border-radius: 6px;
}

.btn-icon svg {
  width: 20px;
  height: 20px;
}

.btn-icon:hover {
  background: rgba(56, 198, 236, 0.12);
  color: var(--lavender);
}

.btn-edit:hover {
  color: var(--violet);
}

.btn-delete:hover {
  color: #ff4a4a;
}

/* ========================================
   ALERTS
   ======================================== */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.alert-success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.alert-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.login-info {
  margin-top: 2rem;
  text-align: center;
  padding: 1.5rem;
  background: rgba(56, 198, 236, 0.08);
  border-radius: 8px;
}

.login-info p {
  margin: 0.5rem 0;
  color: var(--body);
}

.text-muted {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ========================================
   DASHBOARD
   ======================================== */
.dashboard-section {
  background-color: transparent;
  padding: 60px 0 100px;
}

.dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.dashboard-header h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--lavender);
}

.dashboard-actions {
  display: flex;
  gap: 1rem;
}

.dashboard-table-container {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
}

.dashboard-table thead {
  background: rgba(13, 13, 15, 0.6);
}

.dashboard-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--lavender);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dashboard-table td {
  padding: 1rem;
  border-top: 1px solid var(--glass-border);
  color: var(--body);
}

.dashboard-table tbody tr {
  transition: background 0.2s ease;
}

.dashboard-table tbody tr:hover {
  background: rgba(56, 198, 236, 0.06);
}

.item-title-cell {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.item-thumbnail {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--glass-border);
}

.category-badge {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: capitalize;
}

.category-sponsored-article {
  background: rgba(56, 198, 236, 0.2);
  color: #F4B89B;
  border: 1px solid rgba(56, 198, 236, 0.3);
}

.category-crypto-guide {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.category-press-release {
  background: rgba(56, 198, 236, 0.2);
  color: #F4DCA6;
  border: 1px solid rgba(56, 198, 236, 0.3);
}

.category-market-analysis {
  background: rgba(251, 146, 60, 0.2);
  color: #fdba74;
  border: 1px solid rgba(251, 146, 60, 0.3);
}

.item-url {
  color: var(--violet);
  text-decoration: none;
  transition: color 0.3s ease;
}

.item-url:hover {
  color: var(--lavender);
}

.action-buttons {
  display: flex;
  gap: 0.5rem;
}

/* ========================================
   ANIMATIONS
   ======================================== */

/* Fade-up animation for hero elements */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.animate-fade-up.delay-1 { animation-delay: 0.15s; }
.animate-fade-up.delay-2 { animation-delay: 0.3s; }
.animate-fade-up.delay-3 { animation-delay: 0.45s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll-triggered animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Pulsing indicator — hot pink */
@keyframes pulse-pink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.5; }
}

.pulse-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hot-pink);
  animation: pulse-pink 2s ease-in-out infinite;
  margin-right: 0.5rem;
}

/* ========================================
   EXPERIENCE CARD
   ======================================== */
.experience-card {
  padding: 2.5rem 2rem;
  background: var(--glass-bg);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border: 1px solid var(--glass-border);
  transition: all 0.4s ease;
}

.experience-card:hover {
  background: var(--glass-hover-bg);
  border-color: var(--glass-hover-border);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.experience-card .card-icon {
  margin: 0 0 1.25rem;
  color: var(--violet);
  width: 48px;
  height: 48px;
}

.experience-card .card-icon svg {
  width: 100%;
  height: 100%;
}

.experience-card .card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--lavender);
}

.experience-card .company {
  font-weight: 600;
  color: var(--hot-pink);
  margin-bottom: 0.25rem;
}

.experience-card .dates {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.experience-card .experience-details {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--body);
  list-style-type: none;
  padding: 0;
}

.experience-card .experience-details li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.experience-card .experience-details li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--violet);
  font-size: 1.2rem;
  line-height: 1;
}

/* ========================================
   PARALLAX TIMELINE
   ======================================== */
.experience-timeline {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 0;
  position: relative;
}

.timeline-line-bg {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(56, 198, 236, 0.15);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-line-fill {
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  height: 0%;
  background: var(--gradient-primary);
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 15px var(--violet);
  border-radius: 4px;
  transition: height 0.1s ease-out;
}

.experience-timeline-item {
  display: flex;
  position: relative;
  margin-bottom: 4rem;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item-left {
  justify-content: flex-end;
  padding-right: 50%;
  transform: translateX(-50px);
}

.timeline-item-right {
  justify-content: flex-start;
  padding-left: 50%;
  transform: translateX(50px);
}

.experience-timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 2rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid rgba(56, 198, 236, 0.5);
  transform: translate(-50%, -50%);
  z-index: 3;
  transition: all 0.5s ease;
}

.timeline-dot.active {
  background: var(--hot-pink);
  border-color: var(--violet);
  box-shadow: 0 0 15px var(--hot-pink), 0 0 30px var(--violet);
  transform: translate(-50%, -50%) scale(1.3);
}

.experience-timeline .experience-card {
  width: 100%;
  max-width: 400px;
  position: relative;
  z-index: 4;
}

.timeline-item-left .experience-card {
  margin-right: 40px;
  margin-left: auto;
}

.timeline-item-right .experience-card {
  margin-left: 40px;
  margin-right: auto;
}

/* ========================================
   CAREER JOURNEY — TABS (Home page)
   Compact: role list on the left, details on the right.
   ======================================== */
.journey-tabs {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.journey-tablist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.journey-tab {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

.journey-tab:hover {
  background: var(--glass-hover-bg);
  border-color: var(--glass-hover-border);
}

.journey-tab.active {
  background: var(--glass-hover-bg);
  border-left-color: var(--hot-pink);
  box-shadow: 0 0 20px rgba(56, 198, 236, 0.12);
}

.journey-tab-company {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--hot-pink);
}

.journey-tab-role {
  font-size: 0.9rem;
  color: var(--lavender);
}

.journey-tab-dates {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.journey-panels {
  position: relative;
}

.journey-panel {
  width: 100%;
  max-width: none;
  animation: journeyFade 0.4s ease;
}

.journey-panel[hidden] {
  display: none;
}

@keyframes journeyFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Stack on small screens: role list on top, details below */
@media (max-width: 768px) {
  .journey-tabs {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ========================================
   KNOWLEDGE TREE — Education & Certs
   ======================================== */
.knowledge-tree-section {
  padding: 0 0 80px;
  background-color: transparent;
}

.knowledge-tree {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* ── Root Card (Education) ── */
.tree-root {
  width: 100%;
  max-width: 640px;
  position: relative;
  z-index: 2;
}

.tree-root-card {
  background: var(--glass-bg);
  border: 1px solid rgba(56, 198, 236, 0.15);
  border-radius: 20px;
  padding: 2.5rem 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.tree-root-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--hot-pink));
}

.tree-root-card:hover {
  background: var(--glass-hover-bg);
  border-color: rgba(56, 198, 236, 0.3);
  transform: translateY(-4px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.3),
    0 0 60px rgba(56, 198, 236, 0.08);
}

.tree-root-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  color: var(--violet);
}

.tree-root-icon svg {
  width: 100%;
  height: 100%;
}

.tree-root-label {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-white);
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.06);
}

.tree-root-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lavender);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.tree-root-institution {
  font-size: 1rem;
  color: var(--body);
  margin-bottom: 0.25rem;
}

.tree-root-dates {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.tree-root-details {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  border-top: 1px solid rgba(56, 198, 236, 0.1);
  padding-top: 1rem;
}

.tree-root-details li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--body);
  font-size: 0.92rem;
  line-height: 1.6;
}

.tree-root-details li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--violet);
}

/* ── Trunk (connecting line) ── */
.tree-trunk {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 0;
}

.tree-trunk-line {
  width: 2px;
  height: 48px;
  background: linear-gradient(180deg, var(--violet), var(--hot-pink));
  opacity: 0.5;
}

.tree-trunk-node {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid rgba(56, 198, 236, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet);
  box-shadow:
    0 0 20px rgba(56, 198, 236, 0.15),
    0 0 40px rgba(56, 198, 236, 0.05);
  position: relative;
}

.tree-trunk-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lavender);
  margin-top: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Branches (Certifications) ── */
.tree-branches {
  width: 100%;
  position: relative;
  padding-top: 1.5rem;
}

/* Vertical line from trunk node down to the horizontal split */
.tree-branches::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 24px;
  background: linear-gradient(180deg, var(--hot-pink), rgba(56, 198, 236, 0.3));
  opacity: 0.5;
}

/* Horizontal branch line across all cards */
.tree-branches::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 198, 236, 0.35) 15%, rgba(56, 198, 236, 0.35) 50%, rgba(56, 198, 236, 0.35) 85%, transparent);
}

.tree-branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding-top: 2rem;
  position: relative;
  z-index: 1;
}

.tree-branch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Vertical connector from horizontal line down into each card */
.branch-connector {
  width: 2px;
  height: 20px;
  background: rgba(56, 198, 236, 0.3);
  margin-bottom: 0;
  flex-shrink: 0;
}

.tree-branch-card {
  background: var(--glass-bg);
  border: 1px solid rgba(56, 198, 236, 0.1);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
  width: 100%;
}

.tree-branch-card-accent {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--violet), var(--hot-pink));
  opacity: 0;
  transition: all 0.35s ease;
}

.tree-branch-card:hover {
  background: var(--glass-hover-bg);
  border-color: rgba(56, 198, 236, 0.25);
  transform: translateY(-5px);
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.25),
    0 0 40px rgba(56, 198, 236, 0.06);
}

.tree-branch-card:hover .tree-branch-card-accent {
  opacity: 1;
  width: 100%;
}

.tree-branch-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.85rem;
  color: var(--hot-pink);
  opacity: 0.8;
}

.tree-branch-icon svg {
  width: 100%;
  height: 100%;
}

.tree-branch-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--lavender);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.tree-branch-issuer {
  font-size: 0.82rem;
  color: var(--body);
  margin-bottom: 0.2rem;
}

.tree-branch-dates {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 300;
}

.tree-branch-credential {
  font-size: 0.75rem;
  color: var(--violet);
  font-weight: 500;
  margin-top: 0.4rem;
  opacity: 0.85;
}

.tree-branch-details {
  list-style: none;
  padding: 0;
  margin-top: 0.75rem;
  border-top: 1px solid rgba(56, 198, 236, 0.08);
  padding-top: 0.6rem;
  text-align: left;
}

.tree-branch-details li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.3rem;
  color: var(--body);
  font-size: 0.8rem;
  line-height: 1.5;
}

.tree-branch-details li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--hot-pink);
  font-size: 0.7rem;
}

/* Hide the branch-lines SVG container (branches drawn via CSS pseudo-elements) */
.tree-branch-lines {
  display: none;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 13, 15, 0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 1rem 2rem;
    width: 100%;
    text-align: center;
    border-radius: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero-inner {
    padding: 60px 20px 40px;
  }

  .hero-avatar {
    position: relative;
    margin: 0 auto 1.5rem;
    top: auto;
    left: auto;
    width: 70px;
    height: 70px;
  }

  .hero-avatar-img {
    width: 70px;
    height: 70px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-eyebrow {
    font-size: 8px;
    letter-spacing: 0.06em;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn-cta {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-heading {
    font-size: 1.8rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 60px 0;
  }

  #hero {
    padding: 80px 0 60px;
  }

  .hero-compact {
    padding: 100px 0 40px;
  }

  .about-story-section,
  .about-capabilities-section,
  .about-brands-section {
    padding: 50px 0;
  }

  .hero-profile-image {
    max-width: 400px;
  }

  .brands-strip {
    gap: 1rem;
  }

  .brand-item {
    font-size: 1rem;
  }

  .contact-info-cards {
    flex-direction: column !important;
    align-items: center !important;
  }

  .contact-card {
    width: 100%;
    max-width: 300px;
  }

  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-actions {
    width: 100%;
    flex-direction: column;
  }

  .dashboard-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .dashboard-table-container {
    overflow-x: auto;
  }

  .dashboard-table {
    min-width: 800px;
  }

  .portfolio-items-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-industry-section {
    padding: 40px 0;
  }

  .subcategory-grid {
    grid-template-columns: 1fr;
  }

  .industry-title {
    font-size: 1.5rem;
  }

  .industry-label-wrapper {
    gap: 1rem;
  }

  .industry-icon {
    width: 36px;
    height: 36px;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Parallax Timeline Responsive */
  .experience-timeline {
    padding: 2rem 0 2rem 20px;
  }
  
  .timeline-line-bg, .timeline-line-fill {
    left: 20px;
    transform: none;
  }

  .timeline-dot {
    left: 20px;
    transform: translate(-50%, -50%);
  }

  .timeline-dot.active {
    transform: translate(-50%, -50%) scale(1.3);
  }
  
  .timeline-item-left, .timeline-item-right {
    justify-content: flex-start;
    padding-left: 40px;
    padding-right: 0;
    transform: translateX(30px);
  }
  
  .timeline-item-left .experience-card,
  .timeline-item-right .experience-card {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  /* Knowledge Tree Responsive */
  .knowledge-tree {
    padding: 0 20px;
  }

  .tree-root-card {
    padding: 1.75rem 1.5rem 1.5rem;
  }

  .tree-root-title {
    font-size: 1.25rem;
  }

  .tree-branch-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .tree-branches::after {
    left: 50%;
    right: 50%;
    width: 2px;
    height: calc(100% - 24px);
    top: 24px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(56, 198, 236, 0.35), rgba(56, 198, 236, 0.15));
  }

  .branch-connector {
    height: 16px;
  }
}

/* ========================================
   SCROLL INDICATOR
   ======================================== */
.scroll-indicator {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  color: var(--hot-pink);
  animation: bounce 2s infinite;
  opacity: 0.8;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}
