/* iTerm2-inspired Terminal Theme - One Page Design */

/* Import terminal-friendly fonts */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* iTerm2 Dark Theme Colors */
  --bg-primary: #1d1f21;
  --bg-secondary: #282a2e;
  --bg-tertiary: #373b41;
  --fg-primary: #c5c8c6;
  --fg-secondary: #969896;
  --accent-green: #b5bd68;
  --accent-blue: #81a2be;
  --accent-yellow: #f0c674;
  --accent-orange: #de935f;
  --accent-purple: #b294bb;
  --accent-red: #cc6666;
  --accent-cyan: #8abeb7;
  --cursor: #c5c8c6;
  --selection: rgba(255, 255, 255, 0.1);
  --border: #373b41;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--fg-primary);
  overflow-x: hidden;
}

body {
  background: linear-gradient(135deg, #1d1f21 0%, #282a2e 100%);
  background-attachment: fixed;
}

/* Hide old elements */
.lm-animated-bg,
.preloader,
.header.mobile-menu-hide {
  display: none !important;
}

/* Top Navigation Bar */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(29, 31, 33, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  color: var(--accent-green);
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-logo::before {
  content: '> ';
  color: var(--accent-green);
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
}

.nav-menu li a {
  padding: 0.5rem 1rem;
  color: var(--fg-secondary);
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.nav-menu li a:hover {
  background: rgba(181, 189, 104, 0.1);
  color: var(--accent-green);
}

.nav-cv-button {
  display: flex;
  gap: 0.5rem;
}

.btn-cv {
  padding: 0.5rem 1rem;
  background: var(--accent-blue);
  color: var(--bg-primary);
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid var(--accent-blue);
}

.btn-cv:hover {
  background: var(--accent-green);
  border-color: var(--accent-green);
  box-shadow: 0 0 15px rgba(181, 189, 104, 0.3);
  transform: translateY(-2px);
}

/* Fixed CV Button (right side) */
.fixed-cv-button {
  position: fixed;
  top: 70px;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Floating Highlights Block */
.floating-highlights {
  position: sticky;
  right: 2rem;
  top: 100px;
  float: right;
  width: 340px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: rgba(40, 42, 46, 0.98);
  backdrop-filter: blur(20px);
  border: 2px solid var(--accent-green);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 0 0 2rem 2rem;
  z-index: 900;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: width, height, border-radius, padding;
}

.floating-highlights.collapsed {
  width: 60px !important;
  height: 60px !important;
  min-height: 60px !important;
  max-height: 60px !important;
  padding: 0 !important;
  overflow: hidden !important;
  cursor: pointer !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 0 2rem 2rem !important;
  animation: pulse 2s infinite !important;
}

.floating-highlights.collapsed:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 50px rgba(181, 189, 104, 0.5);
}

.floating-highlights.collapsed .highlights-content,
.floating-highlights.collapsed .section-header,
.floating-highlights.collapsed .md-section {
  display: none !important;
  opacity: 0 !important;
}

.floating-highlights.collapsed::before {
  content: '✨';
  font-size: 2rem;
  display: block;
  animation: none;
}

.floating-highlights.collapsed::after {
  content: 'Certificates & Highlights';
  position: absolute;
  left: -10px;
  transform: translateX(-100%);
  background: rgba(40, 42, 46, 0.95);
  color: var(--accent-green);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  border: 1px solid var(--accent-green);
}

.floating-highlights.collapsed:hover::after {
  opacity: 1;
}

.floating-highlights.expanded {
  cursor: default;
  animation: none;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  }
  50% {
    box-shadow: 0 10px 40px rgba(181, 189, 104, 0.4);
  }
}

.floating-highlights:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 10px 50px rgba(129, 162, 190, 0.4);
  transform: translateY(-2px);
}

.floating-highlights .section-header {
  margin-bottom: 1.5rem;
}

.floating-highlights .terminal-prompt {
  color: var(--accent-green);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
}

.floating-highlights .md-section {
  color: var(--fg-primary);
}

.floating-highlights .md-section h2 {
  color: var(--accent-yellow);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.floating-highlights .md-section h2:first-child {
  margin-top: 0;
}

.floating-highlights .md-section ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.floating-highlights .md-section li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.floating-highlights .md-section li:last-child {
  margin-bottom: 0;
}

.floating-highlights .md-section a {
  color: var(--accent-blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
  font-weight: 500;
}

.floating-highlights .md-section a:hover {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
}

.floating-highlights .md-section strong {
  color: var(--fg-primary);
  font-weight: 600;
}

/* Emoji support for icons */
.floating-highlights .md-section li::before {
  content: '';
  flex-shrink: 0;
}

/* Scrollbar for highlights */
.floating-highlights::-webkit-scrollbar {
  width: 8px;
}

.floating-highlights::-webkit-scrollbar-track {
  background: rgba(29, 31, 33, 0.5);
  border-radius: 4px;
}

.floating-highlights::-webkit-scrollbar-thumb {
  background: var(--accent-green);
  border-radius: 4px;
}

.floating-highlights::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue);
}

/* Page Container */
.page {
  background: transparent;
  min-height: 100vh;
  padding-top: 60px;
}

.page-content {
  position: relative;
  min-height: 100vh;
  background: transparent;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

/* Main Content Wrapper */
.main-content {
  margin-right: 400px;
  position: relative;
  width: 100%;
}

/* Hero Section */
.hero-section {
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
}

.hero-content {
  background: rgba(40, 42, 46, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3rem 4rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.hero-prompt {
  color: var(--accent-green);
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.hero-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 3.5rem;
  color: var(--accent-green);
  margin: 0;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(181, 189, 104, 0.5);
  line-height: 1.2;
}

.hero-cursor {
  display: inline-block;
  width: 12px;
  height: 48px;
  background: var(--accent-green);
  animation: terminal-blink 1s infinite;
  margin-left: 4px;
  vertical-align: text-bottom;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  color: var(--accent-blue);
  margin: 1rem 0 2rem;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.hero-btn {
  padding: 0.8rem 2rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  color: var(--fg-primary);
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  font-weight: 500;
}

.hero-btn:hover {
  background: var(--accent-green);
  color: var(--bg-primary);
  border-color: var(--accent-green);
  box-shadow: 0 0 20px rgba(181, 189, 104, 0.4);
  transform: translateY(-2px);
}

.hero-btn-primary {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: var(--bg-primary);
}

.hero-btn-primary:hover {
  background: var(--accent-green);
  border-color: var(--accent-green);
}

.hero-social {
  margin-top: 2rem;
}

.hero-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--accent-blue);
  transition: all 0.2s ease;
  font-size: 1.2rem;
}

.hero-social a:hover {
  background: var(--accent-blue);
  color: var(--bg-primary);
  border-color: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(129, 162, 190, 0.4);
}

/* Content Sections */
.content-section {
  background: rgba(40, 42, 46, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 3rem 2rem;
  margin: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  scroll-margin-top: 80px;
}

.section-header {
  display: flex;
  align-items: baseline;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--accent-blue);
  padding-bottom: 0.75rem;
}

.terminal-prompt {
  color: var(--accent-green);
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.2rem;
  margin-right: 1rem;
}

.section-title {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  color: var(--accent-blue);
  margin: 0;
  font-weight: 600;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  color: var(--fg-primary);
  margin-top: 0;
}

h2 {
  color: var(--accent-blue);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

h3 {
  color: var(--accent-yellow);
  font-size: 1.3rem;
  margin: 1.5rem 0 0.75rem;
}

h4 {
  color: var(--accent-cyan);
  font-size: 1.1rem;
  margin: 1rem 0 0.5rem;
}

p {
  color: var(--fg-primary);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Links */
a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}

a:hover {
  color: var(--accent-green);
  border-bottom-color: var(--accent-green);
}

/* Markdown Content */
.md-section {
  color: var(--fg-primary);
  line-height: 1.8;
}

.md-section h2 {
  color: var(--accent-blue);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.md-section h3 {
  color: var(--accent-yellow);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.md-section ul, .md-section ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.md-section li {
  margin-bottom: 0.5rem;
  color: var(--fg-primary);
  line-height: 1.6;
}

.md-section strong {
  color: var(--accent-green);
  font-weight: 600;
}

.md-section em {
  color: var(--accent-yellow);
}

/* Experience Section Compact */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.experience-item {
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: 6px;
  border-left: 3px solid var(--accent-green);
  transition: all 0.2s ease;
}

.experience-item:hover {
  border-left-color: var(--accent-blue);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transform: translateX(5px);
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.skill-tag {
  background: var(--bg-secondary);
  padding: 0.6rem 1rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--accent-cyan);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  text-align: center;
}

.skill-tag:hover {
  border-color: var(--accent-green);
  background: rgba(181, 189, 104, 0.1);
  transform: scale(1.05);
}

/* Portfolio/Videos Section */
.portfolio-filters {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.portfolio-filters li a {
  padding: 0.6rem 1.2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--fg-secondary);
  transition: all 0.2s ease;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}

.portfolio-filters li.active a,
.portfolio-filters li a:hover {
  background: var(--accent-green);
  color: var(--bg-primary);
  border-color: var(--accent-green);
  box-shadow: 0 0 10px rgba(181, 189, 104, 0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* Portfolio/Video Items */
.item, figure.item {
  margin: 0;
  padding: 0;
  display: block;
  transition: opacity 0.3s ease;
}

.portfolio-item-img {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--bg-secondary);
  position: relative;
}

.portfolio-item-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent, rgba(29, 31, 33, 0.8));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.portfolio-item-img a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.portfolio-item-img:hover::after {
  opacity: 1;
}

.portfolio-item-img:hover {
  border-color: var(--accent-green);
  box-shadow: 0 0 20px rgba(181, 189, 104, 0.3);
  transform: translateY(-5px);
}

.portfolio-item-img img {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: cover;
  object-position: center;
  display: block;
}

figure.item h4.name {
  color: var(--fg-primary);
  margin: 0.75rem 0 0.5rem;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  width: 100%;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  white-space: normal;
  line-height: 1.4;
}

figure.item .category {
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-family: 'JetBrains Mono', monospace;
  word-wrap: break-word;
  white-space: normal;
}

figure.item i {
  color: var(--accent-blue);
  margin-top: 0.5rem;
}

/* Blog Placeholder */
.blog-placeholder {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--fg-secondary);
  font-family: 'JetBrains Mono', monospace;
}

.blog-placeholder::before {
  content: '$ cat blog/* 2>/dev/null\n';
  display: block;
  color: var(--accent-green);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Footer/Contact */
.footer-section {
  background: rgba(29, 31, 33, 0.8);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  margin-top: 2rem;
  text-align: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

.contact-item {
  font-family: 'JetBrains Mono', monospace;
  color: var(--fg-secondary);
  font-size: 0.95rem;
}

.contact-item a {
  color: var(--accent-blue);
  border: none;
}

.contact-item a:hover {
  color: var(--accent-green);
}

/* Code/Technical Content */
code, pre {
  font-family: 'JetBrains Mono', monospace;
  background: var(--bg-secondary);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  color: var(--accent-yellow);
}

pre {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow-x: auto;
  background: var(--bg-secondary);
}

/* Info Lists */
.info-list ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.info-list .title {
  color: var(--fg-secondary);
  font-family: 'JetBrains Mono', monospace;
}

.info-list .value {
  color: var(--accent-green);
  font-weight: 600;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 6px;
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-green);
}

/* Animations */
@keyframes terminal-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease-out;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .top-nav {
    padding: 0 1rem;
    height: auto;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .nav-logo {
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.8rem;
  }

  .nav-menu li a {
    padding: 0.4rem 0.8rem;
  }

  .nav-cv-button {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }

  .fixed-cv-button {
    display: none;
  }

  .floating-highlights {
    display: none;
  }

  .page {
    padding-top: 60px;
    width: 100%;
  }

  .page-content {
    max-width: 100%;
    width: 100%;
    padding: 0;
    overflow-x: hidden;
  }

  .main-content {
    margin-right: 0;
    width: 100%;
    max-width: 100%;
  }

  /* Force video items to be visible on mobile */
  #video-grid {
    display: grid !important;
    width: 100%;
  }

  #video-grid .item,
  #video-grid figure.item {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-content {
    padding: 2rem 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .content-section {
    margin: 1rem;
    padding: 2rem 1rem;
    width: calc(100% - 2rem);
    max-width: 100%;
    box-sizing: border-box;
  }

  #videos {
    overflow-x: hidden;
  }

  /* Disable fade-in animation on mobile to prevent opacity issues */
  .fade-in,
  .content-section.fade-in,
  #videos.fade-in {
    animation: none !important;
    opacity: 1 !important;
  }

  .experience-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
  }

  .item, figure.item {
    display: block !important;
    opacity: 1 !important;
    width: 100%;
    max-width: 100%;
  }

  .portfolio-filters {
    flex-wrap: wrap;
    justify-content: center;
  }

  .portfolio-filters li {
    margin: 0.25rem;
  }

  .portfolio-item-img {
    max-height: 200px;
    overflow: hidden;
    display: block !important;
    background: var(--bg-secondary);
    min-height: 200px;
  }

  .portfolio-item-img img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover;
    object-position: center;
    display: block !important;
  }

  figure.item h4.name,
  figure.item .category,
  figure.item i {
    display: block !important;
  }

  figure.item h4.name {
    font-size: 0.9rem;
    line-height: 1.3;
    margin: 0.5rem 0 0.4rem;
    max-height: none;
    overflow: visible;
  }

  figure.item .category {
    font-size: 0.75rem;
  }

  .item, figure.item {
    padding: 0;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .nav-menu {
    gap: 0.25rem;
  }

  .nav-menu li a {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }

  .portfolio-grid {
    gap: 0.75rem;
  }

  figure.item h4.name {
    font-size: 0.85rem;
    line-height: 1.25;
    margin: 0.4rem 0 0.3rem;
  }

  figure.item .category {
    font-size: 0.7rem;
  }

  .portfolio-item-img {
    max-height: 160px;
  }

  .portfolio-item-img img {
    height: 160px;
  }

  figure.item i {
    font-size: 0.9rem;
    margin-top: 0.4rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 2rem;
}
