@media (max-width: 991px) {
  .container {
    max-width: 100%;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .about-container {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
    text-align: center;
  }

  .hero-title {
    font-size: 45px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-content,
  .about-image,
  .about-media {
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
  }

  .video-embed {
    width: 100%;
    margin: 0 auto;
  }

  .services-grid,
  .projects-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-showcase {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-slide img {
    height: 420px;
  }

  .nav-menu ul {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-menu.active ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    gap: 15px;
  }
}

@media (max-width: 767px) {
  .services-grid,
  .projects-grid,
  .blog-grid,
  .footer-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 130px 0 70px;
  }

  .hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
  }

  .hero-image {
    order: 1;
    width: 80%;
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
  }

  .hero-image img {
    width: min(100%, 320px);
    margin: 0 auto;
  }

  .hero-content {
    order: 2;
    width: 100%;
    text-align: center;
  }

  .hero-title {
    font-size: 36px;
    line-height: 1.15;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 0;
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .section-title {
    font-size: 28px;
  }

  .projects-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
  }

  .projects-header > div:first-child {
    flex: 1 1 auto;
    min-width: 0;
  }

  .projects-header .section-subtitle {
    margin-bottom: 4px;
  }

  .projects-header .section-title {
    margin-bottom: 0;
    font-size: 24px;
    line-height: 1.2;
  }

  .projects-header .btn {
    margin-left: auto;
    padding: 7px 12px;
    font-size: 11px;
    line-height: 1.2;
    border-radius: 30px;
    white-space: nowrap;
    min-width: auto;
  }

  .about-container {
    gap: 24px;
  }

  .video-embed {
    border-radius: 8px;
  }

  .gallery-slider {
    min-height: auto;
  }

  .gallery-slide img {
    height: 300px;
  }

  .gallery-slide-caption {
    padding: 18px;
  }

  .footer .logo img {
    height: 50px;
  }

  .footer-links,
  .contact-info {
    grid-template-columns: 1fr;
  }
}