@import url('https://fonts.googleapis.com/css2?family=Aboreto&display=swap');
@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(28, 61%, 29%);
  --color-input-2: hsl(38, 60%, 92%);
  --color-input-3: #b86e2d;
  --color-dark: hsl(240, 13%, 8%);
  --text-dark: hsl(240, 8%, 18%);
  --text-light: hsl(210, 17%, 98%);
  --text-hover: var(--color-input-3);
  --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);

  --border-color: #fff5;
  --w-image: 500px;
  --calculate: calc(3 / 2);

  /* === 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);
  font-size: 16px;
}

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-2);
}

/* ============= 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, 246, 229, 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 ======== */
.carousel {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.carousel .list {
  height: 100%;
  position: relative;
}

.carousel .list::before {
  position: absolute;
  width: var(--w-image);
  height: 100%;
  content: '';
  top: 0;
  left: calc(100% - calc(var(--w-image) * var(--calculate)));
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  z-index: 10;
  pointer-events: none;
}

.carousel .list::after {
  position: absolute;
  top: 50px;
  left: 50px;
  content: '';
  background-color: rgb(255, 109, 109);
  width: 400px;
  height: 300px;
  z-index: 10;
  pointer-events: none;
  border-radius: 20px 50px 110px 230px;
  filter: blur(150px);
  opacity: .6;
}

.carousel .list .item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.carousel .list .item .image {
  width: var(--w-image);
  height: 100%;
  position: absolute;
  top: 0;
  left: calc(100% - calc(var(--w-image) * var(--calculate)));
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  font-weight: 500;
}

.carousel .list .item .image img {
  width: 90%;
  margin-bottom: 20px;
  filter: drop-shadow(0 150px 50px #ffda6155);
}

.carousel .list .item .image figcaption {
  font-family: 'Aboreto';
  font-weight: bold;
  font-size: 1.3em;
  text-align: center;
  margin-bottom: 30px;
  width: 70%;
}

.carousel .list .item .main-content {
  height: 100%;
  display: grid;
  grid-template-columns: calc(100% - calc(var(--w-image) * var(--calculate)));
}

.carousel .list .item .main-content .content {
  padding: 150px 20px 20px 80px;
}

.carousel .list .item .main-content .content h2 {
  font-size: 3em;
  font-family: 'Aboreto';
}

.carousel .list .item .main-content .content .price {
  font-family: 'Aboreto';
  font-size: 3em;
  margin: 20px 0;
}

.carousel .list .item .main-content .content .addToCard {
  background-color: #003818;
  color: #fff;
  padding: 10px 30px;
  font-family: Poppins;
  font-size: large;
  font-weight: 500;
  border-radius: 30px;
  border: none;
  margin-top: 20px;
  box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.3);
}

.carousel .list .item .main-content .content .addToCard:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.arrows {
  position: absolute;
  bottom: clamp(30px, 5vw, 40px);
  width: calc(100% - calc(var(--w-image) * var(--calculate)));
  display: grid;
  grid-template-columns: repeat(2, 50px);
  grid-template-rows: 50px;
  justify-content: end;
  gap: 10px;
}

.arrows button {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: #fff;
  font-family: monospace;
  font-size: large;
  font-weight: bold;
  line-height: 0;
  box-shadow: 0 10px 40px #5555;
  cursor: pointer;
  transition: 0.5s;
}

.arrows button:hover {
  background-color: #eee5;
}

.carousel .list .item {
  display: none;
}

.carousel .list .item.active,
.carousel .list .item.other_1,
.carousel .list .item.other_2 {
  display: block;
}

.carousel .list .item.active {
  z-index: 2;
}

.carousel .list .item.other_1,
.carousel .list .item.other_2 {
  pointer-events: none;
}

.carousel .list .item.active .main-content {
  animation: showContent 1s ease-in-out 1 forwards;
}

@keyframes showContent {
  from {
    clip-path: circle(0% at 70% 50%);
  }

  to {
    clip-path: circle(100% at 70% 50%);
  }
}

.next .item.other_1 {
  z-index: 1;
}

.next .item .image img,
.next .item .image figcaption {
  animation: effectNext .5s ease-in-out 1 forwards;
}

@keyframes effectNext {
  from {
    transform: translateX(calc(var(--transform-from)));
  }

  to {
    transform: translateX(calc(var(--transform-from) - var(--w-image)));
  }
}

.next .item.active .image {
  --transform-from: var(--w-image);
}

.next .item.other_1 .image {
  z-index: 3;
  --transform-from: 0px;
  overflow: hidden;
}

.next .item.other_2 .image {
  z-index: 3;
  --transform-from: calc(var(--w-image) * 2);
}

.arrows {
  z-index: 10;
}

/* prev */
.prev .list .item .image img,
.prev .list .item .image figcaption {
  animation: effectPrev 0.5s ease-in-out 1 forwards;
}

@keyframes effectPrev {
  from {
    transform: translateX(calc(var(--transform-from)));
  }

  to {
    transform: translateX(calc(var(--transform-from) + var(--w-image)));
  }
}

.prev .list .item.active .image {
  --transform-from: calc(var(--w-image) * -1);
  overflow: hidden;
}

.prev .list .item.other_1 .image {
  --transform-from: 0px;
  z-index: 3;
}

.prev .list .item.other_2 .image {
  z-index: 3;
  --transform-from: var(--w-image);
}

.prev .list .item.other_2 .main-content {
  opacity: 0;
}

@media screen and (max-width: 1023px) {
  :root {
    --calculate: 1;
    --w-image: 400px;
  }

  .carousel .list .item .main-content .content h2 {
    font-size: 2em;
  }
}

@media screen and (min-width: 510px) and (max-width: 766px) {
  .carousel .list .item .image {
    width: 40%;
    left: 0;
    justify-content: center;
  }

  .carousel .list .item .image figcaption {
    width: 100%;
    text-align: center;
  }

  .carousel .list .item .main-content .content {
    display: none;
  }

  .arrows {
    justify-content: center;
  }
}

@media screen and (max-width: 509px) {
  .carousel .list .item .image {
    width: 100%;
    left: 0;
    justify-content: center;
  }

  .carousel .list .item .image figcaption {
    width: 100%;
    text-align: center;
  }

  .carousel .list .item .main-content .content {
    display: none;
  }

  .arrows {
    left: 50%;
    justify-content: center;
  }
}



/* ========== Section 2 ======== */
.section-2 {
  padding: var(--section-padding);
  background-color: var(--color-input-2);
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 75%;
  margin-left: auto;
  margin-right: auto;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--color-input-3);
}

.divider-icon {
  margin: 0 10px;
}

.divider-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--color-input-3);
}

.kopi-card-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}

.kopi-card {
  position: relative;
  width: 300px;
  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;
  cursor: pointer;
  margin-inline: 5px;
}

.badge {
  position: absolute;
  top: 25px;
  right: 20px;
  background: linear-gradient(to right, rgba(169, 3, 41, 1) 0%, rgba(196, 72, 72, 1) 44%, rgba(170, 34, 56, 1) 100%);
  color: #fff;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
  z-index: 10;
}

.tilt {
  overflow: hidden
}

.kopi-img {
  height: 300px;
  overflow: hidden;
}

.kopi-img img {
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.kopi-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #18181B;
  margin: 0 0 15px;
  letter-spacing: -.5px;
  text-align: center;
}

.kopi-description {
  font-size: 1rem;
  color: #52525B;
  line-height: 1.4;
  margin-bottom: 12px;
  text-align: justify;
}

.kopi-pricing {
  font-size: 1.5rem;
  font-weight: 700;
  color: #18181B;
  margin: 0 0 15px;
  letter-spacing: -.5px;
  text-align: left;
}

.kopi-button {
  text-align: center; 
}

.kopi-button button {
  width: 100%;
  display: inline-block; 
  color: #fff;
  background-color: #003818;
  padding: 10px 20px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.3);
}

.kopi-button button:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* ========== Section 3 ======== */
.section-3 {
  padding: var(--section-padding);
  background-color: var(--color-input-3);
}

.roti-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 75%;
  margin-left: auto;
  margin-right: auto;
}

.roti-divider::before,
.roti-divider::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--color-input-2);
}

.roti-divider-icon {
  margin: 0 10px;
}

.roti-divider-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--color-input-2);
}

/* ========== 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;
}