@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 62.5%;
}

::-webkit-scrollbar {
  width: 0;
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #FF0000;
}

:root {
  --accent: #3999F3;
}

body {
  min-height: 100vh;
  background:
    url("../img/bg.png"),
    radial-gradient(32.15% 39.72% at 50% 0%, #07a4dc40, #0000),
    radial-gradient(39.75% 43.41% at 100% 50%, #07a4dc26, #0000),
    radial-gradient(37.4% 46.62% at 50% 100%, #07a4dc26, #0000),
    radial-gradient(34.84% 47.2% at 0% 50%, #07a4dc26, #0000),
    radial-gradient(50% 50% at 50% 50%, #000, #0c0e0f);
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 9%;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  height: 107px;
}

.logo {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  cursor: pointer;
  transition: 0.5s ease;
  display: flex;
  align-items: center;
  margin-left: 7.2rem;
}

.logo img {
  height: 300px;
}

.logo:hover {
  transform: scale(1.1);
}

nav {
  display: flex;
  align-items: center;
}

nav a {
  font-size: 1.8rem;
  color: white;
  margin-left: 4rem;
  font-weight: 500;
  transition: 0.3s;
  border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active {
  color: var(--accent);
  border-bottom: 3px solid var(--accent);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 110;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  max-width: 100%;
}

.section-header h1 {
  font-size: 3rem;
  font-weight: 600;
  color: white;
  margin-top: 30rem;
}

.section-header p {
  font-size: 20px;
  font-weight: 300;
  color: #cccccc;
  line-height: 1.6;
}

.contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 2rem;
  margin-top: -2rem;
}

.contact-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  padding: 4rem;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 0 2rem rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  text-align: center;
}

.contact-box h2 {
  color: white;
  font-size: 2.8rem;
  margin-bottom: 3rem;
}

.contact-box input,
.contact-box textarea {
  width: 100%;
  padding: 1.2rem 1.6rem;
  margin-bottom: 2rem;
  border-radius: 1rem;
  font-size: 1.6rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  resize: none;
}

.contact-box input::placeholder,
.contact-box textarea::placeholder {
  color: #aaa;
}

.contact-box button {
  background-color: var(--accent);
  color: white;
  padding: 1.2rem 2.4rem;
  border-radius: 1rem;
  font-size: 1.6rem;
  cursor: pointer;
}

.contact-box button:hover {
  background-color: #324fd8;
}

.hidden {
  display: none;
}

#success-message {
  text-align: center;
  margin-top: 3rem;
  animation: fadeIn 1s ease forwards;
}

#success-message p {
  font-size: 2rem;
  font-weight: 500;
  color: white;
}

.success-headline {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.success-subline {
  font-size: 1.6rem;
  color: #ccc;
}

.checkmark-container {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  border: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: popIn 0.6s ease-out;
}

.checkmark {
  font-size: 4rem;
  color: var(--accent);
  animation: bounce 0.6s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes bounce {
  0%   { transform: scale(0.5); }
  50%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}

@media (max-width: 1000px) {
  html {
    font-size: 55%;
    overflow-x: hidden;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    padding: 1.5rem 2rem;
  }

  .hamburger {
    display: flex;
  }

  nav#nav {
    position: absolute;
    top: 90px;
    right: 1rem;
    background: #111;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 150px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 99;
  }

  nav#nav.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  nav#nav a {
    font-size: 1.6rem;
    color: white;
    width: 100%;
  }

  .logo {
    width: 390px;
    margin-left: 0;
  }

  .section-header {
    margin-top: -10rem;
  }
}
