* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

:root {
  --font-primary: "DM Sans", sans-serif;
}

body {
  font-family: var(--font-primary);
  background-color: #f4f4f4;
  min-height: 100vh;
  scroll-behavior: smooth;
}

body::selection {
  background: #79eb93;
  color: #000;
}

button {
  user-select: none;
}

/* scroll to top */
.scroll-to-top-container {
  position: fixed;

  right: 30px;
  bottom: 30px;
  z-index: 100;

  opacity: 0;
  visibility: hidden;

  transition: 0.3s;
}

.scroll-to-top-container.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 16px 16px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  user-select: none;

  background-color: #c8f5a8;

  transition: all 0.4s ease;
}

.scroll-to-top::before {
  content: "";
  background: linear-gradient(180deg, transparent, #003D2B, transparent);
  position: absolute;
  height: 100%;
  width: 100%;
  transform: translateY(50%);
  z-index: 0;
  transition: transform 0.4s ease;
}

/* ICON WRAPPER */
.scroll-to-top-icon {
  width: 24px;
  height: 24px;
  overflow: hidden;
  position: relative;
  z-index: 4;
}

/* MOVING CONTAINER (KEY PART) */
.scroll-to-top-icon-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.4s ease;
}

/* ARROWS */
.scroll-to-top-arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* HOVER EFFECT */
.scroll-to-top:hover::before {
  transform: translateY(-50%);
}


/* animation using jQuery */

/* ===== Scroll Reveal Base ===== */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Variations */
.reveal-left {
  transform: translateX(-60px);
}

.reveal-right {
  transform: translateX(60px);
}

.reveal-scale {
  transform: scale(0.9);
}

.reveal-left.active,
.reveal-right.active,
.reveal-scale.active {
  transform: none;
}

.text-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(25px);
}

.text-word.active {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}

.cf7-contact-btn {
  background-color: #c8f5a8 !important;
  color: #000;
  cursor: pointer;
}