* {
  box-sizing: border-box;
}

img {
  display: block;
  max-inline-size: 100%;
  block-size: auto;
  margin-inline: auto;
  padding: 10px;
}

body {
  font-family: sans-serif;
  font-size: 1.25rem;
  color: #1b281b;
  line-height: 1.6;
  background-color: #5855552c;
}

h1 {
  color: #012c5b;
  font-size: 2.5rem;
  line-height: 1.2;
  text-align: center;

  @media (min-width: 800px) {
    font-size: 4rem;
  }
}

h2 {
  font-size: 2rem;
  color: #9b4c03;
  text-align: center;
  padding-block: 1px;
  margin-bottom: 2px;
}

h3 {
  font-size: 1.75rem;
  padding-block: 5px;
}

p {
  margin-top: 5px;
  margin-bottom: 5px;
}

a {
  color: #0adde4;
}

a:hover,
a:focus-visible {
  color: #1dbe1d;
}

ul,
ol {
  font-size: 2rem;
}

section {
  margin-block: 10px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #6e757c;
  max-inline-size: 1500px;
  margin-inline: auto;
}

.primary-navigation ul {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  padding-inline: 20px;
  font-size: 1.5rem;
}

.primary-navigation a {
  color: #000;
  display: block;
  font-weight: bold;
  padding: 10px;
  text-decoration: none;
}

.primary-navigation a:hover,
.primary-navigation a:focus-visible {
  color: #1dbe1d;
}

.wrapper {
  border-width: 5px;
  max-inline-size: 1500px;
  margin-inline: auto;
  padding-inline: 20px;
}

.two-column-layout {
  display: flex;
  flex-direction: column; /* Stacks image and text vertically on mobile */
  gap: 3.75rem; /* Uses 60px equivalent in rem for better scaling [2] */

  @media (min-width: 800px) {
    flex-direction: row; /* Places image and text side-by-side on desktop */
    align-items: center; /* Centrally aligns the text div vertically against the image */
  }
}

/* Optional: Ensures both columns take up equal space, similar to 1fr 1fr */
.two-column-layout > * {
  flex: 1;
}

.two-column-layout img {
  width: 100%; /* Allows the image to shrink to fit smaller containers */
  max-inline-size: 550px; /* Limits the maximum width */

  height: auto; /* Automatically scales height to match width adjustments */
  max-block-size: 400px; /* Limits the maximum height (logical equivalent of max-height) */

  object-fit: contain; /* Ensures the whole image stays visible if container bounds are met */
}

.teal-text {
  color: #06333e;
}

.teal-bg {
  background-color: #087a98;
  border: #0b4a5a solid 5px;
  padding: 10px;
  color: #fff;
  max-inline-size: 1500px;
  margin-inline: auto;
}

.midnight-blue-bg {
  background-color: #010c14;
  border: #0b4a5a solid 5px;
  padding: 0px 20px 20px 20px;
  color: #fff;
  max-inline-size: 1500px;
  margin-inline: auto;
}

.dark-orange-text {
  color: #9b4c03;
}

.bright-orange-text {
  color: #f5a623;
}

.Logo-01 {
  padding: 5px;
}

.CAD-01bg {
  background-image: url("../images/Revizto_28bg_B.png");
  background-size: cover;
  background-position: center;
  padding: 0px 30px 50px 30px;
  color: #fff;
  border: #0b4a5a solid 15px;
  max-inline-size: 1500px;
  margin-inline: auto;
}

footer {
  text-align: center;
  font-size: 1rem;
  background-color: #010c14;
  color: #fff;
  font-weight: lighter;
  max-inline-size: 1500px;
  margin-inline: auto;
  padding: 10px;
}
