/* ================================= */
/* RESET & BASE                      */
/* ================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: var(--line-height);
  width: 100%;
  height: 100%;
}

/* Main Container */
.container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Headings */
h2, h3 {
  color: #004a99;
  margin-bottom: 1rem;
}
h4, h5 {
  color: #002d66;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

/* Paragraphs and Lists */
p {
  margin-bottom: 1rem;
}
ul, ol {
  margin: 1rem 0 1rem 1.5rem;
}
li {
  margin-bottom: 0.5rem;
}

/* Section Spacing */
section {
  margin-top: 2rem;
}

/* Tab Buttons Bar */
.tabs {
  display: flex;
  gap: 1rem;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 1.5rem;
}
.tabs button {
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  color: #004a99;
  cursor: pointer;
  transition: color 0.3s, border-bottom-color 0.3s;
}
.tabs button:hover {
  color: #002d66;
}
.tabs button.active {
  color: #002d66;
  font-weight: bold;
  border-bottom: 3px solid #004a99;
}

/* Content Area */
#content {
  padding: 1rem 0;
}
#content h2, #content h4 {
  margin-top: 1rem;
}
#content p, #content li {
  line-height: 1.6;
}

:target { scroll-margin-top: 0; }

/* ================================= */
/* FOOTER                            */
/* ================================= */
.footer {
  background-color: #f8f9fa;
  border-top: 4px solid #004a99;     /* same blue as your headings */
  padding: 2rem 1rem;
  color: #333;
  font-family: Arial, sans-serif;    /* ensure it matches body */
}

.footer-container {
  max-width: 900px;                  /* same as .container */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Follow Us */
.footer-follow-us {
  text-align: center;
  margin-bottom: 2rem;
}
.footer-follow-us h3 {
  font-size: 1.5rem;
  color: #004a99;                    /* match your h2/h3 color */
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}
.footer-follow-us h3:hover {
  color: #002d66;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.footer-social a {
  color: #333;
  font-size: 1.5rem;
  transition: transform 0.3s, color 0.3s;
}
.footer-social a:hover {
  transform: scale(1.2);
  color: #004a99;
}

/* Navigation links */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 1.5rem 0;
}
.footer-nav a {
  font-size: 0.875rem;
  color: #333;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}
.footer-nav a:hover {
  background: rgba(0, 74, 153, 0.1);
  color: #004a99;
}

/* Contact Title */
.footer-title {
  font-size: 1.25rem;
  color: #004a99;
  margin-bottom: 1.5rem;
}

/* Addresses */
.footer-addresses {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-around;
  width: 100%;
  margin-bottom: 1.5rem;
}
.address-block {
  max-width: 280px;
  text-align: left;
}
.address-block h3 {
  font-size: 1rem;
  color: #004a99;
  margin-bottom: 0.5rem;
}
.address-block a {
  color: #004a99;
  text-decoration: none;
}
.address-block a:hover {
  text-decoration: underline;
}

/* Footer Bottom */
.footer-bottom {
  width: 100%;
  border-top: 1px solid #e0e0e0;
  padding-top: 1rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  text-align: center;
}
