/* Reset and base */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f9fafb;
  color: #222;
  margin: 0;
  padding: 0;
}

/* Header */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 15vh;
  /* background-color: wheat; */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  background-color: white;
}

.logo {
  height: 70px;
  width: auto;
}

nav.nav-menu {
  margin-left: auto;
  display: flex;
  gap: 1.5rem;
}

nav.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav.nav-menu a:hover,
nav.nav-menu a.active {
  background-color: #005577;
  color: white;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
}

/* Mobile nav */
@media (max-width: 768px) {
  nav.nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 15vh;
    right: 0;
    background: white;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 0 0 0 10px;
    padding: 1rem 0;
    z-index: 1001;
  }
  nav.nav-menu.show {
    display: flex;
    width: fit-content;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
  }
}

/* Main container */
main.contact-container {
  max-width: 1100px;
  margin: 170px auto 3rem;
  padding: 0 1rem;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Contact Info */
.contact-info {
  flex: 1 1 350px;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info h2 {
  margin-bottom: 1rem;
  color: #005577;
}

.contact-info p {
  font-size: 1rem;
  line-height: 1.5;
  color: #444;
}

.contact-info .info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  color: #222;
}

.contact-info .info-item svg {
  width: 24px;
  height: 24px;
  fill: #005577;
  flex-shrink: 0;
}

/* Contact Form */
.contact-form {
  flex: 1 1 450px;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.contact-form h2 {
  margin-bottom: 1.5rem;
  color: #005577;
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Floating label style */
.form-group {
  position: relative;
}

input, textarea {
  width: 100%;
  padding: 1rem 1rem 1rem 1rem;
  font-size: 1rem;
  border: 2px solid #ccc;
  border-radius: 8px;
  background: transparent;
  transition: border-color 0.3s ease;
  font-family: 'Poppins', sans-serif;
  resize: vertical;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #005577;
}

label {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  background: white;
  padding: 0 0.25rem;
  color: #999;
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.3s ease;
}

input:focus + label,
input:not(:placeholder-shown) + label,
textarea:focus + label,
textarea:not(:placeholder-shown) + label {
  top: -0.6rem;
  left: 0.8rem;
  font-size: 0.8rem;
  color: #005577;
  font-weight: 600;
}

button[type="submit"] {
  background-color: #005577;
  color: white;
  font-weight: 600;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #003f5c;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  main.contact-container {
    flex-direction: column;
    margin-top: 170px;
  }
}

/* Google Map container */
.map-container {
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  height: 300px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}