:root {
    --text-light: #333333;
    --text-dark: #ffffff;
    --primary-color: #1e88e5;
    --highlight-color: #f1f1f1;
    --header-bg: #ffffff;
    --hero-bg: #333333;
    --light-bg: #ffffff;
    --dark-bg: #414242;
    --footer-bg: #414242;
    --border-color: #ccc;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html {
    scroll-snap-type: y mandatory;
  }
  body {
    font-family: "Inter", sans-serif;
    color: var(--text-light);
    background-color: var(--light-bg);
  }
  h1 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 3rem;
    margin-bottom: 10px;
  }
  h2 {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 500;
    margin-bottom: 10px;
  }
  h3 {
    font-size: 1.2rem;
    line-height: 1.7rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
  }
  p {
    font-size: 1.15rem;
    line-height: 1.5;
  }
  li {
    position: relative;
    padding-left: 1.5rem;
    list-style-type: none;
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--primary-color);
  }
  i {
    color: var(--primary-color);
  }
  a {
    text-decoration: none;
    color: var(--text-dark);
  }
  header {
    position: absolute;
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    z-index: 10;
  }
  header img {
    height: 35px;
  }
  footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: var(--footer-bg);
    border-top: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    z-index: 10;
  }
  .footer-left {
    flex: 1 1 100%;
    text-align: center;
    margin-top: 10px;
  }
  .footer-right {
    flex: 1 1 100%;
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 20px;
    justify-content: center;
    text-align: center;
  }
  section {
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  #section1 {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url(../../assets/images/hero-bg.jpg) no-repeat center/cover;
    color: var(--text-dark);
  }
  #section1 .content-wrapper {
    max-width: 1000px;
  }
  #your-local-painting-expert #contact {
    background-color: var(--light-bg);
    padding: 80px 20px;
  }
  #services {
    color: var(--text-dark);
    background-color: var(--dark-bg);
    padding: 80px 20px;
  }
  .content {
    text-align: center;
  }
  .content-wrapper-3cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 40px;
    align-items: center;
    gap: 40px;
  }
  .content-wrapper-3cols ul {
    display: contents;
  }
  .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 40px;
    align-items: center;
    gap: 40px;
  }
  .image-content img {
    width: 100%;
    height: auto;
  }
  .hero-social-proof {
    display: inline-flex; 
    align-items: center; 
    font-size: 0.9rem; 
    margin-bottom: 1rem; 
    gap: 2px; 
    color: var(--text-dark);
    padding: 6px 12px; 
    border-radius: 9999px;
    border: 1.5px solid var(--border-color);
  }
  .hero-social-proof span {
    margin-left: 8px;
  }
  .subheading {
    margin-bottom: 2.5rem;
  }
  .list-pretext {
    margin-bottom: 1rem;
    font-weight: bold;
  }
  .emphasised {
    color: inherit;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    font-weight: 600;
  }
  .cta-pretext {
    margin-top: 2.5rem;
    font-weight: bold;
    font-style: italic;
  }
  .cta {
    display: inline-block; 
    margin-top: 0.5rem; 
    padding: 12px 24px; 
    background-color: var(--primary-color); 
    color: var(--text-dark); 
    text-decoration: none; 
    border-radius: 9999px; 
    font-size: 1.5rem;
    font-weight: 800;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
  .cta:hover {
    box-shadow: 0 0 15px rgba(252, 253, 253, 0.8);
    transform: scale(1.03); 
}
  .hero-img {
    position: relative; 
    display: inline-block; 
    width: 100%;
  }
  .hero-img img {
    display: block; 
    width: 100%; 
    height: auto;
  }
  .hero-img .label {
    position: absolute; 
    bottom: 10px; 
    left: 50%; 
    transform: translateX(-50%); 
    color: #fff; 
    padding: 8px 12px; 
    border-radius: 9999px;
    width: 100%; 
    text-align: center;
  }
  #your-local-painting-expert .image-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  .collage-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    position: relative;
  }
  .collage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
    transform: translateY(75px);
  }
  .collage img {
    width: 200px;
    height: auto;
    border: 8px solid white;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
  }
  .row1 {
    transform: rotate(-2deg);
  }
  .row2 {
  display: flex;
  gap: 12px;
  transform: translateY(-75px);
  }
  .row2 img:first-child {
    transform: rotate(-8deg);
  }
  .row2 img:last-child {
    transform: rotate(4deg);
  }
  .row3 {
    transform: translateY(-150px) rotate(2deg);
  }
  .collage-overlay-top {
    position: absolute;
    top: 80px;
    left: 0;
    color: var(--text-light);
    padding: 10px 20px;
    font-family: "Shadows Into Light", sans-serif;
    font-size: 1.3rem;
    text-align: right;
    z-index: 1;
  }
  .collage-overlay-bottom {
    position: absolute;
    bottom: 80px;
    left: 0;
    color: var(--text-light);
    padding: 10px 20px;
    font-family: "Shadows Into Light", sans-serif;
    font-size: 1.3rem;
    text-align: right;
    z-index: 1;
  }
  .flipped-text {
    display: inline-block;
    transform: rotateX(180deg);
  }

  @media (min-width: 768px) {
    .footer-left {
      flex: 1;
      text-align: left;
      margin-top: 0;
    }
    .footer-right {
      flex: 1;
      justify-content: flex-end;
      text-align: right;
    }
  }
  @media (max-width: 900px) {
    header {
      position: absolute;
      top: 0;
      width: 100%;
      z-index: 10;
    }
    br {
      display: none;
    }
    h1 {
      font-size: 2.25rem;
      line-height: 2.35rem;
    }
    section {
      height: auto; 
      scroll-snap-align: none;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 1rem;
    }
    .content-wrapper, .content-wrapper-3cols {
      display: flex;
      flex-direction: column;
      gap: 10px;
      align-items: center;
    }
    .cta {
      font-size: 1.6rem;
      padding: 10px 20px;
    }
    footer {
      font-size: 0.8rem;
    }
    .collage-overlay-top span, .collage-overlay-bottom span {
      display: none;
    }
    #section1 .content-wrapper {
      padding-top: 80px;
    }
    #your-local-painting-expert ul {
      list-style-position: inside;
      text-align: center;
      padding: 0; 
      margin: 0 auto;
    }
    #your-local-painting-expert ul {
      list-style: none; 
      padding: 0; 
      margin: 0 auto; 
      text-align: center; 
    }
    #your-local-painting-expert ul li {
      position: relative; 
      padding-left: 1.5rem; 
      text-align: left; 
      display: inline-block;
      width: auto; 
    }
    #your-local-painting-expert ul li::before {
      content: "✔"; 
      position: absolute; 
      left: 0; 
      color: var(--primary-color);
    }
    #contact {
      height: 100vh;
    }
  }
  @media (max-width: 768px) {
    #your-local-painting-expert .image-content {
      width: 100%;
    }
    .collage {
      width: 100%;
    }
    .collage img {
      width: 100%;
      height: auto;
      max-width: none;
    }
    .mobile-hide {
      display: none;
    }
  }