/* =====================================
BASE
===================================== */
*,
*::before,
*::after {
box-sizing: border-box;
}

body {
margin: 0;
background: #001a33;
color: #222328;
font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
}

/* =====================================
SHARED CENTERED SHELL
All major sections share this wrapper
to guarantee identical width.
===================================== */
.page-shell {
width: 100%;
max-width: 1100px;
margin-left: auto;
margin-right: auto;
}

/* =====================================
HEADER / LOTTIE BANNER
===================================== */
.site-header {
margin: 0;
padding: 0;

line-height: 0;
}

/* The Lottie animation container */
#animation-container {
margin: 0;
padding: 0;
line-height: 0;
overflow: hidden;
/* Pull up by the gap amount — adjust px until it disappears */
margin-bottom: -14px;
}

/* The actual lottie-player element inside the container */
#animation-container lottie-player {
display: block;
width: 100%;
max-width: 100%;
height: 122px;
margin: 0;
padding: 0;
border: 0;
vertical-align: top;
}

/* Also target the image in header.html component if used */
#header-placeholder img {
display: block;
width: 100%;
max-width: 100%;
margin: 0;
padding: 0;
border: 0;
vertical-align: top;
}

/* =====================================
NAVBAR
===================================== */
/* The placeholder that loader.js injects navbar.html into */
#navbar-placeholder {
margin: 0;
padding: 0;
}

/* The navbar root element (navbar.html wraps its content in id="navbar") */
#navbar {
width: 100%;
margin: 0;
padding: 0;
background: rgba(20, 24, 44, 0.9);
color: #fff;
display: flex;
align-items: stretch;
justify-content: flex-start;
border-top: 1px solid #fff;
border-right: 1px solid #fff;
border-bottom: 2px solid #fff;
border-left: 1px solid #fff;
position: relative;
z-index: 100;
}

/* Nav buttons */
.nav-buttons {
display: flex;
flex-direction: row;
width: 100%;
margin: 0;
padding: 0;
}

.nav_item {
position: relative;
display: block;
flex: 1;
margin: 0;
padding: 0;
}

.nav_item a {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
margin: 0;
padding: 12px 2px;
background: #001a33;
color: #fff;
font-size: 0.96em;
font-weight: bold;
line-height: 1.2;
text-align: center;
text-decoration: none;
white-space: nowrap;
border: 0;
border-right: 2px solid #fff;
border-radius: 0;
box-shadow: none;
transition: background 0.2s ease, color 0.2s ease;
}

.nav_item:last-child > a {
border-right: none;
}

.nav_item a:hover,
.nav_item a:focus {
background: #b0b3b8;
color: #222328;
}

/* Dropdown menu */
.dropdown-menu {
display: none;
position: absolute;
top: 100%;
left: 0;
width: calc(100% + 2px);
margin: 0 0 0 -2px;
padding: 0;
background: #001a33;
border: 2px solid #fff;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
z-index: 9999;
}

.nav_item:hover .dropdown-menu,
.nav_item:focus-within .dropdown-menu {
display: block;
}

.dropdown-menu a {
justify-content: center;
text-align: center;
padding: 10px 2px;
font-size: 0.9em;
white-space: normal;
border-right: none;
border-bottom: 2px solid #fff;
}

.dropdown-menu a:last-child {
border-bottom: none;
}

/* =====================================
HEADINGS
===================================== */
h1 {
margin-top: 0.5em;
margin-bottom: 0.6em;
color: #222328;
font-family: 'Roboto Slab', serif;
font-size: 2em;
font-weight: bold;
letter-spacing: 2px;
text-shadow: 0 2px 8px #e2e4e6;
}

/* =====================================
CONTENT AREA
===================================== */
.content-area {
position: relative;
z-index: 1;
  padding: 20px 40px 40px 40px; /* reduced top padding from 40px to 20px */
background: #e2e4e6;
color: #222328;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
border-bottom: 3px solid #001a33;
}

/* Figures */
figure {
margin: 0;
padding: 0;
}

figcaption {
text-align: center;
font-size: 0.95em;
color: #555;
font-weight: bold;
}


/* =====================================
FOOTER
===================================== */
#footer-placeholder {
  position: relative;
  z-index: 2;
  margin-top: -3px;
  padding: 30px 40px;
  color: #fff;
  text-align: center;
  line-height: 1.4;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  border-bottom: 2px solid #fff;
  border-left: 1px solid #fff;
  border-radius: 0;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  /*background: url("https://mrwild.net/img/esfahan.png") center / cover no-repeat;*/
  background-color: #001a33;
}

#footer-placeholder footer {
  margin: 0;
  padding: 20px 24px;
  background: rgba(0, 26, 51, 0.45);
  border: none;
  box-shadow: none;
  display: inline-block;
  max-width: 900px;
  width: 100%;
}

.footer-left {
  margin: 0 auto;
}

.quote {
  color: #d0d6dd;
}

.quote strong {
  color: #fff;
}

.footer-links {
  margin-bottom: 14px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links a img {
  margin-right: 6px;
  filter: brightness(1.15) grayscale(0.15);
  vertical-align: middle;
}

.footer-company-name {
  margin-top: 14px;
  color: #fff;
}

/* =====================================
RESPONSIVE
===================================== */
@media only screen and (max-width: 1200px) {
.page-shell {
max-width: 98vw;
}

table {
font-size: 0.97em;
}

.content-area {
border-bottom-width: 2px;
}

.nav_item a {
font-size: 0.8em;
padding: 9.6px 2px;
}
}