/* ==========================================================
   BASE / GLOBAL
========================================================== */
body {
  background:
   linear-gradient(180deg, #f5f9fc 0%, #eef3f8 100%);
}

#main {
  background:
    linear-gradient(180deg, #f5f9fc 0%, #eef3f8 100%);
  padding-top: 0;
  margin-top: 0;
}

#main::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url('/images/noise.png'); /* very light grain */
  opacity: 0.03;
  pointer-events: none;
}

/* ==========================================================
   BANNER
========================================================== */
#banner {
  margin-top: -8rem;
}

.homeland-banner {
  position: relative;
  width: 100%;
  height: 75vh !important;
  background: url("../../images/gpt-banner-bg.png") bottom / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.banner-content {
  z-index: 1;
  color: #fff;
  padding: 20px;
  margin: auto;
  text-shadow: 2px 2px 4px rgba(0,0,0,.5);
}

.homeland-banner h2 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #fff !important;
}

.subtitle strong {
  font-size: clamp(.9rem, 1.6vw, 1.5rem);
  font-weight: 550;
  color: #fff;
}

/* BANNER - MOBILE */

@media (max-width: 900px) {

  /* fix overlap with nav */
  #banner {
    margin-top: -8rem;
    padding-top: 3rem;
  }

  .homeland-banner {
    height: 75vh !important;
    min-height: 360px;
    background-position: center;
    padding: 1rem;
  }

  .banner-overlay {
    background-color: rgba(0, 0, 0, 0.6);
  }

  .banner-content {
    padding: 1rem;
    max-width: 90%;
  }

  .homeland-banner h2 {
    font-size: 2rem;
    line-height: 1.15;
    margin-bottom: 0.6rem;
  }

  .subtitle strong {
    font-size: 1rem;
    line-height: 1.4;
  }
}

/* SMALL PHONES */

@media (max-width: 600px) {

  .banner-content {
    padding: 0.75rem;
  }

  .homeland-banner h2 {
    font-size: 1.6rem;
  }

  .subtitle strong {
    font-size: 0.9rem;
  }
}

/* EXTRA SMALL DEVICES */

@media (max-width: 420px) {

  .homeland-banner h2 {
    font-size: 1.4rem;
  }

  .subtitle strong {
    font-size: 0.85rem;
  }
}

/* ==========================================================
   MAIN PAGE LAYOUT
========================================================== */

.homeland-layout::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 320px;
  pointer-events: none;
}

.homeland-layout {
  padding: 3rem 0 4rem;
}

.homeland-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.homeland-content {
  width: 100%;
  margin: 0 auto;
}

/* ==========================================================
   SECTION / CARD SYSTEM
========================================================== */
.content-section,
.content-card {
  padding: 2rem 2rem 1.9rem;
  margin-bottom: 1.5rem;
}

.content-card {
  background: #ffffff;
  border-radius: .25rem;
  box-shadow: 0 12px 32px rgba(28, 53, 82, 0.08);
  position: relative;
  overflow: hidden;
}

.content-card::before,
.content-section::before {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1c3552, #78b1dc);
  margin-bottom: 1.1rem;
}

/* ==========================================================
   HEADINGS
========================================================== */
.section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.85rem;
  color: #1c3552 !important;
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-title i {
  color: #78b1dc;
  font-size: 1.25rem;
}

.section-subtitle {
  margin: 0 0 1rem;
  color: #46617f !important;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

/* ==========================================================
   BODY TYPOGRAPHY
========================================================== */
.content-section p,
.content-card p {
  margin: 0 0 1rem;
  color: #33475b;
  font-size: 1rem;
  line-height: 1.75;
}

.content-section p:last-child,
.content-card p:last-child {
  margin-bottom: 0;
}

.content-section a,
.content-card a {
  color: #1c5a90;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.content-section a:hover,
.content-card a:hover {
  color: #0f4473;
  border-color: rgba(15, 68, 115, 0.35);
}

/* ==========================================================
   WHAT WE DO / CUSTOM LIST
========================================================== */
.custom-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 0.9rem 1rem;
}

.custom-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem 1rem;
  background: #f7fbff;
  border: 1px solid rgba(120, 177, 220, 0.22);
  border-radius: 0.9rem;
  color: #1f2a44;
  font-weight: 700;
  line-height: 1.45;
}

.custom-list li i {
  color: #78b1dc;
  font-size: 1.05rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* ==========================================================
   ICON LIST / STAY INFORMED
========================================================== */
.icon-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.icon-list li {
  margin: 0;
}

.icon-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  background: #f7fbff;
  border: 1px solid rgba(120, 177, 220, 0.25);
  border-radius: 0.85rem;
  color: #1c3552 !important;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.icon-list a:hover {
  transform: translateY(-2px);
  background: #eef7ff;
  box-shadow: 0 10px 24px rgba(28, 53, 82, 0.08);
}

.icon-list i {
  color: #78b1dc;
  font-size: 1rem;
}

/* ==========================================================
   SANDBAG DISPOSAL EMPHASIS
========================================================== */
.content-card strong,
.content-section strong {
  color: #1c3552 !important;
}

.content-card b,
.content-section b {
  color: #8d2b2b !important;
}

.content-card p strong + b,
.content-section p strong + b {
  color: #8d2b2b !important;
}

/* Optional highlighted warning tone for important disposal card */
.content-card:nth-of-type(4) {
  border-left: 6px solid #6fa8dc;
}

/* ==========================================================
   CONTACT CARDS
========================================================== */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.contact-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
  border: 1px solid rgba(28, 53, 82, 0.1);
  border-radius: 1rem;
  padding: 1.35rem 1.2rem;
  box-shadow: 0 10px 26px rgba(28, 53, 82, 0.06);
}

.contact-card h3,
.contact-card-name {
  margin: 0 0 0.35rem;
  color: #1c3552 !important;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.3;
}

.contact-card em {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: #5b7390 !important;
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
}

.contact-card p {
  margin: 0;
  color: #33475b !important;
  line-height: 1.75;
}

.contact-card a {
  color: #1c5a90 !important;
  font-weight: 700;
}

.phone-num {
  white-space: nowrap;
}

/* ==========================================================
   GENERAL SPACING HELPERS
========================================================== */
.list-section .section-subtitle {
  max-width: 900px;
}

.content-section + .content-section,
.content-card + .content-card,
.content-card + .content-section,
.content-section + .content-card {
  margin-top: 0;
}

/* ==========================================================
   RESPONSIVE
========================================================== */
@media (max-width: 1100px) {
  .contact-cards {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .custom-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 800px) {
  .homeland-layout {
    padding: 2rem 0 3rem;
  }

  .content-section,
  .content-card {
    padding: 1.5rem 1.25rem;
    border-radius: 0.95rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .custom-list {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .icon-list {
    flex-direction: column;
  }

  .icon-list a {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .homeland-container {
    padding: 0 0.85rem;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .section-subtitle,
  .content-section p,
  .content-card p {
    font-size: 0.96rem;
  }

  .custom-list li,
  .icon-list a,
  .contact-card {
    padding: 0.95rem;
  }
}