/* Mobile screens */
@media screen and (max-width: 480px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    margin-top: -50px;
  }

  .hero-img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .projects-grid,
  .services-grid {
    grid-template-columns: 1fr; /* Stack vertically */
  }

  .hero-cta {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-cta .btn {
    width: 100%;
  }
}


/* Desktop layout: text left, image right */
@media screen and (min-width: 1081px) {
  .hero {
    display: flex;
    flex-direction: row;       /* horizontal layout */
    justify-content: space-between;
    align-items: center;       /* vertical center */
    padding: 4rem 2rem;
    gap: 2rem;
  }

  .hero-img {
    order: 2;                  /* push image to the right */
    width: 400px;              /* adjust size */
    height: 400px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    flex-shrink: 0;            /* prevent shrinking */
  }

  .hero-text {
    order: 1;                  /* text on the left */
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;                   /* text takes remaining space */
    text-align: left;
  }
}
