:root {
  --bg: #07172f;
  --text: #ffffff;
  --text-muted: #d9e6f5;
  --text-dim: #adc2db;
  --line: rgba(255, 255, 255, 0.22);
  --line-bright: rgba(255, 255, 255, 0.38);

  /* Luminous, bright frosted glassmorphism (NOT dark) */
  --glass: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%), rgba(14, 46, 88, 0.42);
  --glass-card: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.07) 100%), rgba(16, 48, 90, 0.45);
  --glass-sub: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.25);
  --glass-border-hover: rgba(255, 255, 255, 0.45);
  --glass-shadow: 0 16px 45px rgba(0, 14, 36, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  --glass-blur: blur(20px) saturate(1.35);

  --accent: #38bdf8;
  --accent-blue: #2563eb;
  --accent-glow: rgba(56, 189, 248, 0.4);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
}

/* Background System */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: url("assets/mountain-bg.webp") center center / cover no-repeat;
  transform: scale(1.02);
  filter: brightness(0.9);
}

.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(6, 22, 45, 0.35) 0%, rgba(5, 18, 38, 0.22) 40%, rgba(4, 15, 32, 0.78) 100%),
    radial-gradient(circle at 50% 25%, rgba(56, 189, 248, 0.15) 0%, transparent 50%);
  backdrop-filter: saturate(1.1);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 24px 0;
}

/* ==========================================================================
   Luminous Frosted Glassmorphism
   ========================================================================== */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

/* Master Section Card that encloses Heading + Content for perfect visibility */
.section-card {
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
}

.section-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.section-heading h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  margin: 0;
}

.section-kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.text-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e0f2fe;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}

.text-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ==========================================================================
   Navigation Bar & Fixed "Let's Talk" Button
   ========================================================================== */
.nav {
  position: sticky;
  top: 14px;
  z-index: 50;
  width: min(1180px, calc(100% - 40px));
  margin: 14px auto 0;
  min-height: 60px;
  border-radius: var(--radius-lg);
  padding: 0 16px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  animation: navDrop 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%), rgba(10, 36, 72, 0.65);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  transition: text-shadow 0.25s ease, transform 0.25s ease;
}

.brand:hover {
  text-shadow: 0 0 16px rgba(56, 189, 248, 0.7);
  transform: translateY(-1px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
  transition: color 0.25s ease;
}

.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--accent), #ffffff);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

.nav-item:hover,
.nav-item.active {
  color: #ffffff;
}

.nav-item:hover::after,
.nav-item.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Fixed "Let's Talk" Button */
.talk-btn {
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  cursor: pointer;
  user-select: none;
}

.talk-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.talk-arrow {
  display: inline-block;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.talk-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.5), 0 0 14px rgba(56, 189, 248, 0.35);
}

.talk-btn:hover::before {
  left: 150%;
}

.talk-btn:hover .talk-arrow {
  transform: translate(3px, -3px);
}

.talk-btn:active {
  transform: translateY(1px) scale(0.98);
}

/* Admin Toggle Button in Navbar */
.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #e0f2fe;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.admin-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  color: white;
  font-size: 22px;
}

.mobile-nav {
  position: fixed;
  top: 80px;
  left: 20px;
  right: 20px;
  z-index: 49;
  border-radius: var(--radius-lg);
  padding: 20px;
  display: none;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-link {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
}

.mobile-admin-btn {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}

/* ==========================================================================
   Hero Section (Apart from Hero Section)
   ========================================================================== */
.hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  position: relative;
  padding: 70px 0 40px;
}

.hero-copy {
  max-width: 540px;
  margin-left: 20px;
}

.hero-copy .eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: #e0f2fe;
  margin-bottom: 12px;
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(52px, 7vw, 84px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.hero h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  color: #bae6fd;
  margin-top: 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-text {
  color: #f1f5f9;
  max-width: 460px;
  font-size: 16px;
  line-height: 1.7;
  margin-top: 18px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-btn {
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.38);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.5);
}

.primary-btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
  transition: all 0.25s ease;
}

.primary-btn-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
}

.secondary-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}

.socials {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  color: #ffffff;
  transition: all 0.22s ease;
}

.socials a:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.hero-note {
  position: absolute;
  right: 8%;
  top: 32%;
  display: flex;
  flex-direction: column;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.05;
  font-style: italic;
  transform: rotate(-7deg);
  color: #ffffff;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.5);
  opacity: 0.9;
}

.scroll-indicator {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 48px;
  border-radius: 24px;
  /* Oval shape */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 8px;
  background: rgba(13, 34, 61, 0.6);
  border: 2px solid rgba(56, 189, 248, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), inset 0 0 10px rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 5;
}

.scroll-indicator .scroll-wheel {
  display: block;
  width: 4px;
  height: 8px;
  border-radius: 3px;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
  animation: scrollWheelBounce 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollWheelBounce {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(14px);
    opacity: 0.2;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.scroll-indicator:hover {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.2);
  transform: translateX(-50%) translateY(-4px);
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.45), inset 0 0 14px rgba(56, 189, 248, 0.3);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-layout {
  display: grid;
  grid-template-columns: 140px 1.4fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.avatar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  border: 3px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.35);
  overflow: hidden;
}

.avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.change-photo-hint {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: #dbeafe;
  font-size: 11px;
  padding: 4px 10px;
  transition: all 0.2s ease;
}

.change-photo-hint:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.about-copy p {
  color: #e2e8f0;
  font-size: 15px;
  line-height: 1.7;
}

.traits {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.trait-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.stat-item {
  border-left: 2px solid rgba(255, 255, 255, 0.3);
  padding-left: 16px;
}

.stat-item strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
}

.stat-item small {
  display: block;
  color: #cbd5e1;
  font-size: 12px;
  margin-top: 2px;
}

/* ==========================================================================
   Tech Stack Section
   ========================================================================== */
.filters {
  border-radius: var(--radius-md);
  padding: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  overflow-x: auto;
}

.filter {
  background: transparent;
  color: #cbd5e1;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.filter:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.filter.active {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

.tech {
  min-height: 88px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 10px;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.tech:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.tech-icon {
  width: 28px;
  height: 28px;
  max-width: 28px;
  max-height: 28px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.tech img,
.tech img.tech-icon {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  object-fit: contain !important;
  display: block;
  flex-shrink: 0;
  border-radius: 4px;
}

.tech svg,
.tech svg.tech-icon {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  flex-shrink: 0;
  display: block;
}

.tech b {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  line-height: 1.25;
  word-break: break-word;
}

/* ==========================================================================
   Featured Projects Section
   ========================================================================== */
.project-heading-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.3);
}

.project-cover-container {
  height: 175px;
  position: relative;
  overflow: hidden;
  background: #0d223d;
}

.project-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.project-card:hover .project-cover-img {
  transform: scale(1.05);
}

.project-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(7, 24, 49, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 11px;
  font-weight: 700;
  color: #e2e8f0;
  backdrop-filter: blur(8px);
}

.project-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.project-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.project-body p {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 14px;
  flex-grow: 1;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tags span {
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 500;
  color: #dbeafe;
}

.project-actions {
  display: flex;
  gap: 8px;
}

.project-actions a {
  flex: 1;
  text-align: center;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 9px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  transition: all 0.22s ease;
}

.project-actions a:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateY(-1px);
}

/* ==========================================================================
   Experience Section
   ========================================================================== */
.timeline {
  position: relative;
  padding: 10px 0 0 28px;
}

.timeline:before {
  content: "";
  position: absolute;
  left: 6px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(255, 255, 255, 0.2) 100%);
}

.timeline-item {
  position: relative;
  padding: 0 0 28px;
}

.timeline-dot {
  position: absolute;
  left: -28px;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.experience-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.company-logo-container {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 6px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.timeline-item:hover .company-logo-container {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.25);
}

.company-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.company-logo-fallback {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(37, 99, 235, 0.35));
  color: #38bdf8;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.5px;
  display: grid;
  place-items: center;
  text-transform: uppercase;
}

.experience-header-text {
  flex: 1;
  min-width: 0;
}

.timeline-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.date {
  font-size: 13px;
  font-weight: 500;
  color: #cbd5e1;
}

.badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #e0f2fe;
}

.timeline h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.timeline h4.company-title,
.timeline h4 {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent);
  margin: 3px 0 0;
}

.timeline ul {
  padding-left: 20px;
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.7;
}

.timeline .tags {
  margin-top: 14px;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.contact-info p {
  color: #e2e8f0;
  font-size: 15px;
  line-height: 1.7;
}

.contact-links {
  display: grid;
  gap: 10px;
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  transition: all 0.22s ease;
}

.contact-link-item:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
}

.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-link-item b {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.contact-link-item small {
  display: block;
  font-size: 12.5px;
  color: #cbd5e1;
  margin-top: 2px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding: 24px 0 40px;
}

.footer-card {
  border-radius: var(--radius-xl);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 700;
  display: block;
}

.footer span {
  font-size: 13px;
  color: #cbd5e1;
  display: block;
  margin-top: 2px;
}

.footer small {
  font-size: 12px;
  color: #94a3b8;
  display: block;
  margin-top: 4px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  transition: all 0.2s ease;
}

.footer-socials a:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--accent);
}

/* ==========================================================================
   Floating Admin Access Button
   ========================================================================== */
.floating-admin-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08)), #0b2c55;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(14px);
  color: #ffffff;
  border-radius: var(--radius-full);
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-admin-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5), 0 0 15px rgba(56, 189, 248, 0.4);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   ADMIN PANEL MODAL (Luminous Frosted Glass Interface)
   ========================================================================== */
.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(3, 13, 28, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: none;
  place-items: center;
  padding: 24px 16px;
  overflow-y: auto;
}

.admin-modal-backdrop.open {
  display: grid;
}

.admin-panel {
  width: min(840px, 100%);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.08) 100%), rgba(11, 38, 74, 0.85);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  overflow: hidden;
}

.admin-header {
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-title-area h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.admin-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  display: block;
  margin-bottom: 2px;
}

.close-admin-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 14px;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.close-admin-btn:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: rgba(239, 68, 68, 0.6);
}

.admin-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.15);
  padding: 0 18px;
  gap: 6px;
  overflow-x: auto;
}

.admin-tab {
  background: transparent;
  color: #cbd5e1;
  padding: 12px 18px;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.admin-tab:hover {
  color: #ffffff;
}

.admin-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.admin-content-area {
  padding: 24px 28px;
  overflow-y: auto;
  max-height: calc(90vh - 140px);
}

.tab-pane {
  display: none;
  flex-direction: column;
  gap: 24px;
}

.tab-pane.active {
  display: flex;
}

.admin-card-inner {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px 22px;
}

.admin-card-inner h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.admin-hint-text {
  font-size: 13.5px;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.flex-1 {
  flex: 1;
  min-width: 220px;
}

.form-group.flex-2 {
  flex: 2;
  min-width: 260px;
}

.form-group label {
  font-size: 12.5px;
  font-weight: 600;
  color: #e0f2fe;
}

.admin-form input[type="text"],
.admin-form input[type="email"],
.admin-form input[type="password"],
.admin-form input[type="url"],
.admin-form input[type="file"],
.admin-form textarea {
  width: 100%;
  background: rgba(4, 16, 34, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: #ffffff;
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s ease;
}

.admin-form input:focus,
.admin-form textarea:focus {
  border-color: var(--accent);
}

.image-upload-box {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.image-preview {
  width: 120px;
  height: 80px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.25);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-preview span {
  font-size: 10px;
  color: #94a3b8;
  text-align: center;
  padding: 6px;
}

.upload-controls {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  width: fit-content;
  transition: all 0.2s ease;
}

.file-upload-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.file-upload-btn input[type="file"] {
  display: none;
}

.or-divider {
  font-size: 11.5px;
  color: #94a3b8;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

/* Existing Projects List in Admin */
.admin-projects-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-proj-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.admin-proj-thumb {
  width: 50px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
  background: #081d39;
}

.admin-proj-info {
  flex-grow: 1;
}

.admin-proj-info b {
  font-size: 14px;
  color: #ffffff;
  display: block;
}

.admin-proj-info small {
  font-size: 11.5px;
  color: #94a3b8;
}

.admin-proj-actions {
  display: flex;
  gap: 8px;
}

.edit-btn {
  background: rgba(56, 189, 248, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #e0f2fe;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.edit-btn:hover {
  background: rgba(56, 189, 248, 0.35);
  color: #ffffff;
}

.delete-btn {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.delete-btn:hover {
  background: rgba(239, 68, 68, 0.35);
  color: #ffffff;
}

.avatar-edit-layout {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.avatar-preview-box {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.avatar-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-edit-controls {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.settings-action-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.settings-row b {
  font-size: 14px;
  color: #ffffff;
}

.settings-row p {
  font-size: 12.5px;
  color: #94a3b8;
  margin-top: 2px;
}

.danger-btn {
  background: rgba(239, 68, 68, 0.25);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.danger-btn:hover {
  background: rgba(239, 68, 68, 0.45);
}

/* Toast Message */
.toast-notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08)), #062348;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(14px);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2000;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #10b981;
  color: white;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: bold;
}

/* ==========================================================================
   Keyframes & Responsive Rules
   ========================================================================== */
@keyframes navDrop {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 950px) {
  .nav-links {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .about-layout {
    grid-template-columns: 120px 1fr;
  }

  .stats {
    grid-column: 1 / -1;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 700px) {

  .container,
  .nav {
    width: min(100% - 24px, 560px);
  }

  .nav {
    padding: 0 14px;
  }

  .talk-btn {
    display: none;
  }

  .section-card {
    padding: 24px 20px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .avatar-col {
    margin-inline: auto;
  }

  .traits {
    justify-content: center;
  }

  .stat-item {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 0 0;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .hero-note {
    display: none;
  }

  .hero {
    min-height: 480px;
    padding: 50px 0 30px;
  }

  .hero-copy {
    margin-left: 0;
  }

  .floating-admin-btn span {
    display: none;
  }

  .floating-admin-btn {
    padding: 12px;
  }

  .experience-card-header {
    gap: 12px;
  }

  .company-logo-container {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    padding: 5px;
  }

  .company-logo-fallback {
    font-size: 14px;
  }

  .timeline-dot {
    top: 15px;
  }
}