/* ===== GLOBAL STYLES ===== */
html,
body {
  margin: 0;
  padding: 0;
  border: 0;
}
html {
  scroll-behavior: smooth;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-color: rgba(114, 158, 161, 0.7);
  z-index: -1; /* keep it behind all content */
}

body {
  font-family: "Source Sans Pro", sans-serif;
  background-color: #729ea1;
  background-image: url("images/paws.png");
  background-position: center top;
  background-size: 450px auto; /* 500px → 450px */
  padding-top: 90px; /* 100px → 90px */
  background-attachment: fixed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", sans-serif;
  margin: 0;
}

header.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #204b57; /* header background color */
  color: #efe9f4; /* text color */
  padding: 13.5px 36px; /* 15px 40px → 13.5px 36px */
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-sizing: border-box;
  border: none;
}

.site-title {
  font-family: "Roboto", sans-serif;
  background-color: #ff4782;
  color: #efe9f4;
  padding: 5.4px 10.8px; /* 6px 12px → 5.4px 10.8px */
  border-radius: 7.2px; /* 8px → 7.2px */
}

.nav-links a {
  margin-left: 18px; /* 20px → 18px */
  text-decoration: none;
  color: #efe9f4;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #ff4782;
}

/* ===== MOBILE MENU BUTTON ===== */
#menuButton {
  font-size: 19.8px; /* 22px → 19.8px */
  cursor: pointer;
  position: fixed;
  top: 22.5px; /* 25px → 22.5px */
  left: 18px; /* 20px → 18px */
  color: #000;
  background-color: #fff;
  padding: 5.4px 10.8px; /* 6px 12px → 5.4px 10.8px */
  border-radius: 3.6px; /* 4px → 3.6px */
  z-index: 1001;
  box-shadow: 0 1.8px 5.4px rgba(0, 0, 0, 0.2); /* 0 2px 6px → 0 1.8px 5.4px */
  user-select: none;
  transition: background-color 0.3s ease;
  display: none;
}

#menuButton:hover,
#menuButton:focus {
  background-color: rgba(255, 182, 193, 0.5);
  color: #fff;
  outline: none;
}

/* ===== MOBILE OVERLAY MENU ===== */
.menu-overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.9);
  overflow-x: hidden;
  transition: width 0.5s ease;
}

.menu-overlay.open {
  width: 100%;
}

.menu-overlay-content {
  position: relative;
  top: 22.5%; /* 25% → 22.5% */
  width: 100%;
  text-align: center;
}

.menu-overlay-content a {
  padding: 7.2px; /* 8px → 7.2px */
  text-decoration: none;
  font-size: 32.4px; /* 36px → 32.4px */
  color: #bdbdbd;
  display: block;
  transition: color 0.3s;
}

.menu-overlay-content a:hover,
.menu-overlay-content a:focus {
  color: #fff;
}

.menu-close {
  position: absolute;
  top: 18px; /* 20px → 18px */
  right: 40.5px; /* 45px → 40.5px */
  font-size: 54px; /* 60px → 54px */
  color: #fff;
  cursor: pointer;
}

/* ===== BUTTONS ===== */
.book-button {
  background-color: #ff4782;
  border: 2px solid #fff;
  color: #efe9f4;
  padding: 9px 18px; /* 10px 20px → 9px 18px */
  border-radius: 7.2px; /* 8px → 7.2px */
  font-size: 0.9rem; /* 1rem → 0.9rem */
  cursor: pointer;
  transition: background-color 0.3s;
}

.book-button:hover,
.book-button:focus {
  background-color: #120d31;
}

.book-button a {
  color: inherit;
  text-decoration: none;
}

/* ===== PRICE LINK ===== */
.price-link-text {
  font-size: 1.125rem; /* 1.25rem → 1.125rem */
  text-align: center;
  margin-top: 18px; /* 20px → 18px */
}

.price-link {
  color: #f15b5b;
  font-weight: bold;
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  text-align: center;
  color: #efe9f4;
}

.hero-text {
  position: absolute;
  margin-top: 135px; /* 150px → 135px */
  top: 81%; /* 90% → 81% */
  left: 6.75%; /* 7.5% → 6.75% */
}

.hero-title {
  font-size: 5.4rem; /* 6rem → 5.4rem */
  margin-bottom: 9px; /* 10px → 9px */
}

.hero-subtitle {
  font-size: 4.5rem; /* 5rem → 4.5rem */
}

/* ===== CUSTOMER GALLERY ===== */
.customer-gallery {
  float: right;
  text-align: center;
  margin: 36px auto; /* 40px → 36px */
}

.gallery-heading {
  font-size: 1.8rem; /* 2rem → 1.8rem */
  margin-bottom: 18px; /* 20px → 18px */
  color: #efe9f4;
}

/* ===== SLIDESHOW ===== */
.slideshow {
  width: 63%; /* 70% → 63% */
  max-width: 810px; /* 900px → 810px */
  height: 360px; /* 400px → 360px */
  margin: auto;
  position: relative;
  overflow: hidden;
  border-radius: 9px; /* 10px → 9px */
  background-color: #f5f5f5;
  padding: 0;
}

.mySlides {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.mySlides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px; /* 10px → 9px */
  box-shadow: 0 3.6px 9px rgba(0, 0, 0, 0.2); /* 0 4px 10px → 0 3.6px 9px */
}

.dot-container {
  text-align: center;
  margin-top: 13.5px; /* 15px → 13.5px */
}

.dot {
  height: 10.8px; /* 12px → 10.8px */
  width: 10.8px;
  margin: 0 3.6px; /* 4px → 3.6px */
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot:hover,
.dot.active {
  background-color: #717171;
}

/* ===== SLIDESHOW ARROWS ===== */
.slideshow-arrows {
  text-align: center;
  margin-top: 9px; /* 10px → 9px */
}

.arrow {
  color: #120d31;
  font-size: 2.25rem; /* 2.5rem → 2.25rem */
  padding: 0 18px; /* 0 20px → 0 18px */
  cursor: pointer;
  transition: color 0.3s ease;
}

.arrow:hover {
  color: #7a0d0d;
}

/* ===== PHOTO LAYOUTS ===== */
.photo-pair,
.photo-trio {
  display: flex;
  gap: 0.9rem; /* 1rem → 0.9rem */
  margin: 0.9rem 0; /* 1rem → 0.9rem */
}

.photo-pair img,
.photo-trio img {
  width: 100%;
  max-width: 225px; /* 250px → 225px */
  border-radius: 7.2px; /* 8px → 7.2px */
  object-fit: cover;
  box-shadow: 0 3.6px 7.2px rgba(0, 0, 0, 0.1); /* 0 4px 8px → 0 3.6px 7.2px */
}

.photo-trio {
  justify-content: center;
  gap: 13.5px; /* 15px → 13.5px */
  margin-top: 9px; /* 10px → 9px */
}

.catalog-image {
  max-width: 270px; /* 300px → 270px */
  width: 100%;
  height: auto;
}

/* ===== ABOUT ME SECTION ===== */
.about-section {
  background-color: #efe9f4;
  color: #204b57;
  text-align: center;
  padding: 31.5px 18px; /* 35px 20px → 31.5px 18px */
  border-radius: 9px; /* 10px → 9px */
  margin: 36px auto; /* 40px → 36px */
  max-width: 810px; /* 900px → 810px */
}

.about-content p {
  line-height: 1.6;
  font-size: 0.99rem; /* 1.1rem → 0.99rem */
}

/* ===== MEET MY CATS SECTION ===== */
.cats-section {
  color: #204b57;
  padding: 31.5px 13.5px; /* 35px 15px → 31.5px 13.5px */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  text-align: center;
  font-size: 2.25rem; /* 2.5rem → 2.25rem */
  margin-bottom: 9px; /* 10px → 9px */
  color: #120d31;
}

.section-subtitle {
  text-align: center;
  font-style: italic;
  color: #120d31;
  margin-bottom: 9px; /* 10px → 9px */
  font-weight: bold;
}

.cat-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background-color: #efe9f4;
  border-radius: 10.8px; /* 12px → 10.8px */
  padding: 18px; /* 20px → 18px */
  margin-bottom: 36px; /* 40px → 36px */
  width: 54%; /* 60% → 54% */
  max-width: 1080px; /* 1200px → 1080px */
  box-shadow: 0 3.6px 10.8px rgba(0, 0, 0, 0.15); /* 0 4px 12px → 0 3.6px 10.8px */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cat-profile:nth-child(even) {
  flex-direction: row-reverse;
}

.cat-profile:hover {
  transform: translateY(-2.7px); /* -3px → -2.7px */
  box-shadow: 0 7.2px 14.4px rgba(0, 0, 0, 0.2); /* 0 8px 16px → 0 7.2px 14.4px */
}

.cat-image {
  width: 36%; /* 40% → 36% */
  max-width: 270px; /* 300px → 270px */
  border-radius: 9px; /* 10px → 9px */
  box-shadow: 0 2.7px 7.2px rgba(0, 0, 0, 0.2); /* 0 3px 8px → 0 2.7px 7.2px */
}

.cat-info {
  width: 49.5%; /* 55% → 49.5% */
  min-width: 252px; /* 280px → 252px */
}

.cat-info h3 {
  color: #ff4782;
  margin-bottom: 9px; /* 10px → 9px */
  font-size: 1.44rem; /* 1.6rem → 1.44rem */
}

.cat-info p {
  font-size: 0.9rem; /* 1rem → 0.9rem */
  line-height: 1.44; /* 1.6 → 1.44 */
  color: #204b57;
}

.price-section {
  text-align: center;
  color: #204b57;
  padding: 54px 18px; /* 60px 20px → 54px 18px */
}

.price-table-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 27px; /* 30px → 27px */
  background-color: #efe9f4;
  width: 72%; /* 80% → 72% */
  max-width: 900px; /* 1000px → 900px */
  margin: 0 auto;
  padding: 27px 18px; /* 30px 20px → 27px 18px */
  border-radius: 13.5px; /* 15px → 13.5px */
  box-shadow: 0 3.6px 13.5px rgba(0, 0, 0, 0.1); /* 0 4px 15px → 0 3.6px 13.5px */
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem; /* 1rem → 0.9rem */
  font-weight: bold;
}

.price-table th {
  background-color: #ff4782;
  color: #efe9f4;
  padding: 13.5px; /* 15px → 13.5px */
  text-transform: uppercase;
}

.price-table td {
  padding: 10.8px; /* 12px → 10.8px */
  background-color: #fff;
  color: #204b57;
  border-bottom: 1.8px solid #f2d4e0; /* 2px → 1.8px */
}

.price-table tr:nth-child(even) td {
  background-color: #f9edf3;
}

.price-table tr:hover td {
  background-color: #ffe3ee;
  transition: background-color 0.3s ease;
}

.price-note {
  border: 1.8px dashed #ff4782; /* 2px → 1.8px */
  padding: 13.5px 18px; /* 15px 20px → 13.5px 18px */
  background-color: #fff;
  border-radius: 7.2px; /* 8px → 7.2px */
  width: 81%; /* 90% → 81% */
  max-width: 630px; /* 700px → 630px */
}

.price-note p {
  margin: 0;
  color: #204b57;
  font-size: 0.9rem; /* 1rem → 0.9rem */
}

/*Customer page*/

.customer-container .main-card {
  color: #204b57;
  padding: 31.5px 13.5px; /* 35px 15px → 31.5px 13.5px */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.customer-container.section-title {
  text-align: center;
  font-size: 2.25rem; /* 2.5rem → 2.25rem */
  margin-bottom: 9px; /* 10px → 9px */
  color: #120d31;
}

.customer-container.section-subtitle {
  text-align: center;
  font-style: italic;
  color: #729ea1;
  margin-bottom: 36px; /* 40px → 36px */
}

.customer-entry {
  margin: 0 auto 36px auto; /* 40px → 36px */
  display: flex;
  align-items: flex-start;
  gap: 18px; /* 20px → 18px */
  flex-wrap: wrap;
  background-color: #efe9f4;
  border-radius: 10.8px; /* 12px → 10.8px */
  padding: 18px; /* 20px → 18px */
  width: 63%; /* 70% → 63% */
  max-width: 1080px; /* 1200px → 1080px */
  box-shadow: 0 3.6px 10.8px rgba(0, 0, 0, 0.15); /* 0 4px 12px → 0 3.6px 10.8px */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.customer-entry:hover {
  transform: translateY(-2.7px); /* -3px → -2.7px */
  box-shadow: 0 7.2px 14.4px rgba(0, 0, 0, 0.2); /* 0 8px 16px → 0 7.2px 14.4px */
}

.customer-image-group {
  display: flex;
  gap: 9px; /* 10px → 9px */
  flex-wrap: wrap;
  max-width: 100%;
}

.customer-image-group img {
  width: auto;
  max-width: 135px; /* 150px → 135px */
  border-radius: 9px; /* 10px → 9px */
  box-shadow: 0 2.7px 7.2px rgba(0, 0, 0, 0.2); /* 0 3px 8px → 0 2.7px 7.2px */
}

.customer-info {
  flex: 1;
  min-width: 225px; /* 250px → 225px */
  width: 67.5%; /* 75% → 67.5% */
  min-width: 252px; /* 280px → 252px */
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 13.5px; /* 15px → 13.5px */
}

.customer-image {
  width: 15.3%; /* 17% → 15.3% */
  max-width: 270px; /* 300px → 270px */
  border-radius: 9px; /* 10px → 9px */
  box-shadow: 0 2.7px 7.2px rgba(0, 0, 0, 0.2);
}

.customer-info h3 {
  color: #ff4782;
  margin-bottom: 9px; /* 10px → 9px */
  font-size: 1.44rem; /* 1.6rem → 1.44rem */
}

.customer-info p {
  font-size: 0.9rem; /* 1rem → 0.9rem */
  line-height: 1.44; /* 1.6 → 1.44 */
  color: #204b57;
}

/* ===== Contact Section ===== */
.contact-section {
  padding: 45px 18px; /* 50px 20px → 45px 18px */
  color: #120d31;
  font-weight: bold;
}

.contact-container {
  max-width: 810px; /* 900px → 810px */
  margin: 0 auto;
  text-align: center;
}

.contact-title {
  font-size: 2.25rem; /* 2.5rem → 2.25rem */
  margin-bottom: 9px; /* 10px → 9px */
  color: #120d31;
}

.contact-subtitle {
  font-style: italic;
  color: #120d31;
  margin-bottom: 18px; /* 20px → 18px */
}

.contact-info {
  font-size: 0.9rem; /* 1rem → 0.9rem */
  margin-bottom: 27px; /* 30px → 27px */
  line-height: 1.44; /* 1.6 → 1.44 */
}

/* ===== Contact Buttons ===== */
.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 18px; /* 20px → 18px */
  margin-bottom: 36px; /* 40px → 36px */
}

.contact-button {
  display: inline-block;
  padding: 10.8px 22.5px; /* 12px 25px → 10.8px 22.5px */
  border-radius: 7.2px; /* 8px → 7.2px */
  font-size: 0.9rem; /* 1rem → 0.9rem */
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.3s ease;
}

.contact-button:hover {
  opacity: 0.8;
}

.facebook-button {
  background-color: #3b5998;
}

.whatsapp-button {
  background-color: #25d366;
}

/* ===== Quote Form ===== */
.quote-form-container {
  background-color: #efe9f4;
  padding: 27px 18px; /* 30px 20px → 27px 18px */
  border-radius: 10.8px; /* 12px → 10.8px */
  box-shadow: 0 3.6px 10.8px rgba(0, 0, 0, 0.1);
  max-width: 630px; /* 700px → 630px */
  margin: 0 auto;
  text-align: left;
  min-height: 108px; /* 120px → 108px */
  resize: vertical;
}

.form-title {
  text-align: center;
  color: #120d31;
  font-size: 1.8rem; /* 2rem → 1.8rem */
  margin-bottom: 18px; /* 20px → 18px */
}

.date-input {
  width: 100%;
  margin-bottom: 9px; /* 10px → 9px */
}

.quote-form input {
  width: 100%;
  padding: 10.8px; /* 12px → 10.8px */
  margin-bottom: 13.5px; /* 15px → 13.5px */
  border: 1px solid #ccc;
  border-radius: 7.2px; /* 8px → 7.2px */
  font-size: 0.9rem; /* 1rem → 0.9rem */
  box-sizing: border-box;
  resize: vertical;
}

.form-input {
  width: 100%;
  padding: 9px; /* 10px → 9px */
  border: 1px solid #ccc;
  border-radius: 5.4px; /* 6px → 5.4px */
  font-size: 0.9rem;
  resize: vertical;
  box-sizing: border-box;
}

textarea.form-input {
  height: auto;
  min-height: 90px; /* 100px → 90px */
  line-height: 1.26; /* 1.4 → 1.26 */
  overflow-wrap: break-word;
  white-space: pre-wrap;
}

.quote-form label {
  display: block;
  text-align: left;
  font-weight: bold;
  margin-bottom: 4.5px; /* 5px → 4.5px */
}

.form-button {
  background-color: #ff4782;
  border: none;
  color: #efe9f4;
  padding: 10.8px 22.5px; /* 12px 25px → 10.8px 22.5px */
  font-size: 0.9rem; /* 1rem → 0.9rem */
  border-radius: 7.2px; /* 8px → 7.2px */
  cursor: pointer;
  display: block;
  margin: 0 auto;
  transition: background-color 0.3s ease;
}

.form-button:hover {
  background-color: #120d31;
}

/* ===== REFERENCES PAGE ===== */
.references-section {
  color: #204b57;
  padding: 54px 18px; /* 60px 20px → 54px 18px */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}

.reference-card {
  display: flex;
  align-items: flex-start;
  background-color: #efe9f4;
  border-radius: 10.8px; /* 12px → 10.8px */
  padding: 22.5px; /* 25px → 22.5px */
  margin-bottom: 36px; /* 40px → 36px */
  width: 72%; /* 80% → 72% */
  max-width: 900px; /* 1000px → 900px */
  box-shadow: 0 3.6px 10.8px rgba(0, 0, 0, 0.15);
  transition: transform 0.27s ease, box-shadow 0.27s ease; /* 0.3s → 0.27s */
  gap: 22.5px; /* 25px → 22.5px */
}

.reference-card:nth-child(even) {
  flex-direction: row-reverse;
}

.reference-card:hover {
  transform: translateY(-2.7px); /* -3px → -2.7px */
  box-shadow: 0 7.2px 14.4px rgba(0, 0, 0, 0.2);
}

.reference-image {
  width: 27%; /* 30% → 27% */
  max-width: 252px; /* 280px → 252px */
  border-radius: 9px; /* 10px → 9px */
  object-fit: cover;
  box-shadow: 0 3.6px 9px rgba(0, 0, 0, 0.2); /* 0 4px 10px → 0 3.6px 9px */
}

.reference-text {
  width: 58.5%; /* 65% → 58.5% */
}

.reference-text p {
  font-size: 0.945rem; /* 1.05rem → 0.945rem */
  line-height: 1.44; /* 1.6 → 1.44 */
  color: #204b57;
  margin-bottom: 10.8px; /* 12px → 10.8px */
}

.reference-name {
  font-weight: bold;
  color: #ff4782;
  margin-top: 9px; /* 10px → 9px */
  font-size: 0.99rem; /* 1.1rem → 0.99rem */
}

@media (max-width: 768px) {
  /* ===== NAVBAR ===== */
  .nav-links {
    display: none;
  }
  #menuButton {
    display: inline-block;
    order: 1;
    margin-right: 15px;
  }
  .site-title {
    margin-left: auto;
    margin-right: 10px;
    order: 2;
    font-size: 1.5rem;
  }

  /* ===== HERO SECTION ===== */
  .hero-text {
    position: relative;
    top: auto;
    left: auto;
    margin: 20px auto;
    padding: 0 10px;
    text-align: center;
  }
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }
  .hero-subtitle {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  /* ===== SLIDESHOW ===== */
  .slideshow {
    width: 95%;
    height: 250px;
    margin: 20px auto;
  }
  .mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .slideshow-arrows .arrow {
    font-size: 2rem;
    padding: 0 10px;
  }
  .dot {
    height: 10px;
    width: 10px;
  }

  /* ===== CUSTOMER & CAT PROFILES ===== */
  .cat-profile,
  .customer-entry {
    flex-direction: column;
    text-align: center;
    width: 95%;
    margin: 20px auto;
  }
  .cat-image,
  .cat-info,
  .customer-image-group,
  .customer-info {
    width: 100%;
    margin: 10px 0;
    justify-content: center;
    align-items: center;
  }

  /* ===== PHOTO LAYOUTS / CATALOG ===== */
  .photo-pair,
  .photo-trio {
    flex-direction: column;
    align-items: center;
    margin: 20px auto;
    width: 95%;
  }
  .photo-pair img,
  .photo-trio img,
  .catalog-image {
    width: 100%;
    max-width: 90%;
    display: block;
    margin: 10px auto;
    object-fit: cover;
  }

  /* ===== ABOUT ME SECTION ===== */
  .about-section {
    width: 95%;
    max-width: 600px;
    margin: 20px auto;
    padding: 25px 15px;
    box-sizing: border-box;
  }

  /* ===== PRICE LIST FIX ===== */
  .price-table-wrapper {
    width: 95%;
    margin: 10px auto;
    padding: 10px;
    background-color: #efe9f4;
    border-radius: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    display: block;
  }

  .price-table {
    min-width: 700px;
    width: auto;
    border-collapse: collapse;
    margin: 0 auto;
  }

  .price-table th,
  .price-table td {
    padding: 10px 12px;
    text-align: center;
    border: 1px solid #ccc;
    font-size: 1rem;
    white-space: nowrap;
  }

  .price-note {
    width: 95%;
    padding: 12px 15px;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
    white-space: normal;
    margin-top: 15px;
  }

  .price-note p {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .quote-form-container {
    width: 95%;
    margin: 20px auto;
    position: static;
    transform: none;
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  .quote-form-container input,
  .quote-form-container textarea,
  .quote-form-container select {
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
  }

  /* Stack From / To date fields */
  .date-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 70%;
    box-sizing: border-box;
  }
  .date-group label,
  .date-group input[type="date"] {
    width: 70%;
    max-width: 100%;
    box-sizing: border-box;
  }

  textarea.form-input {
    min-height: 100px;
    resize: vertical;
    overflow-wrap: break-word;
    white-space: pre-wrap;
  }

  /* Do not globally hide horizontal overflow — allow inner wrappers to scroll */
  body,
  html {
    overflow-x: hidden;
    width: 100%;
  }

  /* ===== MOBILE BACKGROUND FIX ===== */
  body {
    background: none;
    padding-top: 90px;
  }
  html::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-color: rgba(114, 158, 161, 0.7);
    background-image: url("images/paws.png");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
  }

  /* ---------- CENTERING FIXES (media-only, minimal) ---------- */
  /* remove floats and force auto horizontal margins so items sit centrally */
  .customer-gallery {
    float: none;
    width: 95%;
    margin: 20px auto;
    text-align: center;
  }

  .cat-profile,
  .customer-entry,
  .about-section,
  .quote-form-container,
  .photo-pair,
  .photo-trio,
  .catalog-image,
  .price-table-wrapper,
  .slideshow {
    width: 95%;
    max-width: 900px;
    margin: 20px auto;
    box-sizing: border-box;
  }

  /* make images behave and not push layout */
  .cat-image,
  .customer-image,
  .customer-image-group img,
  .catalog-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  /* ensure no floats remain on these blocks */
  .cat-profile,
  .customer-entry {
    float: none;
  }

  /* keep horizontal overflow hidden while allowing inner scroll on tables */
  body,
  html {
    overflow-x: hidden;
  }

  .reference-card {
    flex-direction: column;
    text-align: center;
    width: 95%;
    margin: 20px auto;
    padding: 20px 15px;
  }

  .reference-image {
    width: 100%;
    max-width: 90%;
    margin-bottom: 15px;
  }

  .reference-text {
    width: 100%;
  }

  /* ===== REFERENCES MOBILE FIX ===== */
  .references-section {
    padding: 20px 10px;
    text-align: center; /* center content for small screens */
  }

  .reference-card {
    flex-direction: column !important; /* stack image and text */
    width: 95% !important;
    margin: 15px auto;
    gap: 15px !important;
  }

  .reference-image {
    width: 100% !important;
    max-width: 300px; /* limit image width */
    margin: 0 auto;
  }

  .reference-text {
    width: 100% !important;
  }

  .reference-text p {
    text-align: left; /* optional: keep text left-aligned for readability */
    font-size: 0.95rem;
  }

  .reference-card:nth-child(even) {
    flex-direction: column !important; /* undo row-reverse on mobile */
  }

  /* end centering fixes */
}
