/* ================================================
   DESIGN TOKENS
   ================================================ */
:root {
  --green:    #39ff14;
  --cyan:     #00e0ff;
  --bg:       #0d0d0d;
  --bg-card:  #111111;
  --bg-card2: #161616;
  --border:   rgba(0, 224, 255, 0.12);
  --border-g: rgba(57, 255, 20, 0.15);
  --text:     #e8e8e8;
  --text-muted: #8a9a9a;
  --glow-g:   rgba(57, 255, 20, 0.18);
  --glow-c:   rgba(0, 224, 255, 0.18);
  --radius:   14px;
  --radius-sm: 8px;
}

/* ================================================
   BASE
   ================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

section {
  width: 100%;
  box-sizing: border-box;
  padding-top: 5rem;
  padding-bottom: 5rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ================================================
   SECTION HEADINGS
   ================================================ */
.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}
.section-heading h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.4rem;
  letter-spacing: -0.01em;
}
.section-heading h2 span {
  color: var(--green);
}
.section-heading .heading-line {
  display: inline-block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  border-radius: 2px;
}

/* ================================================
   HERO SECTION
   ================================================ */
.terminal-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

/* Subtle grid background */
.terminal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 224, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 224, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* Radial glow */
.terminal-hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(57,255,20,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.terminal-window {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.5),
    0 20px 60px rgba(0,0,0,0.6),
    0 0 80px rgba(57,255,20,0.05);
  padding: 0;
  max-width: 640px;
  width: 90vw;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* macOS title bar */
.terminal-titlebar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #1a1a1a;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.titlebar-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.titlebar-dot.red    { background: #ff5f56; }
.titlebar-dot.yellow { background: #ffbd2e; }
.titlebar-dot.green  { background: #27c93f; }
.titlebar-label {
  flex: 1;
  text-align: center;
  font-family: 'Fira Code', monospace;
  font-size: 0.78rem;
  color: #555;
  margin-right: 40px;
}

.terminal-content {
  font-family: 'Fira Code', 'IBM Plex Mono', monospace;
  color: var(--green);
  font-size: 1.1rem;
  line-height: 2.2rem;
  letter-spacing: 0.01em;
  padding: 1.8rem 1.8rem 1.4rem;
}

.prompt { color: var(--cyan); }

.hero-btn {
  background: transparent;
  color: var(--green);
  border: 1px solid rgba(57, 255, 20, 0.4);
  border-radius: var(--radius-sm);
  padding: 0.45em 1.15em;
  margin: 0.5em 0.4em 0 0;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
  text-decoration: none;
  display: inline-block;
}
.hero-btn:hover {
  background: var(--green);
  color: #0d0d0d;
  border-color: var(--green);
  box-shadow: 0 0 20px rgba(57,255,20,0.35);
}
.hero-btn.secondary {
  color: var(--cyan);
  border-color: rgba(0, 224, 255, 0.4);
}
.hero-btn.secondary:hover {
  background: var(--cyan);
  color: #0d0d0d;
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0,224,255,0.35);
}

.hero-rotating {
  padding: 0 1.8rem 1.4rem;
  font-family: 'Fira Code', monospace;
  color: var(--cyan);
  font-size: 0.92rem;
  min-height: 1.6em;
  opacity: 0.8;
}

.scroll-down {
  position: absolute;
  left: 50%;
  bottom: 2.5rem;
  transform: translateX(-50%);
  font-size: 1.4rem;
  color: var(--cyan);
  cursor: pointer;
  animation: bounce 2s ease-in-out infinite;
  user-select: none;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.scroll-down:hover { opacity: 1; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(10px); }
}

/* ================================================
   ABOUT SECTION
   ================================================ */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}

.about-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.about-bio {
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}
.about-bio strong { color: var(--text); }

.about-label {
  font-family: 'Fira Code', monospace;
  font-size: 0.75rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
  display: block;
}

.education-timeline {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.education-timeline li {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.education-timeline li:last-child { border-bottom: none; }
.education-timeline strong { color: var(--text); font-size: 0.95rem; }
.edu-year {
  font-family: 'Fira Code', monospace;
  color: var(--green);
  font-size: 0.8rem;
}
.edu-grade {
  font-family: 'Fira Code', monospace;
  color: var(--cyan);
  font-size: 0.8rem;
}

.soft-skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  list-style: none;
  padding: 0;
  margin: 0;
}
.soft-skills-list li {
  background: rgba(57, 255, 20, 0.06);
  color: var(--green);
  border: 1px solid rgba(57, 255, 20, 0.2);
  border-radius: 20px;
  padding: 0.3em 0.9em;
  font-size: 0.83rem;
}

@media (max-width: 700px) {
  .about-container { grid-template-columns: 1fr; }
}

/* ================================================
   SKILLS SECTION
   ================================================ */
.skills-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

.skills-terminal {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0,224,255,0.04);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.4em;
  background: #161616;
  padding: 0.65em 1em;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.terminal-dot.red    { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green  { background: #27c93f; }
.terminal-filename {
  margin-left: 0.5rem;
  font-family: 'Fira Code', monospace;
  font-size: 0.78rem;
  color: #555;
}

.skills-terminal-content {
  padding: 1.5em 1.8em;
  font-family: 'Fira Code', 'IBM Plex Mono', monospace;
  color: var(--green);
  font-size: 1rem;
}

/* Skill category grid rendered BELOW the terminal prompt */
.skills-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  margin-top: 1.8rem;
  padding: 0 0.2rem;
}
.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.3rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.skill-category:hover {
  border-color: rgba(57,255,20,0.25);
  box-shadow: 0 0 20px rgba(57,255,20,0.06);
}
.skill-cat-label {
  font-family: 'Fira Code', monospace;
  font-size: 0.72rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.skill-cat-label::before {
  content: '//';
  color: rgba(0,224,255,0.35);
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
}
.skill-tag {
  background: rgba(57, 255, 20, 0.07);
  color: var(--green);
  border: 1px solid rgba(57, 255, 20, 0.18);
  border-radius: 5px;
  padding: 0.25em 0.7em;
  font-size: 0.82rem;
  font-family: 'Fira Code', monospace;
  transition: background 0.15s, border-color 0.15s;
}
.skill-tag:hover {
  background: rgba(57,255,20,0.14);
  border-color: rgba(57,255,20,0.4);
}
.skill-tag.secondary {
  background: rgba(0,224,255,0.06);
  color: var(--cyan);
  border-color: rgba(0,224,255,0.18);
}
.skill-tag.secondary:hover {
  background: rgba(0,224,255,0.12);
  border-color: rgba(0,224,255,0.4);
}

/* ================================================
   PROJECTS SECTION
   ================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.project-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.6rem 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
  position: relative;
  overflow: hidden;
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  opacity: 0;
  transition: opacity 0.25s;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 30px rgba(0,224,255,0.07);
  border-color: rgba(0,224,255,0.2);
}
.project-card:hover::before { opacity: 1; }

/* Featured badge for top backend projects */
.project-badge {
  display: inline-block;
  font-family: 'Fira Code', monospace;
  font-size: 0.68rem;
  color: var(--cyan);
  border: 1px solid rgba(0,224,255,0.3);
  border-radius: 20px;
  padding: 0.15em 0.6em;
  margin-bottom: 0.8rem;
  background: rgba(0,224,255,0.06);
}
.project-badge.wip {
  color: #ffbd2e;
  border-color: rgba(255,189,46,0.3);
  background: rgba(255,189,46,0.06);
}

.project-header {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  margin-bottom: 0.6em;
}
.project-icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-top: 2px;
  flex-shrink: 0;
}
.project-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
}

.project-desc {
  color: var(--text-muted);
  margin: 0.5em 0 0.9em;
  font-size: 0.9rem;
  line-height: 1.65;
  flex: 1;
}

.project-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 0.9em;
}
.project-highlights li {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  padding: 0.2em 0 0.2em 1.1em;
  position: relative;
}
.project-highlights li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 0.75rem;
}

.project-tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em;
  margin-bottom: 1.1em;
}
.tech-chip {
  font-family: 'Fira Code', monospace;
  font-size: 0.73rem;
  background: rgba(57,255,20,0.07);
  color: var(--green);
  border: 1px solid rgba(57,255,20,0.15);
  border-radius: 4px;
  padding: 0.2em 0.55em;
}
.tech-chip.alt {
  background: rgba(0,224,255,0.07);
  color: var(--cyan);
  border-color: rgba(0,224,255,0.15);
}

.project-links {
  display: flex;
  gap: 0.7em;
  margin-top: auto;
}
.project-link {
  font-family: 'Fira Code', monospace;
  font-size: 0.8rem;
  color: var(--green);
  border: 1px solid rgba(57,255,20,0.3);
  border-radius: var(--radius-sm);
  padding: 0.35em 1em;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}
.project-link:hover {
  background: var(--green);
  color: #0d0d0d;
  box-shadow: 0 0 16px rgba(57,255,20,0.3);
}
.project-link.live-demo {
  color: var(--cyan);
  border-color: rgba(0,224,255,0.3);
}
.project-link.live-demo:hover {
  background: var(--cyan);
  color: #0d0d0d;
  box-shadow: 0 0 16px rgba(0,224,255,0.3);
}

@media (max-width: 700px) {
  .projects-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* ================================================
   EXPERIENCE SECTION
   ================================================ */
.experience-timeline {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}
.experience-timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--green), transparent);
  opacity: 0.2;
}

.experience-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.6rem 1.8rem 1.4rem 2.2rem;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.experience-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 1.8rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(57,255,20,0.5);
  border: 2px solid var(--bg);
}
.experience-item:hover {
  border-color: rgba(57,255,20,0.2);
  box-shadow: 0 0 20px rgba(57,255,20,0.04);
}

.exp-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5em 1em;
  margin-bottom: 0.9rem;
}
.exp-role {
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
}
.exp-company {
  color: var(--green);
  font-size: 1rem;
  font-family: 'Fira Code', monospace;
}
.exp-date {
  margin-left: auto;
  font-family: 'Fira Code', monospace;
  color: var(--text-muted);
  font-size: 0.82rem;
  background: rgba(0,224,255,0.06);
  border: 1px solid rgba(0,224,255,0.15);
  padding: 0.2em 0.7em;
  border-radius: 20px;
}

.exp-details {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.exp-details li {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 0.2em 0 0.2em 1.1em;
  position: relative;
}
.exp-details li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: 0.75rem;
}

.exp-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em;
}
.exp-tech-tag {
  font-family: 'Fira Code', monospace;
  font-size: 0.73rem;
  background: rgba(0,224,255,0.07);
  color: var(--cyan);
  border: 1px solid rgba(0,224,255,0.15);
  border-radius: 4px;
  padding: 0.2em 0.55em;
}

@media (max-width: 700px) {
  .experience-item { padding: 1.2rem 1rem 1rem 1.5rem; }
  .exp-header { flex-direction: column; gap: 0.3em; }
  .exp-date { margin-left: 0; }
}

/* ================================================
   FUN TERMINAL
   ================================================ */
#fun-terminal {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fun-terminal-title {
  text-align: center;
  color: var(--green);
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.fun-terminal-desc {
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
}
.fun-terminal-desc code {
  color: var(--cyan);
  font-family: 'Fira Code', monospace;
  background: rgba(0,224,255,0.07);
  padding: 0.1em 0.4em;
  border-radius: 4px;
}

.fun-terminal-window {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  max-width: 640px;
  width: 100%;
  font-family: 'Fira Code', 'IBM Plex Mono', monospace;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0,0,0,0.3);
}
.fun-terminal-output {
  color: var(--green);
  font-size: 0.95rem;
  min-height: 3em;
  padding: 1.2em 1.5em;
  white-space: pre-line;
  word-break: break-word;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  line-height: 1.7;
}
.fun-terminal-input-row {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.9em 1.5em;
  background: #0f0f0f;
}
.fun-terminal-input {
  background: transparent;
  color: var(--green);
  border: none;
  font-family: 'Fira Code', monospace;
  font-size: 0.95rem;
  outline: none;
  width: 100%;
  caret-color: var(--green);
}

/* ================================================
   CONTACT SECTION
   ================================================ */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 2rem;
  max-width: 820px;
  margin: 0 auto;
  align-items: start;
}

.contact-info {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}
.contact-info h3 {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 1.2rem;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.contact-detail-icon {
  font-family: 'Fira Code', monospace;
  color: var(--cyan);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-detail-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.contact-detail-text a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-detail-text a:hover { color: var(--cyan); }
.contact-detail-label {
  display: block;
  font-size: 0.72rem;
  color: #555;
  font-family: 'Fira Code', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.contact-container {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.contact-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
}

.contact-title {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 1.5rem;
}
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-family: 'Fira Code', monospace;
  color: var(--cyan);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.input-focus,
input[type="text"],
input[type="email"],
textarea {
  background: #0d0d0d;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 0.65em 1em;
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
  width: 100%;
}
.input-focus:focus,
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: rgba(0,224,255,0.4);
  box-shadow: 0 0 0 3px rgba(0,224,255,0.08);
}
.input-error   { border-color: #ff5f56 !important; }
.input-success { border-color: rgba(57,255,20,0.4) !important; }

.btn-animated {
  width: 100%;
  margin-top: 0.25em;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, var(--green) 0%, var(--cyan) 100%);
  color: #0d0d0d;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.75em;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 0 20px rgba(57,255,20,0.2);
}
.btn-animated:hover {
  opacity: 0.92;
  box-shadow: 0 0 30px rgba(57,255,20,0.35);
}
.btn-animated:active { transform: scale(0.98); }
.btn-animated:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.success-message {
  color: var(--green);
  background: rgba(57,255,20,0.06);
  border: 1px solid rgba(57,255,20,0.2);
  border-radius: var(--radius-sm);
  padding: 0.8em 1.2em;
  margin-top: 0.5em;
  font-size: 0.9rem;
  text-align: center;
}
.error-message {
  color: #ff5f56;
  background: rgba(255,95,86,0.06);
  border: 1px solid rgba(255,95,86,0.2);
  border-radius: var(--radius-sm);
  padding: 0.8em 1.2em;
  margin-top: 0.5em;
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 700px) {
  .contact-wrapper { grid-template-columns: 1fr; }
}

/* ================================================
   FADE-IN ANIMATION
   ================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 600px) {
  section { padding-top: 3.5rem; padding-bottom: 3.5rem; padding-left: 1rem; padding-right: 1rem; }
  .section-heading h2 { font-size: 1.6rem; }
  .terminal-content { font-size: 0.95rem; padding: 1.2rem; }
  .hero-btn { font-size: 0.82rem; padding: 0.4em 0.9em; }
  .terminal-window { width: 95vw; }
  .skills-categories { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
}
