/*
Before telling me that this is ALL Ai and feeling like the biggest Mastermind read this:
    - I have used some Ai as im learning mainly for "how to do this?" and "why does/ doesnt this work?"
    - Much of the design code based on other Webpages or Online forums just modified to my liking
Idrc if you think this is vibecoded but just wane have this clear
*/
/*colors */
:root {
  --bg:        #0a0f0a;
  --bg2:       #0d140d;
  --bg3:       #111a11;
  --surface:   #152015;
  --surface2:  #1a281a;
  --border:    rgba(66, 214, 120, 0.12);
  --border2:   rgba(85, 212, 132, 0.22);
  --green:     #4ce685;
  --green-dim: #2c8650;
  --green-glow:rgba(73, 189, 116, 0.18);
  --text:      #d6f7c2;
  --text2:     #8aad8a;
  --text3:     #405e40;
  --sidebar-w: 72px;
  --font-head: 'Syne', sans-serif;
  --font-mono: 'DM Mono', monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  overflow-x: hidden;
  min-height: 100vh;
}
/*background duh*/
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}
.orb1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #1a4d2a 0%, transparent 70%);
  top: -200px; left: 10%;
  animation: orbFloat 18s ease-in-out infinite;
}
.orb2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #0f3320 0%, transparent 70%);
  bottom: 10%; right: -100px;
  animation: orbFloat 22s ease-in-out infinite reverse;
}
.orb3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #1f5c35 0%, transparent 70%);
  top: 50%; left: 40%;
  animation: orbFloat 26s ease-in-out infinite 4s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(-30px, 40px) scale(1.05); }
  66%       { transform: translate(40px, -20px) scale(0.97); }
}
.noise {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(13, 20, 13, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.sidebar-nav {
  display: flex;
  flex-direction: row;
  gap: 8px;
}
.nav-link {
  width: auto;
  height: auto;
  flex-direction: row;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 12px;
  color: var(--text3);
  text-decoration: none;
  transition: all 0.25s;
  position: relative;
}
.nav-link svg { width: 20px; height: 20px; }
.nav-link span { font-size: 12px; letter-spacing: 0.05em; font-family: var(--font-mono); }
.nav-link:hover, .nav-link.active {
  color: var(--green);
  background: var(--green-glow);
}
.nav-link.active::before {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.sidebar-bottom { margin-top: auto; }
.main {
  margin-left: 0;
  padding-top: 64px;
}
.section {
  min-height: 100vh;
  padding: 20px 64px 40px 72px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  max-width: 700px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.25s;
}
.contact-card:hover {
  border-color: var(--border2);
  transform: translateY(-4px);
}
.contact-name {
  font-family: var(--font-head);
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--text);
}
.contact-value {
  font-size: 12px;
  color: var(--green);
  text-decoration: none;
  font-family: var(--font-mono);
}
.contact-value:hover {
  text-decoration: underline;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green-dim);
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 48px;
}
.hero-section { padding-top: 0; padding-bottom: 0; }
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  width: 100%;
  max-width: 1100px;
}
.hero-text { flex: 1; }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}
.hero-name {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.7s 0.35s forwards;
}
.hero-tagline {
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.7s 0.5s forwards;
}
.hero-cta {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s 0.65s forwards;
}
.profile-circle a {
  width: 100%;
  height: 100%;
  display: block;
}
.profile-circle:hover {
  transform: scale(1.05);
  transition: 0.3s ease;
}
.btn-primary:hover {
  background: #6beba0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 222, 128, 0.35);
}
.btn-primary.small { padding: 8px 18px; font-size: 13px; }
.btn-ghost {
  display: inline-flex; align-items: center;
  background: transparent;
  color: var(--text2);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid var(--border2);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-ghost:hover {
  color: var(--green);
  border-color: var(--green);
  background: var(--green-glow);
}
.hero-visual {
  flex: 0 0 380px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 380px;
  opacity: 0;
  animation: fadeIn 1s 0.5s forwards;
}
.profile-ring {
  position: relative;
  width: 260px; height: 260px;
  display: flex; align-items: center; justify-content: center;
}
.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ring-svg {
  position: absolute; inset: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  animation: rotateSlow 30s linear infinite;
}
@keyframes rotateSlow { to { transform: rotate(360deg); } }
.profile-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden; 
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.profile-initials {
  font-family: var(--font-head);
  font-size: 72px;
  font-weight: 800;
  color: var(--green);
  text-shadow: 0 0 30px rgba(10, 75, 34, 0.5);
  line-height: 1;
}
.ring-decoration {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.r1 { width: 240px; height: 240px; animation: rotateSlow 20s linear infinite reverse; }
.r2 { width: 280px; height: 280px; border-style: dashed; opacity: 0.4; animation: rotateSlow 35s linear infinite; }

.floating-tag {
  position: absolute;
  background: rgba(13, 20, 13, 0.9);
  border: 1px solid var(--border2);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--green);
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.tag1 { top: 30px; right: 20px; animation: tagFloat 4s ease-in-out infinite; }
.tag2 { bottom: 60px; left: 10px; animation: tagFloat 4s ease-in-out infinite 1.3s; }
.tag3 { top: 50%; right: 0px; transform: translateY(-50%); animation: tagFloat 4s ease-in-out infinite 2.6s; }
@keyframes tagFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.tag3 { animation-name: tagFloat3; }
@keyframes tagFloat3 {
  0%, 100% { transform: translateY(-50%); }
  50%       { transform: translateY(calc(-50% - 8px)); }
}

@keyframes scrollPulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1000px;
}
.about-text {
  color: var(--text2);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-text strong { color: var(--green); font-weight: 400; }
.skills-section { min-height: auto; padding-top: 80px; padding-bottom: 80px; }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  max-width: 900px;
}
.skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.25s;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.skill-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.25s;
}
.skill-card:hover { border-color: var(--border2); transform: translateY(-4px); }
.skill-card:hover::before { opacity: 1; }
.skill-icon { font-size: 28px; margin-bottom: 12px; display: block; }
.skill-name {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.skill-level {
  font-size: 10px;
  color: var(--text3);
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-dim), var(--green));
  border-radius: 2px;
  width: 0;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.projects-section { min-height: 100vh; }
.projects-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0;
}
.projects-header .section-title { margin-bottom: 0; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.5s forwards;
  opacity: 0;
}
.project-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green-dim), var(--green), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.project-card:hover { border-color: var(--border2); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.project-card:hover::after { transform: scaleX(1); }
.project-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 16px;
}
.project-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.project-desc {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 20px;
}
.project-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 20px;
}
.project-tag {
  font-size: 10px;
  font-family: var(--font-mono);
  padding: 4px 10px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text3);
}
.project-footer {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.project-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px;
  color: var(--green);
  text-decoration: none;
  font-family: var(--font-mono);
  transition: gap 0.2s;
}
.project-link:hover { gap: 10px; }
.project-link svg { width: 14px; height: 14px; }
.project-num {
  font-size: 11px;
  color: var(--text3);
  font-family: var(--font-mono);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.label-hint { color: var(--text3); text-transform: none; letter-spacing: 0; }
.form-group input, .form-group textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  transition: border-color 0.2s;
  resize: vertical;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--green-dim);
  box-shadow: 0 0 0 3px rgba(74,222,128,0.08);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text3); }
.status-options { display: flex; gap: 12px; }
.status-opt {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text2);
  font-family: var(--font-mono);
}
.status-opt input[type="radio"] { accent-color: var(--green); cursor: pointer; }
.form-actions {
  display: flex; gap: 12px; justify-content: flex-end;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-dim); }
@media (max-width: 900px) {
  .section { padding: 60px 32px; }
  .hero-content { flex-direction: column-reverse; gap: 32px; }
  .hero-visual { flex: 0 0 260px; height: 260px; }
  .profile-circle { width: 160px; height: 160px; }
  .profile-initials { font-size: 56px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .projects-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  :root { --sidebar-w: 56px; }
  .nav-link span { display: none; }
  .section { padding: 48px 20px; }
  .hero-name { font-size: 3rem; }
  .about-stats { gap: 24px; }
}