/* Base body styles */
body {
  font-family: Arial, sans-serif;
  margin: 20px;
  background-color: #f0f0f0;
  color: #000;
}

/* Contact Section Styles */

#contact {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  background-color: #0047ab;
  border: 1px solid #bbb;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#contact-box1 {
  width: 40%;
  padding: 20px;
  box-sizing: border-box;
}

#contact-box1 img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

#contact-box2 {
  width: 55%;
  padding: 20px;
  box-sizing: border-box;
  background-color: #ffffff;
  border: 1px solid #000;
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #000000;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

#contact-box2-diverse-list {
  padding-top: 20px;
  font-size: 1em;
}

#contact-box2-diverse-list ol {
  list-style: decimal;
  padding-left: 20px;
  margin: 0;
}

#contact-box2-diverse-list li {
  margin-bottom: 10px;
}

#contact-box2-diverse-list a {
  text-decoration: none;
  color: #0033cc;
  transition: color 0.3s ease;
}

#contact-box2-diverse-list a:hover,
#contact-box2-diverse-list a:focus {
  color: #ff9900;
  background-color: #fff;
  outline: none;
}

nav#contents {
  margin-top: 30px;
}

nav#contents h1 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

nav#contents ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav#contents ul li {
  margin-bottom: 10px;
}

nav#contents ul li a {
  text-decoration: none;
  color: #0033cc;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav#contents ul li a:hover,
nav#contents ul li a:focus {
  color: #ff9900;
  outline: none;
}

/* Responsive design for different devices */

@media only screen and (max-width: 768px) {
  #contact {
    flex-direction: column;
  }
  #contact-box1,
  #contact-box2 {
    width: 100%;
  }
}

@media only screen and (max-width: 480px) {
  #contact-box2 {
    font-size: 14px;
  }
}

/* Screen reader only class for accessibility */

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
