/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background:
    radial-gradient(
      circle at 25% 25%,
      rgba(51, 51, 51, 0.02) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 75% 75%,
      rgba(51, 51, 51, 0.02) 0%,
      transparent 50%
    ),
    linear-gradient(135deg, #f4f4f4 0%, #e8e8e8 100%);
  min-height: 100vh;
}

header {
  background-color: #333;
  color: #fff;
  padding: 1rem 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links a:hover {
  color: #ddd;
  transform: translateY(-2px);
}

.nav-links a i {
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.nav-links a:hover i {
  transform: scale(1.2) rotate(5deg);
  color: #ffd700;
}

.nav-links a i {
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 3px 0;
  transition: 0.3s;
}

main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.hero,
.about,
.contact {
  text-align: center;
  padding: 3rem 2rem;
  background-color: #fff;
  border-radius: 12px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  margin-bottom: 2rem;
  border: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.05) 0%,
    transparent 70%
  );
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: "✨";
  position: absolute;
  top: 10%;
  right: 10%;
  font-size: 2rem;
  animation: sparkle 3s ease-in-out infinite;
  opacity: 0.6;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.2);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

h1 {
  margin-bottom: 1.5rem;
  color: #333;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

h1 i {
  color: #ffd700;
  animation: bounce 2s ease-in-out infinite;
}

p {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

label {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--text-color);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-start;
}

label i {
  color: #ffd700;
  font-size: 1rem;
}

input,
textarea {
  padding: 0.875rem 1rem;
  margin-top: 0.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #fafafa;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #333;
  box-shadow: 0 0 0 2px rgba(51, 51, 51, 0.2);
  background-color: #fff;
}

textarea {
  height: 150px;
  resize: vertical;
}

button {
  margin-top: 1rem;
  padding: 1rem 2rem;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

button:hover {
  background-color: #555;
  transform: translateY(-2px);
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

footer {
  text-align: center;
  padding: 2rem 0;
  background-color: #333;
  color: #fff;
  margin-top: 4rem;
}

footer p {
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-links a {
  color: #fff;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: #ffd700;
  transform: scale(1.2);
}

/* Responsive design */
@media (max-width: 1024px) {
  /* Tablet styles */
  main {
    padding: 0 1rem;
  }

  .hero,
  .about,
  .contact {
    padding: 2rem 1.5rem;
  }

  h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #333;
    padding: 1rem 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 0.5rem 0;
    text-align: center;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .hero,
  .about,
  .contact {
    padding: 2rem 1rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  p {
    font-size: 1rem;
  }
}

@media (min-width: 1200px) {
  /* Large desktop styles */
  main {
    max-width: 1400px;
  }

  .hero,
  .about,
  .contact {
    padding: 4rem 3rem;
  }

  h1 {
    font-size: 3rem;
  }
}
