/* reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* base */
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;
}

/* global imgs*/
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  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;
}

.form-section {
  max-width: 600px;
  margin: 60px auto;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.form-section h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  text-align: center;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 15px;
}

.contact-form input,
.contact-form select {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  font-size: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
}

.contact-form button {
  margin-top: 25px;
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  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;
}

.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;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:focus-within .dropdown-content {
  display: block;
}

.nav {
  display: flex;
  align-items: center;
}

/* footer same as style.css*/
.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;
}

/* same as style.css mobile */
@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;
}
