
/* === Reset and Base Styles === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: Arial, sans-serif;
  background: url('../img/computerCode.jpg') repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* === Header (Gears Animation) === */
header {
  padding: 20px 0;
}

header img {
  width: 125px;
  height: 125px;
  object-fit: contain;
}

/* === Main Content === */
main {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

h1 {
  color: #00FF00; /* Glowing green for main heading */
  margin-bottom: 10px;
}

p {
  color: #ffffff; /* White for subheading */
  max-width: 600px;
  margin-bottom: 20px;
}

/* === Footer (Logos and SiteSeal) === */
footer {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 20px;
  gap: 20px;
  overflow: hidden;
}

.footer-logos {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  margin-right: auto; /* Push seal to the right */
}

.footer-logos img {
  height: 40px;
  width: auto;
}

/* Control site seal size */
#siteseal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  max-width: 180px;
}
#siteseal > script, 
#siteseal > a, 
#siteseal > img {
  max-height: 22px; /* Shrunk SiteSeal */
  width: auto;
}

/* === Responsive tweaks (merged from queries.css) === */

/* Small tablets to big tablets: from 768–1023px */
@media only screen and (max-width:1023px) {
  body { font-size: 18px; }
  section { padding: 60px 0; }

  .Tlogo {
    display: block;
    height: 100px;
    width: auto;
    margin: 20px 0 10px 10px;
  }
}

/* Small phones to small tablets: from 481–767px */
@media only screen and (max-width:767px) {
  body { font-size: 16px; }
  section { padding: 30px 0; }

  .Tlogo {
    display: block;
    height: 65px;
    width: auto;
    margin: 20px 0 10px 10px;
  }

  h1 { font-size: 180%; }
  h2 { font-size: 150%; }
}

/* Small phones: under 480px */
@media only screen and (max-width:480px) {
  section { padding: 25px 0; }

  .hero-buttons {
    margin-bottom: 60px;
  }
}

/* Footer stacking for small screens */
@media only screen and (max-width:600px) {
 .footer-bottom {
  gap: 10px;
  padding: 0 10px;
}


  .footer-logos {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
  }

  #siteseal {
    justify-content: flex-start;
  }

  .footer-logos img {
    height: 30px;
  }
}
.footer-logos img.flag {
  height: 22px;
  width: auto;
  vertical-align: middle;
  margin-left: 8px;
  margin-right: 5px;
  display: inline-block;
}

.made-in-usa-text {
  font-size: 0.8rem;
  color: #bbb;
  white-space: nowrap;
  display: inline-block;
}

/* Responsive tweak */
@media only screen and (max-width: 600px) {
  .footer-logos {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .footer-logos img.flag {
    height: 12px;
    margin-bottom: 4px;
  }

  .made-in-usa-text {
    white-space: normal;
    text-align: center;
    display: block;
  }
}
