  :root {
  --accent: #c41a8a;
  --bg: #fff;
  --header-bg: #fff;
  --header-border: #ececec;
  --banner-bg: #f6f8fa;
  --text: #222;
  --heading: #c41a8a;
  --muted: #909090;
  --button-bg: ##c41a8a;
  --button-hover: #c41a8a;
  --button-text: #c41a8a;
}

/* ====== BASE ====== */
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ====== HEADER ====== */
.main-header {
  width: 100%;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  height: 68px;
  position: relative;
}

.header-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 44px;
  width: auto;
  max-width: 180px;
  min-width: 40px;
  display: block;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li { display: flex; align-items: center; }
.nav-list li a {
  text-decoration: none;
  color: #232323;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 8px 6px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  background: transparent;
}
.nav-list li a:hover,
.nav-list li a:focus {
  background: #f3f4f7;
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
  color: var(--heading);
}


.banner {
  position: relative;
  width: 100%;
  margin-top: 0;
  aspect-ratio: 16 / 5; /* Optional, for consistent shape */
  min-height: 150px;
  max-height: 350px;
  overflow: hidden;
  background: var(--banner-bg, #f6f8fa);
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  /* Optional: fade effect for overlay */
  /* opacity: 0.7; */
}

.banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  color: #222; /* or var(--heading) */
  padding: 2rem 1rem;
}

@media (max-width: 800px) {
  .banner {
    max-width: 100vw;
    min-height: 120px;
    max-height: 200px;
    aspect-ratio: 16/9;
    padding: 0;
  }
  .banner-content {
    padding: 1.2rem 0.3rem;
    font-size: 1rem;
  }
}



/* --- Responsive: Mobile --- */
@media (max-width: 800px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    width: 100vw;
    max-width: 100vw;
    background: var(--header-bg);
    box-shadow: 0 6px 28px rgba(0,0,0,0.10);
    z-index: 109;
    padding: 1.3rem 0 2rem 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    flex-direction: column;
    align-items: center;
  }
  .main-nav.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle {
    display: block;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 110;
  }
    .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  .nav-list li {
    width: 100%;
    justify-content: center;
  }
  .nav-list li a {
    width: 100%;
    display: block;
    text-align: center;
    padding: 1rem 0.5rem;
  }
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0.8rem;
    text-align: center;
    position: relative;
    height: 56px;
  }
}
@media (min-width: 801px) {
  .nav-toggle {
    display: none;
  }
}

/* ====== PAGE LAYOUT ====== */
.entry-content {
  max-width: 1100px;
  margin: 2.5rem auto 2rem auto;
  padding: 1.4rem 1.3rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(36, 113, 163, 0.06);
  color: var(--heading);
}

.entry-content h1, 
.entry-content h2, 
.entry-content h3, 
.entry-content h4, 
.entry-content h5 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--heading);
  margin-top: 2.2rem;
  margin-bottom: 1rem;
  line-height: 1.15;
  text-align: center;
  letter-spacing: 0.5px;
}
.entry-content h1 { font-size: 2.2rem; }
.entry-content h2 { font-size: 1.6rem; }
.entry-content h3 { font-size: 1.25rem; }
.entry-content h4, .entry-content h5 { font-size: 1.1rem; }

.entry-content p {
  margin: 1.2rem 0;
  margin-bottom: 0;
  color: var(--text, #222);
  line-height: 1.7;
  font-size: 1.08rem;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.7rem;
  margin: 1.1rem 0;
  color: var(--text, #222);
}

.entry-content ul li,
.entry-content ol li {
  margin-bottom: 0.55rem;
  font-size: 1.08rem;
  line-height: 1.6;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.6rem auto;
  margin-top: 0;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(36,113,163,0.09);
  object-fit: cover;
}

.entry-content a {
  color: var(--accent, #2471a3);
  text-decoration: underline;
  transition: color 0.16s;
}
.entry-content a:hover,
.entry-content a:focus {
  color: var(--button-hover, #185281);
  text-decoration: none;
}

.entry-content blockquote {
  border-left: 4px solid var(--accent, #2471a3);
  padding-left: 1.2rem;
  margin: 1.4rem 0;
  color: #4a4a4a;
  background: #f8fafc;
  font-style: italic;
  font-size: 1.07rem;
}

.entry-content hr {
  border: none;
  border-top: 1px solid #ececec;
  margin: 2.2rem 0;
}

@media (max-width: 800px) {
  .entry-content img {
    margin: 1.2rem 0;
    border-radius: 7px;
  }
  .entry-content h1,
  .entry-content h2 {
    margin-top: 0.25rem !important;
    margin-bottom: 0.8rem;
  }
  .entry-content h1 { font-size: 1.45rem; }
  .entry-content h2 { font-size: 1.22rem; }
  .entry-content h3 { font-size: 1.09rem; }
  .main-header,
  .main-footer {
    padding-left: 2vw;
    padding-right: 2vw;
  }
}

.section.services {
  display: grid;
  margin: 0 auto; /* centers the whole block */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1100px;
  padding: 2rem 1rem;
  flex-wrap: wrap;
  justify-content: center; /* center cards horizontally */
  gap: 2rem; /* spacing between cards */
}

.card {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 1rem;
  overflow: hidden;
  min-height: 300px;
  width: 100%;
  flex: 1 1 300px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.card-overlay {
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: center;
  box-sizing: border-box;
}

.card-overlay h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  text-align: center;
}

.card-overlay p {
  margin: 0 0 1rem 0;
  font-size: 1rem;
  text-align: center;
}

.cta-button {
  padding: 0.5rem 1rem;
  background: #ff009e;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  align-self: center;
  transition: background 0.2s ease;
}

.cta-button:hover {
  background: #e6008f;
}

.video-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  padding: 2rem 1rem;
  max-width: 1100px;
  margin: 0 auto; /* centers the whole block */
}

.video-responsive {
  flex: 1 1 300px;
  max-width: 100%;
  overflow: hidden;
  border-radius: 1rem;
}

.video-responsive video {
  height: 500px;
  width: 100%;
  object-fit: cover;
  border-radius: 1rem;
}
.home-testimonial {
  font-style: italic;
  margin-bottom: 1rem;
}
/* Responsive: stack vertically on small screens */
@media (max-width: 700px) {
  .video-row {
    flex-direction: column;
    gap: 1rem;
  }
  .video-responsive {
    max-width: 98vw;
    min-width: 0;
  }
}

.button-center {
  text-align: center;
  margin: 2rem 0;
}

.btn-custom {
  display: inline-block;
  padding: 0.78em 2.2em;
  background: var(--accent, #2471a3);
  color: #fff !important;
  border: none;
  border-radius: 6px;
  font-size: 1.08rem;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 2px 12px rgba(36,113,163,0.08);
  transition: background 0.18s, box-shadow 0.14s;
  cursor: pointer;
}

.btn-custom:hover,
.btn-custom:focus {
  background: var(--button-hover, #185281);
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 4px 20px rgba(36,113,163,0.13);
}

.about-headshot-float {
  float: right;
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 0 1.2rem 2rem;     /* space under and to the left */
  box-shadow: 0 2px 10px rgba(36, 113, 163, 0.09);
  shape-outside: circle();     /* enables text to wrap around the circle, not just a square */
}

/* Responsive: stack under text on mobile */
@media (max-width: 700px) {
  .about-headshot-float {
    float: none;
    display: block;
    margin: 0 auto 1rem auto;
    shape-outside: none;
  }
}

@media (max-width: 800px) {
  .entry-content {
    padding: 1rem 5vw !important;
    box-shadow: none;
    border-radius: 0;
    max-width: 100vw;
  }
  .page-title {
    font-size: 1.5rem;
    margin-top: 0.8rem;
  }
  .container {
    padding-left: 5vw !important;
    padding-right: 5vw !important;
    box-sizing: border-box;
  }
  .entry-content p {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Container */
.wpcf7 {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* Labels */
.wpcf7 label {
  display: block;
  font-weight: 500;
  color: #222;
  margin-bottom: 0.5rem;
}

/* Text Inputs, Email, Tel, Textarea, Select */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.4;
  color: #222;
  background: #f9f9f9;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  outline: none;
  border-color: #ff009e; /* Your accent colour */
  background: #fff;
}

/* Submit Button */
.wpcf7 input[type="submit"] {
  background: #ff009e; /* Accent colour */
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.wpcf7 input[type="submit"]:hover {
  background: #e6008b; /* Slightly darker accent */
}

/* Error & Success Messages */
.wpcf7-response-output {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
}

.wpcf7 form.invalid .wpcf7-response-output {
  background: #ffe6e6;
  border: 1px solid #ff6b6b;
  color: #a60000;
}

.wpcf7 form.sent .wpcf7-response-output {
  background: #e6ffe6;
  border: 1px solid #4caf50;
  color: #1b5e20;
}

/* Prevent right-edge overflow on CF7 inputs */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 input[type="file"],
.wpcf7 textarea,
.wpcf7 select {
  box-sizing: border-box;   /* include padding + border inside width */
  width: 100%;
  max-width: 100%;
  display: block;           /* avoid inline quirks */
}

/* iOS/Safari quirks */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select {
  -webkit-appearance: none;
  appearance: none;
}

/* CF7 wrap sometimes introduces tiny overflow; keep it tidy */
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  max-width: 100%;
  overflow: visible;
}

/* ====== FOOTER (Testimonials & Info) ====== */
.main-footer {
  width: 100%;
  background: #fff;
  border-top: 1px solid #ececec;
  padding: 1.2rem 0 1rem 0;
  font-size: 1rem;
  color: var(--muted);
}

/* Testimonials */
.footer-testimonials {
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto 1.5rem auto;
  text-align: left;
}
.footer-testimonials h4 {
  margin-bottom: 0.9rem;
  font-size: 1.13rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.2px;
  text-align: left;
}
.testimonial-grid {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
.testimonial {
  background: none;
  border-radius: 0;
  box-shadow: none;
  font-size: 0.75rem;
  text-align: left;
  max-width: 450px;
  min-width: 150px;
  flex: 1 1 170px;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.testimonial-author {
  margin-top: 0.5rem;
  margin-right: 3rem;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.85rem;
  text-align: right;
  font-style: normal;
}
@media (max-width: 800px) {
  .footer-testimonials {
    max-width: 98vw;
    padding: 0 2vw;
  }
  .testimonial-grid {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .testimonial {
    max-width: 96vw;
    width: 100%;
  }
}

/* Footer Info Section */

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-logo .logo-img {
  height: 34px;
  width: auto;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(34,34,34,0.06);
  transition: box-shadow 0.15s;
}
.footer-logo:hover .logo-img,
.footer-logo:focus .logo-img {
  box-shadow: 0 2px 8px rgba(36,113,163,0.15);
}
.footer-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2em;
  margin-left: 3rem;
}
.footer-inner {
  display: flex;
  align-items: center;       /* Vertical center */
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4rem;
}

.footer-icon {
  width: auto;
  height: 35px;
  fill: #232323;
  display: inline-block;
  transition: fill;
  vertical-align: middle;
}

.footer-socials a:hover .footer-icon,
.footer-socials a:focus .footer-icon {
  fill: #2471a3;
}
.footer-ndis {
  display: flex;
  align-items: center;
  margin-left: 0;         /* Remove auto if you want it just next to SVGs */
}
.ndis-logo {
  height: 35px;
  width: auto;
  display: flex;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(34,34,34,0.05);
  background: #fff;
  margin-left: 3rem;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  margin-right: 2rem;
}
.footer-links a {
  color: #2471a3;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.16s;
}
.footer-links a:hover {
  color: #185281;
  text-decoration: underline;
}
.footer-copyright {
  flex: 1 1 auto;
  text-align: center;
  color: var(--muted);
  font-size: 0.75rem;
  min-width: 120px;
  line-height: 0.25;
}

@media (max-width: 800px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    text-align: center;
    padding: 1rem 0.8rem;
  }
  .main-footer,
  .footer-inner {
    padding-left: 4vw;
    padding-right: 4vw;
    box-sizing: border-box
  }
  .footer-ndis,
  .footer-logo,
  .footer-socials {
    justify-content: center;
    width: 100%;
    margin: 0.7rem 0;
  }
  .footer-copyright { order: 2; margin-top: 0.8rem; width: 100%; }
}

/* ====== FORMS & WIDGETS ====== */
.client-login-page {
  max-width: 460px;
  margin: 0 auto;
  padding: 2.8rem 1.2rem;
}
.login-hero {
  text-align: center;
  margin-bottom: 2rem;
}
.login-hero h1 {
  margin-bottom: 0.4rem;
}
.login-widget {
  background: #ffe1ec;
  border-radius: 10px;
  padding: 2rem 1.2rem;
  box-shadow: 0 2px 14px rgba(36, 113, 163, 0.05);
  min-height: 140px;
}

/* ====== IFRAME CONTAINERS ====== */
.custom-bookings-content iframe,
.responsive-iframe-container iframe {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  width: 100% !important;
  min-height: 1100px !important;
  background: transparent;
}
.responsive-iframe-container {
  position: relative;
  width: 100%;
  min-height: 1100px;
  height: auto;
  overflow: hidden;
}
@media (max-width: 800px) {
  .custom-bookings-content iframe {
    min-height: 1850px !important;
  }
}