/* Color Palette */
:root {
  /* Primary Brand Blues */
  --color-primary-dark: #0B5394; /* Deep Trust Blue - info strip, headers, primary buttons */
  --color-primary: #1E88C7; /* Bright Sky Blue - hover states, links, active nav */
  --color-primary-pale: #E8F4FB; /* Pale Ice Blue - alternating section backgrounds */

  /* Accents */
  --color-accent-green: #2FBF71; /* Fresh Green - CTA buttons, success/confirmed states */
  --color-accent-gold: #F4A825; /* Warm Gold - star ratings, badges, phone number highlight */

  /* Neutrals */
  --color-text-primary: #1A2B3C;   /* Charcoal Navy - body text */
  --color-text-secondary: #5A6B7A; /* Slate Grey - captions, secondary text */
  --color-bg: #F7F9FA;             /* Off-White - main page background */
  --color-bg-white: #FFFFFF;       /* Pure White - cards, contrast panels */
  --color-border: #DCE3E8;         /* Light Border Grey - dividers, input borders */
}
/* General Styles */
html, body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  box-sizing: border-box;
  background-color: var(--color-bg);
}
/*:root {
  --header-info-gap: 60px
}*/
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  font-family: 'Poppins', sans-serif;
}
h1 {
  text-align: center;
}
h3 {
  text-align: center;
}
h2 {
  text-align: center;
}
/* Header Styles */
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  /* Sticky Bar Styles */
  position: fixed;
  top: 51px; /* back to 0 since info strip is no longer inside it */
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--color-bg-white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 10px 40px 0 40px;
}
/* #navigation-links {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
} */
/* Hero Section Styles */
.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;     /* vertical centre */
  justify-content: center; /* horizontal centre */
  flex: 1;
}
.hero-heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* dark overlay so white text is readable */
  z-index: 0;
}
.hero-card {
  position: relative;
  z-index: 1;
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 2rem;
  text-align: center;
  width: 100%;
  max-width: 900px;
  /* make sure these are completely removed */
  transform: none;
  top: auto;
  align-items: flex-start;
  padding-top: 9rem;
  margin-left: auto;
  margin-right: auto;
}
.slideshow-container {
  position: relative;
  width: 100vw;
  left: 50%;
  padding: 0;
  transform: translateX(-50%);
  overflow: hidden;
  margin-top: -83px;
}
.numbertext {
  margin-left: 30px;
}
/* Our Work page - Gallery Slideshow Styles */
.our-work-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0 60px;
}

.our-work-page .slideshow-container {
  position: relative;
}

.workSlides {
  display: none;
}

.workSlides img {
  width: 100%;
  height: 650px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.workSlides .numbertext {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 14px;
}

.workSlides .text {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: fit-content;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 12px 16px;
  font-size: 16px;
  box-sizing: border-box;
  border-radius: 4px 4px 0 0;
  transform: translateX(-50%);
}

.our-work-page .slideshow-controls .prev,
.our-work-page .slideshow-controls .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 8px 14px;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s;
}

.our-work-page .slideshow-controls .prev {
  left: 16px;
}

.our-work-page .slideshow-controls .next {
  right: 16px;
}

.our-work-page .slideshow-controls .prev:hover,
.our-work-page .slideshow-controls .next:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
  .workSlides img {
    height: 320px;
  }
}
.our-work-page .slideshow-container {
  margin-top: 40px;
}
.mySlides {
  display: none;
  position: relative;
  width: 100%;
}
.mySlides img {
  width: auto;
  max-width: 800px;
  height: 420px;
  display: block;
  object-fit: cover;
  margin: 0 auto;
}
.mySlides.active {
  display: flex;
  flex-direction: column;
}
.hero-card h1 {
  font-size: 2.5rem;
  color: white;
}
.hero-card p {
  font-size: 1.1rem;
  color: white;
}
.hero-card .hero-heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
/* .fade {
  /* animation: fade 1s ease-in-out;
} */
.hero-cta {
  display: inline-block;
  margin-top: 1.5rem;
  background: var(--color-accent-green);
  color: var(--color-bg-white);
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}
.hero-cta:hover {
  background: #26a862; /* darker shade of accent green for hover */
}
.prev,
.next {
  border: none;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  cursor: pointer;
  padding: 0.75rem 1rem;
  border-radius: 50%;
}
.prev:hover,
.next:hover {
  background-color: #111;
  color: #fff;
}
.our-work-page .prev:hover,
.our-work-page .next:hover {
  background-color: #111;
  color: #fff;
}
.prev {
  position: absolute;
  left: 20px;
  top: 50%;
}
.next {
  position: absolute;
  right: 20px;
  top: 50%;
}
.our-work-page .prev,
.our-work-page .next {
  border: none;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  cursor: pointer;
  padding: 0.75rem 1rem;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.our-work-page .prev {
  left: 20px;
}
.our-work-page .next {
  right: 20px;
}
.text {
  text-align: center;
  padding: 30px;
}
@keyframes fade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}
@media (max-width: 768px) {
  .hero {
    align-items: center;
    justify-content: center;
  }
  .hero-card {
    max-width: 100%;
    padding: 2rem;
  }
  .prev,
  .next {
    top: 50%;
    transform: translateY(-50%);
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    z-index: 10;
  }
  .prev {
    left: 8px;
  }
  .next {
    right: 8px;
  }
}
/* Hero Animation Styles */
/* Headline & paragraph: fade in from left, fade out to right */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeOutRight {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(40px); }
}

/* CTA button: fade in from bottom, fade out on top */
@keyframes fadeInBottom {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeOutTop {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-30px); }
}

/* Hero photo: simple fade in/out */
@keyframes imgFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes imgFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.anim-in-left { animation: fadeInLeft 0.6s ease-out forwards; }
.anim-out-right { animation: fadeOutRight 0.5s ease-in forwards; }

.anim-in-bottom { animation: fadeInBottom 0.6s ease-out forwards; }
.anim-out-top { animation: fadeOutTop 0.5s ease-in forwards; }

.anim-img-in { animation: imgFadeIn 0.8s ease-out forwards; }
.anim-img-out { animation: imgFadeOut 0.5s ease-in forwards; }

.hero-card h1,
.hero-card p,
.hero-cta {
  opacity: 0; /* hidden until JS adds an animation class */
}
/* Info Strip Styles */
.info-strip {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  background-color: var(--color-primary-dark);
  z-index: 1002;
  padding: 10px;

}
.contact-info {
  display: flex;
  gap: 50px;
  align-items: center;
  flex-wrap: wrap;
  margin-left: 20px;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}
.contact-info a {
  text-decoration: none;
  color: var(--color-bg-white);
}
.telephone-icon,
.email-icon {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  display: inline-block;
  background-color: var(--color-accent-gold);
}
.telephone-icon {
  -webkit-mask: url('telephone.png') center / contain no-repeat;
  mask: url('telephone.png') center / contain no-repeat;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}
.email-icon {
  -webkit-mask: url('email.png') center / contain no-repeat;
  mask: url('email.png') center / contain no-repeat;
  -webkit-mask-code: alpha;
  -mask-mode: alpha;
}

.social-media-follow-links {
  position: static;
  display: flex;
  align-items: center;
  gap: 40px;
  margin-right: 30px;
  transform: translateY(5px);
}
@media (max-width: 768px) {
  .info-strip {
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }
  .social-media-follow-links {
    width: 100%;
    justify-content: center;
  }
}
/* Navigation Bar Styles */
/* #navigation-links {
  position: fixed;
  top: 0;
  width: 100%;
} */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin: -5px auto 0;
}
.nav-links a {
  white-space: nowrap; /* prevents the link text from wrapping to multiple lines */
  text-decoration: none;
  color: var(--color-text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0px 0; /* height control for the links */
  min-height: 48px; /* optional fixed minimum height */
  /* text-decoration: none;
  color: black;
  font-weight: 600;
  padding: 8px 12px; */
}
.nav-bar-inner {
  display: flex;
  align-items: center;
  gap: 30px;
}
/* Dedicated styles for the 'Services' link */
.nav-item {
  position: relative;
}
/* Call-to-action 'Book a Service' Button Styles */
.btn-book-service {
  background-color: var(--color-accent-green);
  color: var(--color-bg-white);
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
  transform: translateY(-5px);
}
.btn-book-service:hover {
  background-color: #26a862;
/*  transform: translateY(-1px); */
}
.nav-links > a:last-child {
  margin-right: 32px;
}
/* NavBar Dropdown Menu Styles */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #f9f9f9;
  min-width: 200px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
  z-index: 1;
  flex-direction: column;
  text-align: left;
}
.dropdown-menu a {
  color: var(--color-text-primary);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
.dropdown-menu a:hover {
  background-color: #f0f0f0;
}
.dropdown-menu hr {
  margin: 6px 0;
  border: 0;
  border-top: 1px solid #ddd;
}
.dropdown-menu .house-clearance {
  font-weight: 600;
 /* color: #0070f3; */
}
.dropdown-menu .house-clearance:hover {
  background-color: #f0f0f0;
}
.dropdown-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
}
.nav-item:hover .dropdown-menu {
  display: flex;
}
/* Hamburger Menu Styles */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  align-self: flex-start; /* pulls it up to align with the top of the nav row */
  margin-top: -100px; /* fine-tune upward nudge, adjust as needed */
  align-self: center;
}
@media (max-width: 768px) {
  .header {
    padding: 8px 12px 0;
  }

  .social-media-follow-links {
    position: static;
    margin-bottom: 10px;
    gap: 20px;
    display: none;
  }

  .contact-info {
    display: none;
  }
  
  #navigation-links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 16px;
  }
  .menu-toggle {
    display: block;
    margin-top: -40px;
    margin-right: 15px;
  }
  .btn-book-service {
    display: none;
  }
  .nav-bar-inner {
    display: flex;
    flex-direction: row; /* or keep as row if you want logo + button side by side */
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .nav-bar-inner img {
    transform: translateY(-10px);
  }
  .nav-bar-inner .nav-links {
    position: absolute; /* Pulls it out of the row */
    top: 140%; /* places it directly below the header */
    left: 0;
    background-color: #fff;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 999;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    align-self: flex-start;
    margin-top: -60px;
    padding-bottom: 5px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center; /* keeps "Services" centred even as dropdown expands below it */
  }
  .dropdown-menu {
    display: none;
    position: static; /* removes floating behaviour, becomes part of normal flow */
    box-shadow: none;
    min-width: 100%;
    background-color: transparent;
    padding-left: 20px;   /* slight indent so it's visually nested under "Services" */
    flex-direction: column;
    text-align: center;
  }
  .nav-item .dropdown-menu.open {
    display: flex !important;
  }
  .nav-item:hover .dropdown-menu {
    display: none; /* disable hover-trigger on mobile, since hover doesn't really work on touch */
  }
  .dropdown-toggle {
    background: none;
    border: none;
    font-size: 14px;
    margin-left: 8px;
    cursor: pointer;
    display: block;
  }
  .services-link-row {
    display: flex;
    align-items: center;
    gap: 6px; /* small space between "Services" text and the arrow */
  }
}
/* Body Styles */
.body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  font-family: 'Poppins', sans-serif;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

main {
  padding-top: 180px;
}
.about-why-choose-us ul,
.about-values ul {
  display: inline-block;
  text-align: left;
  margin: 0 auto;
}

.about-why-choose-us,
.about-values {
  text-align: center;
}

/* Terms of Service Styles */
.terms-page {
  padding: 0 40px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.terms-page p {
  text-align: left;
  margin: 0 0 20px;
 /* margin-left: 0;
  margin-right: 0; */
}
.terms-page .legal-content > p:first-of-type,
.terms-page .legal-content > p:first-of-type + p {
  text-align: center !important;
}
.terms-page h1,
.terms-page h2,
.terms-page h3 {
  text-align: center;
}
/* Privacy Policy Styles */
.body .privacy-policy {
  max-width: 800px;       /* Limits the width of the privacy policy text */
  margin: 0 auto;          /* Centres the privacy policy text */
}

/* Contact Form Styles */
.contact-form {
    margin: 40px auto;
    padding: 20px;
}
/* TABLET */
@media (max-width: 1024px) and (min-width: 769px) {
  .contact-form {
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }
  .form-group input,
  .form-group select {
    width: 100%;
  }
  .form-group textarea {
    width: 100%;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
/* Last Updated Styles */
.last-updated {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  margin: 0 auto;
}
.last-updated h2 {
  margin: 0;
  flex-shrink: 0;
}
.last-updated p {
    margin: 0;
    font-size: 22px;
}
/* Stub / Coming Soon Page Styles */
.stub-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}
.stub-coming-soon {
  text-align: center;
  padding: 100px 0 60px;
}
.stub-coming-soon h1 {
  margin-bottom: 16px;
}
.stub-subtitle {
  max-width: 560px;
  margin: 0 auto 32px;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.6;
}
.stub-coming-soon .services-cta-btn {
  background-color: #0a7d3f; /* #0058c2 */
  color: #fff;
}
.stub-coming-soon .services-cta-btn:hover {
  background-color: #085f30; /* #0058c2 */
}
.stub-related {
  padding: 40px 0 80px;
  text-align: center;
}
.stub-related h2 {
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .stub-coming-soon {
    padding: 60px 0 40px;
  }
  .stub-related .related-services-links {
    grid-template-columns: 1fr;
  }
}
/* Legal Content Styles */
.legal-content {
  max-width: 800px;
  line-height: 1.6;
  margin: 0 auto;
  padding: 2rem 1rem;
}
.legal-content h1 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}
.legal-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}
.legal-content h3{
  font-weight: 600;
  font-size: 1.2rem;
}
.legal-content p {
  margin-bottom: 1rem;
}
/* Input field styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .legal-content ul {
    padding: 1rem;
  }
  .terms-of-service .legal-content ul {
    padding-right: 5rem;
  }
}
/* Services List Styles */
#services-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1160px;
    margin: 0 auto;
}

.service-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.service-card-img-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3; /* consistent height across all cards */
    overflow: hidden;
}

.service-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-img-wrapper img {
    transform: scale(1.04); /* subtle zoom on hover */
}


.service-card-label {
    padding: 16px;
    text-align: left;
}

.service-card-label h3 {
    margin: 0 0 6px 0;
    font-size: 1rem;
    text-align: center;
}

.service-card-label p {
    margin: 0;
    font-size: 0.875rem;
    color: #555;
    line-height: 1.5;
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    #services-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    #services-list {
        grid-template-columns: 1fr;
    }
}
/* Welcome Section Styles */
.welcome-section {
    text-align: center;
    max-width: 1500px;
    margin: 0 auto;
}
.welcome-text-title {
    padding-top: 50px;
    padding-bottom: 30px;
}
.welcome-section h3 {
    margin-bottom: 40px;
}
.welcome-text {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 30px;
}
.welcome-section p {
    line-height: 1.6;
}
.welcome-section p:first-of-type {
    margin: 0 auto 20px auto;
    width: 1200px;
    max-width: 100%;
}
.welcome-section p:nth-of-type(2) {
    margin: 0 auto 20px auto;
    width: 1200px;
    max-width: 100%;
}
.welcome-section p:nth-of-type(3) {
    margin: 0 auto 20px auto;
    width: 671.22px;
    max-width: 100%;
}
/* Why Choose Us Section Styles */
.why-choose-us-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
  box-sizing: border-box;
}

.why-choose-us-section h3,
.why-choose-us-section h2 {
  padding-bottom: 40px;
}

.checklist {
  list-style: none;
  padding: 0 0 40px 0;
  margin: 0;
  max-width: 100%;
  width: 100%;
  text-align: left;
}

/* DESKTOP default */
.checklist li {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 8px;
  row-gap: 4px;
  margin-bottom: 18px;
  line-height: 1.6;
  align-items: start;
}

.checklist li strong {
  display: block;
  white-space: nowrap;
  transform: translateY(3.5px);
}

.checklist li p {
  margin: 0;
  overflow-wrap: anywhere;
}

/* DESKTOP only — nowrap on paragraph, must come BEFORE tablet query */
@media (min-width: 1400px) {
  .checklist li p {
    white-space: nowrap;
  }
}

/* TABLET */
@media (max-width: 1024px) and (min-width: 769px) {
  .checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 24px 40px 24px;
    box-sizing: border-box;
  }
  .why-choose-us-section {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .checklist li {
    grid-template-columns: 1fr;
    gap: 6px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 16px;
    border: 1px solid #eee;
    border-radius: 8px;
  }
  .checklist li strong {
    white-space: normal;
    display: block;
    transform: none;
    font-size: 1rem;
  }
  .checklist li p {
    white-space: normal;
    margin: 0;
    overflow-wrap: anywhere;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .why-choose-us-section {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
  }
  .checklist {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px 40px 16px;
    box-sizing: border-box;
  }
  .checklist li {
    grid-template-columns: 1fr;
    gap: 6px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  .checklist li strong {
    white-space: normal;
    display: block;
    transform: none;
  }
  .checklist li p {
    white-space: normal;
    margin: 0;
    overflow-wrap: anywhere;
  }
}
/* Services Section Styles */
.services-section {
    max-width: 1500px;
    margin: 0 auto;
    text-align: center;
}
#services-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 items per row */
    gap: 32px;
    width: 1160px;
    max-width: 100%;
    margin: 0 auto; /* centres the grid on the page */
}
.link-to-house-clearance-page {
  padding-top: 20px;
}
/* Each service page styles */
.grid-container {
  list-style-type: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto;
  justify-content: center;
  justify-items: start;
  align-items: start;
  grid-auto-flow: row;
  gap: 1em;
  max-width: 1350px;
  margin: 0 auto;
}
@media (max-width: 1024px) and (min-width: 769px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5em;
    padding: 0 24px;
  }
}
/* .grid-container h3 {
  text-align: left;
  transform: translateX(20px);
} */
.why-choose-us-list h3 strong {
  white-space: nowrap; /* prevents the text from wrapping to the next line */
  display: inline-block; /* ensures the strong element behaves like an inline block for proper alignment */
}
.service-pages h1 {
  text-align: center;
  transform: translateY(-60px); /* nudge title up visually without affecting document flow */
}
.service-pages h2 {
  text-align: center;
  transform: translateX(20px);
}
.service-pages h3 {
  text-align: center;
}
/*.background-around-title {
  padding: 120px 0;
} */
.why-choose-us-list {
  list-style-type: none;
  text-align: center;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto;
  justify-content: center;
  justify-items: center;
  align-items: start;
  grid-auto-flow: row;
  gap: 1em;
  max-width: 1350px; /* roughly caps width on large screens like your old 650+650+gap did */
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .why-choose-us-list {
    grid-template-columns: 1fr;
    gap: 1.5em;
  }
}
.how-it-works h3 {
  transform: translateX(15px);
}
.process {
  list-style-type: none;
}
.process h4 {
  text-align: center;
}
@media (max-width: 768px) {
  /* What's included grid */
  .grid-container {
    grid-template-columns: 1fr; /* single column, stacks vertically */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 0 16px;
  }
  /* Why Choose Us grid on service pages */
  .why-choose-us-list {
    grid-template-columns: 1fr; /* single column, stacks vertically */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 0 16px;
  }
  /* Make sure text doesn't overflow */
  .grid-container li,
  .why-choose-us-list li {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: break-word;
  }
}
/* Call-to-action button on service pages header styles */
.background-around-title {
  box-sizing: border-box;
  padding-top: 80px;
  height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--color-primary-dark);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}
.background-around-title h1 {
  color: #fff;
}
.services-cta-btn {
    display: inline-block;
    margin: 0 auto;
    background-color: #0a7d3f;
    color: #fff;
    padding: 14px 32px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.2s, color 0.2s;
}

.services-cta-btn:hover {
    background-color: #085f30;
    color: white;
}
/* Homepage Customer Testimonials Styles */
.customer-testimonials-section {
  padding: 60px 20px;
  background: #f7f7f7;
}

.testimonials-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: center;
}

/* Left panel */
.testimonials-rating-banner {
  flex: 0 0 30%;
  text-align: center;
  padding: 20px;
}

.rating-score {
  font-family: 'Poppins', sans-serif;
  font-size: 42px;
  font-weight: 600;
  color: #222;
}

.rating-stars {
  color: #FFB400;
  font-size: 22px;
  margin: 6px 0;
}

.rating-count {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.rating-link {
  font-size: 14px;
  text-decoration: underline;
  color: #0a7d3f; /* swap for your brand colour */
}

/* Right panel - carousel */
.testimonial-carousel-panel {
  flex: 1;
  overflow: hidden;
  min-width: 0; /* Prevents flex from overflowing */
}

.testimonials-track {
  display: flex;
  transition: transform 0.4s ease;
}

.testimonial-card {
  flex: 0 0 100%;
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  min-width: 0;
}

.testimonial-stars {
  color: #FFB400;
  font-size: 18px;
  margin-bottom: 12px;
}

.testimonial-quote {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 16px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.testimonial-author {
  font-weight: 600;
  font-size: 14px;
}

/* Nav controls */
.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}

.testimonial-btn {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 16px;
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
}

.testimonial-dot.active {
  background: #0a7d3f;
}
/* Mobile: stack */
@media (max-width: 768px) {
  .testimonials-container {
      flex-direction: column;
      width: 100%;
      padding: 0;
  }

  .testimonials-rating-banner {
      flex: none;
      width: 100%;
  }

  .testimonial-carousel-panel {
      flex: none;
      width: 100%;
      max-width: 100%;
      min-width: 0;
      position: relative;
  }

  .testimonials-track {
      width: 100%;
  }

  .testimonial-card {
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
  }

  /* Buttons overlaid on card sides */
  .testimonials-nav {
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      transform: translateY(-50%);
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 8px;
      pointer-events: none;
      z-index: 2;
      margin-top: 0;
  }

  .testimonial-dots {
      display: none;
  }

  .testimonial-btn {
      pointer-events: all;
      flex-shrink: 0;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.9);
      border: none;
      box-shadow: 0 2px 6px rgba(0,0,0,0.15);
      cursor: pointer;
      font-size: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
  }
}
/* Tab Switcher Styles */
.tab-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.tab-btn {
    background: none;
    border: 2px solid #333;
    border-radius: 5px;
    padding: 10px 24px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: background-color 0.2s, color 0.2s;
}

.tab-btn.active {
    background-color: #333;
    color: white;
}

.tab-btn:hover:not(.active) {
    background-color: #f0f0f0;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}
/* Related Services Section Styles */
.related-services-links {
  list-style-type: none;
  display: grid;
  grid-template-columns: repeat(3, auto); 
  grid-template-rows: auto; 
  justify-content: center; 
  justify-items: start; 
  align-items: start;
  grid-auto-flow: row;
  gap: 24px;
}
.related-services-links li h4 {
  text-align: center;
}
.related-services-links li a {
  display: block;
  text-align: center;
}
@media (min-width: 769px) and (max-width: 1024px) {
  .related-services-links li h4 {
    transform: translateX(-20px);
  }
  .related-services-links li a {
    transform: translateX(-20px);
  }
  .related-services-links li p {
    transform: translateX(-20px);
  }
}
/* Floating Button Styles */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: auto;
  display: flex;
  flex-direction: row;
  gap: 12px;
  z-index: 9999;
}
.float-btn {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.float_btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.whatsapp-btn {
  background-color: #25D366;
  position: fixed;
  bottom: 50px;
  right: 50px;
  width: 75px;
  height: 75px;
}
.whatsapp-btn img {
  position: relative;
  top: 0px;
  left: 0px;
  filter: invert(1) brightness(1.2);
  width: 45px;
  height: 45px;
}
.phone-btn {
  background-color: #03000081;
  position: fixed;
  bottom: 50px;
  right: auto;
  transform: translateX(20px);
  width: 75px;
  height: 75px;
}
.phone-btn img {
  position: relative;
  top: 0px;
  left: 0px;
  width: 45px;
  height: 45px;
}
@media (max-width: 768px) {
  .floating-buttons {
    right: 16px;
    left: auto;
  }
  .phone-btn {
    left: 10px;
    right: auto;
    position: fixed;
    width: 50px;
    height: 50px;
  }
  .phone-btn img {
    width: 30px;
    height: 30px;
  }
  .whatsapp-btn {
    left: auto;
    right: 30px;
    position: fixed;
    width: 50px;
    height: 50px;
  }
  .whatsapp-btn img {
    width: 30px;
    height: 30px;
  }
}
/* Each service item (card) styles (To be centred and the icon and text aligned to the left) */
.service-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* aligns icon and text to the left within each card */
    text-align: left;
    padding: 16px;
    border-radius: 8px;
}
.service-item h3 {
  text-align: left;
}
.icon {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
    /* object-fit: contain; */ /* ensures the icon fits within the specified dimensions without distortion */
}
.service-item h3 {
    margin: 0 0 6px 0;
}
.brief_service_description {
    text-align: left;
    width: 100%;
    margin-top: 0;
    margin-bottom: 12px;
    /* align-self: stretch; */ /* makes the description take up the full width of the card */
}
.services-section .service-item .brief_service_description {
    text-align: left !important;
    width: 100%;
    margin-left: 0;
}
.why-choose-us {
  margin-top: 70px;
  margin-bottom: 70px;
}
.how-it-works {
  margin-bottom: 70px;
  margin-top: 70px;
}
.second-list {
  margin-top: 90px;
}
/* Contact Form Styles */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;

}
.form-group label[for="firstname"] {
    font-weight: 600;
    margin-bottom: 8px;
}
.form-group label[for="surname"] {
    font-weight: 600;
    margin-bottom: 8px;
}
.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
}
.form-group label[for="service"] {
    font-weight: 600;
    margin-bottom: 8px;
}
.form-group label[for="message"] {
    width: 300px;
}
.form-group input,
.form-group select {
    width: 500px;
    max-width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
}
.form-group textarea {
    width: 1000px;
    max-width: 100%;
    height: 150px;      /* starting height */
    max-height: 300px;  /* how tall they can drag it */
    resize: vertical;   /* vertical drag only */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
}
/* TABLET — must come AFTER the defaults above */
@media (max-width: 1024px) and (min-width: 769px) {
  .contact-form {
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }
  .form-group input,
  .form-group select {
    width: 100%;
  }
  .form-group textarea {
    width: 100%;
  }
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .contact-form {
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }
  .form-group input,
  .form-group select {
    width: 100%;
  }
  .form-group textarea {
    width: 100%;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
/* Required field indicator */
.required {
  color: #d32f2f;
  font-weight: 700;
  margin-left: 2px;
}
.submit-btn {
  background-color: var(--color-primary-dark);
  color: var(--color-bg-white);
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}
.submit-btn:hover {
    background-color: var(--color-primary);
}
/* Why Choose Us Section Styles */
/* .checklist {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 55px;
} */
.main-title {
  font-size: 30px;
  margin-right: auto;
  margin-top: -70px;
}
/* Call to Action Styles */
.cta-section {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 60px 20px;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.cta-section p {
    font-size: 1rem;
    margin-bottom: 24px;
    opacity: 0.85;
}

.cta-btn {
    display: inline-block;
    background-color: var(--color-accent-green);
    color: var(--color-bg-white);
    padding: 14px 32px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.2s, color 0.2s;
}

.cta-btn:hover {
    background-color: rgb(0, 145, 255);
    color: white;
}

.get-in-touch-text {
    text-align: center;
    padding: 60px 20px;
}

.get-in-touch-text p {
    max-width: 1000px;
    margin: 0 auto 16px;
}
/* Footer Styles */
/* body p:nth-of-type(1) {
  text-align: center;
}
body p:nth-of-type(2) {
  text-align: center;
}
body p:nth-of-type(3) {
  text-align: center;
} */
main.main-pages p {
  text-align: center;
}
.main-pages .why-choose-us-section p {
  text-align: left;
}
main.legal-pages p {
  text-align: left;
}
.service-pages {
  padding: 0;
}
main.legal-pages p:nth-child(1) {
  text-align: center;
}
main.legal-pages p:nth-child(2) {
  text-align: center;
}
/* Sitemap Styles */
.sitemap-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.sitemap-group h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #333;
}

.sitemap-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-group ul li {
    margin-bottom: 10px;
}

.sitemap-group ul li a {
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
}

.sitemap-group ul li a:hover {
    text-decoration: underline;
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .sitemap-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
/* Thank You Section Styles */
.thank-you-section {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.thank-you-section h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.thank-you-section p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

.thank-you-section a {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}
/* Footer Styles */
footer {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-around;
  gap: 80px;
  flex-wrap: wrap;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 40px calc(20px + 40px);
  background-color: var(--color-primary-dark);
}
/* Social Media Icons */
.social-media-header-icon {
  color: var(--color-bg-white);
}
.social-media-header-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  background-color: var(--color-bg-white);
}
.social-media-icon {
  width: 30px;
  height: 30px;
  display: inline-block;
  background-color: #ffffff;
  box-sizing: content-box;
  border-radius: 50%;
}
.footer-social-media img[src*="2nd-tiktok-icon.png"] {
  width: 22px;
  height: 22px;
  padding: 6px;
}
.instagram-icon {
  -webkit-mask: url('instagram-icon.png') center / contain no-repeat;
  mask: url('instagram-icon.png') center / contain no-repeat;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}
.facebook-icon {
  -webkit-mask: url('facebook-icon.png') center / contain no-repeat;
  mask: url('facebook-icon.png') center / contain no-repeat;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}
.tiktok-icon {
  -webkit-mask: url('tiktok-icon.png') center / contain no-repeat;
  mask: url('tiktok-icon.png') center / contain no-repeat;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}
.footer-social-media {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer-social-media a {
  text-decoration: none;
}
footer .site-footer:nth-child(3) {
  margin-right: -20px;
}
.site-footer {
    width: auto;
    margin: 0;
    text-align: center !important;
}
.site-footer:first-child {
    text-align: center;
}
footer .site-footer:first-child p {
    text-align: center !important;
}
.site-footer2 {
  margin-right: 0px;
  font-size: 18.5px;
  width: auto;
  align-self: flex-start;
  margin-top: -18px;
}
.site-footer p {
  margin: 8px 0;
  padding: 0;
  display: block;
  text-align: center;
}
.site-footer p a {
  margin: 0;
  padding: 0;
  display: block;
  text-align: center;
  text-decoration: none;
  color: var(--color-bg-white);
}
.site-footer{
  margin: 8px 0;
  text-align: left;
  padding: 0;
  line-height: 1.5;
  text-decoration: none;
  color: black;
}
.site-footer h4 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--color-bg-white);
}
.site-footer-contact-info p {
  display: flex;           
  align-items: center;     
  gap: 8px;                
  margin: 8px 0;    
  width: 100%;
}
.site-footer-contact-info h4 {
  color: var(--color-bg-white);
}
.telephone-icon,
.email-icon,
.address-icon {
  position: static;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin: 0;
  display: inline-block;
  background-color: var(--color-bg-white);
}
.address-icon {
  background-color: var(--color-accent-gold);
  -webkit-mask: url('placeholder.png') center / contain no-repeat;
  mask: url('placeholder.png') center / contain no-repeat;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}
.telephone-icon,
.email-icon,
.address-icon {
  position: static;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin: 0;
  display: block;
}
.site-footer-contact-info a {
  flex: 1;
  text-align: left;
  text-decoration: none;
  color: var(--color-bg-white);
}
footer .site-footer:nth-child(3) {
    margin-right: 0;
}
#about-link {
    margin: 8px 0;
    padding: 0;
}
#about-link a {
  margin: 0;
  padding: 0;
}
.service-areas li::before {
    content: " "; /* Unicode bullet character */
    color: #000; /* Bullet color */
    display: inline-block; 
    width: 1em; /* Space for the bullet */
    margin-left: -1em; /* Adjusts the position of the bullet */
}
.no-bullets {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    line-height: 1.7;
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 4px 40px;
    justify-content: center;
}
.site-footer h4{
    font-size: 18px;
    margin-bottom: 10px;
}
#copyright-notice {
  font-size: 16px;
  width: 100%;              
  text-align: center;             
  margin-top: 0px;
  padding-top: 10px;
  color: var(--color-bg-white);
}
/* CSS for mobile responsiveness */
/* Mobile view - screens smaller than 768px */
  @media (max-width: 768px) {
    
    .main-title {
      font-size: 20px;
      margin-right: auto;
    }
    
    .nav-links {
      gap: 10px;
      flex-wrap: wrap;
      flex-direction: column;
    }

    .body {
      padding-left: 20px;
      padding-right: 20px;
    }
    
    .site-footer {
      width: 50%;
      margin-bottom: 15px;
    }
    
    .telephone-icon,
    .email-icon,
    .address-icon {
      position: static;
      margin-right: 8px;
      vertical-align: middle;
    }

    /* Footer Styles for Mobile */

    footer {
      padding: 0;
      gap: 20px;
      align-items: left;
      flex-direction: column;
    }

    .site-footer {
      width: 100%;
      text-align: left;
      margin: 0;
    }

    .site-footer p {
      text-align: left;
    }

    .site-footer p a,
    .site-footer a,
    .site-footer-contact-info a {
      text-align: left !important;
    }
    .site-footer h4 {
      text-align: left;
    }

    .site-footer-contact-info {
      width: 100%;
      text-align: left;
      margin-top: 0;
    }

    .site-footer-contact-info p {
      justify-content: flex-start;
      text-align: left;
    }

    .footer-social-media {
      width: 100%;
    }

    #copyright-notice {
      text-align: center;
      width: 100%;
    }

    #services-list {
      grid-template-columns: repeat(2, 1fr);
    }
  }