/* ============================================================
   portfolio.css — Ajay Ramineni Portfolio
   Dark moody · Cormorant Garamond + DM Mono + Open Sans
   ============================================================ */

/* ── Variables ── */
:root {
  --bg:        #0c0b09;
  --surface:   #141310;
  --surface2:  #1c1a17;
  --surface3:  #222018;
  --border:    #2a2620;
  --text:      #d8d2c8;
  --muted:     #7a7169;
  --accent:    #c9a96e;
  --white:     #f5f0e8;
  --sidebar-w: 260px;
}

/* ── Base (reset handled by global.css) ── */
html { font-size: 18px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.6s ease;
}


a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ── ANIMATIONS ── */
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes blink { 50% { opacity: 0; } }
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}


/* ── SIDEBAR ── */
.sidebar {
  position: fixed; top: 0; left: 0;
  width: var(--sidebar-w); height: 100vh;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center;
  padding: 2.5rem 0 2rem;
  z-index: 1000; overflow-y: auto;
}

.sidebar-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  object-fit: cover; object-position: top center;
  border: 2px solid var(--border);
  filter: grayscale(15%);
  transition: filter 0.3s, border-color 0.3s;
  margin-bottom: 1rem;
}
.sidebar-avatar:hover { filter: grayscale(0); border-color: var(--accent); }

.sidebar-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400; font-size: 1.05rem;
  letter-spacing: 0.06em; color: var(--white);
  text-align: center; margin-bottom: 0.3rem;
}
.sidebar-role {
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
  text-align: center; margin-bottom: 1.4rem;
}

.sidebar-social {
  display: flex; gap: 0.55rem; justify-content: center;
  margin-bottom: 2rem; flex-wrap: wrap; padding: 0 1rem;
}
.sidebar-social a {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; color: var(--muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.sidebar-social a:hover { color: var(--accent); border-color: var(--accent); background: rgba(201,169,110,0.08); }

.sidebar-nav { width: 100%; margin-bottom: 1.5rem; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.7rem 1.8rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: #a09880; font-weight: 400;
  border-left: 2px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.sidebar-nav a i { font-size: 1rem; width: 16px; flex-shrink: 0; }
.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: var(--accent);
  background: rgba(201,169,110,0.06);
  border-left-color: var(--accent);
}

.sidebar-resume-btn {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  border: 1px solid rgba(201,169,110,0.4);
  color: var(--accent);
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}
.sidebar-resume-btn:hover { background: var(--accent); color: var(--bg); }

/* ── MAIN ── */
.main-content { margin-left: var(--sidebar-w); min-height: 100vh; }

/* ── SECTION BASE ── */
.p-section {
  padding: 5rem clamp(2.5rem, 6vw, 5rem);
  border-bottom: 1px solid var(--border);
}
.p-section:last-of-type { border-bottom: none; }

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-bottom: 0.7rem;
}
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--accent); }
.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white); line-height: 1.1;
  letter-spacing: 0.02em; margin-bottom: 3rem;
}

/* ── HERO ── */
#hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center;
  overflow: hidden; border-bottom: 1px solid var(--border);
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/hero.jpg') center/cover no-repeat;
  filter: brightness(0.22);
  animation: heroZoom 14s ease forwards;
}
.hero-content {
  position: relative; z-index: 1;
  padding: clamp(2.5rem, 8vw, 6rem);
  animation: fadeSlideUp 1.1s 0.3s ease both;
}
.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.2rem;
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.hero-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--accent); }
.hero-name {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(3.8rem, 9vw, 7.5rem);
  line-height: 0.95; letter-spacing: 0.01em;
  color: var(--white); margin-bottom: 1.5rem;
}
.hero-typed-wrap {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  color: rgba(245,240,232,0.6); margin-bottom: 0.5rem;
  display: flex; align-items: center; gap: 0.4rem;
  min-height: 2.2rem;
}
.hero-typed-wrap em { color: var(--accent); font-style: italic; }
.typed-cursor { color: var(--accent); animation: blink 0.85s step-end infinite; }
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-top: 2.5rem;
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.72rem 2rem;
  border: 1px solid rgba(201,169,110,0.45);
  color: var(--accent);
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.22s, color 0.22s, border-color 0.22s;
}
.btn-outline:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.72rem 2rem;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  border-radius: 2px;
  transition: color 0.22s, border-color 0.22s;
}
.btn-ghost:hover { color: var(--white); border-color: var(--text); }

/* ── ABOUT ── */
.about-grid {
  display: grid; grid-template-columns: 260px 1fr;
  gap: 4rem; align-items: start;
}
.about-img-wrap { position: relative; }
.about-img-wrap img {
  width: 100%; aspect-ratio: 4/5;
  object-fit: cover; object-position: top center;
  filter: grayscale(10%) brightness(0.9);
  transition: filter 0.4s;
}
.about-img-wrap:hover img { filter: grayscale(0) brightness(1); }
.about-img-wrap::after {
  content: ''; position: absolute;
  bottom: -10px; right: -10px;
  width: 100%; height: 100%;
  border: 1px solid var(--border);
  pointer-events: none;
  transition: transform 0.3s;
  z-index: -1;
}
.about-img-wrap:hover::after { transform: translate(5px, 5px); }

.about-text p {
  font-size: 0.96rem; line-height: 1.9;
  color: var(--text); margin-bottom: 2rem;
}
.about-details {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.55rem 2rem; margin-bottom: 2rem;
}
.about-detail {
  font-size: 0.82rem; color: var(--muted);
  display: flex; gap: 0.5rem; align-items: baseline;
}
.about-detail i { color: var(--accent); font-size: 0.65rem; flex-shrink: 0; }
.about-detail strong { color: var(--white); font-weight: 600; min-width: 70px; }

/* ── RESUME ── */
.resume-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
}
.resume-block { margin-bottom: 2.5rem; }
.resume-block:last-child { margin-bottom: 0; }

.resume-block-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.resume-block-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* Timeline */
.timeline { position: relative; padding-left: 1.4rem; }
.timeline::before {
  content: ''; position: absolute;
  left: 3px; top: 8px; bottom: 8px;
  width: 1px; background: var(--border);
}
.tl-item { position: relative; margin-bottom: 1.8rem; }
.tl-item:last-child { margin-bottom: 0; }
.tl-dot {
  position: absolute; left: -1.4rem; top: 0.45em;
  width: 8px; height: 8px; border-radius: 50%;
  border: 1px solid var(--accent); background: var(--bg);
}
.tl-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.08rem; font-weight: 400; color: var(--white);
  margin-bottom: 0.15rem;
}
.tl-org { font-size: 0.82rem; color: var(--accent); margin-bottom: 0.15rem; }
.tl-date {
  font-family: 'DM Mono', monospace; font-size: 0.57rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.4rem;
}
.tl-body { font-size: 0.84rem; color: var(--muted); line-height: 1.7; }
.tl-gpa {
  display: inline-block; margin-top: 0.3rem;
  font-family: 'DM Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.1em; color: var(--accent);
  border: 1px solid rgba(201,169,110,0.3);
  padding: 0.2rem 0.6rem; border-radius: 2px;
}

/* Cert cards */
.cert-list { display: flex; flex-direction: column; gap: 0.5rem; }
.cert-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 2px; transition: border-color 0.2s;
}
.cert-item:hover { border-color: var(--accent); }
.cert-left { display: flex; align-items: center; gap: 0.65rem; }
.cert-left i { color: var(--accent); font-size: 0.85rem; }
.cert-name { font-size: 0.82rem; color: var(--text); }
.cert-date {
  font-family: 'DM Mono', monospace; font-size: 0.55rem;
  letter-spacing: 0.08em; color: var(--muted); margin-top: 0.1rem;
}
.cert-link {
  font-family: 'DM Mono', monospace; font-size: 0.55rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--border);
  padding: 0.2rem 0.6rem; border-radius: 2px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.cert-link:hover { color: var(--accent); border-color: var(--accent); }

/* Leadership */
.leadership-list { display: flex; flex-direction: column; gap: 0.6rem; }
.leadership-item {
  display: flex; align-items: flex-start; gap: 0.65rem;
  font-size: 0.84rem; color: var(--muted); line-height: 1.6;
}
.leadership-item i { color: var(--accent); font-size: 0.7rem; margin-top: 0.3em; flex-shrink: 0; }

/* ── SKILLS ── */
.skills-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}
.skill-card {
  background: var(--surface); padding: 1.8rem 1.4rem;
  transition: background 0.25s;
}
.skill-card:hover { background: var(--surface2); }
.skill-card-title {
  font-family: 'DM Mono', monospace; font-size: 0.57rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.4rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.skill-card-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.skill-icons { display: flex; flex-wrap: wrap; gap: 1rem 0.9rem; }
.skill-icon {
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem; width: 52px;
}
.skill-icon img {
  width: 28px !important; height: 28px !important;
  min-width: 28px; max-width: 28px;
  object-fit: contain;
  filter: grayscale(25%) brightness(0.88);
  transition: filter 0.2s, transform 0.2s;
}
.skill-icon:hover img { filter: grayscale(0) brightness(1.1); transform: translateY(-2px); }
.skill-icon span {
  font-family: 'DM Mono', monospace; font-size: 0.52rem;
  letter-spacing: 0.03em; color: var(--muted); text-align: center;
}

/* ── EXPERIENCE ── */
.exp-card {
  background: var(--surface); border: 1px solid var(--border);
  padding: 2rem 2.5rem; margin-bottom: 1px;
  transition: background 0.25s, border-color 0.25s;
  position: relative; overflow: hidden;
}
.exp-card::before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--accent);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.35s ease;
}
.exp-card:hover { background: var(--surface2); border-color: rgba(201,169,110,0.3); }
.exp-card:hover::before { transform: scaleY(1); }
.exp-title {
  font-family: 'Cormorant Garamond', serif; font-size: 1.35rem;
  font-weight: 400; color: var(--white); margin-bottom: 0.25rem;
}
.exp-meta {
  font-family: 'DM Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.exp-list { padding-left: 1rem; }
.exp-list li {
  list-style: disc; font-size: 0.86rem;
  color: var(--muted); line-height: 1.8; margin-bottom: 0.3rem;
}
.exp-list li::marker { color: var(--accent); }

/* ── PROJECTS ── */
.projects-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}
.project-card {
  background: var(--surface); padding: 2rem 2rem 2.2rem;
  transition: background 0.25s; position: relative;
}
.project-card:hover { background: var(--surface2); }
.project-num {
  font-family: 'Cormorant Garamond', serif; font-size: 4rem;
  font-weight: 300; color: rgba(201,169,110,0.07);
  position: absolute; top: 0.8rem; right: 1.2rem;
  line-height: 1; pointer-events: none;
  transition: color 0.3s;
}
.project-card:hover .project-num { color: rgba(201,169,110,0.14); }
.project-tag {
  font-family: 'DM Mono', monospace; font-size: 0.55rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.6rem;
}
.project-title {
  font-family: 'Cormorant Garamond', serif; font-size: 1.15rem;
  font-weight: 400; color: var(--white); margin-bottom: 0.7rem;
  line-height: 1.3; transition: color 0.2s;
}
.project-card:hover .project-title { color: var(--accent); }
.project-desc { font-size: 0.82rem; line-height: 1.75; color: var(--muted); }
.project-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  margin-top: 0.9rem;
  font-family: 'DM Mono', monospace; font-size: 0.57rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--border);
  padding-bottom: 0.1rem;
  transition: color 0.2s, border-color 0.2s;
}
.project-link:hover { color: var(--accent); border-color: var(--accent); }

/* ── CONTACT ── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 2.5rem;
}
.contact-info-col { display: flex; flex-direction: column; gap: 0.9rem; }
.contact-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.contact-item:hover { border-color: rgba(201,169,110,0.3); }
.contact-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 0.95rem;
}
.contact-label {
  font-family: 'DM Mono', monospace; font-size: 0.55rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.15rem;
}
.contact-value { font-size: 0.85rem; color: var(--text); }
.contact-value a { transition: color 0.2s; }
.contact-value a:hover { color: var(--accent); }
.contact-map {
  width: 100%; height: 150px;
  border: 1px solid var(--border); margin-top: 0.4rem;
  filter: grayscale(80%) brightness(0.55);
  transition: filter 0.3s;
}
.contact-map:hover { filter: grayscale(20%) brightness(0.75); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 0.8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.form-field { display: flex; flex-direction: column; gap: 0.3rem; }
.form-field label {
  font-family: 'DM Mono', monospace; font-size: 0.56rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.form-field input,
.form-field textarea {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); padding: 0.72rem 1rem;
  font-family: 'Open Sans', sans-serif; font-size: 0.86rem; font-weight: 300;
  border-radius: 2px; outline: none;
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--accent); }
.form-field textarea { resize: none; min-height: 120px; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted); opacity: 0.5; }

.form-submit {
  align-self: flex-start; padding: 0.72rem 2.2rem;
  background: transparent; border: 1px solid rgba(201,169,110,0.45);
  color: var(--accent); font-family: 'DM Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer; border-radius: 2px;
  transition: background 0.22s, color 0.22s, border-color 0.22s;
}
.form-submit:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.form-submit:disabled { opacity: 0.45; cursor: not-allowed; }

.form-status {
  font-family: 'DM Mono', monospace; font-size: 0.62rem;
  letter-spacing: 0.08em; color: var(--accent); min-height: 1.4rem;
}
.form-status.error { color: #d97070; }

/* ── FOOTER ── */
.p-footer {
  padding: 2rem clamp(2.5rem, 6vw, 5rem);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  font-family: 'DM Mono', monospace; font-size: 0.58rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.p-footer a { color: var(--muted); transition: color 0.2s; }
.p-footer a:hover { color: var(--accent); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  :root { --sidebar-w: 220px; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .sidebar { display: none; }
  .main-content { margin-left: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { max-width: 240px; }
  .resume-cols { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  :root { --sidebar-w: 0px; }
  .skills-grid { grid-template-columns: 1fr; }
  .p-footer { flex-direction: column; gap: 0.6rem; text-align: center; }
  .hero-name { font-size: 3rem; }
}

/* ── SCROLL PROGRESS BAR ── */
#scroll-progress {
  position: fixed; top: 0; left: var(--sidebar-w); right: 0;
  height: 2px; background: var(--accent);
  z-index: 9998; width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(201,169,110,0.5);
}

/* ── CUSTOM CURSOR ── */
#cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  pointer-events: none; z-index: 99999;
  transition: opacity 0.2s;
}
#cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.5);
  pointer-events: none; z-index: 99998;
  transition: width 0.2s, height 0.2s, border-color 0.2s;
}
#cursor-ring.cursor-hover {
  width: 52px; height: 52px;
  border-color: rgba(201,169,110,0.9);
}
@media (hover: none) {
  #cursor-dot, #cursor-ring { display: none; }
}

/* ── EXIT / HOME BUTTON ── */
.exit-btn {
  position: fixed;
  top: 1.2rem;
  right: 1.4rem;
  z-index: 10000;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.2rem;
  border: 1px solid rgba(201,169,110,0.4);
  color: var(--accent);
  background: rgba(12,11,9,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.22s, color 0.22s, border-color 0.22s;
}
.exit-btn i { font-size: 0.75rem; }
.exit-btn:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

/* ── MOBILE NAV (shows when sidebar is hidden, ≤900px) ── */
.portfolio-mobile-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(14, 13, 11, 0.96);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.5rem 0 env(safe-area-inset-bottom, 0.4rem);
  justify-content: space-around;
  align-items: center;
}
.portfolio-mobile-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.3rem 0.5rem;
  color: var(--muted);
  font-family: 'DM Mono', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
  text-decoration: none;
}
.portfolio-mobile-nav a i {
  font-size: 1.1rem;
}
.portfolio-mobile-nav a:hover,
.portfolio-mobile-nav a.active {
  color: var(--accent);
}
@media (max-width: 900px) {
  .portfolio-mobile-nav { display: flex; }
  /* Prevent content from hiding behind the mobile nav */
  .main-content { padding-bottom: 70px; }
}
@media (max-width: 480px) {
  .portfolio-mobile-nav a span { display: none; }
  .portfolio-mobile-nav a i { font-size: 1.25rem; }
}
