@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* ============= Define CSS Variables ============== */
:root {
  --color-input-1: hsl(2, 100%, 20%);
  --color-input-2: hsl(0, 100%, 95%);
  --color-input-3: hsl(300, 100%, 86%);
  --color-dark: hsl(240, 13%, 8%);
  --text-dark: hsl(240, 8%, 18%);
  --text-light: hsl(210, 17%, 98%);
  --text-hover: hsl(328, 100%, 62%);
  --black: hsl(0, 0%, 0%);
  --white: hsl(0, 0%, 100%);
  --card-custom-background: hsl(328, 100%, 84%);

  /* === Soft Color === */
  --red-soft: hsl(328, 100%, 84%);
  --yellow-soft: hsl(29, 100%, 84%);
  --green-soft: hsl(120, 100%, 84%);
  --blue-soft: hsl(240, 100%, 84%);

  /* === Warm Color === */
  --warm1: rgba(254, 216, 7, 0.5);
  --warm2: rgba(255, 168, 8, 0.5);
  --warm3: rgba(254, 75, 8, 0.5);
  --warm4: rgba(254, 9, 8, 0.5);
  --warm5: rgba(221, 26, 66, 0.5);

  /* === Cool Color === */
  --cool1: rgba(50, 159, 91, 0.6);
  --cool2: rgba(43, 132, 76, 0.7);
  --cool3: rgba(35, 107, 60, 0.8);
  --cool4: rgba(26, 80, 46, 0.9);
  --cool5: rgba(21, 53, 32, 1);
  --cool6: rgba(100, 170, 255, 0.6);
  --cool7: rgba(100, 100, 255, 0.7);
  --cool8: rgba(73, 73, 197, 0.8);
  --cool9: rgba(48, 48, 97, 0.9);
  --cool10: rgba(21, 22, 53, 1);

  /* === Card White === */
  --card-white:
    linear-gradient(rgb(255, 255, 255) 0%,
      rgb(234, 234, 234) 100%);

  --outline-shadow:
    rgba(0, 0, 0, 0.05) 0px 4px 2px 0px,
    rgba(0, 0, 0, 0.09) 0px 2px 2px 0px,
    rgba(0, 0, 0, 0.1) 0px 1px 1px 0px;

  --card-shadow: 3px 3px 15px rgba(0, 0, 0, 0.5);

  --inset-shadow: inset 5px 5px 20px rgba(0, 0, 0, 0.5);


  /* === Card Black === */
  --card-black:
    linear-gradient(rgb(65, 65, 65) 0%,
      rgb(30, 30, 30) 100%);

  --outline-white:
    rgba(255, 255, 255, .8) 0px 4px 2px 0px,
    rgba(219, 219, 219, .8) 0px 2px 2px 0px,
    rgba(218, 218, 218, .8) 0px 1px 1px 0px;

  /* ============= Typography ============== */

  --ff-poppins: 'Poppins', sans-serif;

  --fs-1: 30px;
  --fs-2: 28px;
  --fs-3: 24px;
  --fs-4: 20px;
  --fs-5: 18px;
  --fs-6: 16px;
  --fs-7: 14px;

  --fw-500: 500;
  --fw-700: 700;
  --fw-800: 800;
  --fw-900: 900;

  /* ============= Transisi ============== */
  --transition: 0.4s ease;

  /* ============= Section Padding ============== */
  --section-padding: clamp(2rem, 5vw, 5rem) 1rem;

}


/* ============= Reset ============== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

a,
span,
button,
i {
  display: block;
}

img {
  display: block;
  width: 100%;
}

button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-input-2);
  min-height: 100dvh;
  font-family: var(--ff-poppins);
}

h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.3;
}

h3 {
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  line-height: 1.4;
}

p {
  font-size: clamp(1rem, 3vw, 1.25rem);
  line-height: 1.6;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 1rem;
}

.text-content {
  text-align: center;
  margin-bottom: 1rem;
}

.card-title {
  text-align: center;
  margin-bottom: 1rem;
  font-weight: var(--fw-700);
  text-transform: capitalize;
  font-family: var(--ff-poppins);
  font-size: var(--fs-4);
}

.card-description {
  text-align: center;
  margin-bottom: 1rem;
  font-family: var(--ff-poppins);
  font-size: var(--fs-5);
}

/* ============= Custom Card ============== */
.text-white-card {
  width: 100%;
  background: var(--card-white);
  box-shadow: var(--card-shadow), var(--outline-shadow);
  border-radius: 2rem;
  padding: .8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.text-white-card:hover {
  box-shadow: var(--inset-shadow);
}

.text-white-card i {
  font-size: var(--fs-1);
  margin-block: 1rem;
}

.text-black-card {
  width: 100%;
  color: aliceblue;
  background: var(--card-black);
  box-shadow: var(--outline-white);
  border-radius: 2rem;
  padding: .8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.text-black-card i {
  font-size: var(--fs-1);
  margin-block: 1rem;
}

.text-custom-card {
  width: 100%;
  background: var(--card-custom-background);
  box-shadow: var(--card-shadow), var(--outline-shadow);
  border-radius: 2rem;
  padding: .8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.text-custom-card:hover {
  box-shadow: var(--inset-shadow);
}

.text-custom-card i {
  font-size: var(--fs-1);
  margin-block: 1rem;
}

.testimoni-white-card {
  width: 100%;
  background: var(--card-white);
  box-shadow: var(--card-shadow), var(--outline-shadow);
  border-radius: 1rem;
  padding: .8rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.testimoni-black-card {
  width: 100%;
  background: var(--card-black);
  box-shadow: var(--outline-white);
  color: aliceblue;
  border-radius: 1rem;
  padding: .8rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.testimoni-custom-card {
  width: 100%;
  background: var(--card-custom-background);
  box-shadow: var(--card-shadow), var(--outline-shadow);
  border-radius: 1rem;
  padding: .8rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.testimoni-white-card:hover,
.testimoni-black-card:hover,
.testimoni-custom-card:hover {
  box-shadow: var(--inset-shadow);
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: inherit;
}

.card-top {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  color: inherit;
}

.card-top img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: var(--outline-shadow);
}

.card-profile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .3rem;
  color: inherit;
}

.card-profile h3 {
  font-family: var(--ff-poppins);
  font-size: var(--fs-6);
  color: inherit;
}

.stars {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .5rem;
  color: var(--warm4);
}

.testimoni-black-card .stars {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .5rem;
  color: inherit;
}

.card-bottom {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.card-bottom p {
  font-family: var(--ff-poppins);
  font-size: var(--fs-6);
  color: inherit;
  margin-bottom: 1rem;
}

/* ============= First Button ============== */
.button-1 {
  font-family: var(--ff-poppins);
  font-size: var(--fs-5);
  background: var(--color-input-1);
  color: white;
  padding: 0.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  border: none;
  border-radius: 25px;
  box-shadow: var(--inset-shadow);
  transition: all 0.3s;
  cursor: pointer;
  gap: 1rem;
}

.button-1 i {
  font-size: var(--fs-4);
}

.button-1:hover {
  transform: translateY(-3px);
  box-shadow: var(--outline-shadow), var(--outline-shadow);
}

.button-1:hover i {
  color: var(--color-input-3);
}

/* ============= Second Button ============== */
.button-2 {
  width: 140px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(to right, #77530a, #ffd277, #77530a, #77530a, #ffd277, #77530a);
  background-size: 250%;
  background-position: left;
  color: #ffd277;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition-duration: 1s;
  overflow: hidden;
}

.button-2::before {
  position: absolute;
  content: "ORDER NOW";
  color: #ffd277;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 97%;
  height: 90%;
  border-radius: 8px;
  transition-duration: 1s;
  background-color: rgba(0, 0, 0, 0.842);
  background-size: 200%;
}

.button-2:hover {
  background-position: right;
  transition-duration: 1s;
}

.button-2:hover::before {
  background-position: right;
  transition-duration: 1s;
}

.button-2:active {
  transform: scale(0.95);
}


/* ================ Header/Navbar ================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 20;
  align-items: center;
  padding: 25px 5%;
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--outline-shadow);
}

.header::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: var(--color-input-2);
  z-index: -1;
}

.header .logo {
  width: 150px;
}

.logo img {
  width: 100%;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar a {
  color: var(--text-dark);
  margin-left: 25px;
  font-weight: var(--fw-500);
  font-size: var(--fs-4);
  align-items: center;
}

.nav-icon {
  color: var(--color-input-1);
  font-size: 2rem;
  cursor: pointer;
  display: none;
  position: absolute;
  right: 5%;
}

.navbar a:hover,
.nav-icon:hover {
  color: var(--text-hover);
}

input#menu-toggle {
  display: none;
}


/* ========== Breakpoints Header ======== */
@media (min-width: 769px) and (max-width: 950px) {
  .header {
    padding: 18px 5%;
  }

  .header .logo {
    width: 115px;
  }

  .navbar a {
    margin-left: 10px;
    font-weight: var(--fw-500);
    font-size: var(--fs-5);
  }
}

/* ========== Breakpoints Navbar ======== */
@media (max-width: 768px) {
  .nav-icon {
    display: inline-flex;
    position: absolute;
    right: 5%;
  }

  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 229, 242, 0.8);
    backdrop-filter: blur(8px);
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 2.5rem;
    border-bottom-right-radius: 2.5rem;
    box-shadow: var(--inset-shadow);
    gap: 1.5rem;
    font-size: var(--fs-4);
    opacity: 0;
    transform: translateY(-10px);
  }

  .navbar a {
    opacity: 0;
    transition: opacity 0.2s ease 0.1s, transform 0.2s ease 0.1s;
    transform: translateY(0px);
  }

  .navbar button {
    width: auto;
    text-align: center;
    margin-inline: auto;
  }

  #menu-toggle:checked~.navbar {
    height: 25rem;
    padding: 2rem 0;
    opacity: 1;
    transform: translateY(0);
  }

  #menu-toggle:checked~.navbar a {
    opacity: 1;
    transform: translateY(0);
  }

  #menu-toggle:not(:checked)~.navbar {
    transition: height 0.5s ease, opacity 0.2s ease 0.15s, transform 0.2s ease 0.15s;
    opacity: 0;
    transform: translateY(0px);
  }

  #menu-toggle:not(:checked)~.navbar a {
    opacity: 0;
    transform: translateY(0px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
}

/* ========== Section 1 ======== */
.section-1 {
  padding: 150px var(--section-padding);
  background-image: url(img/bg-section1.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.teks-perhatian {
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 10px;
}

.judul-penghasilan {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
}

.teks-part-time {
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 20px;
}

.tombol-wrapper {
  margin-top: 20px;
}

.tombol {
  display: inline-block;
  padding: 12px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  background: var(--color-input-1);
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s;
}

.tombol:hover {
  background: var(--color-input-1);
  transform: scale(1.05);
}

/* ========== Section 2 ======== */
.section-2 {
  padding: var(--section-padding);
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.teks-penting {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 500;
  color: var(--color-input-1);
  margin-bottom: 10px;
  text-align: center;
}

.check6 ul {
  padding-inline: 2rem;
}

.check6 li {
  list-style-image: url('https://jasaweb.digital/sultan-themes/images/check2.png');
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.6;
  margin-bottom: 8px;
}


/* ========== Section 3 ======== */
.section-3 {
  padding: var(--section-padding);
  background-color: var(--white);
}

.product-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: auto;
  text-align: center;
  border-radius: 30px;
  background: var(--color-input-2);
  padding-inline: 1rem;
  padding-block: 2rem;
}


.product-img img {
  width: 100%;
  border-radius: 10px;
}


.product-title {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: bold;
}

.product-subtitle {
  font-size: clamp(1rem, 3vw, 1.2rem);
  line-height: 1.6;
}

.product-gallery {
  margin-top: 1.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 8px;
}

@media (min-width: 320px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}


@media (min-width: 550px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========== Section 4 ======== */
.section-4 {
  padding: var(--section-padding);
  background-color: var(--color-input-2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.presentation-image {
  margin-bottom: 2rem;
  border-radius: 15px;
  max-width: 900px;
  box-shadow: var(--outline-shadow), var(--card-shadow);
}

/* ========== Section 5 ======== */
.section-5 {
  padding: var(--section-padding);
  background-color: var(--white);
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.regis-card-wrapper {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.registration-card {
  max-width: 350px;
  background-image: url(img/card-1-3.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 15px;
  padding: 1rem;
  box-shadow: var(--outline-shadow), var(--inset-shadow);
  justify-content: flex-start;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.check5 ul {
  padding-inline: 2rem;
  margin-block: 2rem;
}

.check5 li {
  list-style-image: url('https://jasaweb.digital/sultan-themes/images/check2.png');
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.6;
  margin-bottom: 8px;
}

@media (min-width: 320px) {
  .regis-card-wrapper {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 767px) {
  .regis-card-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 900px) {
  .regis-card-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}


/* ========== CTA ======== */
.cta {
  padding: var(--section-padding);
  background-color: var(--color-dark);
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  color: aliceblue;
  gap: 1rem;
}

.cta h3 {
  margin-bottom: 1rem;
}

.cta-button {
  --primary: var(--color-input-1);
  --neutral-1: #f7f8f7;
  --neutral-2: #e7e7e7;
  --radius: 14px;

  cursor: pointer;
  border-radius: var(--radius);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  border: none;
  box-shadow: 0 0.5px 0.5px 1px rgba(255, 255, 255, 0.2),
    0 10px 20px rgba(0, 0, 0, 0.2), 0 4px 5px 0px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  min-width: 200px;
  padding: 20px;
  height: 60px;
  font-family: "Galano Grotesque", Poppins, Montserrat, sans-serif;
  font-style: normal;
  font-size: 18px;
  font-weight: 600;
}

.cta-button:hover {
  transform: scale(1.02);
  box-shadow: 0 0 1px 2px rgba(255, 255, 255, 0.3),
    0 15px 30px rgba(0, 0, 0, 0.3), 0 10px 3px -3px rgba(0, 0, 0, 0.04);
}

.cta-button:active {
  transform: scale(1);
  box-shadow: 0 0 1px 2px rgba(255, 255, 255, 0.3),
    0 10px 3px -3px rgba(0, 0, 0, 0.2);
}

.cta-button:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 2.5px solid transparent;
  background: linear-gradient(var(--neutral-1), var(--neutral-2)) padding-box,
    linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.45)) border-box;
  z-index: 0;
  transition: all 0.4s ease;
}

.cta-button:hover::after {
  transform: scale(1.05, 1.1);
  box-shadow: inset 0 -1px 3px 0 rgba(255, 255, 255, 1);
}

.cta-button::before {
  content: "";
  inset: 7px 6px 6px 6px;
  position: absolute;
  background: linear-gradient(to top, var(--neutral-1), var(--neutral-2));
  border-radius: 30px;
  filter: blur(0.5px);
  z-index: 2;
}

.state p {
  display: flex;
  align-items: center;
  justify-content: center;
}

.state .icon {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  transform: scale(1.25);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.state .icon svg {
  overflow: visible;
}

/* Outline */
.outline {
  position: absolute;
  border-radius: inherit;
  overflow: hidden;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
  inset: -2px -3.5px;
}

.outline::before {
  content: "";
  position: absolute;
  inset: -100%;
  background: conic-gradient(from 180deg,
      transparent 60%,
      white 80%,
      transparent 100%);
  animation: spin 2s linear infinite;
  animation-play-state: paused;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.cta-button:hover .outline {
  opacity: 1;
}

.cta-button:hover .outline::before {
  animation-play-state: running;
}

/* Letters */
.state p span {
  display: block;
  opacity: 0;
  animation: slideDown 0.8s ease forwards calc(var(--i) * 0.03s);
}

.cta-button:hover p span {
  opacity: 1;
  animation: wave 0.5s ease forwards calc(var(--i) * 0.02s);
}

.cta-button:focus p span {
  opacity: 1;
  animation: disapear 0.6s ease forwards calc(var(--i) * 0.03s);
}

@keyframes wave {
  30% {
    opacity: 1;
    transform: translateY(4px) translateX(0) rotate(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-3px) translateX(0) rotate(0);
    color: var(--primary);
  }

  100% {
    opacity: 1;
    transform: translateY(0) translateX(0) rotate(0);
  }
}

@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-20px) translateX(5px) rotate(-90deg);
    color: var(--primary);
    filter: blur(5px);
  }

  30% {
    opacity: 1;
    transform: translateY(4px) translateX(0) rotate(0);
    filter: blur(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-3px) translateX(0) rotate(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0) translateX(0) rotate(0);
  }
}

@keyframes disapear {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    transform: translateX(5px) translateY(20px);
    color: var(--primary);
    filter: blur(5px);
  }
}

/* Plane */
.state--default .icon svg {
  animation: land 0.6s ease forwards;
}

.cta-button:hover .state--default .icon {
  transform: rotate(45deg) scale(1.25);
}

.cta-button:focus .state--default svg {
  animation: takeOff 0.8s linear forwards;
}

.cta-button:focus .state--default .icon {
  transform: rotate(0) scale(1.25);
}

@keyframes takeOff {
  0% {
    opacity: 1;
  }

  60% {
    opacity: 1;
    transform: translateX(70px) rotate(45deg) scale(2);
  }

  100% {
    opacity: 0;
    transform: translateX(160px) rotate(45deg) scale(0);
  }
}

@keyframes land {
  0% {
    transform: translateX(-60px) translateY(30px) rotate(-50deg) scale(2);
    opacity: 0;
    filter: blur(3px);
  }

  100% {
    transform: translateX(0) translateY(0) rotate(0);
    opacity: 1;
    filter: blur(0);
  }
}

/* Contrail */
.state--default .icon:before {
  content: "";
  position: absolute;
  top: 50%;
  height: 2px;
  width: 0;
  left: -5px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.5));
}

.cta-button:focus .state--default .icon:before {
  animation: contrail 0.8s linear forwards;
}

@keyframes contrail {
  0% {
    width: 0;
    opacity: 1;
  }

  8% {
    width: 15px;
  }

  60% {
    opacity: 0.7;
    width: 80px;
  }

  100% {
    opacity: 0;
    width: 160px;
  }
}

/* States */
.state {
  padding-left: 29px;
  z-index: 2;
  display: flex;
  position: relative;
}

.state--default span:nth-child(4) {
  margin-right: 5px;
}

.state--sent {
  display: none;
}

.state--sent svg {
  transform: scale(1.25);
  margin-right: 8px;
}

.cta-button:focus .state--default {
  position: absolute;
}

.cta-button:focus .state--sent {
  display: flex;
}

.cta-button:focus .state--sent span {
  opacity: 0;
  animation: slideDown 0.8s ease forwards calc(var(--i) * 0.2s);
}

.cta-button:focus .state--sent .icon svg {
  opacity: 0;
  animation: appear 1.2s ease forwards 0.8s;
}

@keyframes appear {
  0% {
    opacity: 0;
    transform: scale(4) rotate(-40deg);
    color: var(--primary);
    filter: blur(4px);
  }

  30% {
    opacity: 1;
    transform: scale(0.6);
    filter: blur(1px);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}




/* ========== Footer ======== */
footer {
  padding-inline: clamp(2rem, 5vw, 5rem);
  background-color: var(--color-input-2);
  padding-top: 2rem;
}

.footer-top {
  display: block;
  margin-bottom: 1rem;
}

.footer-top img {
  width: 100%;
  max-width: 200px;
  margin-bottom: 1rem;
}

.footer-text {
  margin-bottom: 1rem;
  font-family: var(--ff-poppins);
}

@media (min-width: 768px) {
  .footer-text {
    max-width: 50%;
    text-align: left;
    margin-bottom: 1rem;
  }

  .footer-link-box,
  .footer-list {
    text-align: left;
  }
}

.footer-social {
  display: flex;
  gap: 1rem;
  font-size: var(--fs-3);
  justify-content: flex-start;
}

.footer-social .social-link {
  background: var(--text-dark);
  color: var(--text-light);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 18px;
  border-radius: 50%;
  transition: var(--transition);
  margin-bottom: 1rem;
}

.footer-social .social-link:hover {
  background: var(--color-input-1);
  color: var(--text-light);
}

.footer-link-box {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  place-items: start;
  margin: 0 auto;
}

.footer-list {
  max-width: 300px;
}

.footer-list li:first-child {
  margin-bottom: 10px;
}

.footer-link-title {
  color: var(--color-dark);
  font-family: var(--ff-poppins);
  font-size: var(--fs-4);
  font-weight: var(--fw-500);
}

.footer-link {
  color: var(--text-dark);
  font-family: var(--ff-poppins);
  padding-block: 10px;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--text-hover);
  transform: translateX(3px);
}

.footer-list .contact-item {
  padding-block: 10px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-list .contact-item span {
  display: inline-block;
  color: var(--text-dark);
  font-family: var(--ff-poppins);
  font-weight: var(--fw-500);
}

.footer-list .contact-link {
  display: inline-block;
  color: var(--text-dark);
  font-family: var(--ff-poppins);
  font-weight: var(--fw-500);
}

.footer-list .contact-link address {
  font-style: normal;
}

.footer-bottom {
  padding-block: 20px;
  border-top: 1px solid var(--text-dark);
}

.copyright {
  color: var(--text-dark);
  font-family: var(--ff-poppins);
  line-height: 1.7;
  text-align: center;
}

.copyright a {
  display: inline-block;
  color: inherit;
  transition: var(--transition);
}

.copyright a:hover {
  color: var(--text-hover);
}

/* ============= Scroll up ============== */

.scrollup {
  position: fixed;
  right: .8rem;
  bottom: -50%;
  background-color: var(--color-input-1);
  color: var(--white);
  display: inline-flex;
  padding: 6px;
  font-size: 1.25rem;
  border-radius: .5rem;
  z-index: 20;
  transition: bottom .4s, transform .4s;
}

.scrollup:hover {
  transform: translateY(-.5rem);
  background-color: var(--text-hover);
}

/* Show Scroll Up */
.show-scroll {
  bottom: 4rem;
}