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

:root {
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --color-accent: #ff5722;
  --color-accent-soft: #ff8a65;
  --color-accent-glow: rgba(255, 87, 34, 0.28);
  --color-bg-dark: #0a0a0c;
  --color-frame-bg: rgba(14, 15, 19, 0.78);
  --color-card-bg: rgba(22, 23, 28, 0.7);
  --color-card-hover: rgba(28, 29, 36, 0.88);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(255, 255, 255, 0.22);
  --color-text-primary: #ffffff;
  --color-text-secondary: rgba(255, 255, 255, 0.75);
  --color-text-muted: rgba(255, 255, 255, 0.48);
}

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

body {
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  background-color: var(--color-bg-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   FIXED BACKGROUND SCROLL ANIMATION
   ========================================================================== */
.canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

#scroll-canvas {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.canvas-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(10, 10, 12, 0.05) 0%, rgba(10, 10, 12, 0.65) 100%),
    linear-gradient(180deg, rgba(10, 10, 12, 0.35) 0%, rgba(10, 10, 12, 0.05) 30%, rgba(10, 10, 12, 0.4) 70%, rgba(10, 10, 12, 0.92) 100%);
  pointer-events: none;
}

/* ==========================================================================
   CONTENT WRAPPER
   ========================================================================== */
.page-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   NAVIGATION BAR (NOT FIXED INITIALLY — FIXED ONLY ON SCROLL)
   ========================================================================== */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 2.5rem;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

/* Activated only when page is scrolled */
.navbar.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.95rem 2.5rem;
  background: rgba(10, 11, 14, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  animation: navSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes navSlideIn {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-item {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.nav-pill-link {
  background: rgba(255, 87, 34, 0.15);
  border: 1px solid rgba(255, 87, 34, 0.35);
  color: var(--color-accent-soft) !important;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.85rem;
}

.nav-pill-link:hover {
  background: var(--color-accent);
  color: #ffffff !important;
  border-color: var(--color-accent);
}

.btn-touch-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  color: #111111;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.5rem 0.45rem 1.2rem;
  border-radius: 100px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-touch-nav:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

.btn-arrow-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   DISTINCT SECTION FRAMING & SEPARATORS
   ========================================================================== */
.section-card-frame {
  background: var(--color-frame-bg);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--color-border);
  border-radius: 36px;
  padding: 4rem 3.5rem;
  margin: 3.5rem 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.section-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 87, 34, 0.4) 50%, transparent 100%);
  margin: 1.5rem 0;
}

.section-header {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: flex-end;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.section-header-left {
  display: flex;
  flex-direction: column;
}

.section-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--color-accent);
  background: rgba(255, 87, 34, 0.12);
  border: 1px solid rgba(255, 87, 34, 0.3);
  padding: 0.35rem 0.95rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.section-header-desc {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

.btn-catalogue-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: 100px;
  transition: all 0.2s ease;
}

.btn-catalogue-link:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 6px 20px var(--color-accent-glow);
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION (TRANSPARENT BACKGROUND & PUSHED-APART TEXTS)
   ========================================================================== */
.hero-section {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  min-height: calc(100vh - 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 7rem;
  /* Clearance for top fixed navbar */
  padding-bottom: 2.5rem;
  padding-left: 0.25rem;
  /* Minimal left padding */
  padding-right: 0.25rem;
  /* Minimal right padding */
  width: 100%;
}

.hero-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2.5rem;
  width: 100%;
  margin-bottom: 4rem;
}

.hero-left {
  display: flex;
  flex-direction: column;
  text-align: left;
  max-width: 520px;
  flex-shrink: 0;
}

.hero-subtitle {
  color: var(--color-accent-soft);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.hero-title {
  font-size: clamp(3.2rem, 5.8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--color-text-primary);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.9);
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  max-width: 440px;
  flex-shrink: 0;
  padding-bottom: 0.5rem;
}

.hero-quote {
  font-size: clamp(1.3rem, 1.8vw, 1.85rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text-primary);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.9);
}

.hero-description {
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 420px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

/* Services Grid / Stats Row */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

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

.service-number {
  color: var(--color-accent);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
}

.service-name {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Brands Bar */
.brands-bar-wrapper {
  width: 100%;
}

.brands-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14, 15, 18, 0.9);
  backdrop-filter: blur(24px);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 1.1rem 2.25rem;
}

.brands-label {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  max-width: 160px;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.brands-list {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  flex-wrap: wrap;
}

.brand-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-text-primary);
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0.88;
  transition: opacity 0.2s ease;
}

.brand-item:hover {
  opacity: 1;
}

.brand-icon {
  flex-shrink: 0;
  color: var(--color-accent-soft);
}

/* ==========================================================================
   FEATURED PROJECTS SECTION (FULL-BLEED SINGLE ROW OF 4 COMPACT CARDS)
   ========================================================================== */
.projects-section-fullwidth {
  padding: 4rem 0 3rem 0;
  width: 100%;
  position: relative;
}

.projects-section-header-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.projects-featured-grid.full-bleed-row {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.project-featured-card {
  background: rgba(18, 19, 24, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.project-featured-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-border-hover);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65);
  background: var(--color-card-hover);
}

.p-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.2;
  overflow: hidden;
  background: #111216;
}

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

.project-featured-card:hover .p-card-media img {
  transform: scale(1.04);
}

.p-card-badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(10, 11, 14, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-accent-soft);
}

.p-card-body {
  padding: 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.p-card-client {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.p-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.p-card-desc {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  line-height: 1.45;
  margin-bottom: 0.75rem;
  flex-grow: 1;
}

.p-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.p-card-tags span {
  font-size: 0.68rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.85);
  padding: 0.18rem 0.45rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.projects-cta-footer {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-projects-catalogue {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--color-accent);
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 1.85rem;
  border-radius: 100px;
  box-shadow: 0 10px 30px var(--color-accent-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-projects-catalogue:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(255, 87, 34, 0.5);
}

.btn-arrow-badge {
  font-size: 1.2rem;
  font-weight: 800;
}

/* ==========================================================================
   SKILLS WORD CLOUD
   ========================================================================== */
.skills-cloud-section {
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.skills-cloud-section:hover {
  border-color: rgba(255, 87, 34, 0.35);
  box-shadow: 0 25px 70px rgba(255, 87, 34, 0.15), 0 20px 50px rgba(0, 0, 0, 0.6);
}

.skills-word-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.15rem 1.5rem;
  padding: 3.5rem 2rem;
  background: rgba(10, 11, 14, 0.55);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  transition: all 0.4s ease;
}

/* Base Cloud Word */
.cloud-word {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.35rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  user-select: none;
  line-height: 1;
  white-space: nowrap;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.25s ease,
    text-shadow 0.35s ease;
  will-change: transform, box-shadow;
}

/* Tier Sizing */
.cloud-word.tier-1 {
  font-size: clamp(1.05rem, 1.75vw, 1.61rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  padding: 0.85rem 1.85rem;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.cloud-word.tier-2 {
  font-size: clamp(0.805rem, 1.26vw, 1.085rem);
  font-weight: 700;
  padding: 0.65rem 1.4rem;
  color: rgba(255, 255, 255, 0.9);
}

.cloud-word.tier-3 {
  font-size: clamp(0.644rem, 0.875vw, 0.805rem);
  font-weight: 600;
  padding: 0.5rem 1.15rem;
  color: rgba(255, 255, 255, 0.72);
}

/* When the SECTION is hovered: words start subtly glowing and pulse */
.skills-cloud-section:hover .cloud-word {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Color Accent Variations for variety */
.cloud-word.accent-orange {
  border-color: rgba(255, 87, 34, 0.3);
  color: #ffab91;
}

.cloud-word.accent-cyan {
  border-color: rgba(0, 229, 255, 0.3);
  color: #80deea;
}

.cloud-word.accent-purple {
  border-color: rgba(179, 136, 255, 0.3);
  color: #d1c4e9;
}

.cloud-word.accent-blue {
  border-color: rgba(68, 138, 255, 0.3);
  color: #90caf9;
}

.cloud-word.accent-amber {
  border-color: rgba(255, 179, 0, 0.3);
  color: #ffe082;
}

.cloud-word.accent-green {
  border-color: rgba(0, 230, 118, 0.3);
  color: #a5d6a7;
}

/* When an individual word is hovered: GROWS IN SIZE & RADIATES A VIBRANT GLOW */
.cloud-word:hover {
  transform: scale(1.3) translateY(-6px) !important;
  z-index: 50;
  background: rgba(255, 87, 34, 0.28) !important;
  border-color: #ff5722 !important;
  color: #ffffff !important;
  box-shadow: 0 0 30px rgba(255, 87, 34, 0.8),
    0 0 60px rgba(255, 87, 34, 0.4),
    inset 0 0 15px rgba(255, 87, 34, 0.3) !important;
  text-shadow: 0 0 14px #ff5722, 0 0 28px rgba(255, 87, 34, 0.9) !important;
}

.cloud-word.accent-cyan:hover {
  background: rgba(0, 229, 255, 0.25) !important;
  border-color: #00e5ff !important;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.8), 0 0 60px rgba(0, 229, 255, 0.4) !important;
  text-shadow: 0 0 14px #00e5ff, 0 0 28px rgba(0, 229, 255, 0.9) !important;
}

.cloud-word.accent-purple:hover {
  background: rgba(179, 136, 255, 0.25) !important;
  border-color: #b388ff !important;
  box-shadow: 0 0 30px rgba(179, 136, 255, 0.8), 0 0 60px rgba(179, 136, 255, 0.4) !important;
  text-shadow: 0 0 14px #b388ff, 0 0 28px rgba(179, 136, 255, 0.9) !important;
}

.cloud-word.accent-green:hover {
  background: rgba(0, 230, 118, 0.25) !important;
  border-color: #00e676 !important;
  box-shadow: 0 0 30px rgba(0, 230, 118, 0.8), 0 0 60px rgba(0, 230, 118, 0.4) !important;
  text-shadow: 0 0 14px #00e676, 0 0 28px rgba(0, 230, 118, 0.9) !important;
}

.cloud-word.accent-amber:hover {
  background: rgba(255, 179, 0, 0.25) !important;
  border-color: #ffb300 !important;
  box-shadow: 0 0 30px rgba(255, 179, 0, 0.8), 0 0 60px rgba(255, 179, 0, 0.4) !important;
  text-shadow: 0 0 14px #ffb300, 0 0 28px rgba(255, 179, 0, 0.9) !important;
}

/* ==========================================================================
   CAREER HISTORY TIMELINE
   ========================================================================== */
.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: relative;
  padding-left: 2rem;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  bottom: 2rem;
  left: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--color-accent) 0%, rgba(255, 87, 34, 0.2) 80%, transparent 100%);
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
}

.timeline-marker {
  position: absolute;
  left: -2rem;
  top: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 12px var(--color-accent);
  border: 3px solid #0a0a0c;
}

.timeline-content {
  width: 100%;
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 2rem 2.25rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
  transform: translateX(6px);
  border-color: var(--color-border-hover);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  background: var(--color-card-hover);
}

.timeline-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.timeline-role-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.timeline-company {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tag-contract {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(255, 87, 34, 0.15);
  color: var(--color-accent-soft);
  border: 1px solid rgba(255, 87, 34, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.timeline-role {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-accent-soft);
}

.timeline-period {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.timeline-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.timeline-bullets li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.timeline-bullets li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.timeline-tag {
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   EDUCATION & AWARDS SECTION
   ========================================================================== */
.education-awards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.info-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 2.25rem;
}

.info-card-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(255, 87, 34, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.info-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 0.4rem;
}

.info-card-institution {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-accent-soft);
  margin-bottom: 1.25rem;
}

.info-card-meta {
  display: flex;
  gap: 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.info-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  color: var(--color-text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

.info-bullets li {
  position: relative;
  padding-left: 1.25rem;
}

.info-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

/* ==========================================================================
   FOOTER CTA
   ========================================================================== */
.footer-cta-section {
  padding-bottom: 2rem;
}

.cta-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3rem;
}

.cta-left {
  display: flex;
  flex-direction: column;
}

.cta-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: var(--color-accent-soft);
}

.contact-link svg {
  color: var(--color-accent);
}

.cta-right {
  display: flex;
  justify-content: flex-end;
}

.btn-touch-orange {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background-color: var(--color-accent);
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 0.85rem 0.75rem 1.75rem;
  border-radius: 100px;
  box-shadow: 0 8px 24px var(--color-accent-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-touch-orange:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 32px rgba(255, 87, 34, 0.45);
}

.btn-arrow-circle-orange {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

/* ==========================================================================
   MOBILE & TABLET VIEWPORT FRIENDLINESS
   ========================================================================== */
@media (max-width: 1024px) {

  .hero-main,
  .section-header,
  .cta-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-right,
  .section-header-right {
    align-items: flex-start;
    text-align: left;
  }

  .cta-right {
    justify-content: flex-start;
  }

  .brands-list {
    gap: 1.5rem;
  }

  .section-card-frame {
    padding: 3rem 2.25rem;
  }

  .projects-featured-grid.full-bleed-row {
    grid-template-columns: repeat(4, minmax(260px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 0.5rem;
    gap: 0.5rem;
    scrollbar-width: none;
  }

  .projects-featured-grid.full-bleed-row::-webkit-scrollbar {
    display: none;
  }

  .projects-featured-grid.full-bleed-row .project-featured-card {
    scroll-snap-align: start;
  }
}

@media (max-width: 768px) {
  .page-wrapper {
    padding: 0 1rem;
  }

  .navbar {
    padding: 1rem 1.15rem;
    top: 0;
    margin: 0;
  }

  .navbar.is-fixed {
    padding: 0.75rem 1.15rem;
  }

  .hero-section {
    padding-top: 5.5rem;
    padding-left: 0;
    padding-right: 0;
  }

  .hero-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .hero-left,
  .hero-right {
    max-width: 100%;
    align-items: flex-start;
    text-align: left;
  }

  .section-card-frame {
    padding: 2.25rem 1.25rem;
    margin: 2rem 0;
    border-radius: 26px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 9vw, 3.8rem);
  }

  .section-title {
    font-size: clamp(1.85rem, 6.5vw, 2.5rem);
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem 0;
  }

  .brands-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem;
    border-radius: 22px;
  }

  .brands-list {
    gap: 1rem;
  }

  .skills-grid,
  .education-awards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .projects-featured-grid.full-bleed-row {
    grid-template-columns: repeat(4, minmax(230px, 1fr));
    padding: 0 0.5rem;
    gap: 0.5rem;
  }

  .p-card-media {
    aspect-ratio: 16 / 9.5;
  }

  .p-card-body,
  .skill-card,
  .info-card {
    padding: 0.9rem;
  }

  .timeline-container {
    padding-left: 1.25rem;
  }

  .timeline-marker {
    left: -1.25rem;
  }

  .timeline-content {
    padding: 1.5rem 1.25rem;
  }

  .timeline-header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .cta-card {
    padding: 1.75rem 1rem;
    gap: 2rem;
  }

  .contact-details {
    flex-direction: column;
    gap: 1rem;
  }
}