/* =========================
   GENERAL WRAPPERS & TYPOGRAPHY
   ========================= */

section.wrapper {
  padding: 3rem 0 2rem !important;
}

.inner {
  padding: 1.5rem !important; 
  max-width: 1100px;
  margin: 0 auto;
}

h2, h3 {
  margin: 0.75rem 0 0.5rem !important;
}

p {
  margin-bottom: 1rem !important;
  line-height: 1.55;
}

ul {
  padding-left: 1.25rem;
  margin-left: 0;
  list-style-position: outside;
  text-align: left;
}

/* =========================
   SPOTLIGHT IMAGES
   ========================= */

.spotlight .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* =========================
   LANDING BANNER / HERO
   ========================= */

.banner-image {
  background-color: #324472 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 2rem;
  position: relative;
  z-index: 1;
  background-image: none !important;
}

.banner-image::before,
.banner-image::after,
.banner .image:before,
.spotlight .image:before,
.banner.style1 .image:before {
  display: none !important;
  content: none !important;
  background: none !important;
}

.banner-image img {
  display: block !important;
  margin: 0 auto !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  max-width: min(60%, 520px) !important;
  max-height: 70vh !important;
  object-fit: contain !important;
  object-position: center center !important;
}

/* =========================
   REMOVE FADE-IN EFFECTS
   ========================= */

.banner,
.banner .content,
.banner .image,
.banner .image img,
*[class*="fade-in"],
*[class*="onload-"],
*[class*="onscroll-"],
.onscroll-fade-in,
.onscroll-content-fade-right,
.onscroll-content-fade-left {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

/* =========================
   FOOTER IMAGE
   ========================= */

footer img {
  max-height: 80px;
  width: auto;
  object-fit: contain !important;
  display: inline-block;
}

/* =========================
   MOBILE ADJUSTMENTS
   ========================= */

@media (max-width: 980px) {

  /* Banner logo scaling */
  .banner-image img {
    max-width: 75% !important;
    max-height: 45vh !important;
  }

  /* Footer image scaling */
  footer img {
    max-height: 50px !important;
    width: auto !important;
  }

  /* Bullet points: visually center under paragraph */
  section.wrapper ul {
    display: block !important;             /* full width */
    text-align: center !important;         /* center content */
    padding-left: 0 !important;            /* remove left padding */
    margin: 1rem auto !important;          /* center UL block */
    list-style-position: inside !important;/* bullets move with text */
  }

  section.wrapper ul li {
    display: block !important;             /* each bullet on its own line */
    text-align: center !important;         /* center bullet text */
  }
}

/* =========================
   MOBILE UL FOR SMALLER PHONES
   ========================= */
@media (max-width: 768px) {
  ul {
    padding-left: 1rem;
  }
  ul li {
    text-align: left;
  }
}
@media (max-width: 980px) {
  /* Service Regions bullets: visually centered */
  section.spotlight .content ul {
    display: inline-block !important;  /* shrink UL to content width */
    text-align: left !important;       /* bullets themselves remain left-aligned */
    margin: 0 auto !important;         /* center the UL block under paragraph */
    padding-left: 1.25rem !important; /* proper spacing for bullets */
  }

  section.spotlight .content ul li {
    text-align: left !important;       /* ensure bullet text left-aligned inside the block */
  }
}
/* Modal container */
.modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 9999; /* above everything */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6); /* grey overlay */
}

/* Modal content box */
.modal-content {
  background-color: rgba(255, 255, 255, 0.95); /* semi-transparent */
  margin: 10% auto;
  padding: 2rem;
  border-radius: 10px;
  max-width: 500px;
  text-align: center;
}

/* Close button */
.close {
  color: #333;
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

/* Suburb list inside modal */
.modal-content ul {
  list-style-position: inside;
  padding-left: 0;
  margin-top: 1rem;
}

.modal-content ul li {
  line-height: 1.5;
}


/* Banner wrapper - force height */
section.banner.disable-fullscreen,
section.banner.disable-fullscreen[style] {
  height: 65vh !important;       /* <-- change to 25vh, 50vh, 65vh, etc */
  min-height: 65vh !important;
  max-height: 65vh !important;

  display: flex !important;
  align-items: stretch !important;
  padding: 0 !important;
}
