@media (max-width: 1024px) {
  .services-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .workflow-steps {
    flex-wrap: wrap;
    justify-content: center;
  }

  .workflow-steps::before {
    display: none;
  }

  .workflow-step {
    flex: 0 0 calc(33.333% - 20px);
  }

  .step-arrow {
    display: none;
  }

  .projects-grid {
    gap: 30px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    order: 2;
  }

  .contact-form-wrapper {
    order: 1;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .story-visual {
    order: -1;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-left: 60px;
    padding-right: 0;
    justify-content: flex-start;
  }

  .timeline-dot {
    left: 20px;
  }

  .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .page-header-shape-1 {
    width: 200px;
    height: 200px;
    top: 0;
    right: -75px;
  }

  .page-header-shape-2 {
    width: 300px;
    height: 300px;
    bottom: -125px;
    left: -90px;
  }

  .hero-content,
  .about-content,
  .contact-wrapper,
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
  }

  .stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .services-grid,
  .portfolio-grid,
  .testimonials-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .about-image {
    display: none;
  }

  .section-tag {
    text-align: center;
  }

  .section-title,
  .about-text h2,
  .about-text p {
    text-align: center;
  }

  .skills-grid {
    justify-content: center;
  }

  .contact-info {
    text-align: right;
  }

  .social-icons {
    justify-content: center;
  }

  .workflow-step {
    flex: 0 0 calc(50% - 20px);
  }

  .step-content p {
    max-width: 100%;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .page-header h1 {
    font-size: 32px;
  }

  .cta-title {
    font-size: 32px;
  }

  .cta-description {
    font-size: 16px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-primary,
  .cta-secondary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .cta-features {
    flex-direction: column;
    gap: 12px;
  }

  .contact-title {
    font-size: 36px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 24px;
  }

  .contact-item {
    padding: 20px;
  }

  .about-intro h1 {
    font-size: 36px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .cta-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .workflow-step {
    flex: 0 0 100%;
  }
}
