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

html, body {
  height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f9fafb;
  color: #1f2933;
  line-height: 1.6;

  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px max(5%, 40px);
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
}

.nav a {
  margin-left: 30px;
  text-decoration: none;
  color: #374151;
}

.nav a:hover {
  color: #2563eb;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  text-decoration: none;
  color: #374151;
  margin-left: 30px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 180px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  overflow: hidden;
}

.dropdown-content a {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: #374151;
}

.dropdown-content a:hover {
  background-color: #f3f4f6;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:focus-within .dropdown-content {
  display: block;
}

/* hero bg */
.consult-hero {
  height: calc(100vh - 80px); /* accounts for header */
  background-image: url("background.png"); /* change this image */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* dark overlay */
.consult-overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* form card */
.consult-box {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  width: 600px;
  max-width: 90%;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* heading text*/
.consult-box h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  text-align: center;
}

/*  styling */
.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 15px;
}

.contact-form input {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  font-size: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
}

/* button */
.contact-form button {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  font-weight: 600;
  background-color: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #1d4ed8;
}

.contact-form {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.site-footer {
  background-color: #1f2933;
  color: #ffffff;
  padding: 20px max(5%, 40px);
  margin-top: 60px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-contact p {
  margin-bottom: 8px;
}

.footer-links a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 8px;
}

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

.footer-bottom {
  margin-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #9ca3af;
}

.site-footer {
  margin-top: auto;
}

@media (max-width: 768px) {


  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav a {
    margin-left: 0;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

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

  .hero-image img {
    width: 100%;
  }

  .about-top {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .about-image img {
    width: 200px;
    margin: 0 auto;
  }

  .form-section,
  .consult-box {
    padding: 20px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

}

.nav a,
.dropdown-content a,
.btn {
  transition: all 0.2s ease;
}
