.elementor-148 .elementor-element.elementor-element-34e5beaa{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-148 .elementor-element.elementor-element-513c1607{padding:0px 0px 0px 0px;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}/* Start custom CSS for html, class: .elementor-element-513c1607 *//* ==== FOOTER ==== */
.custom-footer {
  position: relative; /* ✅ ต้องมี เพื่อให้เส้น before/after ทำงานได้ */
  background-color: #111;
  color: #eee;
  padding: 40px 30px;
  font-size: 15px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  box-sizing: border-box;
  text-align: center;
  overflow: hidden; /* ✅ ป้องกันเส้นล้น */
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo img {
  height: 60px;
}

.footer-info {
  max-width: 600px;
}

.footer-info p {
  margin: 5px 0;
  color: #ccc;
}

/* ==== BLUE-GLOWING TOP & BOTTOM LINES ==== */
.custom-footer::before,
.custom-footer::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #00f2ff, #007bff, #00f2ff);
  background-size: 200% auto;
  animation: move-line 4s linear infinite;
  box-shadow: 0 0 10px #00f2ff, 0 0 20px #00f2ff;
  z-index: 1;
}

.custom-footer::before {
  top: 0;
}

.custom-footer::after {
  bottom: 0;
}

@keyframes move-line {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ==== BACK TO TOP BUTTON ==== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, #ff69b4, #ff85c1);
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(255, 105, 180, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  animation: glow-pulse 2s infinite;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(255, 105, 180, 0.8), 0 0 35px rgba(255, 133, 193, 0.7);
}

@keyframes glow-pulse {
  0% {
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.4);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.7);
  }
  100% {
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.4);
  }
}/* End custom CSS */