/* === Mobile: Enhanced Responsiveness === */
@media only screen and (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .hamburger {
    display: block;
  }

  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #2c3e50;
    padding: 1rem;
  }

  .menu.active {
    display: flex !important;
  }

  .menu li {
    margin: 0.5rem 0;
  }

  .container,
  .section-container,
  .card-container,
  .card-container1,
  .card-container2 {
    flex-direction: column;
    padding: 1rem;
    gap: 20px;
  }

  .card,
  .rectangle1,
  .rectangle2,
  .orange-card,
  .img-card {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-section h2 {
    font-size: 3rem;
  }

  .page-section p {
    font-size: 1.2rem;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .services div {
    border-bottom: #333 dashed 1px;
    padding: 1.2rem 1rem;
  }

  .block-row {
    flex-direction: column;
    gap: 1rem;
  }

  .block {
    width: 100%;
    margin: 0 auto;
  }
}

/* === Desktop: Always show menu === */
@media screen and (min-width: 769px) {
  .hamburger {
    display: none;
  }

  .menu {
    display: flex !important;
    flex-direction: row;
    gap: 2rem;
    justify-content: flex-end;
    width: auto;
  }

  .menu li {
    margin: 0;
  }
}

/* === Small Screens: Showcase Adjustments === */
@media (max-width: 560px) {
  .showcase::after {
    height: 50vh;
  }

  .content {
    top: 5%;
    margin-top: 5px;
  }

  .content .logo {
    height: 140px;
    width: 140px;
  }

  .content .text {
    display: none;
  }
}

/* === Landscape Mode: Hide Text === */
@media (max-height: 500px) {
  .content .title,
  .content .text {
    display: none;
  }

  .content {
    top: 0;
  }
}
