@media (max-width: 1024px) {
  .product-info-cards {
    grid-template-columns: 1fr; /* 1 column */
  }

  .navbar {
    padding: 16px 8vw;
  }
}

@media (max-width: 768px) {
  .main-container {
    width: 100%;
    padding: 0 16px;
  }

  .title-row {
    flex-direction: column;
    align-items: center;
  }

  .title-wrapper {
    width: 100%;
  }

  .image-row {
    overflow: hidden;
    justify-content: center;
    padding: 0px;
  }

  .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .profile {
    flex-direction: column;
    align-items: start;
  }

  .profile-image {
    margin-bottom: 25px;
    width: 80px;
    height: 80px;
  }

  .profile-details {
    margin-left: 0; 
  }

  .name {
    font-size: 20px;
    margin: 0;
  }

  .position {
    font-size: 16px; 
  }

  .testimonial-quote {
    font-size: 20px;
    line-height: 32px;
  }

  .promo-image {
    min-height: 350px;
    min-width: 350px;
  }

  .contacts {
    padding: 24px 16px;
    border-radius: 24px 24px 0 0;
    flex-direction: column;
    height: auto;
  }

  .contact-address {
    width: 100%;
    margin-bottom: 32px;
  }

  .contact-sns {
    max-height: 192px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 32px;
    text-align: start;
  }

  .icons-sns-container {
    justify-content: start;
  }
  .main-nav {
    display: none; /* Hide the original nav list */
  }

  .burger-menu-icon {
    display: block; /* Show the burger menu icon */
    width: 30px;
    cursor: pointer;
  }

  .sidebar {
    display: block;
    position: fixed;
    top: 0;
    right: -100%; /* Initially hidden */
    width: 65%;
    height: 100%;
    background-color: #f0f0f0;
    transition: right 0.3s ease;
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    padding: 1rem;
    overflow-y: auto; /* Allow scrolling if content overflows */
  }

  .sidebar.open {
    right: 0; /* Show sidebar */
  }

  .sidebar-nav {
    list-style: none;
    padding: 0;

    display: flex;
    padding-top: 35px;
    padding-left: 23px;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;

    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
  }

  .sidebar-nav li {
    margin-bottom: 15px;
  }

  .sidebar-nav a {
    text-decoration: none;
    color: black;
  }

  .current-language {
    border-radius: 16px;
    background: white;
    padding: 16px 20px;
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1000;
  }

  .overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 620px) {
  .image-container {
    height: 350px;
    min-height: 350px;
    width: 100%;
    background-size: cover;
    background-position: top;
    min-width: 250px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 40px;
    font-weight: 600;
  }

  .hero-title {
    font-size: 40px;
    line-height: 47px;
  }

  .hero-description {
    font-weight: 400;
  }

  .hero-section .wrapper {
    padding: 0;
  }

  .hero-content {
    padding: 34px 24px 0 24px;
  }

  .image-container {
    height: 280px;
    min-height: 280px;
  }

  .about-us-content {
    gap: 24px;
  }

  .about-us-content h2 {
    font-size: 24px;
  }

  .about-us-content p {
    font-size: 20px;
  }

  .promo-title {
    font-size: 40px;
    line-height: 52px;
  }

  .product-card h2 {
    font-size: 32px;
  }

  .promo-image {
    min-height: 300px;
    min-width: 300px;
  }
}
