/* General Styles */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f4f4f4;
}

h1, h2, h3 {
  margin: 10px 0;
  color: #444;
}

/* Header Styles */
header {
  background-color: #444;
  color: #fff;
  padding: 10px 0;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

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

header .nav-links li {
  margin: 0 15px;
}

header .nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

header .nav-links a:hover {
  text-decoration: underline;
}

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

header .hamburger-menu span {
  height: 3px;
  width: 25px;
  background: #fff;
  margin-bottom: 5px;
  border-radius: 5px;
}

/* Hero Section Styles */
.hero {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%);
}

.hero-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
}

.hero-logo .site-logo {
  max-height: 150px;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  text-align: center;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  color: #f9f9f9;
}

.hero-text p {
  font-size: 1.5rem;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  color: #f9f9f9;
}

/* Content Section Styles */
.content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px;
  background-color: #e0e0e0;
  margin: 20px;
  border-radius: 8px;
}

/* Left and Right Container Styles */
.left-container, .right-container {
  width: 25%;
  padding: 20px;
  background-color: #8d8d69;
  color: rgb(245 239 244);
  border-radius: 8px;
}

.calculator-container {
  width: 50%;
  padding: 20px;
  background: linear-gradient(135deg, #5b5662, #8c77b0);
  border-radius: 8px;
  color: #fff;
}

/* Calculator Form Styles */
.calculator form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  align-items: center;
}

.calculator label {
  margin: 5px 0;
  color: #fff;
}

.calculator input,
.calculator select,
.calculator textarea {
  padding: 10px;
  margin-bottom: 10px;
  border: none;
  border-radius: 5px;
  background-color: #fff;
  color: #333;
  width: 100%;
}

.calculator input:focus,
.calculator select:focus,
.calculator textarea:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(123, 31, 162, 0.8);
}

.calculator button {
  padding: 12px;
  background-color: #5e35b1;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.calculator button:hover {
  background-color: #7b1fa2;
}

#result {
  margin-top: 20px;
  grid-column: span 2;
  text-align: center;
}

#result h3 {
  margin: 5px 0;
  color: #fff;
}

/* Form Step Styles */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.calculator .form-step {
  grid-column: span 2;
}

.calculator .next-step,
.calculator .prev-step {
  grid-column: span 2;
  margin-top: 10px;
}

.calculator .next-step {
  justify-self: end;
}

/* Responsive Form Adjustments */
@media (max-width: 768px) {
  .content {
    flex-direction: column;
    align-items: center;
    padding: 10px;
    margin: 10px;
  }

  .left-container,
  .right-container,
  .calculator-container {
    width: 100%;
    margin-bottom: 20px;
    padding: 10px;
  }

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

  .calculator label {
    margin: 8px 0 4px;
  }

  .calculator input,
  .calculator select,
  .calculator textarea {
    padding: 8px;
    margin-bottom: 8px;
  }

  .calculator button {
    padding: 12px;
    margin-top: 15px;
  }

  .hero {
    height: 300px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }
}

/* Footer Styles */
footer {
  background-color: #444;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

footer .footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

footer .social-links {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
}

footer .social-links li {
  margin: 0 15px;
}

footer .social-links a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}

footer .social-links a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
  header .nav-links {
    display: none;
    flex-direction: column;
    background-color: #444;
  }

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

  header .hamburger-menu {
    display: flex;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1.25rem;
  }
}
