/* ==========================================================================
   SAAD SALEEM EXACT STYLE PORTFOLIO - MUHAMMAD AHMED KHAN
   Theme: LinkedIn Teal-to-Navy Palette (#4DBDC0 -> #1A6B8A -> #060D1B)
   ========================================================================== */

:root {
  --bg: #060D1B;
  --bg-elevated: #0A1628;
  --bg-card: rgba(14, 28, 50, 0.65);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(77, 189, 192, 0.35);

  --text: #F0F5FA;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  --accent: #4DBDC0;
  --accent-hover: #3baeb1;
  --accent-glow: rgba(77, 189, 192, 0.15);
  --gradient: linear-gradient(135deg, #4DBDC0, #5ED4D6, #1A6B8A);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', sans-serif;
  --mono: 'JetBrains Mono', monospace;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;

  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* Noise Overlay */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

/* Typography */
.section-label {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(77, 189, 192, 0.4));
}

.text-muted {
  color: var(--text-muted);
}

.section-header {
  margin-bottom: 48px;
}

/* ===========================
   Hero Section (Saad Saleem Layout)
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 72px;
  padding-bottom: 100px;
  overflow: hidden;
}

/* Top Phone Button (Right Corner) */
.top-phone {
  position: absolute;
  top: 24px;
  right: 82px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(77, 189, 192, 0.28);
  border-radius: 100px;
  color: var(--text-secondary);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: var(--transition);
}

.top-phone:hover {
  color: var(--accent);
  border-color: rgba(77, 189, 192, 0.6);
  box-shadow: 0 0 20px rgba(77, 189, 192, 0.2);
}

.top-phone svg {
  color: var(--accent);
}

/* Hero Background & Ambient Orbs */
.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -200px;
  right: -200px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: #1A6B8A;
  bottom: -150px;
  left: -150px;
  animation-delay: 7s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: #5ED4D6;
  top: 40%;
  left: 40%;
  animation-delay: 14s;
  opacity: 0.15;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(77, 189, 192, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 189, 192, 0.08) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  opacity: 0.3;
}

/* Hero Grid Layout */
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 20px;
}

.hero-content {
  text-align: left;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(77, 189, 192, 0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(77, 189, 192, 0.15);
}

.badge-dot-yellow {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseGreen 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text);
}

.title-line {
  display: block;
  white-space: nowrap;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* Hero Visual: Transparent PNG Cutout (Angled Right, Standing Arms Folded) */
.hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: min(480px, 50vh);
}

.hero-portrait-ring {
  position: relative;
  z-index: 2;
  width: min(34vw, 440px);
  height: min(34vw, 440px);
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(77, 189, 192, 0.45);
  background: radial-gradient(circle closest-side, rgba(77, 189, 192, 0.12), rgba(77, 189, 192, 0.04) 60%, transparent 100%);
  filter:
    drop-shadow(0 0 14px rgba(77, 189, 192, 0.5))
    drop-shadow(0 0 42px rgba(77, 189, 192, 0.38))
    drop-shadow(0 0 90px rgba(26, 107, 138, 0.24));
  transition: transform var(--transition-slow);
}

.hero-portrait-ring:hover {
  transform: scale(1.02);
}

.hero-portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

/* Ambient Radial Halo Glow behind transparent PNG cutout */
.hero-visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: min(44vw, 540px);
  height: min(44vw, 540px);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle closest-side at 50% 50%,
      rgba(77, 189, 192, 0.28) 0%,
      rgba(26, 107, 138, 0.15) 50%,
      transparent 100%);
  filter: blur(30px);
  pointer-events: none;
}

/* Hero Stats Bar */
.hero-stats-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 50px;
  padding: 18px 14px;
  background: rgba(10, 22, 40, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(77, 189, 192, 0.18);
  border-radius: 18px;
}

.hstat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.hstat:last-child {
  border-right: none;
}

.hstat-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-glow);
  color: var(--accent);
  flex-shrink: 0;
}

.hstat-body {
  display: flex;
  flex-direction: column;
}

.hstat-value {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
}

.hstat-label {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Right Rail: Social Icons & Tagline */
.hero-rail {
  position: absolute;
  top: 50%;
  right: 26px;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-rail-text {
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.75;
}

.hero-rail-line {
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, rgba(77, 189, 192, 0.5), transparent);
}

.hero-rail-link {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--text-muted);
  transition: var(--transition);
}

.hero-rail-link:hover {
  color: var(--accent);
  background: var(--accent-glow);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #4DBDC0, #1A6B8A);
  color: #060D1B;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(77, 189, 192, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(77, 189, 192, 0.45);
  color: #060D1B;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  background: transparent;
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  background: var(--accent);
  color: #060D1B;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(77, 189, 192, 0.3);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

/* ===========================
   Bento Grid (About Section)
   =========================== */
.about {
  padding: 100px 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition-slow);
}

.bento-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.bento-intro {
  grid-column: 1 / 3;
}

.bento-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.bento-profile img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.bento-profile h3 {
  font-size: 18px;
  font-weight: 700;
}

.bento-text {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

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

.bento-location h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.value-pill {
  padding: 8px 16px;
  background: var(--accent-glow);
  border: 1px solid rgba(77, 189, 192, 0.25);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}

.mini-tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.mini-tech-grid span {
  padding: 6px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  font-size: 12px;
  color: var(--text-secondary);
}

.bento-cta-card {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-cta-inner {
  text-align: center;
}

.bento-cta-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: block;
}

.bento-social-links {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: var(--transition);
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

/* ===========================
   Services Grid ("What I Build")
   =========================== */
.services {
  padding: 100px 0;
  background-color: var(--bg-elevated);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition-slow);
  position: relative;
}

.service-card::before {
  content: attr(data-index);
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.5;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.service-icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: var(--radius-sm);
  color: var(--accent);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===========================
   Projects Section
   =========================== */
.projects {
  padding: 100px 0;
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: var(--transition-slow);
}

.project-card:hover {
  border-color: var(--accent);
}

.project-image-wrap {
  position: relative;
  background: var(--bg-elevated);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.project-featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: var(--accent);
  color: #060D1B;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
}

.project-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.project-tags span {
  padding: 4px 12px;
  background: var(--accent-glow);
  border: 1px solid rgba(77, 189, 192, 0.2);
  border-radius: 100px;
  font-size: 12px;
  color: var(--accent);
}

.project-info h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.project-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}

.project-metrics {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
}

.metric-lbl {
  font-size: 11px;
  color: var(--text-muted);
}

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

.project-tech span {
  padding: 4px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  font-size: 12px;
  color: var(--text-muted);
}

/* Projects Subgrid */
.projects-subgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.subproject-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-slow);
}

.subproject-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.subproject-card .card-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

.subproject-card h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.subproject-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

/* ===========================
   Video Showcase Section (Saad Saleem Style)
   =========================== */
.video-showcase {
  padding: 100px 0;
  background-color: var(--bg-elevated);
  position: relative;
  overflow: hidden;
}

.video-wrapper {
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(77, 189, 192, 0.15);
  transition: var(--transition-slow);
}

.video-wrapper:hover {
  border-color: var(--accent);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 45px rgba(77, 189, 192, 0.25);
}

.video-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}

.showcase-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border: none;
  outline: none;
}

.video-caption {
  margin-top: 20px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.video-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-glow);
  border: 1px solid rgba(77, 189, 192, 0.25);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  align-self: flex-start;
}

.video-caption p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Kinetic Project Details Beneath Video */
.video-project-details {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 860px) {
  .project-pillars-grid {
    grid-template-columns: 1fr;
  }
}

.project-pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-pillar-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(77, 189, 192, 0.1);
}

.pillar-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-glow);
  border: 1px solid rgba(77, 189, 192, 0.2);
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

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

.pillar-list li {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  position: relative;
  padding-left: 16px;
}

.pillar-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 11px;
}

.project-footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(10, 22, 40, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.project-tech-tags span {
  font-family: var(--mono);
  font-size: 12px;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
}

.btn-github-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(77, 189, 192, 0.3);
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
}

.btn-github-link:hover {
  background: var(--accent);
  color: #060D1B;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(77, 189, 192, 0.3);
}

/* ===========================
   Tech Stack
   =========================== */
.tech-stack {
  padding: 100px 0;
}

.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.tech-category h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-pills span {
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.tech-pills span:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

/* ===========================
   Certifications
   =========================== */
.certifications {
  padding: 100px 0;
  background-color: var(--bg-elevated);
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cert-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.cert-issuer {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}

.cert-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}

.cert-status {
  font-family: var(--mono);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 100px;
  align-self: flex-start;
}

.cert-status.completed {
  background: rgba(77, 189, 192, 0.1);
  color: var(--accent);
  border: 1px solid rgba(77, 189, 192, 0.2);
}

.cert-status.in-progress {
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.2);
}

/* ===========================
   Experience Timeline
   =========================== */
.experience {
  padding: 100px 0;
}

.timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-marker {
  position: absolute;
  left: -32px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--accent);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.timeline-content:hover {
  border-color: var(--accent);
}

.timeline-header h3 {
  font-size: 18px;
  font-weight: 700;
}

.company-name {
  font-size: 14px;
  color: var(--accent);
  font-family: var(--mono);
}

.timeline-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 12px;
}

/* ===========================
   Contact Section
   =========================== */
.contact {
  padding: 100px 0;
  background-color: var(--bg-elevated);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-left p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.contact-item:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: var(--radius-sm);
  color: var(--accent);
  flex-shrink: 0;
}

.contact-item-label {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
}

.contact-item-value {
  font-size: 15px;
  font-weight: 600;
}

.contact-arrow {
  margin-left: auto;
  color: var(--text-muted);
  transition: var(--transition);
}

.contact-item:hover .contact-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* ===========================
   Footer & Floating Nav
   =========================== */
.footer {
  padding: 40px 0 100px;
  border-top: 1px solid var(--border);
  background-color: var(--bg-elevated);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 14px;
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* Floating Navigation Bar */
.floating-nav {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.floating-nav ul {
  display: flex;
  gap: 4px;
}

.floating-nav .nav-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-muted);
  transition: var(--transition);
}

.floating-nav .nav-link:hover,
.floating-nav .nav-link.active {
  color: var(--accent);
  background: var(--accent-glow);
}

.floating-nav .nav-contact {
  background: var(--accent);
  color: #060D1B !important;
}

.floating-nav .nav-contact:hover {
  background: var(--accent-hover);
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.3); }
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
  .hero-rail { display: none; }
  .top-phone { right: 24px; }
  .hero-stats-bar { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .hstat:nth-child(2n) { border-right: none; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; text-align: center; }
  .hero-actions { justify-content: center; }
  .title-line { white-space: normal; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-intro { grid-column: auto; }
  .services-grid { grid-template-columns: 1fr; }
  .project-card { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 360px; margin-top: 20px; }
  .hero-portrait-ring { width: min(72vw, 340px); height: min(72vw, 340px); }
}