:root {
  --radiant: linear-gradient(to right, #9FE43F, #2FCA84, #018DDF);
  --reverse: linear-gradient(to right, #018DDF, #2FCA84, #9FE43F);
  --button: linear-gradient(270deg, #9FE43F, #2FCA84, #018DDF);
  --bg: #f6f8fb;
  --fg: #0f172a;
  --muted: #5b6573;
  --card: #ffffff;
  --accent: #2FCA84;  
  --accent-2: #6aa8ff;    
  --ring: color-mix(in oklab, var(--accent) 55%, white 0%);
}

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

html {
  height: 100%;
}

body {
  margin: 0;
  font-family: Roboto, "Helvetica Neue", sans-serif;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: #000000;
  cursor: pointer;
  position: relative;
  display: inline-block;

  &::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--radiant);
    transition: width 0.125s ease, left 0.3s ease;
    transform: translateX(-50%);
  }

  &:hover::after {
    width: 100%;
  }
}

main {
  flex: 1;
}

.button {
  text-decoration: none !important;
  cursor: pointer;
  border: none;
  background: var(--radiant);
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 24px;
  background-size: 200% 200%;
  transition: background 0.5s ease;
  animation: wave 4s ease infinite;
  &:hover {
    scale: 1.05;
    animation: wave reverse 4s ease infinite;
    transition: 250ms ease-in-out;
  }

  &:disabled{
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(0,0,0,0.4);
    &:hover{
      background: rgba(0,0,0,0.7);
    }
  }

  &::after{
    content: none;
  }

}

@keyframes wave {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

ul{
  list-style: none;
}

input{
  border: 2px solid #0ABCB1;
  border-radius: 10px;
  padding: 8px;
  font-size: 20px;
  width: 100%;
  outline: none;
  &:focus-within{
    box-shadow: inset 0 0px 6px 1px #0ABCB1;
  }
  
}

textarea{
  border: none;
  border-radius: 10px;
  padding: 8px;
  font-size: 20px;
  width: 100%;
  outline: none;
  resize: none;
  height: 200px;
  &:focus-within{
    box-shadow: inset 0 0px 10px 1px #0ABCB1;
  }


}

.error-message {
  position: absolute;
  top: 100%;
  color: red;
  font-size: 14px;
  margin-top: 4px;
}

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

.wave-text{
   background: var(--reverse);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: wave 10s linear infinite;
  background-size: 300% 100%;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  background: #3bcc7b;
}

::-webkit-scrollbar-track {
  background: #0abab4;
}

.no-scroll{
  overflow: hidden;
}

.half-border{
   &::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px; 
    background: linear-gradient(135deg, var(--accent) 60%, #6aa8ff 40%);
    -webkit-mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
  }
}

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 55; 
  display: none; 
}

.backdrop.active {
  display: block;
}

.sub-section {
  max-width: 1440px;
  padding: 20px 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
}

.first-section {
  margin-top: 90px;
  gap: 20px;
}

.align-left {
  text-align: left;
}
.gap-15 {
  gap: 15px;
}