#section-1 {
  border-bottom: 15px solid var(--secondary-col);
  position: relative;
  overflow: hidden;
  outline: none;
}

.white {
  position: absolute;
  z-index: 0;
  &:before {
    z-index: 1000;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60vh;
    background-image: linear-gradient(
      -180deg,
      #ffffff 0%,
      rgba(255, 255, 255, 0) 100%
    );
  }
  &:after {
    z-index: 1000;
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20vh;
    background-image: linear-gradient(
      0deg,
      #ebebeb 0%,
      rgba(235, 235, 235, 0) 100%
    );
  }
}

.squares {
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  justify-content: space-around;
  overflow: hidden;
  outline: none;
  border: none;
}

.square {
  position: absolute;
  z-index: 0;
  animation: squares 6.5s linear infinite;
  width: 1em;
  height: 1em;
  transform: translateY(100%);
  background: #ebebeb;
  outline: none;

  &:nth-child(2) {
    left: 10%;
    height: 1.5em;
    width: 3em;
    animation-delay: 1s;
    animation-duration: 17s;
    -webkit-filter: blur(5px);
  }
  &:nth-child(3) {
    left: 20%;
    height: 2em;
    width: 1em;
    animation-delay: 1.5s;
    animation-duration: 8s;
    -webkit-filter: blur();
  }
  &:nth-child(4) {
    left: 30%;
    height: 1em;
    width: 1.5em;
    animation-delay: 0.5s;
    -webkit-filter: blur(3px);
    animation-duration: 13s;
  }
  &:nth-child(5) {
    left: 40%;
    height: 1.25em;
    width: 2em;
    animation-delay: 4s;
    -webkit-filter: blur(2px);
    animation-duration: 11s;
  }
  &:nth-child(6) {
    left: 50%;
    height: 2.5em;
    width: 2em;
    animation-delay: 2s;
    -webkit-filter: blur(1px);
    animation-duration: 9s;
  }
  &:nth-child(7) {
    left: 60%;
    height: 5em;
    width: 2em;
    -webkit-filter: blur(2.5px);
    animation-duration: 12s;
  }
  &:nth-child(8) {
    left: 70%;
    height: 1em;
    width: 3em;
    animation-delay: 5s;
    -webkit-filter: blur(6px);
    animation-duration: 18s;
  }
  &:nth-child(9) {
    left: 80%;
    height: 1.5em;
    width: 2em;
    -webkit-filter: blur(0.5px);
    animation-duration: 9s;
  }
  &:nth-child(10) {
    left: 90%;
    height: 3em;
    width: 2.4em;
    animation-delay: 6s;
    -webkit-filter: blur(0.5px);
    animation-duration: 12s;
  }
}

@keyframes squares {
  from {
    transform: translateY(100%) rotate(-50deg);
  }
  to {
    transform: translateY(calc(-100vh + -100%)) rotate(20deg);
  }
}

#section-1::before {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -30%;
  width: 120%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(45, 45, 45, 0.5) 0%,
    transparent 70%
  );
  z-index: 0;
}

.sec1-img {
  display: block;
  margin: 0 auto;
  padding: 15px;
  transform: rotate(-5deg);
  border: 5px solid var(--secondary-col);
  border-radius: 15px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.3s ease;
  max-width: 50%;
  height: auto;
}

.sec1-img:hover {
  transform: rotate(-5deg) scale(1.05);
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.pre-launch-con span {
  font-size: medium;
}
.unit-sizes-con span {
  color: var(--fourth-col);
  background-color: var(--teritary-col);
  padding: 8px;
  border-radius: 25px;
  font-size: small;
}

.btn-fnl-col {
  align-items: center;
}
.broucher-btn {
  background: linear-gradient(
    135deg,
    var(--teritary-col) 0%,
    var(--fourth-col) 100%
  );
  color: var(--secondary-col);
  border: none;
  padding: 15px;
  font-size: large;
  border-radius: 50px;
}

.broucher-btn:hover {
  background-color: var(--teritary-col);
}

.flip-container {
  overflow: hidden;
  display: flex;
  align-items: center;
}

.flip-text {
  background: rgba(45, 45, 45, 0.2);
  animation: flip 3s ease-in-out infinite;
  border-radius: 10px;
}

@keyframes flip {
  0%,
  100% {
    transform: translateY(0);
  }
  50%,
  50.1% {
    transform: translateY(-50px);
  }
}

.bg-leafs {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background-image: url("../images/bg-white-leaf.svg");
  background-repeat: repeat;
  fill: var(--fourth-col);
  pointer-events: none;
  z-index: 0;
  vertical-align: baseline;
}

.sec1-con > *:not(.bg-leafs) {
  position: relative;
  z-index: 1;
}

.whatsapp-fab {
  position: fixed;
  background: transparent !important;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  pointer-events: auto;
}

.whatsapp-fab__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(180deg, #06b257, #059e4a);
  box-shadow: 0 10px 28px rgba(2, 10, 30, 0.28);
  text-decoration: none;
  color: white;
  position: relative;
  overflow: visible;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease;
}

/* slightly lift on hover/focus */
.whatsapp-fab__link:hover,
.whatsapp-fab__link:focus {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(2, 10, 30, 0.32);
}

/* tooltip */
.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  /* place to left of the FAB */
  bottom: 50%;
  transform: translateY(50%) translateX(6px);
  background: #25d366 !important;
  color: #ffffff !important;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

/* show tooltip on hover or focus */
.whatsapp-fab__link:hover .whatsapp-tooltip,
.whatsapp-fab__link:focus .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(50%) translateX(0);
}

.whatsapp-icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 576px) {
  .pre-launch-con span {
    font-size: small;
    padding: 0;
  }

  .unit-sizes-con span {
    font-size: x-small;
  }

  .broucher-btn {
    font-size: small;
  }
}
