/* General Fluid Layout Fixes */
body, html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

 .container, .main, .content, .page-home {
  width: 100% !important;
  padding: 0 15px;
}

/* Make images scale */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Navigation */
nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

nav ul li {
  flex: 1 1 auto;
  text-align: center;
}

/* Mobile Header Fix */
header, .top-banner {
  text-align: center;
  padding: 10px;
}

/* Typography Scaling */
h1, h2, h3, p {
  line-height: 1.4;
  word-break: break-word;
}

/* Responsive Media Queries */
@media screen and (max-width: 1024px) {
  .container, .main-content, .wrapper {
    padding: 0 10px;
  }

  nav ul li {
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {
  nav ul {
    flex-direction: column;
    background: #333;
  }

  nav ul li {
    border-bottom: 1px solid #444;
    padding: 12px 0;
  }

  h1 {
    font-size: 1.8em;
  }

  .hero-text, .promo-box, .content-section {
    padding: 10px;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 1.4em;
  }

  nav ul li {
    font-size: 14px;
  }
}
