/* ===== Responsive Breakpoints ===== */

/* Mobile devices (up to 767px) */
@media screen and (max-width: 767px) {
  /* Navbar */
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
  }
  .nav-menu.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
    cursor: pointer;
  }

  /* Hero Section */
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero img {
    width: 100%;
    max-width: 300px;
    margin: 20px 0;
  }

  /* About Section */
  .about {
    flex-direction: column;
    text-align: center;
  }
  .about img {
    width: 80%;
    margin: 0 auto 20px auto;
  }

  /* Services Section */
  .services {
    flex-direction: column;
  }
  .service-card {
    margin-bottom: 20px;
  }

  /* Portfolio Section */
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* Contact Form */
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    margin-bottom: 15px;
  }
}

/* Tablets (768px - 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .services {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
  .service-card {
    flex: 1 1 calc(50% - 20px);
  }
}
