/* Non-critical CSS — Support By DJ */

html {
  scroll-padding-top: 120px;
}

/* ── Utility ─────────────────────────────────────────── */

.no-scroll {
  position: fixed;
  overflow: hidden;
  width: 100%;
}

.mobile-only {
    display: none!important;
}

.center {
  text-align: center;
  margin: 0 auto;
}

.purple { color: #2c4eaa; }

/* ── Links / buttons ─────────────────────────────────── */

a { color: #2c4eaa; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid #2c4eaa;
  color: #2c4eaa;
  font-size: 0.8rem;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  background-color: transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.button:hover {
  background-color: #2c4eaa;
  color: #fff;
}

p .button {
  padding: 0.3rem 0.5rem;
  min-width: 15rem;
  max-width: 15rem;
}

.new-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid #2c4eaa;
  color: #2c4eaa;
  font-size: 0.8rem;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  background-color: transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-right: 200px;
}

.new-button:hover {
  background-color: #2c4eaa;
  color: #fff;
}

.dark-mode .new-button,
.dark-mode .button {
  border: 2px solid #fff;
  color: #fff;
}

/* ── Description block ───────────────────────────────── */

.description {
  color: #333;
  line-height: 1.5;
  text-align: left;
  margin: 20px 40px;
}

/* ── Hero / about section ────────────────────────────── */

.hero-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  gap: 1%;
  margin: 0 auto;
}

.hero-content {
  flex: 0 0 50%;
  padding: 10px;
}

.hero-content p {
  flex: 0 0 56%;
  padding: 1px;
  text-align: left;
  line-height: 1.4;
  font-size: 1.2rem;
  color: #333;
  padding-bottom: 50px;
}

.hero-content h2 {
  width: 100%;
  text-align: left;
  margin-bottom: 20px;
  margin-left: 40px;
}

.hero-content h3 {
  width: 100%;
  text-align: left;
  margin-left: 40px;
}

.hero-image {
  flex: 0 0 44%;
  padding: 1px;
}

.hero-image img {
  margin-left: 80px;
  margin-right: 30px;
  max-height: 666px;
  min-height: 666px;
  max-width: 80%;
  min-width: 80%;
  object-fit: cover;
}

.dark-mode .hero-content p { color: #d0fdff; }

/* ── Quick enquiry form ──────────────────────────────── */

#enquiry-form {
  background-image: url('/images/banners/enquiry-background.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 3px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  max-width: 280px;
  max-height: 280px;
  margin: 3px auto;
  text-align: center;
  margin-bottom: 20px;
}

#enquiry-form h3 {
    margin-top: 0;
}

.dark-mode #enquiry-form h3 { color: #fff; }

#enquiry-form .button {
  color: #333;
  background: goldenrod;
  border: 2px solid #333;
}

#enquiry-form .button:hover {
  color: #333;
  background: gold;
  border: 2px solid #333;
}

#quickEnquiryForm label {
  display: block;
  color: transparent;
  font-size: 0.5rem;
}

#quickEnquiryForm select,
#quickEnquiryForm input {
  width: 50%;
  padding: 1px;
  margin-bottom: 1px;
  border: 1px solid #ddd;
  font-size: 0.8rem;
  box-sizing: border-box;
  border-radius: 0;
}

#quickEnquiryForm select:focus,
#quickEnquiryForm input:focus {
  border-color: aquamarine;
  outline: none;
  box-shadow: 0 0 5px rgba(0,123,255,0.5);
}

#quickEnquiryForm select:focus { background-color: aquamarine; }

#quickEnquiryForm select option:hover {
  background-color: aquamarine;
  color: #000;
}

#quickEnquiryForm select option:checked {
  background-color: aquamarine;
  color: #fff;
}

/* ── h2 subtitle (below-fold sections) ──────────────── */

h2 .subtitle {
  display: block;
  font-size: 1.7rem;
  color: #888;
  font-style: italic;
  margin: 20px 40px;
}

/* ── Locations ───────────────────────────────────────── */

#locations {
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
  margin-bottom: -30px;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.location-group ul {
  list-style: none;
  padding: 0;
}

.location-group li { margin-bottom: 6px; }

.big { font-size: 1.3rem !important; }

.responsive-map {
  width: 100%;
  max-width: 640px;
  aspect-ratio: 4 / 3;
  height: auto;
  border: 0;
  display: block;
  margin: 0 auto;
  min-height: 450px;
}

/* ── Flower icon (floating CTA) ──────────────────────── */

.flower-icon {
  position: fixed;
  bottom: 3%;
  right: max(1%, calc((100vw - 100%) / 2 + 1%));
  width: 100px;
  height: auto;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.3s, opacity 0.3s;
}

.flower-icon:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

/* ── Footer ──────────────────────────────────────────── */

.site-footer {
  background-color: #d8c7b2;
  padding: 1rem 0;
  text-align: center;
  padding-top: 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  text-align: center;
}

.footer-content p { text-align: center; }

.footer-column {
  flex: 1;
  min-width: 120px;
}

.footer-column h3 {
  color: #333;
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin: 0.3rem 0;
  font-size: 1rem;
}

.footer-column a {
  color: #23363b;
  text-decoration: none;
  font-size: 1rem;
}

.footer-column a:hover,
a:hover { color: #b7fff9; }

.footer-bottom {
  font-size: 1.4rem;
  margin-top: 2.4rem;
  padding-bottom: 1rem;
}

.footer-bottom p, .footer-bottom a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-bottom p {
  color: #23363b;
}

.footer-logo {
  height: 20px;
  width: auto;
  vertical-align: middle;
}

.dark-mode .footer-bottom p { color: #333; }

/* ── Sun icon ────────────────────────────────────────── */

.sun-icon {
  width: 70px;
  align-items: center;
  position: absolute;
  margin-left: 920px;
  margin-top: -60px;
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════ */

@media (min-width: 1201px) {
  .new-button { margin-right: 200px; }
  .dark-mode .menu a { color: #fff; }
}

@media (min-width: 1201px) and (max-width: 1400px) {
  .hero-content h2 { font-size: 2.1rem; }
  .hero-content h3 { font-size: 1.1rem; }
  h2 { font-size: 2.1rem; }
  h3 { font-size: 1.1rem; }
}

@media (max-width: 1200px) {
  
  
  .pc-only {
    display: none!important;
}

  .mobile-only {
    display: grid!important;
}

  .left {
      text-align: left;
  }
    
  h3 { margin-bottom: 10px; }

  .dark-mode .menu a { color: #333; }

  p .button {
    padding: 0.3rem 0.3rem;
    min-width: 8rem;
    max-width: 8rem;
    font-size: 0.7rem;
    margin-top: 10px;
  }

  .new-button {
    gap: 1px;
    font-size: 0.6rem;
    padding: 0.4rem;
    white-space: nowrap;
    margin-right: 0;
    margin-left: 10px;
  }

  .hero-content h2 { margin-left: 0; }
  .hero-content h3 { margin-left: 0; }
  .hero-content .button { font-size: 0.5rem; }

  .hero-content p {
    flex: 0 0 35%;
    line-height: 1.4;
    font-size: 0.8rem;
    margin: 10px 5px;
  }

  .hero-image { flex: 0 0 50%; }

  .hero-image img {
    margin: 0;
    max-height: 550px;
    min-height: 550px;
    max-width: 100%;
    min-width: 100%;
  }

  .description { font-size: 0.8rem; margin: 10px 5px; }

  #locations { background-size: 180%; }

  .footer-content {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 3px;
  }

  .footer-column {
    flex: 1 0 auto;
    max-width: 26%;
    min-width: 26%;
  }

  .footer-column h3    { font-size: 0.9rem; }
  .footer-column ul li { font-size: 0.8rem; }
  .footer-column a     { font-size: 0.8rem; }
}

@media (max-width: 768px) {
  .locations-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .flower-icon { width: 75px; }
}

@media (max-width: 400px) {
  .footer-content {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 3px;
  }

  .footer-column {
    flex: 1 0 auto;
    max-width: 26%;
    min-width: 26%;
  }

  .footer-column h3    { font-size: 0.9rem; }
  .footer-column ul li { font-size: 0.5rem; }
  .footer-column a     { font-size: 0.7rem; }
}

#what-is-ndis-support {
    padding: 80px 0;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.support-item {
    display: block;
    gap: 15px;
    align-items: flex-start;
}

.support-item h4 {
    margin-bottom: 5px;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.proof-item {
    display: block;
    gap: 15px;
    align-items: flex-start;
}

.proof-item h4 {
    margin-bottom: 5px;
}

.check {
    color: #2ecc71;
    font-size: 20px;
    font-weight: bold;
    margin-top: 5px;
}

@media (max-width: 1200px) {
    .support-grid {
        grid-template-columns: 1fr;
    }
.support-item {
    display: flex;
}
    .proof-grid {
        grid-template-columns: 1fr;
    }
.proof-item {
    display: flex;
}
.detail-item {
    margin-left: 10px!important;
}
}

.provider-details {
    margin-top: 25px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    margin-left: 50px;
}

.detail-item .check {
    color: #2ecc71;
    font-weight: bold;
}

.postcode-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.postcode-flowers {
    display: flex;
    gap: 5px;
}

.postcode-flowers img {
    display: inline-block;
}

@media (max-width: 1200px) {
    .full-image {
        height: 140px!important;
        width: 400px!important;
        object-fit: cover!important;
        display: block;
        margin: 0 auto;
    }
}
.full-image {
    height: 600px;
    width: 60%;
    object-fit: fill;
    display: block;
    margin: 0 auto;
}

.styled-form {
  max-width: 800px;
  margin: 20px auto;
  padding: 25px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dark-mode .styled-form {
  background-color: #2c2c2c;
}

.styled-form .form-group {
  margin-bottom: 18px;
}

.styled-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  font-size: 14px;
}

.styled-form input,
.styled-form select,
.styled-form textarea {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.styled-form textarea {
  resize: vertical;
  min-height: 120px;
}

.styled-form button {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: #2f7d32;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.styled-form button:hover {
  background-color: #fff;
  color: #2f7d32;
  border: 2px solid #2f7d32;
}

#loadingMessage {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  font-size: 1.1rem;
  z-index: 1000;
}

#loadingMessage p {
  margin: 0 0 15px 0;
  font-weight: bold;
}

.blurred {
  filter: blur(5px);
  pointer-events: none;
  opacity: 0.5;
}

.contact-section {
  padding: 40px 20px;
  margin-bottom: 40px;
}

.contact-section h2 {
  text-align: center;
  margin-bottom: 20px;
}

.contact-details {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  text-align: center;
}

.contact-details p {
  text-align: center;
}

.contact-details a {
  color: #2f7d32;
  text-decoration: none;
  font-weight: bold;
}

.contact-details a:hover {
  text-decoration: underline;
}

.section-title {
    text-align: left;
    margin-left: 40px;
}

.left-list {
    display: flex;
    justify-content: flex-start;
    margin:0 40px;
}

/* Add to existing buttons */
.button,
.new-button {
  position: relative;
  overflow: hidden;
}

/* 2 sparkle layers */
.button::before,
.button::after,
.new-button::before,
.new-button::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

/* Animate on hover */
.button:hover::before,
.site-title img::before,
.new-button:hover::before {
  animation: sparkle-left 0.7s ease-out;
}

.button:hover::after,
.site-title img::after,
.new-button:hover::after {
  animation: sparkle-right 0.7s ease-out;
}

@keyframes sparkle-left {
  0% { opacity: 1; transform: translate(0,0) scale(1); }
  100% { opacity: 0; transform: translate(-40px,-40px) scale(0.4); }
}

@keyframes sparkle-right {
  0% { opacity: 1; transform: translate(0,0) scale(1); }
  100% { opacity: 0; transform: translate(40px,40px) scale(0.4); }
}





.sparkle-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;

  /* Gold + silver mix */
  background: radial-gradient(circle,
    #fff 0%,
    #ffd700 40%,
    rgba(255,215,0,0.4) 70%,
    transparent 100%
  );

  box-shadow:
    0 0 6px rgba(255,215,0,0.8),
    0 0 12px rgba(255,255,255,0.6);

  animation: sparkle-burst 0.9s ease-out forwards;
}

/* Silver variant */
.sparkle-particle.silver {
  background: radial-gradient(circle,
    #fff 0%,
    #c0c0c0 40%,
    rgba(192,192,192,0.4) 70%,
    transparent 100%
  );

  box-shadow:
    0 0 6px rgba(192,192,192,0.8),
    0 0 12px rgba(255,255,255,0.6);
}

/* Animation */
@keyframes sparkle-burst {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(
      calc(var(--dx) * 80px),
      calc(var(--dy) * 80px)
    ) scale(0.3);
  }
}

/* Allow sparkles outside */
.button,
.new-button,
a,
.event-item,
.flower-icon {
  overflow: visible;
}

.footer-jeiseo-logo {
    width: 90px;
    height: 50px;
    vertical-align: middle;
    margin-bottom: 4px;
    margin-left: -5px;
}

.jeiseo {
    text-decoration: none;
    color: #243c61;
    margin-top: 40px;
}

@media (max-width: 1200px) {
.footer-jeiseo-logo {
    width: 60px;
    height: 33px;
}
}