:root {
  --blue-dark: #003366;
  --blue-light: #e6f0ff;
  --yellow: #ffcc00;
  --gray-light: #f8f8f8;
  --gray-border: #ccc;
  --hero-overlay-dark: rgba(0, 0, 0, 0.5);
}

a:focus,
.button:focus {
  outline: 2px dashed var(--yellow);
  outline-offset: 2px;
}

.section-padding {
  padding: 2rem 1rem;
}

.hero {
  position: relative;
  background-image: url('/images/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* dark overlay */
  z-index: 0;
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #e6f0ff;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero .button {
  background-color: #ffcc00;
  color: #003366;
  font-weight: bold;
  font-size: 1rem;
}

.home-content {
  padding-left: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #222;
  margin: 0;
  padding: 0;
  line-height: 1.7;
  background-color: #fff;
}

html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

h1, h2, h3 {
  color: #003366;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background-color: #003366;
  color: #fff;
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.container.flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
}

.site-wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.main-nav li {
  margin: 0;
  display: flex;
  align-items: center;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.main-nav a:hover {
  background-color: #00509e;
  text-decoration: none;
}

.main-nav a.active {
  font-weight: bold;
  border-bottom: 2px solid #fff;
  color: #ffcc00;
}

main.content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem;
  text-align: left;
}

main {
  padding: 7.5rem 0 2rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding-top: 1rem;
  }

  .main-nav a {
    display: block;
    width: 100%;
  }
}

@media (max-width: 600px) {
  main.content {
    padding: 1rem 1.2rem;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 1rem;
  }
}

footer {
  background-color: #f8f8f8;
  color: #333;
  padding: 0.4rem 0;
  font-size: 0.8rem;
  line-height: 1.4;
  margin-top: 1rem;
  border-top: 1px solid #ddd;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.5rem 1rem;
}

.footer-left {
  font-size: 0.8rem;
  color: #333;
}

.footer-right {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

.footer-container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

footer a {
  color: #333;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.footer-links a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

h2, h3 {
  margin-bottom: 10px;
  color: #003366;
}

p, ul {
  margin-bottom: 15px;
}

.content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem;
}

.container.content {
  padding-left: 1rem;
  padding-right: 1rem;
}

.intro {
  text-align: left;
  margin-left: 0;
  padding: 2rem 0;
}

.intro > .container {
  padding-left: 0;
  padding-right: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.features-list {
  padding-left: 1.2rem;
  margin-left: 0;
  text-align: left;
}

ul.features-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

ul.features-list li::before {
  content: "✅";
  margin-right: 0.5rem;
  color: green;
}

.button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #003366;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #00509e;
}


.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  align-items: flex-start;
}

.contact-box {
  flex: 1 1 300px;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.contact-form {
  background-color: #f0f8ff;
}

.contact-info {
  background-color: #fffbe6;
}

.contact-box h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.contact-box form label {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
}

.contact-box form input,
.contact-box form select,
.contact-box form textarea {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.3rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-box form button {
  margin-top: 1.2rem;
}

.contact-info ul {
  list-style: none;
  padding-left: 0;
}

.contact-info ul li {
  margin-bottom: 0.8rem;
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Table Styles */
.table-wrapper {
  overflow-x: auto;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--gray-border);
  border-radius: 6px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  background-color: #fff;
}

thead {
  background-color: var(--blue-dark);
  color: white;
  text-align: left;
}

th, td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--gray-border);
  font-size: 0.95rem;
}

tbody tr:nth-child(even) {
  background-color: var(--gray-light);
}

tbody tr:hover {
  background-color: var(--blue-light);
}

th {
  font-weight: 600;
}

td {
  vertical-align: top;
}

@media (max-width: 768px) {
  th, td {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }
}

/* ===== Product Tables ===== */
.product-section {
  margin-bottom: 3rem;
}

.product-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--blue-dark);
}

.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--gray-border);
  border-radius: 6px;
  background-color: var(--gray-light);
  padding: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

thead {
  background-color: var(--blue-light);
}

th, td {
  text-align: left;
  padding: 0.75rem;
  border-bottom: 1px solid #ddd;
}

th {
  font-weight: bold;
  color: var(--blue-dark);
}

tbody tr:hover {
  background-color: #f0f0f0;
}
