/* 기본 중앙 고정 스타일 */
.inquiry-btn {
  display: block;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%); /* 가운데 정렬 */
  background-color: #007bff;
  padding: 16px 32px;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  animation: popIn 0.5s ease-out, float 3s ease-in-out infinite;
}

.inquiry-btn a {
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  color: #fff;
}

.inquiry-btn:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  cursor: pointer;
}

/* Pop-In Animation */
@keyframes popIn {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* Floating Animation */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.inquiry-btn .feather-send {
  width: 15px;
  height: 15px;
  vertical-align: middle;
  color: #fff;
}

/* Large Screen (Desktop) */
@media (min-width: 1400px) {
  .inquiry-btn {
    padding: 20px 60px;
    font-size: 1em;
    border-radius: 40px;
    left: calc(50% - 100px); /* 중앙 정렬 */
  }

  .inquiry-btn .feather-send {
    width: 20px;
    height: 20px;
  }
}

/* Medium Screen (Laptop: 1020px - 1399px) */
@media (min-width: 1020px) and (max-width: 1399px) {
  .inquiry-btn {
    padding: 16px 48px;
    border-radius: 35px;
    left: calc(50% - 90px); /* 중앙 정렬 */
  }

  .inquiry-btn .feather-send {
    width: 18px;
    height: 18px;
  }
}

/* Small Screen (Tablet: 768px - 1019px) */
@media (min-width: 768px) and (max-width: 1019px) {
  .inquiry-btn {
    padding: 14px 40px;
    border-radius: 35px;
    left: calc(50% - 80px); /* 중앙 정렬 */
  }

  .inquiry-btn .feather-send {
    width: 16px;
    height: 16px;
  }
}

/* Extra Small Screen (Mobile: 460px - 767px) */
@media (min-width: 460px) and (max-width: 767px) {
  .inquiry-btn {
    padding: 12px 36px;
    border-radius: 30px;
    bottom: 15px;
    left: calc(50% - 70px); /* 중앙 정렬 */
  }

  .inquiry-btn .feather-send {
    width: 15px;
    height: 15px;
  }
}

/* Minimum Size Enforcement (Mobile First: 0px - 459px) */
@media (max-width: 459px) {
  .inquiry-btn {
    padding: 10px 30px;
    border-radius: 25px;
    bottom: 15px;
    left: calc(50% - 60px); /* 중앙 정렬 */
  }

  .inquiry-btn .feather-send {
    width: 14px;
    height: 14px;
  }
}
