/* ==============================
   Base Styles
   ============================== */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* full viewport height */
  margin: 0;
  font-family: Arial, sans-serif;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 1em;
  flex: 1; /* main content grows to push footer down */
  box-sizing: border-box;
  font-size: 1em; /* default base font size */
}

/* ==============================
   Header
   ============================== */
.main-header {
  background: url("https://bplo-agency.org/header background.png") no-repeat center center;
  background-size: cover;
  width: 100%;
  min-height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0;
}

.header-img {
  display: none; /* shown only on small screens */
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ==============================
   Navbar
   ============================== */
.navbar {
  background-color: #143058;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.navbar li {
  margin: 0;
}

.navbar a {
  text-decoration: none;
  color: white;
  padding: 0.5em 1em;
  display: block;
  font-size: 1em;
}

.navbar a.active {
  background-color: #0e2342;
  border-radius: 4px;
}

.navbar a:hover {
  background-color: #0e2342;
  border-radius: 4px;
}

/* ==============================
   Callout Box
   ============================== */
.callout {
  background-color: #f2f2f2;
  padding: 1.2em;
  margin: 1.5em 0;
  border-left: 4px solid #1a3d6d;
}

/* ==============================
   Button
   ============================== */
.btn {
  display: inline-block;
  background-color: #1a3d6d;
  color: #fff;
  padding: 0.6em 1.2em;
  margin-top: 1em;
  text-decoration: none;
  border-radius: 5px;
  text-align: center;
}

/* ==============================
   Footer
   ============================== */
footer {
  background-color: #1a3d6d;
  color: #fff;
  text-align: center;
  padding: 1.5em 1em;
  width: 100%;
  box-sizing: border-box;
}

/* ==============================
   Typography
   ============================== */
h1, h2, h3 {
  margin-bottom: 0.5em;
}

p {
  margin-bottom: 1em;
}

/* ==============================
   Press Section
   ============================== */
.press-container {
  margin: auto;
  padding: 2em;
}

.press-release {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #ccc;
}

.press-release h3 {
  color: #143058;
  margin-bottom: 0.2em;
}

.press-release small {
  display: block;
  font-size: 0.85em;
  color: #555;
  margin-bottom: 0.5em;
}

.press-release p {
  font-size: 0.95em;
  line-height: 1.6;
}

/* ==============================
   Ticker
   ============================== */
.ticker-container {
  width: 100%;
  overflow: hidden;
  background: #f0f4f8;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 0.5em 0;
  position: relative;
  height: 1em;
}

.ticker-text {
  position: absolute;
  top: 0.5em;
  left: 100%;
  white-space: nowrap;
  font-weight: bold;
  font-size: 0.9em;
  color: #143058;
  will-change: left;
}

@keyframes scrollLeft {
  from { left: 100%; }
  to { left: -100%; }
}

/* ==============================
   Responsive Styles
   ============================== */

/* Medium screens (≤1024px) */
@media (max-width: 1024px) {
  .container {
    padding: 0;
  }
}

/* Tablets & small desktops (≤767px) */
@media (max-width: 767px) {
  .main-header h1 {
    font-size: 1.5em;
    padding: 0;
  }

  .main-header {
    background: none;
    min-height: auto;
    margin: 0;
  }

  .header-img {
    display: block;
    width: 100vw;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
  }

  .navbar a {
    font-size: 0.9em;
    padding: 0.5em;
  }
}

/* Small phones (≤500px) */
@media (max-width: 500px) {
  .navbar a {
    font-size: 0.78em;
    padding: 0.5em 0.4em;
  }

  .callout {
    font-size: 0.95em;
    padding: 1em;
  }

  .btn {
    font-size: 0.9em;
    padding: 0.5em;
  }
}

/* Extra Small Screens (iPhone SE, ≤380px) */
@media (max-width: 380px) {
  /* Header */
  .main-header h1 {
    font-size: 1.2em;
    padding: 0;
  }

  /* Navbar */
  .navbar a {
    padding: 0.4em 0.3em;
    text-align: center;
    font-size: 0.75em;
  }

  /* Callout Box */
  .callout {
    font-size: 0.8em;
    padding: 0.6em;
    margin: 1em 0;
  }

  .callout ul {
    font-size: 1.25em;
  }

  /* Buttons */
  .btn {
    width: 100%;
    max-width: 100px;
    padding: 0.5em 0.6em;
    font-size: 0.8em;
  }

  /* Footer */
  footer {
    font-size: 0.75em;
    padding: 0.6em;
    position: relative; /* no fixed footer */
  }

  /* Typography */
  p {
    font-size: 1em;
  }

  h2 {
    font-size: 0.95em;
  }

  h3 {
    font-size: 0.85em;
  }
}

.contain{
  padding: 1em;
}

.hidden{
  display: none;
}