/* General Styles */
body.bg-body {
  background-color: #f3f4f6;
  font-family: sans-serif;
  margin: 0;
}

/* Navbar */
.nav-bar {
  padding: 1rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
  background-color: rgba(30, 58, 138, 0.9); /* Semi-transparent dark blue */
  transition: background-color 0.3s ease;
}

.nav-bar.scrolled {
  background-color: #1e3a8a; /* Solid dark blue when scrolled */
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo-link {
  color: white;
  text-decoration: none;
}

.logo-link:hover,
.logo-link:focus {
  color: #93c5fd;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: #93c5fd;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease;
}

.hamburger.open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #1e3a8a; /* Matches .nav-bar.scrolled */
    padding: 1rem;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links.active .nav-link {
    color: white; /* Ensure links are white in mobile menu */
    padding: 0.5rem;
  }

  .nav-links.active .nav-link:hover,
  .nav-links.active .nav-link:focus {
    color: #93c5fd;
  }
}

/* Main Content */
.main-content {
  padding-top: 5rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.header {
  background-color: #2563eb;
  color: white;
  padding: 1.5rem 0;
}

.header-title {
  font-size: 1.875rem;
  font-weight: bold;
}

.header-text {
  margin-top: 0.5rem;
}

.main-section {
  padding: 2.5rem 1rem;
  flex-grow: 1;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Form Styles */
.form-container {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4b5563;
}

.form-input,
.form-textarea {
  margin-top: 0.25rem;
  padding: 0.5rem;
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.form-textarea {
  resize: vertical;
}

.form-button {
  width: 100%;
  background-color: #2563eb;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.form-button:hover,
.form-button:focus {
  background-color: #1d4ed8;
}

.form-message {
  display: none;
  margin-top: 1rem;
  font-size: 0.875rem;
  padding: 0.5rem;
  text-align: center;
}

/* Contact Info */
.info-text {
  color: #4b5563;
  margin-bottom: 1rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  margin-bottom: 1rem;
}

.info-label {
  font-weight: 500;
}

/* Map */
.map-container {
  margin-top: 1.5rem;
}

.map-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.map-iframe {
  width: 100%;
  height: 16rem;
  border-radius: 0.375rem;
  border: none;
}

/* Footer */
.footer {
  background-color: #1f2937;
  color: white;
  padding: 2rem 0;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  min-width: 250px;
}

.footer-left {
  text-align: left;
}

.footer-left ul {
  list-style: none;
  padding-left: 0;
}

.footer-left ul li {
  margin-bottom: 0.5rem;
}

.footer-left a,
.footer-center a,
.footer-right a {
  color: white;
  text-decoration: none;
}

.footer-left a:hover,
.footer-center a:hover,
.footer-right a:hover,
.footer-left a:focus,
.footer-center a:focus,
.footer-right a:focus {
  text-decoration: underline;
}

.footer-center {
  text-align: center;
}

.footer-right {
  text-align: right;
}

.footer-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-text {
  margin: 0.5rem 0;
}

@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
    align-items: center;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    text-align: center;
    margin: 1rem 0;
  }
}