nav {
  font-size: .9rem;
}

#header .nav-header-text {
  font-size: 1.5rem;
}

hr {
  width: 100vw;
  border-bottom: 1px solid black;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1em;
  margin: 0 0 1em 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-style: none;
  border: none;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: inherit;
  text-decoration: none;
}

h2 {
  font-size: 1.75em;
  line-height: 1.5em;
  text-decoration: none;
  border: none;
  width: fit-content;
  margin: 0 auto;
  padding-bottom: 0;
}

h3 {
  font-size: 0.9em;
  line-height: 1.5em;
}

h4 {
  font-size: 0.9em;
  line-height: 1.5em;
}

h5 {
  font-size: 0.9em;
  line-height: 1.5em;
}

h6 {
  font-size: 0.7em;
  line-height: 1.5em;
}

/* General */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}

h2.major {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #002147;
}

p {
  margin-bottom: 1rem;
}

/* =========================
   Banner
========================= */
#banner {
  position: relative;
  background: url("../../images/mobile_command.jpg") center/cover no-repeat;
  width: 100%;
  height: 75vh;
  display: flex;
  flex-direction: column;
  margin-bottom: 0 !important;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.banner-content {
  flex: 0 0 85%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 20px;
  z-index: 1;
  margin: auto;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-content h2 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 4rem;
  line-height: 1.2;
  margin: 0 auto 1rem auto;
}

.banner-content .subtitle {
  font-size: 1.5rem;
  margin: 2rem auto 1rem auto;
  font-weight: 550;
}

/* ----------------------------------------------------------
   Banner Buttons
---------------------------------------------------------- */
.banner-btns-section {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.banner-btns {
  flex: 0 0 15%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7rem;
  background-color: #1F2A44;
  color: #000;
  z-index: 1;
  padding: 2rem;
  margin: 0 auto;
}

.banner-btns .banner-button {
  border: none;
  background: transparent;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1rem;
  font-weight: 900;
  gap: .5rem;
  text-decoration: none;
  margin: 0 auto;
  padding: 0;
  transition: all 0.01s ease-out;
}

.banner-btns .banner-button i {
  font-size: 3rem;
  line-height: 1;
  transition: transform 2s ease-in-out;
}

.banner-btns .banner-button:hover {
  transform: translateY(-5px);
  color: #78B1DC;
}

/* Mobile */
@media (max-width: 768px) {
  .banner-content { padding: 1rem 1.5rem; }
  .banner-content h2 { font-size: 2rem; line-height: 1.3; }
  .banner-content .subtitle { font-size: 1rem; line-height: 1.4; margin-bottom: 1.5rem; }

  .banner-btns {
    gap: 1.5rem;
    padding-top: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
  }

  .banner-btns .banner-button {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    border: 2px solid #2E5A88;
    padding: 1rem;
    width: 12rem;
    height: 12rem;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    border-radius: .5rem;
  }

  .banner-btns .banner-button:hover {
    background-color: #78B1DC;
    color: #1F2A44;
  }

  .banner-btns .banner-button i { font-size: 5rem; }
}

/* Extra small mobile */
@media (max-width: 560px) {
  #banner {
    height: 60vh;
  }

  .banner-btns .banner-button {
    font-size: .9rem;
    width: 30%;
    height: auto;
  }
  .banner-btns .banner-button i { font-size: 2rem; }
}

/* ----------------------------------------------------------
   Wrapper / Sections
---------------------------------------------------------- */
.wrapper {
  padding: 0 1.5rem 3rem 1.5rem;
  margin-top: 0;
}

.wrapper.spotlight {
  background: #fff;
}

.wrapper.alt {
  background: #f4f4f4;
}

.wrapper.style1 {
  background: #5c5c5c;
}

.wrapper.style2 {
  background: #e9ecef;
}

.wrapper.style3 {
  background: #fff;
}

.wrapper .inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ----------------------------------------------------------
   Feature Icons (What We Do section)
---------------------------------------------------------- */
.feature-icons {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-icons li {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  transition: transform 0.2s ease;
}

.feature-icons i {
  font-size: 3rem;
  color: #00529b;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   Sandbag Card Section
---------------------------------------------------------- */
.sandbag-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 2rem;
  margin-top: 1rem;
  line-height: 1.7;
  color: #5c5c5c;
}

.sandbag-card p {
  margin-bottom: 1rem;
}

.sandbag-card strong {
  color: black !important;
}

.sandbag-card b {
  color: #5c5c5c !important;
  text-decoration: underline;
}

/* ----------------------------------------------------------
   Contact Cards Section
---------------------------------------------------------- */
.contact-cards-section .major {
  color: white !important;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.contact-card h3 {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 0;
  color: #002147 !important;
}

.contact-card em {
  color: #555;
  font-size: 1.15rem;
  display: block;
  margin-bottom: 0.75rem;
}

.contact-card p {
  color: #555;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.75rem;
}

.contact-card a {
  color: #00529b !important;
  text-decoration: none;
  font-weight: 500;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-card a.phone-num {
  text-decoration: none;
  color: #555 !important;
  font-weight: 500;
  border: none;
}

/* ----------------------------------------------------------
   General Responsive Styles
---------------------------------------------------------- */

/* Mobile devices (small screens) */
@media (max-width: 768px) {
  #banner {
    height: 50vh;
  }

/* Adjust banner text size */
  #banner .banner-content h2 {
    font-size: 2rem;
  }

  #banner .banner-content .subtitle {
    font-size: 1.2rem;
  }

  /* Stack banner buttons vertically for small screens */
  .banner-btns {
    grid-template-columns: 1fr;
    width: 100%;
  }

  /* Adjust feature icons grid for smaller screens */
  .feature-icons {
    grid-template-columns: 1fr 1fr;
  }

  /* Stack contact cards for smaller screens */
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Mobile styles for contact cards */
  .contact-card {
    padding: 1rem;
  }

  /* Adjust wrapper padding for smaller screens */
  .wrapper {
    padding: 2rem 1rem;
  }

  /* Adjust heading sizes on small devices */
  h2.major {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }

  .sandbag-card {
    padding: 2rem;
    width: 100%;
  }

  .sandbag-card p {
    width: 95%;
    margin: 1rem auto;
  }
}

/* ----------------------------------------------------------
   Tablet Devices (medium screens)
---------------------------------------------------------- */
@media (min-width: 769px) and (max-width: 1024px) {
  .banner-btns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  /* Adjust feature icons grid for medium screens */
  .feature-icons {
    grid-template-columns: 1fr 1fr 1fr;
  }

  /* Adjust wrapper padding for tablets */
  .wrapper {
    padding: 2rem 1.5rem;
  }

  /* Adjust contact cards grid */
  .contact-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  /* Adjust banner text for tablets */
  #banner h2 {
    font-size: 2rem;
  }

  #banner .subtitle {
    font-size: 1.4rem;
  }

  /* Contact card styling for tablets */
  .contact-card {
    padding: 1.5rem;
  }

  /* Adjust sandbag card padding */
  .sandbag-card {
    padding: 2rem;
    width: 100%;
  }

  .sandbag-card p {
    width: 95%;
    margin: 1rem auto;
  }
}

/* ----------------------------------------------------------
   Large Screen (Desktop and Above)
---------------------------------------------------------- */
@media (min-width: 1025px) {

  /* Large screen adjustments for feature icons */
  .feature-icons {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Larger banner text for desktops */
  #banner h2 {
    font-size: 2.5rem;
  }

  #banner .subtitle {
    font-size: 1.5rem;
  }

  /* Adjust wrapper padding for larger screens */
  .wrapper {
    padding: 3rem 2rem;
  }

  /* Contact cards displayed as grid for desktop */
  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  /* Increase font size for larger headings */
  h2.major {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  /* Adjust sandbag card padding for larger screens */
  .sandbag-card {
    padding: 2rem;
  }
}

/* ==============================
   GLOBAL MOBILE
   ============================== */
@media (max-width: 768px) {
  body {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  #header .nav-header-text {
    font-size: 0.9rem;
  }

  a {
    font-size: 1rem;
  }
}