/* Footer Styles */
.site-footer {
  background-color: var(--bg-second);
  color: #faf4ecb3;
  padding: 80px 0 28px;
}

/* Newsletter Section */
.footer-newsletter {
  background-color: #faf4ec0d;
  border: 1px solid #faf4ec1a;
  border-radius: 26px;
  padding: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  margin-bottom: 64px;
  gap: 32px;
}

.newsletter-left p {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-1);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 10px;
  position: relative;
}

.newsletter-left p::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;

  background-color: #da9e40;

  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z'/%3E%3Cpath d='M20 2v4'/%3E%3Cpath d='M22 4h-4'/%3E%3Ccircle cx='4' cy='20' r='2'/%3E%3C/svg%3E") no-repeat center;

  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z'/%3E%3Cpath d='M20 2v4'/%3E%3Cpath d='M22 4h-4'/%3E%3Ccircle cx='4' cy='20' r='2'/%3E%3C/svg%3E") no-repeat center;

  -webkit-mask-size: contain;
  mask-size: contain;
}

.newsletter-left h3 {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -1px;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 15px;
}

.newsletter-form .input-group {
  position: relative;
  flex-grow: 1;
}

.newsletter-form .input-icon {
  position: absolute;
  top: calc(50% + 2px);
  left: 20px;
  transform: translateY(-50%);
  color: #faf4ec80;
  font-size: 16px;
}

.newsletter-form input {
  width: 100%;
  background: #faf4ec1a;
  border: 1px solid #faf4ec26;
  border-radius: 30px;
  padding: 18px 16px 18px 44px;
  color: #fff;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
  border-color: var(--color-1);
}

.btn-subscribe {
  background: var(--color-1);
  border: none;
  border-radius: 30px;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
  white-space: nowrap;
}

.btn-subscribe:hover {
  background: #ffb542;
}

.logo-footer {
  display: grid;
  grid-template-columns: 60px auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
  color: #faf4ec80 !important;
  font-size: 13px;
}

.logo-footer h3 {
  color: #FFF !important;
  font-size: 24px;
}

.logo-footer h3 strong {
  color: var(--color-1) !important;
  font-size: 24px;
}

/* .logo-footer img {
  height: 50px;
} */

/* Main Footer */
.footer-main {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 35px;
  margin-bottom: 30px;
}

.brand-col {
  flex: 0 0 30%;
}

.brand-col ul {
  margin-top: 16px;
}

.brand-col ul li img {
  width: 16px !important;
  height: 16px;
  object-fit: contain;
  transform: translateY(2px);
  margin-right: 12px;
  filter: brightness(0) saturate(100%) invert(67%) sepia(42%) saturate(654%) hue-rotate(4deg) brightness(94%) contrast(88%);
}

.brand-col ul li {
  margin-bottom: 5px;
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 20px;
}

.footer-logo img {
  max-width: 195px;
  width: 100%;
}

.brand-desc {
  color: #a0b3aa;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #a0b3aa;
  font-size: 14px;
  margin-bottom: 12px;
}

.contact-info li .material-icons-outlined {
  font-size: 18px;
  color: #e6a03e;
  margin-top: 2px;
}

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

.social-links ul li a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a0b3aa;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.social-icon .material-icons-outlined {
  font-size: 16px;
}

.social-links ul li a:hover {
  background: #f6a118;
  color: #123524;
  border-color: #f6a118;
  transform: translateY(-3px);
}

.social-links ul li a img {
  margin: 0;
  transform: unset;
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.links-col {
  flex: 1;
  min-width: 140px;
}

.links-col h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px 0;
}

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

.links-col ul li {
  margin-bottom: 10px;
}

.links-col ul a {
  color: #faf4ecb3;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-1);
}

/* Bottom Footer */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 25px;
}

.copyright {
  color: #faf4ec80;
  font-size: 13px;
}

.bottom-links ul {
  display: flex;
  gap: 20px;
  font-size: 12px;
}

.bottom-links ul a {
  color: #faf4ec80;
  font-size: 12px;
  transition: color 0.3s ease;
}

.bottom-links a:hover {
  color: var(--color-1);
}

/* Responsive */
@media (max-width: 991px) {
  .footer-newsletter {
    display: flex;
    flex-direction: column;
    padding: 25px;
    text-align: center;
    margin-bottom: 35px;
  }

  .newsletter-left {
    flex: 0 0 100%;
  }

  .newsletter-right {
    flex: 0 0 100%;
    width: 100%;
  }

  .brand-col {
    flex: 0 0 100%;
  }
}

@media (max-width: 767px) {
  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form .input-group {
    width: 100%;
  }

  .btn-subscribe {
    width: 100%;
    padding: 13px 24px;
  }

  .links-col {
    flex: 0 0 47%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding-top: 20px;
  }

  .bottom-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-bottom-right {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .social-links ul {
    justify-content: center;
  }

  .footer-main {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  /* .links-col {
    flex: 0 0 100%;
  } */

  .footer-main {
    gap: 20px;
    margin-bottom: 20px;
  }

  .newsletter-form input {
    padding: 12px 16px 12px 44px;
  }

  .site-footer {
    padding: 40px 0 25px;
  }
}

@media (max-width: 375px) {
  .newsletter-left h3 {
    font-size: 18px;
  }
}

/* Back to Top with Progress */
.progress-wrap {
  position: fixed;
  right: 20px;
  bottom: 20px;
  height: 46px;
  width: 46px;
  cursor: pointer;
  display: block;
  border-radius: 50px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 200ms linear;
  background-color: var(--color-3);
}

.progress-wrap.active-progress {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.progress-wrap::after {
  position: absolute;
  font-family: 'Material Icons Outlined';
  content: 'keyboard_arrow_up';
  text-align: center;
  line-height: 46px;
  font-size: 24px;
  color: #e6a03e;
  left: 0;
  top: 0;
  height: 46px;
  width: 46px;
  cursor: pointer;
  display: block;
  z-index: 1;
  transition: all 200ms linear;
}

.progress-wrap:hover::after {
  opacity: 0;
}

.progress-wrap::before {
  position: absolute;
  font-family: 'Material Icons Outlined';
  content: 'keyboard_arrow_up';
  text-align: center;
  line-height: 46px;
  font-size: 24px;
  opacity: 0;
  background-image: linear-gradient(298deg, #da9e40, #ffb542);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  left: 0;
  top: 0;
  height: 46px;
  width: 46px;
  cursor: pointer;
  display: block;
  z-index: 2;
  transition: all 200ms linear;
}

.progress-wrap:hover::before {
  opacity: 1;
}

.progress-wrap svg path {
  fill: none;
}

.progress-wrap svg.feather-progress path {
  stroke: var(--color-1);
  stroke-width: 4;
  box-sizing: border-box;
  transition: all 200ms linear;
}

@media (max-width: 767px) {
  .progress-wrap {
    right: 20px;
    bottom: 20px;
  }
}

/* ===== WIDGET WRAPPER ===== */
#widget {
  position: fixed;
  bottom: 75px;
  right: 12px;
  z-index: 99;
}

/* ===== POPUP PANEL ===== */
#panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 260px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  display: none;
  animation: slideUp 0.25s ease;
}

#panel.active {
  display: block;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Panel Header */
.panel-header {
  background: var(--color-3);
  padding: 12px 18px;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.3px;
}

/* Contact Items */
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  /* cursor: pointer; */
  border-bottom: 1px solid #f3f3f3;
  transition: background 0.15s;
  text-decoration: none;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item:hover {
  background: #fafafa;
}

.contact-icon {
  display: flex;
  border-radius: 50%;
}

.contact-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  padding: 5px;
  border-radius: 50%;
}

#fab img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  position: absolute;
  transition: opacity 0.25s, transform 0.25s;
  opacity: 0;
  transform: scale(0.7);
}

.contact-text {
  flex: 1;
}

.contact-name {
  font-weight: 600;
  font-size: 14px;
  color: #222;
}

.contact-sub {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

/* ===== FLOATING BUTTON ===== */
#fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
  outline: none;
  position: relative;
  background: var(--color-1);
  box-shadow: 0 6px 20px rgb(36 40 84 / 50%);
}

#fab:hover {
  transform: scale(1.1);
}

#fab img {
  width: 26px;
  height: 26px;
  /* fill: white; */
  position: absolute;
  transition: opacity 0.25s, transform 0.25s;
}

/* Pulse ring */
#fab::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 3px solid var(--color-1);
  opacity: 0.4;
  animation: pulse 2s ease-out infinite;
}

.footer-widget .text-description strong {
  font-size: 16px;
  letter-spacing: 0.4px;
  font-weight: 900;
  color: #FFF;
}

.footer-widget .text-description span {
  font-size: 12px;
  color: var(--color-1);
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.4;
  }

  70% {
    transform: scale(1.3);
    opacity: 0;
  }

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

/* Close X button style */
#fab.is-open::before {
  display: none;
}

#fab.is-open {
  transform: none;
}

#fab.is-open:hover {
  transform: rotate(90deg);
}

.fab-close {
  width: 24px;
  height: 24px;
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

#fab.is-open .fab-close {
  display: flex;
}

.fab-close::before,
.fab-close::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2.5px;
  background-color: #fff;
  border-radius: 2px;
}

.fab-close::before {
  transform: rotate(45deg);
}

.fab-close::after {
  transform: rotate(-45deg);
}

/* Backdrop */
#backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 98;
}

#backdrop.active {
  display: block;
}