/*==================================================
  RESET
==================================================*/

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", sans-serif;
  background: #fff;
  color: #222;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
}

.container {
  width: min(1180px, 90%);
  margin: auto;
}

/*==================================================
  WAVE DIVIDER
==================================================*/

.wave-divider {
  position: relative;
  z-index: 5;

  width: 100%;
  margin-top: -120px;

  line-height: 0;
}

.wave-divider svg {
  width: 100%;
  height: 130px;
}

/*==================================================
  FOOTER
==================================================*/

footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  padding: 90px 0;

  text-align: center;

  color: #fff;

  background: radial-gradient(
      circle at top left,
      rgba(215, 25, 32, 0.08),
      transparent 45%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(215, 25, 32, 0.08),
      transparent 40%
    ),
    linear-gradient(180deg, #ffffff, #fff8f8);
}

footer .container {
  position: relative;
  z-index: 10;
}

/*==================================================
  FOOTER BACKGROUND
==================================================*/

.footer-grid {
  position: absolute;
  inset: 0;

  background-image: linear-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px);

  background-size: 42px 42px;
}

.footer-glow {
  position: absolute;

  left: 50%;
  top: -250px;

  transform: translateX(-50%);

  width: 500px;
  height: 500px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.15);

  filter: blur(120px);
}

/*==================================================
  FLOATING BLUR
==================================================*/

.footer-blur-one,
.footer-blur-two {
  position: absolute;

  border-radius: 50%;

  filter: blur(120px);

  animation: footerFloat 10s ease-in-out infinite;
}

.footer-blur-one {
  left: -120px;
  bottom: -120px;

  width: 350px;
  height: 350px;

  background: #ff5a5a;

  opacity: 0.25;
}

.footer-blur-two {
  right: -100px;
  top: -100px;

  width: 280px;
  height: 280px;

  background: #ff8f8f;

  opacity: 0.18;

  animation-delay: 3s;
}

/*==================================================
  WATERMARK
==================================================*/

footer::before {
  content: "E-ORDER";

  position: absolute;

  left: 50%;
  top: 52%;

  transform: translate(-50%, -50%);

  font-size: 240px;

  font-weight: 900;

  letter-spacing: 18px;

  color: #d71920;

  opacity: 0.025;

  white-space: nowrap;

  pointer-events: none;

  user-select: none;
}

/*==================================================
  LIGHT EFFECT
==================================================*/

footer::after {
  content: "";

  position: absolute;
  inset: 0;

  background: radial-gradient(
      circle at 20% 20%,
      rgba(215, 25, 32, 0.08),
      transparent 35%
    ),
    radial-gradient(circle at 80% 80%, rgba(255, 90, 90, 0.08), transparent 35%),
    radial-gradient(
      circle at 70% 30%,
      rgba(255, 120, 120, 0.05),
      transparent 40%
    );

  pointer-events: none;
}

/*==================================================
  FOOTER CONTENT
==================================================*/

.footer-logo {
  width: 70px;

  margin: 0 auto 20px;

  filter: drop-shadow(0 8px 18px rgba(215, 25, 32, 0.15));
}

.footer-line {
  width: 120px;
  height: 5px;

  margin: 28px auto;

  border-radius: 999px;

  background: linear-gradient(
    90deg,
    transparent,
    #d71920,
    #ff8a8a,
    #d71920,
    transparent
  );
}

footer h3 {
  font-size: 36px;

  font-weight: 900;

  letter-spacing: -1px;

  color: #555;
}

footer p {
  margin-top: 12px;

  font-size: 18px;

  font-weight: 700;

  color: #666;
}

footer span {
  display: block;

  margin-top: 25px;

  font-size: 15px;

  color: #888;
}

/*==================================================
  ANIMATION
==================================================*/

@keyframes footerFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-30px);
  }
}


/* Fullscreen Loader */
#loader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity .4s ease;
}

#loader.hide {
    opacity: 0;
    visibility: hidden;
}

/* Spinner */
.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #f1f1f1;
    border-top: 6px solid #c62828;
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}
