* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Footer Container */
.footer {
  background: #ffffff;
  padding: 3rem 3rem 2rem;
  border-top: 1px solid #e0e0e0;
}

.footer-container {
  width: 100%; /* 전체 너비 사용 */
  display: flex;
  justify-content: space-between; /* 왼쪽과 오른쪽 아이템을 양쪽에 배치 */
  align-items: center; /* 아이템들을 세로로 가운데 정렬 */
  gap: 1rem; /* 간격 설정 (선택 사항) */
}

.info{
  margin: 0 3rem;
  display: flex;
  flex-direction:row;
  gap: 5rem;
}

/* Logo Section */
.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  width: 110px;
  /* height: 110.89px; */
  object-fit: contain;
}

/* Main Content Section */
.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-section-title {
  font-family: 'Pretendard', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  color: #000000;
  margin-bottom: 0.5rem;
}

.footer-info-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer-label {
  font-family: 'Pretendard', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 130%;
  color: #6F6F6F;
  min-width: 3rem;
  flex-shrink: 0;
}

.footer-text {
  font-family: 'Pretendard', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
  color: #6F6F6F;
}

/* SNS Section */
.footer-sns {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 1rem;
  align-self: stretch
}

.footer-sns-icons {
  display: flex;
  gap: 1rem;
}

.sns-icon {
  width: 34px;
  height: 34px;
  transition: opacity 0.2s ease;
}

.sns-icon:hover {
  opacity: 0.7;
}

.footer-copyright {
  font-family: 'Pretendard', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  color: #6F6F6F;
  white-space: normal;
  text-align: right;
}

/* Bottom Section */
.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #9D9D9D;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-logos img {
  height: 25px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.footer-logos a:hover img {
  opacity: 0.7;
}

/* Tablet Styles */
@media (max-width: 768px) {
  .info{
    /* display: flex; */
    flex-direction:column;
    gap:2rem;
  }

  .footer-container {
      grid-template-columns: 1fr;
      gap: 2rem;
      text-align: center;
      flex-direction: column;
  }

  .footer-content {
      grid-template-columns: 1fr;
      gap: 2rem;
  }

  .footer-logo {
      justify-content: center;
  }

  .footer-sns {
      align-items: center;
  }

  .footer-sns-icons {
      justify-content: center;
  }

  .footer-bottom {
      justify-content: center;
  }

  .footer-logos {
      justify-content: center;
  }

  .footer-info-item{
    justify-content: center;
  }
}

/* Mobile Styles */
@media (max-width: 480px) {
  .footer {
      padding: 2rem 1rem 1.5rem;
  }

  .footer-container {
      gap: 1.5rem;
  }

  .footer-content {
      gap: 1.5rem;
  }

  .footer-info-item {
      flex-direction: column;
      gap: 0.25rem;
      align-items: flex-start;
  }

  .footer-label {
      min-width: auto;
  }

  .footer-logos {
      gap: 1rem;
  }

  .footer-logos img {
      height: 24px;
  }

  .sns-icon {
      width: 30px;
      height: 30px;
  }
}