/* General Styles */
body {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  font-family: "Lucida Sans";
  margin: 0;
  padding: 0;
  min-height: 100vh;
  flex: 1;
}

main {
  flex: 1;
  padding-top: auto;
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

/* Header Styles */
.header {
  background-color: #005ea2;
  color: #ffffeb;
  font-size: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Space between logo and links */
  align-items: center; /* Vertically center the items */
  padding-top: 30px;
  margin-bottom: 200px;
  position: fixed; /* Fixed position */
  width: 100%; /* Full width */
  top: 0; /* Align to top */
  left: 0; /* Align to left */
  z-index: 1000; /* Ensure it is above other elements */
  transition: top 0.3s; /* Smooth transition */
}

.header .logo a {
  color: inherit; /* Inherit color from parent */
  text-decoration: none; /* Remove underline */
  font-size: inherit; /* Inherit font size from parent */
  font-family: inherit; /* Inherit font family from parent */
  font-weight: inherit; /* Inherit font weight from parent */
}

.header-links {
  display: flex;
  background-color: #9e9e9e;
  padding: 5px 0;
  width: 100%;
  justify-content: space-evenly;
  color: #005ea2;
}

.header-links ul {
  background-color: inherit;
  display: inherit;
  justify-content: inherit;
  flex: 1;
}

.header-links a {
  color: inherit;
  background-color: #f8f9fa;
  text-decoration: none;
  font-size: 18px;
  border-radius: 12px;
  /* white-space: nowrap; */
}

/* General Container Styles */
.container {
  margin: 0 auto; /* Center the container */
  padding: 0 0px; /* Add padding to the left and right */
  max-width: 1200px; /* Essentially creates side margins */
  padding-top: 0px; /* Add padding to compensate for fixed header */
}

/* Ensure all images inside the container adhere to the container's padding */
.container img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  padding-top: 120px;
}

/* Button Styles */
.button-top {
  background-color: #cf8d46;
  border-radius: 5px;
  font-size: 16px;
  color: #121212;
  font-weight: bold;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}

.button-top:hover {
  background-color: #cf8d46;
}

/* Typography */
h1 {
  color: #00041c;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  font-size: 40px;
  font-weight: 400;
  margin: 20px 0;
  text-align: center;
}

.subtext {
  color: #c0c0c0;
  font-size: 20px;
  text-align: center;
  margin-bottom: 40px;
}

.copy {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #0c0252;
  text-align: justify; /* Center the text */
}

/* Footer Styles */
footer {
  width: 100%;
  background: #00041c;
  text-align: center;
  width: 100%;
  font-size: 18px;
  padding: 20px 0;
  margin-bottom: -10px;
  margin-top: auto;
  color: #676b83;
}

/* Carousel Section CSS */
.carousel-inner .carousel-caption {
  padding-bottom: 170px;
}

.carousel-inner .carousel-caption h1 {
  font-family: "Times New Roman", Times, serif;
  font-size: 40px;
}

.carousel-inner .carousel-caption h3 {
  font-family: "Times New Roman", Times, serif;
}

.carousel-inner .carousel-caption button {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 30px;
  border-radius: 58px;
  transition: 0.55;
  border: 2px solid #303ead;
  text-decoration: none;
  background: #303ead;
  color: #fff;
}

.carousel-item img {
  width: 100%;
  height: auto; /* Maintain aspect ratio */
  max-height: 600px; /* Ensure images do not exceed this height */
  object-fit: contain; /* Ensure the image fits within the container without cropping */
}

.carousel-control-prev,
.carousel-control-next {
  width: auto;
  top: 50%; /* Center vertically */
  transform: translateY(-50%);
  opacity: 1; /* Ensure they are visible */
  z-index: 10; /* Ensure they are above the carousel content */
}

.carousel-control-prev {
  left: 250px; /* Adjust as needed */
}

.carousel-control-next {
  right: 250px; /* Adjust as needed */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 30px; /* Adjust icon size */
  height: 30px; /* Adjust icon size */
  background-size: 100%, 100%;
  border-radius: 100%; /* Make them circular for better appearance */
  background-color: rgba(
    0,
    0,
    0,
    0.7
  ); /* Add a background color for better visibility */
}

.carousel-indicators li {
  width: 8px;
  height: 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0);
  margin: 0 10px;
}

/* Dropdown Styling */
ul {
  list-style: none;
}

ul li {
  display: inline-block;
  position: relative;
}

ul li a {
  display: block;
  padding: 5px 30px;
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-size: 20px;
}

ul li ul.dropdown li {
  display: block;
  padding: 0;
}

ul li ul.dropdown {
  width: 100%;
  background: rgba(0, 0, 0, 0.01);
  position: absolute;
  z-index: 999;
  display: none;
}

ul li a:hover {
  background: #9fa2b3;
}

ul li:hover ul.dropdown {
  display: block;
}

/* Contact Page Styles */
.contact-left {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-left-title h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.contact-left-title hr {
  border: none;
  width: 120px;
  height: 5px;
  background-color: #ff994f;
  border-radius: 10px;
  margin-bottom: 20px;
}

.contact-inputs {
  width: 100%;
  height: 50px;
  border: none;
  outline: none;
  border-radius: 5px;
  padding: 0 15px;
  margin-bottom: 15px;
  background-color: #f8f9fa;
  font-size: 16px;
}

.contact-inputs:focus {
  border: 2px solid #ff994f;
}

.contact-inputs::placeholder {
  color: #a9a9a9;
}

textarea.contact-inputs {
  height: 400px; /* Adjusted height for textarea */
  resize: none; /* Disable resize */
}

.contact-left button {
  display: flex;
  align-items: center; /* Center text and icon vertically */
  justify-content: center; /* Center text and icon horizontally */
  padding: 15px 30px; /* Adjust padding to control button size */
  font-size: 16px; /* Adjust font size */
  color: #ffffff;
  gap: 10px; /* Space between text and icon */
  border: none;
  border-radius: 50px; /* Rounded corners */
  background: linear-gradient(270deg, #ff994f, #fa6d86);
  cursor: pointer;
  text-align: center; /* Center text inside the button */
  line-height: normal; /* Ensure line-height does not affect vertical alignment */
}

.contact-left button img {
  width: 20px; /* Icon size */
  height: 20px; /* Icon size */
  margin-left: 10px; /* Space between text and icon */
}

.contact-right {
  padding: 30px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-right h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.contact-right p {
  font-size: 16px;
}

.contact-right p strong {
  color: #00041c;
}

.logo-subtext {
  font-size: 18px;
  text-align: center;
}

.header-right {
  display: flex;
  flex-direction: column;
  background-color: inherit;
  line-height: 20px;
}

.logo {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
}

.logo img {
  margin: 0px;
  margin-top: -10px;
  filter: invert(1);
}

.header-smaller {
  font-size: 20px;
  line-height: 40px;
}

.header-left {
  font-size: 40px;
  line-height: 28px;
}

.contact-smaller {
  line-height: 1.2;
  margin: 0;
}

.contact-normal {
  padding-top: 8px;
  margin-bottom: 0;
}

iframe {
  margin-top: 20px;
}

.container.mt-5 {
  margin-bottom: 20px;
  margin-top: 300px;
}

.container.mt-5.row {
  margin-top: 200px;
}

/* Styles added by Derek */
.responsive-image {
  max-width: 100%;
  height: auto;
  padding: 0 !important; /* Override .container img style */
}

.team-member {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
}

.bullet-list {
  list-style-type: disc;
  margin-bottom: 20px;
  padding-left: 16px;
}

.bullet-list li {
  display: list-item;
}

.ip-images {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.resources {
  list-style-type: disc;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: start;
}

.resources li {
  display: list-item;
}

.resources li a {
  font-size: 20px;
  color: #0c0252;
  text-decoration: underline;
  text-align: left;
}

.resources-header {
  text-align: center;
  margin: 24px 0;
}
