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

body {
  font-family: Inter, sans-serif;
  background-color: grey;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
}

header {
  background-color: white;
  width: 100%;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.logo {
  margin-right: 2rem;
}

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

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

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.burger-menu span {
  width: 2rem;
  height: 0.25rem;
  background: #3873f6;
  border-radius: 10px;
  transition: all 0.3s linear;
}

nav ul {
  list-style-type: none;
  display: flex;
  gap: 3rem;
  align-items: center;
  height: 100%;
}

nav a {
  text-decoration: none;
  color: #3873f6;
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #3873f6;
  transition: width 0.3s ease-in-out;
}

nav a:hover::after {
  width: 100%;
}

nav > a:hover::after {
  width: 0;
  background-color: inherit;
}

nav ul > li:last-child > a:hover::after {
  width: 0;
  background-color: inherit;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: #f5f5f5;
}

.hero-content {
  max-width: 700px;
  text-align: center;
  margin-bottom: 2rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.hero-content p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

.hero-image {
  width: 100%;
  max-width: 600px;
}

.hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

footer {
  font-weight: 300;
  font-size: 0.9rem;
  background-color: white;
  color: #8b8b8b;
  text-align: center;
  padding: 1rem;
  width: 100%;
}

.cta-button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 20px;
  font-weight: 600;
}

.cta-button:hover {
  background-color: #0056b3;
}

@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    padding: 4rem;
  }

  .hero-content {
    text-align: left;
    margin-bottom: 0;
    flex: 1;
  }

  .hero-image {
    flex: 1;
    margin-left: 2rem;
  }

  nav {
    flex-direction: row;
    gap: 0;
    height: 120px;
  }

  nav ul {
    flex-direction: row;
    align-items: center;
    height: 100%;
  }
}

@media (min-width: 1200px) {
  .hero {
    padding: 4rem 10rem;
  }
}

@media (max-width: 767px) {
  nav {
    justify-content: space-between;
  }

  nav ul {
    padding-top: 2rem;
    gap: 1rem;
  }

  .logo {
    margin-right: 0;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    background: #fff;
  }

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

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

  .burger-menu {
    display: flex;
  }
}

.contact-container {
  margin: 0 auto;
  padding: 2rem;
}

.contact-description {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.contact-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.form-textarea {
  resize: vertical;
}

.submit-button {
  align-self: flex-start;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  margin-top: 0;
}
