@media (max-width: 768px) {

  /* Hide nav links and CTA button */
  .nav-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background-color: #0A0F0C;
    padding: 80px 32px 32px;
    gap: 0;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.5);
  }

  .nav-menu.open {
    display: flex;
    transform: translateX(0);
  }

  .nav-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-menu li a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    color: #fff;
  }

  /* Hide the "Start a Project" button in header on mobile */
  .main-header .btn-primary {
    display: none;
  }

  /* Hide logo TEXT, show logo IMAGE only */
  .logo span {
    display: none;
  }

  .logo-img {
    height: 36px;
    width: auto;
  }

  /* Show hamburger */
  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 10001;
  }

  .mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* Animate to X when open */
  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  /* Nav container layout */
  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Services section mobile adjustments */
  .services-section {
    padding: 3rem 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-icon {
    width: 48px;
    height: 48px;
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.65rem;
  }

  .service-card p {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .section-header {
    text-align: center;
    padding: 0 1rem;
  }

  .section-header p {
    max-width: 620px;
    margin: 0 auto;
  }

  /* Footer mobile spacing and typography */
  .footer-hero {
    padding: 40px 15px 0;
  }

  .brand-logo {
    height: 70px;
  }

  .brand-description {
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.75;
    padding: 0 12px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .footer-card {
    padding: 32px 20px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: left;
  }

  .footer-column {
    padding: 0 12px;
  }

  .footer-column h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }

  .footer-column a,
  .footer-column p {
    font-size: 0.98rem;
    margin-bottom: 10px;
  }

  .footer-bottom p {
    font-size: 0.92rem;
  }

  .social-column {
    flex-direction: row;
    justify-content: center;
    gap: 18px;
  }
}
