@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Montserrat&display=swap');

/* Reset default styles for accessibility */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  background-color: #ffffff;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header Styles */
header {
  background-color: #fff;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-text: left;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-menu li a {
  text-decoration: none;
  color: #333;
  padding: 0.5rem;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.25rem;
}

.nav-menu li a:hover,
.nav-menu li a:focus {
  background-color: #f0f0f0;
  outline: 2px solid #405D27;
  border-radius: 10px;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  flex: 1;
}

/* Panel Styles */
.section_double,
.section_contact,
.section_full {
  background-color: #ffffff;
  color: #ffffff;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 30px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section_double {
  
background-color: #ffffff;
border: 1.5px solid #002953;
  box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.4);display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.section_double > div {
  border: 1px solid #002953;
  border-radius: 30px;
  padding: 15px 0;
  
  background-color: #002953;
  box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.4);
}

.section_double .u-image-1,
.section_double .u-image-3 {
  background-image: none;
}

.section_double .u-image-2 {
  width: auto;
  max-width: 178px;
  height: auto;
  margin: 0 auto 1rem;
}

.section_double .u-image-4 {
  width: auto;
  max-width: 314px;
  height: auto;
  margin: 0 auto 1rem;
  align: left;
}

.section_double .u-contact-portrait {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section_double .u-office {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 1rem;
  border-radius: 10px;
  display: block;
}

.section_double .u-portrait {
  width: 100px;
  height: 100px;
  margin-left: auto;
  border-radius: 10px;
  display: block;
  object-fit: cover;
}

.section_double .u-map {
  width: 100%;
  max-width: 600px;
  height: 300px;
  margin: 0 auto 1rem;
  display: block;
  border: none;
}

.section_double .u-container-layout-1 {
  padding: 15px;
}

.section_double .u-container-layout-2 {
  padding: 15px 34px;
}

.section_double .u-location {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  margin: 0;
}

.section_double .u-text-1 {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  margin: 0;
}

.section_double .u-text-2 {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  margin: 0;
}

.section_double .u-text-2 a {
  color: #9CC473;
  text-decoration: underline;
}

.section_double .u-text-2 a:hover,
.section_double .u-text-2 a:focus {
  text-decoration: underline;
}

.section_double .u-coordinator-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: flex-start;
}

.section_double .u-btn-1 {
  border-radius: 50px;
  border-style: solid;
  border-color: #1A2A4C;
  border-width: 2px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 1px;
  background-color: #405D27;
  color: #ffffff;
  padding: 10px 20px;
  margin: 0;
}

.section_double .u-btn-1:hover,
.section_double .u-btn-1:focus {
  background-color: #3F5A26;
  color: #ffffff;
}

.section_double .u-social-icons-1 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.section_double .u-social-icon {
  min-width: 48px;
  min-height: 48px;
  padding: 8px;
}

.section_double .u-social-icon-1 svg {
  fill: #3b5998;
}

.section_double .u-social-icon-2 svg {
  fill: #c536a4;
}

.section_double .u-social-icon-3 svg {
  fill: #0077b5;
}

.section_double .u-social-icon svg:hover {
  opacity: 0.8;
}

.section_contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  background-color: #002953;
  max-width: 1136px;
  border: 1px solid #ffffff;
  box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.4);
}

.section_contact .u-text-1 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  margin: 0 20px 0 30px;
}

.section_contact .u-btn-1 {
  border-radius: 50px;
  border-style: solid;
  border-color: #1A2A4C;
  border-width: 2px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 1px;
  background-color: #405D27;
  color: #ffffff;
  padding: 10px 20px;
  margin: 0 20px;
}

.section_contact .u-btn-1:hover,
.section_contact .u-btn-1:focus {
  background-color: #3F5A26;
  color: #ffffff;
}

.section_contact .u-social-icons-1 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 0 20px;
}

.section_contact .u-social-icon {
  min-width: 56px;
  min-height: 56px;
  padding: 8px;
}

.section_contact .u-social-icon-1 svg {
  fill: #3b5998;
}

.section_contact .u-social-icon-2 svg {
  fill: #c536a4;
}

.section_contact .u-social-icon-3 svg {
  fill: #0077b5;
}

.section_contact .u-social-icon svg:hover {
  opacity: 0.8;
}

.section_contact .u-image-2 {
  width: 178px;
  height: 39px;
  margin: 0 30px 0 20px;
}

.section_full {
  background-color: #ffffff;
  border: 1px solid #002953;
  box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.4);
  max-width: 1136px;
  padding: 15px;
}

.section_full > div {
  background-color: #002953;
  border: 1px solid #002953;
  border-radius: 30px;
  padding: 15px;
  box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.4);
}.section_full .u-portrait {
  width: 100px;
  height: 100px;
  justify-content: left;
  margin-left: auto;
  border-radius: 10px;
  display: block;
}

.u-image.u-portrait1 {
  width: 100px;
  height: 100px;
  margin: 0 20px 0 30px;
  justify-content: left;
}

.section_full .u-text-1 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  margin: 0 20px 0 30px;
text-align: left;
}

.section_full .u-text-2 {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  margin: 0 20px 0 30px;
}

.section_full .u-text-2 a {
  color: #ffffff;
  text-decoration: none;
  align-text: left;
}

.section_full .u-text-2 a:hover,
.section_full .u-text-2 a:focus {
  text-decoration: underline;
}

.section_full .u-image-2 {
  width: 280px;
  height: auto;
  margin: 0 20px 0 30px;
}
.section_full .u-image-4 {
  width: 280px;
  height: auto;
  margin: 0 20px 0 30px;
}


/* Chatbot Styles */
.section_full #chatbot {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 15px;
  max-width: 1200px;
  margin: 0 auto 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.section_full #chatbot-messages {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #f9f9f9;
}

.section_full .chatbot-bot-message,
.section_full .chatbot-user-message {
  margin: 5px 0;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 1rem;
}

.section_full .chatbot-bot-message {
  background-color: #e0f7fa;
  color: #333;
  margin-right: 20%;
}

.section_full .chatbot-user-message {
  background-color: #405D27;
  color: #ffffff;
  margin-left: 20%;
  text-align: right;
}

.section_full .chatbot-input {
  display: flex;
  gap: 10px;
}

.section_full #chatbot-input {
  flex: 1;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 30px;
  box-sizing: border-box;
}

.section_full #chatbot-send {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #405D27;
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
}

.section_full #chatbot-send:hover {
  background-color: #3F5A26;
}

/* Job Search Results and Modal Styles */
.section_full #results {
  max-width: 1200px;
  margin: 0 auto;
}

.section_full #results div {
  background-color: white;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 30px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.section_full a {
  text-decoration: none;
  color: #007BFF;
  cursor: pointer;
}

.section_full a:hover {
  text-decoration: underline;
}

.section_full .modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1000;
}

.section_full .modal-content {
  position: relative;
  background-color: white;
  margin: 5% auto;
  padding: 20px;
  width: 90%;
  max-width: 1000px;
  height: 80%;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.section_full .modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.section_full .close-btn {
  position: absolute;
  top: 10px;
  right: 70px;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

.section_full .close-button {
  position: absolute;
  top: 10px;
  right: 20px;
  padding: 5px 10px;
  background-color: #405D27;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.section_full .close-button:hover {
  background-color: #3F5A26;
}

/* Footer Styles */
.u-footer {
  background-color: #405D27;
  color: #fff;
  padding: 1rem;
}

.u-footer .u-layout-wrap-1 {
  max-width: 1200px;
  margin: 20px auto 0;
}

.u-footer .u-layout-row {
  display: flex;
  flex-wrap: wrap;
}

.u-footer .u-layout-cell {
  min-height: 200px;
  background-image: none;
  flex: 1 1 33.33%;
  max-width: 33.33%;
  padding: 15px;
}

.u-footer .u-container-layout-1,
.u-footer .u-container-layout-2,
.u-footer .u-container-layout-3 {
  padding: 15px;
}

.u-footer .u-image-link {
  display: inline-block;
}

.u-footer .u-image-1,
.u-footer .u-image-2,
.u-footer .u-image-3 {
  width: 148px;
  height: 38px;
  object-fit: contain;
  margin: 0 0 10px;
}

.u-footer .u-footer-logo {
  display: flex;
  justify-content: center;
  margin: 20px auto 0;
}

.u-footer .u-image-4 {
  width: 100%;
  max-width: 617px;
  height: auto;
  margin: 0 auto;
}

.u-footer .u-text-3,
.u-footer .u-text-4,
.u-footer .u-text-5,
.u-footer .u-text-7,
.u-footer .u-text-8 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  margin: 10px 0;
  overflow-wrap: break-word;
}

.u-footer .u-btn {
  background-image: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: normal;
  padding: 0;
  color: #ffffff;
  text-decoration: underline;
  display: block;
  margin: 5px 0;
}

.u-footer .u-btn:hover,
.u-footer .u-btn:focus {
  color: #a1a1a1;
}

.u-back-to-top {
  display: block;
  margin: 20px auto;
  cursor: pointer;
}

.u-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
}

.u-icon-circle {
  border-radius: 50%;
}

.u-opacity {
  opacity: 1;
}

.u-opacity-85 {
  opacity: 0.85;
}

.u-palette-1-base {
  background-color: #002953;
}

.u-back-to-top:hover,
.u-back-to-top:focus {
  background-color: #003366;
  opacity: 0.9;
}

.u-back-to-top .u-svg-content {
  fill: #ffffff;
  width: 24px;
  height: 24px;
}

/* Mobile Menu and Panel Stacking (up to 767px, including landscape) */
@media (max-width: 767px) {
  .nav-container {
    justify-content: space-between;
    padding: 0 1rem;
  }

  .hamburger {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    z-index: 1000;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    text-align: left;
    padding: 1rem;
  }

  .nav-menu li a {
    font-size: 1rem;
  }

  .section_double {
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 1rem;
  }

  .section_double > div {
    margin-bottom: 1rem;
    border: none;
  }

  .section_double .u-contact-portrait {
    flex-direction: column;
    align-items: center;
  }

  .section_double .u-location,
  .section_double .u-text-1,
  .section_double .u-text-2 {
    text-align: center;
    margin: 0 auto;
  }

  .section_double .u-image-2,
  .section_double .u-image-4,
  .section_double .u-office,
  .section_double .u-portrait,
  .section_double .u-map {
    margin: 0 auto 1rem;
  }

  .section_double .u-portrait {
    width: 80px;
    height: 80px;
  }

  .section_double .u-map {
    height: 200px;
  }

  .section_contact {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 100%;
    padding: 1rem;
  }

  .section_contact .u-text-1 {
    margin: 0;
    text-align: left;
    font-size: 1.25rem;
    width: auto;
  }

  .section_contact .u-btn-1,
  .section_contact .u-social-icons-1,
  .section_contact .u-image-2 {
    margin: 0;
  }

  .section_contact .u-image-2 {
    width: 140px;
    height: auto;
  }

  .section_full {
    flex-direction: column;
    align-items: left;
    max-width: 100%;
    padding: 1rem;
  }

  .section_full .u-portrait,
  .u-image.u-portrait1 {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
  }

  .section_full .u-text-1 {
    margin: 0;
    text-align: left;
    font-size: 1rem;
  }

  .section_full .u-text-2 {
    text-align: left;
    margin: 0 auto;
    font-size: 1rem;
  }

  .section_full .u-image-2 {
    width: 140px;
    height: auto;
    margin: 0 auto 1rem;
  }

  .section_full .chatbot-input {
    flex-direction: column;
    gap: 10px;
  }

  .section_full #chatbot-input,
  .section_full #chatbot-send {
    width: 100%;
    max-width: 100%;
  }

  .section_full #chatbot-messages {
    max-height: 200px;
  }

  .u-footer .u-layout-row {
    flex-direction: column;
  }

  .u-footer .u-layout-cell {
    flex: 1 1 100%;
    max-width: 100%;
    min-height: auto;
    padding: 1rem;
  }

  .u-footer .u-image-1,
  .u-footer .u-image-2,
  .u-footer .u-image-3 {
    width: 120px;
    height: auto;
    margin: 0 auto 0.5rem;
  }

  .u-footer .u-image-4 {
    max-width: 320px;
  }

  .u-footer .u-text-3,
  .u-footer .u-text-4,
  .u-footer .u-text-5,
  .u-footer .u-text-7,
  .u-footer .u-text-8 {
    margin: 0.5rem auto;
    text-align: left;
  }

  .u-footer .u-btn {
    margin: 0.5rem auto;
  }

  .u-back-to-top {
    margin: 1rem auto;
  }
}

/* Small Mobile (up to 320px) */
@media (max-width: 320px) {
  .nav-menu li {
    padding: 0.5rem;
  }

  .nav-menu li a {
    font-size: 0.875rem;
  }

  .section_double,
  .section_contact,
  .section_full {
    padding: 0.75rem;
  }

  .section_double .u-text-1,
  .section_contact .u-text-1,
  .section_full .u-text-1,
  .section_full .u-text-2 {
    font-size: 1rem;
  }

  .section_double .u-btn-1,
  .section_contact .u-btn-1 {
    padding: 8px 15px;
    font-size: 0.75rem;
  }

  .section_contact .u-social-icons-1,
  .section_double .u-social-icons-1 {
    gap: 10px;
  }

  .section_contact .u-social-icon,
  .section_double .u-social-icon {
    min-width: 40px;
    min-height: 40px;
  }

  .section_contact .u-image-2,
  .section_double .u-image-2,
  .section_full .u-image-2,
  .section_full .u-portrait,
  .u-image.u-portrait1 {
    width: 90px;
    height: auto;
  }

  .section_double .u-portrait {
    width: 70px;
    height: 70px;
  }

  .section_double .u-map {
    height: 180px;
  }

  .u-footer .u-image-1,
  .u-footer .u-image-2,
  .u-footer .u-image-3 {
    width: 100px;
    height: auto;
  }

  .u-footer .u-image-4 {
    max-width: 280px;
  }
}

/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .nav-container {
    justify-content: space-between;
    padding: 0 1rem;
  }

  .hamburger {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    z-index: 1000;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    text-align: left;
    padding: 1rem;
  }

  .nav-menu li a {
    font-size: 1rem;
  }

  .section_double,
  .section_contact,
  .section_full {
    max-width: 1000%;
    padding: 1rem;
  }

  .section_double .u-text-1,
  .section_contact .u-text-1,
  .section_full .u-text-1 {
    font-size: 1.375rem;
text-align: left;
  }

  .section_full .u-text-2 {
    font-size: 1rem;
    text-align: left;
    margin: 0 20px 0 30px;
  }

  .section_double .u-image-2,
  .section_contact .u-image-2,
  .section_full .u-image-2 {
    width: 140px;
    height: auto;
  }

  .section_double .u-portrait,
  .u-image.u-portrait1 {
    width: 90px;
    height: 90px;
  }

  .section_double .u-map {
    max-width: 500px;
    height: 250px;
  }

  .section_full .chatbot-input {
    flex-direction: column;
    gap: 10px;
  }

  .section_full #chatbot-input,
  .section_full #chatbot-send {
    width: 100%;
    max-width: 100%;
  }

  .section_full #chatbot-messages {
    max-height: 250px;
  }

  .u-footer .u-layout-cell {
    flex: 1 1 50%;
    max-width: 50%;
  }

  .u-footer .u-image-4 {
    max-width: 500px;
  }
}

/* Desktop (1024px - 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
  .nav-container {
    max-width: 95%;
    justify-content: center;
  }

  .hamburger {
    display: none;
  }

  .nav-menu {
    display: flex;
  }

  .section_double,
  .section_contact,
  .section_full,
  .u-footer .u-layout-wrap-1 {
    max-width: 100%;
  }

  .section_double .u-text-1,
  .section_contact .u-text-1,
  .section_full .u-text-1 {
    font-size: 1.5rem;
  }

  .section_full .u-text-2 {
    font-size: 1rem;
    text-align: left;
    margin: 0 20px 0 30px;
  }

  .section_double .u-image-2,
  .section_contact .u-image-2,
  .section_full .u-image-2 {
    width: 140px;
    height: auto;
  }

  .section_double .u-portrait,
  .u-image.u-portrait1 {
    width: 90px;
    height: 90px;
  }

  .section_double .u-map {
    max-width: 500px;
    height: 250px;
  }
}

/* Large Desktop (1440px and up) */
@media (min-width: 1440px) {
  .nav-container {
    max-width: 1400px;
    justify-content: center;
  }

  .hamburger {
    display: none;
  }

  .nav-menu {
    display: flex;
  }

  .section_double,
  .section_contact,
  .section_full,
  .u-footer .u-layout-wrap-1 {
    max-width: 1400px;
  }

  .section_double .u-text-1,
  .section_contact .u-text-1,
  .section_full .u-text-1 {
    font-size: 1.5rem;
  }

  .section_full .u-text-2 {
    font-size: 1rem;
    text-align: left;
    margin: 0 20px 0 30px;
  }

  .section_double .u-image-2,
  .section_contact .u-image-2,
  .section_full .u-image-2 {
    width: 200px;
    height: auto;
  }

  .section_double .u-portrait,
  .u-image.u-portrait1 {
    width: 120px;
    height: 120px;
  }

  .section_double .u-map {
    max-width: 600px;
    height: 300px;
  }

  .u-footer .u-image-4 {
    max-width: 800px;
  }
}

/* WCAG Focus Indicators */
a:focus,
button:focus {
  outline: 2px solid #005a9c;
  outline-offset: 2px;
}

/* Forced Colors Mode */
@media (forced-colors: active) {
  .u-text-1,
  .u-text-2,
  .u-text-3,
  .u-text-4,
  .u-text-5,
  .u-text-7,
  .u-text-8 {
    color: CanvasText !important;
  }

  .u-btn,
  .u-btn-1,
  .u-back-to-top,
  .u-social-icon,
  a:focus,
  button:focus {
    outline: 2px solid Highlight !important;
    outline-offset: 2px;
  }

  .u-btn-1,
  .u-back-to-top {
    background-color: ButtonFace !important;
    color: ButtonText !important;
    border: 2px solid ButtonBorder !important;
  }

  .u-back-to-top .u-svg-content {
    fill: ButtonText !important;
  }

  .u-back-to-top,
  .u-back-to-top-floating {
    display: block;
    margin: 20px auto;
    cursor: pointer;
    background-color: #002953;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    opacity: 0.70;
  }

  .u-back-to-top-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
  }

  .u-back-to-top:hover,
  .u-back-to-top:focus,
  .u-back-to-top-floating:hover,
  .u-back-to-top-floating:focus {
    background-color: #003366;
    opacity: 0.9;
  }

  .u-back-to-top .u-svg-content,
  .u-back-to-top-floating .u-svg-content {
    fill: #ffffff;
    width: 24px;
    height: 24px;
  }
}