/* ====================================================
   Back to top button
   ==================================================== */
.backtotop {
  cursor: pointer;
  background: var(--color-secondary);
  bottom: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px;
  position: fixed;
  right: 12px;
  text-align: center;
  text-transform: uppercase;
  width: 40px;
  z-index: 999;
  border-radius: 4px;
  border: 1px solid #FFF;
}

.backtotop svg {
  width: 26px;
  height: 18px;
  margin-bottom: -1px;
}

.backtotop svg path {
  stroke: #fff;
}

/* ====================================================
   Support Widget / Contact Panel
   ==================================================== */
.support-widget {
  position: fixed;
  bottom: 69px;
  right: 15px;
  z-index: 9999;
}

.trigger-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-secondary);
  border: none;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(212, 167, 84, 0.4);
  transition: transform 0.2s;
}

.trigger-btn:hover {
  transform: scale(1.05);
}

.trigger-btn .icon-bvc-member img {
  /* width: 34px;
    height: 34px; */
  border-radius: 50%;
  object-fit: cover;
}

.trigger-btn .icon-close-main {
  display: none;
  width: 22px;
  height: 22px;
  fill: #111;
}

.trigger-btn.active .icon-bvc-member {
  display: none;
}

.trigger-btn.active .icon-close-main {
  display: block;
}

.pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--color-secondary);
  animation: pulse-ring 2s ease-out infinite;
  pointer-events: none;
}

.pulse-ring:nth-child(2) {
  animation-delay: 0.8s;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.contact-panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 320px;
  background: #1a1c22;
  border: 1px solid rgba(212, 167, 84, 0.3);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s ease;
}

.contact-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--color-secondary);
  color: #fff;
}

.panel-title {
  display: grid;
  grid-template-columns: 38px auto;
  align-items: center;
  gap: 10px;
}

.panel-avatar img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.panel-info h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  /* color: #111; */
}

.panel-info span {
  font-size: 11px;
  /* color: #333; */
  display: flex;
  align-items: center;
  gap: 4px;
}

.online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2ecc71;
  display: inline-block;
}

.close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.panel-greeting {
  padding: 14px 16px;
  font-size: 13px;
  color: #bbb;
  margin: 0;
  border-bottom: 1px solid #2a2c32;
}

.contact-list {
  padding: 8px;
}

.contact-item {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #eee;
  transition: background 0.2s;
  gap: 10px;
}

.contact-item:hover {
  background: rgba(212, 167, 84, 0.1);
  text-decoration: none;
}

.contact-item .icon-wrap {
  flex-shrink: 0;
}

.contact-item .icon-wrap img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
}

.contact-text strong {
  font-size: 16px;
  font-weight: 600;
  color: #eee;
}

.contact-text p {
  font-size: 13px;
}

.contact-arrow {
  margin-left: auto;
  color: var(--color-secondary);
  font-size: 20px;
}

/* Footer Stylesheet */
.footer {
  background-color: #0b0b0c;
  color: #a5a5ab;
  padding: 45px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer a {
  color: #a5a5ab;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #ffffff;
}

/* Outer layout */
.footer .footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  column-gap: 40px;
  row-gap: 20px;
}

.footer .footer-cols {
  display: contents;
}

/* Brand column */
.footer .footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer .footer-brand p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #a5a5ab;
}

.footer .footer-brand img {
  width: 100% !important;
  max-width: 180px;
  height: auto;
  display: block;
  margin-bottom: 20px;
}

/* Content columns */
.footer .footer-col h2 {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-secondary);
  margin-top: 0;
  margin-bottom: 22px;
  letter-spacing: 0.05em;
}

.footer .footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-col ul li {
  font-size: 14px;
  line-height: 1.6;
  color: #a5a5ab;
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

.footer .footer-col ul li:hover {
  color: #ffffff;
  cursor: pointer;
}

/* Contact details */
.footer .footer-col.col-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  line-height: 1.5;
}

.footer .footer-col.col-contact ul li:hover {
  color: #a5a5ab;
  /* Keep contact info steady color */
  cursor: default;
}

.footer .footer-col.col-contact ul li img {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

/* Bottom elements layout on desktop */
.footer .footer-bottom {
  margin-top: 25px;
  border-top: none;
  padding-top: 0;
}

.footer .footer-bottom-inner {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1.5fr;
  column-gap: 40px;
  align-items: center;
}

.footer .copyright {
  grid-column: 1;
  font-size: 14px;
  color: #cecece;
}

.footer .social-wrap {
  grid-column: 5;
}

.footer .social-wrap ul {
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer .social-wrap ul li {
  margin-bottom: 0;
}

.footer .social-wrap ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.footer .social-wrap ul li a:hover {
  background-color: var(--color-secondary);
  transform: translateY(-2px);
}

.footer .social-wrap ul li a img {
  width: 16px !important;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.footer .social-wrap ul li a:hover img {
  filter: brightness(0) invert(0);
}

/* Responsive styles */
@media (max-width: 992px) {

  .footer .footer-inner {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }

  .footer .footer-brand {
    grid-column: span 2;
  }

  .footer .footer-bottom {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .footer .footer-bottom-inner {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;
  }

  .footer .copyright {
    text-align: center;
  }

  .footer .social-wrap ul {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .footer .footer-inner {
    /* grid-template-columns: 1fr; */
    row-gap: 25px;
    column-gap: 20px;
  }

  /* .footer .footer-brand {
    grid-column: span 1;
  } */
}

@media (max-width: 375px) {
  .footer .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer .footer-brand {
    grid-column: span 1;
  }
}